From 49c09b49e70d47bedddc582766150b21e83d7377 Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Thu, 30 Nov 2023 22:26:45 +0800 Subject: [PATCH 001/234] =?UTF-8?q?=E6=9D=80ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/standard.js | 97 ++++++++++++++++++++++++++++++++---------------- 1 file changed, 64 insertions(+), 33 deletions(-) diff --git a/card/standard.js b/card/standard.js index be39d7805..6b7abd19b 100644 --- a/card/standard.js +++ b/card/standard.js @@ -252,10 +252,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }, canLink:function(player,target,card){ if(!target.isLinked()&&!player.hasSkill('wutiesuolian_skill')) return false; - if(target.mayHaveShan()&&!player.hasSkillTag('directHit_ai',true,{ - target:target, - card:card, - },true)) return false; if(player.hasSkill('jueqing')||player.hasSkill('gangzhi')||target.hasSkill('gangzhi')) return false; return true; }, @@ -264,42 +260,77 @@ game.import('card',function(lib,game,ui,get,ai,_status){ value:[5,3,1], }, order:function(item,player){ - if(player.hasSkillTag('presha',true,null,true)) return 10; - if(game.hasNature(item,'linked')){ - if(game.hasPlayer(function(current){ - return current!=player&¤t.isLinked()&&player.canUse(item,current,null,true)&&get.effect(current,item,player,player)>0&&lib.card.sha.ai.canLink(player,current,item); - })&&game.countPlayer(function(current){ - return current.isLinked()&&get.damageEffect(current,player,player,get.nature(item))>0; - })>1) return 3.1; - return 3; + let res=3.2; + if(player.hasSkillTag('presha',true,null,true)) res=10; + if(get.itemtype(player)!=='player') return res; + let uv=player.getUseValue(item,true); + if(uv<=0) return res; + let ignore=get.copy(ui.selected.cards),used=player.getCardUsable('sha')-1.5,ph=player.getCards('hs'); + ignore.add(item); + if(typeof item==='object'&&item.cards) ignore.addArray(item.cards); + for(let i of ph){ + if(ignore.includes(i)||get.name(i)!=='sha'||!lib.filter.cardEnabled(i,player)) continue; + let usev=player.getUseValue(i,true); + if(usev<=0||used*(usev-uv)>0) continue; + if(used*(uv-usev)!==0) return res-0.15; + let na=get.natureList(uv),nb=get.natureList(usev); + if(used*(na.length-nb.length)>0) return res-0.15; + if(na.length&&na.length===nb.length&&na[0]!==nb[0]){ + let natures=['thunder','fire','ice','kami']; + if(used*(natures.indexOf(na[0])-natures.indexOf(nb[0]))>0) return res-0.15; + } + if(get.number(item)>get.number(i)) return res-0.15; } - return 3.05; + return res; }, result:{ target:function(player,target,card,isLink){ - var eff=function(){ - if(!isLink&&player.hasSkill('jiu')){ - if(!target.hasSkillTag('filterDamage',null,{ - player:player, - card:card, - jiu:true, - })){ - if(get.attitude(player,target)>0){ - return -7; - } - else{ - return -4; - } - } - return -0.5; + if(target._sha_result_temp) return -1.5; + target._sha_result_temp=true; + let basic=1,eff=-1.5,zhu=target.isZhu&&target.identityShown; + if(!target.hasSkillTag('filterDamage',null,{ + player:player, + card:card, + jiu:player.hasSkill('jiu'), + })&&(player.hasSkill('jiu')||player.hasSkillTag('damageBonus',true,{ + target:target, + card:card + }))){ + if(target.hp<2) basic=5; + else if(target.hp===2) basic=3; + else basic=2; + } + else if(target.hp<2) basic*=3; + if(zhu) eff*=Math.max(1,9/target.hp/target.hp); + if(isLink){ + let rate=_status.event.getTempCache('sha_result','mayShan'); + delete target._sha_result_temp; + if(typeof rate==='boolean'||typeof rate==='number'){ + if(!rate) return basic*eff*1.3; + if(rate>=1) return eff; + return basic*eff*(1.3-0.9*rate); } - return -1.5; - }(); - if(!isLink&&target.mayHaveShan()&&!player.hasSkillTag('directHit_ai',true,{ + return basic*eff; + } + let mayShan; + if(player.hasSkillTag('directHit_ai',true,{ target:target, card:card, - },true)) return eff/1.2; - return eff; + },true)||game.hasNature(card,'stab')&&target.countCards('he')<2&&!target.hasSkillTag('noh')) mayShan=false; + else{ + let temp=target.getKnownCards(player); + if(temp.some(i=>{ + let name=get.name(i,target); + if(name==='shan'||name==='hufu') return lib.filter.cardEnabled(i,target,'forceEnable'); + return false; + })) mayShan=true; + else mayShan=1-Math.pow(0.7,(target.hasSkillTag('respondShan',true,'use',true)?1:0)+target.countCards('hs')-temp.length); + } + _status.event.putTempCache('sha_result','mayShan',mayShan); + delete target._sha_result_temp; + if(!mayShan) return basic*eff; + if(mayShan>=1) return eff; + return basic*eff*(1.3-0.9*mayShan); }, }, tag:{ From 7e01a6068a5feb6401c2dff78403135a75a4bdc3 Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Sat, 2 Dec 2023 00:40:44 +0800 Subject: [PATCH 002/234] bugfix --- character/sp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/sp.js b/character/sp.js index 0dbf0d90d..39a5dedbd 100755 --- a/character/sp.js +++ b/character/sp.js @@ -8155,7 +8155,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, check:function(button){ let player=_status.event.player,hs=player.getCards('h',card=>{ - return get.name(card)!==button.link[2]&&(!button.link[3]||get.hasNature(card,button.link[3])); + return get.name(card)!==button.link[2]&&(!button.link[3]||game.hasNature(card,button.link[3])); }),bool=false,map={}; for(let i of hs){ let color=get.color(i); From d51551f73424c4a7062f716de5f61bd792d40f57 Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Sat, 2 Dec 2023 15:45:50 +0800 Subject: [PATCH 003/234] Revert "bugfix" This reverts commit 7e01a6068a5feb6401c2dff78403135a75a4bdc3. --- character/sp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/sp.js b/character/sp.js index 39a5dedbd..0dbf0d90d 100755 --- a/character/sp.js +++ b/character/sp.js @@ -8155,7 +8155,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, check:function(button){ let player=_status.event.player,hs=player.getCards('h',card=>{ - return get.name(card)!==button.link[2]&&(!button.link[3]||game.hasNature(card,button.link[3])); + return get.name(card)!==button.link[2]&&(!button.link[3]||get.hasNature(card,button.link[3])); }),bool=false,map={}; for(let i of hs){ let color=get.color(i); From b9d27a128ac341a966055632f3430431d891db5c Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Sat, 2 Dec 2023 15:53:47 +0800 Subject: [PATCH 004/234] =?UTF-8?q?=E5=A4=A7=E5=B9=85=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E6=9D=80order=E5=92=8C=E9=85=92result=EF=BC=8Cbug=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 杀的order时间复杂度降下来了,基本可以避免用一卡一的情况了; 同时也降低了酒的result时间复杂度 --- card/extra.js | 64 +++++++++++++++++++++++++++++++++--------------- card/standard.js | 35 +++++++++++++++----------- 2 files changed, 65 insertions(+), 34 deletions(-) diff --git a/card/extra.js b/card/extra.js index 5fdfcdf0b..e77ed3ee9 100644 --- a/card/extra.js +++ b/card/extra.js @@ -123,34 +123,58 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return 0; }, result:{ - target:(player,target)=>{ + target:(player,target,card)=>{ if(target&&target.isDying()) return 2; if(!target || target._jiu_temp || !target.isPhaseUsing()) return 0; - if(!target.getCardUsable('sha') || lib.config.mode==='stone'&&!player.isMin()&&player.getActCount()+1>=player.actcount) return 0; - let shas = player.getCards('hs',card=>get.name(card)==='sha'&&!ui.selected.cards.includes(card)), card; - if(!shas.length || !target.hasSha() || shas.length>1&&(target.getCardUsable('sha')>1 || target.countCards('hs','zhuge'))) return 0; - target._jiu_temp = true; - shas.sort((a,b)=>get.order(b)-get.order(a)); - for(let i=0; i{ - return get.attitude(target,current)<0&&target.canUse(shas[i],current,null,true)&&!current.hasSkillTag('filterDamage',null,{ + let usable=target.getCardUsable('sha'); + if(!usable || lib.config.mode==='stone'&&!player.isMin()&&player.getActCount()+1>=player.actcount || !target.mayHaveSha(player,'use',card)) return 0; + let effs=_status.event.getTempCache('jiu_result','effs'); + if(effs&&effs[card.cardid]){ + for(let i in effs){ + if(effs[i].target&&effs[i].target.isIn()&&effs[i].eff>0) return 1; + } + return 0; + } + effs={}; + let shas=target.getCards('hs',i=>{ + if(get.name(i)!=='sha' || ui.selected.cards.includes(i)) return false; + effs[i.cardid]={ + target:null, + eff:0 + }; + return true; + }),eff,id; + for(let i of shas){ + id=i.cardid; + if(!lib.filter.filterCard(i,target)) continue; + game.filterPlayer(current=>{ + if(get.attitude(target,current)>=0 || !target.canUse(i,current,null,true) || current.hasSkillTag('filterDamage',null,{ player:target, - card:shas[i], + card:i, jiu:true - })&&get.effect(current,shas[i],target)>0; + })) return false; + eff=get.effect(current,i,target,player); + if(eff<=effs[id].eff) return false; + effs[id].target=current; + effs[id].eff=eff; + return false; }); - if(!tars.length) continue; - tars.sort((a,b)=>{ - return get.effect(b,shas[i],target)-get.effect(a,shas[i],target); - }); - if(!tars[0].mayHaveShan(player,'use') || target.hasSkillTag('directHit_ai',true,{ - target:tars[0], - card:shas[i] - },true) || target.needsToDiscard()>Math.max(0,3-target.hp)){ + if(effs[id].target&&(target.hasSkillTag('directHit_ai',true,{ + target:effs[id].target, + card:i + },true) || target.needsToDiscard()>Math.max(0,3-target.hp) || !effs[id].target.mayHaveShan(player,'use'))){ + if(card.cardid){ + effs[card.cardid]={target:null}; + _status.event.putTempCache('jiu_result','effs',effs); + } delete target._jiu_temp; return 1; } + delete effs[id]; + } + if(card.cardid){ + effs[card.cardid]={target:null}; + _status.event.putTempCache('jiu_result','effs',effs); } delete target._jiu_temp; return 0; diff --git a/card/standard.js b/card/standard.js index 6b7abd19b..e98d1875c 100644 --- a/card/standard.js +++ b/card/standard.js @@ -263,23 +263,25 @@ game.import('card',function(lib,game,ui,get,ai,_status){ let res=3.2; if(player.hasSkillTag('presha',true,null,true)) res=10; if(get.itemtype(player)!=='player') return res; - let uv=player.getUseValue(item,true); - if(uv<=0) return res; + /*let uv=player.getUseValue(item,true); + if(uv<=0) return res;*/ let ignore=get.copy(ui.selected.cards),used=player.getCardUsable('sha')-1.5,ph=player.getCards('hs'); ignore.add(item); if(typeof item==='object'&&item.cards) ignore.addArray(item.cards); + let na=get.natureList(item),number=get.number(item),natures=['thunder','fire','ice','kami'],nb; for(let i of ph){ if(ignore.includes(i)||get.name(i)!=='sha'||!lib.filter.cardEnabled(i,player)) continue; - let usev=player.getUseValue(i,true); - if(usev<=0||used*(usev-uv)>0) continue; - if(used*(uv-usev)!==0) return res-0.15; - let na=get.natureList(uv),nb=get.natureList(usev); + nb=get.natureList(i); + if(na.length===nb.length&&(!na.length||na[0]===nb[0])){ + if(number>get.number(i)) return res-0.15; + continue; + } if(used*(na.length-nb.length)>0) return res-0.15; - if(na.length&&na.length===nb.length&&na[0]!==nb[0]){ - let natures=['thunder','fire','ice','kami']; + if(na.length===nb.length){ if(used*(natures.indexOf(na[0])-natures.indexOf(nb[0]))>0) return res-0.15; } - if(get.number(item)>get.number(i)) return res-0.15; + /*usev=player.getUseValue(i,true); + if(usev>0&&used*(uv-usev)>0) return res-0.15;*/ } return res; }, @@ -304,6 +306,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(zhu) eff*=Math.max(1,9/target.hp/target.hp); if(isLink){ let rate=_status.event.getTempCache('sha_result','mayShan'); + if(rate&&rate.card===card) rate=rate.rate; delete target._sha_result_temp; if(typeof rate==='boolean'||typeof rate==='number'){ if(!rate) return basic*eff*1.3; @@ -326,7 +329,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){ })) mayShan=true; else mayShan=1-Math.pow(0.7,(target.hasSkillTag('respondShan',true,'use',true)?1:0)+target.countCards('hs')-temp.length); } - _status.event.putTempCache('sha_result','mayShan',mayShan); + _status.event.putTempCache('sha_result','mayShan',{ + card:card, + rate:mayShan + }); delete target._sha_result_temp; if(!mayShan) return basic*eff; if(mayShan>=1) return eff; @@ -1875,12 +1881,12 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return num+get.value(i,player); },0); }, - target:(player,target)=>{ + target:(player,target,card)=>{ let targets=get.copy(ui.selected.targets); if(_status.event.preTarget) targets.add(_status.event.preTarget); if(targets.length){ - let preTarget=targets.lastItem,pre=_status.event.getTempCache('jiedao_result',preTarget); - if(pre&&pre.target.isIn()) return target===pre.target?pre.eff:0; + let preTarget=targets.lastItem,pre=_status.event.getTempCache('jiedao_result',preTarget.playerid); + if(pre&&pre.card===card&&pre.target.isIn()) return target===pre.target?pre.eff:0; return get.effect(target,{name:'sha'},preTarget,player)/get.attitude(player,target); } let arms=(target.hasSkillTag('noe')?0.32:-0.15)*target.getEquips(1).reduce((num,i)=>{ @@ -1896,7 +1902,8 @@ game.import('card',function(lib,game,ui,get,ai,_status){ },-100); if(!addTar) return arms; sha/=get.attitude(player,target); - _status.event.putTempCache('jiedao_result',target,{ + _status.event.putTempCache('jiedao_result',target.playerid,{ + card:card, target:addTar, eff:sha }); From 3674ef68a6d5eb1cd68f332ecd35aca1f21c96c0 Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Sat, 2 Dec 2023 17:56:10 +0800 Subject: [PATCH 005/234] =?UTF-8?q?=E6=8B=89=E6=8B=A2=E4=BA=BA=E5=BF=83ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mode/guozhan.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mode/guozhan.js b/mode/guozhan.js index 2985b2ef7..32535a784 100644 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -13354,7 +13354,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var target=targets.shift(); event.target=target; source.line(target,'green'); - target.chooseBool('是否响应'+get.translation(source)+'发起的【拉拢人心】?','将势力改为'+event.text).set('choice',Math.random()<=0.98);//反骨[doge] + target.chooseBool('是否响应'+get.translation(source)+'发起的【拉拢人心】?','将势力改为'+event.text).set('ai',_status.event.choice).set('choice',function(){ + let fs=target.getFriends(true).length; + if(game.players.length<=2*fs) return false; + if(source.getFriends(true).length+fs>game.players.length/2) return true; + if(target.isDamaged()||target.countCards('h')<4) return false; + return true; + }()); 'step 6' if(result.bool){ target.chat('加入'); From 9a80519cc87bf982d64354e1ffbde853e9b7478f Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Sun, 3 Dec 2023 15:05:23 +0800 Subject: [PATCH 006/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E3=80=90=E6=8C=AF?= =?UTF-8?q?=E9=9E=98=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/jsrg.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/character/jsrg.js b/character/jsrg.js index 628d6cc20..5f4ead068 100644 --- a/character/jsrg.js +++ b/character/jsrg.js @@ -5376,11 +5376,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ effect:{ target:function(card,player,target){ if(player._jsrgzhenqiao_aiChecking) return; - if(target==player&&get.subtype(card)=='equip1'&&!player.getEquip(1)){ - player._jsrgzhenqiao_aiChecking=true; - var eff=get.effect(target,card,player,player); - delete player._jsrgzhenqiao_aiChecking; - if(eff<3) return 'zerotarget'; + if(target===player&&get.subtype(card)==='equip1'&&!player.getEquip(1)){ + if(card.name!=='zhuge'||target.getCardUsable('sha')||!target.needsToDiscard()) return; + if(target.countCards('hs',i=>{ + return get.name(i)==='sha'&&lib.filter.cardEnabled(i,target); + })>1) return 'zeroplayertarget'; } } } From e20fb882196678ffdba9b66242153792803f22ff Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Mon, 4 Dec 2023 17:27:51 +0800 Subject: [PATCH 007/234] =?UTF-8?q?=E7=8C=9C=E6=9D=80=E7=8C=9C=E9=97=AA?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E4=B8=9A=E5=8A=A1=E6=8B=93=E5=B1=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增形参rvt: return value type 可选'count'(估算数量) 'odds'(估算有的概率,可能是布尔值) ‘bool'(默认猜有无) --- game/game.js | 74 ++++++++++++++++++++++++++++++++++------------------ 1 file changed, 48 insertions(+), 26 deletions(-) diff --git a/game/game.js b/game/game.js index 65f37e630..8eec61474 100644 --- a/game/game.js +++ b/game/game.js @@ -28790,20 +28790,20 @@ new Promise(resolve=>{ if(this.hasSkillTag('respondShan',true,null,true)) return true; return this.hasUsableCard('shan'); } - mayHaveSha(viewer,type,ignore){ - if((this.hp>2||!this.isZhu&&this.hp>1)&&this.hasSkillTag('respondSha',true,type,true)) return true; + mayHaveSha(viewer,type,ignore,rvt){ + //rvt: return value type 'count', 'odds', 'bool'(default) + let count=0; + if((this.hp>2||!this.isZhu&&this.hp>1)&&this.hasSkillTag('respondSha',true,type,true)){ + if(rvt==='count') count++; + else return true; + } if(get.itemtype(viewer)!=='player') viewer=_status.event.player; let cards,selected=get.copy(ui.selected.cards); if(get.itemtype(ignore)==='cards') selected.addArray(ignore); else if(get.itemtype(ignore)==='card') selected.add(ignore); - /*if(this===viewer||get.itemtype(viewer)==='player'&&viewer.hasSkillTag('viewHandcard',null,this,true)) cards=this.getCards('h'); - else cards=this.getShownCards();*/ - if(this === viewer || get.itemtype(viewer) == 'player'){ - cards = this.getKnownCards(viewer); - }else{ - cards = this.getShownCards(); - } - if(cards.some(card=>{ + if(this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); + else cards = this.getShownCards(); + count+=cards.filter(card=>{ if(selected.includes(card)) return false; let name=get.name(card,this); if(name=='sha'||name=='hufu'||name=='yuchanqian'){ @@ -28812,25 +28812,36 @@ new Promise(resolve=>{ return true; } return false; - })) return true; + }).length; + if(count&&rvt!=='count') return true; let hs=this.getCards('hs').filter(i=>!cards.includes(i)&&!selected.includes(i)).length; - if(hs===0) return false; - return Math.pow(hs+(this.isPhaseUsing()?6:4),2)>100*_status.event.getRand('mayHaveSha'); + if(!hs){ + if(rvt==='count') return count; + return false; + } + if(rvt==='count'){ + if(this.isPhaseUsing()) return count+hs/4; + return count+hs/4.8; + } + if(this.isPhaseUsing()) count+=Math.pow(2+hs,2)/40; + else count+=-1.5*Math.log(1-hs/10); + if(rvt==='odds') return Math.min(1,count); + return count>_status.event.getRand('mayHaveSha'+hs+this.playerid); } - mayHaveShan(viewer,type,ignore){ - if((this.hp>2||!this.isZhu&&this.hp>1)&&this.hasSkillTag('respondShan',true,type,true)) return true; + mayHaveShan(viewer,type,ignore,rvt){ + //rvt: return value type 'count', 'odds', 'bool'(default) + let count=0; + if((this.hp>2||!this.isZhu&&this.hp>1)&&this.hasSkillTag('respondShan',true,type,true)){ + if(rvt==='count') count++; + else return true; + } if(get.itemtype(viewer)!=='player') viewer=_status.event.player; let cards,selected=get.copy(ui.selected.cards); if(get.itemtype(ignore)==='cards') selected.addArray(ignore); else if(get.itemtype(ignore)==='card') selected.add(ignore); - /*if(this===viewer||get.itemtype(viewer)==='player'&&viewer.hasSkillTag('viewHandcard',null,this,true)) cards=this.getCards('h'); - else cards=this.getShownCards();*/ - if(this === viewer || get.itemtype(viewer) == 'player'){ - cards = this.getKnownCards(viewer); - }else{ - cards = this.getShownCards(); - } - if(cards.some(card=>{ + if(this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); + else cards = this.getShownCards(); + count+=cards.filter(card=>{ if(selected.includes(card)) return false; let name=get.name(card,this); if(name==='shan'||name==='hufu'){ @@ -28839,10 +28850,21 @@ new Promise(resolve=>{ return true; } return false; - })) return true; + }).length; + if(count&&rvt!=='count') return true; let hs=this.getCards('hs').filter(i=>!cards.includes(i)&&!selected.includes(i)).length; - if(hs===0) return false; - return Math.pow(hs+(this.isPhaseUsing()?3:5),2)>100*_status.event.getRand('mayHaveShan'); + if(!hs){ + if(rvt==='count') return count; + return false; + } + if(rvt==='count'){ + if(this.isPhaseUsing()) return count+hs/6; + return count+hs/3.5; + } + if(this.isPhaseUsing()) count+=-1.5*Math.log(1-hs/10); + else count+=2*hs/(5+hs); + if(rvt==='odds') return Math.min(1,count); + return count>_status.event.getRand('mayHaveShan'+hs+this.playerid); } hasCard(name,position){ if(typeof name=='function'){ From 92877ce163d16a652048d5575582da95df942d79 Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Mon, 4 Dec 2023 18:09:47 +0800 Subject: [PATCH 008/234] =?UTF-8?q?ai=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/extra.js | 51 +++++++++++++++++++-------------------------------- 1 file changed, 19 insertions(+), 32 deletions(-) diff --git a/card/extra.js b/card/extra.js index e77ed3ee9..d85e983b8 100644 --- a/card/extra.js +++ b/card/extra.js @@ -128,53 +128,40 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(!target || target._jiu_temp || !target.isPhaseUsing()) return 0; let usable=target.getCardUsable('sha'); if(!usable || lib.config.mode==='stone'&&!player.isMin()&&player.getActCount()+1>=player.actcount || !target.mayHaveSha(player,'use',card)) return 0; - let effs=_status.event.getTempCache('jiu_result','effs'); - if(effs&&effs[card.cardid]){ - for(let i in effs){ - if(effs[i].target&&effs[i].target.isIn()&&effs[i].eff>0) return 1; - } - return 0; - } - effs={}; - let shas=target.getCards('hs',i=>{ + let effs={order:0},temp; + target.getCards('hs',i=>{ if(get.name(i)!=='sha' || ui.selected.cards.includes(i)) return false; + temp=get.order(i,target); + if(tempeffs.order) effs={order:temp}; effs[i.cardid]={ + card:i, target:null, eff:0 }; - return true; - }),eff,id; - for(let i of shas){ - id=i.cardid; - if(!lib.filter.filterCard(i,target)) continue; + }); + delete effs.order; + for(let i in effs){ + if(!lib.filter.filterCard(effs[i].card,target)) continue; game.filterPlayer(current=>{ - if(get.attitude(target,current)>=0 || !target.canUse(i,current,null,true) || current.hasSkillTag('filterDamage',null,{ + if(get.attitude(target,current)>=0 || !target.canUse(effs[i].card,current,null,true) || current.hasSkillTag('filterDamage',null,{ player:target, - card:i, + card:effs[i].card, jiu:true })) return false; - eff=get.effect(current,i,target,player); - if(eff<=effs[id].eff) return false; - effs[id].target=current; - effs[id].eff=eff; + temp=get.effect(current,effs[i].card,target,player); + if(temp<=effs[i].eff) return false; + effs[i].target=current; + effs[i].eff=temp; return false; }); - if(effs[id].target&&(target.hasSkillTag('directHit_ai',true,{ - target:effs[id].target, + if(effs[i].target&&(target.hasSkillTag('directHit_ai',true,{ + target:effs[i].target, card:i - },true) || target.needsToDiscard()>Math.max(0,3-target.hp) || !effs[id].target.mayHaveShan(player,'use'))){ - if(card.cardid){ - effs[card.cardid]={target:null}; - _status.event.putTempCache('jiu_result','effs',effs); - } + },true) || target.needsToDiscard()>Math.max(0,3-target.hp) || !effs[i].target.mayHaveShan(player,'use'))){ delete target._jiu_temp; return 1; } - delete effs[id]; - } - if(card.cardid){ - effs[card.cardid]={target:null}; - _status.event.putTempCache('jiu_result','effs',effs); } delete target._jiu_temp; return 0; From 8fca454ec2003428854a8d0fc9129f084df96143 Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Tue, 5 Dec 2023 22:07:30 +0800 Subject: [PATCH 009/234] Update beipan_bg.jpg --- image/background/beipan_bg.jpg | Bin 566580 -> 547243 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/image/background/beipan_bg.jpg b/image/background/beipan_bg.jpg index 5de3cdaa1dd377a74a97ad36020fdeaf5fe3679f..27b4f923ac6de809a7c9213d0108235e96810fcd 100644 GIT binary patch literal 547243 zcmcG#XIN7~*EYJ7(2Mkd)BvG(q)P9h7wNr=5ULQ62n3KWEfi6tDX3f>Y)duibC*qzr02mts!T0=SL*<+fv&zTaIN-Q|Mkz+ zCYVTHOUuQ~!cCa-jA0gB$;yUjDpcNSOAmrX%pHP^_b~(R_P*|g$FBf@+7191 zrU8J$;lFiV_ktxr>$>UxzlHyh{C{J(e)_5xpd$ls6LUjAJOG#u1fc_64FX)(jYtIf z5BdMfF%g8AgcJlO1IQ^TuLZ1W0WcU00uw{P*C|BA02>Glp(Em^Czb+87DrOg@L z$apn_nJi+-Z@GtLL*ZqOT6f~GIWx?BmgRk)HV$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%jyH}M zYWVJmuhg-}`q~(_&NEF7NI}?XukZ5}>Ke)C$kS1uMz{a?Nk|X1z_7{DXeB6f$7On| z+Pf$?__OO8WR}otg8BcIO3+geW8vp{-GN*+PX);L`D^w+sS1U!Df;|&{a7BCF z%l1J@UR1v|e0J<}PmgE$&5h^XU(;=k0O$SAqud9LM=Hyz)!*NixY75LIi^1<^nro=)EJvexTneacV$x{5|XZB$vfw!GMya#f@H00!I6#QeF zKgF@7I-Ttx^mI95aXTT|*XmtHLc*;NSHk-g9~0mcwP0Lk#5T;>gOuEshT`9X9%Qfw z_bHOo{}O1<%_~%)r-JPiJ(Ne=iBx>>^4`75vr;M+zbuwhSMDh73U@0}%CWH$mX_e9 zNlzijt$TRX{L0x6(T(Kn*qWT+;#P;vdN(E8-JWj(20Wq)rj zM-@gsq#**!XM-lfC)Lho2lf1Zl%g$zB4GtDETsAHknkVI?`(D){ki(;<5v|n z!`#D_FBavznFI4SgP)QP|UlQI>)yo0 zXu-NbU_N$Wl!ox3Bj3w4pIVzB-*ubd!K1A}?KS%z^Xa?0$I2Fzx#qw?zuJO()9J^t Z!E^Uc6KH|#F49$#cDc_|57Ylm{U6} Date: Wed, 6 Dec 2023 13:06:41 +0800 Subject: [PATCH 010/234] Update asset.js --- game/asset.js | 162 +++++++++++++++++++++++++------------------------- 1 file changed, 81 insertions(+), 81 deletions(-) diff --git a/game/asset.js b/game/asset.js index d82f53af8..b5ccda02d 100644 --- a/game/asset.js +++ b/game/asset.js @@ -8702,87 +8702,87 @@ window.noname_asset_list=[ 'image/mode/boss/card/xingtianpojunfu.png', 'image/mode/boss/card/niaobaidaowenha.png', - 'image/mode/boss/boss_baihu.jpg', - 'image/mode/boss/boss_baimangshilian.jpg', - 'image/mode/boss/boss_baiwuchang.jpg', - 'image/mode/boss/boss_bianchengwang.jpg', - 'image/mode/boss/boss_bifang.jpg', - 'image/mode/boss/boss_caiwenji.jpg', - 'image/mode/boss/boss_caocao.jpg', - 'image/mode/boss/boss_chi.jpg', - 'image/mode/boss/boss_chiyanshilian.jpg', - 'image/mode/boss/boss_chujiangwang.jpg', - 'image/mode/boss/boss_diaochan.jpg', - 'image/mode/boss/boss_dizangwang.jpg', - 'image/mode/boss/boss_dongzhuo.jpg', - 'image/mode/boss/boss_dushiwang.jpg', - 'image/mode/boss/boss_guojia.jpg', - 'image/mode/boss/boss_heiwuchang.jpg', - 'image/mode/boss/boss_huangyueying.jpg', - 'image/mode/boss/boss_huatuo.jpg', - 'image/mode/boss/boss_hundun.jpg', - 'image/mode/boss/boss_huoshenzhurong.jpg', - 'image/mode/boss/boss_jinshenrushou.jpg', - 'image/mode/boss/boss_liang.jpg', - 'image/mode/boss/boss_liubei.jpg', - 'image/mode/boss/boss_luocha.jpg', - 'image/mode/boss/boss_luxun.jpg', - 'image/mode/boss/boss_lvbu1.jpg', - 'image/mode/boss/boss_lvbu2.jpg', - 'image/mode/boss/boss_lvbu3.jpg', - 'image/mode/boss/boss_mamian.jpg', - 'image/mode/boss/boss_mengpo.jpg', - 'image/mode/boss/boss_mingxingzhu.jpg', - 'image/mode/boss/boss_mo.jpg', - 'image/mode/boss/boss_mushengoumang.jpg', - 'image/mode/boss/boss_nianshou.jpg', - 'image/mode/boss/boss_nianshou_baonu.jpg', - 'image/mode/boss/boss_nianshou_heti.jpg', - 'image/mode/boss/boss_nianshou_jingjue.jpg', - 'image/mode/boss/boss_nianshou_renxing.jpg', - 'image/mode/boss/boss_nianshou_ruizhi.jpg', - 'image/mode/boss/boss_niutou.jpg', - 'image/mode/boss/boss_pangtong.jpg', - 'image/mode/boss/boss_pingdengwang.jpg', - 'image/mode/boss/boss_qinglong.jpg', - 'image/mode/boss/boss_qingmushilian.jpg', - 'image/mode/boss/boss_qinguangwang.jpg', - 'image/mode/boss/boss_qiongqi.jpg', - 'image/mode/boss/boss_satan.jpg', - 'image/mode/boss/boss_shaohao.jpg', - 'image/mode/boss/boss_shuijing.jpg', - 'image/mode/boss/boss_shuishengonggong.jpg', - 'image/mode/boss/boss_shuishenxuanming.jpg', - 'image/mode/boss/boss_shujing.jpg', - 'image/mode/boss/boss_songdiwang.jpg', - 'image/mode/boss/boss_sunshangxiang.jpg', - 'image/mode/boss/boss_taihao.jpg', - 'image/mode/boss/boss_taishanwang.jpg', - 'image/mode/boss/boss_taotie.jpg', - 'image/mode/boss/boss_taowu.jpg', - 'image/mode/boss/boss_wang.jpg', - 'image/mode/boss/boss_wuguanwang.jpg', - 'image/mode/boss/boss_xiangliu.jpg', - 'image/mode/boss/boss_xuanlinshilian.jpg', - 'image/mode/boss/boss_xuanwu.jpg', - 'image/mode/boss/boss_yandi.jpg', - 'image/mode/boss/boss_yanling.jpg', - 'image/mode/boss/boss_yanluowang.jpg', - 'image/mode/boss/boss_yecha.jpg', - 'image/mode/boss/boss_yingzhao.jpg', - 'image/mode/boss/boss_yuji.jpg', - 'image/mode/boss/boss_zhangchunhua.jpg', - 'image/mode/boss/boss_zhangjiao.jpg', - 'image/mode/boss/boss_zhenji.jpg', - 'image/mode/boss/boss_zhouyu.jpg', - 'image/mode/boss/boss_zhuanlunwang.jpg', - 'image/mode/boss/boss_zhuanxu.jpg', - 'image/mode/boss/boss_zhugeliang.jpg', - 'image/mode/boss/boss_zhuoguiquxie.jpg', - 'image/mode/boss/boss_zhuque.jpg', - 'image/mode/boss/boss_zhuyan.jpg', - 'image/mode/boss/boss_zhuyin.jpg', - 'image/mode/boss/boss_zuoci.jpg', + 'image/mode/boss/character/boss_baihu.jpg', + 'image/mode/boss/character/boss_baimangshilian.jpg', + 'image/mode/boss/character/boss_baiwuchang.jpg', + 'image/mode/boss/character/boss_bianchengwang.jpg', + 'image/mode/boss/character/boss_bifang.jpg', + 'image/mode/boss/character/boss_caiwenji.jpg', + 'image/mode/boss/character/boss_caocao.jpg', + 'image/mode/boss/character/boss_chi.jpg', + 'image/mode/boss/character/boss_chiyanshilian.jpg', + 'image/mode/boss/character/boss_chujiangwang.jpg', + 'image/mode/boss/character/boss_diaochan.jpg', + 'image/mode/boss/character/boss_dizangwang.jpg', + 'image/mode/boss/character/boss_dongzhuo.jpg', + 'image/mode/boss/character/boss_dushiwang.jpg', + 'image/mode/boss/character/boss_guojia.jpg', + 'image/mode/boss/character/boss_heiwuchang.jpg', + 'image/mode/boss/character/boss_huangyueying.jpg', + 'image/mode/boss/character/boss_huatuo.jpg', + 'image/mode/boss/character/boss_hundun.jpg', + 'image/mode/boss/character/boss_huoshenzhurong.jpg', + 'image/mode/boss/character/boss_jinshenrushou.jpg', + 'image/mode/boss/character/boss_liang.jpg', + 'image/mode/boss/character/boss_liubei.jpg', + 'image/mode/boss/character/boss_luocha.jpg', + 'image/mode/boss/character/boss_luxun.jpg', + 'image/mode/boss/character/boss_lvbu1.jpg', + 'image/mode/boss/character/boss_lvbu2.jpg', + 'image/mode/boss/character/boss_lvbu3.jpg', + 'image/mode/boss/character/boss_mamian.jpg', + 'image/mode/boss/character/boss_mengpo.jpg', + 'image/mode/boss/character/boss_mingxingzhu.jpg', + 'image/mode/boss/character/boss_mo.jpg', + 'image/mode/boss/character/boss_mushengoumang.jpg', + 'image/mode/boss/character/boss_nianshou.jpg', + 'image/mode/boss/character/boss_nianshou_baonu.jpg', + 'image/mode/boss/character/boss_nianshou_heti.jpg', + 'image/mode/boss/character/boss_nianshou_jingjue.jpg', + 'image/mode/boss/character/boss_nianshou_renxing.jpg', + 'image/mode/boss/character/boss_nianshou_ruizhi.jpg', + 'image/mode/boss/character/boss_niutou.jpg', + 'image/mode/boss/character/boss_pangtong.jpg', + 'image/mode/boss/character/boss_pingdengwang.jpg', + 'image/mode/boss/character/boss_qinglong.jpg', + 'image/mode/boss/character/boss_qingmushilian.jpg', + 'image/mode/boss/character/boss_qinguangwang.jpg', + 'image/mode/boss/character/boss_qiongqi.jpg', + 'image/mode/boss/character/boss_satan.jpg', + 'image/mode/boss/character/boss_shaohao.jpg', + 'image/mode/boss/character/boss_shuijing.jpg', + 'image/mode/boss/character/boss_shuishengonggong.jpg', + 'image/mode/boss/character/boss_shuishenxuanming.jpg', + 'image/mode/boss/character/boss_shujing.jpg', + 'image/mode/boss/character/boss_songdiwang.jpg', + 'image/mode/boss/character/boss_sunshangxiang.jpg', + 'image/mode/boss/character/boss_taihao.jpg', + 'image/mode/boss/character/boss_taishanwang.jpg', + 'image/mode/boss/character/boss_taotie.jpg', + 'image/mode/boss/character/boss_taowu.jpg', + 'image/mode/boss/character/boss_wang.jpg', + 'image/mode/boss/character/boss_wuguanwang.jpg', + 'image/mode/boss/character/boss_xiangliu.jpg', + 'image/mode/boss/character/boss_xuanlinshilian.jpg', + 'image/mode/boss/character/boss_xuanwu.jpg', + 'image/mode/boss/character/boss_yandi.jpg', + 'image/mode/boss/character/boss_yanling.jpg', + 'image/mode/boss/character/boss_yanluowang.jpg', + 'image/mode/boss/character/boss_yecha.jpg', + 'image/mode/boss/character/boss_yingzhao.jpg', + 'image/mode/boss/character/boss_yuji.jpg', + 'image/mode/boss/character/boss_zhangchunhua.jpg', + 'image/mode/boss/character/boss_zhangjiao.jpg', + 'image/mode/boss/character/boss_zhenji.jpg', + 'image/mode/boss/character/boss_zhouyu.jpg', + 'image/mode/boss/character/boss_zhuanlunwang.jpg', + 'image/mode/boss/character/boss_zhuanxu.jpg', + 'image/mode/boss/character/boss_zhugeliang.jpg', + 'image/mode/boss/character/boss_zhuoguiquxie.jpg', + 'image/mode/boss/character/boss_zhuque.jpg', + 'image/mode/boss/character/boss_zhuyan.jpg', + 'image/mode/boss/character/boss_zhuyin.jpg', + 'image/mode/boss/character/boss_zuoci.jpg', 'image/mode/chess/card/chess_chuzhang.png', 'image/mode/chess/card/chess_shezhang.png', From 643b519ddb06c00563a9722921c0b8fea6fb10f0 Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Wed, 6 Dec 2023 13:33:21 +0800 Subject: [PATCH 011/234] bugfix --- character/extra.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/extra.js b/character/extra.js index 0c82308e6..7352440b5 100755 --- a/character/extra.js +++ b/character/extra.js @@ -5440,7 +5440,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, effect:{ player:(card,player,target)=>{ - if(player.hasSkill('rewansha')&&target.hp<=1&&get.tag(card,'damage')) return [1,0,1.5,-1.5]; + if(target&&player.hasSkill('rewansha')&&target.hp<=1&&get.tag(card,'damage')) return [1,0,1.5,-1.5]; } } } From a56e9aa42ec393b7ee486f55605e2dd44dd3afa5 Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Wed, 6 Dec 2023 15:13:15 +0800 Subject: [PATCH 012/234] bugfix --- card/standard.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/card/standard.js b/card/standard.js index e98d1875c..1d9aa1530 100644 --- a/card/standard.js +++ b/card/standard.js @@ -286,7 +286,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return res; }, result:{ - target:function(player,target,card,isLink){ + target:(player,target,card,isLink)=>{ if(target._sha_result_temp) return -1.5; target._sha_result_temp=true; let basic=1,eff=-1.5,zhu=target.isZhu&&target.identityShown; @@ -306,10 +306,9 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(zhu) eff*=Math.max(1,9/target.hp/target.hp); if(isLink){ let rate=_status.event.getTempCache('sha_result','mayShan'); - if(rate&&rate.card===card) rate=rate.rate; + if(rate&&JSON.stringify(card)===JSON.stringify(rate.card)) rate=rate.rate; delete target._sha_result_temp; if(typeof rate==='boolean'||typeof rate==='number'){ - if(!rate) return basic*eff*1.3; if(rate>=1) return eff; return basic*eff*(1.3-0.9*rate); } @@ -334,7 +333,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){ rate:mayShan }); delete target._sha_result_temp; - if(!mayShan) return basic*eff; if(mayShan>=1) return eff; return basic*eff*(1.3-0.9*mayShan); }, From c6921566919f3199b6ef7ea0218cd7cee0766b41 Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Wed, 6 Dec 2023 15:22:56 +0800 Subject: [PATCH 013/234] =?UTF-8?q?=E4=BB=A5=E9=98=B2=E4=B8=87=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/standard.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/card/standard.js b/card/standard.js index 1d9aa1530..8f8a23785 100644 --- a/card/standard.js +++ b/card/standard.js @@ -306,7 +306,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(zhu) eff*=Math.max(1,9/target.hp/target.hp); if(isLink){ let rate=_status.event.getTempCache('sha_result','mayShan'); - if(rate&&JSON.stringify(card)===JSON.stringify(rate.card)) rate=rate.rate; + if(rate){ + if(JSON.stringify(card)===JSON.stringify(rate.card)) rate=rate.rate; + else delete _status.event._tempCache['sha_result']['mayShan']; + } delete target._sha_result_temp; if(typeof rate==='boolean'||typeof rate==='number'){ if(rate>=1) return eff; From 892d4432d1302b990ca464b1adc47b05d1fab76a Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Wed, 6 Dec 2023 23:01:33 +0800 Subject: [PATCH 014/234] Revert "Update asset.js" This reverts commit a57a2fa5901ef3714eb5124381577ad4cc5f64ce. --- game/asset.js | 162 +++++++++++++++++++++++++------------------------- 1 file changed, 81 insertions(+), 81 deletions(-) diff --git a/game/asset.js b/game/asset.js index b5ccda02d..d82f53af8 100644 --- a/game/asset.js +++ b/game/asset.js @@ -8702,87 +8702,87 @@ window.noname_asset_list=[ 'image/mode/boss/card/xingtianpojunfu.png', 'image/mode/boss/card/niaobaidaowenha.png', - 'image/mode/boss/character/boss_baihu.jpg', - 'image/mode/boss/character/boss_baimangshilian.jpg', - 'image/mode/boss/character/boss_baiwuchang.jpg', - 'image/mode/boss/character/boss_bianchengwang.jpg', - 'image/mode/boss/character/boss_bifang.jpg', - 'image/mode/boss/character/boss_caiwenji.jpg', - 'image/mode/boss/character/boss_caocao.jpg', - 'image/mode/boss/character/boss_chi.jpg', - 'image/mode/boss/character/boss_chiyanshilian.jpg', - 'image/mode/boss/character/boss_chujiangwang.jpg', - 'image/mode/boss/character/boss_diaochan.jpg', - 'image/mode/boss/character/boss_dizangwang.jpg', - 'image/mode/boss/character/boss_dongzhuo.jpg', - 'image/mode/boss/character/boss_dushiwang.jpg', - 'image/mode/boss/character/boss_guojia.jpg', - 'image/mode/boss/character/boss_heiwuchang.jpg', - 'image/mode/boss/character/boss_huangyueying.jpg', - 'image/mode/boss/character/boss_huatuo.jpg', - 'image/mode/boss/character/boss_hundun.jpg', - 'image/mode/boss/character/boss_huoshenzhurong.jpg', - 'image/mode/boss/character/boss_jinshenrushou.jpg', - 'image/mode/boss/character/boss_liang.jpg', - 'image/mode/boss/character/boss_liubei.jpg', - 'image/mode/boss/character/boss_luocha.jpg', - 'image/mode/boss/character/boss_luxun.jpg', - 'image/mode/boss/character/boss_lvbu1.jpg', - 'image/mode/boss/character/boss_lvbu2.jpg', - 'image/mode/boss/character/boss_lvbu3.jpg', - 'image/mode/boss/character/boss_mamian.jpg', - 'image/mode/boss/character/boss_mengpo.jpg', - 'image/mode/boss/character/boss_mingxingzhu.jpg', - 'image/mode/boss/character/boss_mo.jpg', - 'image/mode/boss/character/boss_mushengoumang.jpg', - 'image/mode/boss/character/boss_nianshou.jpg', - 'image/mode/boss/character/boss_nianshou_baonu.jpg', - 'image/mode/boss/character/boss_nianshou_heti.jpg', - 'image/mode/boss/character/boss_nianshou_jingjue.jpg', - 'image/mode/boss/character/boss_nianshou_renxing.jpg', - 'image/mode/boss/character/boss_nianshou_ruizhi.jpg', - 'image/mode/boss/character/boss_niutou.jpg', - 'image/mode/boss/character/boss_pangtong.jpg', - 'image/mode/boss/character/boss_pingdengwang.jpg', - 'image/mode/boss/character/boss_qinglong.jpg', - 'image/mode/boss/character/boss_qingmushilian.jpg', - 'image/mode/boss/character/boss_qinguangwang.jpg', - 'image/mode/boss/character/boss_qiongqi.jpg', - 'image/mode/boss/character/boss_satan.jpg', - 'image/mode/boss/character/boss_shaohao.jpg', - 'image/mode/boss/character/boss_shuijing.jpg', - 'image/mode/boss/character/boss_shuishengonggong.jpg', - 'image/mode/boss/character/boss_shuishenxuanming.jpg', - 'image/mode/boss/character/boss_shujing.jpg', - 'image/mode/boss/character/boss_songdiwang.jpg', - 'image/mode/boss/character/boss_sunshangxiang.jpg', - 'image/mode/boss/character/boss_taihao.jpg', - 'image/mode/boss/character/boss_taishanwang.jpg', - 'image/mode/boss/character/boss_taotie.jpg', - 'image/mode/boss/character/boss_taowu.jpg', - 'image/mode/boss/character/boss_wang.jpg', - 'image/mode/boss/character/boss_wuguanwang.jpg', - 'image/mode/boss/character/boss_xiangliu.jpg', - 'image/mode/boss/character/boss_xuanlinshilian.jpg', - 'image/mode/boss/character/boss_xuanwu.jpg', - 'image/mode/boss/character/boss_yandi.jpg', - 'image/mode/boss/character/boss_yanling.jpg', - 'image/mode/boss/character/boss_yanluowang.jpg', - 'image/mode/boss/character/boss_yecha.jpg', - 'image/mode/boss/character/boss_yingzhao.jpg', - 'image/mode/boss/character/boss_yuji.jpg', - 'image/mode/boss/character/boss_zhangchunhua.jpg', - 'image/mode/boss/character/boss_zhangjiao.jpg', - 'image/mode/boss/character/boss_zhenji.jpg', - 'image/mode/boss/character/boss_zhouyu.jpg', - 'image/mode/boss/character/boss_zhuanlunwang.jpg', - 'image/mode/boss/character/boss_zhuanxu.jpg', - 'image/mode/boss/character/boss_zhugeliang.jpg', - 'image/mode/boss/character/boss_zhuoguiquxie.jpg', - 'image/mode/boss/character/boss_zhuque.jpg', - 'image/mode/boss/character/boss_zhuyan.jpg', - 'image/mode/boss/character/boss_zhuyin.jpg', - 'image/mode/boss/character/boss_zuoci.jpg', + 'image/mode/boss/boss_baihu.jpg', + 'image/mode/boss/boss_baimangshilian.jpg', + 'image/mode/boss/boss_baiwuchang.jpg', + 'image/mode/boss/boss_bianchengwang.jpg', + 'image/mode/boss/boss_bifang.jpg', + 'image/mode/boss/boss_caiwenji.jpg', + 'image/mode/boss/boss_caocao.jpg', + 'image/mode/boss/boss_chi.jpg', + 'image/mode/boss/boss_chiyanshilian.jpg', + 'image/mode/boss/boss_chujiangwang.jpg', + 'image/mode/boss/boss_diaochan.jpg', + 'image/mode/boss/boss_dizangwang.jpg', + 'image/mode/boss/boss_dongzhuo.jpg', + 'image/mode/boss/boss_dushiwang.jpg', + 'image/mode/boss/boss_guojia.jpg', + 'image/mode/boss/boss_heiwuchang.jpg', + 'image/mode/boss/boss_huangyueying.jpg', + 'image/mode/boss/boss_huatuo.jpg', + 'image/mode/boss/boss_hundun.jpg', + 'image/mode/boss/boss_huoshenzhurong.jpg', + 'image/mode/boss/boss_jinshenrushou.jpg', + 'image/mode/boss/boss_liang.jpg', + 'image/mode/boss/boss_liubei.jpg', + 'image/mode/boss/boss_luocha.jpg', + 'image/mode/boss/boss_luxun.jpg', + 'image/mode/boss/boss_lvbu1.jpg', + 'image/mode/boss/boss_lvbu2.jpg', + 'image/mode/boss/boss_lvbu3.jpg', + 'image/mode/boss/boss_mamian.jpg', + 'image/mode/boss/boss_mengpo.jpg', + 'image/mode/boss/boss_mingxingzhu.jpg', + 'image/mode/boss/boss_mo.jpg', + 'image/mode/boss/boss_mushengoumang.jpg', + 'image/mode/boss/boss_nianshou.jpg', + 'image/mode/boss/boss_nianshou_baonu.jpg', + 'image/mode/boss/boss_nianshou_heti.jpg', + 'image/mode/boss/boss_nianshou_jingjue.jpg', + 'image/mode/boss/boss_nianshou_renxing.jpg', + 'image/mode/boss/boss_nianshou_ruizhi.jpg', + 'image/mode/boss/boss_niutou.jpg', + 'image/mode/boss/boss_pangtong.jpg', + 'image/mode/boss/boss_pingdengwang.jpg', + 'image/mode/boss/boss_qinglong.jpg', + 'image/mode/boss/boss_qingmushilian.jpg', + 'image/mode/boss/boss_qinguangwang.jpg', + 'image/mode/boss/boss_qiongqi.jpg', + 'image/mode/boss/boss_satan.jpg', + 'image/mode/boss/boss_shaohao.jpg', + 'image/mode/boss/boss_shuijing.jpg', + 'image/mode/boss/boss_shuishengonggong.jpg', + 'image/mode/boss/boss_shuishenxuanming.jpg', + 'image/mode/boss/boss_shujing.jpg', + 'image/mode/boss/boss_songdiwang.jpg', + 'image/mode/boss/boss_sunshangxiang.jpg', + 'image/mode/boss/boss_taihao.jpg', + 'image/mode/boss/boss_taishanwang.jpg', + 'image/mode/boss/boss_taotie.jpg', + 'image/mode/boss/boss_taowu.jpg', + 'image/mode/boss/boss_wang.jpg', + 'image/mode/boss/boss_wuguanwang.jpg', + 'image/mode/boss/boss_xiangliu.jpg', + 'image/mode/boss/boss_xuanlinshilian.jpg', + 'image/mode/boss/boss_xuanwu.jpg', + 'image/mode/boss/boss_yandi.jpg', + 'image/mode/boss/boss_yanling.jpg', + 'image/mode/boss/boss_yanluowang.jpg', + 'image/mode/boss/boss_yecha.jpg', + 'image/mode/boss/boss_yingzhao.jpg', + 'image/mode/boss/boss_yuji.jpg', + 'image/mode/boss/boss_zhangchunhua.jpg', + 'image/mode/boss/boss_zhangjiao.jpg', + 'image/mode/boss/boss_zhenji.jpg', + 'image/mode/boss/boss_zhouyu.jpg', + 'image/mode/boss/boss_zhuanlunwang.jpg', + 'image/mode/boss/boss_zhuanxu.jpg', + 'image/mode/boss/boss_zhugeliang.jpg', + 'image/mode/boss/boss_zhuoguiquxie.jpg', + 'image/mode/boss/boss_zhuque.jpg', + 'image/mode/boss/boss_zhuyan.jpg', + 'image/mode/boss/boss_zhuyin.jpg', + 'image/mode/boss/boss_zuoci.jpg', 'image/mode/chess/card/chess_chuzhang.png', 'image/mode/chess/card/chess_shezhang.png', From 719963a949d049c4fb876ecf7025a62b3247dab0 Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Wed, 6 Dec 2023 23:55:35 +0800 Subject: [PATCH 015/234] =?UTF-8?q?=E3=80=90=E6=9D=80=E3=80=91ai=20bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/standard.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/card/standard.js b/card/standard.js index 8f8a23785..af19cea3e 100644 --- a/card/standard.js +++ b/card/standard.js @@ -307,14 +307,17 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(isLink){ let rate=_status.event.getTempCache('sha_result','mayShan'); if(rate){ - if(JSON.stringify(card)===JSON.stringify(rate.card)) rate=rate.rate; - else delete _status.event._tempCache['sha_result']['mayShan']; + if(card.cardid||rate.card.cardid){ + if(card.cardid==rate.card.cardid) rate=rate.rate; + } + else if(JSON.stringify(card)===JSON.stringify(rate.card)) rate=rate.rate; } delete target._sha_result_temp; if(typeof rate==='boolean'||typeof rate==='number'){ if(rate>=1) return eff; return basic*eff*(1.3-0.9*rate); } + else delete _status.event._tempCache['sha_result']['mayShan']; return basic*eff; } let mayShan; From b42df2bed32d55c1858556c2141e5c38f101fc5f Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Thu, 7 Dec 2023 16:50:04 +0800 Subject: [PATCH 016/234] =?UTF-8?q?=E3=80=90=E6=9D=80=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/standard.js | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/card/standard.js b/card/standard.js index af19cea3e..7dd7c4089 100644 --- a/card/standard.js +++ b/card/standard.js @@ -305,19 +305,13 @@ game.import('card',function(lib,game,ui,get,ai,_status){ else if(target.hp<2) basic*=3; if(zhu) eff*=Math.max(1,9/target.hp/target.hp); if(isLink){ - let rate=_status.event.getTempCache('sha_result','mayShan'); - if(rate){ - if(card.cardid||rate.card.cardid){ - if(card.cardid==rate.card.cardid) rate=rate.rate; - } - else if(JSON.stringify(card)===JSON.stringify(rate.card)) rate=rate.rate; - } + if(rate&&rate.id===card.sha_ai_id) rate=rate.rate; delete target._sha_result_temp; if(typeof rate==='boolean'||typeof rate==='number'){ if(rate>=1) return eff; return basic*eff*(1.3-0.9*rate); } - else delete _status.event._tempCache['sha_result']['mayShan']; + delete _status.event._tempCache['sha_result']['mayShan']; return basic*eff; } let mayShan; @@ -334,10 +328,15 @@ game.import('card',function(lib,game,ui,get,ai,_status){ })) mayShan=true; else mayShan=1-Math.pow(0.7,(target.hasSkillTag('respondShan',true,'use',true)?1:0)+target.countCards('hs')-temp.length); } - _status.event.putTempCache('sha_result','mayShan',{ - card:card, - rate:mayShan - }); + if(game.hasNature(card,'linked',player)){ + if(!_status.sha_ai_id) _status.sha_ai_id=1; + else _status.sha_ai_id++; + card.sha_ai_id=_status.sha_ai_id; + _status.event.putTempCache('sha_result','mayShan',{ + id:_status.sha_ai_id, + rate:mayShan + }); + } delete target._sha_result_temp; if(mayShan>=1) return eff; return basic*eff*(1.3-0.9*mayShan); From c4a644f0c7538b1ed6b9e4924eb01b499107b5cb Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Fri, 8 Dec 2023 16:22:22 +0800 Subject: [PATCH 017/234] bugfix --- game/game.js | 1 + 1 file changed, 1 insertion(+) diff --git a/game/game.js b/game/game.js index 64984f49a..bacb4a790 100644 --- a/game/game.js +++ b/game/game.js @@ -1756,6 +1756,7 @@ new Promise(resolve=>{ }, splash_style:{ name:'启动页', + init:'style1', item:{ style1:'样式一', style2:'样式二', From af73425f94f70bec2f272db31f6119ffa8aa3ec2 Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Fri, 8 Dec 2023 22:11:46 +0800 Subject: [PATCH 018/234] Update standard.js --- card/standard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/card/standard.js b/card/standard.js index 7dd7c4089..b60bfe028 100644 --- a/card/standard.js +++ b/card/standard.js @@ -497,7 +497,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(target.hp>0){ if(!player.isPhaseUsing()) return 0; let min = 7.2-4*player.hp/player.maxHp, - nd = player.needsToDiscard(-player.countCards('h',i=>!taos.includes(i)&&get.value(i)taos.includes(i)||get.value(i)>=min), keep = nd?0:2; if(nd>2 || taos.length>1&&(nd>1||nd&&player.hp<1+taos.length) || target.identity==='zhu'&&(nd||target.hp<3)&&(mode==='identity'||mode==='versus'||mode==='chess') || !player.hasFriend()) return 2; if(game.hasPlayer(current=>{ From b5433f71a9bebec05439ed2546af6e19212801ad Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Sun, 10 Dec 2023 19:07:30 +0800 Subject: [PATCH 019/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=85=B8=E5=AD=99?= =?UTF-8?q?=E6=9D=83=E3=80=90=E5=88=B6=E8=A1=A1=E3=80=91=E5=92=8C=E3=80=90?= =?UTF-8?q?=E9=85=92=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/extra.js | 5 +++-- character/collab.js | 13 ++++++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/card/extra.js b/card/extra.js index d85e983b8..a02ea45bc 100644 --- a/card/extra.js +++ b/card/extra.js @@ -155,10 +155,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){ effs[i].eff=temp; return false; }); - if(effs[i].target&&(target.hasSkillTag('directHit_ai',true,{ + if(!effs[i].target) continue; + if(target.hasSkillTag('directHit_ai',true,{ target:effs[i].target, card:i - },true) || target.needsToDiscard()>Math.max(0,3-target.hp) || !effs[i].target.mayHaveShan(player,'use'))){ + },true) || usable===1&&(target.needsToDiscard()>Math.max(0,3-target.hp) || !effs[i].target.mayHaveShan(player,'use'))){ delete target._jiu_temp; return 1; } diff --git a/character/collab.js b/character/collab.js index cc55af7b4..b5dc6b50d 100644 --- a/character/collab.js +++ b/character/collab.js @@ -372,10 +372,21 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, ai:{ - order:1, + order:function(item,player){ + if(player.hasCard((i)=>{ + return get.value(i)>Math.max(6,9-player.hp); + },'he')) return 1; + return 10; + }, result:{ player:1 }, + nokeep:true, + skillTagFilter:function(player,tag,arg){ + if(tag==='nokeep') return (!arg||arg&&arg.card&&get.name(arg.card)==='tao')&&player.isPhaseUsing()&&player.countSkill('dczhiheng')<1+player.getStorage('dczhiheng_hit').length&&player.hasCard((card)=>{ + return get.name(card)!=='tao'; + },'h'); + }, threaten:1.55 }, }, From 8df3f4d55a5907ed7cf1fbe49520e219f8099822 Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Sun, 17 Dec 2023 11:15:52 +0800 Subject: [PATCH 020/234] =?UTF-8?q?=E5=B0=91=E7=B2=98=E8=B4=B4=E4=B8=80?= =?UTF-8?q?=E8=A1=8C=E4=BB=A3=E7=A0=81[=E5=B0=B4=E5=B0=AC]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/standard.js | 1 + 1 file changed, 1 insertion(+) diff --git a/card/standard.js b/card/standard.js index b60bfe028..6351e587c 100644 --- a/card/standard.js +++ b/card/standard.js @@ -305,6 +305,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ else if(target.hp<2) basic*=3; if(zhu) eff*=Math.max(1,9/target.hp/target.hp); if(isLink){ + let rate=_status.event.getTempCache('sha_result','mayShan'); if(rate&&rate.id===card.sha_ai_id) rate=rate.rate; delete target._sha_result_temp; if(typeof rate==='boolean'||typeof rate==='number'){ From 84dc436d83e5fb8e0944652ed9c22624c7a87a1a Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Wed, 20 Dec 2023 22:54:05 +0800 Subject: [PATCH 021/234] =?UTF-8?q?Revert=20"=E7=8C=9C=E6=9D=80=E7=8C=9C?= =?UTF-8?q?=E9=97=AA=E5=87=BD=E6=95=B0=E4=B8=9A=E5=8A=A1=E6=8B=93=E5=B1=95?= =?UTF-8?q?"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit e20fb882196678ffdba9b66242153792803f22ff. --- game/game.js | 74 ++++++++++++++++++---------------------------------- 1 file changed, 26 insertions(+), 48 deletions(-) diff --git a/game/game.js b/game/game.js index 71efc9e07..8406e78ac 100644 --- a/game/game.js +++ b/game/game.js @@ -28755,20 +28755,20 @@ new Promise(resolve=>{ if(this.hasSkillTag('respondShan',true,null,true)) return true; return this.hasUsableCard('shan'); } - mayHaveSha(viewer,type,ignore,rvt){ - //rvt: return value type 'count', 'odds', 'bool'(default) - let count=0; - if((this.hp>2||!this.isZhu&&this.hp>1)&&this.hasSkillTag('respondSha',true,type,true)){ - if(rvt==='count') count++; - else return true; - } + mayHaveSha(viewer,type,ignore){ + if((this.hp>2||!this.isZhu&&this.hp>1)&&this.hasSkillTag('respondSha',true,type,true)) return true; if(get.itemtype(viewer)!=='player') viewer=_status.event.player; let cards,selected=get.copy(ui.selected.cards); if(get.itemtype(ignore)==='cards') selected.addArray(ignore); else if(get.itemtype(ignore)==='card') selected.add(ignore); - if(this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); - else cards = this.getShownCards(); - count+=cards.filter(card=>{ + /*if(this===viewer||get.itemtype(viewer)==='player'&&viewer.hasSkillTag('viewHandcard',null,this,true)) cards=this.getCards('h'); + else cards=this.getShownCards();*/ + if(this === viewer || get.itemtype(viewer) == 'player'){ + cards = this.getKnownCards(viewer); + }else{ + cards = this.getShownCards(); + } + if(cards.some(card=>{ if(selected.includes(card)) return false; let name=get.name(card,this); if(name=='sha'||name=='hufu'||name=='yuchanqian'){ @@ -28777,36 +28777,25 @@ new Promise(resolve=>{ return true; } return false; - }).length; - if(count&&rvt!=='count') return true; + })) return true; let hs=this.getCards('hs').filter(i=>!cards.includes(i)&&!selected.includes(i)).length; - if(!hs){ - if(rvt==='count') return count; - return false; - } - if(rvt==='count'){ - if(this.isPhaseUsing()) return count+hs/4; - return count+hs/4.8; - } - if(this.isPhaseUsing()) count+=Math.pow(2+hs,2)/40; - else count+=-1.5*Math.log(1-hs/10); - if(rvt==='odds') return Math.min(1,count); - return count>_status.event.getRand('mayHaveSha'+hs+this.playerid); + if(hs===0) return false; + return Math.pow(hs+(this.isPhaseUsing()?6:4),2)>100*_status.event.getRand('mayHaveSha'); } - mayHaveShan(viewer,type,ignore,rvt){ - //rvt: return value type 'count', 'odds', 'bool'(default) - let count=0; - if((this.hp>2||!this.isZhu&&this.hp>1)&&this.hasSkillTag('respondShan',true,type,true)){ - if(rvt==='count') count++; - else return true; - } + mayHaveShan(viewer,type,ignore){ + if((this.hp>2||!this.isZhu&&this.hp>1)&&this.hasSkillTag('respondShan',true,type,true)) return true; if(get.itemtype(viewer)!=='player') viewer=_status.event.player; let cards,selected=get.copy(ui.selected.cards); if(get.itemtype(ignore)==='cards') selected.addArray(ignore); else if(get.itemtype(ignore)==='card') selected.add(ignore); - if(this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); - else cards = this.getShownCards(); - count+=cards.filter(card=>{ + /*if(this===viewer||get.itemtype(viewer)==='player'&&viewer.hasSkillTag('viewHandcard',null,this,true)) cards=this.getCards('h'); + else cards=this.getShownCards();*/ + if(this === viewer || get.itemtype(viewer) == 'player'){ + cards = this.getKnownCards(viewer); + }else{ + cards = this.getShownCards(); + } + if(cards.some(card=>{ if(selected.includes(card)) return false; let name=get.name(card,this); if(name==='shan'||name==='hufu'){ @@ -28815,21 +28804,10 @@ new Promise(resolve=>{ return true; } return false; - }).length; - if(count&&rvt!=='count') return true; + })) return true; let hs=this.getCards('hs').filter(i=>!cards.includes(i)&&!selected.includes(i)).length; - if(!hs){ - if(rvt==='count') return count; - return false; - } - if(rvt==='count'){ - if(this.isPhaseUsing()) return count+hs/6; - return count+hs/3.5; - } - if(this.isPhaseUsing()) count+=-1.5*Math.log(1-hs/10); - else count+=2*hs/(5+hs); - if(rvt==='odds') return Math.min(1,count); - return count>_status.event.getRand('mayHaveShan'+hs+this.playerid); + if(hs===0) return false; + return Math.pow(hs+(this.isPhaseUsing()?3:5),2)>100*_status.event.getRand('mayHaveShan'); } hasCard(name,position){ if(typeof name=='function'){ From d6a23b3b6a7b8ba8a3f71a384b0fe9463fb36041 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Wed, 20 Dec 2023 22:59:18 +0800 Subject: [PATCH 022/234] revert conflict --- game/game.js | 1 - 1 file changed, 1 deletion(-) diff --git a/game/game.js b/game/game.js index 8406e78ac..bcc80ba4b 100644 --- a/game/game.js +++ b/game/game.js @@ -1757,7 +1757,6 @@ new Promise(resolve=>{ }, splash_style:{ name:'启动页', - init:'style1', item:{ style1:'样式一', style2:'样式二', From f9a111dc8b6b61c9d88d907572495b6852cf15b9 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Wed, 20 Dec 2023 23:34:17 +0800 Subject: [PATCH 023/234] =?UTF-8?q?=E4=B8=BAAI=E7=B1=BB=E4=BB=A5=E5=8F=8A?= =?UTF-8?q?=E5=85=B6=E6=B6=89=E5=8F=8A=E5=88=B0=E7=9A=84=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E7=B1=BB=E7=9A=84=E5=87=BD=E6=95=B0=E8=BF=9B=E8=A1=8C=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/game.js | 3 -- noname/ai/index.js | 56 ++++++++++++++++++++++----------- noname/game/index.js | 7 +++-- noname/get/index.js | 69 +++++++++++++++++++++++++---------------- noname/library/index.js | 4 ++- noname/status/index.js | 3 +- noname/ui/index.js | 13 +++++++- 7 files changed, 102 insertions(+), 53 deletions(-) diff --git a/game/game.js b/game/game.js index 8f6da30b2..ce9cc02b8 100644 --- a/game/game.js +++ b/game/game.js @@ -47,10 +47,7 @@ new Promise(resolve => { /** * @type { Promise } - * - * game.js不是一个模块,所以导入的路径是从html文件开始算起的 */ - // @ts-ignore const module = import('../noname.js'); module.then(({ ai, game, get, lib, _status, ui }) => { diff --git a/noname/ai/index.js b/noname/ai/index.js index fa3e9ea7d..a702b3134 100644 --- a/noname/ai/index.js +++ b/noname/ai/index.js @@ -7,11 +7,17 @@ import { GNC as gnc } from '../gnc/index.js'; import { Uninstantable } from "../util/index.js"; export class Basic extends Uninstantable { + /** + * @param { ( + * button: import('../library/index.js').Button, + * buttons?: import('../library/index.js').Button[] + * ) => number } check + */ static chooseButton(check) { - var event = _status.event; - var i, j, range, buttons, buttons2; - var ok = false, forced = event.forced; - var iwhile = 100; + const event = _status.event; + let i, j, range, buttons, buttons2; + let ok = false, forced = event.forced; + let iwhile = 100; while (iwhile--) { range = get.select(event.selectButton); if (ui.selected.buttons.length >= range[0]) { @@ -29,10 +35,10 @@ export class Basic extends Uninstantable { return ok; } buttons2 = buttons.slice(0); - var ix = 0; - var checkix = check(buttons[0], buttons2); + let ix = 0; + let checkix = check(buttons[0], buttons2); for (i = 1; i < buttons.length; i++) { - var checkixtmp = check(buttons[i], buttons2); + let checkixtmp = check(buttons[i], buttons2); if (checkixtmp > checkix) { ix = i; checkix = checkixtmp; @@ -57,12 +63,19 @@ export class Basic extends Uninstantable { } } } + /** + * @param { ( + * card?: import('../library/index.js').Card, + * cards?: import('../library/index.js').Card[] + * ) => number } check + * @returns { boolean | undefined } + */ static chooseCard(check) { - var event = _status.event; + const event = _status.event; if (event.filterCard == undefined) return (check() > 0); - var i, j, range, cards, cards2, skills, check, effect; - var ok = false, forced = event.forced; - var iwhile = 100; + let i, j, range, cards, cards2, skills, effect; + let ok = false, forced = event.forced; + let iwhile = 100; while (iwhile--) { range = get.select(event.selectCard); if (ui.selected.cards.length >= range[0]) { @@ -80,6 +93,7 @@ export class Basic extends Uninstantable { } cards = get.selectableCards(); if (!_status.event.player._noSkill) { + // @ts-ignore cards = cards.concat(get.skills()); } if (cards.length == 0) { @@ -127,12 +141,18 @@ export class Basic extends Uninstantable { } } } + /** + * @param { ( + * target?: import('../library/index.js').Player, + * targets?: import('../library/index.js').Player[] + * ) => number } check + */ static chooseTarget(check) { - var event = _status.event; + const event = _status.event; if (event.filterTarget == undefined) return (check() > 0); - var i, j, range, targets, targets2, effect; - var ok = false, forced = event.forced; - var iwhile = 100; + let i, j, range, targets, targets2, effect; + let ok = false, forced = event.forced; + let iwhile = 100; while (iwhile--) { range = get.select(event.selectTarget); if (ui.selected.targets.length >= range[0]) { @@ -158,10 +178,10 @@ export class Basic extends Uninstantable { // targets.sort(function(a,b){ // return check(b)-check(a); // }); - var ix = 0; - var checkix = check(targets[0], targets2); + let ix = 0; + let checkix = check(targets[0], targets2); for (i = 1; i < targets.length; i++) { - var checkixtmp = check(targets[i], targets2); + let checkixtmp = check(targets[i], targets2); if (checkixtmp > checkix) { ix = i; checkix = checkixtmp; diff --git a/noname/game/index.js b/noname/game/index.js index 84399814b..6596bb627 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -11,14 +11,17 @@ export class Game extends Uninstantable { static onlineID = null; static onlineKey = null; /** - * @type {Player[]} + * @type {import('../library/index.js').Player[]} */ static players = []; /** - * @type {Player[]} + * @type {import('../library/index.js').Player[]} */ static dead = []; static imported = []; + /** + * @type { { [key: string]: import('../library/index.js').Player } } + */ static playerMap = {}; static phaseNumber = 0; static roundNumber = 0; diff --git a/noname/get/index.js b/noname/get/index.js index 63b922e4b..17fdfd968 100644 --- a/noname/get/index.js +++ b/noname/get/index.js @@ -1832,12 +1832,17 @@ export class Get extends Uninstantable { return Math.sqrt(dx * dx + dy * dy); } static xyDistance(from, to) { return Math.sqrt((from[0] - to[0]) * (from[0] - to[0]) + (from[1] - to[1]) * (from[1] - to[1])) } + /** + * @param { [number, number] | string | import('../library/index.js').Player[] | + * import('../library/index.js').Card[] | [number, number, number, number] | import('../library/index.js').Button | + * import('../library/index.js').Dialog | import('../library/index.js').Player | import('../library/index.js').Card | + * import('../library/index.js').GameEvent | import('../library/index.js').GameEventPromise } obj + */ static itemtype(obj) { - var i, j; if (typeof obj == 'string') { if (obj.length <= 5) { - var bool = true; - for (i = 0; i < obj.length; i++) { + let bool = true; + for (let i = 0; i < obj.length; i++) { if (/h|e|j|s|x/.test(obj[i]) == false) { bool = false; break; } @@ -1847,18 +1852,13 @@ export class Get extends Uninstantable { if (obj.includes(lib.natureSeparator) && obj.split(lib.natureSeparator).every(n => lib.nature.has(n))) return 'natures'; if (lib.nature.has(obj)) return 'nature'; } - if (Array.isArray(obj) && obj.length) { - var isPlayers = true; - for (i = 0; i < obj.length; i++) { - if (get.itemtype(obj[i]) != 'player') { isPlayers = false; break; } + if (Array.isArray(obj) && obj.length > 0) { + if (obj.every(p => p instanceof lib.element.Player)) { + return 'players'; } - if (isPlayers) return 'players'; - - var isCards = true; - for (i = 0; i < obj.length; i++) { - if (get.itemtype(obj[i]) != 'card') { isCards = false; break; } + if (obj.every(p => p instanceof lib.element.Card)) { + return 'cards'; } - if (isCards) return 'cards'; if (obj.length == 2) { if (typeof obj[0] == 'number' && typeof obj[1] == 'number') { @@ -1867,22 +1867,17 @@ export class Get extends Uninstantable { } if (obj.length == 4) { - var isPosition = true; - for (i = 0; i < obj.length; i++) { - if (typeof obj[i] != 'number') { isPosition = false; break; } + if (obj.every(p => typeof p == 'number')) { + return 'divposition'; } - if (isPosition) return 'divposition'; } } - if (get.objtype(obj) == 'div') { - if (obj.classList.contains('button')) return 'button'; - if (obj.classList.contains('card')) return 'card'; - if (obj.classList.contains('player')) return 'player'; - if (obj.classList.contains('dialog')) return 'dialog'; - } - if (get.is.object(obj)) { - if (obj.isMine == lib.element.GameEvent.prototype.isMine) return 'event'; - } + if (obj instanceof lib.element.Button) return 'button'; + if (obj instanceof lib.element.Card) return 'card'; + if (obj instanceof lib.element.Player) return 'player'; + if (obj instanceof lib.element.Dialog) return 'dialog'; + if (obj instanceof lib.element.GameEvent || + obj instanceof lib.element.GameEventPromise) return 'event'; } static equipNum(card) { if (get.type(card) == 'equip') { @@ -2172,11 +2167,16 @@ export class Get extends Uninstantable { return lib.card[name]; } } + /** + * @param { number | [number, number] | (()=>[number, number]) } [select] + * @returns { [number, number] } + */ static select(select) { if (typeof select == 'number') return [select, select]; + // @ts-ignore if (get.itemtype(select) == 'select') return select; if (typeof select == 'function') return get.select(select()); - return [1, 1] + return [1, 1]; } static card(original) { if (_status.event.skill) { @@ -2428,6 +2428,10 @@ export class Get extends Uninstantable { result = handleZero(result); return result; } + /** + * @param {((a: import('../library/index.js').Button, b: import('../library/index.js').Button) => number)} [sort] 排序函数 + * @returns { import('../library/index.js').Button[] } + */ static selectableButtons(sort) { if (!_status.event.player) return []; var buttons = _status.event.dialog.buttons; @@ -2443,6 +2447,10 @@ export class Get extends Uninstantable { } return selectable; } + /** + * @param {((a: import('../library/index.js').Card, b: import('../library/index.js').Card) => number)} [sort] 排序函数 + * @returns { import('../library/index.js').Card[] } + */ static selectableCards(sort) { if (!_status.event.player) return []; var cards = _status.event.player.getCards('hes'); @@ -2458,6 +2466,9 @@ export class Get extends Uninstantable { } return selectable; } + /** + * @returns { string[] } 技能名数组 + */ static skills() { var skills = []; if (ui.skills) { @@ -2532,6 +2543,10 @@ export class Get extends Uninstantable { } return list; } + /** + * @param {((a: import('../library/index.js').Player, b: import('../library/index.js').Player) => number)} [sort] 排序函数 + * @returns { import('../library/index.js').Player[] } + */ static selectableTargets(sort) { var selectable = []; var players = game.players.slice(0); diff --git a/noname/library/index.js b/noname/library/index.js index 397ab3a3b..9815eeb99 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -2,6 +2,8 @@ * @typedef {InstanceType} Player * @typedef {InstanceType} Card * @typedef {InstanceType} VCard + * @typedef {InstanceType} Button + * @typedef {InstanceType} Dialog * @typedef {InstanceType} GameEvent * @typedef {InstanceType} GameEventPromise * @typedef {InstanceType} NodeWS @@ -32105,7 +32107,7 @@ export class Library extends Uninstantable { /** * 事件转为Promise化 * - * @returns { Promise & GameEvent & GameEventPromise } + * @returns { Promise & GameEvent & GameEventPromise<> } */ toPromise() { if (!this.#promise) { diff --git a/noname/status/index.js b/noname/status/index.js index 86db80671..fb87a032d 100644 --- a/noname/status/index.js +++ b/noname/status/index.js @@ -6,8 +6,9 @@ export const status = { clicked: false, auto: false, /** - * @type {GameEvent} + * @type {import('../library/index.js').GameEventPromise & import('../library/index.js').GameEvent} */ + // @ts-ignore event: null, ai: {}, lastdragchange: [], diff --git a/noname/ui/index.js b/noname/ui/index.js index 45e675e83..5efc87305 100644 --- a/noname/ui/index.js +++ b/noname/ui/index.js @@ -14001,7 +14001,18 @@ export class UI extends Uninstantable { static create = Create; static click = Click; static selected = { - buttons: [], cards: [], targets: [] + /** + * @type { import('../library/index.js').Button[]} + */ + buttons: [], + /** + * @type { import('../library/index.js').Card[]} + */ + cards: [], + /** + * @type { import('../library/index.js').Player[]} + */ + targets: [] } static refresh(node) { void window.getComputedStyle(node, null).getPropertyValue("opacity"); From 1a5138d3dfb9556fc7c0bf26809f84711f35a44f Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Thu, 21 Dec 2023 00:07:59 +0800 Subject: [PATCH 024/234] =?UTF-8?q?=E7=8C=9C=E6=9D=80=E7=8C=9C=E9=97=AA?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E4=B8=9A=E5=8A=A1=E6=8B=93=E5=B1=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增形参rvt: return value type 可选'count'(估算数量) 'odds'(估算有的概率,可能是布尔值) ‘bool'(默认猜有无) --- noname/library/index.js | 110 ++++++++++++++++++++++++---------------- 1 file changed, 66 insertions(+), 44 deletions(-) diff --git a/noname/library/index.js b/noname/library/index.js index 397ab3a3b..b8ac09bcb 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -28796,59 +28796,81 @@ export class Library extends Uninstantable { if (this.hasSkillTag('respondShan', true, null, true)) return true; return this.hasUsableCard('shan'); } - mayHaveSha(viewer, type, ignore) { - if ((this.hp > 2 || !this.isZhu && this.hp > 1) && this.hasSkillTag('respondSha', true, type, true)) return true; - if (get.itemtype(viewer) !== 'player') viewer = _status.event.player; - let cards, selected = get.copy(ui.selected.cards); - if (get.itemtype(ignore) === 'cards') selected.addArray(ignore); - else if (get.itemtype(ignore) === 'card') selected.add(ignore); - /*if(this===viewer||get.itemtype(viewer)==='player'&&viewer.hasSkillTag('viewHandcard',null,this,true)) cards=this.getCards('h'); - else cards=this.getShownCards();*/ - if (this === viewer || get.itemtype(viewer) == 'player') { - cards = this.getKnownCards(viewer); - } else { - cards = this.getShownCards(); + mayHaveSha(viewer,type,ignore,rvt){ + //rvt: return value type 'count', 'odds', 'bool'(default) + let count=0; + if((this.hp>2||!this.isZhu&&this.hp>1)&&this.hasSkillTag('respondSha',true,type,true)){ + if(rvt==='count') count++; + else return true; } - if (cards.some(card => { - if (selected.includes(card)) return false; - let name = get.name(card, this); - if (name == 'sha' || name == 'hufu' || name == 'yuchanqian') { - if (type === 'use') return lib.filter.cardEnabled(card, this); - if (type === 'respond') return lib.filter.cardRespondable(card, this); + if(get.itemtype(viewer)!=='player') viewer=_status.event.player; + let cards,selected=get.copy(ui.selected.cards); + if(get.itemtype(ignore)==='cards') selected.addArray(ignore); + else if(get.itemtype(ignore)==='card') selected.add(ignore); + if(this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); + else cards = this.getShownCards(); + count+=cards.filter(card=>{ + if(selected.includes(card)) return false; + let name=get.name(card,this); + if(name=='sha'||name=='hufu'||name=='yuchanqian'){ + if(type==='use') return lib.filter.cardEnabled(card,this); + if(type==='respond') return lib.filter.cardRespondable(card,this); return true; } return false; - })) return true; - let hs = this.getCards('hs').filter(i => !cards.includes(i) && !selected.includes(i)).length; - if (hs === 0) return false; - return Math.pow(hs + (this.isPhaseUsing() ? 6 : 4), 2) > 100 * _status.event.getRand('mayHaveSha'); + }).length; + if(count&&rvt!=='count') return true; + let hs=this.getCards('hs').filter(i=>!cards.includes(i)&&!selected.includes(i)).length; + if(!hs){ + if(rvt==='count') return count; + return false; + } + if(rvt==='count'){ + if(this.isPhaseUsing()) return count+hs/4; + return count+hs/4.8; + } + if(this.isPhaseUsing()) count+=Math.pow(2+hs,2)/40; + else count+=-1.5*Math.log(1-hs/10); + if(rvt==='odds') return Math.min(1,count); + return count>_status.event.getRand('mayHaveSha'+hs+this.playerid); } - mayHaveShan(viewer, type, ignore) { - if ((this.hp > 2 || !this.isZhu && this.hp > 1) && this.hasSkillTag('respondShan', true, type, true)) return true; - if (get.itemtype(viewer) !== 'player') viewer = _status.event.player; - let cards, selected = get.copy(ui.selected.cards); - if (get.itemtype(ignore) === 'cards') selected.addArray(ignore); - else if (get.itemtype(ignore) === 'card') selected.add(ignore); - /*if(this===viewer||get.itemtype(viewer)==='player'&&viewer.hasSkillTag('viewHandcard',null,this,true)) cards=this.getCards('h'); - else cards=this.getShownCards();*/ - if (this === viewer || get.itemtype(viewer) == 'player') { - cards = this.getKnownCards(viewer); - } else { - cards = this.getShownCards(); + mayHaveShan(viewer,type,ignore,rvt){ + //rvt: return value type 'count', 'odds', 'bool'(default) + let count=0; + if((this.hp>2||!this.isZhu&&this.hp>1)&&this.hasSkillTag('respondShan',true,type,true)){ + if(rvt==='count') count++; + else return true; } - if (cards.some(card => { - if (selected.includes(card)) return false; - let name = get.name(card, this); - if (name === 'shan' || name === 'hufu') { - if (type === 'use') return lib.filter.cardEnabled(card, this, 'forceEnable'); - if (type === 'respond') return lib.filter.cardRespondable(card, this); + if(get.itemtype(viewer)!=='player') viewer=_status.event.player; + let cards,selected=get.copy(ui.selected.cards); + if(get.itemtype(ignore)==='cards') selected.addArray(ignore); + else if(get.itemtype(ignore)==='card') selected.add(ignore); + if(this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); + else cards = this.getShownCards(); + count+=cards.filter(card=>{ + if(selected.includes(card)) return false; + let name=get.name(card,this); + if(name==='shan'||name==='hufu'){ + if(type==='use') return lib.filter.cardEnabled(card,this,'forceEnable'); + if(type==='respond') return lib.filter.cardRespondable(card,this); return true; } return false; - })) return true; - let hs = this.getCards('hs').filter(i => !cards.includes(i) && !selected.includes(i)).length; - if (hs === 0) return false; - return Math.pow(hs + (this.isPhaseUsing() ? 3 : 5), 2) > 100 * _status.event.getRand('mayHaveShan'); + }).length; + if(count&&rvt!=='count') return true; + let hs=this.getCards('hs').filter(i=>!cards.includes(i)&&!selected.includes(i)).length; + if(!hs){ + if(rvt==='count') return count; + return false; + } + if(rvt==='count'){ + if(this.isPhaseUsing()) return count+hs/6; + return count+hs/3.5; + } + if(this.isPhaseUsing()) count+=-1.5*Math.log(1-hs/10); + else count+=2*hs/(5+hs); + if(rvt==='odds') return Math.min(1,count); + return count>_status.event.getRand('mayHaveShan'+hs+this.playerid); } hasCard(name, position) { if (typeof name == 'function') { From 0231dd8442e86b0947934df454718822ade09e23 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Thu, 21 Dec 2023 00:27:20 +0800 Subject: [PATCH 025/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8B=BC=E7=82=B9?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E9=BB=98=E8=AE=A4ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 适当降低了牌价值的权重,强调点数而非价值 --- noname/library/index.js | 99 ++++++++++++++++++++--------------------- 1 file changed, 48 insertions(+), 51 deletions(-) diff --git a/noname/library/index.js b/noname/library/index.js index b8ac09bcb..b2dcf22f6 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -24394,75 +24394,72 @@ export class Library extends Uninstantable { next._args = Array.from(arguments); return next; } - chooseToCompare(target, check) { - var next = game.createEvent('chooseToCompare'); - next.player = this; - if (Array.isArray(target)) { - next.targets = target; - if (check) next.ai = check; - else next.ai = function (card) { - if (typeof card == 'string' && lib.skill[card]) { - var ais = lib.skill[card].check || function () { return 0 }; + chooseToCompare(target,check){ + var next=game.createEvent('chooseToCompare'); + next.player=this; + if(Array.isArray(target)){ + next.targets=target; + if(check) next.ai=check; + else next.ai=function(card){ + if(typeof card=='string'&&lib.skill[card]){ + var ais=lib.skill[card].check||function(){return 0}; return ais(); } - var addi = (get.value(card) >= 8 && get.type(card) != 'equip') ? -3 : 0; - if (card.name == 'du') addi -= 3; - var source = _status.event.source; - var player = _status.event.player; - var event = _status.event.getParent(); - var getn = function (card) { - if (player.hasSkill('tianbian') && get.suit(card) == 'heart') return 13 * (event.small ? -1 : 1); - return get.number(card) * (event.small ? -1 : 1); + var addi=(get.value(card)>=8&&get.type(card)!='equip')?-3:0; + if(card.name=='du') addi-=3; + var source=_status.event.source; + var player=_status.event.player; + var event=_status.event.getParent(); + var getn=function(card){ + if(player.hasSkill('tianbian')&&get.suit(card)=='heart') return 13*(Boolean(event.small)?-1:1); + return get.number(card)*(Boolean(event.small)?-1:1); } - if (source && source != player) { - if (get.attitude(player, source) > 1) { - if (event.small) return getn(card) - get.value(card) / 2 + addi; - return -getn(card) - get.value(card) / 2 + addi; + if(source&&source!=player){ + if(get.attitude(player,source)>1){ + if(Boolean(event.small)) return getn(card)-get.value(card)/3+addi; + return -getn(card)-get.value(card)/3+addi; } - if (event.small) return -getn(card) - get.value(card) / 2 + addi; - return getn(card) - get.value(card) / 2 + addi; + if(Boolean(event.small)) return -getn(card)-get.value(card)/5+addi; + return getn(card)-get.value(card)/5+addi; } - else { - if (event.small) return -getn(card) - get.value(card) / 2 + addi; - return getn(card) - get.value(card) / 2 + addi; + else{ + if(Boolean(event.small)) return -getn(card)-get.value(card)/5+addi; + return getn(card)-get.value(card)/5+addi; } } next.setContent('chooseToCompareMultiple'); } - else { - next.target = target; - if (check) next.ai = check; - else next.ai = function (card) { - if (typeof card == 'string' && lib.skill[card]) { - var ais = lib.skill[card].check || function () { return 0 }; + else{ + next.target=target; + if(check) next.ai=check; + else next.ai=function(card){ + if(typeof card=='string'&&lib.skill[card]){ + var ais=lib.skill[card].check||function(){return 0}; return ais(); } - var player = get.owner(card); - var getn = function (card) { - if (player.hasSkill('tianbian') && get.suit(card) == 'heart') return 13; + var player=get.owner(card); + var getn=function(card){ + if(player.hasSkill('tianbian')&&get.suit(card)=='heart') return 13; return get.number(card); } - var event = _status.event.getParent(); - var to = (player == event.player ? event.target : event.player); - var addi = (get.value(card) >= 8 && get.type(card) != 'equip') ? -6 : 0; - if (card.name == 'du') addi -= 5; - if (player == event.player) { - if (event.small) { - return -getn(card) - get.value(card) / 2 + addi; - } - return getn(card) - get.value(card) / 2 + addi; + var event=_status.event.getParent(); + var to=(player==event.player?event.target:event.player); + var addi=(get.value(card)>=8&&get.type(card)!='equip')?-6:0; + var friend=get.attitude(player,to)>0; + if(card.name=='du') addi-=5; + if(player==event.player){ + if(Boolean(event.small)) return -getn(card)-get.value(card)/(friend?4:5)+addi; + return getn(card)-get.value(card)/(friend?4:5)+addi; } - else { - if ((get.attitude(player, to) <= 0) == Boolean(event.small)) { - return -getn(card) - get.value(card) / 2 + addi; - } - return getn(card) - get.value(card) / 2 + addi; + else{ + if(friend==Boolean(event.small)) return getn(card)-get.value(card)/(friend?3:5)+addi; + return -getn(card)-get.value(card)/(friend?3:5)+addi; } } next.setContent('chooseToCompare'); } - next.forceDie = true; - next._args = Array.from(arguments); + next.forceDie=true; + next._args=Array.from(arguments); return next; } chooseSkill(target) { From 800c74eb10690665f40c9f6dbca77bf1d0473e31 Mon Sep 17 00:00:00 2001 From: Rintim Date: Thu, 21 Dec 2023 01:14:23 +0800 Subject: [PATCH 026/234] pref: no gnc. --- noname/game/index.js | 38 +++++++++--------- noname/library/index.js | 88 ++++++++++++++++++++--------------------- noname/ui/index.js | 8 ++-- 3 files changed, 67 insertions(+), 67 deletions(-) diff --git a/noname/game/index.js b/noname/game/index.js index 84399814b..da004bf56 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -1752,6 +1752,8 @@ export class Game extends Uninstantable { else if (music.startsWith('ext:')) ui.backgroundMusic.src = `${lib.assetURL}extension/${music.slice(4)}`; else ui.backgroundMusic.src = `${lib.assetURL}audio/background/${music}.mp3`; } + // 某种意义上,改不了,得重写 + // 等正式用import导入再说 static import(type, content, url) { if (type == 'extension') { const promise = game.loadExtension(content).then((name) => { @@ -1778,10 +1780,10 @@ export class Game extends Uninstantable { return promise; } } - static loadExtension = gnc.of(function* (object) { + static async loadExtension(object) { let noEval = false; if (typeof object == 'function') { - object = yield (gnc.is.generatorFunc(object) ? gnc.of(object) : object)(lib, game, ui, get, ai, _status); + object = await (gnc.is.generatorFunc(object) ? gnc.of(object) : object)(lib, game, ui, get, ai, _status); noEval = true; } const name = object.name, extensionName = `extension_${name}`, extensionMenu = lib.extensionMenu[extensionName] = { @@ -1882,7 +1884,7 @@ export class Game extends Uninstantable { } if (precontent) { _status.extension = name; - yield (gnc.is.generatorFunc(precontent) ? gnc.of(precontent) : precontent).call(object, config); + await (gnc.is.generatorFunc(precontent) ? gnc.of(precontent) : precontent).call(object, config); delete _status.extension; } if (content) lib.extensions.push([name, content, config, _status.evaluatingExtension, objectPackage || {}]); @@ -1892,7 +1894,7 @@ export class Game extends Uninstantable { } return name; - }) + } static createDir(directory, successCallback, errorCallback) { const paths = directory.split('/').reverse(); if (window.resolveLocalFileSystemURL) return new Promise((resolve, reject) => window.resolveLocalFileSystemURL(lib.assetURL, resolve, reject)).then(directoryEntry => { @@ -1921,10 +1923,10 @@ export class Game extends Uninstantable { }; return redo(); } - static importExtension = gnc.of(function* (data, finishLoad, exportExtension, extensionPackage) { + static async importExtension(data, finishLoad, exportExtension, extensionPackage) { //by 来瓶可乐加冰、Rintim、Tipx-L if (!window.JSZip) - yield new Promise((resolve, reject) => lib.init.js(`${lib.assetURL}game`, "jszip", resolve, reject)); + await new Promise((resolve, reject) => lib.init.js(`${lib.assetURL}game`, "jszip", resolve, reject)); const zip = new JSZip(); if (get.objtype(data) == 'object') { @@ -1984,7 +1986,7 @@ export class Game extends Uninstantable { if (str === "" || undefined) throw ('你导入的不是扩展!请选择正确的文件'); _status.importingExtension = true; eval(str); - yield Promise.allSettled(_status.extensionLoading); + await Promise.allSettled(_status.extensionLoading); delete _status.extensionLoading; _status.importingExtension = false; if (!game.importedPack) throw ('err'); @@ -2072,7 +2074,7 @@ export class Game extends Uninstantable { UHP(error); return false; } - }) + } static export(textToWrite, name) { var textFileAsBlob = new Blob([textToWrite], { type: 'text/plain' }); var fileNameToSaveAs = name || 'noname'; @@ -4419,12 +4421,12 @@ export class Game extends Uninstantable { splash: imgsrc, fromextension: true } - lib.init['setMode_' + name] = gnc.of(function* () { - yield game.import('mode', function (lib, game, ui, get, ai, _status) { + lib.init['setMode_' + name] = async () => { + await game.import('mode', (lib, game, ui, get, ai, _status) => { info.name = name; return info; }); - }); + }; if (!lib.config.extensionInfo[extname]) { lib.config.extensionInfo[extname] = {}; } @@ -6255,8 +6257,8 @@ export class Game extends Uninstantable { } static loadModeAsync(name, callback) { window.game = game; - var script = lib.init.js(lib.assetURL + 'mode', name, gnc.of(function* () { - yield Promise.allSettled(_status.importing.mode); + var script = lib.init.js(lib.assetURL + 'mode', name, async () => { + await Promise.allSettled(_status.importing.mode); if (!lib.config.dev) delete window.game; script.remove(); var content = lib.imported.mode[name]; @@ -6265,7 +6267,7 @@ export class Game extends Uninstantable { delete lib.imported.mode; } callback(content); - })); + }); } static switchMode(name, configx) { if (!lib.layoutfixed.contains(name)) { @@ -6279,8 +6281,8 @@ export class Game extends Uninstantable { } } window.game = game; - var script = lib.init.js(lib.assetURL + 'mode', name, gnc.of(function* () { - yield Promise.allSettled(_status.importing.mode); + var script = lib.init.js(lib.assetURL + 'mode', name, async () => { + await Promise.allSettled(_status.importing.mode); if (!lib.config.dev) delete window.game; script.remove(); var mode = lib.imported.mode; @@ -6451,7 +6453,7 @@ export class Game extends Uninstantable { game.loop(); }); } - })); + }); } static loadMode(mode) { var next = game.createEvent('loadMode', false); @@ -8081,4 +8083,4 @@ export class Game extends Uninstantable { } }; -export const game = Game; \ No newline at end of file +export const game = Game; diff --git a/noname/library/index.js b/noname/library/index.js index 397ab3a3b..7748d6e5e 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -1458,7 +1458,7 @@ export class Library extends Uninstantable { node.menu = ui.create.div(node, '', '

'); } }, - onclick: gnc.of(function* (theme) { + onclick: async (theme) => { game.saveConfig('theme', theme); ui.arena.hide(); lib.init.background(); @@ -1471,17 +1471,17 @@ export class Library extends Uninstantable { } } lib.announce.publish("Noname.Apperaence.Theme.onChanging", theme); - yield new Promise(resolve => setTimeout(resolve, 500)); + await new Promise(resolve => setTimeout(resolve, 500)); const deletingTheme = ui.css.theme; ui.css.theme = lib.init.css(lib.assetURL + 'theme/' + lib.config.theme, 'style'); deletingTheme.remove(); lib.announce.publish("Noname.Apperaence.Theme.onChanged", theme); - yield new Promise(resolve => setTimeout(resolve, 100)); + await new Promise(resolve => setTimeout(resolve, 100)); ui.arena.show(); lib.announce.publish("Noname.Apperaence.Theme.onChangeFinished", theme); - }) + } }, layout: { name: '布局', @@ -9540,7 +9540,7 @@ export class Library extends Uninstantable { if (!lengths.length) return constructingToLoad + 1; return constructingToLoad + Math.min(...lengths); }, 0); - const packLoaded = gnc.of(function* () { + const packLoaded = async () => { toLoad--; if (toLoad) return; if (_status.importing) { @@ -9548,7 +9548,7 @@ export class Library extends Uninstantable { for (const type in _status.importing) { promises.addArray(_status.importing[type]) } - yield Promise.allSettled(promises); + await Promise.allSettled(promises); delete _status.importing; } @@ -9557,7 +9557,7 @@ export class Library extends Uninstantable { lib.init.onload(); } else _status.packLoaded = true; - }); + }; if (localStorage.getItem(`${lib.configprefix}playback`)) { toLoad++; lib.init.js(`${lib.assetURL}mode`, lib.config.mode, packLoaded, packLoaded); @@ -9645,16 +9645,16 @@ export class Library extends Uninstantable { console.log(e); }); var styleToLoad = 6; - var styleLoaded = gnc.of(function* () { + var styleLoaded = async () => { --styleToLoad; if (styleToLoad == 0) { if (extensionlist.length && (lib.config.mode != 'connect' || show_splash)) { _status.extensionLoading = []; let extToLoad = extensionlist.length; - const extLoaded = gnc.of(function* () { + const extLoaded = async () => { --extToLoad; if (extToLoad == 0) { - yield Promise.allSettled(_status.extensionLoading); + await Promise.allSettled(_status.extensionLoading); _status.extensionLoaded.filter(Boolean).forEach(name => { lib.announce.publish("Noname.Init.Extension.onLoad", name); lib.announce.publish(`Noname.Init.Extension.${name}.onLoad`, void 0); @@ -9662,38 +9662,37 @@ export class Library extends Uninstantable { delete _status.extensionLoading; loadPack(); } - }); + }; //读取扩展 var alerted = false; - for (var i = 0; i < extensionlist.length; i++) { + for (let i = 0; i < extensionlist.length; i++) { if (window.bannedExtensions.contains(extensionlist[i])) { alerted = true; --extToLoad; if (extToLoad == 0) { - yield Promise.allSettled(_status.extensionLoading); + await Promise.allSettled(_status.extensionLoading); delete _status.extensionLoading; loadPack(); } continue; } - lib.init.js(lib.assetURL + 'extension/' + extensionlist[i], 'extension', extLoaded, (function (i) { - return gnc.of(function* () { - game.removeExtension(i); - --extToLoad; - if (extToLoad == 0) { - yield Promise.allSettled(_status.extensionLoading); - delete _status.extensionLoading; - loadPack(); - } - }); - }(extensionlist[i]))); + lib.init.js(lib.assetURL + 'extension/' + extensionlist[i], 'extension', extLoaded, async () => { + game.removeExtension(extensionlist[i]); + --extToLoad; + if (extToLoad == 0) { + await Promise.allSettled(_status.extensionLoading); + delete _status.extensionLoading; + loadPack(); + } + }); } } else { loadPack(); } } - }); + }; + if (lib.config.layout == 'default') { lib.config.layout = 'mobile'; } @@ -10304,13 +10303,13 @@ export class Library extends Uninstantable { } }, //lib.onload支持传入GeneratorFunction以解决异步函数的问题 by诗笺 - onload: gnc.of(function* () { + async onload() { const libOnload = lib.onload; delete lib.onload; while (Array.isArray(libOnload) && libOnload.length) { const fun = libOnload.shift(); - if (typeof fun != "function") continue; - yield (gnc.is.generatorFunc(fun) ? gnc.of(fun) : fun)(); + if (typeof fun !== "function") continue; + await (gnc.is.generatorFunc(fun) ? gnc.of(fun) : fun)(); } ui.updated(); game.documentZoom = game.deviceZoom; @@ -10504,7 +10503,7 @@ export class Library extends Uninstantable { }); } - var proceed2 = gnc.of(function* () { + var proceed2 = async () => { var mode = lib.imported.mode; var card = lib.imported.card; var character = lib.imported.character; @@ -10919,7 +10918,7 @@ export class Library extends Uninstantable { _status.extension = lib.extensions[i][0]; _status.evaluatingExtension = lib.extensions[i][3]; if (typeof lib.extensions[i][1] == "function") - yield (gnc.is.coroutine(lib.extensions[i][1]) ? gnc.of(lib.extensions[i][1]) : lib.extensions[i][1]).call(lib.extensions[i], lib.extensions[i][2], lib.extensions[i][4]); + await (gnc.is.coroutine(lib.extensions[i][1]) ? gnc.of(lib.extensions[i][1]) : lib.extensions[i][1]).call(lib.extensions[i], lib.extensions[i][2], lib.extensions[i][4]); if (lib.extensions[i][4]) { if (lib.extensions[i][4].character) { for (var j in lib.extensions[i][4].character.character) { @@ -10967,31 +10966,30 @@ export class Library extends Uninstantable { } delete lib.init.start; if (Array.isArray(_status.onprepare) && _status.onprepare.length) { - yield Promise.allSettled(_status.onprepare); + await Promise.allSettled(_status.onprepare); delete _status.onprepare; } game.loop(); - }) - var proceed = gnc.of(function* () { + }; + var proceed = async () => { if (!lib.db) { try { lib.storage = JSON.parse(localStorage.getItem(lib.configprefix + lib.config.mode)); - if (typeof lib.storage != 'object') throw ('err'); - if (lib.storage == null) throw ('err'); - } - catch (err) { + if (typeof lib.storage !== 'object') throw ('err'); + if (lib.storage === null) throw ('err'); + } catch (err) { lib.storage = {}; localStorage.setItem(lib.configprefix + lib.config.mode, "{}"); } - yield proceed2(); + await proceed2(); } else { - game.getDB('data', lib.config.mode, function (obj) { + await game.getDB('data', lib.config.mode, async (obj) => { lib.storage = obj || {}; - proceed2(); + await proceed2(); }); } - }); + }; if (!lib.imported.mode || !lib.imported.mode[lib.config.mode]) { window.inSplash = true; clearTimeout(window.resetGameTimeout); @@ -11087,7 +11085,7 @@ export class Library extends Uninstantable { } } else { - yield proceed(); + await proceed(); } localStorage.removeItem(lib.configprefix + 'directstart'); delete lib.init.init; @@ -11096,9 +11094,9 @@ export class Library extends Uninstantable { while (Array.isArray(libOnload2) && libOnload2.length) { const fun = libOnload2.shift(); if (typeof fun != "function") continue; - yield (gnc.is.generatorFunc(fun) ? gnc.of(fun) : fun)(); + await (gnc.is.generatorFunc(fun) ? gnc.of(fun) : fun)(); } - }), + }, startOnline: function () { 'step 0' event._resultid = null; @@ -36297,4 +36295,4 @@ setAllPropertiesEnumerable(lib.element.GameEvent.prototype); setAllPropertiesEnumerable(lib.element.Dialog.prototype); setAllPropertiesEnumerable(lib.element.Control.prototype); setAllPropertiesEnumerable(lib.element.Client.prototype); -setAllPropertiesEnumerable(lib.element.NodeWS.prototype); \ No newline at end of file +setAllPropertiesEnumerable(lib.element.NodeWS.prototype); diff --git a/noname/ui/index.js b/noname/ui/index.js index 45e675e83..9c845469d 100644 --- a/noname/ui/index.js +++ b/noname/ui/index.js @@ -4190,7 +4190,7 @@ class Create extends Uninstantable { } editnode.classList.remove('disabled'); }; - var clickButton = lib.gnc.of(function* () { + var clickButton = async () => { if (currentButton == this) { resetEditor(); return; @@ -4229,7 +4229,7 @@ class Create extends Uninstantable { dieaudionode.file = { name: info[4][i].slice(info[4][i].lastIndexOf('/') + 1) }; - yield new Promise(resolve => { + await new Promise((resolve) => { if (typeof game.readFile == 'function') { game.readFile(info[4][i].slice(4).replace('ext:', 'extension/'), arraybuffer => { dieaudionode.arrayBuffer = arraybuffer; @@ -4266,7 +4266,7 @@ class Create extends Uninstantable { editnode.classList.remove('disabled'); delnode.innerHTML = '删除'; delnode.button = this; - }); + }; var createButton = function (name, image) { var button = ui.create.div('.button.character'); button.link = name; @@ -14570,4 +14570,4 @@ export class UI extends Uninstantable { } }; -export const ui = UI; \ No newline at end of file +export const ui = UI; From 1acc180c277618773e3570a9c2b69df59f8add17 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Thu, 21 Dec 2023 02:17:03 +0800 Subject: [PATCH 027/234] =?UTF-8?q?=E4=B8=BAGame=E7=B1=BB=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=83=A8=E5=88=86=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/game/index.js | 109 ++++++++++++++++++++++++++++++++++------ noname/get/index.js | 69 +++++++++++++++++++------ noname/library/index.js | 10 ++-- noname/status/index.js | 5 +- 4 files changed, 156 insertions(+), 37 deletions(-) diff --git a/noname/game/index.js b/noname/game/index.js index 6596bb627..aa55e3cd5 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -1,3 +1,13 @@ +/** + * @typedef {{ + * cardMove:(import('../library/index.js').GameEventPromise)[], + * custom: (import('../library/index.js').GameEventPromise)[], + * useCard: (import('../library/index.js').GameEventPromise)[], + * changeHp: (import('../library/index.js').GameEventPromise)[], + * everything: (import('../library/index.js').GameEventPromise)[] + * }} History +*/ + import { AI as ai } from '../ai/index.js'; import { Get as get } from '../get/index.js'; import { Library as lib } from '../library/index.js'; @@ -652,20 +662,32 @@ export class Game extends Uninstantable { } /** * 为牌添加知情者 + * @param { import('../library/index.js').Card[] | import('../library/index.js').Card } cards + * @param { import('../library/index.js').Player[] } players */ static addCardKnower(cards, players) { if (get.itemtype(cards) == 'card') { + // @ts-ignore cards = [cards]; } + // @ts-ignore cards.forEach(card => card.addKnower(players)); } - //移除牌的所有知情者。 + /** + * 移除牌的所有知情者。 + * @param { import('../library/index.js').Card[] | import('../library/index.js').Card } cards + */ static clearCardKnowers(cards) { if (get.itemtype(cards) == 'card') { + // @ts-ignore cards = [cards]; } + // @ts-ignore cards.forEach(card => card.clearKnowers()); } + /** + * @param { { [key: string]: any } } [arg] + */ static loseAsync(arg) { var next = game.createEvent('loseAsync'); next.forceDie = true; @@ -736,17 +758,27 @@ export class Game extends Uninstantable { } return ret; } + /** + * @param {string} name + */ static getRarity(name) { var rank = lib.rank.rarity; - if (rank.legend.contains(name)) return 'legend'; - if (rank.epic.contains(name)) return 'epic'; - if (rank.rare.contains(name)) return 'rare'; - if (get.mode() != 'chess' && rank.junk.contains(name)) return 'junk'; + if (rank.legend.includes(name)) return 'legend'; + if (rank.epic.includes(name)) return 'epic'; + if (rank.rare.includes(name)) return 'rare'; + if (get.mode() != 'chess' && rank.junk.includes(name)) return 'junk'; return 'common'; } + /** + * @template { keyof History } T + * @param { T } key + * @param { (event: import('../library/index.js').GameEventPromise) => boolean } filter + * @param { import('../library/index.js').GameEventPromise } [last] + * @returns { boolean } + */ static hasGlobalHistory(key, filter, last) { - if (!key) return _status.globalHistory[_status.globalHistory.length - 1]; - if (!filter) return _status.globalHistory[_status.globalHistory.length - 1][key]; + // md谁写的和getGlobalHistory一样?害人! + if (!key || !filter) return false; else { const history = game.getGlobalHistory(key); if (last) { @@ -761,9 +793,16 @@ export class Game extends Uninstantable { } } } + /** + * @template { keyof History } T + * @param { T } key + * @param { (event: import('../library/index.js').GameEventPromise) => boolean } filter + * @param { import('../library/index.js').GameEventPromise } [last] + * @returns { void } + */ static checkGlobalHistory(key, filter, last) { - if (!key) return _status.globalHistory[_status.globalHistory.length - 1]; - if (!filter) return _status.globalHistory[_status.globalHistory.length - 1][key]; + // md谁写的和getGlobalHistory一样?害人! + if (!key || !filter) return; else { const history = game.getGlobalHistory(key); if (last) { @@ -778,6 +817,18 @@ export class Game extends Uninstantable { } } } + /** + * @overload + * @returns { History } + */ + /** + * @template { keyof History } T + * @overload + * @param { T } key + * @param { (event: import('../library/index.js').GameEventPromise) => boolean } [filter] + * @param { import('../library/index.js').GameEventPromise } [last] + * @returns { History[T] } + */ static getGlobalHistory(key, filter, last) { if (!key) return _status.globalHistory[_status.globalHistory.length - 1]; if (!filter) return _status.globalHistory[_status.globalHistory.length - 1][key]; @@ -793,13 +844,18 @@ export class Game extends Uninstantable { return history.filter(filter); } } + /** + * @template { keyof History } T + * @param { T } key + * @param { (event: import('../library/index.js').GameEventPromise) => boolean } filter + * @param { import('../library/index.js').GameEventPromise } [last] + * @returns { boolean } + */ static hasAllGlobalHistory(key, filter, last) { - if (!key || !filter) return; - let stopped = false; - _status.globalHistory.forEach(value => { + if (!key || !filter) return false; + return _status.globalHistory.some(value => { if (value[key]) { - if (last && value[key].includes(last) && !stopped) { - stopped = true; + if (last && value[key].includes(last)) { const lastIndex = value[key].indexOf(last); if (value[key].some((event, index) => { if (index > lastIndex) return false; @@ -812,6 +868,13 @@ export class Game extends Uninstantable { } }) } + /** + * @template { keyof History } T + * @param { T } key + * @param { (event: import('../library/index.js').GameEventPromise) => boolean } filter + * @param { import('../library/index.js').GameEventPromise } [last] + * @returns { void } + */ static checkAllGlobalHistory(key, filter, last) { if (!key || !filter) return; let stopped = false; @@ -831,6 +894,18 @@ export class Game extends Uninstantable { } }) } + /** + * @overload + * @returns { History[] } + */ + /** + * @template { keyof History } T + * @overload + * @param { T } key + * @param { (event: import('../library/index.js').GameEventPromise) => boolean } [filter] + * @param { import('../library/index.js').GameEventPromise } [last] + * @returns { History[T] } + */ static getAllGlobalHistory(key, filter, last) { const history = []; _status.globalHistory.forEach(value => { @@ -844,7 +919,7 @@ export class Game extends Uninstantable { if (filter) { if (last) { const lastIndex = history.indexOf(last); - return history.filter(function (event, index) { + return history.filter((event, index) => { if (index > lastIndex) return false; return filter(event); }); @@ -853,10 +928,14 @@ export class Game extends Uninstantable { } return history; } + /** + * @param { import('../library/index.js').Card | import('../library/index.js').Card[] } cards + */ static cardsDiscard(cards) { var type = get.itemtype(cards); if (type != 'cards' && type != 'card') return; var next = game.createEvent('cardsDiscard'); + // @ts-ignore next.cards = type == 'cards' ? cards.slice(0) : [cards]; next.setContent('cardsDiscard'); next.getd = function (player, key, position) { diff --git a/noname/get/index.js b/noname/get/index.js index 17fdfd968..37182e8c6 100644 --- a/noname/get/index.js +++ b/noname/get/index.js @@ -1833,10 +1833,54 @@ export class Get extends Uninstantable { } static xyDistance(from, to) { return Math.sqrt((from[0] - to[0]) * (from[0] - to[0]) + (from[1] - to[1]) * (from[1] - to[1])) } /** - * @param { [number, number] | string | import('../library/index.js').Player[] | - * import('../library/index.js').Card[] | [number, number, number, number] | import('../library/index.js').Button | - * import('../library/index.js').Dialog | import('../library/index.js').Player | import('../library/index.js').Card | - * import('../library/index.js').GameEvent | import('../library/index.js').GameEventPromise } obj + * @overload + * @param { string } obj + * @returns { 'position' | 'natures' | 'nature' } + */ + /** + * @overload + * @param { import('../library/index.js').Player[] } obj + * @returns { 'players' } + */ + /** + * @overload + * @param { import('../library/index.js').Card[] } obj + * @returns { 'cards' } + */ + /** + * @overload + * @param { [number, number] } obj + * @returns { 'select' } + */ + /** + * @overload + * @param { [number, number, number, number] } obj + * @returns { 'divposition' } + */ + /** + * @overload + * @param { import('../library/index.js').Button } obj + * @returns { 'button' } + */ + /** + * @overload + * @param { import('../library/index.js').Card } obj + * @returns { 'card' } + */ + /** + * @overload + * @param { import('../library/index.js').Player } obj + * @returns { 'player' } + */ + /** + * @overload + * @param { import('../library/index.js').Dialog } obj + * @returns { 'dialog' } + */ + /** + * @overload + * @param { import('../library/index.js').GameEvent | import('../library/index.js').GameEventPromise } obj + * @returns { 'event' } */ static itemtype(obj) { if (typeof obj == 'string') { @@ -1853,19 +1897,13 @@ export class Get extends Uninstantable { if (lib.nature.has(obj)) return 'nature'; } if (Array.isArray(obj) && obj.length > 0) { - if (obj.every(p => p instanceof lib.element.Player)) { - return 'players'; - } - if (obj.every(p => p instanceof lib.element.Card)) { - return 'cards'; - } - + if (obj.every(p => p instanceof lib.element.Player)) return 'players'; + if (obj.every(p => p instanceof lib.element.Card)) return 'cards'; if (obj.length == 2) { if (typeof obj[0] == 'number' && typeof obj[1] == 'number') { if (obj[0] <= obj[1] || obj[1] <= -1) return 'select'; } } - if (obj.length == 4) { if (obj.every(p => typeof p == 'number')) { return 'divposition'; @@ -2168,14 +2206,13 @@ export class Get extends Uninstantable { } } /** - * @param { number | [number, number] | (()=>[number, number]) } [select] + * @param { number | [number, number] | (()=>[number, number]) } [select] * @returns { [number, number] } */ static select(select) { - if (typeof select == 'number') return [select, select]; - // @ts-ignore - if (get.itemtype(select) == 'select') return select; if (typeof select == 'function') return get.select(select()); + else if (typeof select == 'number') return [select, select]; + else if (select && get.itemtype(select) == 'select') return select; return [1, 1]; } static card(original) { diff --git a/noname/library/index.js b/noname/library/index.js index 9815eeb99..8025a4f24 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -5,7 +5,7 @@ * @typedef {InstanceType} Button * @typedef {InstanceType} Dialog * @typedef {InstanceType} GameEvent - * @typedef {InstanceType} GameEventPromise + * @typedef {InstanceType & InstanceType & typeof Promise} GameEventPromise * @typedef {InstanceType} NodeWS */ import { nonameInitialized, assetURL, userAgent, Uninstantable, GeneratorFunction, AsyncFunction } from "../util/index.js"; @@ -31302,7 +31302,7 @@ export class Library extends Uninstantable { } }, GameEvent: class { - /** @type { Promise & GameEvent & GameEventPromise } */ + /** @type { GameEventPromise } */ #promise; /** * @param {string} [name] @@ -31321,11 +31321,11 @@ export class Library extends Uninstantable { this.step = 0; this.finished = false; /** - * @type {(Promise & GameEvent & GameEventPromise)[]} + * @type {(GameEventPromise)[]} */ this.next = []; /** - * @type {(Promise & GameEvent & GameEventPromise)[]} + * @type {(GameEventPromise)[]} */ this.after = []; this.custom = { @@ -32107,7 +32107,7 @@ export class Library extends Uninstantable { /** * 事件转为Promise化 * - * @returns { Promise & GameEvent & GameEventPromise<> } + * @returns { GameEventPromise } */ toPromise() { if (!this.#promise) { diff --git a/noname/status/index.js b/noname/status/index.js index fb87a032d..50538237b 100644 --- a/noname/status/index.js +++ b/noname/status/index.js @@ -6,7 +6,7 @@ export const status = { clicked: false, auto: false, /** - * @type {import('../library/index.js').GameEventPromise & import('../library/index.js').GameEvent} + * @type {import('../library/index.js').GameEventPromise} */ // @ts-ignore event: null, @@ -16,6 +16,9 @@ export const status = { dieClose: [], dragline: [], dying: [], + /** + * @type { import('../game/index.js').History[] } + */ globalHistory: [{ cardMove: [], custom: [], From e9c6fb0ea1226798eafa239bb7b5ff0572040606 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Thu, 21 Dec 2023 08:55:27 +0800 Subject: [PATCH 028/234] formatted code --- noname/library/index.js | 200 ++++++++++++++++++++-------------------- 1 file changed, 100 insertions(+), 100 deletions(-) diff --git a/noname/library/index.js b/noname/library/index.js index b2dcf22f6..f777d4481 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -24394,72 +24394,72 @@ export class Library extends Uninstantable { next._args = Array.from(arguments); return next; } - chooseToCompare(target,check){ - var next=game.createEvent('chooseToCompare'); - next.player=this; - if(Array.isArray(target)){ - next.targets=target; - if(check) next.ai=check; - else next.ai=function(card){ - if(typeof card=='string'&&lib.skill[card]){ - var ais=lib.skill[card].check||function(){return 0}; + chooseToCompare(target, check) { + var next = game.createEvent('chooseToCompare'); + next.player = this; + if (Array.isArray(target)) { + next.targets = target; + if (check) next.ai = check; + else next.ai = function (card) { + if (typeof card == 'string' && lib.skill[card]) { + var ais = lib.skill[card].check || function () { return 0 }; return ais(); } - var addi=(get.value(card)>=8&&get.type(card)!='equip')?-3:0; - if(card.name=='du') addi-=3; - var source=_status.event.source; - var player=_status.event.player; - var event=_status.event.getParent(); - var getn=function(card){ - if(player.hasSkill('tianbian')&&get.suit(card)=='heart') return 13*(Boolean(event.small)?-1:1); - return get.number(card)*(Boolean(event.small)?-1:1); + var addi = (get.value(card) >= 8 && get.type(card) != 'equip') ? -3 : 0; + if (card.name == 'du') addi -= 3; + var source = _status.event.source; + var player = _status.event.player; + var event = _status.event.getParent(); + var getn = function (card) { + if (player.hasSkill('tianbian') && get.suit(card) == 'heart') return 13 * (Boolean(event.small) ? -1 : 1); + return get.number(card) * (Boolean(event.small) ? -1 : 1); } - if(source&&source!=player){ - if(get.attitude(player,source)>1){ - if(Boolean(event.small)) return getn(card)-get.value(card)/3+addi; - return -getn(card)-get.value(card)/3+addi; + if (source && source != player) { + if (get.attitude(player, source) > 1) { + if (Boolean(event.small)) return getn(card) - get.value(card) / 3 + addi; + return -getn(card) - get.value(card) / 3 + addi; } - if(Boolean(event.small)) return -getn(card)-get.value(card)/5+addi; - return getn(card)-get.value(card)/5+addi; + if (Boolean(event.small)) return -getn(card) - get.value(card) / 5 + addi; + return getn(card) - get.value(card) / 5 + addi; } - else{ - if(Boolean(event.small)) return -getn(card)-get.value(card)/5+addi; - return getn(card)-get.value(card)/5+addi; + else { + if (Boolean(event.small)) return -getn(card) - get.value(card) / 5 + addi; + return getn(card) - get.value(card) / 5 + addi; } } next.setContent('chooseToCompareMultiple'); } - else{ - next.target=target; - if(check) next.ai=check; - else next.ai=function(card){ - if(typeof card=='string'&&lib.skill[card]){ - var ais=lib.skill[card].check||function(){return 0}; + else { + next.target = target; + if (check) next.ai = check; + else next.ai = function (card) { + if (typeof card == 'string' && lib.skill[card]) { + var ais = lib.skill[card].check || function () { return 0 }; return ais(); } - var player=get.owner(card); - var getn=function(card){ - if(player.hasSkill('tianbian')&&get.suit(card)=='heart') return 13; + var player = get.owner(card); + var getn = function (card) { + if (player.hasSkill('tianbian') && get.suit(card) == 'heart') return 13; return get.number(card); } - var event=_status.event.getParent(); - var to=(player==event.player?event.target:event.player); - var addi=(get.value(card)>=8&&get.type(card)!='equip')?-6:0; - var friend=get.attitude(player,to)>0; - if(card.name=='du') addi-=5; - if(player==event.player){ - if(Boolean(event.small)) return -getn(card)-get.value(card)/(friend?4:5)+addi; - return getn(card)-get.value(card)/(friend?4:5)+addi; + var event = _status.event.getParent(); + var to = (player == event.player ? event.target : event.player); + var addi = (get.value(card) >= 8 && get.type(card) != 'equip') ? -6 : 0; + var friend = get.attitude(player, to) > 0; + if (card.name == 'du') addi -= 5; + if (player == event.player) { + if (Boolean(event.small)) return -getn(card) - get.value(card) / (friend ? 4 : 5) + addi; + return getn(card) - get.value(card) / (friend ? 4 : 5) + addi; } - else{ - if(friend==Boolean(event.small)) return getn(card)-get.value(card)/(friend?3:5)+addi; - return -getn(card)-get.value(card)/(friend?3:5)+addi; + else { + if (friend == Boolean(event.small)) return getn(card) - get.value(card) / (friend ? 3 : 5) + addi; + return -getn(card) - get.value(card) / (friend ? 3 : 5) + addi; } } next.setContent('chooseToCompare'); } - next.forceDie=true; - next._args=Array.from(arguments); + next.forceDie = true; + next._args = Array.from(arguments); return next; } chooseSkill(target) { @@ -28793,81 +28793,81 @@ export class Library extends Uninstantable { if (this.hasSkillTag('respondShan', true, null, true)) return true; return this.hasUsableCard('shan'); } - mayHaveSha(viewer,type,ignore,rvt){ + mayHaveSha(viewer, type, ignore, rvt) { //rvt: return value type 'count', 'odds', 'bool'(default) - let count=0; - if((this.hp>2||!this.isZhu&&this.hp>1)&&this.hasSkillTag('respondSha',true,type,true)){ - if(rvt==='count') count++; + let count = 0; + if ((this.hp > 2 || !this.isZhu && this.hp > 1) && this.hasSkillTag('respondSha', true, type, true)) { + if (rvt === 'count') count++; else return true; } - if(get.itemtype(viewer)!=='player') viewer=_status.event.player; - let cards,selected=get.copy(ui.selected.cards); - if(get.itemtype(ignore)==='cards') selected.addArray(ignore); - else if(get.itemtype(ignore)==='card') selected.add(ignore); - if(this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); + if (get.itemtype(viewer) !== 'player') viewer = _status.event.player; + let cards, selected = get.copy(ui.selected.cards); + if (get.itemtype(ignore) === 'cards') selected.addArray(ignore); + else if (get.itemtype(ignore) === 'card') selected.add(ignore); + if (this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); else cards = this.getShownCards(); - count+=cards.filter(card=>{ - if(selected.includes(card)) return false; - let name=get.name(card,this); - if(name=='sha'||name=='hufu'||name=='yuchanqian'){ - if(type==='use') return lib.filter.cardEnabled(card,this); - if(type==='respond') return lib.filter.cardRespondable(card,this); + count += cards.filter(card => { + if (selected.includes(card)) return false; + let name = get.name(card, this); + if (name == 'sha' || name == 'hufu' || name == 'yuchanqian') { + if (type === 'use') return lib.filter.cardEnabled(card, this); + if (type === 'respond') return lib.filter.cardRespondable(card, this); return true; } return false; }).length; - if(count&&rvt!=='count') return true; - let hs=this.getCards('hs').filter(i=>!cards.includes(i)&&!selected.includes(i)).length; - if(!hs){ - if(rvt==='count') return count; + if (count && rvt !== 'count') return true; + let hs = this.getCards('hs').filter(i => !cards.includes(i) && !selected.includes(i)).length; + if (!hs) { + if (rvt === 'count') return count; return false; } - if(rvt==='count'){ - if(this.isPhaseUsing()) return count+hs/4; - return count+hs/4.8; + if (rvt === 'count') { + if (this.isPhaseUsing()) return count + hs / 4; + return count + hs / 4.8; } - if(this.isPhaseUsing()) count+=Math.pow(2+hs,2)/40; - else count+=-1.5*Math.log(1-hs/10); - if(rvt==='odds') return Math.min(1,count); - return count>_status.event.getRand('mayHaveSha'+hs+this.playerid); + if (this.isPhaseUsing()) count += Math.pow(2 + hs, 2) / 40; + else count += -1.5 * Math.log(1 - hs / 10); + if (rvt === 'odds') return Math.min(1, count); + return count > _status.event.getRand('mayHaveSha' + hs + this.playerid); } - mayHaveShan(viewer,type,ignore,rvt){ + mayHaveShan(viewer, type, ignore, rvt) { //rvt: return value type 'count', 'odds', 'bool'(default) - let count=0; - if((this.hp>2||!this.isZhu&&this.hp>1)&&this.hasSkillTag('respondShan',true,type,true)){ - if(rvt==='count') count++; + let count = 0; + if ((this.hp > 2 || !this.isZhu && this.hp > 1) && this.hasSkillTag('respondShan', true, type, true)) { + if (rvt === 'count') count++; else return true; } - if(get.itemtype(viewer)!=='player') viewer=_status.event.player; - let cards,selected=get.copy(ui.selected.cards); - if(get.itemtype(ignore)==='cards') selected.addArray(ignore); - else if(get.itemtype(ignore)==='card') selected.add(ignore); - if(this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); + if (get.itemtype(viewer) !== 'player') viewer = _status.event.player; + let cards, selected = get.copy(ui.selected.cards); + if (get.itemtype(ignore) === 'cards') selected.addArray(ignore); + else if (get.itemtype(ignore) === 'card') selected.add(ignore); + if (this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); else cards = this.getShownCards(); - count+=cards.filter(card=>{ - if(selected.includes(card)) return false; - let name=get.name(card,this); - if(name==='shan'||name==='hufu'){ - if(type==='use') return lib.filter.cardEnabled(card,this,'forceEnable'); - if(type==='respond') return lib.filter.cardRespondable(card,this); + count += cards.filter(card => { + if (selected.includes(card)) return false; + let name = get.name(card, this); + if (name === 'shan' || name === 'hufu') { + if (type === 'use') return lib.filter.cardEnabled(card, this, 'forceEnable'); + if (type === 'respond') return lib.filter.cardRespondable(card, this); return true; } return false; }).length; - if(count&&rvt!=='count') return true; - let hs=this.getCards('hs').filter(i=>!cards.includes(i)&&!selected.includes(i)).length; - if(!hs){ - if(rvt==='count') return count; + if (count && rvt !== 'count') return true; + let hs = this.getCards('hs').filter(i => !cards.includes(i) && !selected.includes(i)).length; + if (!hs) { + if (rvt === 'count') return count; return false; } - if(rvt==='count'){ - if(this.isPhaseUsing()) return count+hs/6; - return count+hs/3.5; + if (rvt === 'count') { + if (this.isPhaseUsing()) return count + hs / 6; + return count + hs / 3.5; } - if(this.isPhaseUsing()) count+=-1.5*Math.log(1-hs/10); - else count+=2*hs/(5+hs); - if(rvt==='odds') return Math.min(1,count); - return count>_status.event.getRand('mayHaveShan'+hs+this.playerid); + if (this.isPhaseUsing()) count += -1.5 * Math.log(1 - hs / 10); + else count += 2 * hs / (5 + hs); + if (rvt === 'odds') return Math.min(1, count); + return count > _status.event.getRand('mayHaveShan' + hs + this.playerid); } hasCard(name, position) { if (typeof name == 'function') { From ef08cb6b9ea707f6ff280ae4eb2a4355f5e0dd53 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Thu, 21 Dec 2023 10:40:40 +0800 Subject: [PATCH 029/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86?= =?UTF-8?q?=E8=B4=9F=E9=9D=A2=E8=A3=85=E5=A4=87ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/yongjian.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/card/yongjian.js b/card/yongjian.js index c01819e63..b199e2ada 100644 --- a/card/yongjian.js +++ b/card/yongjian.js @@ -162,11 +162,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){ ai:{ order:9, value:function(card,player){ - if(player.getEquips(1).contains(card)) return 0; + if(player.getEquips(1).contains(card)) return 0.4; return 4; }, equipValue:function(card,player){ - if(player.getCards('e').contains(card)) return 0; + if(player.getCards('e').contains(card)) return 0.4; return -get.value(player.getCards('e')); }, basic:{ @@ -226,11 +226,17 @@ game.import('card',function(lib,game,ui,get,ai,_status){ ai:{ order:9, equipValue:function(card,player){ - if(get.position(card)=='e') return -2; + if(get.position(card)=='e'){ + if(player.hasSex('male')) return -7; + return 0; + } return 2; }, value:function(card,player){ - if(player.getEquips(2).contains(card)) return -3; + if(player.getEquips(2).contains(card)){ + if(player.hasSex('male')) return -8; + return 0; + } return 3; }, basic:{ @@ -260,11 +266,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){ ai:{ order:9, equipValue:function(card,player){ - if(get.position(card)=='e') return -1; + if(get.position(card)=='e') return -8; return 1; }, value:function(card,player){ - if(player.getEquips(2).contains(card)) return -2.5; + if(player.getEquips(2).contains(card)) return -10; return 2.5; }, basic:{ From a97983921b2f15e3badae6fb1adaefe55b69692c Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Thu, 21 Dec 2023 15:50:59 +0800 Subject: [PATCH 030/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86?= =?UTF-8?q?=E8=B4=9F=E9=9D=A2=E8=A3=85=E5=A4=87ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/zhulu.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/card/zhulu.js b/card/zhulu.js index 5b76a4d35..b86e02e1e 100644 --- a/card/zhulu.js +++ b/card/zhulu.js @@ -397,7 +397,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return 2; }, value:function(card,player){ - if(player.getEquips(1).contains(card)) return -1.5; + if(player.getEquips(1).contains(card)){ + if(player.hasSkillTag('noh')) return 0; + return -3.5; + } return 1.5; }, basic:{ @@ -436,7 +439,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return 2; }, value:function(card,player){ - if(player.getEquips(1).contains(card)) return -3; + if(player.getEquips(1).contains(card)) return -3.5; return 3; }, basic:{ @@ -471,11 +474,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){ ai:{ order:9, equipValue:function(card,player){ - if(get.position(card)=='e') return -1; + if(get.position(card)=='e') return -7; return 1; }, value:function(card,player){ - if(player.getEquips(2).contains(card)) return -2.5; + if(player.getEquips(2).contains(card)) return -9; return 2.5; }, basic:{ From 8e2bfc91ad6e7f7040c2e3b2c5b91aa98e1be4a6 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Thu, 21 Dec 2023 19:08:08 +0800 Subject: [PATCH 031/234] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=BC=BA=E5=A4=B1?= =?UTF-8?q?=E7=9A=84=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/get/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noname/get/index.js b/noname/get/index.js index 37182e8c6..267485d62 100644 --- a/noname/get/index.js +++ b/noname/get/index.js @@ -1,4 +1,4 @@ -import { userAgent, Uninstantable } from "../util/index.js"; +import { userAgent, Uninstantable, GeneratorFunction, AsyncFunction } from "../util/index.js"; import { AI as ai } from '../ai/index.js'; import { Game as game } from '../game/index.js'; import { Library as lib } from '../library/index.js'; From b02f62f39296e6f59bf88fcdef110068ba65e308 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Thu, 21 Dec 2023 22:05:32 +0800 Subject: [PATCH 032/234] =?UTF-8?q?=E5=AE=8C=E5=96=84Game=E7=B1=BB?= =?UTF-8?q?=E7=9A=84JSDoc=E7=B1=BB=E5=9E=8B=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/game/index.js | 1214 ++++++++++++++++++++++++++++----------- noname/get/index.js | 4 + noname/library/index.js | 32 +- noname/status/index.js | 4 + 4 files changed, 896 insertions(+), 358 deletions(-) diff --git a/noname/game/index.js b/noname/game/index.js index aa55e3cd5..5f7768050 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -6,6 +6,8 @@ * changeHp: (import('../library/index.js').GameEventPromise)[], * everything: (import('../library/index.js').GameEventPromise)[] * }} History + * @typedef { { type: string, player?: string, content?: string | any[], delay: number } } Video + * @typedef { { mode: string, name: string[], name1: string, name2?: string, time: number, video: Video, win: boolean } } Videos */ import { AI as ai } from '../ai/index.js'; @@ -678,6 +680,7 @@ export class Game extends Uninstantable { * @param { import('../library/index.js').Card[] | import('../library/index.js').Card } cards */ static clearCardKnowers(cards) { + // @ts-ignore if (get.itemtype(cards) == 'card') { // @ts-ignore cards = [cards]; @@ -929,9 +932,22 @@ export class Game extends Uninstantable { return history; } /** - * @param { import('../library/index.js').Card | import('../library/index.js').Card[] } cards + * @overload + * @returns { void } + */ + /** + * @overload + * @param { import('../library/index.js').Card } cards + * @returns { import('../library/index.js').GameEventPromise } + */ + /** + * @overload + * @param {import('../library/index.js').Card[]} cards + * @returns { import('../library/index.js').GameEventPromise } */ static cardsDiscard(cards) { + /** @type { 'cards' | 'card' | void } */ + // @ts-ignore var type = get.itemtype(cards); if (type != 'cards' && type != 'card') return; var next = game.createEvent('cardsDiscard'); @@ -943,7 +959,23 @@ export class Game extends Uninstantable { }; return next; } + /** + * @overload + * @returns { void } + */ + /** + * @overload + * @param { import('../library/index.js').Card } cards + * @returns { import('../library/index.js').GameEventPromise } + */ + /** + * @overload + * @param {import('../library/index.js').Card[]} cards + * @returns { import('../library/index.js').GameEventPromise } + */ static cardsGotoOrdering(cards) { + /** @type { 'cards' | 'card' | void } */ + // @ts-ignore var type = get.itemtype(cards); if (type != 'cards' && type != 'card') return; var next = game.createEvent('cardsGotoOrdering'); @@ -951,7 +983,25 @@ export class Game extends Uninstantable { next.setContent('cardsGotoOrdering'); return next; } + /** + * @overload + * @returns { void } + */ + /** + * @overload + * @param { import('../library/index.js').Card } cards + * @param { 'toRenku' | false } [bool] 为false时不触发trigger,为'toRenku'时牌放到仁库 + * @returns { import('../library/index.js').GameEventPromise } + */ + /** + * @overload + * @param {import('../library/index.js').Card[]} cards + * @param { 'toRenku' | false } [bool] 为false时不触发trigger,为'toRenku'时牌放到仁库 + * @returns { import('../library/index.js').GameEventPromise } + */ static cardsGotoSpecial(cards, bool) { + /** @type { 'cards' | 'card' | void } */ + // @ts-ignore var type = get.itemtype(cards); if (type != 'cards' && type != 'card') return; var next = game.createEvent('cardsGotoSpecial'); @@ -961,12 +1011,27 @@ export class Game extends Uninstantable { next.setContent('cardsGotoSpecial'); return next; } - static cardsGotoPile() { + /** + * + * @param {...( + * import('../library/index.js').Card[] | + * import('../library/index.js').Card | + * Function | + * 'insert' | 'washCard' | 'triggeronly' | + * [string, any] + * )} args + * @returns + */ + static cardsGotoPile(...args) { + /** + * @type { import('../library/index.js').Card[] } + */ const cards = []; const next = game.createEvent('cardsGotoPile'); next.cards = cards; - for (let i = 0; i < arguments.length; i++) { - let arg = arguments[i], itemtype = get.itemtype(arg); + for (let i = 0; i < args.length; i++) { + // @ts-ignore + let arg = args[i], itemtype = get.itemtype(arg); if (itemtype == 'cards') { cards.addArray(arg); } @@ -994,6 +1059,9 @@ export class Game extends Uninstantable { } return next; } + /** + * @param { import('../library/index.js').GameEventPromise } event + */ static $cardsGotoPile(event) { const cards = event.cards; const pile = ui.cardPile; @@ -1017,6 +1085,9 @@ export class Game extends Uninstantable { } game.updateRoundNumber(); } + /** + * @param { false } [pause] + */ static showHistory(pause) { if (lib.config.show_history == 'left') { ui.window.classList.add('leftbar'); @@ -1028,22 +1099,28 @@ export class Game extends Uninstantable { ui.pause.show(); } } + /** + * @param { string } src + * @param { true } [blur] + */ static createBackground(src, blur) { - var current = document.body.querySelector('.background.upper'); - if (current) { - current.delete(); - } - var node = ui.create.div('.background.blurbg', document.body); + const current = document.body.querySelector('.background.upper'); + if (current) current.delete(); + const node = ui.create.div('.background.blurbg', document.body); node.setBackgroundImage(src); node.style.backgroundSize = 'cover'; - if (blur) { - node.classList.add('paused') - } + if (blur) node.classList.add('paused'); return node; } + /** + * + * @param { string } url + * @param { import('../library/index.js').Player } [player] + */ static changeLand(url, player) { game.addVideo('changeLand', player, url); const parsedPath = lib.path.parse(url); + // @ts-ignore delete parsedPath.base; if (!parsedPath.dir) parsedPath.dir = 'image/card/'; if (!parsedPath.ext) parsedPath.ext = '.jpg'; @@ -1088,17 +1165,21 @@ export class Game extends Uninstantable { game.addGlobalSkill(skill); }, lib.path.format(parsedPath), fileName, `${fileName}_skill`, player); } + /** + * @param { string[] } updates + * @param { Function } proceed + */ static checkFileList(updates, proceed) { - var n = updates.length; + let n = updates.length; if (!n) { proceed(n); } - for (var i = 0; i < updates.length; i++) { + for (let i = 0; i < updates.length; i++) { if (lib.node && lib.node.fs) { lib.node.fs.access(__dirname + '/' + updates[i], (function (entry) { return function (err) { if (!err) { - var stat = lib.node.fs.statSync(__dirname + '/' + entry); + let stat = lib.node.fs.statSync(__dirname + '/' + entry); if (stat.size == 0) { err = true; } @@ -1137,16 +1218,20 @@ export class Game extends Uninstantable { } } } - static replaceHandcards() { + /** + * @param {...(import('../library/index.js').Player[] | import('../library/index.js').Player)} args + */ + static replaceHandcards(...args) { var next = game.createEvent('replaceHandcards'); - if (Array.isArray(arguments[0])) { - next.players = arguments[0]; + if (Array.isArray(args[0])) { + next.players = args[0]; } else { next.players = []; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'player') { - next.players.push(arguments[i]); + for (var i = 0; i < args.length; i++) { + // @ts-ignore + if (get.itemtype(args[i]) == 'player') { + next.players.push(args[i]); } } } @@ -1157,6 +1242,9 @@ export class Game extends Uninstantable { next.setContent('replaceHandcards'); } } + /** + * @param { string } name + */ static removeCard(name) { for (var i = 0; i < lib.card.list.length; i++) { if (lib.card.list[i][2] == name) { @@ -1173,6 +1261,9 @@ export class Game extends Uninstantable { list[i].remove(); } } + /** + * @param { 'hidden' } [type] + */ static randomMapOL(type) { if (type == 'hidden') { ui.arena.classList.add('playerhidden'); @@ -1181,16 +1272,16 @@ export class Game extends Uninstantable { if (window.isNonameServer) { game.me = ui.create.player(); } - var list = []; - for (var i = 0; i < game.players.length; i++) { + let list = []; + for (let i = 0; i < game.players.length; i++) { if (game.players[i] != game.me) { list.push(game.players[i]); } } - var map = []; - for (var i = 0; i < lib.node.clients.length; i++) { + let map = []; + for (let i = 0; i < lib.node.clients.length; i++) { if (!list.length) break; - var current = list.randomRemove(); + const current = list.randomRemove(); current.ws = lib.node.clients[i]; current.playerid = current.ws.id; current.nickname = current.ws.nickname; @@ -1201,7 +1292,7 @@ export class Game extends Uninstantable { game.me.nickname = get.connectNickname(); game.me.setNickname(); } - for (var i = 0; i < game.players.length; i++) { + for (let i = 0; i < game.players.length; i++) { if (!game.players[i].playerid) { game.players[i].playerid = get.id(); } @@ -1217,13 +1308,13 @@ export class Game extends Uninstantable { ui.create.me(); game.me.playerid = game.onlineID; game.me.nickname = get.connectNickname(); - for (var i = 0; i < map.length; i++) { + for (let i = 0; i < map.length; i++) { if (map[i][0] == game.me.playerid) { map = map.concat(map.splice(0, i)); break; } } - for (var i = 0; i < game.players.length; i++) { + for (let i = 0; i < game.players.length; i++) { game.players[i].playerid = map[i][0]; game.players[i].nickname = map[i][1]; game.players[i].setNickname(); @@ -1254,12 +1345,20 @@ export class Game extends Uninstantable { } } /** - * @type {{ - * (func: T, ...args: Parameters) => void; - * (func: (...args: T) => void, ...args: T) => void; - * }} + * @template { keyof typeof lib.message.client } T + * @overload + * @param { T } func + * @param { ...Parameters } args + * @returns { void } */ - static broadcast() { + /** + * @template { any[] } T + * @overload + * @param { (...args: T) => void } func + * @param { ...T } args + * @returns { void } + */ + static broadcast(func, ...args) { if (!lib.node || !lib.node.clients || game.online) return; for (var i = 0; i < lib.node.clients.length; i++) { if (lib.node.clients[i].inited) { @@ -1268,29 +1367,31 @@ export class Game extends Uninstantable { } } /** - * @type {{ - * (func: T, ...args: Parameters) => void; - * (func: (...args: T) => void, ...args: T) => void; - * }} + * @template { keyof typeof lib.message.client } T + * @overload + * @param { T } func + * @param { ...Parameters } args + * @returns { void } */ - static broadcastAll() { + /** + * @template { any[] } T + * @overload + * @param { (...args: T) => void } func + * @param { ...T } args + * @returns { void } + */ + static broadcastAll(func, ...args) { if (game.online) return; - var argc = arguments.length; - var args = new Array(argc); - for (var i = 0; i < argc; i++) { - args[i] = arguments[i]; - } - game.broadcast.apply(this, args); - var func = args.shift(); + game.broadcast.apply(this, arguments); if (typeof func == 'string') { func = lib.message.client[func]; } if (typeof func == 'function') { - func.apply(this, args); + func.apply(this, arguments); } } static syncState() { - var state = null; + let state = null; if (game.getState) { state = game.getState(); } @@ -1301,9 +1402,9 @@ export class Game extends Uninstantable { }, state, _status.currentPhase, game.phaseNumber); } static updateWaiting() { - var map = []; - for (var i = 0; i < game.connectPlayers.length; i++) { - var player = game.connectPlayers[i]; + const map = []; + for (let i = 0; i < game.connectPlayers.length; i++) { + const player = game.connectPlayers[i]; if (player.playerid) { if (!game.onlinezhu) { game.onlinezhu = player.playerid; @@ -1325,16 +1426,24 @@ export class Game extends Uninstantable { } game.broadcast('updateWaiting', map); } + /** + * @param { Function } func + */ static waitForPlayer(func) { var next = game.createEvent('waitForPlayer', false); next.func = func; next.setContent('waitForPlayer'); } + /** + * @param { number } time + * @param { Function } [onEnd] + */ static countDown(time, onEnd) { + // @ts-ignore time = parseInt(time); if (!time) return; if (time <= 0) return; - var current = time; + let current = time; ui.timer.set(current, 1); _status.countDown = setInterval(function () { if (--current) { @@ -1349,13 +1458,11 @@ export class Game extends Uninstantable { }, 1000); } static countChoose(clear) { - if (_status.imchoosing) { - return; - } + if (_status.imchoosing) return; _status.imchoosing = true; if (_status.connectMode && !_status.countDown) { ui.timer.show(); - var num; + let num; //这么一大行都是为了祢衡 if (_status.event && _status.event.name == 'chooseToUse' && _status.event.type == 'phase' && _status.event.player && _status.event.player.forceCountChoose && @@ -1368,13 +1475,13 @@ export class Game extends Uninstantable { else { num = get.config('choose_timeout'); } - game.countDown(parseInt(num), function () { + game.countDown(parseInt(num), () => { ui.click.auto(); ui.timer.hide(); }); if (!game.online && game.me) { if (_status.event.getParent().skillHidden) { - for (var i = 0; i < game.players.length; i++) { + for (let i = 0; i < game.players.length; i++) { game.players[i].showTimer(); } game.me._hide_all_timer = true; @@ -1385,8 +1492,8 @@ export class Game extends Uninstantable { } } else if (_status.event.player.forceCountChoose && _status.event.isMine() && !_status.countDown) { - var info = _status.event.player.forceCountChoose; - var num; + let info = _status.event.player.forceCountChoose; + let num; if (_status.event.name == 'chooseToUse' && _status.event.type == 'phase' && typeof info.phaseUse == 'number') { num = info.phaseUse; } @@ -1397,7 +1504,7 @@ export class Game extends Uninstantable { num = info.default; } else return; - var finish = function () { + let finish = function () { if (_status.event.endButton) { if (_status.event.skill) { ui.click.cancel(); @@ -1413,13 +1520,13 @@ export class Game extends Uninstantable { ui.click.ok(); } } - else if (['chooseControl', 'chooseBool'].contains(_status.event.name) && _status.paused) { + else if (['chooseControl', 'chooseBool'].includes(_status.event.name) && _status.paused) { _status.event.result = 'ai'; game.resume(); } else { ui.click.auto('forced'); - setTimeout(function () { + setTimeout(() => { ui.click.auto('forced'); }, 200); } @@ -1446,7 +1553,7 @@ export class Game extends Uninstantable { if (_status.connectMode && !game.online && game.me) { if (game.me._hide_all_timer) { delete game.me._hide_all_timer; - for (var i = 0; i < game.players.length; i++) { + for (let i = 0; i < game.players.length; i++) { game.players[i].hideTimer(); } } @@ -1455,19 +1562,21 @@ export class Game extends Uninstantable { } } } + /** + * @param { string } ip + * @param { (result: boolean) => any } callback + */ static connect(ip, callback) { if (game.online) return; - var withport = false; - var index = ip.lastIndexOf(':'); + let withport = false; + let index = ip.lastIndexOf(':'); if (index != -1) { index = parseFloat(ip.slice(index + 1)); if (index && Math.floor(index) == index) { withport = true; } } - if (!withport) { - ip = ip + ':8080'; - } + if (!withport) ip = ip + ':8080'; _status.connectCallback = callback; try { if (game.ws) { @@ -1475,15 +1584,14 @@ export class Game extends Uninstantable { game.ws.close(); delete game.ws; } - var str = ''; + let str = ''; if (!ip.startsWith('wss://') && !ip.startsWith('ws://')) str = (get.config('wss_mode', 'connect') ? 'wss://' : 'ws://'); game.ws = new WebSocket(str + ip + ''); } - catch (e) { + // 今天狂神龙尊来了这里也没有参数 + catch { alert('错误:无效联机地址'); - if (callback) { - callback(false); - } + if (callback) callback(false); return; } game.ws.onopen = lib.element.ws.onopen; @@ -1495,14 +1603,20 @@ export class Game extends Uninstantable { static send() { if (game.observe && arguments[0] != 'reinited') return; if (game.ws) { - var args = Array.from(arguments); + const args = Array.from(arguments); if (typeof args[0] == 'function') { args.unshift('exec'); } game.ws.send(JSON.stringify(get.stringifiedResult(args))); } } - static sendTo(id, message) { return new lib.element.Client(new lib.element.NodeWS(id)).send(message) } + /** + * @param { string } id + * @param {*} message + */ + static sendTo(id, message) { + return new lib.element.Client(new lib.element.NodeWS(id)).send(message); + } static createServer() { lib.node.clients = []; lib.node.banned = []; @@ -1514,22 +1628,24 @@ export class Game extends Uninstantable { lib.wsOL = {}; ui.create.roomInfo(); ui.create.chat(); - if (game.onlineroom) { void 0; } else { - var WebSocketServer = require('ws').Server; - var wss = new WebSocketServer({ port: 8080 }); - + const WebSocketServer = require('ws').Server; + const wss = new WebSocketServer({ port: 8080 }); game.ip = get.ip(); - wss.on('connection', lib.init.connection); } } + /** + * @returns { HTMLAudioElement } + */ static playAudio() { let path = '', emptyPath = true, notCheckDBPath = true, onError = null; if (_status.video) { + // 为了能更美观的写代码,默认返回audio而不额外加一个void类型 + // @ts-ignore if (arguments[1] != 'video') return; path = arguments[0]; } @@ -1550,7 +1666,7 @@ export class Game extends Uninstantable { } if (path.startsWith('ext:')) path = path.replace(/^ext:/, 'extension/'); else if (!path.startsWith('db:')) path = `audio/${path}`; - if (!lib.config.repeat_audio && _status.skillaudio.contains(path)) return; + if (!lib.config.repeat_audio && _status.skillaudio.includes(path)) return; } _status.skillaudio.add(path); game.addVideo('playAudio', null, path); @@ -1577,13 +1693,14 @@ export class Game extends Uninstantable { } /** * 根据skill中的audio,audioname,audioname2和player来获取音频地址列表 - * @typedef {audioInfo[]|[string,number]|string|number|boolean} audioInfo - * @typedef {{audio:audioInfo,audioname?:string[],audioname2?:{[playerName: string]: audioInfo}}} skillInfo - * @param {string} skill 技能名 - * @param {Player|string} [player] 角色/角色名 - * @param {skillInfo|audioInfo} [skillInfo] 预设的skillInfo/audioInfo(转为skillInfo),覆盖lib.skill[skill] - * @returns {string[]} 语音地址列表 + * @typedef {[string,number]|string|number|boolean} audioInfo + * @typedef {{audio: audioInfo, audioname?:string[], audioname2?:{[playerName: string]: audioInfo}}} skillInfo + * @param { string } skill 技能名 + * @param { import('../library/index.js').Player | string } [player] 角色/角色名 + * @param { skillInfo | audioInfo } [skillInfo] 预设的skillInfo/audioInfo(转为skillInfo),覆盖lib.skill[skill] + * @returns { string[] } 语音地址列表 * @example + * ```js * const info=lib.skill['skillname']; * info.audio=undefined //默认值[true,2] * info.audio=false // 不播放语音 @@ -1610,6 +1727,7 @@ export class Game extends Uninstantable { * info.audioname2={'player1':audioInfo1,'player2':audioInfo2} * //audioname2是一个对象,其中key为角色名,value的类型和info.audio一样 * //如果key中包含发动技能的角色名player,则直接改用info.audioname2[player]来播放语音 + * ``` */ static parseSkillAudio(skill, player, skillInfo) { if (typeof player === 'string') player = { name: player }; @@ -1708,6 +1826,15 @@ export class Game extends Uninstantable { return getAudioList(skill, { audioname: [], history: [] }, skillInfo); } + /** + * + * @param { string } skill + * @param { import('../library/index.js').Player | string } player + * @param { boolean } [directaudio] + * @param { boolean } [nobroadcast] + * @param { import('../library/index.js').['lib']['skill'] } [skillInfo] + * @returns + */ static trySkillAudio(skill, player, directaudio, nobroadcast, skillInfo) { if (!nobroadcast) game.broadcast(game.trySkillAudio, skill, player, directaudio, nobroadcast, skillInfo); const info = skillInfo || lib.skill[skill]; @@ -1723,6 +1850,11 @@ export class Game extends Uninstantable { return game.playAudio(audio, play); })(); } + /** + * @param { string } name + * @param { number } [index] + * @returns + */ static playSkillAudio(name, index) { if (_status.video && arguments[1] != 'video') return; if (!lib.config.repeat_audio && _status.skillaudio.includes(name)) return; @@ -1774,17 +1906,24 @@ export class Game extends Uninstantable { }; ui.window.appendChild(audio); } + /** + * @param { string | import('../library/index.js').Card } card + * @param { import('../library/index.js').Player | import('../library/index.js').Sex } sex + */ static playCardAudio(card, sex) { if (typeof card === 'string') { + // @ts-ignore card = { name: card }; } + // @ts-ignore if (get.itemtype(sex) === 'player') { + // @ts-ignore sex = (sex.sex == 'female' ? 'female' : 'male'); } else if (typeof sex == 'string') { sex = (sex == 'female' ? 'female' : 'male'); } if (!lib.config.background_audio || get.type(card) == 'equip' && !lib.config.equip_audio) return; - var nature = get.natureList(card)[0]; + let nature = get.natureList(card)[0]; if (lib.natureAudio[card.name]) { let useAudio = lib.natureAudio[card.name][nature]; if (useAudio === 'default') { @@ -1834,6 +1973,19 @@ export class Game extends Uninstantable { else if (music.startsWith('ext:')) ui.backgroundMusic.src = `${lib.assetURL}extension/${music.slice(4)}`; else ui.backgroundMusic.src = `${lib.assetURL}audio/background/${music}.mp3`; } + /** + * @param { string } type + * @param {( + * lib: import('../library/index.js')['Library'], + * game: typeof Game, + * ui: import('../ui/index.js')['UI'], + * get: import('../get/index.js')['Get'], + * ai: import('../ai/index.js')['AI'], + * _status: import('../status/index.js')['_status'] + * ) => any } content + * @param {*} url + * @returns + */ static import(type, content, url) { if (type == 'extension') { const promise = game.loadExtension(content).then((name) => { @@ -1975,6 +2127,11 @@ export class Game extends Uninstantable { return name; }) + /** + * @param { string } directory + * @param { Function } [successCallback] + * @param { Function } [errorCallback] + */ static createDir(directory, successCallback, errorCallback) { const paths = directory.split('/').reverse(); if (window.resolveLocalFileSystemURL) return new Promise((resolve, reject) => window.resolveLocalFileSystemURL(lib.assetURL, resolve, reject)).then(directoryEntry => { @@ -2155,13 +2312,17 @@ export class Game extends Uninstantable { return false; } }) + /** + * @param { string } textToWrite + * @param { string } [name] + */ static export(textToWrite, name) { - var textFileAsBlob = new Blob([textToWrite], { type: 'text/plain' }); - var fileNameToSaveAs = name || 'noname'; + let textFileAsBlob = new Blob([textToWrite], { type: 'text/plain' }); + let fileNameToSaveAs = name || 'noname'; fileNameToSaveAs = fileNameToSaveAs.replace(/\\|\/|:|\?|"|\*|<|>|\|/g, '.'); if (lib.device) { - var directory; + let directory; if (lib.device == 'android') { directory = cordova.file.externalDataDirectory; } @@ -2180,19 +2341,27 @@ export class Game extends Uninstantable { }); } else { - var downloadLink = document.createElement("a"); + let downloadLink = document.createElement("a"); downloadLink.download = fileNameToSaveAs; downloadLink.innerHTML = "Download File"; downloadLink.href = window.URL.createObjectURL(textFileAsBlob); downloadLink.click(); } } + /** + * @param { string[] } list + * @param { Function } [onsuccess] + * @param { Function } [onerror] + * @param { Function } [onfinish] + * @param { Function } [process] + * @param {*} [dev] + */ static multiDownload2(list, onsuccess, onerror, onfinish, process, dev) { list = list.slice(0); - var download = function () { + let download = function () { if (list.length) { - var current = list.shift(); - var current2; + let current = list.shift(); + let current2; if (typeof process == 'function') { current2 = process(current); } @@ -2222,15 +2391,23 @@ export class Game extends Uninstantable { } download(); } + /** + * @param { string[] } list + * @param { Function } onsuccess + * @param { Function } onerror + * @param { Function } onfinish + * @param { Function } [process] + * @param {*} [dev] + */ static multiDownload(list, onsuccess, onerror, onfinish, process, dev) { if (lib.config.dev) game.print(get.url()); - var args = Array.from(arguments); + const args = Array.from(arguments); if (list.length <= 3) { game.multiDownload2.apply(this, args); } else { - var num = Math.round(list.length / 3); - var left = 3; + let num = Math.round(list.length / 3); + let left = 3; args[3] = function () { left--; if (left == 0) { @@ -2248,6 +2425,12 @@ export class Game extends Uninstantable { }, 400); } } + /** + * @param { string } url + * @param { Function } onload + * @param { Function } [onerror] + * @param { Function } [onprogress] + */ static fetch(url, onload, onerror, onprogress) { var tmpName = '~tmp' + get.id(); game.download(encodeURI(url), tmpName, function () { @@ -2257,6 +2440,10 @@ export class Game extends Uninstantable { }, onerror); }, onerror, null, onprogress); } + /** + * @param { string } time + * @param { string } mode + */ static playVideo(time, mode) { if (!_status.replayvideo) { localStorage.setItem(lib.configprefix + 'playbackmode', lib.config.mode); @@ -2265,8 +2452,11 @@ export class Game extends Uninstantable { localStorage.setItem(lib.configprefix + 'playback', time); game.reload(); } + /** + * @param { Videos } video + */ static playVideoContent(video) { - var next = game.createEvent('video', false); + const next = game.createEvent('video', false); next.video = video; ui.system.style.display = 'none'; ui.system.hide(); @@ -2281,9 +2471,8 @@ export class Game extends Uninstantable { _status.over = false; _status.video = true; clearTimeout(_status.timeout); - - for (var i in lib.characterPack) { - for (var j in lib.characterPack[i]) { + for (let i in lib.characterPack) { + for (let j in lib.characterPack[i]) { lib.character[j] = lib.character[j] || lib.characterPack[i][j]; } } @@ -3703,6 +3892,9 @@ export class Game extends Uninstantable { window.close(); } } + /** + * @param { string } url + */ static open(url) { if (lib.device) { if (cordova.InAppBrowser) { @@ -3722,6 +3914,9 @@ export class Game extends Uninstantable { localStorage.setItem(lib.configprefix + 'directstart', true); game.reload(); } + /** + * @param { Function } func + */ static update(func) { lib.updates.push(func); if (lib.updates.length === 1) { @@ -3729,6 +3924,9 @@ export class Game extends Uninstantable { } return func; } + /** + * @param { Function } func + */ static unupdate(func) { lib.updates.remove(func); } @@ -3746,6 +3944,12 @@ export class Game extends Uninstantable { }); } } + /** + * @param { string } type + * @param { Player } player + * @param { any } content + * @returns + */ static addVideo(type, player, content) { if (_status.video || game.online) return; if (!_status.videoInited) { @@ -3779,6 +3983,9 @@ export class Game extends Uninstantable { _status.lastVideoLog = time; } } + /** + * @param { Function } func + */ static draw(func) { lib.canvasUpdates.push(func); if (!lib.status.canvas) { @@ -3786,14 +3993,17 @@ export class Game extends Uninstantable { game.update(lib.updateCanvas); } } + /** + * @param { number } [time] + */ static vibrate(time) { - if (typeof navigator.vibrate == 'function') { + if ('vibrate' in navigator) { navigator.vibrate(time || 500); } } static prompt() { - var str, forced, callback, noinput = false, str2 = ''; - for (var i = 0; i < arguments.length; i++) { + let str, forced, callback, noinput = false, str2 = ''; + for (let i = 0; i < arguments.length; i++) { if (arguments[i] == 'alert') { forced = true; noinput = true; @@ -3824,7 +4034,7 @@ export class Game extends Uninstantable { // callback(result); //} //catch(e){ - var promptContainer = ui.create.div('.popup-container', ui.window, function () { + let promptContainer = ui.create.div('.popup-container', ui.window, function () { if (this.clicked) { this.clicked = false; } @@ -3832,18 +4042,18 @@ export class Game extends Uninstantable { clickCancel(); } }); - var dialogContainer = ui.create.div('.prompt-container', promptContainer); - var dialog = ui.create.div('.menubg', ui.create.div(dialogContainer), function () { + let dialogContainer = ui.create.div('.prompt-container', promptContainer); + let dialog = ui.create.div('.menubg', ui.create.div(dialogContainer), function () { promptContainer.clicked = true; }); - var strnode = ui.create.div('', str || '', dialog); - var input = ui.create.node('input', ui.create.div(dialog)); + let strnode = ui.create.div('', str || '', dialog); + let input = ui.create.node('input', ui.create.div(dialog)); input.value = str2; if (noinput) { input.style.display = 'none'; } - var controls = ui.create.div(dialog); - var clickConfirm = function () { + let controls = ui.create.div(dialog); + let clickConfirm = function () { if (noinput) { //给一个返回值使promise化正常使用 callback(true); @@ -3854,13 +4064,13 @@ export class Game extends Uninstantable { promptContainer.remove(); } } - var clickCancel = function () { + let clickCancel = function () { callback(false); if (!forced) { promptContainer.remove(); } } - var confirmNode = ui.create.div('.menubutton.large.disabled', '确定', controls, clickConfirm); + let confirmNode = ui.create.div('.menubutton.large.disabled', '确定', controls, clickConfirm); if (!forced) { ui.create.div('.menubutton.large', '取消', controls, clickCancel); } @@ -4157,9 +4367,16 @@ export class Game extends Uninstantable { }); } } + /** + * @param { [number, number | {opacity:any, color:any, dashed:any, duration:any} | string, number, number] } path + */ static linexy(path) { const from = [path[0], path[1]], to = [path[2], path[3]]; - let total = typeof arguments[1] === 'number' ? arguments[1] : lib.config.duration * 2, opacity = 1, color = [255, 255, 255], dashed = false, drag = false; + let total = typeof arguments[1] === 'number' ? arguments[1] : lib.config.duration * 2, + opacity = 1, + color = [255, 255, 255], + dashed = false, + drag = false; if (arguments[1] && typeof arguments[1] == 'object') Object.keys(arguments[1]).forEach(value => { switch (value) { case 'opacity': @@ -4172,6 +4389,7 @@ export class Game extends Uninstantable { dashed = arguments[1][value]; break; case 'duration': total = arguments[1][value]; + break; } }); else if (typeof arguments[1] == 'string') color = arguments[1]; @@ -4222,15 +4440,18 @@ export class Game extends Uninstantable { } return node; } + /** + * @param { [number, number | {opacity:any, color:any, dashed:any, duration:any} | string, number, number] } path + */ static _linexy(path) { - var from = [path[0], path[1]]; - var to = [path[2], path[3]]; - var total = typeof arguments[1] === 'number' ? arguments[1] : lib.config.duration * 2; - var opacity = 1; - var color = [255, 255, 255]; - var dashed = false; + let from = [path[0], path[1]]; + let to = [path[2], path[3]]; + let total = typeof arguments[1] === 'number' ? arguments[1] : lib.config.duration * 2; + let opacity = 1; + let color = [255, 255, 255]; + let dashed = false; if (typeof arguments[1] == 'object') { - for (var i in arguments[1]) { + for (let i in arguments[1]) { switch (i) { case 'opacity': opacity = arguments[1][i]; break; case 'color': color = arguments[1][i]; break; @@ -4251,8 +4472,8 @@ export class Game extends Uninstantable { else if (color == 'green') { color = [141, 255, 216]; } - var drawfunc = function (time, ctx) { - var current; + let drawfunc = function (time, ctx) { + let current; if (time < total / 3) { ctx.strokeStyle = 'rgba(' + color.toString() + ',' + opacity * (time / (total / 3)) + ')'; current = [from[0] + (to[0] - from[0]) * time / (total / 3), @@ -4289,12 +4510,18 @@ export class Game extends Uninstantable { game.draw(drawfunc); } } + /** + * @param { string } name + * @param { string } skill + * @param { import('../library/index.js').Player } player + * @param { import('../library/index.js').GameEventPromise } event + */ static createTrigger(name, skill, player, event) { - var info = get.info(skill); + let info = get.info(skill); if (!info) return false; if ((player.isOut() || player.removed) && !info.forceOut) return; if (player.isDead() && !info.forceDie) return; - var next = game.createEvent('trigger', false); + let next = game.createEvent('trigger', false); next.skill = skill; next.player = player; next.triggername = name; @@ -4305,12 +4532,20 @@ export class Game extends Uninstantable { } /** * @legacy Use {@link lib.element.GameEvent.constructor} instead. + * + * @param { string } name + * @param { false } [trigger] + * @param { import('../library/index.js').GameEventPromise } triggerEvent */ static createEvent(name, trigger, triggerEvent) { const next = (new lib.element.GameEvent(name, trigger)).toPromise(); (triggerEvent || _status.event).next.push(next); return next; } + /** + * @param { string } name + * @param { { extension: string, sex: import('../library/index.js').Sex, group: string, hp: string | number, skills?: string[], tags?: any[], translate: string } } information + */ static addCharacter(name, information) { const extensionName = _status.extension || information.extension, character = [ information.sex, @@ -4330,22 +4565,26 @@ export class Game extends Uninstantable { lib.characterPack[packName][name] = character; lib.translate[`${packName}_character_config`] = extensionName; } + /** + * @param { { mode?: string, forbid?: any, character: { [key: string]: import('../library/index.js').Character }, skill: { [key: string]: object }, [key: string]: any } } pack + * @param { string } [packagename] + */ static addCharacterPack(pack, packagename) { - var extname = _status.extension || '扩展'; + let extname = _status.extension || '扩展'; let gzFlag = false; packagename = packagename || extname; - for (var i in pack) { + for (let i in pack) { if (i == 'mode') { if (pack[i] == "guozhan") gzFlag = true; continue; } if (i == 'forbid') continue; - for (var j in pack[i]) { + for (let j in pack[i]) { if (i == 'character') { if (!pack[i][j][4]) { pack[i][j][4] = []; } - var imgsrc; + let imgsrc; if (_status.evaluatingExtension) { imgsrc = 'db:extension-' + extname + ':' + j + '.jpg'; } @@ -4376,11 +4615,16 @@ export class Game extends Uninstantable { } } } - var packname = 'mode_extension_' + packagename; + let packname = 'mode_extension_' + packagename; lib.characterPack[packname] = pack.character; lib.translate[packname + '_character_config'] = packagename; if (gzFlag) lib.characterGuozhanFilter.add(packname); } + /** + * @param { string } name + * @param { import('../library/index.js').Card } info + * @param { { extension: string, translate: string, description: string, number?: number, color?: string } } info2 + */ static addCard(name, info, info2) { var extname = (_status.extension || info2.extension); if (info.audio == true) { @@ -4406,39 +4650,43 @@ export class Game extends Uninstantable { lib.translate[name] = info2.translate; lib.translate[name + '_info'] = info2.description; if (typeof info2.number == 'number') { - var suits = ['heart', 'spade', 'diamond', 'club']; + let suits = ['heart', 'spade', 'diamond', 'club']; if (info2.color == 'red') { suits = ['heart', 'diamond']; } else if (info2.color == 'black') { suits = ['club', 'spade']; } - for (var i = 0; i < info2.number; i++) { + for (let i = 0; i < info2.number; i++) { lib.card.list.push([suits[Math.floor(Math.random() * suits.length)], Math.ceil(Math.random() * 13), name]); } } - var packname = 'mode_extension_' + extname; + let packname = 'mode_extension_' + extname; if (!lib.cardPack[packname]) { lib.cardPack[packname] = []; lib.translate[packname + '_card_config'] = extname; } lib.cardPack[packname].push(name); } + /** + * @param { { extension: string, mode?: string[], forbid?: string[], list: any[], card: {[key: string]: import('../library/index.js').Card}, skill: { [key: string]: object } } } pack + * @param { string } [packagename] + */ static addCardPack(pack, packagename) { - var extname = _status.extension || '扩展'; + let extname = _status.extension || '扩展'; packagename = packagename || extname; - var packname = 'mode_extension_' + packagename; + let packname = 'mode_extension_' + packagename; lib.cardPack[packname] = []; lib.translate[packname + '_card_config'] = packagename; - for (var i in pack) { + for (let i in pack) { if (i == 'mode' || i == 'forbid') continue; if (i == 'list') { - for (var j = 0; j < pack[i].length; j++) { + for (let j = 0; j < pack[i].length; j++) { lib.card.list.push(pack[i][j]); } continue; } - for (var j in pack[i]) { + for (let j in pack[i]) { if (i == 'card') { if (pack[i][j].audio == true) { pack[i][j].audio = 'ext:' + extname; @@ -4470,6 +4718,14 @@ export class Game extends Uninstantable { } } } + /** + * @param { string } name + * @param { { [key: string]: object } } info + * @param { string } [translate] + * @param { string } [description] + * @param { string } [appendInfo] + * @param { string } [abInfo] + */ static addSkill(name, info, translate, description, appendInfo, abInfo) { if (lib.skill[name]) { return false; @@ -4484,11 +4740,16 @@ export class Game extends Uninstantable { lib.translate[`${name}_ab`] = abInfo; return true; } + /** + * @param { string } name + * @param {*} info + * @param { { translate: string, config: { [key: string]: object } } } info2 + */ static addMode(name, info, info2) { lib.config.all.mode.push(name); lib.translate[name] = info2.translate; - var imgsrc; - var extname = _status.extension || info2.extension; + let imgsrc; + let extname = _status.extension || info2.extension; if (_status.evaluatingExtension) { imgsrc = 'extension-' + extname + ':' + name + '.jpg'; } @@ -4518,8 +4779,12 @@ export class Game extends Uninstantable { } game.saveConfig('extensionMode', lib.config.extensionInfo); } + /** + * @param { string } skill + * @param { import('../library/index.js').Player } player + */ static addGlobalSkill(skill, player) { - var info = lib.skill[skill]; + let info = lib.skill[skill]; if (!info) return false; lib.skill.global.add(skill); if (player) { @@ -4529,20 +4794,20 @@ export class Game extends Uninstantable { lib.skill.globalmap[skill].add(player); } if (info.trigger) { - var setTrigger = function (i, evt) { - var name = i + '_' + evt; + let setTrigger = function (i, evt) { + let name = i + '_' + evt; if (!lib.hook.globalskill[name]) { lib.hook.globalskill[name] = []; } lib.hook.globalskill[name].add(skill); lib.hookmap[evt] = true; } - for (var i in info.trigger) { + for (let i in info.trigger) { if (typeof info.trigger[i] == 'string') { setTrigger(i, info.trigger[i]); } else if (Array.isArray(info.trigger[i])) { - for (var j = 0; j < info.trigger[i].length; j++) { + for (let j = 0; j < info.trigger[i].length; j++) { setTrigger(i, info.trigger[i][j]); } } @@ -4550,20 +4815,23 @@ export class Game extends Uninstantable { } return true; } + /** + * @param { string } skill + */ static removeGlobalSkill(skill) { lib.skill.global.remove(skill); delete lib.skill.globalmap[skill]; - for (var i in lib.hook.globalskill) { + for (let i in lib.hook.globalskill) { lib.hook.globalskill[i].remove(skill); } } static resetSkills() { - for (var i = 0; i < game.players.length; i++) { - for (var j in game.players[i].tempSkills) { + for (let i = 0; i < game.players.length; i++) { + for (let j in game.players[i].tempSkills) { game.players[i].removeSkill(j); } - var skills = game.players[i].getSkills(); - for (var j = 0; j < skills.length; j++) { + let skills = game.players[i].getSkills(); + for (let j = 0; j < skills.length; j++) { if (lib.skill[skills[j]].vanish) { game.players[i].removeSkill(skills[j]); } @@ -4572,28 +4840,28 @@ export class Game extends Uninstantable { } ui.clear(); } - /** - * @param {string} extensionName + * @param { string } extensionName */ static hasExtension(extensionName) { return this.hasExtensionInstalled(extensionName) && lib.config[`extension_${extensionName}_enable`]; } - /** - * @param {string} extensionName + * @param { string } extensionName */ static hasExtensionInstalled(extensionName) { return lib.config.extensions.includes(extensionName); } - /** - * @param {string} extensionName + * @param { string } extensionName */ static hasExtensionLoaded(extensionName) { return extensionName !== void 0 && _status.extensionLoaded.includes(extensionName); } - + /** + * @param { string } extensionName + * @param { Function } runnable + */ static runAfterExtensionLoaded(extensionName, runnable) { if (game.hasExtensionLoaded(extensionName)) { runnable(); @@ -4606,7 +4874,10 @@ export class Game extends Uninstantable { lib.announce.subscribe(eventName, callback); } } - + /** + * @param { string } extensionName + * @param { boolean } [keepFile] + */ static removeExtension(extensionName, keepFile) { const prefix = `extension_${extensionName}`; Object.keys(lib.config).forEach(key => { @@ -4641,21 +4912,31 @@ export class Game extends Uninstantable { } else new Promise((resolve, reject) => window.resolveLocalFileSystemURL(`${lib.assetURL}extension/${extensionName}`, resolve, reject)).then(directoryEntry => directoryEntry.removeRecursively()); } - static addRecentCharacter() { - var list = get.config('recentCharacter') || []; - for (var i = 0; i < arguments.length; i++) { + let list = get.config('recentCharacter') || []; + for (let i = 0; i < arguments.length; i++) { if (lib.character[arguments[i]]) { list.remove(arguments[i]); list.unshift(arguments[i]); } } - var num = parseInt(lib.config.recent_character_number); + let num = parseInt(lib.config.recent_character_number); if (list.length > num) { list.splice(num); } game.saveConfig('recentCharacter', list, true); } + /** + * @overload + * @returns { import('../library/index.js').Card } + */ + /** + * @overload + * @param { import('../library/index.js').Card | string } name + * @param { string } suit + * @param { number } number + * @param { string } nature + */ static createCard(name, suit, number, nature) { if (typeof name == 'object') { nature = name.nature; @@ -4666,7 +4947,7 @@ export class Game extends Uninstantable { if (typeof name != 'string') { name = 'sha'; } - var noclick = false; + let noclick = false; if (suit == 'noclick') { noclick = true; suit = null; @@ -4689,7 +4970,7 @@ export class Game extends Uninstantable { if (typeof number != 'number' && typeof number != 'string') { number = Math.ceil(Math.random() * 13); } - var card; + let card; if (noclick) { card = ui.create.card(ui.special, 'noclick', true); } @@ -4699,14 +4980,29 @@ export class Game extends Uninstantable { card.storage.vanish = true; return card.init([suit, number, name, nature]); } + /** + * @overload + * @returns { import('../library/index.js').Card } + */ + /** + * @overload + * @param { import('../library/index.js').Card | string } name + * @param { string } suit + * @param { number } number + * @param { string } nature + */ static createCard2() { - var card = game.createCard.apply(this, arguments); + let card = game.createCard.apply(this, arguments); delete card.storage.vanish; return card; } + /** + * @param { boolean } bool + * @param { Function } callback + */ static forceOver(bool, callback) { _status.event.next.length = 0; - var next = game.createEvent('finish_game'); + let next = game.createEvent('finish_game'); next.bool = bool; next.callback = callback; next.setContent('forceOver'); @@ -4715,10 +5011,15 @@ export class Game extends Uninstantable { game.resume(); } } - static over(result) { + /** + * @param { boolean | string } [result] + * @param { boolean } [bool] + * @returns + */ + static over(result, bool) { if (_status.over) return; if (game.me._trueMe) game.swapPlayer(game.me._trueMe); - var i, j, k, num, table, tr, td, dialog; + let i, j, k, num, table, tr, td, dialog; _status.over = true; ui.control.show(); ui.clear(); @@ -4736,11 +5037,11 @@ export class Game extends Uninstantable { } } if (game.online) { - var dialog = ui.create.dialog(); + let dialog = ui.create.dialog(); dialog.noforcebutton = true; dialog.content.innerHTML = result; dialog.forcebutton = true; - var result2 = arguments[1]; + let result2 = arguments[1]; if (result2 == true) { dialog.content.firstChild.innerHTML = '战斗胜利'; } @@ -4749,16 +5050,16 @@ export class Game extends Uninstantable { } ui.update(); dialog.add(ui.create.div('.placeholder')); - for (var i = 0; i < game.players.length; i++) { - var hs = game.players[i].getCards('h'); + for (let i = 0; i < game.players.length; i++) { + let hs = game.players[i].getCards('h'); if (hs.length) { dialog.add('
' + get.translation(game.players[i]) + '
'); dialog.addSmall(hs); } } - for (var j = 0; j < game.dead.length; j++) { - var hs = game.dead[j].getCards('h'); + for (let j = 0; j < game.dead.length; j++) { + let hs = game.dead[j].getCards('h'); if (hs.length) { dialog.add('
' + get.translation(game.dead[j]) + '
'); dialog.addSmall(hs); @@ -4800,7 +5101,7 @@ export class Game extends Uninstantable { if (ui.auto) ui.auto.hide(); if (ui.wuxie) ui.wuxie.hide(); if (game.getIdentityList) { - for (var i = 0; i < game.players.length; i++) { + for (let i = 0; i < game.players.length; i++) { game.players[i].setIdentity(); } } @@ -4817,7 +5118,7 @@ export class Game extends Uninstantable { game.playAudio('effect', 'tie'); } } - var resultbool = result; + let resultbool = result; if (typeof resultbool !== 'boolean') { resultbool = null; } @@ -4831,9 +5132,9 @@ export class Game extends Uninstantable { game.addOverDialog(dialog, result); } if (typeof _status.coin == 'number' && !_status.connectMode) { - var coeff = Math.random() * 0.4 + 0.8; - var added = 0; - var betWin = false; + let coeff = Math.random() * 0.4 + 0.8; + let added = 0; + let betWin = false; if (result == '战斗胜利') { if (_status.betWin) { betWin = true; @@ -4907,7 +5208,7 @@ export class Game extends Uninstantable { game.changeCoin(_status.coin); } if (get.mode() == 'versus' && _status.ladder) { - var mmr = _status.ladder_mmr; + let mmr = _status.ladder_mmr; mmr += 10 - get.rank(game.me.name, true) * 2; if (result == '战斗胜利') { mmr = 20 + Math.round(mmr); @@ -5145,8 +5446,8 @@ export class Game extends Uninstantable { // } dialog.add(ui.create.div('.placeholder')); - var clients = game.players.concat(game.dead); - for (var i = 0; i < clients.length; i++) { + let clients = game.players.concat(game.dead); + for (let i = 0; i < clients.length; i++) { if (clients[i].isOnline2()) { clients[i].send(game.over, dialog.content.innerHTML, game.checkOnlineResult(clients[i])); } @@ -5154,17 +5455,17 @@ export class Game extends Uninstantable { dialog.add(ui.create.div('.placeholder')); - for (var i = 0; i < game.players.length; i++) { + for (let i = 0; i < game.players.length; i++) { if (!_status.connectMode && game.players[i].isUnderControl(true) && game.layout != 'long2') continue; - var hs = game.players[i].getCards('h'); + let hs = game.players[i].getCards('h'); if (hs.length) { dialog.add('
' + get.translation(game.players[i]) + '
'); dialog.addSmall(hs); } } - for (var i = 0; i < game.dead.length; i++) { + for (let i = 0; i < game.dead.length; i++) { if (!_status.connectMode && game.dead[i].isUnderControl(true) && game.layout != 'long2') continue; - var hs = game.dead[i].getCards('h'); + let hs = game.dead[i].getCards('h'); if (hs.length) { dialog.add('
' + get.translation(game.dead[i]) + '
'); dialog.addSmall(hs); @@ -5172,18 +5473,18 @@ export class Game extends Uninstantable { } dialog.add(ui.create.div('.placeholder.slim')); game.addVideo('over', null, dialog.content.innerHTML); - var vinum = parseInt(lib.config.video); + let vinum = parseInt(lib.config.video); if (!_status.video && vinum && game.getVideoName && window.indexedDB && _status.videoInited) { - var store = lib.db.transaction(['video'], 'readwrite').objectStore('video'); - var videos = lib.videos.slice(0); - for (var i = 0; i < videos.length; i++) { + let store = lib.db.transaction(['video'], 'readwrite').objectStore('video'); + let videos = lib.videos.slice(0); + for (let i = 0; i < videos.length; i++) { if (videos[i].starred) { videos.splice(i--, 1); } } - for (var deletei = 0; deletei < 5; deletei++) { + for (let deletei = 0; deletei < 5; deletei++) { if (videos.length >= vinum) { - var toremove = videos.pop(); + let toremove = videos.pop(); lib.videos.remove(toremove); store.delete(toremove.time); } @@ -5191,9 +5492,9 @@ export class Game extends Uninstantable { break; } } - var me = game.me || game.players[0]; + let me = game.me || game.players[0]; if (!me) return; - var newvid = { + let newvid = { name: game.getVideoName(), mode: lib.config.mode, video: lib.video, @@ -5202,7 +5503,7 @@ export class Game extends Uninstantable { name2: me.name2, time: lib.getUTC(new Date()) }; - var modecharacters = lib.characterPack['mode_' + get.mode()]; + let modecharacters = lib.characterPack['mode_' + get.mode()]; if (modecharacters) { if (get.mode() == 'guozhan') { if (modecharacters[newvid.name1]) { @@ -5271,9 +5572,9 @@ export class Game extends Uninstantable { if (!_status.brawl) { if (lib.config.mode == 'boss') { ui.create.control('再战', function () { - var pointer = game.boss; - var map = { boss: game.me == game.boss, links: [] }; - for (var iwhile = 0; iwhile < 10; iwhile++) { + let pointer = game.boss; + let map = { boss: game.me == game.boss, links: [] }; + for (let iwhile = 0; iwhile < 10; iwhile++) { pointer = pointer.nextSeat; if (pointer == game.boss) { break; @@ -5336,7 +5637,7 @@ export class Game extends Uninstantable { ui.swap.close(); delete ui.swap; } - for (var i = 0; i < lib.onover.length; i++) { + for (let i = 0; i < lib.onover.length; i++) { lib.onover[i](resultbool); } if (game.addRecord) { @@ -5352,7 +5653,7 @@ export class Game extends Uninstantable { } } /** - * @type { Map> } + * @type { Map> } * * 以Promise储存异步事件的执行链,使async content调用事件时无需必须使用await * @@ -5360,7 +5661,7 @@ export class Game extends Uninstantable { */ static executingAsyncEventMap = new Map(); /** - * @param { Promise & GameEvent & GameEventPromise } [belongAsyncEvent] + * @param { import('../library/index.js').GameEventPromise } [belongAsyncEvent] */ static async loop(belongAsyncEvent) { if (belongAsyncEvent) { @@ -5524,6 +5825,9 @@ export class Game extends Uninstantable { } } } + /** + * @param { import('../library/index.js').GameEventPromise } [belongAsyncEvent] + */ static runContent(belongAsyncEvent) { return new Promise(resolve => { let event = (belongAsyncEvent && belongAsyncEvent.parent == _status.event) ? belongAsyncEvent : _status.event; @@ -5603,17 +5907,21 @@ export class Game extends Uninstantable { } } static delaye() { - var next = game.createEvent('delay', false); + let next = game.createEvent('delay', false); next.setContent('delay'); next._args = Array.from(arguments); return next; } static delayex() { - var next = game.createEvent('delayx', false); + let next = game.createEvent('delayx', false); next.setContent('delay'); next._args = Array.from(arguments); return next; } + /** + * @param { number } [time] + * @param { number } [time2] + */ static delay(time, time2) { if (_status.paused) return; game.pause(); @@ -5623,6 +5931,10 @@ export class Game extends Uninstantable { if (lib.config.speed == 'vvfast') time /= 3; _status.timeout = setTimeout(game.resume, time); } + /** + * @param { number } [time] + * @param { number } [time2] + */ static delayx(time, time2) { if (typeof time != 'number') time = 1; switch (lib.config.game_speed) { @@ -5638,6 +5950,9 @@ export class Game extends Uninstantable { * 在async content中对game.delay的代替使用方法 * * 因为async content里不应该使用game.pause和game.resume + * + * @param { number } [time] + * @param { number } [time2] */ static asyncDelay(time, time2) { // if(_status.paused) return; @@ -5655,6 +5970,9 @@ export class Game extends Uninstantable { * 在async content中对game.delayx的代替使用方法 * * 因为async content里不应该使用game.pause和game.resume + * + * @param { number } [time] + * @param { number } [time2] */ static asyncDelayx(time, time2) { if (typeof time != 'number') time = 1; @@ -5667,15 +5985,18 @@ export class Game extends Uninstantable { } return game.asyncDelay(time, time2); } + /** + * @param { import('../library/index.js').GameEventPromise } event + */ static check(event) { - var i, j, range; + let i, j, range; if (event == undefined) event = _status.event; event._checked = true; - var custom = event.custom || {}; - var ok = true, auto = true; - var player = event.player; - var auto_confirm = lib.config.auto_confirm; - var players = game.players.slice(0); + let custom = event.custom || {}; + let ok = true, auto = true; + let player = event.player; + let auto_confirm = lib.config.auto_confirm; + let players = game.players.slice(0); if (event.deadTarget) players.addArray(game.dead); if (!event.filterButton && !event.filterCard && !event.filterTarget && (!event.skill || !event._backup)) { if (event.choosing) { @@ -5685,9 +6006,9 @@ export class Game extends Uninstantable { } player.node.equips.classList.remove('popequip'); if (event.filterButton) { - var dialog = event.dialog; + let dialog = event.dialog; range = get.select(event.selectButton); - var selectableButtons = false; + let selectableButtons = false; if (event.forceAuto && ui.selected.buttons.length == range[1]) auto = true; else if (range[0] != range[1] || range[0] > 1) auto = false; for (i = 0; i < dialog.buttons.length; i++) { @@ -5735,8 +6056,8 @@ export class Game extends Uninstantable { game.uncheck('card'); } else { - var cards = player.getCards(event.position); - var firstCheck = false; + let cards = player.getCards(event.position); + let firstCheck = false; range = get.select(event.selectCard); if (!event._cardChoice && typeof event.selectCard != 'function' && !event.complexCard && range[1] > -1 && !lib.config.compatiblemode) { @@ -5744,12 +6065,12 @@ export class Game extends Uninstantable { firstCheck = true; } if (event.isMine() && event.name == 'chooseToUse' && event.parent.name == 'phaseUse' && !event.skill && - !event._targetChoice && !firstCheck && window.Map && !lib.config.compatiblemode) { + !event._targetChoice && !firstCheck && !lib.config.compatiblemode) { event._targetChoice = new Map(); - for (var i = 0; i < event._cardChoice.length; i++) { + for (let i = 0; i < event._cardChoice.length; i++) { if (!lib.card[event._cardChoice[i].name].complexTarget) { - var targets = []; - for (var j = 0; j < players.length; j++) { + let targets = []; + for (let j = 0; j < players.length; j++) { if (event.filterTarget(event._cardChoice[i], player, players[j])) { targets.push(players[j]); } @@ -5758,18 +6079,18 @@ export class Game extends Uninstantable { } } } - var selectableCards = false; + let selectableCards = false; if (range[0] != range[1] || range[0] > 1) auto = false; for (i = 0; i < cards.length; i++) { if (lib.config.cardtempname != 'off') { - var cardname = get.name(cards[i]); + let cardname = get.name(cards[i]); if (cards[i].name != cardname || !get.is.sameNature(get.nature(cards[i]), cards[i].nature, true)) { - var node = ui.create.cardTempName(cards[i]); - var cardtempnameConfig = lib.config.cardtempname; + let node = ui.create.cardTempName(cards[i]); + let cardtempnameConfig = lib.config.cardtempname; if (cardtempnameConfig !== 'default') node.classList.remove('vertical'); } } - var nochess = true; + let nochess = true; if (!lib.filter.cardAiIncluded(cards[i])) { nochess = false; } @@ -5838,13 +6159,13 @@ export class Game extends Uninstantable { game.uncheck('target'); } else { - var card = get.card(); - var firstCheck = false; + let card = get.card(); + let firstCheck = false; range = get.select(event.selectTarget); - var selectableTargets = false; + let selectableTargets = false; if (range[0] != range[1] || range[0] > 1) auto = false; for (i = 0; i < players.length; i++) { - var nochess = true; + let nochess = true; if (game.chess && !event.chessForceAll && player && get.distance(player, players[i], 'pure') > 7) { nochess = false; } @@ -5852,7 +6173,7 @@ export class Game extends Uninstantable { nochess = false; } else if (event._targetChoice && event._targetChoice.has(card)) { - var targetChoice = event._targetChoice.get(card); + let targetChoice = event._targetChoice.get(card); if (!Array.isArray(targetChoice) || !targetChoice.contains(players[i])) { nochess = false; } @@ -5917,18 +6238,18 @@ export class Game extends Uninstantable { } } if (!event.skill && get.noSelected() && !_status.noconfirm) { - var skills = [], enable, info; - var skills2; + let skills = [], enable, info; + let skills2; if (event._skillChoice) { skills2 = event._skillChoice; - for (var i = 0; i < skills2.length; i++) { + for (let i = 0; i < skills2.length; i++) { if (event.isMine() || !event._aiexclude.contains(skills2[i])) { skills.push(skills2[i]); } } } else { - var skills2; + let skills2; if (get.mode() == 'guozhan' && player.hasSkillTag('nomingzhi', false, null, true)) { skills2 = player.getSkills(false, true, false); } @@ -5964,19 +6285,19 @@ export class Game extends Uninstantable { } } - var globalskills = []; - var globallist = lib.skill.global.slice(0); + let globalskills = []; + let globallist = lib.skill.global.slice(0); game.expandSkills(globallist); - for (var i = 0; i < skills.length; i++) { + for (let i = 0; i < skills.length; i++) { if (globallist.contains(skills[i])) { globalskills.push(skills.splice(i--, 1)[0]); } } - var equipskills = []; - var ownedskills = player.getSkills('invisible', false); + let equipskills = []; + let ownedskills = player.getSkills('invisible', false); game.expandSkills(ownedskills); - for (var i = 0; i < skills.length; i++) { - if (!ownedskills.contains(skills[i])) { + for (let i = 0; i < skills.length; i++) { + if (!ownedskills.includes(skills[i])) { equipskills.push(skills.splice(i--, 1)[0]); } } @@ -6011,13 +6332,13 @@ export class Game extends Uninstantable { } } _status.multitarget = false; - var skillinfo = get.info(_status.event.skill); + let skillinfo = get.info(_status.event.skill); if (_status.event.name == 'chooseToUse') { if (skillinfo && skillinfo.multitarget && !skillinfo.multiline) { _status.multitarget = true; } if ((skillinfo && skillinfo.viewAs && typeof skillinfo.viewAs != 'function') || !_status.event.skill) { - var cardinfo = get.info(get.card()); + let cardinfo = get.info(get.card()); if (cardinfo && (cardinfo.multitarget || cardinfo.complexSelect) && !cardinfo.multiline) { _status.multitarget = true; } @@ -6028,14 +6349,14 @@ export class Game extends Uninstantable { } if (event.isMine()) { if (game.chess && game.me && get.config('show_distance')) { - for (var i = 0; i < players.length; i++) { + for (let i = 0; i < players.length; i++) { if (players[i] == game.me) { players[i].node.action.hide(); } else { players[i].node.action.show(); - var dist = get.distance(game.me, players[i], 'pure'); - var dist2 = get.distance(game.me, players[i]); + let dist = get.distance(game.me, players[i], 'pure'); + let dist2 = get.distance(game.me, players[i]); players[i].node.action.innerHTML = '距离:' + dist2 + '/' + dist; if (dist > 7) { players[i].node.action.classList.add('thunder'); @@ -6068,7 +6389,7 @@ export class Game extends Uninstantable { game.countChoose(); if (!_status.noconfirm && !_status.event.noconfirm) { if (!_status.mousedown || _status.mouseleft) { - var str = ''; + let str = ''; if (ok && (!event.filterOk || event.filterOk())) str += 'o'; if (!event.forced && !event.fakeforce && get.noSelected()) str += 'c'; ui.create.confirm(str); @@ -6086,21 +6407,16 @@ export class Game extends Uninstantable { } return ok; } - static uncheck() { - var i, j; + static uncheck(...args) { + let i, j; if (game.chess) { - var shadows = ui.chessContainer.getElementsByClassName('playergrid temp'); + let shadows = ui.chessContainer.getElementsByClassName('playergrid temp'); while (shadows.length) { shadows[0].remove(); } } - var argc = arguments.length; - var args = new Array(argc); - for (var i = 0; i < argc; i++) { - args[i] = arguments[i]; - } - if ((args.length == 0 || args.contains('card')) && _status.event.player) { - var cards = _status.event.player.getCards('hejsx'); + if ((args.length == 0 || args.includes('card')) && _status.event.player) { + let cards = _status.event.player.getCards('hejsx'); for (j = 0; j < cards.length; j++) { cards[j].classList.remove('selected'); cards[j].classList.remove('selectable'); @@ -6113,9 +6429,9 @@ export class Game extends Uninstantable { ui.selected.cards.length = 0; _status.event.player.node.equips.classList.remove('popequip'); } - var players = game.players.slice(0); + let players = game.players.slice(0); if (_status.event.deadTarget) players.addArray(game.dead); - if ((args.length == 0 || args.contains('target'))) { + if ((args.length == 0 || args.includes('target'))) { for (j = 0; j < players.length; j++) { players[j].classList.remove('selected'); players[j].classList.remove('selectable'); @@ -6126,8 +6442,8 @@ export class Game extends Uninstantable { } ui.selected.targets.length = 0; } - if ((args.length == 0 || args.contains('button')) && _status.event.dialog && _status.event.dialog.buttons) { - for (var j = 0; j < _status.event.dialog.buttons.length; j++) { + if ((args.length == 0 || args.includes('button')) && _status.event.dialog && _status.event.dialog.buttons) { + for (let j = 0; j < _status.event.dialog.buttons.length; j++) { _status.event.dialog.buttons[j].classList.remove('selectable'); _status.event.dialog.buttons[j].classList.remove('selected'); } @@ -6147,15 +6463,22 @@ export class Game extends Uninstantable { } ui.canvas.width = ui.arena.offsetWidth; ui.canvas.height = ui.arena.offsetHeight; - for (var i = 0; i < players.length; i++) { + for (let i = 0; i < players.length; i++) { players[i].unprompt(); } - for (var i = 0; i < _status.dragline.length; i++) { + for (let i = 0; i < _status.dragline.length; i++) { if (_status.dragline[i]) _status.dragline[i].remove(); } ui.arena.classList.remove('dragging'); _status.dragline.length = 0; } + /** + * @param { import('../library/index.js').Player } player1 + * @param { import('../library/index.js').Player } player2 + * @param { boolean } [prompt] + * @param { boolean } [behind] + * @param { boolean } [noanimate] + */ static swapSeat(player1, player2, prompt, behind, noanimate) { if (noanimate) { player1.style.transition = 'all 0s'; @@ -6164,14 +6487,12 @@ export class Game extends Uninstantable { ui.refresh(player2); } if (behind) { - var totalPopulation = game.players.length + game.dead.length + 1; - for (var iwhile = 0; iwhile < totalPopulation; iwhile++) { + let totalPopulation = game.players.length + game.dead.length + 1; + for (let iwhile = 0; iwhile < totalPopulation; iwhile++) { if (player1.next != player2) { game.swapSeat(player1, player1.next, false, false); } - else { - break; - } + else break; } if (prompt != false) { game.log(player1, '将座位移至', player2, '后'); @@ -6179,11 +6500,11 @@ export class Game extends Uninstantable { } else { game.addVideo('swapSeat', null, [player1.dataset.position, player2.dataset.position]); - var seat1 = player1.seatNum; - var seat2 = player2.seatNum; + let seat1 = player1.seatNum; + let seat2 = player2.seatNum; player2.seatNum = seat1; player1.seatNum = seat2; - var temp1, pos, i, num; + let temp1, pos, i, num; temp1 = player1.dataset.position; player1.dataset.position = player2.dataset.position; player2.dataset.position = temp1; @@ -6210,12 +6531,16 @@ export class Game extends Uninstantable { } } if (noanimate) { - setTimeout(function () { + setTimeout(() => { player1.style.transition = ''; player2.style.transition = ''; }, 200); } } + /** + * @param { import('../library/index.js').Player } player1 + * @param { import('../library/index.js').Player } [player2] + */ static swapPlayer(player, player2) { if (player2) { if (player == game.me) game.swapPlayer(player2); @@ -6223,17 +6548,17 @@ export class Game extends Uninstantable { } else { if (player == game.me) return; - var players = game.players.concat(game.dead); - for (var i = 0; i < players.length; i++) { + let players = game.players.concat(game.dead); + for (let i = 0; i < players.length; i++) { players[i].style.transition = 'all 0s'; } game.addVideo('swapPlayer', player, get.cardsInfo(player.getCards('h'))); if (!game.chess) { - var pos = parseInt(player.dataset.position); - var num = game.players.length + game.dead.length; - var players = game.players.concat(game.dead); - var temp; - for (var i = 0; i < players.length; i++) { + let pos = parseInt(player.dataset.position); + let num = game.players.length + game.dead.length; + let players = game.players.concat(game.dead); + let temp; + for (let i = 0; i < players.length; i++) { temp = parseInt(players[i].dataset.position) - pos; if (temp < 0) temp += num; players[i].dataset.position = temp; @@ -6241,7 +6566,7 @@ export class Game extends Uninstantable { } game.me.node.handcards1.remove(); game.me.node.handcards2.remove(); - var current = game.me; + let current = game.me; game.me = player; if (current.isDead()) { current.$die(); @@ -6276,12 +6601,15 @@ export class Game extends Uninstantable { if (lib.config.mode == 'identity') { game.me.setIdentity(game.me.identity); } - setTimeout(function () { - for (var i = 0; i < players.length; i++) { + setTimeout(() => { + for (let i = 0; i < players.length; i++) { players[i].style.transition = ''; } }, 100); } + /** + * @param { import('../library/index.js').Player } player + */ static swapControl(player) { if (player == game.me) return; @@ -6325,23 +6653,30 @@ export class Game extends Uninstantable { game.swapPlayer(player); } } + /** + * @param { import('../library/index.js').Player } player + */ static findNext(player) { - var players = get.players(lib.sort.position); - var position = parseInt(player.dataset.position); - for (var i = 0; i < players.length; i++) { + let players = get.players(lib.sort.position); + let position = parseInt(player.dataset.position); + for (let i = 0; i < players.length; i++) { if (parseInt(players[i].dataset.position) >= position) { return players[i]; } } return players[0]; } + /** + * @param { string } name + * @param { Function } callback + */ static loadModeAsync(name, callback) { window.game = game; - var script = lib.init.js(lib.assetURL + 'mode', name, gnc.of(function* () { + let script = lib.init.js(lib.assetURL + 'mode', name, gnc.of(function* () { yield Promise.allSettled(_status.importing.mode); if (!lib.config.dev) delete window.game; script.remove(); - var content = lib.imported.mode[name]; + let content = lib.imported.mode[name]; delete lib.imported.mode[name]; if (get.is.empty(lib.imported.mode)) { delete lib.imported.mode; @@ -6349,8 +6684,12 @@ export class Game extends Uninstantable { callback(content); })); } + /** + * @param { string } name + * @param {*} configx + */ static switchMode(name, configx) { - if (!lib.layoutfixed.contains(name)) { + if (!lib.layoutfixed.includes(name)) { if (lib.config.layout != game.layout) { lib.init.layout(lib.config.layout); } @@ -6361,15 +6700,15 @@ export class Game extends Uninstantable { } } window.game = game; - var script = lib.init.js(lib.assetURL + 'mode', name, gnc.of(function* () { + let script = lib.init.js(lib.assetURL + 'mode', name, gnc.of(function* () { yield Promise.allSettled(_status.importing.mode); if (!lib.config.dev) delete window.game; script.remove(); - var mode = lib.imported.mode; + let mode = lib.imported.mode; _status.sourcemode = lib.config.mode; lib.config.mode = name; - var i, j, k; + let i, j, k; for (i in mode[lib.config.mode].element) { if (!lib.element[i]) lib.element[i] = []; for (j in mode[lib.config.mode].element[i]) { @@ -6450,29 +6789,29 @@ export class Game extends Uninstantable { game.clearConnect(); lib.configOL.mode = name; if (configx) { - for (var i in configx) { + for (let i in configx) { lib.configOL[i] = configx[i]; } } else { - for (var i in lib.mode[name].connect) { + for (let i in lib.mode[name].connect) { if (i == 'update') continue; lib.configOL[i.slice(8)] = get.config(i); } lib.configOL.zhinang_tricks = lib.config.connect_zhinang_tricks; lib.configOL.characterPack = lib.connectCharacterPack.slice(0); lib.configOL.cardPack = lib.connectCardPack.slice(0); - for (var i = 0; i < lib.config.connect_characters.length; i++) { + for (let i = 0; i < lib.config.connect_characters.length; i++) { lib.configOL.characterPack.remove(lib.config.connect_characters[i]); } - for (var i = 0; i < lib.config.connect_cards.length; i++) { + for (let i = 0; i < lib.config.connect_cards.length; i++) { lib.configOL.cardPack.remove(lib.config.connect_cards[i]); } lib.configOL.banned = lib.config['connect_' + name + '_banned']; lib.configOL.bannedcards = lib.config['connect_' + name + '_bannedcards']; } lib.configOL.version = lib.versionOL; - for (var i in lib.cardPackList) { + for (let i in lib.cardPackList) { if (lib.configOL.cardPack.contains(i)) { lib.card.list = lib.card.list.concat(lib.cardPackList[i]); } @@ -6508,7 +6847,7 @@ export class Game extends Uninstantable { if (mode[lib.config.mode].startBefore) mode[lib.config.mode].startBefore(); game.createEvent('game', false).setContent(mode[lib.config.mode].start); if (lib.mode[lib.config.mode] && lib.mode[lib.config.mode].fromextension) { - var startstr = mode[lib.config.mode].start.toString(); + let startstr = mode[lib.config.mode].start.toString(); if (startstr.indexOf('onfree') == -1) { setTimeout(lib.init.onfree, 500); } @@ -6535,39 +6874,50 @@ export class Game extends Uninstantable { } })); } + /** + * @param { string } mode + */ static loadMode(mode) { - var next = game.createEvent('loadMode', false); + let next = game.createEvent('loadMode', false); next.mode = mode; next.setContent('loadMode'); } - static loadPackage() { - var next = game.createEvent('loadPackage'); + /** + * @param {...string} args + */ + static loadPackage(...args) { + let next = game.createEvent('loadPackage'); next.packages = []; - for (var i = 0; i < arguments.length; i++) { + for (let i = 0; i < arguments.length; i++) { if (typeof arguments[i] == 'string') { next.packages.push(arguments[i]); } } next.setContent('loadPackage'); } + /** + * @param { import('../library/index.js').Player } player + */ static phaseLoop(player) { - var next = game.createEvent('phaseLoop'); + let next = game.createEvent('phaseLoop'); next.player = player; next._isStandardLoop = true; next.setContent('phaseLoop'); } - static gameDraw(player, num) { - var next = game.createEvent('gameDraw'); + /** + * @param { import('../library/index.js').Player } [player] + */ + static gameDraw(player, num = 4) { + let next = game.createEvent('gameDraw'); next.player = player || game.me; - if (num == undefined) next.num = 4; - else next.num = num; + next.num = num; next.setContent('gameDraw'); return next; } static chooseCharacterDouble() { - var next = game.createEvent('chooseCharacter'); - var config, width, num, ratio, func, update, list, first; - for (var i = 0; i < arguments.length; i++) { + let next = game.createEvent('chooseCharacter'); + let config, width, num, ratio, func, update, list, first; + for (let i = 0; i < arguments.length; i++) { if (typeof arguments[i] == 'number') { if (!width) { width = arguments[i]; @@ -6614,7 +6964,7 @@ export class Game extends Uninstantable { } if (!list) { list = []; - for (var i in lib.character) { + for (let i in lib.character) { if (typeof func == 'function') { if (!func(i)) continue; } @@ -6633,7 +6983,7 @@ export class Game extends Uninstantable { event.friend = []; event.enemy = []; event.blank = []; - for (var i = 0; i < event.config.size; i++) { + for (let i = 0; i < event.config.size; i++) { event.nodes.push(ui.create.div('.shadowed.reduce_radius.choosedouble')); } event.moveAvatar = function (node, i) { @@ -6644,7 +6994,7 @@ export class Game extends Uninstantable { event.nodes[node.index].show(); clearTimeout(event.nodes[node.index].choosetimeout); event.moveNode(node, i); - var nodex = event.nodes[node.index]; + let nodex = event.nodes[node.index]; nodex.choosetimeout = setTimeout(function () { nodex.hide(); nodex.choosetimeout = setTimeout(function () { @@ -6654,13 +7004,13 @@ export class Game extends Uninstantable { }, 400); }; event.aiMove = function (friend) { - var list = []; - for (var i = 0; i < event.avatars.length; i++) { + let list = []; + for (let i = 0; i < event.avatars.length; i++) { if (!event.avatars[i].classList.contains('moved')) { list.push(event.avatars[i]); } } - for (var i = 0; i < list.length; i++) { + for (let i = 0; i < list.length; i++) { if (Math.random() < 0.7 || i == list.length - 1) { if (friend) { event.moveAvatar(list[i], event.friend.length + event.config.width * (event.config.height - 1)); @@ -6696,19 +7046,19 @@ export class Game extends Uninstantable { event.promptbar.show(); }; event.moveNode = function (node, i) { - var width = event.width, height = event.height, margin = event.margin; - var left = -(width + 10) * event.config.width / 2 + 5 + (i % event.config.width) * (width + 10); - var top = -(height + 10) * event.config.height / 2 + 5 + Math.floor(i / event.config.width) * (height + 10) + margin / 2; + let width = event.width, height = event.height, margin = event.margin; + let left = -(width + 10) * event.config.width / 2 + 5 + (i % event.config.width) * (width + 10); + let top = -(height + 10) * event.config.height / 2 + 5 + Math.floor(i / event.config.width) * (height + 10) + margin / 2; node.style.transform = 'translate(' + left + 'px,' + top + 'px)'; node.index = i; }; event.resize = function () { - var margin = 0; + let margin = 0; if (!get.is.phoneLayout()) { margin = 38; } - var height = (ui.window.offsetHeight - 10 * (event.config.height + 1) - margin) / event.config.height; - var width = (ui.window.offsetWidth - 10 * (event.config.width + 1)) / event.config.width; + let height = (ui.window.offsetHeight - 10 * (event.config.height + 1) - margin) / event.config.height; + let width = (ui.window.offsetWidth - 10 * (event.config.width + 1)) / event.config.width; if (width * event.config.ratio < height) { height = width * event.config.ratio; } @@ -6718,7 +7068,7 @@ export class Game extends Uninstantable { event.width = width; event.height = height; event.margin = margin; - for (var i = 0; i < event.config.size; i++) { + for (let i = 0; i < event.config.size; i++) { event.moveNode(event.nodes[i], i); event.nodes[i].style.width = width + 'px'; event.nodes[i].style.height = height + 'px'; @@ -6730,8 +7080,8 @@ export class Game extends Uninstantable { } } if (event.deciding) { - var str = 'px,' + (event.margin / 2 - event.height * 0.5) + 'px)'; - for (var i = 0; i < event.friendlist.length; i++) { + let str = 'px,' + (event.margin / 2 - event.height * 0.5) + 'px)'; + for (let i = 0; i < event.friendlist.length; i++) { event.friendlist[i].style.transform = 'scale(1.2) translate(' + (-(event.width + 14) * event.friendlist.length / 2 + 7 + i * (event.width + 14)) + str; } } @@ -6754,12 +7104,12 @@ export class Game extends Uninstantable { setTimeout(game.resume, 1000); } if (event.config.update) { - for (var i = 0; i < event.friendlist.length; i++) { + for (let i = 0; i < event.friendlist.length; i++) { event.friendlist[i].nodename.innerHTML = event.config.update(i, event.friendlist.length) || event.friendlist[i].nodename.innerHTML; } } - var str = 'px,' + (event.margin / 2 - event.height * 0.5) + 'px)'; - for (var i = 0; i < event.friendlist.length; i++) { + let str = 'px,' + (event.margin / 2 - event.height * 0.5) + 'px)'; + for (let i = 0; i < event.friendlist.length; i++) { event.friendlist[i].style.transform = 'scale(1.2) translate(' + (-(event.width + 14) * event.friendlist.length / 2 + 7 + i * (event.width + 14)) + str; } } @@ -6797,7 +7147,7 @@ export class Game extends Uninstantable { while (event.avatars.length) { event.avatars.shift().remove(); } - for (var i = 0; i < event.config.size; i++) { + for (let i = 0; i < event.config.size; i++) { event.nodes[i].show(); event.nodes[i].style.display = ''; clearTimeout(event.nodes[i].choosetimeout); @@ -6818,7 +7168,7 @@ export class Game extends Uninstantable { event.list2 = event.list2.concat(event.friend).concat(event.enemy); event.friend.length = 0; event.enemy.length = 0; - for (var i = 0; i < event.avatars.length; i++) { + for (let i = 0; i < event.avatars.length; i++) { if (event.avatars[i].classList.contains('moved')) { event.moveAvatar(event.avatars[i], event.blank.randomRemove()); event.avatars[i].classList.remove('moved'); @@ -6831,7 +7181,7 @@ export class Game extends Uninstantable { }, true); } if (get.config('free_choose')) { - var createCharacterDialog = function () { + let createCharacterDialog = function () { event.freechoosedialog = ui.create.characterDialog(); event.freechoosedialog.style.height = '80%'; event.freechoosedialog.style.top = '10%'; @@ -6917,11 +7267,11 @@ export class Game extends Uninstantable { ui.auto.hide(); ui.wuxie.hide(); event.resize(); - for (var i = 0; i < event.config.size; i++) { + for (let i = 0; i < event.config.size; i++) { ui.window.appendChild(event.nodes[i]); } 'step 1' - var rand = event.config.first; + let rand = event.config.first; if (rand == 'rand') { rand = (Math.random() < 0.5); } @@ -6935,9 +7285,9 @@ export class Game extends Uninstantable { } if (!event.list2) { event.list2 = event.list.randomGets(event.config.width * 2); - for (var i = 0; i < event.config.width * 2; i++) { + for (let i = 0; i < event.config.width * 2; i++) { event.avatars.push(ui.create.div('.shadowed.shadowed2.reduce_radius.character.choosedouble', event.clickAvatar)); - var name = event.list2[i]; + let name = event.list2[i]; event.avatars[i].setBackground(name, 'character'); event.avatars[i].link = name; event.avatars[i].nodename = ui.create.div('.name', event.avatars[i], get.slimName(name)); @@ -6949,7 +7299,7 @@ export class Game extends Uninstantable { lib.setIntro(event.avatars[i]); } event.resize(); - for (var i = 0; i < event.avatars.length; i++) { + for (let i = 0; i < event.avatars.length; i++) { ui.window.appendChild(event.avatars[i]); } event.avatars.sort(function (a, b) { @@ -7020,7 +7370,7 @@ export class Game extends Uninstantable { if (event.replacenode) event.replacenode.delete(); if (event.reselectnode) event.reselectnode.delete(); if (event.freechoosenode) event.freechoosenode.delete(); - for (var i = 0; i < event.avatars.length; i++) { + for (let i = 0; i < event.avatars.length; i++) { if (!event.avatars[i].classList.contains('moved')) { if (event.side < 2) { event.moveAvatar(event.avatars[i], event.friend.length + event.config.width * (event.config.height - 1)); @@ -7037,20 +7387,20 @@ export class Game extends Uninstantable { 'step 5' event.prompt('选择' + get.cnNumber(event.config.num) + '名出场武将'); event.enemylist = []; - for (var i = 0; i < event.avatars.length; i++) { + for (let i = 0; i < event.avatars.length; i++) { if (event.avatars[i].index > event.config.width) { event.avatars[i].classList.add('selecting'); } } - var rand = []; - for (var i = 0; i < event.config.width; i++) { - for (var j = 0; j < event.config.width - i; j++) { + let rand = []; + for (let i = 0; i < event.config.width; i++) { + for (let j = 0; j < event.config.width - i; j++) { rand.push(i); } } - for (var i = 0; i < event.config.num; i++) { - var rand2 = rand.randomGet(); - for (var j = 0; j < rand.length; j++) { + for (let i = 0; i < event.config.num; i++) { + let rand2 = rand.randomGet(); + for (let j = 0; j < rand.length; j++) { if (rand[j] == rand2) { rand.splice(j--, 1); } @@ -7060,7 +7410,7 @@ export class Game extends Uninstantable { event.enemylist.randomSort(); event.friendlist = []; event.deciding = true; - for (var i = 0; i < event.config.size; i++) { + for (let i = 0; i < event.config.size; i++) { event.nodes[i].hide(); } game.pause(); @@ -7070,14 +7420,14 @@ export class Game extends Uninstantable { lib.onresize.remove(event.resize); ui.wuxie.show(); ui.auto.show(); - for (var i = 0; i < event.avatars.length; i++) { + for (let i = 0; i < event.avatars.length; i++) { event.avatars[i].delete(); } - for (var i = 0; i < event.nodes.length; i++) { + for (let i = 0; i < event.nodes.length; i++) { event.nodes[i].delete(); } event.result = { friend: [], enemy: [] }; - for (var i = 0; i < event.config.num; i++) { + for (let i = 0; i < event.config.num; i++) { event.result.friend[i] = event.friendlist[i].link; event.result.enemy[i] = event.enemylist[i].link; } @@ -7090,6 +7440,12 @@ export class Game extends Uninstantable { ui.updateRoundNumber(roundNumber, pileNumber); }, game.roundNumber, ui.cardPile.firstChild, ui.cardPile.childElementCount); } + /** + * @param { import('../library/index.js').Player[] } players + * @param { number | number[] | (player: import('../library/index.js').Player) => number } num + * @param { { drawDeck: boolean } } [drawDeck] + * @param { boolean } [bottom] + */ static asyncDraw(players, num, drawDeck, bottom) { return players.forEach((value, index) => { let num2 = 1; @@ -7101,6 +7457,11 @@ export class Game extends Uninstantable { else value.draw(num2, 'nodelay'); }) } + /** + * @param { import('../library/index.js').Player[] } players + * @param { number | number[] | (player: import('../library/index.js').Player) => number } num + * @param { { drawDeck: boolean } } [drawDeck] + */ static asyncDrawAuto(players, num, drawDeck) { if (players.length > 1) { game.asyncDraw.apply(this, arguments); @@ -7117,14 +7478,14 @@ export class Game extends Uninstantable { const mode = get.mode(), info = lib.skill[i], iInfo = `${i}_info`; if (info.alter) { lib.translate[`${iInfo}_origin`] = lib.translate[iInfo]; - if (!lib.config.vintageSkills.contains(i)) lib.translate[iInfo] = lib.translate[`${iInfo}_alter`]; + if (!lib.config.vintageSkills.includes(i)) lib.translate[iInfo] = lib.translate[`${iInfo}_alter`]; } else if (_status.mode && lib.translate[iInfo + '_' + mode + '_' + _status.mode]) lib.translate[iInfo] = lib.translate[iInfo + '_' + mode + '_' + _status.mode]; else if (lib.translate[`${iInfo}_${mode}`]) lib.translate[iInfo] = lib.translate[`${iInfo}_${mode}`]; else if (lib.translate[`${iInfo}_zhu`] && (mode == 'identity' || mode == 'guozhan' && _status.mode == 'four')) lib.translate[iInfo] = lib.translate[`${iInfo}_zhu`]; else if (lib.translate[`${iInfo}_combat`] && get.is.versus()) lib.translate[iInfo] = lib.translate[`${iInfo}_combat`]; - var deleteSkill = function (skill, iInfo) { - var skillx = {}, info = get.info(skill); + let deleteSkill = function (skill, iInfo) { + let skillx = {}, info = get.info(skill); if (info) { ['audio', 'audioname', 'audioname2'].forEach(name => { if (info[name]) skillx[name] = info[name]; @@ -7304,6 +7665,9 @@ export class Game extends Uninstantable { }); Object.keys(lib.skill).forEach(value => game.finishSkill(value)); } + /** + * 这玩意至少19中重载了吧 + */ static checkMod() { const argumentArray = Array.from(arguments), name = argumentArray[argumentArray.length - 2]; let skills = argumentArray[argumentArray.length - 1]; @@ -7327,6 +7691,9 @@ export class Game extends Uninstantable { }); return arg[arg.length - 1]; } + /** + * @param { number } num + */ static prepareArena(num) { _status.prepareArena = true; game.showHistory(false); @@ -7474,6 +7841,14 @@ export class Game extends Uninstantable { if (!value.timeout) value.remove(); }); } + /** + * @param { import('../library/index.js').Player } player + * @param { string | import('../library/index.js').Card[] } card + * @param { import('../library/index.js').Player[] } [targets] + * @param { import('../library/index.js').GameEventPromise } [event] + * @param { boolean } [forced] + * @param { string } [logvid] + */ static logv(player, card, targets, event, forced, logvid) { if (!player) { player = _status.event.getParent().logvid; @@ -7614,6 +7989,13 @@ export class Game extends Uninstantable { } return node; } + /** + * @param { string } storeName + * @param { string } idbValidKey + * @param { any } value + * @param { Function } [onSuccess] + * @param { Function } [onError] + */ static putDB(storeName, idbValidKey, value, onSuccess, onError) { if (!lib.db) return Promise.resolve(value); if (lib.status.reload) return new Promise((resolve, reject) => lib[_status.dburgent ? 'ondb2' : 'ondb'].push(['putDB', [storeName, idbValidKey, value, event => { @@ -7651,6 +8033,13 @@ export class Game extends Uninstantable { }; }); } + /** + * + * @param { string } storeName + * @param { string } [query] + * @param { Function } [onSuccess] + * @param { Function } [onError] + */ static getDB(storeName, query, onSuccess, onError) { if (!lib.db) return new Promise(resolve => { if (typeof onSuccess == 'function') onSuccess(null); @@ -7721,6 +8110,12 @@ export class Game extends Uninstantable { }; }); } + /** + * @param { string } storeName + * @param { string } [query] + * @param { Function } [onSuccess] + * @param { Function } [onError] + */ static deleteDB(storeName, query, onSuccess, onError) { if (!lib.db) return new Promise(resolve => { if (typeof onSuccess == 'function') onSuccess(false); @@ -7772,6 +8167,11 @@ export class Game extends Uninstantable { }))); }); } + /** + * @param { string } key + * @param { * } [value] + * @param { string } [mode] + */ static save(key, value, mode) { if (_status.reloading) return; mode = mode || lib.config.mode; @@ -7879,6 +8279,10 @@ export class Game extends Uninstantable { }); lib.init.onfree(); } + /** + * @param { string } str + * @param { string } [extname] + */ static showExtensionChangeLog(str, extname) { extname = extname || _status.extension; const cfg = `extension_${extname}_changelog`; @@ -7888,6 +8292,12 @@ export class Game extends Uninstantable { _status.extensionChangeLog = {}; _status.extensionChangeLog[extname] = str; } + /** + * @param { string } key + * @param { * } [value] + * @param { string } [local] + * @param { Function } [callback] + */ static saveConfig(key, value, local, callback) { if (_status.reloading) return; if (local) { @@ -7917,10 +8327,29 @@ export class Game extends Uninstantable { localStorage.setItem(`${lib.configprefix}config`, JSON.stringify(config)); if (callback) callback(); } + /** + * @param { string } key + */ static saveConfigValue(key) { return game.saveConfig(key, lib.config[key]) } + /** + * @param { string } extension + * @param { string } key + * @param { * } [value] + */ static saveExtensionConfig(extension, key, value) { return game.saveConfig(`extension_${extension}_${key}`, value) } + /** + * @param { string } extension + * @param { string } key + */ static saveExtensionConfigValue(extension, key) { return game.saveExtensionConfig(extension, key, game.getExtensionConfig(extension, key)) } + /** + * @param { string } extension + * @param { string } key + */ static getExtensionConfig(extension, key) { return lib.config[`extension_${extension}_${key}`] } + /** + * @param { string } mode + */ static clearModeConfig(mode) { if (_status.reloading) return; if (lib.db) { @@ -7943,6 +8372,11 @@ export class Game extends Uninstantable { localStorage.setItem(`${lib.configprefix}config`, JSON.stringify(config)); localStorage.removeItem(`${lib.configprefix}${mode}`); } + /** + * @param { number } position + * @param { string } [character] + * @param { string } [character2] + */ static addPlayer(position, character, character2) { if (position < 0 || position > game.players.length + game.dead.length || position == undefined) position = Math.ceil(Math.random() * (game.players.length + game.dead.length)); const players = game.players.concat(game.dead); @@ -7957,6 +8391,11 @@ export class Game extends Uninstantable { game.arrangePlayers(); return player; } + /** + * @param { number } position + * @param { string } [character] + * @param { string } [animation] + */ static addFellow(position, character, animation) { game.addVideo('addFellow', null, [position, character, animation]); const player = ui.create.player(ui.arena).animate(animation || 'start'); @@ -7967,6 +8406,9 @@ export class Game extends Uninstantable { game.arrangePlayers(); return player; } + /** + * @param { import('../library/index.js').Player } player + */ static triggerEnter(player) { const next = game.createEvent('enterGame', false); next.player = player; @@ -7975,8 +8417,11 @@ export class Game extends Uninstantable { }); return next; } + /** + * @param { import('../library/index.js').Player } player + */ static restorePlayer(player) { - if (game.players.contains(player) || game.dead.contains(player)) return; + if (game.players.includes(player) || game.dead.includes(player)) return; let position = parseInt(player.dataset.position); if (position < 0 || position > game.players.length + game.dead.length || position == undefined) position = Math.ceil(Math.random() * (game.players.length + game.dead.length)); const players = game.players.concat(game.dead); @@ -7992,6 +8437,9 @@ export class Game extends Uninstantable { game.arrangePlayers(); return player; } + /** + * @param { import('../library/index.js').Player } player + */ static removePlayer(player) { if (_status.roundStart == player) _status.roundStart = player.next || player.getNext() || game.players[0]; const players = game.players.concat(game.dead); @@ -8021,6 +8469,11 @@ export class Game extends Uninstantable { setTimeout(() => player.removeAttribute('style'), 500); return player; } + /** + * @param { import('../library/index.js').Player } player + * @param { string } [character] + * @param { string } [character2] + */ static replacePlayer(player, character, character2) { player.removed = true; const position = parseInt(player.dataset.position); @@ -8085,11 +8538,19 @@ export class Game extends Uninstantable { else value.next = array[index + 1]; }); } + /** + * @param { string[] } skills + * @param { import('../library/index.js').Player } player + * @param { string[] } exclude + */ static filterSkills(skills, player, exclude) { const out = skills.slice().removeArray(Object.keys(player.disabledSkills)); if (!player.storage.skill_blocker || !player.storage.skill_blocker.length) return out; return out.filter(value => exclude && exclude.includes(value) || !get.is.blocked(value, player)); } + /** + * @param { string[] } skills + */ static expandSkills(skills) { return skills.addArray(skills.reduce((previousValue, currentValue) => { const info = get.info(currentValue); @@ -8101,6 +8562,9 @@ export class Game extends Uninstantable { return previousValue; }, [])) } + /** + * @param { { [key:string]: any } } style + */ static css(style) { return Object.keys(style).forEach(value => { let uiStyle = ui.style[value]; @@ -8111,8 +8575,20 @@ export class Game extends Uninstantable { uiStyle.innerHTML = `${value}${JSON.stringify(style[value]).replace(/"/g, "")}`; }) } + /** + * @param { (player: import('../library/index.js').Player) => boolean } func + * @param { boolean } [includeOut] + */ static hasPlayer(func, includeOut) { return game.players.some(value => (includeOut || !value.isOut()) && func(value)) } + /** + * @param { (player: import('../library/index.js').Player) => boolean } func + * @param { boolean } [includeOut] + */ static hasPlayer2(func, includeOut) { return game.players.concat(game.dead).some(value => (includeOut || !value.isOut()) && func(value)) } + /** + * @param { (player: import('../library/index.js').Player) => boolean } func + * @param { boolean } [includeOut] + */ static countPlayer(func, includeOut) { if (typeof func != 'function') func = lib.filter.all; return game.players.reduce((previousValue, currentValue) => { @@ -8123,6 +8599,10 @@ export class Game extends Uninstantable { return previousValue; }, 0); } + /** + * @param { (player: import('../library/index.js').Player) => boolean } func + * @param { boolean } [includeOut] + */ static countPlayer2(func, includeOut) { if (typeof func != 'function') func = lib.filter.all; return game.players.concat(game.dead).reduce((previousValue, currentValue) => { @@ -8133,18 +8613,52 @@ export class Game extends Uninstantable { return previousValue; }, 0); } + /** + * @overload + * @returns { import('../library/index.js').Player[] } + */ + /** + * @overload + * @param { (player: import('../library/index.js').Player) => boolean } func + * @param { import('../library/index.js').Player[] } [list] + * @param { boolean } [includeOut] + * @returns { import('../library/index.js').Player[] } + */ static filterPlayer(func, list, includeOut) { if (!Array.isArray(list)) list = []; if (typeof func != 'function') func = lib.filter.all; return list.addArray(game.players.filter(value => (includeOut || !value.isOut()) && func(value))); } + /** + * @overload + * @returns { import('../library/index.js').Player[] } + */ + /** + * @overload + * @param { (player: import('../library/index.js').Player) => boolean } func + * @param { import('../library/index.js').Player[] } [list] + * @param { boolean } [includeOut] + * @returns { import('../library/index.js').Player[] } + */ static filterPlayer2(func, list, includeOut) { if (!Array.isArray(list)) list = []; if (typeof func != 'function') func = lib.filter.all; return list.addArray(game.players.concat(game.dead).filter(value => (includeOut || !value.isOut()) && func(value))); } + /** + * @param { (player: import('../library/index.js').Player) => boolean } func + * @param { boolean } [includeOut] + */ static findPlayer(func, includeOut) { return game.players.find(value => (includeOut || !value.isOut()) && func(value)) || null } + /** + * @param { (player: import('../library/index.js').Player) => boolean } func + * @param { boolean } [includeOut] + */ static findPlayer2(func, includeOut) { return game.players.concat(game.dead).find(value => (includeOut || !value.isOut()) && func(value)) || null } + /** + * @param { (player: import('../library/index.js').Player) => boolean } func + * @param { boolean } [all] + */ static findCards(func, all) { return Object.keys(lib.card).filter(value => { if (!lib.translate[`${value}_info`]) return false; diff --git a/noname/get/index.js b/noname/get/index.js index 267485d62..2fdde3581 100644 --- a/noname/get/index.js +++ b/noname/get/index.js @@ -1832,6 +1832,10 @@ export class Get extends Uninstantable { return Math.sqrt(dx * dx + dy * dy); } static xyDistance(from, to) { return Math.sqrt((from[0] - to[0]) * (from[0] - to[0]) + (from[1] - to[1]) * (from[1] - to[1])) } + /** + * @overload + * @returns { void } + */ /** * @overload * @param { string } obj diff --git a/noname/library/index.js b/noname/library/index.js index 8025a4f24..694c046f0 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -1,12 +1,14 @@ /** - * @typedef {InstanceType} Player - * @typedef {InstanceType} Card - * @typedef {InstanceType} VCard - * @typedef {InstanceType} Button - * @typedef {InstanceType} Dialog - * @typedef {InstanceType} GameEvent - * @typedef {InstanceType & InstanceType & typeof Promise} GameEventPromise - * @typedef {InstanceType} NodeWS + * @typedef { InstanceType } Player + * @typedef { InstanceType } Card + * @typedef { InstanceType } VCard + * @typedef { InstanceType } Button + * @typedef { InstanceType } Dialog + * @typedef { InstanceType } GameEvent + * @typedef { InstanceType & InstanceType & typeof Promise } GameEventPromise + * @typedef { InstanceType } NodeWS + * @typedef { 'male' | 'female' | 'dobule' | 'none' } Sex + * @typedef { [Sex, string, number | string, string[], any[]] } Character */ import { nonameInitialized, assetURL, userAgent, Uninstantable, GeneratorFunction, AsyncFunction } from "../util/index.js"; import { AI as ai } from '../ai/index.js'; @@ -32,6 +34,9 @@ export class Library extends Uninstantable { static changeLog = []; static updates = []; static canvasUpdates = []; + /** + * @type { import('../game/index.js').Video[] } + */ static video = []; static skilllist = []; static connectBanned = []; @@ -77,6 +82,17 @@ export class Library extends Uninstantable { static extensionPack = {}; static cardType = {}; static hook = { globalskill: {} }; + /** + * @returns {never} + */ + static typeAnnotation() { + /** + * @type { import('../game/index.js').Videos[] } + */ + // @ts-ignore + this.videos; + throw new Error('Do not call this method'); + } //函数钩子 static hooks = { // 本体势力的颜色 diff --git a/noname/status/index.js b/noname/status/index.js index 50538237b..9377073f8 100644 --- a/noname/status/index.js +++ b/noname/status/index.js @@ -36,6 +36,10 @@ export const status = { renku: [], prehidden_skills: [], postReconnect: {}, + /** + * @type { string | void } + */ + extension:undefined, }; export const _status = status; \ No newline at end of file From b13574dcbc306d861ff3ac2369c5d57762d820f7 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 22 Dec 2023 09:15:42 +0800 Subject: [PATCH 033/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E3=80=90=E7=8A=B7?= =?UTF-8?q?=E9=AA=9C=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/sp.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/character/sp.js b/character/sp.js index d427f1676..bfb7f3d3e 100755 --- a/character/sp.js +++ b/character/sp.js @@ -3388,8 +3388,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return !_status.event.sourcex.contains(target)&&player.canUse(_status.event.card,target); }).set('sourcex',trigger.targets).set('ai',function(target){ var player=_status.event.player; + if(player.countCards('h')%2==0) return true; var eff=get.effect(target,_status.event.card,player,player); - if(player.countCards('h')%2==0&&player.hasSkill('olxieju')&&player.isPhaseUsing()&&!player.getStat().skill.olxieju) return 1-eff; + if(player.hasSkill('olxieju')&&player.isPhaseUsing()&&!player.getStat().skill.olxieju&&get.attitude(player,target)>0&&!game.hasGlobalHistory('useCard',evt=>{ + return evt.targets&&evt.targets.includes(target); + })) return 6+eff; return eff; }).set('card',trigger.card); } @@ -3398,9 +3401,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return _status.event.bool; }).set('bool',function(){ var att=get.attitude(trigger.player,player); - var eff=get.effect(player,trigger.card,trigger.player,trigger.player); - if(player.countCards('h')%2==0&&att>0) return true; - if(eff>0) return true; + if(player.countCards('h')%2==0){ + if(att>0) return true; + return false; + } + if(get.effect(player,trigger.card,trigger.player,trigger.player)>0) return true; return false; }()); } From 946d488c030eeb47b6c1986f42182cbfbb0eb328 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 22 Dec 2023 10:10:46 +0800 Subject: [PATCH 034/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=93=AA=E5=90=92?= =?UTF-8?q?=E3=80=90=E4=B8=89=E5=A4=B4=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/collab.js | 43 +++++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/character/collab.js b/character/collab.js index b5dc6b50d..31c73baee 100644 --- a/character/collab.js +++ b/character/collab.js @@ -95,34 +95,33 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player._dcsantou_temp) return; if(get.tag(card,'damage')){ const hp=target.getHp(); + player._dcsantou_temp=true; + const losehp=get.effect(card,{name:'losehp'},target,target)/get.attitude(target,target); + delete player._dcsantou_temp; if(hp>=3){ - if(target.hasHistory('useSkill',evt=>evt.skill=='dcsantou'&&evt.event.getTrigger().source==player)) return [1,-2]; + if(target.hasHistory('useSkill',evt=>evt.skill=='dcsantou'&&evt.event.getTrigger().source==player)) return [0,losehp,0,0]; else if(get.attitude(player,target)<0){ - if(card.name=='sha') return; - let sha=false; - player._dcsantou_temp=true; - let num=player.countCards('h',card=>{ - if(card.name=='sha'){ - if(sha) return false; - else sha=true; + let hs=player.getCards('hs',i=>{ + return i!==card&&(!card.cards||!card.cards.includes(i)); + }),num=player.getCardUsable('sha'); + if(player.hasSkillTag('damage')) num++; + if(card.name==='sha') num--; + hs=hs.filter(i=>{ + if(!player.canUse(i,target)) return false; + if(get.tag(card,'damage')&&get.name(i,player)!=='sha') return true; + if(num){ + num--; + return true; } - return get.tag(card,'damage')&&player.canUse(card,target)&&get.effect(target,card,player,player)>0; + return false; }); - delete player._dcsantou_temp; - if(player.hasSkillTag('damage')){ - num++; - } - if(num<2){ - var enemies=player.getEnemies(); - if(enemies.length==1&&enemies[0]==target&&player.needsToDiscard()){ - return; - } - return 0; - } + if(!hs.length) return 'zeroplayertarget'; + num=1-2/3/hs.length; + return [num,0,num,0]; } } - else if(hp==2&&get.tag(card,'natureDamage')||hp==1&&get.color(card)=='red'&&get.itemtype(card)=='card') return [1,-2]; - else return 0; + if(hp==2&&get.tag(card,'natureDamage')||hp==1&&typeof card=='object'&&get.color(card)=='red') return [0,losehp,0,0]; + return 'zeroplayertarget'; } } } From 6e77b85c218e7f70536dd30e062bd0ef40c3072b Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 22 Dec 2023 11:00:41 +0800 Subject: [PATCH 035/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=BD=AC=E9=9F=A9?= =?UTF-8?q?=E9=81=82ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/jsrg.js | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/character/jsrg.js b/character/jsrg.js index 6f2be31c4..adcc07082 100644 --- a/character/jsrg.js +++ b/character/jsrg.js @@ -1563,9 +1563,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ prompt2:`${undamaged.length?'选择一张牌弃置并选择一名未对你造成过伤害的角色,你对其造成1点伤害':''}${undamaged.length&&damaged.length?';
或':''}${damaged.length?'仅选择一名对你造成过伤害的角色,你令其摸两张牌':''}。`, damaged:damaged, aiTarget:(()=>{ + if(!undamaged.some(i=>{ + if(get.attitude(player,i)>0) return true; + if(i.getHp(true)+i.hujia<2) return true; + return false; + })&&(player.hp>2||get.damageEffect(player,player,player)>=0)) return player; var info=game.filterPlayer().map(current=>{ - var damage=undamaged.includes(current); - var card={name:damage?'damage':'wuzhong'}; + let damage=undamaged.includes(current),card={name:damage?'damage':'wuzhong'}; return [current,get.effect(current,card,player,player)/(damage?1.5:1)]; }).sort((a,b)=>b[1]-a[1])[0]; if(info[1]>0) return info[0]; @@ -1626,6 +1630,35 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ trigger.num++; }, + ai:{ + damageBonus:true, + skillTagFilter:(player,tag,arg)=>{ + if(tag==='damageBonus'&&arg&&arg.target){ + const history=_status.globalHistory; + for(let i=history.length-1;i>=0;i--){ + let evts=history[i]['useCard']; + for(let j=evts.length-1;j>=0;j--){ + var evt=evts[j]; + let card=evt.card,targets=evt.targets; + if(!get.tag(card,'damage')||!targets.includes(player)) continue; + return arg.target===evt.player; + } + } + return false; + } + }, + effect:{ + player:(card,player,target)=>{ + if(get.tag(card,'damage')&&target&&lib.skill.jsrghuchou.ai.skillTagFilter(player,'damageBonus',{ + card:card, + target:target + })&&!target.hasSkillTag('filterDamage',null,{ + player:player, + card:card + })) return [1,0,2,0]; + } + } + } }, jsrgjiemeng:{ audio:2, From 601f5c6828ab777bb632a8c496219e96a2e72392 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 22 Dec 2023 11:24:53 +0800 Subject: [PATCH 036/234] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/library/index.js | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/noname/library/index.js b/noname/library/index.js index 0baf21c73..fdc22f49d 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -1666,6 +1666,7 @@ export class Library extends Uninstantable { }, splash_style: { name: '启动页', + init: 'style1', item: { style1: '样式一', style2: '样式二', @@ -28643,6 +28644,11 @@ export class Library extends Uninstantable { return false; } needsToDiscard(filter, add) { + /** + * filter: typeof 'number' -> 额外摸等量牌(逻辑上) + * typeof 'function' -> 只考虑符合函数筛选的牌 + * add: 额外获得这张/些牌(逻辑上) + */ let cards = this.getCards('h', card => !this.canIgnoreHandcard(card)), num = 0; if (get.itemtype(add) === 'cards') cards.addArray(add); else if (get.itemtype(add) === 'card') cards.push(add); @@ -28812,7 +28818,11 @@ export class Library extends Uninstantable { return this.hasUsableCard('shan'); } mayHaveSha(viewer, type, ignore, rvt) { - //rvt: return value type 'count', 'odds', 'bool'(default) + /** + * type: skill tag type 'use', 'respond' + * ignore: ignore cards, ui.selected.cards added + * rvt: return value type 'count', 'odds', 'bool'(default) + */ let count = 0; if ((this.hp > 2 || !this.isZhu && this.hp > 1) && this.hasSkillTag('respondSha', true, type, true)) { if (rvt === 'count') count++; @@ -28850,7 +28860,11 @@ export class Library extends Uninstantable { return count > _status.event.getRand('mayHaveSha' + hs + this.playerid); } mayHaveShan(viewer, type, ignore, rvt) { - //rvt: return value type 'count', 'odds', 'bool'(default) + /** + * type: skill tag type 'use', 'respond' + * ignore: ignore cards, ui.selected.cards added + * rvt: return value type 'count', 'odds', 'bool'(default) + */ let count = 0; if ((this.hp > 2 || !this.isZhu && this.hp > 1) && this.hasSkillTag('respondShan', true, type, true)) { if (rvt === 'count') count++; From e4990a274fade3d02219ccfee776d521214dded2 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 22 Dec 2023 14:01:00 +0800 Subject: [PATCH 037/234] bugfix --- character/collab.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/character/collab.js b/character/collab.js index 31c73baee..493644c2a 100644 --- a/character/collab.js +++ b/character/collab.js @@ -104,7 +104,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ let hs=player.getCards('hs',i=>{ return i!==card&&(!card.cards||!card.cards.includes(i)); }),num=player.getCardUsable('sha'); - if(player.hasSkillTag('damage')) num++; if(card.name==='sha') num--; hs=hs.filter(i=>{ if(!player.canUse(i,target)) return false; @@ -114,9 +113,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return true; } return false; - }); - if(!hs.length) return 'zeroplayertarget'; - num=1-2/3/hs.length; + }).length; + if(player.hasSkillTag('damage')) hs++; + if(!hs) return 'zeroplayertarget'; + num=1-2/3/hs; return [num,0,num,0]; } } From e4e4bf41e2c13d3d15c8f10556d00b5c46bd3a02 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 22 Dec 2023 16:17:57 +0800 Subject: [PATCH 038/234] bugfix --- card/standard.js | 4 +++- character/collab.js | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/card/standard.js b/card/standard.js index 6351e587c..356fd2d5c 100644 --- a/card/standard.js +++ b/card/standard.js @@ -268,7 +268,9 @@ game.import('card',function(lib,game,ui,get,ai,_status){ let ignore=get.copy(ui.selected.cards),used=player.getCardUsable('sha')-1.5,ph=player.getCards('hs'); ignore.add(item); if(typeof item==='object'&&item.cards) ignore.addArray(item.cards); - let na=get.natureList(item),number=get.number(item),natures=['thunder','fire','ice','kami'],nb; + let na=get.natureList(item),number,natures=['thunder','fire','ice','kami'],nb; + if(typeof item==='object') number=get.number(item); + else number=0; for(let i of ph){ if(ignore.includes(i)||get.name(i)!=='sha'||!lib.filter.cardEnabled(i,player)) continue; nb=get.natureList(i); diff --git a/character/collab.js b/character/collab.js index 493644c2a..d0cbbf870 100644 --- a/character/collab.js +++ b/character/collab.js @@ -96,7 +96,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.tag(card,'damage')){ const hp=target.getHp(); player._dcsantou_temp=true; - const losehp=get.effect(card,{name:'losehp'},target,target)/get.attitude(target,target); + const losehp=get.effect(target,{name:'losehp'},target,target)/get.attitude(target,target); delete player._dcsantou_temp; if(hp>=3){ if(target.hasHistory('useSkill',evt=>evt.skill=='dcsantou'&&evt.event.getTrigger().source==player)) return [0,losehp,0,0]; @@ -114,7 +114,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } return false; }).length; - if(player.hasSkillTag('damage')) hs++; + if(player.hasSkillTag('damage',null,{target:target})) hs++; if(!hs) return 'zeroplayertarget'; num=1-2/3/hs; return [num,0,num,0]; From f86bad17dc4ecf45e183b3f06b53554d0a47a712 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 22 Dec 2023 17:12:35 +0800 Subject: [PATCH 039/234] =?UTF-8?q?=E5=93=AA=E5=90=92=E3=80=90=E6=B3=95?= =?UTF-8?q?=E5=99=A8=E3=80=91=E5=A2=9E=E5=8A=A0ai=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/collab.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/character/collab.js b/character/collab.js index d0cbbf870..72983f488 100644 --- a/character/collab.js +++ b/character/collab.js @@ -159,6 +159,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } } else event.finish(); + }, + ai:{ + reverseEquip:true } }, //隅泣曹操 From b6d3c94a5445eec4e38f50da7781167ffb9e83a2 Mon Sep 17 00:00:00 2001 From: Rintim Date: Fri, 22 Dec 2023 21:02:48 +0800 Subject: [PATCH 040/234] pref: move `lib.init.init` out. --- game/game.js | 4 +- game/path.js | 530 --- noname.js | 6 +- noname/init/cordova.js | 218 ++ noname/init/index.js | 1002 +++++ noname/init/node.js | 161 + noname/init/polyfill.js | 517 +++ noname/library/announce/index.d.ts | 51 + .../library/announce/index.js | 29 +- noname/library/index.js | 3466 +---------------- noname/library/init/index.js | 1575 ++++++++ noname/library/init/promises.js | 67 + noname/library/path.js | 528 +++ noname/util/config.js | 32 + noname/util/index.js | 2 +- 15 files changed, 4186 insertions(+), 4002 deletions(-) delete mode 100644 game/path.js create mode 100644 noname/init/cordova.js create mode 100644 noname/init/index.js create mode 100644 noname/init/node.js create mode 100644 noname/init/polyfill.js create mode 100644 noname/library/announce/index.d.ts rename game/src/lib/announce.js => noname/library/announce/index.js (80%) create mode 100644 noname/library/init/index.js create mode 100644 noname/library/init/promises.js create mode 100644 noname/library/path.js create mode 100644 noname/util/config.js diff --git a/game/game.js b/game/game.js index 8f6da30b2..d0e2fc7e9 100644 --- a/game/game.js +++ b/game/game.js @@ -53,7 +53,7 @@ new Promise(resolve => { // @ts-ignore const module = import('../noname.js'); - module.then(({ ai, game, get, lib, _status, ui }) => { + module.then(({ ai, game, get, lib, _status, ui, boot }) => { const coreAndVersion = get.coreInfo(); const core = coreAndVersion[0], version = coreAndVersion[1]; if (core == 'chrome' && !isNaN(version) && version < 77) { @@ -65,6 +65,6 @@ new Promise(resolve => { window.open('https://github.com/libccy/noname/releases/tag/chromium77-client'); } } - lib.init.init(); + boot(); }); }); diff --git a/game/path.js b/game/path.js deleted file mode 100644 index b49da9c10..000000000 --- a/game/path.js +++ /dev/null @@ -1,530 +0,0 @@ -// 'path' module extracted from Node.js v8.11.1 (only the posix part) -// transplited with Babel - -// Copyright Joyent, Inc. and other Node contributors. -// -// 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" - function assertPath(path) { - if (typeof path !== 'string') { - throw new TypeError('Path must be a string. Received ' + JSON.stringify(path)); - } - } - - // Resolves . and .. elements in a path with directory names - function normalizeStringPosix(path, allowAboveRoot) { - var res = ''; - var lastSegmentLength = 0; - var lastSlash = -1; - var dots = 0; - var code; - for (var i = 0; i <= path.length; ++i) { - if (i < path.length) - code = path.charCodeAt(i); - else if (code === 47 /*/*/) - break; - else - code = 47 /*/*/; - if (code === 47 /*/*/) { - if (lastSlash === i - 1 || dots === 1) { - // NOOP - } else if (lastSlash !== i - 1 && dots === 2) { - if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== 46 /*.*/ || res.charCodeAt(res.length - 2) !== 46 /*.*/) { - if (res.length > 2) { - var lastSlashIndex = res.lastIndexOf('/'); - if (lastSlashIndex !== res.length - 1) { - if (lastSlashIndex === -1) { - res = ''; - lastSegmentLength = 0; - } else { - res = res.slice(0, lastSlashIndex); - lastSegmentLength = res.length - 1 - res.lastIndexOf('/'); - } - lastSlash = i; - dots = 0; - continue; - } - } else if (res.length === 2 || res.length === 1) { - res = ''; - lastSegmentLength = 0; - lastSlash = i; - dots = 0; - continue; - } - } - if (allowAboveRoot) { - if (res.length > 0) - res += '/..'; - else - res = '..'; - lastSegmentLength = 2; - } - } else { - if (res.length > 0) - res += '/' + path.slice(lastSlash + 1, i); - else - res = path.slice(lastSlash + 1, i); - lastSegmentLength = i - lastSlash - 1; - } - lastSlash = i; - dots = 0; - } else if (code === 46 /*.*/ && dots !== -1) { - ++dots; - } else { - dots = -1; - } - } - return res; - } - - function _format(sep, pathObject) { - var dir = pathObject.dir || pathObject.root; - var base = pathObject.base || (pathObject.name || '') + (pathObject.ext || ''); - if (!dir) { - return base; - } - if (dir === pathObject.root) { - return dir + base; - } - return dir + sep + base; - } - - var posix = { - // path.resolve([from ...], to) - resolve: function resolve() { - var resolvedPath = ''; - var resolvedAbsolute = false; - var cwd; - - for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) { - var path; - if (i >= 0) - path = arguments[i]; - else { - if (cwd === undefined) - cwd = process.cwd(); - path = cwd; - } - - assertPath(path); - - // Skip empty entries - if (path.length === 0) { - continue; - } - - resolvedPath = path + '/' + resolvedPath; - resolvedAbsolute = path.charCodeAt(0) === 47 /*/*/; - } - - // At this point the path should be resolved to a full absolute path, but - // handle relative paths to be safe (might happen when process.cwd() fails) - - // Normalize the path - resolvedPath = normalizeStringPosix(resolvedPath, !resolvedAbsolute); - - if (resolvedAbsolute) { - if (resolvedPath.length > 0) - return '/' + resolvedPath; - else - return '/'; - } else if (resolvedPath.length > 0) { - return resolvedPath; - } else { - return '.'; - } - }, - - normalize: function normalize(path) { - assertPath(path); - - if (path.length === 0) return '.'; - - var isAbsolute = path.charCodeAt(0) === 47 /*/*/; - var trailingSeparator = path.charCodeAt(path.length - 1) === 47 /*/*/; - - // Normalize the path - path = normalizeStringPosix(path, !isAbsolute); - - if (path.length === 0 && !isAbsolute) path = '.'; - if (path.length > 0 && trailingSeparator) path += '/'; - - if (isAbsolute) return '/' + path; - return path; - }, - - isAbsolute: function isAbsolute(path) { - assertPath(path); - return path.length > 0 && path.charCodeAt(0) === 47 /*/*/; - }, - - join: function join() { - if (arguments.length === 0) - return '.'; - var joined; - for (var i = 0; i < arguments.length; ++i) { - var arg = arguments[i]; - assertPath(arg); - if (arg.length > 0) { - if (joined === undefined) - joined = arg; - else - joined += '/' + arg; - } - } - if (joined === undefined) - return '.'; - return posix.normalize(joined); - }, - - relative: function relative(from, to) { - assertPath(from); - assertPath(to); - - if (from === to) return ''; - - from = posix.resolve(from); - to = posix.resolve(to); - - if (from === to) return ''; - - // Trim any leading backslashes - var fromStart = 1; - for (; fromStart < from.length; ++fromStart) { - if (from.charCodeAt(fromStart) !== 47 /*/*/) - break; - } - var fromEnd = from.length; - var fromLen = fromEnd - fromStart; - - // Trim any leading backslashes - var toStart = 1; - for (; toStart < to.length; ++toStart) { - if (to.charCodeAt(toStart) !== 47 /*/*/) - break; - } - var toEnd = to.length; - var toLen = toEnd - toStart; - - // Compare paths to find the longest common path from root - var length = fromLen < toLen ? fromLen : toLen; - var lastCommonSep = -1; - var i = 0; - for (; i <= length; ++i) { - if (i === length) { - if (toLen > length) { - if (to.charCodeAt(toStart + i) === 47 /*/*/) { - // We get here if `from` is the exact base path for `to`. - // For example: from='/foo/bar'; to='/foo/bar/baz' - return to.slice(toStart + i + 1); - } else if (i === 0) { - // We get here if `from` is the root - // For example: from='/'; to='/foo' - return to.slice(toStart + i); - } - } else if (fromLen > length) { - if (from.charCodeAt(fromStart + i) === 47 /*/*/) { - // We get here if `to` is the exact base path for `from`. - // For example: from='/foo/bar/baz'; to='/foo/bar' - lastCommonSep = i; - } else if (i === 0) { - // We get here if `to` is the root. - // For example: from='/foo'; to='/' - lastCommonSep = 0; - } - } - break; - } - var fromCode = from.charCodeAt(fromStart + i); - var toCode = to.charCodeAt(toStart + i); - if (fromCode !== toCode) - break; - else if (fromCode === 47 /*/*/) - lastCommonSep = i; - } - - var out = ''; - // Generate the relative path based on the path difference between `to` - // and `from` - for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) { - if (i === fromEnd || from.charCodeAt(i) === 47 /*/*/) { - if (out.length === 0) - out += '..'; - else - out += '/..'; - } - } - - // Lastly, append the rest of the destination (`to`) path that comes after - // the common path parts - if (out.length > 0) - return out + to.slice(toStart + lastCommonSep); - else { - toStart += lastCommonSep; - if (to.charCodeAt(toStart) === 47 /*/*/) - ++toStart; - return to.slice(toStart); - } - }, - - _makeLong: function _makeLong(path) { - return path; - }, - - dirname: function dirname(path) { - assertPath(path); - if (path.length === 0) return '.'; - var code = path.charCodeAt(0); - var hasRoot = code === 47 /*/*/; - var end = -1; - var matchedSlash = true; - for (var i = path.length - 1; i >= 1; --i) { - code = path.charCodeAt(i); - if (code === 47 /*/*/) { - if (!matchedSlash) { - end = i; - break; - } - } else { - // We saw the first non-path separator - matchedSlash = false; - } - } - - if (end === -1) return hasRoot ? '/' : '.'; - if (hasRoot && end === 1) return '//'; - return path.slice(0, end); - }, - - basename: function basename(path, ext) { - if (ext !== undefined && typeof ext !== 'string') throw new TypeError('"ext" argument must be a string'); - assertPath(path); - - var start = 0; - var end = -1; - var matchedSlash = true; - var i; - - if (ext !== undefined && ext.length > 0 && ext.length <= path.length) { - if (ext.length === path.length && ext === path) return ''; - var extIdx = ext.length - 1; - var firstNonSlashEnd = -1; - for (i = path.length - 1; i >= 0; --i) { - var code = path.charCodeAt(i); - if (code === 47 /*/*/) { - // If we reached a path separator that was not part of a set of path - // separators at the end of the string, stop now - if (!matchedSlash) { - start = i + 1; - break; - } - } else { - if (firstNonSlashEnd === -1) { - // We saw the first non-path separator, remember this index in case - // we need it if the extension ends up not matching - matchedSlash = false; - firstNonSlashEnd = i + 1; - } - if (extIdx >= 0) { - // Try to match the explicit extension - if (code === ext.charCodeAt(extIdx)) { - if (--extIdx === -1) { - // We matched the extension, so mark this as the end of our path - // component - end = i; - } - } else { - // Extension does not match, so our result is the entire path - // component - extIdx = -1; - end = firstNonSlashEnd; - } - } - } - } - - if (start === end) end = firstNonSlashEnd; else if (end === -1) end = path.length; - return path.slice(start, end); - } else { - for (i = path.length - 1; i >= 0; --i) { - if (path.charCodeAt(i) === 47 /*/*/) { - // If we reached a path separator that was not part of a set of path - // separators at the end of the string, stop now - if (!matchedSlash) { - start = i + 1; - break; - } - } else if (end === -1) { - // We saw the first non-path separator, mark this as the end of our - // path component - matchedSlash = false; - end = i + 1; - } - } - - if (end === -1) return ''; - return path.slice(start, end); - } - }, - - extname: function extname(path) { - assertPath(path); - var startDot = -1; - var startPart = 0; - var end = -1; - var matchedSlash = true; - // Track the state of characters (if any) we see before our first dot and - // after any path separator we find - var preDotState = 0; - for (var i = path.length - 1; i >= 0; --i) { - var code = path.charCodeAt(i); - if (code === 47 /*/*/) { - // If we reached a path separator that was not part of a set of path - // separators at the end of the string, stop now - if (!matchedSlash) { - startPart = i + 1; - break; - } - continue; - } - if (end === -1) { - // We saw the first non-path separator, mark this as the end of our - // extension - matchedSlash = false; - end = i + 1; - } - if (code === 46 /*.*/) { - // If this is our first dot, mark it as the start of our extension - if (startDot === -1) - startDot = i; - else if (preDotState !== 1) - preDotState = 1; - } else if (startDot !== -1) { - // We saw a non-dot and non-path separator before our dot, so we should - // have a good chance at having a non-empty extension - preDotState = -1; - } - } - - if (startDot === -1 || end === -1 || - // We saw a non-dot character immediately before the dot - preDotState === 0 || - // The (right-most) trimmed path component is exactly '..' - preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { - return ''; - } - return path.slice(startDot, end); - }, - - format: function format(pathObject) { - if (pathObject === null || typeof pathObject !== 'object') { - throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof pathObject); - } - return _format('/', pathObject); - }, - - parse: function parse(path) { - assertPath(path); - - var ret = { root: '', dir: '', base: '', ext: '', name: '' }; - if (path.length === 0) return ret; - var code = path.charCodeAt(0); - var isAbsolute = code === 47 /*/*/; - var start; - if (isAbsolute) { - ret.root = '/'; - start = 1; - } else { - start = 0; - } - var startDot = -1; - var startPart = 0; - var end = -1; - var matchedSlash = true; - var i = path.length - 1; - - // Track the state of characters (if any) we see before our first dot and - // after any path separator we find - var preDotState = 0; - - // Get non-dir info - for (; i >= start; --i) { - code = path.charCodeAt(i); - if (code === 47 /*/*/) { - // If we reached a path separator that was not part of a set of path - // separators at the end of the string, stop now - if (!matchedSlash) { - startPart = i + 1; - break; - } - continue; - } - if (end === -1) { - // We saw the first non-path separator, mark this as the end of our - // extension - matchedSlash = false; - end = i + 1; - } - if (code === 46 /*.*/) { - // If this is our first dot, mark it as the start of our extension - if (startDot === -1) startDot = i; else if (preDotState !== 1) preDotState = 1; - } else if (startDot !== -1) { - // We saw a non-dot and non-path separator before our dot, so we should - // have a good chance at having a non-empty extension - preDotState = -1; - } - } - - if (startDot === -1 || end === -1 || - // We saw a non-dot character immediately before the dot - preDotState === 0 || - // The (right-most) trimmed path component is exactly '..' - preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { - if (end !== -1) { - if (startPart === 0 && isAbsolute) ret.base = ret.name = path.slice(1, end); else ret.base = ret.name = path.slice(startPart, end); - } - } else { - if (startPart === 0 && isAbsolute) { - ret.name = path.slice(1, startDot); - ret.base = path.slice(1, end); - } else { - ret.name = path.slice(startPart, startDot); - ret.base = path.slice(startPart, end); - } - ret.ext = path.slice(startDot, end); - } - - if (startPart > 0) ret.dir = path.slice(0, startPart - 1); else if (isAbsolute) ret.dir = '/'; - - return ret; - }, - - sep: '/', - delimiter: ':', - win32: null, - posix: null - }; - - posix.posix = posix; - - window._noname_path = posix; -} diff --git a/noname.js b/noname.js index 674aa817a..fc5037fe2 100644 --- a/noname.js +++ b/noname.js @@ -6,6 +6,8 @@ import { Library as lib } from './noname/library/index.js'; import { status as _status } from './noname/status/index.js'; import { UI as ui } from './noname/ui/index.js'; +export { boot } from './noname/init/index.js'; + export { gnc, ai, @@ -13,5 +15,5 @@ export { get, lib, _status, - ui -} \ No newline at end of file + ui, +} diff --git a/noname/init/cordova.js b/noname/init/cordova.js new file mode 100644 index 000000000..e0af9ac80 --- /dev/null +++ b/noname/init/cordova.js @@ -0,0 +1,218 @@ +// @ts-nocheck +import { Get as get } from '../get/index.js'; +import { Library as lib } from '../library/index.js'; +import { Game as game } from '../game/index.js'; +import { status as _status } from '../status/index.js'; +import { UI as ui } from '../ui/index.js'; + +export function cordovaReady() { + lib.path = (await import('../library/path.js')).default; + if (lib.device == 'android') { + document.addEventListener("pause", function () { + if (!_status.paused2 && (typeof _status.event.isMine == 'function' && !_status.event.isMine())) { + ui.click.pause(); + } + if (ui.backgroundMusic) { + ui.backgroundMusic.pause(); + } + }); + document.addEventListener("resume", () => { + if (ui.backgroundMusic) ui.backgroundMusic.play(); + }); + document.addEventListener("backbutton", function () { + if (ui.arena && ui.arena.classList.contains('menupaused')) { + if (window.saveNonameInput) { + window.saveNonameInput(); + } + else { + ui.click.configMenu(); + } + } + else if (lib.config.confirm_exit) { + navigator.notification.confirm( + '是否退出游戏?', + function (index) { + switch (index) { + case 2: game.reload(); break; + case 3: navigator.app.exitApp(); break; + } + }, + '确认退出', + ['取消', '重新开始', '退出'] + ); + } + else { + navigator.app.exitApp(); + } + }); + if ("cordova" in window && "plugins" in window.cordova && "permissions" in window.cordova.plugins) { + const permissions = cordova.plugins.permissions; + const requests = ["WRITE_EXTERNAL_STORAGE", "READ_EXTERNAL_STORAGE"] + requests.forEach(request => { + permissions.checkPermission(permissions[request], status => { + if (!status.hasPermission) { + permissions.requestPermission(permissions[request], lib.other.ignore, lib.other.ignore); + } + }, lib.other.ignore); + }); + } + } + game.download = function (url, folder, onsuccess, onerror, dev, onprogress) { + if (!url.startsWith('http')) { + url = get.url(dev) + url; + } + var fileTransfer = new FileTransfer(); + folder = lib.assetURL + folder; + if (onprogress) { + fileTransfer.onprogress = function (progressEvent) { + onprogress(progressEvent.loaded, progressEvent.total); + }; + } + lib.config.brokenFile.add(folder); + game.saveConfigValue('brokenFile'); + fileTransfer.download(encodeURI(url), encodeURI(folder), function () { + lib.config.brokenFile.remove(folder); + game.saveConfigValue('brokenFile'); + if (onsuccess) { + onsuccess(); + } + }, onerror); + }; + game.readFile = function (filename, callback, onerror) { + window.resolveLocalFileSystemURL(lib.assetURL, function (entry) { + entry.getFile(filename, {}, function (fileEntry) { + fileEntry.file(function (fileToLoad) { + var fileReader = new FileReader(); + fileReader.onload = function (e) { + callback(e.target.result); + }; + fileReader.readAsArrayBuffer(fileToLoad, "UTF-8"); + }, onerror); + }, onerror); + }, onerror); + }; + game.readFileAsText = function (filename, callback, onerror) { + window.resolveLocalFileSystemURL(lib.assetURL, function (entry) { + entry.getFile(filename, {}, function (fileEntry) { + fileEntry.file(function (fileToLoad) { + var fileReader = new FileReader(); + fileReader.onload = function (e) { + callback(e.target.result); + }; + fileReader.readAsText(fileToLoad, "UTF-8"); + }, onerror); + }, onerror); + }, onerror); + }; + game.writeFile = function (data, path, name, callback) { + game.ensureDirectory(path, function () { + if (Object.prototype.toString.call(data) == '[object File]') { + var fileReader = new FileReader(); + fileReader.onload = function (e) { + game.writeFile(e.target.result, path, name, callback); + }; + fileReader.readAsArrayBuffer(data, "UTF-8"); + } + else { + window.resolveLocalFileSystemURL(lib.assetURL + path, function (entry) { + entry.getFile(name, { create: true }, function (fileEntry) { + fileEntry.createWriter(function (fileWriter) { + fileWriter.onwriteend = callback; + fileWriter.write(data); + }, callback); + }, callback); + }, callback); + } + }); + }; + game.removeFile = function (dir, callback) { + window.resolveLocalFileSystemURL(lib.assetURL, function (entry) { + entry.getFile(dir, {}, function (fileEntry) { + fileEntry.remove(); + if (callback) callback(); + }, callback || function () { }); + }, callback || function () { }); + }; + game.getFileList = (dir, success, failure) => { + var files = [], folders = []; + window.resolveLocalFileSystemURL(lib.assetURL + dir, entry => { + var dirReader = entry.createReader(); + var entries = []; + var readEntries = () => { + dirReader.readEntries(results => { + if (!results.length) { + entries.sort(); + for (var i = 0; i < entries.length; i++) { + if (entries[i].isDirectory) { + folders.push(entries[i].name); + } + else { + files.push(entries[i].name); + } + } + success(folders, files); + } + else { + entries = entries.concat(Array.from(results)); + readEntries(); + } + }, failure); + }; + readEntries(); + }, failure); + }; + game.ensureDirectory = (list, callback, file) => { + const directoryList = typeof list == 'string' ? [list] : list.slice().reverse(), num = file ? 1 : 0, access = (entry, directory, createDirectory) => { + if (directory.length <= num) { + createDirectory(); + return; + } + const str = directory.pop(); + return new Promise((resolve, reject) => entry.getDirectory(str, { + create: false + }, resolve, reject)).catch(() => new Promise(resolve => entry.getDirectory(str, { + create: true + }, resolve))).then(directoryEntry => access(directoryEntry, directory, createDirectory)); + }; + return new Promise((resolve, reject) => window.resolveLocalFileSystemURL(lib.assetURL, rootEntry => { + const createDirectory = () => { + if (directoryList.length) access(rootEntry, directoryList.pop().split('/').reverse(), createDirectory); + if (typeof callback == 'function') callback(); + resolve(); + }; + createDirectory(); + }, reject)); + }; + if (ui.updateUpdate) { + ui.updateUpdate(); + } + var showbar = function () { + if (window.StatusBar) { + if (lib.device == 'android') { + if (lib.config.show_statusbar_android) { + window.StatusBar.overlaysWebView(false); + window.StatusBar.backgroundColorByName('black'); + window.StatusBar.show(); + } + } + else if (lib.device == 'ios') { + if (lib.config.show_statusbar_ios != 'off' && lib.config.show_statusbar_ios != 'auto') { + if (lib.config.show_statusbar_ios == 'default') { + window.StatusBar.overlaysWebView(false); + } + else { + window.StatusBar.overlaysWebView(true); + } + window.StatusBar.backgroundColorByName('black'); + window.StatusBar.show(); + } + } + } + } + if (lib.arenaReady) { + lib.arenaReady.push(showbar); + } + else { + showbar(); + } +} diff --git a/noname/init/index.js b/noname/init/index.js new file mode 100644 index 000000000..60457ba5f --- /dev/null +++ b/noname/init/index.js @@ -0,0 +1,1002 @@ + +import { AI as ai } from '../ai/index.js'; +import { Get as get } from '../get/index.js'; +import { Library as lib } from '../library/index.js'; +import { Game as game } from '../game/index.js'; +import { status as _status } from '../status/index.js'; +import { UI as ui } from '../ui/index.js'; + +import { userAgent } from '../util/index.js'; +import * as config from '../util/config.js'; +import { gnc } from '../gnc/index.js'; + +// 无名杀,启动! +export async function boot() { + // 不想看,反正别动 + if (typeof __dirname === 'string' && __dirname.length) { + const dirsplit = __dirname.split('/'); + for (let i = 0; i < dirsplit.length; i++) { + if (dirsplit[i]) { + var c = dirsplit[i][0]; + lib.configprefix += /[A-Z]|[a-z]/.test(c) ? c : '_'; + } + } + lib.configprefix += '_'; + } + + // 加载polyfill内容 + await import('./polyfill.js'); + + // 设定游戏加载时间,超过时间未加载就提醒 + const configLoadTime = localStorage.getItem(lib.configprefix + 'loadtime'); + Reflect.set( + window, + 'resetGameTimeout', + setTimeout(lib.init.reset, configLoadTime ? parseInt(configLoadTime) : 10000) + ); + + if (Reflect.has(window, 'cordovaLoadTimeout')) { + clearTimeout(Reflect.get(window, 'cordovaLoadTimeout')); + Reflect.deleteProperty(window, 'cordovaLoadTimeout'); + } + + for (const link of document.head.querySelectorAll('link')) { + if (link.href.includes('app/color.css')) { + link.remove(); + break; + } + } + + setServerIndex(); + setBackground(); + + Reflect.set(lib, 'get', get); + Reflect.set(lib, 'ui', ui); + Reflect.set(lib, 'ai', ai); + Reflect.set(lib, 'game', game); + _status.event = lib.element.GameEvent.initialGameEvent(); + + setWindowListener(); + + // 无名杀更新日志 + if (Reflect.has(window, 'noname_update')) { + Reflect.set(lib, 'version', Reflect.get(window, 'noname_update').version); + lib.changeLog = Reflect.get(window, 'noname_update').changeLog; + if (Reflect.get(window, 'noname_update').players) { + lib.changeLog.push('players://' + JSON.stringify(Reflect.get(window, 'noname_update').players)); + } + if (Reflect.get(window, 'noname_update').cards) { + lib.changeLog.push('cards://' + JSON.stringify(Reflect.get(window, 'noname_update').cards)); + } + Reflect.deleteProperty(window, 'noname_update'); + } + // 确认手机端平台 + const noname_inited = localStorage.getItem('noname_inited'); + if (noname_inited && noname_inited !== 'nodejs') { + const ua = userAgent; + if (ua.includes('android')) { + Reflect.set(lib, 'device', 'android'); + } + else if (ua.includes('iphone') || ua.includes('ipad') || ua.includes('macintosh')) { + Reflect.set(lib, 'device', 'ios'); + } + } + + // 在dom加载完后执行相应的操作 + if (document.readyState !== 'complete') { + window.onload = onWindowReady; + } else { + onWindowReady.call(window); + } + + // 闭源客户端检测并提醒 + if (lib.assetURL.includes('com.widget.noname.qingyao') || lib.assetURL.includes('online.nonamekill.android')) { + alert('您正在一个不受信任的闭源客户端上运行《无名杀》。建议您更换为其他开源的无名杀客户端,避免给您带来不必要的损失。'); + } + + // Electron平台 + if (typeof window.require === 'function') { + const { nodeReady } = await import('./node.js'); + nodeReady(); + } + // 手机平台已在别处判断 + else if (!Reflect.has(lib, 'device')) { + Reflect.set(lib, 'path', (await import('../library/path.js')).default); + //为其他自定义平台提供文件读写函数赋值的一种方式。 + //但这种方式只能修改game的文件读写函数。 + if (Reflect.has(window, 'initReadWriteFunction')) { + const g = {}; + const ReadWriteFunctionName = ['download', 'readFile', 'readFileAsText', 'writeFile', 'removeFile', 'getFileList', 'ensureDirectory', 'createDir']; + ReadWriteFunctionName.forEach(prop => { + Object.defineProperty(g, prop, { + configurable: true, + get() { return undefined; }, + set(newValue) { + if (typeof newValue == 'function') { + delete g[prop]; + g[prop] = game[prop] = newValue; + } + } + }); + }); + Reflect.get(window, 'initReadWriteFunction')(g); + } + window.onbeforeunload = function () { + if (config.get('confirm_exit') && !_status.reloading) { + return '是否离开游戏?'; + } + else { + return null; + } + }; + } + + const loadCssPromise = loadCss(); + const loadConfigPromise = loadConfig(); + await loadCssPromise; + const config2 = await loadConfigPromise; + + // 读取模式 + if (config2.mode) config.set('mode', config2.mode); + if (config.get('mode_config')[config.get('mode')] === undefined) + config.set(config.get('mode'), {}); + + // 复制共有模式设置 + for (const name in config.get('mode_config').global) { + if (config.get('mode_config')[config.get('mode')][name] === undefined) { + config.get('mode_config')[config.get('mode')][name] = config.get('mode_config').global[name]; + } + } + + if (config.get('characters')) + config.set('defaultcharacters', config.get('characters').slice(0)); + if (config.get('cards')) + config.set('defaultcards', config.get('cards').slice(0)); + + for (const name in config2) { + if (name.includes('_mode_config')) { + var thismode = name.substr(name.indexOf('_mode_config') + 13); + if (!config.get('mode_config')[thismode]) + config.get('mode_config')[thismode] = {}; + config.get('mode_config')[thismode][name.substr(0, name.indexOf('_mode_config'))] = config2[name]; + } + else { + config.set(name, config2[name]); + } + } + + for (const name in get.config('translate')) { + lib.translate[name] = get.config('translate')[name]; + } + + config.get('all').characters = []; + config.get('all').cards = []; + config.get('all').plays = []; + config.get('all').mode = []; + + if (config.get('debug')) { + await lib.init.promises.js(`${lib.assetURL}game`, 'asset'); + lib.skin = Reflect.get(window, 'noname_skin_list'); + Reflect.deleteProperty(window, 'noname_skin_list'); + Reflect.deleteProperty(window, 'noname_asset_list'); + } + + if (Reflect.get(window, 'isNonameServer')) + config.set('mode', 'connect'); + + var pack = Reflect.get(window, 'noname_package'); + Reflect.deleteProperty(window, 'noname_package'); + for (const name in pack.character) { + if (config.get('all').sgscharacters.contains(name) || config.get('hiddenCharacterPack').indexOf(name) == -1) { + config.get('all').characters.push(name); + lib.translate[name + '_character_config'] = pack.character[name]; + } + } + for (const name in pack.card) { + if (config.get('all').sgscards.contains(name) || config.get('hiddenCardPack').indexOf(name) == -1) { + config.get('all').cards.push(name); + lib.translate[name + '_card_config'] = pack.card[name]; + } + } + for (const name in pack.play) { + config.get('all').plays.push(name); + lib.translate[name + '_play_config'] = pack.play[name]; + } + for (const name in pack.submode) { + for (var j in pack.submode[name]) { + lib.translate[name + '|' + j] = pack.submode[name][j]; + } + } + + if (!config.get('gameRecord')) + config.set('gameRecord', {}); + for (const name in pack.mode) { + if (config.get('hiddenModePack').indexOf(name) == -1) { + config.get('all').mode.push(name); + lib.translate[name] = pack.mode[name]; + if (!config.get('gameRecord')[name]) + config.get('gameRecord')[name] = { data: {} }; + } + } + if (config.get('all').mode.length == 0) { + config.get('all').mode.push('identity'); + lib.translate.identity = '身份'; + if (!config.get('gameRecord').identity) + config.get('gameRecord').identity = { data: {} }; + } + if (pack.background) { + for (const name in pack.background) { + if (config.get('hiddenBackgroundPack').contains(name)) continue; + lib.configMenu.appearence.config.image_background.item[name] = pack.background[name]; + } + for (let i = 0; i < config.get('customBackgroundPack').length; i++) { + var link = config.get('customBackgroundPack')[i]; + lib.configMenu.appearence.config.image_background.item[link] = link.slice(link.indexOf('_') + 1); + } + lib.configMenu.appearence.config.image_background.item.default = '默认'; + } + if (pack.music) { + if (Reflect.has(lib, 'device') || typeof window.require === 'function') { + lib.configMenu.audio.config.background_music.item.music_custom = '自定义音乐'; + } + config.get('all').background_music = ['music_default']; + for (const name in pack.music) { + config.get('all').background_music.push(name); + lib.configMenu.audio.config.background_music.item[name] = pack.music[name]; + } + if (config.get('customBackgroundMusic')) { + for (const name in config.get('customBackgroundMusic')) { + config.get('all').background_music.push(name); + lib.configMenu.audio.config.background_music.item[name] = config.get('customBackgroundMusic')[name]; + } + } + lib.configMenu.audio.config.background_music.item.music_random = '随机播放'; + lib.configMenu.audio.config.background_music.item.music_off = '关闭'; + } + if (pack.theme) { + for (const name in pack.theme) { + lib.configMenu.appearence.config.theme.item[name] = pack.theme[name]; + } + } + if (config.get('extension_sources')) { + for (const name in config.get('extension_sources')) { + lib.configMenu.general.config.extension_source.item[name] = name; + } + } + + if (pack.font) { + Reflect.get(ui, 'css').fontsheet = lib.init.sheet(); + const appearenceConfig = lib.configMenu.appearence.config, fontSheet = Reflect.get(ui, 'css').fontsheet.sheet, suitsFont = config.get('suits_font'); + Object.keys(pack.font).forEach((value) => { + const font = pack.font[value]; + appearenceConfig.name_font.item[value] = font; + appearenceConfig.identity_font.item[value] = font; + appearenceConfig.cardtext_font.item[value] = font; + appearenceConfig.global_font.item[value] = font; + fontSheet.insertRule(`@font-face {font-family: '${value}'; src: local('${font}'), url('${lib.assetURL}font/${value}.woff2');}`, 0); + if (suitsFont) fontSheet.insertRule(`@font-face {font-family: '${value}'; src: local('${font}'), url('${lib.assetURL}font/suits.woff2');}`, 0); + }); + if (suitsFont) fontSheet.insertRule(`@font-face {font-family: 'Suits'; src: url('${lib.assetURL}font/suits.woff2');}`, 0); + fontSheet.insertRule(`@font-face {font-family: 'NonameSuits'; src: url('${lib.assetURL}font/suits.woff2');}`, 0); + fontSheet.insertRule(`@font-face {font-family: 'MotoyaLMaru'; src: url('${lib.assetURL}font/motoyamaru.woff2');}`, 0); + appearenceConfig.cardtext_font.item.default = '默认'; + appearenceConfig.global_font.item.default = '默认'; + } + + const ua = userAgent; + if ('ontouchstart' in document) { + if (!config.get('totouched')) { + game.saveConfig('totouched', true); + if (Reflect.has(lib, 'device')) { + game.saveConfig('low_performance', true); + game.saveConfig('confirm_exit', true); + game.saveConfig('touchscreen', true); + game.saveConfig('fold_mode', false); + if (ua.indexOf('ipad') == -1) { + game.saveConfig('phonelayout', true); + } + else if (Reflect.get(lib, 'device') === 'ios') { + game.saveConfig('show_statusbar_ios', 'overlay'); + } + } + else if (confirm('是否切换到触屏模式?(触屏模式可提高触屏设备的响应速度,但无法使用鼠标)')) { + game.saveConfig('touchscreen', true); + if (ua.includes('iphone') || ua.includes('android')) { + game.saveConfig('phonelayout', true); + } + game.reload(); + } + } + } + else if (config.get('touchscreen')) { + game.saveConfig('touchscreen', false); + } + if (!config.get('toscrolled') && ua.includes('macintosh')) { + game.saveConfig('toscrolled', true); + game.saveConfig('mousewheel', false); + } + + let show_splash = config.get('show_splash'); + if (show_splash == 'off') { + show_splash = false; + } + else if (show_splash == 'init') { + if (localStorage.getItem('show_splash_off')) { + show_splash = false; + } + } + localStorage.removeItem('show_splash_off'); + const extensionlist = []; + if (!localStorage.getItem(lib.configprefix + 'disable_extension')) { + if (config.has('extensions') && config.get('extensions').length) { + Reflect.set(window, 'resetExtension', () => { + for (var i = 0; i < config.get('extensions').length; i++) { + game.saveConfig('extension_' + config.get('extensions')[i] + '_enable', false); + } + // @ts-ignore + localStorage.setItem(lib.configprefix + 'disable_extension', true); + }); + } + for (var name = 0; name < config.get('plays').length; name++) { + if (config.get('all').plays.includes(config.get('plays')[name])) { + extensionlist.push(config.get('plays')[name]); + } + } + var alerted = false; + for (var name = 0; name < config.get('extensions').length; name++) { + if (Reflect.get(window, 'bannedExtensions').contains(config.get('extensions')[name])) { + //if(!alerted) alert('读取某些扩展时出现问题。'); + alerted = true; + continue; + } + var extcontent = localStorage.getItem(lib.configprefix + 'extension_' + config.get('extensions')[name]); + if (extcontent) { + //var backup_onload=lib.init.onload; + _status.evaluatingExtension = true; + try { + eval(extcontent); + } + catch (e) { + console.log(e); + } + //lib.init.onload=backup_onload; + _status.evaluatingExtension = false; + } + else if (config.get('mode') != 'connect' || (!localStorage.getItem(lib.configprefix + 'directstart') && show_splash)) { + extensionlist.push(config.get('extensions')[name]); + } + } + } + else { + if (config.get('mode') != 'connect' || (!localStorage.getItem(lib.configprefix + 'directstart') && show_splash)) { + var alerted = false; + for (var name = 0; name < config.get('extensions').length; name++) { + if (Reflect.get(window, 'bannedExtensions').contains(config.get('extensions')[name])) { + //if(!alerted) alert('读取某些扩展时出现问题。'); + alerted = true; + continue; + } + game.import('extension', { name: config.get('extensions')[name] }); + } + } + } + + let layout = config.get('layout'); + if (layout == 'default' || lib.layoutfixed.indexOf(config.get('mode')) !== -1) { + layout = 'mobile'; + } + if (layout == 'phone') { + layout = 'mobile'; + game.saveConfig('layout', 'mobile'); + game.saveConfig('phonelayout', true); + } + Reflect.get(game, 'layout', layout); + + if (config.get('image_background_random')) { + if (_status.htmlbg) { + game.saveConfig('image_background', _status.htmlbg); + } + else { + const list = []; + for (const name in lib.configMenu.appearence.config.image_background.item) { + if (name == 'default') continue; + list.push(name); + } + // @ts-ignore + game.saveConfig('image_background', list.randomGet(lib.config.image_background)); + } + lib.init.background(); + } + delete _status.htmlbg; + + // 虽然但是,我就暴露个import,应该没啥问题 + Reflect.set(window, 'game', { + import: game.import.bind(null) + }); + + if (config.get('layout') == 'default') { + config.set('layout', 'mobile'); + } + + const stylesName = ['layout', 'theme', 'card_style', 'cardback_style', 'hp_style']; + const stylesLoading = [ + lib.init.promises.css(lib.assetURL + 'layout/' + layout, 'layout', void 0, true), + lib.init.promises.css(lib.assetURL + 'theme/' + config.get('theme'), 'style', void 0, true), + lib.init.promises.css(lib.assetURL + 'theme/style/card', config.get('card_style'), void 0, true), + lib.init.promises.css(lib.assetURL + 'theme/style/cardback', config.get('cardback_style'), void 0, true), + lib.init.promises.css(lib.assetURL + 'theme/style/hp', config.get('hp_style'), void 0, true) + ]; + + if (get.is.phoneLayout()) { + stylesName.push('phone'); + stylesLoading.push(lib.init.promises.css(lib.assetURL + 'layout/default', 'phone')); + } + else { + Reflect.get(ui, 'css').phone = lib.init.css(); + } + + initSheet(Reflect.get(lib, 'config')); + + config.set('duration', 500); + + if (!config.get('touchscreen')) { + document.addEventListener('mousewheel', ui.click.windowmousewheel, { passive: true }); + document.addEventListener('mousemove', ui.click.windowmousemove); + document.addEventListener('mousedown', ui.click.windowmousedown); + document.addEventListener('mouseup', ui.click.windowmouseup); + document.addEventListener('contextmenu', ui.click.right); + } + else { + document.addEventListener('touchstart', ui.click.touchconfirm); + document.addEventListener('touchstart', ui.click.windowtouchstart); + document.addEventListener('touchend', ui.click.windowtouchend); + document.addEventListener('touchmove', ui.click.windowtouchmove); + } + + const stylesLoaded = await Promise.all(stylesLoading); + const stylesLength = Math.min(stylesName.length, stylesLoaded.length); + for (let i = 0; i < stylesLength; ++i) { + Reflect.get(ui, 'css')[stylesName[i]] = stylesLoaded[i]; + } + + if (extensionlist.length && (config.get('mode') != 'connect' || show_splash)) { + _status.extensionLoading = []; + + const bannedExtensions = Reflect.get(window, 'bannedExtensions'); + + const extensionsLoading = []; + for (const name of extensionlist) { + if (bannedExtensions.includes(name)) continue; + extensionsLoading.push(importExtension(name)); + } + + await Promise.allSettled(extensionsLoading); + await Promise.allSettled(_status.extensionLoading); + _status.extensionLoaded.filter(Boolean).forEach((name) => { + lib.announce.publish("Noname.Init.Extension.onLoad", name); + lib.announce.publish(`Noname.Init.Extension.${name}.onLoad`, void 0); + }); + delete _status.extensionLoading; + } + + const isArray = Array.isArray; + if (isArray(lib.onprepare) && lib.onprepare.length) { + _status.onprepare = Object.freeze(lib.onprepare.map((fn) => { + if (typeof fn !== "function") return; + return (gnc.is.generatorFunc(fn) ? gnc.of(fn) : fn)(); + })); + } + + const toLoad = []; + + if (localStorage.getItem(`${lib.configprefix}playback`)) + toLoad.push(importMode(config.get('mode'))); + else if ((localStorage.getItem(`${lib.configprefix}directstart`) || !show_splash) && config.get('all').mode.includes(config.get('mode'))) + toLoad.push(importMode(config.get('mode'))); + + for (const cardPack of config.get('all').cards) { + toLoad.push(importCardPack(cardPack)); + } + for (const characterPack of config.get('all').characters) { + toLoad.push(importCharacterPack(characterPack)); + } + toLoad.push(lib.init.promises.js(`${lib.assetURL}character`, 'rank')); + + if (_status.javaScriptExtensions) { + const loadJavaScriptExtension = async (javaScriptExtension, pathArray, fileArray, onLoadArray, onErrorArray, index) => { + if (!pathArray && !fileArray && !onLoadArray && !onErrorArray) { + try { + await lib.init.promises.js(javaScriptExtension.path, javaScriptExtension.file); + if (typeof javaScriptExtension.onload == 'function') javaScriptExtension.onload(); + } catch { + if (typeof javaScriptExtension.onerror == 'function') javaScriptExtension.onerror(); + } + return; + } + if (typeof index != 'number') index = 0; + if (pathArray && index >= javaScriptExtension.path.length) return; + if (fileArray && index >= javaScriptExtension.file.length) return; + if (onLoadArray && index >= javaScriptExtension.onload.length) return; + if (onErrorArray && index >= javaScriptExtension.onerror.length) return; + const path = pathArray ? javaScriptExtension.path[index] : javaScriptExtension.path; + const file = fileArray ? javaScriptExtension.file[index] : javaScriptExtension.file; + const onLoad = onLoadArray ? javaScriptExtension.onload[index] : javaScriptExtension.onload; + const onError = onErrorArray ? javaScriptExtension.onerror[index] : javaScriptExtension.onerror; + try { + await lib.init.promises.js(path, file); + if (typeof onLoad == 'function') onLoad(); + } catch { + if (typeof onError == 'function') onError(); + } + await loadJavaScriptExtension(javaScriptExtension, pathArray, fileArray, onLoadArray, onErrorArray, index + 1); + }; + _status.javaScriptExtensions.forEach((javaScriptExtension) => { + const pathArray = isArray(javaScriptExtension.path); + const fileArray = isArray(javaScriptExtension.file); + const onLoadArray = isArray(javaScriptExtension.onLoad); + const onErrorArray = isArray(javaScriptExtension.onError); + toLoad.push(loadJavaScriptExtension(javaScriptExtension, pathArray, fileArray, onLoadArray, onErrorArray)); + }); + } + + await Promise.allSettled(toLoad); + + if (_status.importing) { + /** + * @type {Promise[]} + */ + let promises = lib.creation.array; + for (const type in _status.importing) { + // @ts-ignore + promises.addArray(_status.importing[type]); + } + await Promise.allSettled(promises); + delete _status.importing; + } + + if (_status.windowLoaded) { + delete _status.windowLoaded; + lib.init.onload(); + } + else _status.packLoaded = true; +} + +/** + * @param {string} name - 卡牌包名 + */ +async function importCardPack(name) { + try { + const cardPackContent = await import('../../card/' + name + '.js'); + if (!cardPackContent.type) return; + if (cardPackContent.type !== 'card') throw new Error('Loaded Content is not a CardPack'); + await game.import('card', cardPackContent.default); + } catch (e) { + console.error(e); + } +} + +/** + * @param {string} name - 武将包名 + */ +async function importCharacterPack(name) { + try { + const characterPackContent = await import('../../character/' + name + '.js'); + if (!characterPackContent.type) return; + if (characterPackContent.type !== 'character') throw new Error('Loaded Content is not a CharacterPack'); + await game.import('character', characterPackContent.default); + } catch (e) { + console.error(e); + } +} + +/** + * @param {string} name - 扩展名 + */ +async function importExtension(name) { + try { + const extensionContent = await import('../../extension/' + name + '/extension.js'); + if (!extensionContent.type) return; + if (extensionContent.type !== 'extension') throw new Error('Loaded Content is not a Noname Extension'); + await game.import('extension', extensionContent.default); + } catch (e) { + console.error(e); + game.removeExtension(name); + } +} + +/** + * @param {string} name - 模式名 + */ +async function importMode(name) { + try { + const modeContent = await import('../../mode/' + name + '.js'); + if (!modeContent.type) return; + if (modeContent.type !== 'mode') throw new Error('Loaded Content is not a Mode'); + await game.import('mode', modeContent.default); + } catch (e) { + console.error(e); + } +} + +function initSheet(libConfig) { + if (libConfig.player_style && libConfig.player_style != 'default' && libConfig.player_style != 'custom') { + var str = ''; + switch (libConfig.player_style) { + case 'wood': str = 'url("' + lib.assetURL + 'theme/woodden/wood.jpg")'; break; + case 'music': str = 'linear-gradient(#4b4b4b, #464646)'; break; + case 'simple': str = 'linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4))'; break; + } + Reflect.get(ui, 'css').player_stylesheet = lib.init.sheet('#window .player{background-image:' + str + '}'); + } + if (libConfig.border_style && libConfig.border_style != 'default' && libConfig.border_style != 'custom' && libConfig.border_style != 'auto') { + Reflect.get(ui, 'css').border_stylesheet = lib.init.sheet(); + var bstyle = libConfig.border_style; + if (bstyle.startsWith('dragon_')) { + bstyle = bstyle.slice(7); + } + Reflect.get(ui, 'css').border_stylesheet.sheet.insertRule('#window .player>.framebg,#window #arena.long.mobile:not(.fewplayer) .player[data-position="0"]>.framebg{display:block;background-image:url("' + lib.assetURL + 'theme/style/player/' + bstyle + '1.png")}', 0); + Reflect.get(ui, 'css').border_stylesheet.sheet.insertRule('#window #arena.long:not(.fewplayer) .player>.framebg, #arena.oldlayout .player>.framebg{background-image:url("' + lib.assetURL + 'theme/style/player/' + bstyle + '3.png")}', 0); + Reflect.get(ui, 'css').border_stylesheet.sheet.insertRule('.player>.count{z-index: 3 !important;border-radius: 2px !important;text-align: center !important;}', 0); + } + if (libConfig.control_style && libConfig.control_style != 'default' && libConfig.control_style != 'custom') { + var str = ''; + switch (libConfig.control_style) { + case 'wood': str = 'url("' + lib.assetURL + 'theme/woodden/wood.jpg")'; break; + case 'music': str = 'linear-gradient(#4b4b4b, #464646);color:white;text-shadow:black 0 0 2px'; break; + case 'simple': str = 'linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));color:white;text-shadow:black 0 0 2px'; break; + } + if (libConfig.control_style == 'wood') { + Reflect.get(ui, 'css').control_stylesheet = lib.init.sheet('#window .control,#window .menubutton,#window #system>div>div,#window #system>div>.pressdown2{background-image:' + str + '}'); + } + else { + Reflect.get(ui, 'css').control_stylesheet = lib.init.sheet('#window .control,.menubutton:not(.active):not(.highlight):not(.red):not(.blue),#window #system>div>div{background-image:' + str + '}'); + } + } + if (libConfig.menu_style && libConfig.menu_style != 'default' && libConfig.menu_style != 'custom') { + var str = ''; + switch (libConfig.menu_style) { + case 'wood': str = 'url("' + lib.assetURL + 'theme/woodden/wood2.png")'; break; + case 'music': str = 'linear-gradient(#4b4b4b, #464646);color:white;text-shadow:black 0 0 2px'; break; + case 'simple': str = 'linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));color:white;text-shadow:black 0 0 2px'; break; + } + Reflect.get(ui, 'css').menu_stylesheet = lib.init.sheet('html #window>.dialog.popped,html .menu,html .menubg{background-image:' + str + '}'); + } +} + +async function loadConfig() { + Reflect.set(lib, 'config', Reflect.get(window, 'config')); + Reflect.set(lib, 'configOL', {}); + Reflect.deleteProperty(window, 'config'); + let result; + if (localStorage.getItem(`${lib.configprefix}nodb`)) + Reflect.set(window, 'nodb', true); + if (window.indexedDB && !Reflect.get(window, 'nodb')) { + const event = await new Promise((resolve, reject) => { + const idbOpenDBRequest = window.indexedDB.open(`${lib.configprefix}data`, 4); + idbOpenDBRequest.onerror = reject; + idbOpenDBRequest.onsuccess = resolve; + idbOpenDBRequest.onupgradeneeded = idbVersionChangeEvent => { + // @ts-expect-error MaybeHave + const idbDatabase = idbVersionChangeEvent.target.result; + if (!idbDatabase.objectStoreNames.contains('video')) idbDatabase.createObjectStore('video', { + keyPath: 'time' + }); + if (!idbDatabase.objectStoreNames.contains('image')) idbDatabase.createObjectStore('image'); + if (!idbDatabase.objectStoreNames.contains('audio')) idbDatabase.createObjectStore('audio'); + if (!idbDatabase.objectStoreNames.contains('config')) idbDatabase.createObjectStore('config'); + if (!idbDatabase.objectStoreNames.contains('data')) idbDatabase.createObjectStore('data'); + }; + }); + Reflect.set(lib, 'db', event.target.result); + + const object = await game.getDB('config'); + + if (!object.storageImported) { + try { + const item = localStorage.getItem(`${lib.configprefix}config`); + if (!item) throw 'err'; + result = JSON.parse(item); + if (!result || typeof result != 'object') throw 'err'; + } + catch (err) { + result = {}; + } + Object.keys(result).forEach(key => game.saveConfig(key, result[key])); + Object.keys(lib.mode).forEach(key => { + try { + const item = localStorage.getItem(`${lib.configprefix}${key}`); + if (!item) throw 'err'; + result = JSON.parse(item); + if (!result || typeof result != 'object' || get.is.empty(result)) throw 'err'; + } + catch (err) { + result = false; + } + localStorage.removeItem(`${lib.configprefix}${key}`); + if (result) game.putDB('data', key, result); + }); + game.saveConfig('storageImported', true); + lib.init.background(); + localStorage.removeItem(`${lib.configprefix}config`); + } + else result = object; + } else { + try { + const item = localStorage.getItem(lib.configprefix + 'config'); + if (!item) throw 'err'; + result = JSON.parse(item); + if (!result || typeof result != 'object') throw 'err'; + } + catch (err) { + result = {}; + localStorage.setItem(lib.configprefix + 'config', JSON.stringify({})); + } + } + + return result; +} + +async function loadCss() { + Reflect.set(ui, 'css', { + menu: await lib.init.promises.css(lib.assetURL + 'layout/default', 'menu'), + default: await lib.init.promises.css(lib.assetURL + 'layout/default', 'layout') + }); +} + +function onWindowReady() { + if (Reflect.has(lib, 'device')) { + var script = document.createElement('script'); + script.src = 'cordova.js'; + document.body.appendChild(script); + document.addEventListener('deviceready', async () => { + const { cordovaReady } = await import('./cordova.js'); + cordovaReady(); + }); + } + if (_status.packLoaded) { + delete _status.packLoaded; + lib.init.onload(); + } + else { + _status.windowLoaded = true; + } +} + +function setBackground() { + let htmlbg = localStorage.getItem(lib.configprefix + 'background'); + if (htmlbg) { + if (htmlbg[0] == '[') { + try { + htmlbg = JSON.parse(htmlbg); + if (!htmlbg) throw new Error(); + htmlbg = htmlbg[get.rand(htmlbg.length)]; + if (htmlbg.startsWith('custom_')) { + throw ('err'); + } + _status.htmlbg = htmlbg; + } + catch (e) { + htmlbg = null; + } + } + if (htmlbg) { + document.documentElement.style.backgroundImage = 'url("' + lib.assetURL + 'image/background/' + htmlbg + '.jpg")'; + document.documentElement.style.backgroundSize = 'cover'; + document.documentElement.style.backgroundPosition = '50% 50%'; + } + } +} + +function setServerIndex() { + const index = window.location.href.indexOf('index.html?server='); + if (index !== -1) { + Reflect.set(window, 'isNonameServer', window.location.href.slice(index + 18)); + Reflect.set(window, 'nodb', true); + } else { + const savedIndex = localStorage.getItem(lib.configprefix + 'asserver'); + if (savedIndex) { + Reflect.set(window, 'isNonameServer', savedIndex); + Reflect.set(window, 'isNonameServerIp', lib.hallURL); + } + } +} + +function setWindowListener() { + window.onkeydown = function (e) { + if (!Reflect.has(ui, 'menuContainer') || !Reflect.get(ui, 'menuContainer').classList.contains('hidden')) { + if (e.keyCode == 116 || ((e.ctrlKey || e.metaKey) && e.keyCode == 82)) { + if (e.shiftKey) { + if (confirm('是否重置游戏?')) { + var noname_inited = localStorage.getItem('noname_inited'); + var onlineKey = localStorage.getItem(lib.configprefix + 'key'); + localStorage.clear(); + if (noname_inited) { + localStorage.setItem('noname_inited', noname_inited); + } + if (onlineKey) { + localStorage.setItem(lib.configprefix + 'key', onlineKey); + } + if (indexedDB) indexedDB.deleteDatabase(lib.configprefix + 'data'); + game.reload(); + return; + } + } + else { + game.reload(); + } + } + else if (e.keyCode == 83 && (e.ctrlKey || e.metaKey)) { + if (Reflect.has(window, 'saveNonameInput')) { + Reflect.get(window, 'saveNonameInput')(); + } + e.preventDefault(); + e.stopPropagation(); + return false; + } + else if (e.keyCode == 74 && (e.ctrlKey || e.metaKey) && Reflect.has(lib, 'node')) { + Reflect.get(lib, 'node').debug(); + } + } + else { + game.closePopped(); + var dialogs = document.querySelectorAll('#window>.dialog.popped:not(.static)'); + for (var i = 0; i < dialogs.length; i++) { + // @ts-ignore + dialogs[i].delete(); + } + if (e.keyCode == 32) { + var node = Reflect.get(ui, 'window').querySelector('pausedbg'); + if (node) { + node.click(); + } + else { + ui.click.pause(); + } + } + else if (e.keyCode == 65) { + if (Reflect.has(ui, 'auto')) + Reflect.get(ui, 'auto').click(); + } + else if (e.keyCode == 87) { + if (Reflect.has(ui, 'wuxie') && Reflect.get(ui, 'wuxie').style.display != 'none') { + Reflect.get(ui, 'wuxie').classList.toggle('glow'); + } + else if (Reflect.has(ui, 'tempnowuxie')) { + Reflect.get(ui, 'tempnowuxie').classList.toggle('glow'); + } + } + else if (e.keyCode == 116 || ((e.ctrlKey || e.metaKey) && e.keyCode == 82)) { + if (e.shiftKey) { + if (confirm('是否重置游戏?')) { + var noname_inited = localStorage.getItem('noname_inited'); + var onlineKey = localStorage.getItem(lib.configprefix + 'key'); + localStorage.clear(); + if (noname_inited) { + localStorage.setItem('noname_inited', noname_inited); + } + if (onlineKey) { + localStorage.setItem(lib.configprefix + 'key', onlineKey); + } + if (indexedDB) indexedDB.deleteDatabase(lib.configprefix + 'data'); + game.reload(); + return; + } + } + else { + game.reload(); + } + } + else if (e.keyCode == 83 && (e.ctrlKey || e.metaKey)) { + e.preventDefault(); + e.stopPropagation(); + return false; + } + else if (e.keyCode == 74 && (e.ctrlKey || e.metaKey) && Reflect.has(lib, 'node')) { + Reflect.get(lib, 'node').debug(); + } + // else if(e.keyCode==27){ + // if(!ui.arena.classList.contains('paused')) ui.click.config(); + // } + } + }; + + window.onerror = function (msg, src, line, column, err) { + const winPath = window.__dirname ? ('file:///' + (__dirname.replace(new RegExp('\\\\', 'g'), '/') + '/')) : ''; + let str = `错误文件: ${typeof src == 'string' ? decodeURI(src).replace(lib.assetURL, '').replace(winPath, '') : '未知文件'}`; + str += `\n错误信息: ${msg}`; + const tip = lib.getErrorTip(msg); + if (tip) str += `\n错误提示: ${tip}`; + str += `\n行号: ${line}`; + str += `\n列号: ${column}`; + const version = Reflect.has(lib, 'version') ? Reflect.get(lib, 'version') : ''; + const reg = /[^\d.]/; + const match = version.match(reg) != null; + str += '\n' + `${match ? '游戏' : '无名杀'}版本: ${version || '未知版本'}`; + if (match) str += '\n⚠️您使用的游戏代码不是源于libccy/noname无名杀官方仓库,请自行寻找您所使用的游戏版本开发者反馈!'; + if (_status && _status.event) { + let evt = _status.event; + str += `\nevent.name: ${evt.name}\nevent.step: ${evt.step}`; + if (evt.parent) str += `\nevent.parent.name: ${evt.parent.name}\nevent.parent.step: ${evt.parent.step}`; + if (evt.parent && evt.parent.parent) str += `\nevent.parent.parent.name: ${evt.parent.parent.name}\nevent.parent.parent.step: ${evt.parent.parent.step}`; + if (evt.player || evt.target || evt.source || evt.skill || evt.card) { + str += '\n-------------'; + } + if (evt.player) { + if (lib.translate[evt.player.name]) str += `\nplayer: ${lib.translate[evt.player.name]}[${evt.player.name}]`; + else str += '\nplayer: ' + evt.player.name; + let distance = get.distance(_status.roundStart, evt.player, 'absolute'); + if (distance != Infinity) { + str += `\n座位号: ${distance + 1}`; + } + } + if (evt.target) { + if (lib.translate[evt.target.name]) str += `\ntarget: ${lib.translate[evt.target.name]}[${evt.target.name}]`; + else str += '\ntarget: ' + evt.target.name; + } + if (evt.source) { + if (lib.translate[evt.source.name]) str += `\nsource: ${lib.translate[evt.source.name]}[${evt.source.name}]`; + else str += '\nsource: ' + evt.source.name; + } + if (evt.skill) { + if (lib.translate[evt.skill]) str += `\nskill: ${lib.translate[evt.skill]}[${evt.skill}]`; + else str += '\nskill: ' + evt.skill; + } + if (evt.card) { + if (lib.translate[evt.card.name]) str += `\ncard: ${lib.translate[evt.card.name]}[${evt.card.name}]`; + else str += '\ncard: ' + evt.card.name; + } + } + str += '\n-------------'; + if (typeof line == 'number' && (typeof Reflect.get(game, 'readFile') == 'function' || location.origin != 'file://')) { + const createShowCode = function (lines) { + let showCode = ''; + if (lines.length >= 10) { + if (line > 4) { + for (let i = line - 5; i < line + 6 && i < lines.length; i++) { + showCode += `${i + 1}| ${line == i + 1 ? '⚠️' : ''}${lines[i]}\n`; + } + } else { + for (let i = 0; i < line + 6 && i < lines.length; i++) { + showCode += `${i + 1}| ${line == i + 1 ? '⚠️' : ''}${lines[i]}\n`; + } + } + } else { + showCode = lines.map((_line, i) => `${i + 1}| ${line == i + 1 ? '⚠️' : ''}${_line}\n`).toString(); + } + return showCode; + }; + //协议名须和html一致(网页端防跨域),且文件是js + if (typeof src == 'string' && src.startsWith(location.protocol) && src.endsWith('.js')) { + //获取代码 + const codes = lib.init.reqSync('local:' + decodeURI(src).replace(lib.assetURL, '').replace(winPath, '')); + if (codes) { + const lines = codes.split("\n"); + str += '\n' + createShowCode(lines); + str += '\n-------------'; + } + } + //解析parsex里的content fun内容(通常是技能content) + else if (err && err.stack && err.stack.split('\n')[1].trim().startsWith('at Object.eval [as content]')) { + const codes = _status.event.content; + if (typeof codes == 'function') { + const lines = codes.toString().split("\n"); + str += '\n' + createShowCode(lines); + str += '\n-------------'; + } + } + } + if (err && err.stack) str += '\n' + decodeURI(err.stack).replace(new RegExp(lib.assetURL, 'g'), '').replace(new RegExp(winPath, 'g'), ''); + alert(str); + Reflect.set(window, 'ea', Array.from(arguments)); + Reflect.set(window, 'em', msg); + Reflect.set(window, 'el', line); + Reflect.set(window, 'ec', column); + Reflect.set(window, 'eo', err); + game.print(str); + // @ts-ignore + if (!lib.config.errstop) { + _status.withError = true; + game.loop(); + } + }; +} diff --git a/noname/init/node.js b/noname/init/node.js new file mode 100644 index 000000000..58e32ad1f --- /dev/null +++ b/noname/init/node.js @@ -0,0 +1,161 @@ +// @ts-nocheck +import { Get as get } from '../get/index.js'; +import { Library as lib } from '../library/index.js'; +import { Game as game } from '../game/index.js'; +import { status as _status } from '../status/index.js'; +import { UI as ui } from '../ui/index.js'; + +export function nodeReady() { + lib.node = { + fs: require('fs'), + path: require("path"), + debug: function () { + require('electron').remote.getCurrentWindow().toggleDevTools(); + } + }; + lib.path = lib.node.path; + game.download = function (url, folder, onsuccess, onerror, dev, onprogress) { + if (!url.startsWith('http')) { + url = get.url(dev) + url; + } + game.ensureDirectory(folder, function () { + try { + var file = lib.node.fs.createWriteStream(__dirname + '/' + folder); + } + catch (e) { + onerror(); + } + lib.config.brokenFile.add(folder); + game.saveConfigValue('brokenFile'); + if (!lib.node.http) lib.node.http = require('http'); + if (!lib.node.https) lib.node.https = require('https'); + var opts = require('url').parse(encodeURI(url)); + opts.headers = { 'User-Agent': 'AppleWebkit' }; + (url.startsWith('https') ? lib.node.https : lib.node.http).get(opts, function (response) { + var stream = response.pipe(file); + stream.on('finish', function () { + lib.config.brokenFile.remove(folder); + game.saveConfigValue('brokenFile'); + if (onsuccess) { + onsuccess(); + } + }); + stream.on('error', onerror); + if (onprogress) { + var streamInterval = setInterval(function () { + if (stream.closed) { + clearInterval(streamInterval); + } + else { + onprogress(stream.bytesWritten); + } + }, 200); + } + }); + }, true); + }; + game.readFile = function (filename, callback, onerror) { + lib.node.fs.readFile(__dirname + '/' + filename, function (err, data) { + if (err) { + onerror(err); + } + else { + callback(data); + } + }); + }; + game.readFileAsText = function (filename, callback, onerror) { + lib.node.fs.readFile(__dirname + '/' + filename, 'utf-8', function (err, data) { + if (err) { + onerror(err); + } + else { + callback(data); + } + }); + }; + game.writeFile = function (data, path, name, callback) { + game.ensureDirectory(path, function () { + if (Object.prototype.toString.call(data) == '[object File]') { + var fileReader = new FileReader(); + fileReader.onload = function (e) { + game.writeFile(e.target.result, path, name, callback); + }; + fileReader.readAsArrayBuffer(data, "UTF-8"); + } + else { + get.zip(function (zip) { + zip.file('i', data); + lib.node.fs.writeFile(__dirname + '/' + path + '/' + name, zip.files.i.asNodeBuffer(), null, callback); + }); + } + }); + }; + game.removeFile = function (filename, callback) { + lib.node.fs.unlink(__dirname + '/' + filename, callback || function () { }); + }; + game.getFileList = (dir, success, failure) => { + var files = [], folders = []; + dir = __dirname + '/' + dir; + if (typeof failure == "undefined") { + failure = err => { + throw err; + }; + } + else if (failure == null) { + failure = () => { }; + } + try { + lib.node.fs.readdir(dir, (err, filelist) => { + if (err) { + failure(err); + return; + } + for (var i = 0; i < filelist.length; i++) { + if (filelist[i][0] != '.' && filelist[i][0] != '_') { + if (lib.node.fs.statSync(dir + '/' + filelist[i]).isDirectory()) { + folders.push(filelist[i]); + } + else { + files.push(filelist[i]); + } + } + } + success(folders, files); + }); + } + catch (e) { + failure(e); + } + }; + game.ensureDirectory = (list, callback, file) => { + const directoryList = typeof list == 'string' ? [list] : list.slice().reverse(), number = file ? 1 : 0, access = (path, directory, createDirectory) => { + if (directory.length <= number) { + createDirectory(); + return; + } + path += `/${directory.pop()}`; + const fullPath = `${__dirname}${path}`; + return new Promise((resolve, reject) => lib.node.fs.access(fullPath, errnoException => { + if (errnoException) reject(); + else resolve(); + })).catch(() => new Promise((resolve, reject) => lib.node.fs.mkdir(fullPath, errnoException => { + if (errnoException) reject(errnoException); + else resolve(); + }))).then(() => access(path, directory, createDirectory), console.log); + }; + return new Promise(resolve => { + const createDirectory = () => { + if (directoryList.length) access('', directoryList.pop().split('/').reverse(), createDirectory); + else { + if (typeof callback == 'function') callback(); + resolve(); + } + }; + createDirectory(); + }); + }; + if (ui.updateUpdate) { + ui.updateUpdate(); + } +} diff --git a/noname/init/polyfill.js b/noname/init/polyfill.js new file mode 100644 index 000000000..f14356f45 --- /dev/null +++ b/noname/init/polyfill.js @@ -0,0 +1,517 @@ +// @ts-nocheck +import { Get as get } from '../get/index.js'; +import { Library as lib } from '../library/index.js'; +import { Game as game } from '../game/index.js'; +import { status as _status } from '../status/index.js'; +import { UI as ui } from '../ui/index.js'; + +HTMLDivElement.prototype.animate = function (name, time) { + var that; + if (get.is.mobileMe(this) && name == 'target') { + that = ui.mebg; + } + else { + that = this; + } + that.classList.add(name); + setTimeout(function () { + that.classList.remove(name); + }, time || 1000); + return this; +}; +HTMLDivElement.prototype.hide = function () { + this.classList.add('hidden'); + return this; +}; +HTMLDivElement.prototype.unfocus = function () { + if (lib.config.transparent_dialog) this.classList.add('transparent'); + return this; +}; +HTMLDivElement.prototype.refocus = function () { + this.classList.remove('transparent'); + return this; +}; +HTMLDivElement.prototype.show = function () { + this.classList.remove('hidden'); + return this; +}; +HTMLDivElement.prototype.delete = function (time, callback) { + if (this.timeout) { + clearTimeout(this.timeout); + delete this.timeout; + } + if (!this._listeningEnd || this._transitionEnded) { + if (typeof time != 'number') time = 500; + this.classList.add('removing'); + var that = this; + this.timeout = setTimeout(function () { + that.remove(); + that.classList.remove('removing'); + if (typeof callback == 'function') { + callback(); + } + }, time); + } + else { + this._onEndDelete = true; + } + return this; +}; +HTMLDivElement.prototype.goto = function (position, time) { + if (this.timeout) { + clearTimeout(this.timeout); + delete this.timeout; + } + + if (typeof time != 'number') time = 500; + this.classList.add('removing'); + + var that = this; + this.timeout = setTimeout(function () { + if (!that._selfDestroyed) { + position.appendChild(that); + } + that.classList.remove('removing'); + delete that.destiny; + }, time); + this.destiny = position; + return this; +}; +HTMLDivElement.prototype.fix = function () { + clearTimeout(this.timeout); + delete this.timeout; + delete this.destiny; + this.classList.remove('removing'); + return this; +}; +Reflect.defineProperty(HTMLDivElement.prototype, 'setBackground', { + configurable: true, + enumerable: false, + writable: true, + value: function (name, type, ext, subfolder) { + if (!name) return; + let src; + if (ext == 'noskin') ext = '.jpg'; + ext = ext || '.jpg'; + subfolder = subfolder || 'default'; + if (type) { + let dbimage = null, extimage = null, modeimage = null, nameinfo, gzbool = false; + const mode = get.mode(); + if (type == 'character') { + if (lib.characterPack[`mode_${mode}`] && lib.characterPack[`mode_${mode}`][name]) { + if (mode == 'guozhan') { + nameinfo = lib.character[name]; + if (name.startsWith('gz_shibing')) name = name.slice(3, 11); + else { + if (lib.config.mode_config.guozhan.guozhanSkin && lib.character[name] && lib.character[name][4].contains('gzskin')) gzbool = true; + name = name.slice(3); + } + } + else modeimage = mode; + } + else if (name.includes('::')) { + name = name.split('::'); + modeimage = name[0]; + name = name[1]; + } + else { + nameinfo = get.character(name); + } + } + if (!modeimage && nameinfo && nameinfo[4]) for (const value of nameinfo[4]) { + if (value.startsWith('ext:')) { + extimage = value; + break; + } + else if (value.startsWith('db:')) { + dbimage = value; + break; + } + else if (value.startsWith('mode:')) { + modeimage = value.slice(5); + break; + } + else if (value.startsWith('character:')) { + name = value.slice(10); + break; + } + } + if (extimage) src = extimage.replace(/^ext:/, 'extension/'); + else if (dbimage) { + this.setBackgroundDB(dbimage.slice(3)); + return this; + } + else if (modeimage) src = `image/mode/${modeimage}/character/${name}${ext}`; + else if (type == 'character' && lib.config.skin[name] && arguments[2] != 'noskin') src = `image/skin/${name}/${lib.config.skin[name]}${ext}`; + else if (type == 'character') { + src = `image/character/${gzbool ? 'gz_' : ''}${name}${ext}`; + } + else src = `image/${type}/${subfolder}/${name}${ext}`; + } + else src = `image/${name}${ext}`; + this.setBackgroundImage(src); + this.style.backgroundPositionX = 'center'; + this.style.backgroundSize = 'cover'; + if (type === 'character') { + const nameinfo = get.character(name); + const sex = nameinfo ? nameinfo[0] : 'male'; + this.style.backgroundImage = [ + this.style.backgroundImage, + `url("${lib.assetURL}image/character/default_silhouette_${sex}${ext}")`, + `url("${lib.assetURL}image/character/default_silhouette_male${ext}")`, + ].join(","); + } + return this; + } +}); +HTMLDivElement.prototype.setBackgroundDB = function (img) { + return game.getDB('image', img).then(src => { + this.style.backgroundImage = `url('${src}')`; + this.style.backgroundSize = "cover"; + return this; + }); +}; +HTMLDivElement.prototype.setBackgroundImage = function (img) { + this.style.backgroundImage = `url("${lib.assetURL}${img}")`; + return this; +}, + HTMLDivElement.prototype.listen = function (func) { + if (lib.config.touchscreen) { + this.addEventListener('touchend', function (e) { + if (!_status.dragged) { + func.call(this, e); + } + }); + var fallback = function (e) { + if (!_status.touchconfirmed) { + func.call(this, e); + } + else { + this.removeEventListener('click', fallback); + } + } + this.addEventListener('click', fallback); + } + else { + this.addEventListener('click', func); + } + return this; + }; +HTMLDivElement.prototype.listenTransition = function (func, time) { + let done = false; + const callback = () => { + if (!done) { + done = true; + func.call(this); + } + clearTimeout(timer); + this.removeEventListener('webkitTransitionEnd', callback); + }; + const timer = setTimeout(callback, time || 1000); + this.addEventListener('webkitTransitionEnd', callback); + return timer; +}; +HTMLDivElement.prototype.setPosition = function () { + var position; + if (arguments.length == 4) { + position = []; + for (var i = 0; i < arguments.length; i++) position.push(arguments[i]); + } + else if (arguments.length == 1 && Array.isArray(arguments[0]) && arguments[0].length == 4) { + position = arguments[0]; + } + else { + return this; + } + var top = 'calc(' + position[0] + '% '; + if (position[1] > 0) top += '+ ' + position[1] + 'px)'; + else top += '- ' + Math.abs(position[1]) + 'px)'; + var left = 'calc(' + position[2] + '% '; + if (position[3] > 0) left += '+ ' + position[3] + 'px)'; + else left += '- ' + Math.abs(position[3]) + 'px)'; + this.style.top = top; + this.style.left = left; + return this; +}; +HTMLDivElement.prototype.css = function (style) { + for (var i in style) { + if (i == 'innerHTML') { + this.innerHTML = style[i]; + } + else { + this.style[i] = style[i]; + } + } + return this; +}; +HTMLTableElement.prototype.get = function (row, col) { + if (row < this.childNodes.length) { + return this.childNodes[row].childNodes[col]; + } +}; +/*处理lib.nature的兼容性问题*/ +const mapHasFunc = function (item) { + return this.has(item) +}; +Object.defineProperty(Map.prototype, "contains", { + configurable: true, + enumerable: false, + writable: true, + value: mapHasFunc +}); +Object.defineProperty(Map.prototype, "includes", { + configurable: true, + enumerable: false, + writable: true, + value: mapHasFunc +}); +const mapAddFunc = function (item) { + this.set(item, 0); + return this; +} +Object.defineProperty(Map.prototype, "add", { + configurable: true, + enumerable: false, + writable: true, + value: mapAddFunc +}); +Object.defineProperty(Map.prototype, "push", { + configurable: true, + enumerable: false, + writable: true, + value: mapAddFunc +}); +Object.defineProperty(Map.prototype, "addArray", { + configurable: true, + enumerable: false, + writable: true, + value: function (arr) { + for (var i = 0; i < arr.length; i++) { + this.add(arr[i]); + } + return this; + } +}); +Object.defineProperty(Map.prototype, "remove", { + configurable: true, + enumerable: false, + writable: true, + value: function (item) { + this.delete(item); + return this; + } +}); +/*Map prototype end*/ +Object.defineProperty(Array.prototype, "filterInD", { + configurable: true, + enumerable: false, + writable: true, + value: function (pos) { + if (typeof pos != 'string') pos = 'o'; + return this.filter(card => pos.includes(get.position(card, true))); + } +}); +Object.defineProperty(Array.prototype, "someInD", { + configurable: true, + enumerable: false, + writable: true, + value: function (pos) { + if (typeof pos != 'string') pos = 'o'; + return this.some(card => pos.includes(get.position(card, true))); + } +}); +Object.defineProperty(Array.prototype, "everyInD", { + configurable: true, + enumerable: false, + writable: true, + value: function (pos) { + if (typeof pos != 'string') pos = 'o'; + return this.every(card => pos.includes(get.position(card, true))); + } +}); +/** +*@legacy Use {@link Array#includes} instead. + */ +Object.defineProperty(Array.prototype, "contains", { + configurable: true, + enumerable: false, + writable: true, + value: Array.prototype.includes +}); +Object.defineProperty(Array.prototype, "containsSome", { + configurable: true, + enumerable: false, + writable: true, + value: function () { + return Array.from(arguments).some(i => this.includes(i)); + } +}); +Object.defineProperty(Array.prototype, "containsAll", { + configurable: true, + enumerable: false, + writable: true, + value: function () { + return Array.from(arguments).every(i => this.includes(i)); + } +}); + +Object.defineProperty(Array.prototype, "add", { + configurable: true, + enumerable: false, + writable: true, + value: function () { + for (const arg of arguments) { + if (this.contains(arg)) continue; + this.push(arg); + } + return this; + } +}); +Object.defineProperty(Array.prototype, "addArray", { + configurable: true, + enumerable: false, + writable: true, + value: function () { + for (const arr of arguments) { + for (const item of arr) this.add(item); + } + return this; + } +}); +Object.defineProperty(Array.prototype, "remove", { + configurable: true, + enumerable: false, + writable: true, + value: function () { + for (const item of arguments) { + let pos = -1; + if (typeof item == 'number' && isNaN(item)) { + pos = this.findIndex(v => isNaN(v)) + } else { + pos = this.indexOf(item); + } + if (pos == -1) continue; + this.splice(pos, 1); + } + return this; + } +}); +Object.defineProperty(Array.prototype, "removeArray", { + configurable: true, + enumerable: false, + writable: true, + value: function () { + for (const i of Array.from(arguments)) this.remove(...i); + return this; + } +}); +Object.defineProperty(Array.prototype, "unique", { + configurable: true, + enumerable: false, + writable: true, + value: function () { + let uniqueArray = [...new Set(this)]; + this.length = uniqueArray.length; + for (let i = 0; i < uniqueArray.length; i++) this[i] = uniqueArray[i]; + return this; + } +}); +Object.defineProperty(Array.prototype, "toUniqued", { + configurable: true, + enumerable: false, + writable: true, + value: function () { + return [...new Set(this)]; + } +}); +Object.defineProperty(Array.prototype, "randomGet", { + configurable: true, + enumerable: false, + writable: true, + value: function () { + let arr = this.slice(0); + arr.removeArray(Array.from(arguments)); + return arr[Math.floor(Math.random() * arr.length)]; + } +}); +Object.defineProperty(Array.prototype, "randomGets", { + configurable: true, + enumerable: false, + writable: true, + value: function (num) { + if (num > this.length) num = this.length; + let arr = this.slice(0); + let list = []; + for (let i = 0; i < num; i++) { + list.push(arr.splice(Math.floor(Math.random() * arr.length), 1)[0]); + } + return list; + } +}); +Object.defineProperty(Array.prototype, "randomRemove", { + configurable: true, + enumerable: false, + writable: true, + value: function (num) { + if (typeof num == 'number') { + let list = []; + for (let i = 0; i < num; i++) { + if (!this.length) break; + list.push(this.randomRemove()); + } + return list; + } + return this.splice(Math.floor(Math.random() * this.length), 1)[0]; + } +}); +Object.defineProperty(Array.prototype, "randomSort", { + configurable: true, + enumerable: false, + writable: true, + value: function () { + let list = []; + while (this.length) { + list.push(this.randomRemove()); + } + for (let i = 0; i < list.length; i++) { + this.push(list[i]); + } + return this; + } +}); +Object.defineProperty(Array.prototype, "sortBySeat", { + configurable: true, + enumerable: false, + writable: true, + value: function (target) { + lib.tempSortSeat = target; + this.sort(lib.sort.seat); + delete lib.tempSortSeat; + return this; + } +}); +/** +*@description 从数组中寻找某个特征最大的,且通过筛选的第一个元素 + */ +Object.defineProperty(Array.prototype, "maxBy", { + configurable: true, + enumerable: false, + writable: true, + value: function (sortBy, filter) { + let list = this.filter(filter || (() => true)); + if (sortBy && typeof sortBy == 'function') list.sort((a, b) => sortBy(a) - sortBy(b)); + else list.sort(); + return list[list.length - 1]; + } +}); +Object.defineProperty(Array.prototype, "minBy", { + configurable: true, + enumerable: false, + writable: true, + value: function (sortBy, filter) { + let list = this.filter(filter || (() => true)); + if (sortBy && typeof sortBy == 'function') list.sort((a, b) => sortBy(a) - sortBy(b)); + else list.sort(); + return list[0]; + } +}); diff --git a/noname/library/announce/index.d.ts b/noname/library/announce/index.d.ts new file mode 100644 index 000000000..7c41545d0 --- /dev/null +++ b/noname/library/announce/index.d.ts @@ -0,0 +1,51 @@ +export interface IAnnounceSubscriber { + subscribe(name: string): void; + unsubscribe(name: string): void; + + get isEmpty(): boolean +} + +export type AnnounceSubscriberType = new ( + content: (value: T, name: string) => void, + target: EventTarget +) => IAnnounceSubscriber; + +export class Announce { + constructor(eventTarget: EventTarget, records: WeakMap<((arg0: any) => void), IAnnounceSubscriber>, SubscriberType: AnnounceSubscriberType = AnnounceSubscriber) + + /** + * 推送任意数据给所有监听了指定事件的订阅者,并返回给定的数据 + * + * 若不存在订阅指定事件的订阅者,则推送的数据将无意义 + * + * @param name - 要推送事件的名称 + * @param values - 要推送的数据 + */ + publish(name: string, values: T): T + + /** + * 订阅给定名字的事件,并返回给定的函数 + * + * 在事件触发时执行给定的函数 + * + * 给定的函数将被存储至当前实例中,用于取消订阅时获取 + * + * @param name - 要订阅事件的名称 + * @param method - 事件触发时执行的函数 + */ + subscribe(name: string, method: (values: T) => void): (values: T) => void + + /** + * 取消指定事件某一个函数的订阅,并返回该函数 + * + * 给定的函数将不再于事件触发时执行,其余同事件需触发的函数不受限制 + * + * @param name - 要取消订阅事件的名称 + * @param method - 订阅指定事件的函数 + */ + unsubscribe(name: string, method: (values: T) => void): (values: T) => void +} + +export class AnnounceSubscriber implements IAnnounceSubscriber { + constructor(content: (value: T, name: string) => void, target: EventTarget) +} diff --git a/game/src/lib/announce.js b/noname/library/announce/index.js similarity index 80% rename from game/src/lib/announce.js rename to noname/library/announce/index.js index a3e8e17f6..348f4fa61 100644 --- a/game/src/lib/announce.js +++ b/noname/library/announce/index.js @@ -5,6 +5,14 @@ */ const vm = new WeakMap(); +/** + * @template T + * @typedef {import("./index").AnnounceSubscriberType} AnnounceSubscriberType + */ +/** + * @typedef {import("./index").IAnnounceSubscriber} IAnnounceSubscriber + */ + /** * */ @@ -15,20 +23,20 @@ export class Announce { #eventTarget; /** - * @type {WeakMap} + * @type {WeakMap} */ #records; /** - * @type {FunctionConstructor} + * @type {AnnounceSubscriberType} */ #SubscriberType; /** * * @param {EventTarget} eventTarget - * @param {WeakMap} records - * @param {FunctionConstructor} [SubscriberType] + * @param {WeakMap} records + * @param {AnnounceSubscriberType} [SubscriberType] */ constructor(eventTarget, records, SubscriberType = AnnounceSubscriber) { this.#eventTarget = eventTarget; @@ -73,6 +81,7 @@ export class Announce { subscriber = new this.#SubscriberType(method, this.#eventTarget); this.#records.set(method, subscriber); } + if (!subscriber) throw new Error() subscriber.subscribe(name); return method; } @@ -90,6 +99,7 @@ export class Announce { unsubscribe(name, method) { if (this.#records.has(method)) { const subscriber = this.#records.get(method); + if (!subscriber) throw new Error() subscriber.unsubscribe(name); if (subscriber.isEmpty) this.#records.delete(method); @@ -101,7 +111,7 @@ export class Announce { /** * @template T */ -class AnnounceSubscriber { +export class AnnounceSubscriber { /** * @type {function(CustomEvent): void} */ @@ -134,12 +144,19 @@ class AnnounceSubscriber { * @param {string} name */ subscribe(name) { + // @ts-expect-error MustHave vm.get(this).addEventListener(name, this.#content); + // @ts-expect-error NonameDefine this.#listening.add(name); } - unsubscribe() { + /** + * @param {string} name + */ + unsubscribe(name) { + // @ts-expect-error MustHave vm.get(this).removeEventListener(name, this.#content); + // @ts-expect-error NonameDefine this.#listening.remove(name); } } diff --git a/noname/library/index.js b/noname/library/index.js index 7748d6e5e..a7b67e5a3 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -14,6 +14,9 @@ import { status as _status } from '../status/index.js'; import { UI as ui } from '../ui/index.js'; import { GNC as gnc } from '../gnc/index.js'; +import { LibInit } from "./init/index.js"; +import { Announce } from "./announce/index.js"; + export class Library extends Uninstantable { static configprefix = 'noname_0.9_'; static versionOL = 27; @@ -385,89 +388,7 @@ export class Library extends Uninstantable { * // 若此时乙扩展不想继续订阅`skinChange`事件,可以通过`unsubscribe`解除订阅 * lib.announce.unsubscribe("skinChange", method); */ - static announce = new class { - constructor() { - /** - * @type {HTMLElement} - */ - this._announce = document.createElement("Announce"); - /** - * @type {Map} - */ - this._announce_cache = new Map(); - } - - /** - * 推送任意数据给所有监听了指定事件的订阅者,并返回给定的数据 - * - * 若不存在订阅指定事件的订阅者,则推送的数据将无意义 - * - * @template T - * @param {string} name - 要推送事件的名称 - * @param {T} values - 要推送的数据 - * @returns {T} - */ - publish(name, values) { - if (this._announce) this._announce.dispatchEvent(new CustomEvent(name, { - detail: values - })); - return values; - } - - /** - * 订阅给定名字的事件,并返回给定的函数 - * - * 在事件触发时执行给定的函数 - * - * 给定的函数将被存储至当前实例中,用于取消订阅时获取 - * - * @template T - * @param {string} name - 要订阅事件的名称 - * @param {(values: T) => void} method - 事件触发时执行的函数 - * @returns {(values: T) => void} - */ - subscribe(name, method) { - if (this._announce && this._announce_cache) { - let subscribeFunction; - if (this._announce_cache.has(method)) { - let records = this._announce_cache.get(method); - subscribeFunction = records.get("Listener"); - records.get("EventTargets").add(name); - } - else { - subscribeFunction = event => method(event.detail); - let records = new Map(); - records.set("Listener", subscribeFunction); - records.set("EventTargets", [name]); - this._announce_cache.set(method, records); - } - this._announce.addEventListener(name, subscribeFunction); - } - return method; - } - - /** - * 取消指定事件某一函数的订阅,并返回该函数 - * - * 给定的函数将不再于事件触发时执行,其余同事件需触发的函数不受限制 - * - * @template T - * @param {string} name - 要取消订阅事件的名称 - * @param {(values: T) => void} method - 订阅指定事件的函数 - * @returns {(values: T) => void} - */ - unsubscribe(name, method) { - if (this._announce && this._announce_cache && this._announce_cache.has(method)) { - let records = this._announce_cache.get(method); - const listener = records.get("Listener"); - let eventTargets = records.get("EventTargets"); - eventTargets.remove(name); - if (eventTargets.length <= 0) this._announce_cache.remove(method); - this._announce.removeEventListener(name, listener); - } - return method; - } - }; + static announce = new Announce(new EventTarget(), new WeakMap()) static objectURL = new Map(); static hookmap = {}; static imported = {}; @@ -8396,3384 +8317,7 @@ export class Library extends Uninstantable { } } } - static init = { - /** - * 部分函数的Promise版本 - */ - promises: { - /** - * Promise版的`lib.init.js` - * - * @param {string} path - 文件路径 - * @param {string | string[]} [file] - 文件名或文件名组,忽略则直接读取`path`的内容 - * @returns {Promise} - */ - js: (path, file) => new Promise((resolve, reject) => lib.init.js(path, file, resolve, reject)), - - /** - * Promise版的`lib.init.css` - * - * @param {string} path - 文件路径 - * @param {string | string[]} [file] - 文件名或文件名组,忽略则直接读取`path`的内容 - * @param {Element} [before] 新样式dom的位置 - * @returns {Promise} - */ - css: (path, file, before) => new Promise((resolve, reject) => { - const style = lib.init.css(path, file, before); - style.addEventListener("load", () => resolve(style)); - style.addEventListener("error", reject); - }), - - /** - * Promise版的`lib.init.req` - * - * @param {string} str - 要读取的地址 - * @param {string} [master] - * @returns {Promise} - */ - req: (str, master) => new Promise((resolve, reject) => lib.init.req(str, resolve, reject, master)), - - /** - * Promise版的`lib.init.json` - * - * @param {string} url - 要读取的地址 - * @returns {Promise} - */ - json: (url) => new Promise((resolve, reject) => lib.init.json(url, resolve, reject)), - - /** - * Promise版的`lib.init.sheet` - * - * @returns {Promise} - */ - sheet() { - return new Promise((resolve, reject) => { - const style = lib.init.sheet.apply(lib.init, arguments); - style.addEventListener("load", () => resolve(style)); - style.addEventListener("error", reject); - }) - } - }, - init: function () { - if (typeof __dirname === 'string' && __dirname.length) { - var dirsplit = __dirname.split('/'); - for (var i = 0; i < dirsplit.length; i++) { - if (dirsplit[i]) { - var c = dirsplit[i][0]; - lib.configprefix += /[A-Z]|[a-z]/.test(c) ? c : '_'; - } - } - lib.configprefix += '_'; - } - window.resetGameTimeout = setTimeout(lib.init.reset, parseInt(localStorage.getItem(lib.configprefix + 'loadtime')) || 10000); - if (window.cordovaLoadTimeout) { - clearTimeout(window.cordovaLoadTimeout); - delete window.cordovaLoadTimeout; - } - var links = document.head.querySelectorAll('link'); - for (var i = 0; i < links.length; i++) { - if (links[i].href.includes('app/color.css')) { - links[i].remove(); - break; - } - } - var index = window.location.href.indexOf('index.html?server='); - if (index != -1) { - window.isNonameServer = window.location.href.slice(index + 18); - window.nodb = true; - } - else { - index = localStorage.getItem(lib.configprefix + 'asserver'); - if (index) { - window.isNonameServer = index; - window.isNonameServerIp = lib.hallURL; - } - } - - var htmlbg = localStorage.getItem(lib.configprefix + 'background'); - if (htmlbg) { - if (htmlbg[0] == '[') { - try { - htmlbg = JSON.parse(htmlbg); - htmlbg = htmlbg[get.rand(htmlbg.length)]; - if (htmlbg.startsWith('custom_')) { - throw ('err'); - } - _status.htmlbg = htmlbg; - } - catch (e) { - htmlbg = null; - } - } - if (htmlbg) { - document.documentElement.style.backgroundImage = 'url("' + lib.assetURL + 'image/background/' + htmlbg + '.jpg")'; - document.documentElement.style.backgroundSize = 'cover'; - document.documentElement.style.backgroundPosition = '50% 50%'; - } - } - - lib.get = get; - lib.ui = ui; - lib.ai = ai; - lib.game = game; - _status.event = lib.element.GameEvent.initialGameEvent(); - - HTMLDivElement.prototype.animate = function (name, time) { - var that; - if (get.is.mobileMe(this) && name == 'target') { - that = ui.mebg; - } - else { - that = this; - } - that.classList.add(name); - setTimeout(function () { - that.classList.remove(name); - }, time || 1000); - return this; - }; - HTMLDivElement.prototype.hide = function () { - this.classList.add('hidden'); - return this; - }; - HTMLDivElement.prototype.unfocus = function () { - if (lib.config.transparent_dialog) this.classList.add('transparent'); - return this; - }; - HTMLDivElement.prototype.refocus = function () { - this.classList.remove('transparent'); - return this; - }; - HTMLDivElement.prototype.show = function () { - this.classList.remove('hidden'); - return this; - }; - HTMLDivElement.prototype.delete = function (time, callback) { - if (this.timeout) { - clearTimeout(this.timeout); - delete this.timeout; - } - if (!this._listeningEnd || this._transitionEnded) { - if (typeof time != 'number') time = 500; - this.classList.add('removing'); - var that = this; - this.timeout = setTimeout(function () { - that.remove(); - that.classList.remove('removing'); - if (typeof callback == 'function') { - callback(); - } - }, time); - } - else { - this._onEndDelete = true; - } - return this; - }; - HTMLDivElement.prototype.goto = function (position, time) { - if (this.timeout) { - clearTimeout(this.timeout); - delete this.timeout; - } - - if (typeof time != 'number') time = 500; - this.classList.add('removing'); - - var that = this; - this.timeout = setTimeout(function () { - if (!that._selfDestroyed) { - position.appendChild(that); - } - that.classList.remove('removing'); - delete that.destiny; - }, time); - this.destiny = position; - return this; - }; - HTMLDivElement.prototype.fix = function () { - clearTimeout(this.timeout); - delete this.timeout; - delete this.destiny; - this.classList.remove('removing'); - return this; - }; - Object.defineProperty(HTMLDivElement.prototype, 'setBackground', { - configurable: true, - enumerable: false, - writable: true, - value: function (name, type, ext, subfolder) { - if (!name) return; - let src; - if (ext == 'noskin') ext = '.jpg'; - ext = ext || '.jpg'; - subfolder = subfolder || 'default'; - if (type) { - let dbimage = null, extimage = null, modeimage = null, nameinfo, gzbool = false; - const mode = get.mode(); - if (type == 'character') { - if (lib.characterPack[`mode_${mode}`] && lib.characterPack[`mode_${mode}`][name]) { - if (mode == 'guozhan') { - nameinfo = lib.character[name]; - if (name.startsWith('gz_shibing')) name = name.slice(3, 11); - else { - if (lib.config.mode_config.guozhan.guozhanSkin && lib.character[name] && lib.character[name][4].contains('gzskin')) gzbool = true; - name = name.slice(3); - } - } - else modeimage = mode; - } - else if (name.includes('::')) { - name = name.split('::'); - modeimage = name[0]; - name = name[1]; - } - else { - nameinfo = get.character(name); - } - } - if (!modeimage && nameinfo && nameinfo[4]) for (const value of nameinfo[4]) { - if (value.startsWith('ext:')) { - extimage = value; - break; - } - else if (value.startsWith('db:')) { - dbimage = value; - break; - } - else if (value.startsWith('mode:')) { - modeimage = value.slice(5); - break; - } - else if (value.startsWith('character:')) { - name = value.slice(10); - break; - } - } - if (extimage) src = extimage.replace(/^ext:/, 'extension/'); - else if (dbimage) { - this.setBackgroundDB(dbimage.slice(3)); - return this; - } - else if (modeimage) src = `image/mode/${modeimage}/character/${name}${ext}`; - else if (type == 'character' && lib.config.skin[name] && arguments[2] != 'noskin') src = `image/skin/${name}/${lib.config.skin[name]}${ext}`; - else if (type == 'character') { - src = `image/character/${gzbool ? 'gz_' : ''}${name}${ext}`; - } - else src = `image/${type}/${subfolder}/${name}${ext}`; - } - else src = `image/${name}${ext}`; - this.setBackgroundImage(src); - this.style.backgroundPositionX = 'center'; - this.style.backgroundSize = 'cover'; - if (type === 'character') { - const nameinfo = get.character(name); - const sex = nameinfo ? nameinfo[0] : 'male'; - this.style.backgroundImage = [ - this.style.backgroundImage, - `url("${lib.assetURL}image/character/default_silhouette_${sex}${ext}")`, - `url("${lib.assetURL}image/character/default_silhouette_male${ext}")`, - ].join(","); - } - return this; - } - }); - HTMLDivElement.prototype.setBackgroundDB = function (img) { - return game.getDB('image', img).then(src => { - this.style.backgroundImage = `url('${src}')`; - this.style.backgroundSize = "cover"; - return this; - }); - }; - HTMLDivElement.prototype.setBackgroundImage = function (img) { - this.style.backgroundImage = `url("${lib.assetURL}${img}")`; - return this; - }, - HTMLDivElement.prototype.listen = function (func) { - if (lib.config.touchscreen) { - this.addEventListener('touchend', function (e) { - if (!_status.dragged) { - func.call(this, e); - } - }); - var fallback = function (e) { - if (!_status.touchconfirmed) { - func.call(this, e); - } - else { - this.removeEventListener('click', fallback); - } - } - this.addEventListener('click', fallback); - } - else { - this.addEventListener('click', func); - } - return this; - }; - HTMLDivElement.prototype.listenTransition = function (func, time) { - let done = false; - const callback = () => { - if (!done) { - done = true; - func.call(this); - } - clearTimeout(timer); - this.removeEventListener('webkitTransitionEnd', callback); - }; - const timer = setTimeout(callback, time || 1000); - this.addEventListener('webkitTransitionEnd', callback); - return timer; - }; - HTMLDivElement.prototype.setPosition = function () { - var position; - if (arguments.length == 4) { - position = []; - for (var i = 0; i < arguments.length; i++) position.push(arguments[i]); - } - else if (arguments.length == 1 && Array.isArray(arguments[0]) && arguments[0].length == 4) { - position = arguments[0]; - } - else { - return this; - } - var top = 'calc(' + position[0] + '% '; - if (position[1] > 0) top += '+ ' + position[1] + 'px)'; - else top += '- ' + Math.abs(position[1]) + 'px)'; - var left = 'calc(' + position[2] + '% '; - if (position[3] > 0) left += '+ ' + position[3] + 'px)'; - else left += '- ' + Math.abs(position[3]) + 'px)'; - this.style.top = top; - this.style.left = left; - return this; - }; - HTMLDivElement.prototype.css = function (style) { - for (var i in style) { - if (i == 'innerHTML') { - this.innerHTML = style[i]; - } - else { - this.style[i] = style[i]; - } - } - return this; - }; - HTMLTableElement.prototype.get = function (row, col) { - if (row < this.childNodes.length) { - return this.childNodes[row].childNodes[col]; - } - }; - /*处理lib.nature的兼容性问题*/ - const mapHasFunc = function (item) { - return this.has(item) - }; - Object.defineProperty(Map.prototype, "contains", { - configurable: true, - enumerable: false, - writable: true, - value: mapHasFunc - }); - Object.defineProperty(Map.prototype, "includes", { - configurable: true, - enumerable: false, - writable: true, - value: mapHasFunc - }); - const mapAddFunc = function (item) { - this.set(item, 0); - return this; - } - Object.defineProperty(Map.prototype, "add", { - configurable: true, - enumerable: false, - writable: true, - value: mapAddFunc - }); - Object.defineProperty(Map.prototype, "push", { - configurable: true, - enumerable: false, - writable: true, - value: mapAddFunc - }); - Object.defineProperty(Map.prototype, "addArray", { - configurable: true, - enumerable: false, - writable: true, - value: function (arr) { - for (var i = 0; i < arr.length; i++) { - this.add(arr[i]); - } - return this; - } - }); - Object.defineProperty(Map.prototype, "remove", { - configurable: true, - enumerable: false, - writable: true, - value: function (item) { - this.delete(item); - return this; - } - }); - /*Map prototype end*/ - Object.defineProperty(Array.prototype, "filterInD", { - configurable: true, - enumerable: false, - writable: true, - value: function (pos) { - if (typeof pos != 'string') pos = 'o'; - return this.filter(card => pos.includes(get.position(card, true))); - } - }); - Object.defineProperty(Array.prototype, "someInD", { - configurable: true, - enumerable: false, - writable: true, - value: function (pos) { - if (typeof pos != 'string') pos = 'o'; - return this.some(card => pos.includes(get.position(card, true))); - } - }); - Object.defineProperty(Array.prototype, "everyInD", { - configurable: true, - enumerable: false, - writable: true, - value: function (pos) { - if (typeof pos != 'string') pos = 'o'; - return this.every(card => pos.includes(get.position(card, true))); - } - }); - /** - *@legacy Use {@link Array#includes} instead. - */ - Object.defineProperty(Array.prototype, "contains", { - configurable: true, - enumerable: false, - writable: true, - value: Array.prototype.includes - }); - Object.defineProperty(Array.prototype, "containsSome", { - configurable: true, - enumerable: false, - writable: true, - value: function () { - return Array.from(arguments).some(i => this.includes(i)); - } - }); - Object.defineProperty(Array.prototype, "containsAll", { - configurable: true, - enumerable: false, - writable: true, - value: function () { - return Array.from(arguments).every(i => this.includes(i)); - } - }); - - Object.defineProperty(Array.prototype, "add", { - configurable: true, - enumerable: false, - writable: true, - value: function () { - for (const arg of arguments) { - if (this.contains(arg)) continue; - this.push(arg); - } - return this; - } - }); - Object.defineProperty(Array.prototype, "addArray", { - configurable: true, - enumerable: false, - writable: true, - value: function () { - for (const arr of arguments) { - for (const item of arr) this.add(item); - } - return this; - } - }); - Object.defineProperty(Array.prototype, "remove", { - configurable: true, - enumerable: false, - writable: true, - value: function () { - for (const item of arguments) { - let pos = -1; - if (typeof item == 'number' && isNaN(item)) { - pos = this.findIndex(v => isNaN(v)) - } else { - pos = this.indexOf(item); - } - if (pos == -1) continue; - this.splice(pos, 1); - } - return this; - } - }); - Object.defineProperty(Array.prototype, "removeArray", { - configurable: true, - enumerable: false, - writable: true, - value: function () { - for (const i of Array.from(arguments)) this.remove(...i); - return this; - } - }); - Object.defineProperty(Array.prototype, "unique", { - configurable: true, - enumerable: false, - writable: true, - value: function () { - let uniqueArray = [...new Set(this)]; - this.length = uniqueArray.length; - for (let i = 0; i < uniqueArray.length; i++) this[i] = uniqueArray[i]; - return this; - } - }); - Object.defineProperty(Array.prototype, "toUniqued", { - configurable: true, - enumerable: false, - writable: true, - value: function () { - return [...new Set(this)]; - } - }); - Object.defineProperty(Array.prototype, "randomGet", { - configurable: true, - enumerable: false, - writable: true, - value: function () { - let arr = this.slice(0); - arr.removeArray(Array.from(arguments)); - return arr[Math.floor(Math.random() * arr.length)]; - } - }); - Object.defineProperty(Array.prototype, "randomGets", { - configurable: true, - enumerable: false, - writable: true, - value: function (num) { - if (num > this.length) num = this.length; - let arr = this.slice(0); - let list = []; - for (let i = 0; i < num; i++) { - list.push(arr.splice(Math.floor(Math.random() * arr.length), 1)[0]); - } - return list; - } - }); - Object.defineProperty(Array.prototype, "randomRemove", { - configurable: true, - enumerable: false, - writable: true, - value: function (num) { - if (typeof num == 'number') { - let list = []; - for (let i = 0; i < num; i++) { - if (!this.length) break; - list.push(this.randomRemove()); - } - return list; - } - return this.splice(Math.floor(Math.random() * this.length), 1)[0]; - } - }); - Object.defineProperty(Array.prototype, "randomSort", { - configurable: true, - enumerable: false, - writable: true, - value: function () { - let list = []; - while (this.length) { - list.push(this.randomRemove()); - } - for (let i = 0; i < list.length; i++) { - this.push(list[i]); - } - return this; - } - }); - Object.defineProperty(Array.prototype, "sortBySeat", { - configurable: true, - enumerable: false, - writable: true, - value: function (target) { - lib.tempSortSeat = target; - this.sort(lib.sort.seat); - delete lib.tempSortSeat; - return this; - } - }); - /** - *@description 从数组中寻找某个特征最大的,且通过筛选的第一个元素 - */ - Object.defineProperty(Array.prototype, "maxBy", { - configurable: true, - enumerable: false, - writable: true, - value: function (sortBy, filter) { - let list = this.filter(filter || (() => true)); - if (sortBy && typeof sortBy == 'function') list.sort((a, b) => sortBy(a) - sortBy(b)); - else list.sort(); - return list[list.length - 1]; - } - }); - Object.defineProperty(Array.prototype, "minBy", { - configurable: true, - enumerable: false, - writable: true, - value: function (sortBy, filter) { - let list = this.filter(filter || (() => true)); - if (sortBy && typeof sortBy == 'function') list.sort((a, b) => sortBy(a) - sortBy(b)); - else list.sort(); - return list[0]; - } - }); - window.onkeydown = function (e) { - if (!ui.menuContainer || !ui.menuContainer.classList.contains('hidden')) { - if (e.keyCode == 116 || ((e.ctrlKey || e.metaKey) && e.keyCode == 82)) { - if (e.shiftKey) { - if (confirm('是否重置游戏?')) { - var noname_inited = localStorage.getItem('noname_inited'); - var onlineKey = localStorage.getItem(lib.configprefix + 'key'); - localStorage.clear(); - if (noname_inited) { - localStorage.setItem('noname_inited', noname_inited); - } - if (onlineKey) { - localStorage.setItem(lib.configprefix + 'key', onlineKey); - } - if (indexedDB) indexedDB.deleteDatabase(lib.configprefix + 'data'); - game.reload(); - return; - } - } - else { - game.reload(); - } - } - else if (e.keyCode == 83 && (e.ctrlKey || e.metaKey)) { - if (window.saveNonameInput) { - window.saveNonameInput(); - } - e.preventDefault(); - e.stopPropagation(); - return false; - } - else if (e.keyCode == 74 && (e.ctrlKey || e.metaKey) && lib.node) { - lib.node.debug(); - } - } - else { - game.closePopped(); - var dialogs = document.querySelectorAll('#window>.dialog.popped:not(.static)'); - for (var i = 0; i < dialogs.length; i++) { - dialogs[i].delete(); - } - if (e.keyCode == 32) { - var node = ui.window.querySelector('pausedbg'); - if (node) { - node.click(); - } - else { - ui.click.pause(); - } - } - else if (e.keyCode == 65) { - if (ui.auto) ui.auto.click(); - } - else if (e.keyCode == 87) { - if (ui.wuxie && ui.wuxie.style.display != 'none') { - ui.wuxie.classList.toggle('glow') - } - else if (ui.tempnowuxie) { - ui.tempnowuxie.classList.toggle('glow') - } - } - else if (e.keyCode == 116 || ((e.ctrlKey || e.metaKey) && e.keyCode == 82)) { - if (e.shiftKey) { - if (confirm('是否重置游戏?')) { - var noname_inited = localStorage.getItem('noname_inited'); - var onlineKey = localStorage.getItem(lib.configprefix + 'key'); - localStorage.clear(); - if (noname_inited) { - localStorage.setItem('noname_inited', noname_inited); - } - if (onlineKey) { - localStorage.setItem(lib.configprefix + 'key', onlineKey); - } - if (indexedDB) indexedDB.deleteDatabase(lib.configprefix + 'data'); - game.reload(); - return; - } - } - else { - game.reload(); - } - } - else if (e.keyCode == 83 && (e.ctrlKey || e.metaKey)) { - e.preventDefault(); - e.stopPropagation(); - return false; - } - else if (e.keyCode == 74 && (e.ctrlKey || e.metaKey) && lib.node) { - lib.node.debug(); - } - // else if(e.keyCode==27){ - // if(!ui.arena.classList.contains('paused')) ui.click.config(); - // } - } - }; - - window.onerror = function (msg, src, line, column, err) { - const winPath = window.__dirname ? ('file:///' + (__dirname.replace(new RegExp('\\\\', 'g'), '/') + '/')) : ''; - let str = `错误文件: ${typeof src == 'string' ? decodeURI(src).replace(lib.assetURL, '').replace(winPath, '') : '未知文件'}`; - str += `\n错误信息: ${msg}`; - const tip = lib.getErrorTip(msg); - if (tip) str += `\n错误提示: ${tip}`; - str += `\n行号: ${line}`; - str += `\n列号: ${column}`; - const version = lib.version || ''; - const reg = /[^\d.]/; - const match = version.match(reg) != null; - str += '\n' + `${match ? '游戏' : '无名杀'}版本: ${version || '未知版本'}`; - if (match) str += '\n⚠️您使用的游戏代码不是源于libccy/noname无名杀官方仓库,请自行寻找您所使用的游戏版本开发者反馈!'; - if (_status && _status.event) { - let evt = _status.event; - str += `\nevent.name: ${evt.name}\nevent.step: ${evt.step}`; - if (evt.parent) str += `\nevent.parent.name: ${evt.parent.name}\nevent.parent.step: ${evt.parent.step}`; - if (evt.parent && evt.parent.parent) str += `\nevent.parent.parent.name: ${evt.parent.parent.name}\nevent.parent.parent.step: ${evt.parent.parent.step}`; - if (evt.player || evt.target || evt.source || evt.skill || evt.card) { - str += '\n-------------' - } - if (evt.player) { - if (lib.translate[evt.player.name]) str += `\nplayer: ${lib.translate[evt.player.name]}[${evt.player.name}]`; - else str += '\nplayer: ' + evt.player.name; - let distance = get.distance(_status.roundStart, evt.player, 'absolute'); - if (distance != Infinity) { - str += `\n座位号: ${distance + 1}`; - } - } - if (evt.target) { - if (lib.translate[evt.target.name]) str += `\ntarget: ${lib.translate[evt.target.name]}[${evt.target.name}]`; - else str += '\ntarget: ' + evt.target.name; - } - if (evt.source) { - if (lib.translate[evt.source.name]) str += `\nsource: ${lib.translate[evt.source.name]}[${evt.source.name}]`; - else str += '\nsource: ' + evt.source.name; - } - if (evt.skill) { - if (lib.translate[evt.skill]) str += `\nskill: ${lib.translate[evt.skill]}[${evt.skill}]`; - else str += '\nskill: ' + evt.skill; - } - if (evt.card) { - if (lib.translate[evt.card.name]) str += `\ncard: ${lib.translate[evt.card.name]}[${evt.card.name}]`; - else str += '\ncard: ' + evt.card.name; - } - } - str += '\n-------------'; - if (typeof line == 'number' && (typeof game.readFile == 'function' || location.origin != 'file://')) { - const createShowCode = function (lines) { - let showCode = ''; - if (lines.length >= 10) { - if (line > 4) { - for (let i = line - 5; i < line + 6 && i < lines.length; i++) { - showCode += `${i + 1}| ${line == i + 1 ? '⚠️' : ''}${lines[i]}\n`; - } - } else { - for (let i = 0; i < line + 6 && i < lines.length; i++) { - showCode += `${i + 1}| ${line == i + 1 ? '⚠️' : ''}${lines[i]}\n`; - } - } - } else { - showCode = lines.map((_line, i) => `${i + 1}| ${line == i + 1 ? '⚠️' : ''}${_line}\n`).toString(); - } - return showCode; - } - //协议名须和html一致(网页端防跨域),且文件是js - if (typeof src == 'string' && src.startsWith(location.protocol) && src.endsWith('.js')) { - //获取代码 - const codes = lib.init.reqSync('local:' + decodeURI(src).replace(lib.assetURL, '').replace(winPath, '')); - const lines = codes.split("\n"); - str += '\n' + createShowCode(lines); - str += '\n-------------'; - } - //解析parsex里的content fun内容(通常是技能content) - else if (err && err.stack && err.stack.split('\n')[1].trim().startsWith('at Object.eval [as content]')) { - const codes = _status.event.content; - if (typeof codes == 'function') { - const lines = codes.toString().split("\n"); - str += '\n' + createShowCode(lines); - str += '\n-------------'; - } - } - } - if (err && err.stack) str += '\n' + decodeURI(err.stack).replace(new RegExp(lib.assetURL, 'g'), '').replace(new RegExp(winPath, 'g'), ''); - alert(str); - window.ea = Array.from(arguments); - window.em = msg; - window.el = line; - window.ec = column; - window.eo = err; - game.print(str); - if (!lib.config.errstop) { - _status.withError = true; - game.loop(); - } - }; - - if (window.noname_update) { - lib.version = window.noname_update.version; - lib.changeLog = window.noname_update.changeLog; - if (window.noname_update.players) { - lib.changeLog.push('players://' + JSON.stringify(window.noname_update.players)); - } - if (window.noname_update.cards) { - lib.changeLog.push('cards://' + JSON.stringify(window.noname_update.cards)); - } - delete window.noname_update; - } - var noname_inited = localStorage.getItem('noname_inited'); - if (noname_inited && noname_inited !== 'nodejs') { - var ua = userAgent; - if (ua.includes('android')) { - lib.device = 'android'; - } - else if (ua.includes('iphone') || ua.includes('ipad') || ua.includes('macintosh')) { - lib.device = 'ios'; - } - } - - // 模块化后,由于js是异步加载,所以在此判断dom是否加载完成 - const windowOnloadListener = function () { - if (lib.device) { - var script = document.createElement('script'); - script.src = 'cordova.js'; - document.body.appendChild(script); - document.addEventListener('deviceready', function () { - if (lib.init.cordovaReady) { - lib.init.cordovaReady(); - delete lib.init.cordovaReady; - } - }); - } - if (_status.packLoaded) { - delete _status.packLoaded; - lib.init.onload(); - } - else { - _status.windowLoaded = true; - } - }; - if (document.readyState !== 'complete') { - window.onload = windowOnloadListener; - } else { - windowOnloadListener.call(window); - } - - if (lib.assetURL.includes('com.widget.noname.qingyao') || lib.assetURL.includes('online.nonamekill.android')) { - alert('您正在一个不受信任的闭源客户端上运行《无名杀》。建议您更换为其他开源的无名杀客户端,避免给您带来不必要的损失。'); - } - - var config3 = null; - var proceed = function (config2) { - if (config3 === null) { - config3 = config2; - return; - } - if (config2.mode) lib.config.mode = config2.mode; - if (lib.config.mode_config[lib.config.mode] == undefined) lib.config.mode_config[lib.config.mode] = {}; - for (var i in lib.config.mode_config.global) { - if (lib.config.mode_config[lib.config.mode][i] == undefined) { - lib.config.mode_config[lib.config.mode][i] = lib.config.mode_config.global[i]; - } - } - if (lib.config.characters) { - lib.config.defaultcharacters = lib.config.characters.slice(0); - } - if (lib.config.cards) { - lib.config.defaultcards = lib.config.cards.slice(0); - } - for (var i in config2) { - if (i.includes('_mode_config')) { - var thismode = i.substr(i.indexOf('_mode_config') + 13); - if (!lib.config.mode_config[thismode]) { - lib.config.mode_config[thismode] = {}; - } - lib.config.mode_config[thismode][i.substr(0, i.indexOf('_mode_config'))] = config2[i]; - } - else { - lib.config[i] = config2[i]; - } - } - for (var i in lib.config.translate) { - lib.translate[i] = lib.config.translate[i]; - } - - lib.config.all.characters = []; - lib.config.all.cards = []; - lib.config.all.plays = []; - lib.config.all.mode = []; - - if (lib.config.debug) { - lib.init.js(lib.assetURL + 'game', 'asset', function () { - lib.skin = window.noname_skin_list; - delete window.noname_skin_list; - delete window.noname_asset_list; - }); - } - - if (window.isNonameServer) { - lib.config.mode = 'connect'; - } - var pack = window.noname_package; - delete window.noname_package; - for (i in pack.character) { - if (lib.config.all.sgscharacters.contains(i) || lib.config.hiddenCharacterPack.indexOf(i) == -1) { - lib.config.all.characters.push(i); - lib.translate[i + '_character_config'] = pack.character[i]; - } - } - for (i in pack.card) { - if (lib.config.all.sgscards.contains(i) || lib.config.hiddenCardPack.indexOf(i) == -1) { - lib.config.all.cards.push(i); - lib.translate[i + '_card_config'] = pack.card[i]; - } - } - for (i in pack.play) { - lib.config.all.plays.push(i); - lib.translate[i + '_play_config'] = pack.play[i]; - } - for (i in pack.submode) { - for (var j in pack.submode[i]) { - lib.translate[i + '|' + j] = pack.submode[i][j]; - } - } - - if (!lib.config.gameRecord) { - lib.config.gameRecord = {}; - } - for (i in pack.mode) { - if (lib.config.hiddenModePack.indexOf(i) == -1) { - lib.config.all.mode.push(i); - lib.translate[i] = pack.mode[i]; - if (!lib.config.gameRecord[i]) { - lib.config.gameRecord[i] = { data: {} }; - } - } - } - if (lib.config.all.mode.length == 0) { - lib.config.all.mode.push('identity'); - lib.translate.identity = '身份'; - if (!lib.config.gameRecord.identity) { - lib.config.gameRecord.identity = { data: {} }; - } - } - if (pack.background) { - for (i in pack.background) { - if (lib.config.hiddenBackgroundPack.contains(i)) continue; - lib.configMenu.appearence.config.image_background.item[i] = pack.background[i]; - } - for (var i = 0; i < lib.config.customBackgroundPack.length; i++) { - var link = lib.config.customBackgroundPack[i]; - lib.configMenu.appearence.config.image_background.item[link] = link.slice(link.indexOf('_') + 1); - } - lib.configMenu.appearence.config.image_background.item.default = '默认'; - } - if (pack.music) { - if (lib.device || typeof window.require == 'function') { - lib.configMenu.audio.config.background_music.item.music_custom = '自定义音乐'; - } - lib.config.all.background_music = ['music_default']; - for (i in pack.music) { - lib.config.all.background_music.push(i); - lib.configMenu.audio.config.background_music.item[i] = pack.music[i]; - } - if (lib.config.customBackgroundMusic) { - for (i in lib.config.customBackgroundMusic) { - lib.config.all.background_music.push(i); - lib.configMenu.audio.config.background_music.item[i] = lib.config.customBackgroundMusic[i]; - } - } - lib.configMenu.audio.config.background_music.item.music_random = '随机播放'; - lib.configMenu.audio.config.background_music.item.music_off = '关闭'; - } - if (pack.theme) { - for (i in pack.theme) { - lib.configMenu.appearence.config.theme.item[i] = pack.theme[i]; - } - } - if (lib.config.extension_sources) { - for (i in lib.config.extension_sources) { - lib.configMenu.general.config.extension_source.item[i] = i; - } - } - - if (pack.font) { - ui.css.fontsheet = lib.init.sheet(); - const appearenceConfig = lib.configMenu.appearence.config, fontSheet = ui.css.fontsheet.sheet, suitsFont = lib.config.suits_font; - Object.keys(pack.font).forEach(value => { - const font = pack.font[value]; - appearenceConfig.name_font.item[value] = font; - appearenceConfig.identity_font.item[value] = font; - appearenceConfig.cardtext_font.item[value] = font; - appearenceConfig.global_font.item[value] = font; - fontSheet.insertRule(`@font-face {font-family: '${value}'; src: local('${font}'), url('${lib.assetURL}font/${value}.woff2');}`, 0); - if (suitsFont) fontSheet.insertRule(`@font-face {font-family: '${value}'; src: local('${font}'), url('${lib.assetURL}font/suits.woff2');}`, 0); - }); - if (suitsFont) fontSheet.insertRule(`@font-face {font-family: 'Suits'; src: url('${lib.assetURL}font/suits.woff2');}`, 0); - fontSheet.insertRule(`@font-face {font-family: 'NonameSuits'; src: url('${lib.assetURL}font/suits.woff2');}`, 0); - fontSheet.insertRule(`@font-face {font-family: 'MotoyaLMaru'; src: url('${lib.assetURL}font/motoyamaru.woff2');}`, 0) - appearenceConfig.cardtext_font.item.default = '默认'; - appearenceConfig.global_font.item.default = '默认'; - } - - var ua = userAgent; - if ('ontouchstart' in document) { - if (!lib.config.totouched) { - game.saveConfig('totouched', true); - if (lib.device) { - game.saveConfig('low_performance', true); - game.saveConfig('confirm_exit', true); - game.saveConfig('touchscreen', true); - game.saveConfig('fold_mode', false); - if (ua.indexOf('ipad') == -1) { - game.saveConfig('phonelayout', true); - } - else if (lib.device == 'ios') { - game.saveConfig('show_statusbar_ios', 'overlay'); - } - } - else if (confirm('是否切换到触屏模式?(触屏模式可提高触屏设备的响应速度,但无法使用鼠标)')) { - game.saveConfig('touchscreen', true); - if (ua.includes('iphone') || ua.includes('android')) { - game.saveConfig('phonelayout', true); - } - game.reload(); - } - } - } - else if (lib.config.touchscreen) { - game.saveConfig('touchscreen', false); - } - if (!lib.config.toscrolled && ua.includes('macintosh')) { - game.saveConfig('toscrolled', true); - game.saveConfig('mousewheel', false); - } - - var show_splash = lib.config.show_splash; - if (show_splash == 'off') { - show_splash = false; - } - else if (show_splash == 'init') { - if (localStorage.getItem('show_splash_off')) { - show_splash = false; - } - } - localStorage.removeItem('show_splash_off'); - var extensionlist = []; - if (!localStorage.getItem(lib.configprefix + 'disable_extension')) { - if (lib.config.extensions && lib.config.extensions.length) { - window.resetExtension = function () { - for (var i = 0; i < lib.config.extensions.length; i++) { - game.saveConfig('extension_' + lib.config.extensions[i] + '_enable', false); - } - localStorage.setItem(lib.configprefix + 'disable_extension', true); - } - } - for (var i = 0; i < lib.config.plays.length; i++) { - if (lib.config.all.plays.includes(lib.config.plays[i])) { - extensionlist.push(lib.config.plays[i]); - } - } - var alerted = false; - for (var i = 0; i < lib.config.extensions.length; i++) { - if (window.bannedExtensions.contains(lib.config.extensions[i])) { - //if(!alerted) alert('读取某些扩展时出现问题。'); - alerted = true; - continue; - } - var extcontent = localStorage.getItem(lib.configprefix + 'extension_' + lib.config.extensions[i]); - if (extcontent) { - //var backup_onload=lib.init.onload; - _status.evaluatingExtension = true; - try { - eval(extcontent); - } - catch (e) { - console.log(e); - } - //lib.init.onload=backup_onload; - _status.evaluatingExtension = false; - } - else if (lib.config.mode != 'connect' || (!localStorage.getItem(lib.configprefix + 'directstart') && show_splash)) { - extensionlist.push(lib.config.extensions[i]); - } - } - } - else { - if (lib.config.mode != 'connect' || (!localStorage.getItem(lib.configprefix + 'directstart') && show_splash)) { - var alerted = false; - for (var i = 0; i < lib.config.extensions.length; i++) { - if (window.bannedExtensions.contains(lib.config.extensions[i])) { - //if(!alerted) alert('读取某些扩展时出现问题。'); - alerted = true; - continue; - } - game.import('extension', { name: lib.config.extensions[i] }); - } - } - } - const loadPack = () => { - const isArray = Array.isArray; - if (isArray(lib.onprepare) && lib.onprepare.length) { - _status.onprepare = Object.freeze(lib.onprepare.map(fn => { - if (typeof fn != "function") return; - return (gnc.is.generatorFunc(fn) ? gnc.of(fn) : fn)(); - })); - } - let toLoad = lib.config.all.cards.length + lib.config.all.characters.length + 1; - if (_status.javaScriptExtensions) toLoad += _status.javaScriptExtensions.reduce((constructingToLoad, javaScriptExtension) => { - const lengths = Object.values(javaScriptExtension).reduce((constructingLengths, value) => { - if (isArray(value)) constructingLengths.push(value.length); - return constructingLengths; - }, []); - if (!lengths.length) return constructingToLoad + 1; - return constructingToLoad + Math.min(...lengths); - }, 0); - const packLoaded = async () => { - toLoad--; - if (toLoad) return; - if (_status.importing) { - let promises = lib.creation.array; - for (const type in _status.importing) { - promises.addArray(_status.importing[type]) - } - await Promise.allSettled(promises); - delete _status.importing; - } - - if (_status.windowLoaded) { - delete _status.windowLoaded; - lib.init.onload(); - } - else _status.packLoaded = true; - }; - if (localStorage.getItem(`${lib.configprefix}playback`)) { - toLoad++; - lib.init.js(`${lib.assetURL}mode`, lib.config.mode, packLoaded, packLoaded); - } - else if ((localStorage.getItem(`${lib.configprefix}directstart`) || !show_splash) && lib.config.all.mode.includes(lib.config.mode)) { - toLoad++; - lib.init.js(`${lib.assetURL}mode`, lib.config.mode, packLoaded, packLoaded); - } - lib.init.js(`${lib.assetURL}card`, lib.config.all.cards, packLoaded, packLoaded); - lib.init.js(`${lib.assetURL}character`, lib.config.all.characters, packLoaded, packLoaded); - lib.init.js(`${lib.assetURL}character`, 'rank', packLoaded, packLoaded); - if (!_status.javaScriptExtensions) return; - const loadJavaScriptExtension = (javaScriptExtension, pathArray, fileArray, onLoadArray, onErrorArray, index) => { - if (!pathArray && !fileArray && !onLoadArray && !onErrorArray) { - lib.init.js(javaScriptExtension.path, javaScriptExtension.file, () => { - if (typeof javaScriptExtension.onload == 'function') javaScriptExtension.onload(); - packLoaded(); - }, () => { - if (typeof javaScriptExtension.onerror == 'function') javaScriptExtension.onerror(); - packLoaded(); - }); - return; - } - if (typeof index != 'number') index = 0; - if (pathArray && index >= javaScriptExtension.path.length) return; - if (fileArray && index >= javaScriptExtension.file.length) return; - if (onLoadArray && index >= javaScriptExtension.onload.length) return; - if (onErrorArray && index >= javaScriptExtension.onerror.length) return; - const path = pathArray ? javaScriptExtension.path[index] : javaScriptExtension.path; - const file = fileArray ? javaScriptExtension.file[index] : javaScriptExtension.file; - const onLoad = onLoadArray ? javaScriptExtension.onload[index] : javaScriptExtension.onload; - const onError = onErrorArray ? javaScriptExtension.onerror[index] : javaScriptExtension.onerror; - const javaScriptExtensionOnLoad = () => { - if (typeof onLoad == 'function') onLoad(); - loadJavaScriptExtension(javaScriptExtension, pathArray, fileArray, onLoadArray, onErrorArray, index + 1); - packLoaded(); - }, jsExtOnError = () => { - if (typeof onError == 'function') onError(); - loadJavaScriptExtension(javaScriptExtension, pathArray, fileArray, onLoadArray, onErrorArray, index + 1); - packLoaded(); - }; - lib.init.js(path, file, javaScriptExtensionOnLoad, jsExtOnError); - }; - _status.javaScriptExtensions.forEach(javaScriptExtension => { - const pathArray = isArray(javaScriptExtension.path); - const fileArray = isArray(javaScriptExtension.file); - const onLoadArray = isArray(javaScriptExtension.onLoad); - const onErrorArray = isArray(javaScriptExtension.onError); - loadJavaScriptExtension(javaScriptExtension, pathArray, fileArray, onLoadArray, onErrorArray); - }); - }; - - var layout = lib.config.layout; - if (layout == 'default' || lib.layoutfixed.indexOf(lib.config.mode) !== -1) { - layout = 'mobile'; - } - if (layout == 'phone') { - layout = 'mobile'; - game.saveConfig('layout', 'mobile'); - game.saveConfig('phonelayout', true); - } - game.layout = layout; - if (lib.config.image_background_random) { - if (_status.htmlbg) { - game.saveConfig('image_background', _status.htmlbg); - } - else { - var list = []; - for (var i in lib.configMenu.appearence.config.image_background.item) { - if (i == 'default') continue; - list.push(i); - } - game.saveConfig('image_background', list.randomGet(lib.config.image_background)); - } - lib.init.background(); - } - delete _status.htmlbg; - - window.game = game; - // node:path library alternative - if (typeof module != "object" || typeof module.exports != "object") lib.init.js(`${lib.assetURL}game`, "path", () => { - lib.path = window._noname_path; - delete window._noname_path; - }, e => { - console.log(e); - }); - var styleToLoad = 6; - var styleLoaded = async () => { - --styleToLoad; - if (styleToLoad == 0) { - if (extensionlist.length && (lib.config.mode != 'connect' || show_splash)) { - _status.extensionLoading = []; - let extToLoad = extensionlist.length; - const extLoaded = async () => { - --extToLoad; - if (extToLoad == 0) { - await Promise.allSettled(_status.extensionLoading); - _status.extensionLoaded.filter(Boolean).forEach(name => { - lib.announce.publish("Noname.Init.Extension.onLoad", name); - lib.announce.publish(`Noname.Init.Extension.${name}.onLoad`, void 0); - }); - delete _status.extensionLoading; - loadPack(); - } - }; - //读取扩展 - var alerted = false; - for (let i = 0; i < extensionlist.length; i++) { - if (window.bannedExtensions.contains(extensionlist[i])) { - alerted = true; - --extToLoad; - if (extToLoad == 0) { - await Promise.allSettled(_status.extensionLoading); - delete _status.extensionLoading; - loadPack(); - } - continue; - } - lib.init.js(lib.assetURL + 'extension/' + extensionlist[i], 'extension', extLoaded, async () => { - game.removeExtension(extensionlist[i]); - --extToLoad; - if (extToLoad == 0) { - await Promise.allSettled(_status.extensionLoading); - delete _status.extensionLoading; - loadPack(); - } - }); - } - } - else { - loadPack(); - } - } - }; - - if (lib.config.layout == 'default') { - lib.config.layout = 'mobile'; - } - ui.css.layout = lib.init.css(lib.assetURL + 'layout/' + layout, 'layout', styleLoaded); - if (get.is.phoneLayout()) { - ui.css.phone = lib.init.css(lib.assetURL + 'layout/default', 'phone', styleLoaded); - } - else { - ui.css.phone = lib.init.css(); - styleToLoad--; - } - ui.css.theme = lib.init.css(lib.assetURL + 'theme/' + lib.config.theme, 'style', styleLoaded); - ui.css.card_style = lib.init.css(lib.assetURL + 'theme/style/card', lib.config.card_style, styleLoaded); - ui.css.cardback_style = lib.init.css(lib.assetURL + 'theme/style/cardback', lib.config.cardback_style, styleLoaded); - ui.css.hp_style = lib.init.css(lib.assetURL + 'theme/style/hp', lib.config.hp_style, styleLoaded); - - if (lib.config.player_style && lib.config.player_style != 'default' && lib.config.player_style != 'custom') { - var str = ''; - switch (lib.config.player_style) { - case 'wood': str = 'url("' + lib.assetURL + 'theme/woodden/wood.jpg")'; break; - case 'music': str = 'linear-gradient(#4b4b4b, #464646)'; break; - case 'simple': str = 'linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4))'; break; - } - ui.css.player_stylesheet = lib.init.sheet('#window .player{background-image:' + str + '}'); - } - if (lib.config.border_style && lib.config.border_style != 'default' && lib.config.border_style != 'custom' && lib.config.border_style != 'auto') { - ui.css.border_stylesheet = lib.init.sheet(); - var bstyle = lib.config.border_style; - if (bstyle.startsWith('dragon_')) { - bstyle = bstyle.slice(7); - } - ui.css.border_stylesheet.sheet.insertRule('#window .player>.framebg,#window #arena.long.mobile:not(.fewplayer) .player[data-position="0"]>.framebg{display:block;background-image:url("' + lib.assetURL + 'theme/style/player/' + bstyle + '1.png")}', 0); - ui.css.border_stylesheet.sheet.insertRule('#window #arena.long:not(.fewplayer) .player>.framebg, #arena.oldlayout .player>.framebg{background-image:url("' + lib.assetURL + 'theme/style/player/' + bstyle + '3.png")}', 0); - ui.css.border_stylesheet.sheet.insertRule('.player>.count{z-index: 3 !important;border-radius: 2px !important;text-align: center !important;}', 0); - } - if (lib.config.control_style && lib.config.control_style != 'default' && lib.config.control_style != 'custom') { - var str = ''; - switch (lib.config.control_style) { - case 'wood': str = 'url("' + lib.assetURL + 'theme/woodden/wood.jpg")'; break; - case 'music': str = 'linear-gradient(#4b4b4b, #464646);color:white;text-shadow:black 0 0 2px'; break; - case 'simple': str = 'linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));color:white;text-shadow:black 0 0 2px'; break; - } - if (lib.config.control_style == 'wood') { - ui.css.control_stylesheet = lib.init.sheet('#window .control,#window .menubutton,#window #system>div>div,#window #system>div>.pressdown2{background-image:' + str + '}'); - } - else { - ui.css.control_stylesheet = lib.init.sheet('#window .control,.menubutton:not(.active):not(.highlight):not(.red):not(.blue),#window #system>div>div{background-image:' + str + '}'); - } - } - if (lib.config.menu_style && lib.config.menu_style != 'default' && lib.config.menu_style != 'custom') { - var str = ''; - switch (lib.config.menu_style) { - case 'wood': str = 'url("' + lib.assetURL + 'theme/woodden/wood2.png")'; break; - case 'music': str = 'linear-gradient(#4b4b4b, #464646);color:white;text-shadow:black 0 0 2px'; break; - case 'simple': str = 'linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));color:white;text-shadow:black 0 0 2px'; break; - } - ui.css.menu_stylesheet = lib.init.sheet('html #window>.dialog.popped,html .menu,html .menubg{background-image:' + str + '}'); - } - - lib.config.duration = 500; - - if (!lib.config.touchscreen) { - document.addEventListener('mousewheel', ui.click.windowmousewheel, { passive: true }); - document.addEventListener('mousemove', ui.click.windowmousemove); - document.addEventListener('mousedown', ui.click.windowmousedown); - document.addEventListener('mouseup', ui.click.windowmouseup); - document.addEventListener('contextmenu', ui.click.right); - } - else { - document.addEventListener('touchstart', ui.click.touchconfirm); - document.addEventListener('touchstart', ui.click.windowtouchstart); - document.addEventListener('touchend', ui.click.windowtouchend); - document.addEventListener('touchmove', ui.click.windowtouchmove); - } - }; - var proceed2 = () => { - if (config3) { - proceed(config3); - } - else { - config3 = true; - } - }; - - ui.css = { - menu: lib.init.css(lib.assetURL + 'layout/default', 'menu', function () { - ui.css.default = lib.init.css(lib.assetURL + 'layout/default', 'layout'); - proceed2(); - }) - }; - - if (lib.device) { - lib.init.cordovaReady = function () { - if (lib.device == 'android') { - document.addEventListener("pause", function () { - if (!_status.paused2 && (typeof _status.event.isMine == 'function' && !_status.event.isMine())) { - ui.click.pause(); - } - if (ui.backgroundMusic) { - ui.backgroundMusic.pause(); - } - }); - document.addEventListener("resume", () => { - if (ui.backgroundMusic) ui.backgroundMusic.play(); - }); - document.addEventListener("backbutton", function () { - if (ui.arena && ui.arena.classList.contains('menupaused')) { - if (window.saveNonameInput) { - window.saveNonameInput(); - } - else { - ui.click.configMenu(); - } - } - else if (lib.config.confirm_exit) { - navigator.notification.confirm( - '是否退出游戏?', - function (index) { - switch (index) { - case 2: game.reload(); break; - case 3: navigator.app.exitApp(); break; - } - }, - '确认退出', - ['取消', '重新开始', '退出'] - ); - } - else { - navigator.app.exitApp(); - } - }); - if ("cordova" in window && "plugins" in window.cordova && "permissions" in window.cordova.plugins) { - const permissions = cordova.plugins.permissions; - const requests = ["WRITE_EXTERNAL_STORAGE", "READ_EXTERNAL_STORAGE"] - requests.forEach(request => { - permissions.checkPermission(permissions[request], status => { - if (!status.hasPermission) { - permissions.requestPermission(permissions[request], lib.other.ignore, lib.other.ignore); - } - }, lib.other.ignore); - }); - } - } - game.download = function (url, folder, onsuccess, onerror, dev, onprogress) { - if (!url.startsWith('http')) { - url = get.url(dev) + url; - } - var fileTransfer = new FileTransfer(); - folder = lib.assetURL + folder; - if (onprogress) { - fileTransfer.onprogress = function (progressEvent) { - onprogress(progressEvent.loaded, progressEvent.total); - }; - } - lib.config.brokenFile.add(folder); - game.saveConfigValue('brokenFile'); - fileTransfer.download(encodeURI(url), encodeURI(folder), function () { - lib.config.brokenFile.remove(folder); - game.saveConfigValue('brokenFile'); - if (onsuccess) { - onsuccess(); - } - }, onerror); - }; - game.readFile = function (filename, callback, onerror) { - window.resolveLocalFileSystemURL(lib.assetURL, function (entry) { - entry.getFile(filename, {}, function (fileEntry) { - fileEntry.file(function (fileToLoad) { - var fileReader = new FileReader(); - fileReader.onload = function (e) { - callback(e.target.result); - }; - fileReader.readAsArrayBuffer(fileToLoad, "UTF-8"); - }, onerror); - }, onerror); - }, onerror); - }; - game.readFileAsText = function (filename, callback, onerror) { - window.resolveLocalFileSystemURL(lib.assetURL, function (entry) { - entry.getFile(filename, {}, function (fileEntry) { - fileEntry.file(function (fileToLoad) { - var fileReader = new FileReader(); - fileReader.onload = function (e) { - callback(e.target.result); - }; - fileReader.readAsText(fileToLoad, "UTF-8"); - }, onerror); - }, onerror); - }, onerror); - }; - game.writeFile = function (data, path, name, callback) { - game.ensureDirectory(path, function () { - if (Object.prototype.toString.call(data) == '[object File]') { - var fileReader = new FileReader(); - fileReader.onload = function (e) { - game.writeFile(e.target.result, path, name, callback); - }; - fileReader.readAsArrayBuffer(data, "UTF-8"); - } - else { - window.resolveLocalFileSystemURL(lib.assetURL + path, function (entry) { - entry.getFile(name, { create: true }, function (fileEntry) { - fileEntry.createWriter(function (fileWriter) { - fileWriter.onwriteend = callback; - fileWriter.write(data); - }, callback); - }, callback); - }, callback); - } - }); - }; - game.removeFile = function (dir, callback) { - window.resolveLocalFileSystemURL(lib.assetURL, function (entry) { - entry.getFile(dir, {}, function (fileEntry) { - fileEntry.remove(); - if (callback) callback(); - }, callback || function () { }); - }, callback || function () { }); - }; - game.getFileList = (dir, success, failure) => { - var files = [], folders = []; - window.resolveLocalFileSystemURL(lib.assetURL + dir, entry => { - var dirReader = entry.createReader(); - var entries = []; - var readEntries = () => { - dirReader.readEntries(results => { - if (!results.length) { - entries.sort(); - for (var i = 0; i < entries.length; i++) { - if (entries[i].isDirectory) { - folders.push(entries[i].name); - } - else { - files.push(entries[i].name); - } - } - success(folders, files); - } - else { - entries = entries.concat(Array.from(results)); - readEntries(); - } - }, failure); - }; - readEntries(); - }, failure); - }; - game.ensureDirectory = (list, callback, file) => { - const directoryList = typeof list == 'string' ? [list] : list.slice().reverse(), num = file ? 1 : 0, access = (entry, directory, createDirectory) => { - if (directory.length <= num) { - createDirectory(); - return; - } - const str = directory.pop(); - return new Promise((resolve, reject) => entry.getDirectory(str, { - create: false - }, resolve, reject)).catch(() => new Promise(resolve => entry.getDirectory(str, { - create: true - }, resolve))).then(directoryEntry => access(directoryEntry, directory, createDirectory)); - }; - return new Promise((resolve, reject) => window.resolveLocalFileSystemURL(lib.assetURL, rootEntry => { - const createDirectory = () => { - if (directoryList.length) access(rootEntry, directoryList.pop().split('/').reverse(), createDirectory); - if (typeof callback == 'function') callback(); - resolve(); - }; - createDirectory(); - }, reject)); - }; - if (ui.updateUpdate) { - ui.updateUpdate(); - } - var showbar = function () { - if (window.StatusBar) { - if (lib.device == 'android') { - if (lib.config.show_statusbar_android) { - window.StatusBar.overlaysWebView(false); - window.StatusBar.backgroundColorByName('black'); - window.StatusBar.show(); - } - } - else if (lib.device == 'ios') { - if (lib.config.show_statusbar_ios != 'off' && lib.config.show_statusbar_ios != 'auto') { - if (lib.config.show_statusbar_ios == 'default') { - window.StatusBar.overlaysWebView(false); - } - else { - window.StatusBar.overlaysWebView(true); - } - window.StatusBar.backgroundColorByName('black'); - window.StatusBar.show(); - } - } - } - } - if (lib.arenaReady) { - lib.arenaReady.push(showbar); - } - else { - showbar(); - } - }; - } - else if (typeof window.require == 'function') { - lib.node = { - fs: require('fs'), - path: require("path"), - debug: function () { - require('electron').remote.getCurrentWindow().toggleDevTools(); - } - }; - lib.path = lib.node.path; - game.download = function (url, folder, onsuccess, onerror, dev, onprogress) { - if (!url.startsWith('http')) { - url = get.url(dev) + url; - } - game.ensureDirectory(folder, function () { - try { - var file = lib.node.fs.createWriteStream(__dirname + '/' + folder); - } - catch (e) { - onerror(); - } - lib.config.brokenFile.add(folder); - game.saveConfigValue('brokenFile'); - if (!lib.node.http) lib.node.http = require('http'); - if (!lib.node.https) lib.node.https = require('https'); - var opts = require('url').parse(encodeURI(url)); - opts.headers = { 'User-Agent': 'AppleWebkit' }; - (url.startsWith('https') ? lib.node.https : lib.node.http).get(opts, function (response) { - var stream = response.pipe(file); - stream.on('finish', function () { - lib.config.brokenFile.remove(folder); - game.saveConfigValue('brokenFile'); - if (onsuccess) { - onsuccess(); - } - }); - stream.on('error', onerror); - if (onprogress) { - var streamInterval = setInterval(function () { - if (stream.closed) { - clearInterval(streamInterval); - } - else { - onprogress(stream.bytesWritten); - } - }, 200); - } - }); - }, true); - }; - game.readFile = function (filename, callback, onerror) { - lib.node.fs.readFile(__dirname + '/' + filename, function (err, data) { - if (err) { - onerror(err); - } - else { - callback(data); - } - }); - }; - game.readFileAsText = function (filename, callback, onerror) { - lib.node.fs.readFile(__dirname + '/' + filename, 'utf-8', function (err, data) { - if (err) { - onerror(err); - } - else { - callback(data); - } - }); - }; - game.writeFile = function (data, path, name, callback) { - game.ensureDirectory(path, function () { - if (Object.prototype.toString.call(data) == '[object File]') { - var fileReader = new FileReader(); - fileReader.onload = function (e) { - game.writeFile(e.target.result, path, name, callback); - }; - fileReader.readAsArrayBuffer(data, "UTF-8"); - } - else { - get.zip(function (zip) { - zip.file('i', data); - lib.node.fs.writeFile(__dirname + '/' + path + '/' + name, zip.files.i.asNodeBuffer(), null, callback); - }); - } - }); - }; - game.removeFile = function (filename, callback) { - lib.node.fs.unlink(__dirname + '/' + filename, callback || function () { }); - }; - game.getFileList = (dir, success, failure) => { - var files = [], folders = []; - dir = __dirname + '/' + dir; - if (typeof failure == "undefined") { - failure = err => { - throw err; - }; - } - else if (failure == null) { - failure = () => { }; - } - try { - lib.node.fs.readdir(dir, (err, filelist) => { - if (err) { - failure(err); - return; - } - for (var i = 0; i < filelist.length; i++) { - if (filelist[i][0] != '.' && filelist[i][0] != '_') { - if (lib.node.fs.statSync(dir + '/' + filelist[i]).isDirectory()) { - folders.push(filelist[i]); - } - else { - files.push(filelist[i]); - } - } - } - success(folders, files); - }); - } - catch (e) { - failure(e); - } - }; - game.ensureDirectory = (list, callback, file) => { - const directoryList = typeof list == 'string' ? [list] : list.slice().reverse(), number = file ? 1 : 0, access = (path, directory, createDirectory) => { - if (directory.length <= number) { - createDirectory(); - return; - } - path += `/${directory.pop()}`; - const fullPath = `${__dirname}${path}`; - return new Promise((resolve, reject) => lib.node.fs.access(fullPath, errnoException => { - if (errnoException) reject(); - else resolve(); - })).catch(() => new Promise((resolve, reject) => lib.node.fs.mkdir(fullPath, errnoException => { - if (errnoException) reject(errnoException); - else resolve(); - }))).then(() => access(path, directory, createDirectory), console.log); - }; - return new Promise(resolve => { - const createDirectory = () => { - if (directoryList.length) access('', directoryList.pop().split('/').reverse(), createDirectory); - else { - if (typeof callback == 'function') callback(); - resolve(); - } - }; - createDirectory(); - }); - }; - if (ui.updateUpdate) { - ui.updateUpdate(); - } - } - else { - //为其他自定义平台提供文件读写函数赋值的一种方式。 - //但这种方式只能修改game的文件读写函数。 - if (window.initReadWriteFunction) { - const g = {}; - const ReadWriteFunctionName = ['download', 'readFile', 'readFileAsText', 'writeFile', 'removeFile', 'getFileList', 'ensureDirectory', 'createDir']; - ReadWriteFunctionName.forEach(prop => { - Object.defineProperty(g, prop, { - configurable: true, - get() { return undefined; }, - set(newValue) { - if (typeof newValue == 'function') { - delete g[prop]; - g[prop] = game[prop] = newValue; - } - } - }) - }); - window.initReadWriteFunction(g); - } - window.onbeforeunload = function () { - if (lib.config.confirm_exit && !_status.reloading) { - return '是否离开游戏?' - } - else { - return null; - } - }; - } - - lib.config = window.config; - lib.configOL = {}; - delete window.config; - let config2; - if (localStorage.getItem(`${lib.configprefix}nodb`)) window.nodb = true; - if (window.indexedDB && !window.nodb) new Promise((resolve, reject) => { - const idbOpenDBRequest = window.indexedDB.open(`${lib.configprefix}data`, 4); - idbOpenDBRequest.onerror = reject; - idbOpenDBRequest.onsuccess = resolve; - idbOpenDBRequest.onupgradeneeded = idbVersionChangeEvent => { - const idbDatabase = idbVersionChangeEvent.target.result; - if (!idbDatabase.objectStoreNames.contains('video')) idbDatabase.createObjectStore('video', { - keyPath: 'time' - }); - if (!idbDatabase.objectStoreNames.contains('image')) idbDatabase.createObjectStore('image'); - if (!idbDatabase.objectStoreNames.contains('audio')) idbDatabase.createObjectStore('audio'); - if (!idbDatabase.objectStoreNames.contains('config')) idbDatabase.createObjectStore('config'); - if (!idbDatabase.objectStoreNames.contains('data')) idbDatabase.createObjectStore('data'); - }; - }).then(event => { - lib.db = event.target.result; - return game.getDB('config'); - }).then(object => { - if (!object.storageImported) { - try { - config2 = JSON.parse(localStorage.getItem(`${lib.configprefix}config`)); - if (!config2 || typeof config2 != 'object') throw 'err'; - } - catch (err) { - config2 = {}; - } - Object.keys(config2).forEach(key => game.saveConfig(key, config2[key])); - Object.keys(lib.mode).forEach(key => { - try { - config2 = JSON.parse(localStorage.getItem(`${lib.configprefix}${key}`)); - if (!config2 || typeof config2 != 'object' || get.is.empty(config2)) throw 'err'; - } - catch (err) { - config2 = false; - } - localStorage.removeItem(`${lib.configprefix}${key}`); - if (config2) game.putDB('data', key, config2); - }); - game.saveConfig('storageImported', true); - lib.init.background(); - localStorage.removeItem(`${lib.configprefix}config`); - } - else config2 = object; - proceed(config2); - }); - else { - try { - config2 = JSON.parse(localStorage.getItem(lib.configprefix + 'config')); - if (!config2 || typeof config2 != 'object') throw 'err' - } - catch (err) { - config2 = {}; - localStorage.setItem(lib.configprefix + 'config', JSON.stringify({})); - } - proceed(config2); - } - }, - reset: function () { - if (window.inSplash) return; - if (window.resetExtension) { - if (confirm('游戏似乎未正常载入,有可能因为部分扩展未正常载入,或者因为部分扩展未载入完毕。\n是否禁用扩展并重新打开?')) { - window.resetExtension(); - window.location.reload(); - } - } - else { - if (lib.device) { - if (navigator.notification) { - navigator.notification.confirm( - '游戏似乎未正常载入,是否重置游戏?', - function (index) { - if (index == 2) { - localStorage.removeItem('noname_inited'); - window.location.reload(); - } - else if (index == 3) { - var noname_inited = localStorage.getItem('noname_inited'); - var onlineKey = localStorage.getItem(lib.configprefix + 'key'); - localStorage.clear(); - if (noname_inited) { - localStorage.setItem('noname_inited', noname_inited); - } - if (onlineKey) { - localStorage.setItem(lib.configprefix + 'key', onlineKey); - } - if (indexedDB) indexedDB.deleteDatabase(lib.configprefix + 'data'); - setTimeout(function () { - window.location.reload(); - }, 200); - } - }, - '确认退出', - ['取消', '重新下载', '重置设置'] - ); - } - else { - if (confirm('游戏似乎未正常载入,是否重置游戏?')) { - localStorage.removeItem('noname_inited'); - window.location.reload(); - } - } - } - else { - if (confirm('游戏似乎未正常载入,是否重置游戏?')) { - var onlineKey = localStorage.getItem(lib.configprefix + 'key'); - localStorage.clear(); - if (onlineKey) { - localStorage.setItem(lib.configprefix + 'key', onlineKey); - } - if (indexedDB) indexedDB.deleteDatabase(lib.configprefix + 'data'); - setTimeout(function () { - window.location.reload(); - }, 200); - } - } - } - }, - //lib.onload支持传入GeneratorFunction以解决异步函数的问题 by诗笺 - async onload() { - const libOnload = lib.onload; - delete lib.onload; - while (Array.isArray(libOnload) && libOnload.length) { - const fun = libOnload.shift(); - if (typeof fun !== "function") continue; - await (gnc.is.generatorFunc(fun) ? gnc.of(fun) : fun)(); - } - ui.updated(); - game.documentZoom = game.deviceZoom; - if (game.documentZoom != 1) { - ui.updatez(); - } - ui.background = ui.create.div('.background'); - ui.background.style.backgroundSize = "cover"; - ui.background.style.backgroundPosition = '50% 50%'; - if (lib.config.image_background && lib.config.image_background != 'default' && !lib.config.image_background.startsWith('custom_')) { - ui.background.setBackgroundImage('image/background/' + lib.config.image_background + '.jpg'); - if (lib.config.image_background_blur) { - ui.background.style.filter = 'blur(8px)'; - ui.background.style.webkitFilter = 'blur(8px)'; - ui.background.style.transform = 'scale(1.05)'; - } - } - document.documentElement.style.backgroundImage = ''; - document.documentElement.style.backgroundSize = ''; - document.documentElement.style.backgroundPosition = ''; - document.body.insertBefore(ui.background, document.body.firstChild); - document.body.onresize = ui.updatexr; - if (lib.config.touchscreen) { - document.body.addEventListener('touchstart', function (e) { - this.startX = e.touches[0].clientX / game.documentZoom; - this.startY = e.touches[0].clientY / game.documentZoom; - _status.dragged = false; - }); - document.body.addEventListener('touchmove', function (e) { - if (_status.dragged) return; - if (Math.abs(e.touches[0].clientX / game.documentZoom - this.startX) > 10 || - Math.abs(e.touches[0].clientY / game.documentZoom - this.startY) > 10) { - _status.dragged = true; - } - }); - } - - if (lib.config.image_background.startsWith('custom_')) { - ui.background.style.backgroundImage = "none"; - game.getDB('image', lib.config.image_background, function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - var data = fileLoadedEvent.target.result; - ui.background.style.backgroundImage = 'url(' + data + ')'; - if (lib.config.image_background_blur) { - ui.background.style.filter = 'blur(8px)'; - ui.background.style.webkitFilter = 'blur(8px)'; - ui.background.style.transform = 'scale(1.05)'; - } - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - if (lib.config.card_style == 'custom') { - game.getDB('image', 'card_style', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.card_stylesheet) { - ui.css.card_stylesheet.remove(); - } - ui.css.card_stylesheet = lib.init.sheet('.card:not(*:empty){background-image:url(' + fileLoadedEvent.target.result + ')}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - if (lib.config.cardback_style == 'custom') { - game.getDB('image', 'cardback_style', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.cardback_stylesheet) { - ui.css.cardback_stylesheet.remove(); - } - ui.css.cardback_stylesheet = lib.init.sheet('.card:empty,.card.infohidden{background-image:url(' + fileLoadedEvent.target.result + ')}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - game.getDB('image', 'cardback_style2', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.cardback_stylesheet2) { - ui.css.cardback_stylesheet2.remove(); - } - ui.css.cardback_stylesheet2 = lib.init.sheet('.card.infohidden:not(.infoflip){background-image:url(' + fileLoadedEvent.target.result + ')}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - if (lib.config.hp_style == 'custom') { - game.getDB('image', 'hp_style1', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.hp_stylesheet1) { - ui.css.hp_stylesheet1.remove(); - } - ui.css.hp_stylesheet1 = lib.init.sheet('.hp:not(.text):not(.actcount)[data-condition="high"]>div:not(.lost){background-image:url(' + fileLoadedEvent.target.result + ')}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - game.getDB('image', 'hp_style2', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.hp_stylesheet2) { - ui.css.hp_stylesheet2.remove(); - } - ui.css.hp_stylesheet2 = lib.init.sheet('.hp:not(.text):not(.actcount)[data-condition="mid"]>div:not(.lost){background-image:url(' + fileLoadedEvent.target.result + ')}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - game.getDB('image', 'hp_style3', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.hp_stylesheet3) { - ui.css.hp_stylesheet3.remove(); - } - ui.css.hp_stylesheet3 = lib.init.sheet('.hp:not(.text):not(.actcount)[data-condition="low"]>div:not(.lost){background-image:url(' + fileLoadedEvent.target.result + ')}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - game.getDB('image', 'hp_style4', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.hp_stylesheet4) { - ui.css.hp_stylesheet4.remove(); - } - ui.css.hp_stylesheet4 = lib.init.sheet('.hp:not(.text):not(.actcount)>.lost{background-image:url(' + fileLoadedEvent.target.result + ')}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - if (lib.config.player_style == 'custom') { - ui.css.player_stylesheet = lib.init.sheet('#window .player{background-image:none;background-size:100% 100%;}'); - game.getDB('image', 'player_style', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.player_stylesheet) { - ui.css.player_stylesheet.remove(); - } - ui.css.player_stylesheet = lib.init.sheet('#window .player{background-image:url("' + fileLoadedEvent.target.result + '");background-size:100% 100%;}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - if (lib.config.border_style == 'custom') { - game.getDB('image', 'border_style', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.border_stylesheet) { - ui.css.border_stylesheet.remove(); - } - ui.css.border_stylesheet = lib.init.sheet(); - ui.css.border_stylesheet.sheet.insertRule('#window .player>.framebg{display:block;background-image:url("' + fileLoadedEvent.target.result + '")}', 0); - ui.css.border_stylesheet.sheet.insertRule('.player>.count{z-index: 3 !important;border-radius: 2px !important;text-align: center !important;}', 0); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - if (lib.config.control_style == 'custom') { - game.getDB('image', 'control_style', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.control_stylesheet) { - ui.css.control_stylesheet.remove(); - } - ui.css.control_stylesheet = lib.init.sheet('#window .control,.menubutton:not(.active):not(.highlight):not(.red):not(.blue),#window #system>div>div{background-image:url("' + fileLoadedEvent.target.result + '")}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - if (lib.config.menu_style == 'custom') { - game.getDB('image', 'menu_style', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.menu_stylesheet) { - ui.css.menu_stylesheet.remove(); - } - ui.css.menu_stylesheet = lib.init.sheet('html #window>.dialog.popped,html .menu,html .menubg{background-image:url("' + fileLoadedEvent.target.result + '");background-size:cover}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - - var proceed2 = async () => { - var mode = lib.imported.mode; - var card = lib.imported.card; - var character = lib.imported.character; - var play = lib.imported.play; - delete window.game; - var i, j, k; - for (i in mode[lib.config.mode].element) { - if (!lib.element[i]) lib.element[i] = []; - for (j in mode[lib.config.mode].element[i]) { - if (j == 'init') { - if (!lib.element[i].inits) lib.element[i].inits = []; - lib.element[i].inits.push(mode[lib.config.mode].element[i][j]); - } - else { - lib.element[i][j] = mode[lib.config.mode].element[i][j]; - } - } - } - for (i in mode[lib.config.mode].ai) { - if (typeof mode[lib.config.mode].ai[i] == 'object') { - if (ai[i] == undefined) ai[i] = {}; - for (j in mode[lib.config.mode].ai[i]) { - ai[i][j] = mode[lib.config.mode].ai[i][j]; - } - } - else { - ai[i] = mode[lib.config.mode].ai[i]; - } - } - for (i in mode[lib.config.mode].ui) { - if (typeof mode[lib.config.mode].ui[i] == 'object') { - if (ui[i] == undefined) ui[i] = {}; - for (j in mode[lib.config.mode].ui[i]) { - ui[i][j] = mode[lib.config.mode].ui[i][j]; - } - } - else { - ui[i] = mode[lib.config.mode].ui[i]; - } - } - for (i in mode[lib.config.mode].game) { - game[i] = mode[lib.config.mode].game[i]; - } - for (i in mode[lib.config.mode].get) { - get[i] = mode[lib.config.mode].get[i]; - } - lib.init.start = mode[lib.config.mode].start; - lib.init.startBefore = mode[lib.config.mode].startBefore; - if (game.onwash) { - lib.onwash.push(game.onwash); - delete game.onwash; - } - if (game.onover) { - lib.onover.push(game.onover); - delete game.onover; - } - lib.config.banned = lib.config[lib.config.mode + '_banned'] || []; - lib.config.bannedcards = lib.config[lib.config.mode + '_bannedcards'] || []; - - lib.rank = window.noname_character_rank; - delete window.noname_character_rank; - for (i in mode[lib.config.mode]) { - if (i == 'element') continue; - if (i == 'game') continue; - if (i == 'ai') continue; - if (i == 'ui') continue; - if (i == 'get') continue; - if (i == 'config') continue; - if (i == 'onreinit') continue; - if (i == 'start') continue; - if (i == 'startBefore') continue; - if (lib[i] == undefined) lib[i] = (Array.isArray(mode[lib.config.mode][i])) ? [] : {}; - for (j in mode[lib.config.mode][i]) { - lib[i][j] = mode[lib.config.mode][i][j]; - } - } - if (typeof mode[lib.config.mode].init == 'function') { - mode[lib.config.mode].init(); - } - - var connectCharacterPack = []; - var connectCardPack = []; - for (i in character) { - if (character[i].character) { - const characterPack = lib.characterPack[i]; - if (characterPack) Object.assign(characterPack, character[i].character); - else lib.characterPack[i] = character[i].character; - } - for (j in character[i]) { - if (j == 'mode' || j == 'forbid') continue; - if (j == 'connect') { - connectCharacterPack.push(i); - continue; - } - if (j == 'character' && !lib.config.characters.contains(i) && lib.config.mode != 'connect') { - if (lib.config.mode == 'chess' && get.config('chess_mode') == 'leader' && get.config('chess_leader_allcharacter')) { - for (k in character[i][j]) { - lib.hiddenCharacters.push(k); - } - } - else if (lib.config.mode != 'boss' || i != 'boss') { - continue; - } - } - if (Array.isArray(lib[j]) && Array.isArray(character[i][j])) { - lib[j].addArray(character[i][j]); - continue; - } - for (k in character[i][j]) { - if (j == 'character') { - if (!character[i][j][k][4]) { - character[i][j][k][4] = []; - } - if (character[i][j][k][4].contains('boss') || - character[i][j][k][4].contains('hiddenboss')) { - lib.config.forbidai.add(k); - } - if (lib.config.forbidai_user && lib.config.forbidai_user.contains(k)) { - lib.config.forbidai.add(k); - } - for (var l = 0; l < character[i][j][k][3].length; l++) { - lib.skilllist.add(character[i][j][k][3][l]); - } - } - if (j == 'skill' && k[0] == '_' && (lib.config.mode != 'connect' ? (!lib.config.characters.contains(i)) : (!character[i].connect))) { - continue; - } - if (j == 'translate' && k == i) { - lib[j][k + '_character_config'] = character[i][j][k]; - } - else { - if (lib[j][k] == undefined) { - if (j == 'skill' && !character[i][j][k].forceLoad && lib.config.mode == 'connect' && !character[i].connect) { - lib[j][k] = { - nopop: character[i][j][k].nopop, - derivation: character[i][j][k].derivation - }; - } - else { - Object.defineProperty(lib[j], k, Object.getOwnPropertyDescriptor(character[i][j], k)); - } - if (j == 'card' && lib[j][k].derivation) { - if (!lib.cardPack.mode_derivation) { - lib.cardPack.mode_derivation = [k]; - } - else { - lib.cardPack.mode_derivation.push(k); - } - } - } - else if (Array.isArray(lib[j][k]) && Array.isArray(character[i][j][k])) { - lib[j][k].addArray(character[i][j][k]); - } - else { - console.log( - `dublicate ${j} in character ${i}:\n${k}:\nlib.${j}.${k}`, - lib[j][k], - `\ncharacter.${i}.${j}.${k}`, - character[i][j][k] - ); - } - } - } - } - } - var connect_avatar_list = []; - for (var i in lib.character) { - connect_avatar_list.push(i); - } - connect_avatar_list.sort(lib.sort.capt); - for (var i = 0; i < connect_avatar_list.length; i++) { - var ia = connect_avatar_list[i]; - lib.mode.connect.config.connect_avatar.item[ia] = lib.translate[ia]; - } - if (lib.config.mode != 'connect') { - var pilecfg = lib.config.customcardpile[get.config('cardpilename') || '当前牌堆']; - if (pilecfg) { - lib.config.bannedpile = get.copy(pilecfg[0] || {}); - lib.config.addedpile = get.copy(pilecfg[1] || {}); - } - else { - lib.config.bannedpile = {}; - lib.config.addedpile = {}; - } - } - else { - lib.cardPackList = {}; - } - for (i in card) { - const cardPack = lib.cardPack[i] ? lib.cardPack[i] : lib.cardPack[i] = []; - if (card[i].card) { - for (var j in card[i].card) { - if (!card[i].card[j].hidden && card[i].translate[j + '_info']) { - cardPack.push(j); - } - } - } - for (j in card[i]) { - if (j == 'mode' || j == 'forbid') continue; - if (j == 'connect') { - connectCardPack.push(i); - continue; - } - if (j == 'list') { - if (lib.config.mode == 'connect') { - const cardPackList = lib.cardPackList[i]; - if (cardPackList) cardPackList.addArray(card[i][j]); - else lib.cardPackList[i] = card[i][j]; - } - else { - if (lib.config.cards.contains(i)) { - var pile; - if (typeof card[i][j] == 'function') { - pile = card[i][j](); - } - else { - pile = card[i][j]; - } - const cardPile = lib.cardPile[i]; - if (cardPile) cardPile.addArray(pile); - else lib.cardPile[i] = pile.slice(0); - if (lib.config.bannedpile[i]) { - for (var k = 0; k < lib.config.bannedpile[i].length; k++) { - pile[lib.config.bannedpile[i][k]] = null; - } - } - for (var k = 0; k < pile.length; k++) { - if (!pile[k]) { - pile.splice(k--, 1); - } - } - if (lib.config.addedpile[i]) { - for (var k = 0; k < lib.config.addedpile[i].length; k++) { - pile.push(lib.config.addedpile[i][k]); - } - } - lib.card.list.addArray(pile); - } - } - } - else { - for (k in card[i][j]) { - if (j == 'skill' && k[0] == '_' && !card[i][j][k].forceLoad && (lib.config.mode != 'connect' ? (!lib.config.cards.contains(i)) : (!card[i].connect))) { - continue; - } - if (j == 'translate' && k == i) { - lib[j][k + '_card_config'] = card[i][j][k]; - } - else { - if (lib[j][k] == undefined) { - if (j == 'skill' && !card[i][j][k].forceLoad && lib.config.mode == 'connect' && !card[i].connect) { - lib[j][k] = { - nopop: card[i][j][k].nopop, - derivation: card[i][j][k].derivation - }; - } - else { - Object.defineProperty(lib[j], k, Object.getOwnPropertyDescriptor(card[i][j], k)); - } - } - else { - console.log( - `dublicate ${j} in card ${i}:\n${k}:\nlib.${j}.${k}`, - lib[j][k], - `\ncard.${i}.${j}.${k}`, - card[i][j][k] - ); - } - if (j == 'card' && lib[j][k].derivation) { - if (!lib.cardPack.mode_derivation) { - lib.cardPack.mode_derivation = [k]; - } - else { - lib.cardPack.mode_derivation.push(k); - } - } - } - } - } - } - } - if (lib.cardPack.mode_derivation) { - for (var i = 0; i < lib.cardPack.mode_derivation.length; i++) { - if (typeof lib.card[lib.cardPack.mode_derivation[i]].derivation == 'string' && !lib.character[lib.card[lib.cardPack.mode_derivation[i]].derivation]) { - lib.cardPack.mode_derivation.splice(i--, 1); - } - else if (typeof lib.card[lib.cardPack.mode_derivation[i]].derivationpack == 'string' && !lib.config.cards.contains(lib.card[lib.cardPack.mode_derivation[i]].derivationpack)) { - lib.cardPack.mode_derivation.splice(i--, 1); - } - } - if (lib.cardPack.mode_derivation.length == 0) { - delete lib.cardPack.mode_derivation; - } - } - if (lib.config.mode != 'connect') { - for (i in play) { - if (lib.config.hiddenPlayPack.contains(i)) continue; - if (play[i].forbid && play[i].forbid.contains(lib.config.mode)) continue; - if (play[i].mode && play[i].mode.contains(lib.config.mode) == false) continue; - for (j in play[i].element) { - if (!lib.element[j]) lib.element[j] = []; - for (k in play[i].element[j]) { - if (k == 'init') { - if (!lib.element[j].inits) lib.element[j].inits = []; - lib.element[j].inits.push(play[i].element[j][k]); - } - else { - lib.element[j][k] = play[i].element[j][k]; - } - } - } - for (j in play[i].ui) { - if (typeof play[i].ui[j] == 'object') { - if (ui[j] == undefined) ui[j] = {}; - for (k in play[i].ui[j]) { - ui[j][k] = play[i].ui[j][k]; - } - } - else { - ui[j] = play[i].ui[j]; - } - } - for (j in play[i].game) { - game[j] = play[i].game[j]; - } - for (j in play[i].get) { - get[j] = play[i].get[j]; - } - for (j in play[i]) { - if (j == 'mode' || j == 'forbid' || j == 'init' || j == 'element' || - j == 'game' || j == 'get' || j == 'ui' || j == 'arenaReady') continue; - for (k in play[i][j]) { - if (j == 'translate' && k == i) { - // lib[j][k+'_play_config']=play[i][j][k]; - } - else { - if (lib[j][k] != undefined) { - console.log( - `dublicate ${j} in play ${i}:\n${k}:\nlib.${j}.${k}`, - lib[j][k], - `\nplay.${i}.${j}.${k}`, - play[i][j][k] - ); - } - lib[j][k] = play[i][j][k]; - } - } - } - if (typeof play[i].init == 'function') play[i].init(); - if (typeof play[i].arenaReady == 'function') lib.arenaReady.push(play[i].arenaReady); - } - } - - lib.connectCharacterPack = []; - lib.connectCardPack = []; - for (var i = 0; i < lib.config.all.characters.length; i++) { - var packname = lib.config.all.characters[i]; - if (connectCharacterPack.contains(packname)) { - lib.connectCharacterPack.push(packname) - } - } - for (var i = 0; i < lib.config.all.cards.length; i++) { - var packname = lib.config.all.cards[i]; - if (connectCardPack.contains(packname)) { - lib.connectCardPack.push(packname) - } - } - if (lib.config.mode != 'connect') { - for (i = 0; i < lib.card.list.length; i++) { - if (lib.card.list[i][2] == 'huosha') { - lib.card.list[i] = lib.card.list[i].slice(0); - lib.card.list[i][2] = 'sha'; - lib.card.list[i][3] = 'fire'; - } - else if (lib.card.list[i][2] == 'leisha') { - lib.card.list[i] = lib.card.list[i].slice(0); - lib.card.list[i][2] = 'sha'; - lib.card.list[i][3] = 'thunder'; - } - if (!lib.card[lib.card.list[i][2]]) { - lib.card.list.splice(i, 1); i--; - } - else if (lib.card[lib.card.list[i][2]].mode && - lib.card[lib.card.list[i][2]].mode.contains(lib.config.mode) == false) { - lib.card.list.splice(i, 1); i--; - } - } - } - - if (lib.config.mode == 'connect') { - _status.connectMode = true; - } - if (window.isNonameServer) { - lib.cheat.i(); - } - else if (lib.config.dev && (!_status.connectMode || lib.config.debug)) { - lib.cheat.i(); - } - lib.config.sort_card = get.sortCard(lib.config.sort); - delete lib.imported.character; - delete lib.imported.card; - delete lib.imported.mode; - delete lib.imported.play; - for (var i in lib.init) { - if (i.startsWith('setMode_')) { - delete lib.init[i]; - } - } - if (!_status.connectMode) { - for (var i = 0; i < lib.extensions.length; i++) { - try { - _status.extension = lib.extensions[i][0]; - _status.evaluatingExtension = lib.extensions[i][3]; - if (typeof lib.extensions[i][1] == "function") - await (gnc.is.coroutine(lib.extensions[i][1]) ? gnc.of(lib.extensions[i][1]) : lib.extensions[i][1]).call(lib.extensions[i], lib.extensions[i][2], lib.extensions[i][4]); - if (lib.extensions[i][4]) { - if (lib.extensions[i][4].character) { - for (var j in lib.extensions[i][4].character.character) { - game.addCharacterPack(get.copy(lib.extensions[i][4].character)); - break; - } - } - if (lib.extensions[i][4].card) { - for (var j in lib.extensions[i][4].card.card) { - game.addCardPack(get.copy(lib.extensions[i][4].card)); - break; - } - } - if (lib.extensions[i][4].skill) { - for (var j in lib.extensions[i][4].skill.skill) { - game.addSkill(j, lib.extensions[i][4].skill.skill[j], - lib.extensions[i][4].skill.translate[j], - lib.extensions[i][4].skill.translate[j + '_info'], - lib.extensions[i][4].skill.translate[j + '_append'], - lib.extensions[i][4].skill.translate[j + '_ab']); - } - } - } - delete _status.extension; - delete _status.evaluatingExtension; - } - catch (e) { - console.log(e); - } - } - } - delete lib.extensions; - - if (lib.init.startBefore) { - lib.init.startBefore(); - delete lib.init.startBefore; - } - ui.create.arena(); - game.createEvent('game', false).setContent(lib.init.start); - if (lib.mode[lib.config.mode] && lib.mode[lib.config.mode].fromextension) { - var startstr = mode[lib.config.mode].start.toString(); - if (startstr.indexOf('onfree') == -1) { - setTimeout(lib.init.onfree, 500); - } - } - delete lib.init.start; - if (Array.isArray(_status.onprepare) && _status.onprepare.length) { - await Promise.allSettled(_status.onprepare); - delete _status.onprepare; - } - game.loop(); - }; - var proceed = async () => { - if (!lib.db) { - try { - lib.storage = JSON.parse(localStorage.getItem(lib.configprefix + lib.config.mode)); - if (typeof lib.storage !== 'object') throw ('err'); - if (lib.storage === null) throw ('err'); - } catch (err) { - lib.storage = {}; - localStorage.setItem(lib.configprefix + lib.config.mode, "{}"); - } - await proceed2(); - } - else { - await game.getDB('data', lib.config.mode, async (obj) => { - lib.storage = obj || {}; - await proceed2(); - }); - } - }; - if (!lib.imported.mode || !lib.imported.mode[lib.config.mode]) { - window.inSplash = true; - clearTimeout(window.resetGameTimeout); - delete window.resetGameTimeout; - var clickedNode = false; - var clickNode = function () { - if (clickedNode) return; - this.classList.add('clicked'); - clickedNode = true; - lib.config.mode = this.link; - game.saveConfig('mode', this.link); - if (this.link == 'connect') { - localStorage.setItem(lib.configprefix + 'directstart', true); - game.reload(); - } - else { - if (game.layout != 'mobile' && lib.layoutfixed.indexOf(lib.config.mode) !== -1) { - game.layout = 'mobile'; - ui.css.layout.href = lib.assetURL + 'layout/' + game.layout + '/layout.css'; - } - else if (game.layout == 'mobile' && lib.config.layout != 'mobile' && lib.layoutfixed.indexOf(lib.config.mode) === -1) { - game.layout = lib.config.layout; - if (game.layout == 'default') { - ui.css.layout.href = ''; - } - else { - ui.css.layout.href = lib.assetURL + 'layout/' + game.layout + '/layout.css'; - } - } - splash.delete(1000); - delete window.inSplash; - window.resetGameTimeout = setTimeout(lib.init.reset, 10000); - - this.listenTransition(function () { - lib.init.js(lib.assetURL + 'mode', lib.config.mode, proceed); - }, 500); - } - } - var downNode = function () { - this.classList.add('glow'); - } - var upNode = function () { - this.classList.remove('glow'); - } - var splash = ui.create.div('#splash', document.body); - if (lib.config.touchscreen) { - splash.classList.add('touch'); - lib.setScroll(splash); - } - if (lib.config.player_border != 'wide') { - splash.classList.add('slim'); - } - splash.dataset.radius_size = lib.config.radius_size; - for (var i = 0; i < lib.config.all.mode.length; i++) { - var node = ui.create.div('.hidden', splash, clickNode); - node.link = lib.config.all.mode[i]; - ui.create.div(node, '.splashtext', get.verticalStr(get.translation(lib.config.all.mode[i]))); - if (lib.config.all.stockmode.includes(lib.config.all.mode[i])) { - // 初始启动页设置 - if (lib.config.splash_style == undefined) game.saveConfig('splash_style', 'style1'); - splash.dataset.splash_style = lib.config.splash_style; - // 扩展可通过window.splashurl设置素材读取路径 - if (window.splashurl == undefined) window.splashurl = 'image/splash/'; - if (lib.config.splash_style == 'style1' || lib.config.splash_style == 'style2') { - ui.create.div(node, '.avatar').setBackgroundImage('image/splash/' + lib.config.splash_style + '/' + lib.config.all.mode[i] + '.jpg'); - } else { - ui.create.div(node, '.avatar').setBackgroundImage(splashurl + lib.config.splash_style + '/' + lib.config.all.mode[i] + '.jpg'); - } - } - else { - var avatarnode = ui.create.div(node, '.avatar'); - var avatarbg = lib.mode[lib.config.all.mode[i]].splash; - if (avatarbg.startsWith('ext:')) { - avatarnode.setBackgroundImage(avatarbg.replace(/^ext:/, 'extension/')); - } - else { - avatarnode.setBackgroundDB(avatarbg); - } - } - if (!lib.config.touchscreen) { - node.addEventListener('mousedown', downNode); - node.addEventListener('mouseup', upNode); - node.addEventListener('mouseleave', upNode); - } - setTimeout((function (node) { - return function () { - node.show(); - } - }(node)), i * 100); - } - if (lib.config.mousewheel) { - splash.onmousewheel = ui.click.mousewheel; - } - } - else { - await proceed(); - } - localStorage.removeItem(lib.configprefix + 'directstart'); - delete lib.init.init; - const libOnload2 = lib.onload2; - delete lib.onload2; - while (Array.isArray(libOnload2) && libOnload2.length) { - const fun = libOnload2.shift(); - if (typeof fun != "function") continue; - await (gnc.is.generatorFunc(fun) ? gnc.of(fun) : fun)(); - } - }, - startOnline: function () { - 'step 0' - event._resultid = null; - event._result = null; - game.pause(); - 'step 1' - if (result) { - if (event._resultid) { - result.id = event._resultid; - } - game.send('result', result); - } - event.goto(0); - }, - onfree: function () { - if (lib.onfree) { - clearTimeout(window.resetGameTimeout); - delete window.resetGameTimeout; - if (!game.syncMenu) { - delete window.resetExtension; - localStorage.removeItem(lib.configprefix + 'disable_extension'); - } - - if (game.removeFile && lib.config.brokenFile.length) { - while (lib.config.brokenFile.length) { - game.removeFile(lib.config.brokenFile.shift()); - } - game.saveConfigValue('brokenFile'); - } - - var onfree = lib.onfree; - delete lib.onfree; - var loop = function () { - if (onfree.length) { - (onfree.shift())(); - setTimeout(loop, 100); - } - }; - setTimeout(loop, 500); - if (!_status.new_tutorial) game.saveConfig('menu_loadondemand', true, lib.config.mode); - } - }, - connection: function (ws) { - const client = new lib.element.Client(ws); - lib.node.clients.push(client); - if (window.isNonameServer) { - document.querySelector('#server_count').innerHTML = lib.node.clients.length; - } - ws.on('message', function (messagestr) { - var message; - try { - message = JSON.parse(messagestr); - if (!Array.isArray(message) || - typeof lib.message.server[message[0]] !== 'function') { - throw ('err'); - } - for (var i = 1; i < message.length; i++) { - message[i] = get.parsedResult(message[i]); - } - } - catch (e) { - console.log(e); - console.log('invalid message: ' + messagestr); - return; - } - lib.message.server[message.shift()].apply(client, message); - }); - ws.on('close', function () { - client.close(); - }); - client.send('opened'); - }, - sheet: function () { - var style = document.createElement('style'); - document.head.appendChild(style); - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'string') { - style.sheet.insertRule(arguments[i], 0); - } - } - return style; - }, - css: (path, file, before) => { - const style = document.createElement("link"); - style.rel = "stylesheet"; - if (path) { - if (path[path.length - 1] == '/') path = path.slice(0, path.length - 1); - if (file) path = `${path}${/^db:extension-[^:]*$/.test(path) ? ':' : '/'}${file}.css`; - (path.startsWith('db:') ? game.getDB('image', path.slice(3)).then(get.objectURL) : new Promise(resolve => resolve(path))).then(resolvedPath => { - style.href = resolvedPath; - if (typeof before == 'function') { - style.addEventListener('load', before); - document.head.appendChild(style); - } - else if (before) document.head.insertBefore(style, before); - else document.head.appendChild(style); - }); - } - return style; - }, - //在扩展的precontent中调用,用于加载扩展必需的JS文件。 - //If any of the parameters is an Array, corresponding files will be loaded in order - //如果任意参数为数组,则按顺序加载加载相应的文件 - jsForExtension: (path, file, onLoad, onError) => { - if (!_status.javaScriptExtensions) _status.javaScriptExtensions = []; - _status.javaScriptExtensions.push({ - path: path, - file: file, - onLoad: onLoad, - onError: onError - }); - }, - js: (path, file, onLoad, onError) => { - if (path[path.length - 1] == '/') path = path.slice(0, path.length - 1); - if (path == `${lib.assetURL}mode` && lib.config.all.stockmode.indexOf(file) == -1) { - lib.genAwait(lib.init[`setMode_${file}`]()).then(onLoad); - return; - } - if (Array.isArray(file)) { - file.forEach(value => lib.init.js(path, value, onLoad, onError)); - return; - } - let scriptSource = file ? `${path}${/^db:extension-[^:]*$/.test(path) ? ':' : '/'}${file}.js` : path; - if (path.startsWith('http')) scriptSource += `?rand=${get.id()}`; - else if (lib.config.fuck_sojson && scriptSource.includes('extension') != -1 && scriptSource.startsWith(lib.assetURL)) { - const pathToRead = scriptSource.slice(lib.assetURL.length); - const alertMessage = `检测到您安装了使用免费版sojson进行加密的扩展。请谨慎使用这些扩展,避免游戏数据遭到破坏。\n扩展文件:${pathToRead}`; - if (typeof game.readFileAsText == 'function') game.readFileAsText(pathToRead, result => { - if (result.includes('sojson') || result.includes('jsjiami') || result.includes('var _0x')) alert(alertMessage); - }, () => void 0); - else if (location.origin != 'file://') lib.init.reqSync(pathToRead, function () { - const result = this.responseText; - if (result.includes('sojson') || result.includes('jsjiami') || result.includes('var _0x')) alert(alertMessage); - }, () => void 0); - } - const script = document.createElement('script'); - (scriptSource.startsWith('db:') ? game.getDB('image', scriptSource.slice(3)).then(get.objectURL) : new Promise(resolve => resolve(scriptSource))).then(resolvedScriptSource => { - script.src = resolvedScriptSource; - if (path.startsWith('http')) script.addEventListener('load', () => script.remove()); - document.head.appendChild(script); - if (typeof onLoad == 'function') script.addEventListener('load', onLoad); - if (typeof onError == 'function') script.addEventListener('error', onError); - }); - return script; - }, - /** - * 同步lib.init.js - * @returns { void } - */ - jsSync: (path, file, onLoad, onError) => { - if (lib.assetURL.length == 0 && location.origin == 'file://' && typeof game.readFile == 'undefined') { - const e = new Error('浏览器file协议下无法使用此api,请在http/https协议下使用此api'); - if (typeof onError == 'function') onError(e); - else throw e; - return; - } - if (path[path.length - 1] == '/') path = path.slice(0, path.length - 1); - if (path == `${lib.assetURL}mode` && lib.config.all.stockmode.indexOf(file) == -1) { - lib.genAwait(lib.init[`setMode_${file}`]()).then(onLoad); - return; - } - if (Array.isArray(file)) { - return file.forEach(value => lib.init.jsSync(path, value, onLoad, onError)); - } - let scriptSource; - if (!file) scriptSource = path; - else scriptSource = `${path}/${file}.js`; - if (path.startsWith('http')) scriptSource += `?rand=${get.id()}`; - const xmlHttpRequest = new XMLHttpRequest(); - let data; - xmlHttpRequest.addEventListener("load", () => { - data = xmlHttpRequest.responseText; - if (!data) { - if (typeof onError == 'function') onError(new Error(`${scriptSource}加载失败!`)); - return; - } - if (lib.config.fuck_sojson && scriptSource.includes('extension') != -1 && scriptSource.startsWith(lib.assetURL)) { - const pathToRead = scriptSource.slice(lib.assetURL.length); - if (data.includes('sojson') || data.includes('jsjiami') || data.includes('var _0x')) alert(`检测到您安装了使用免费版sojson进行加密的扩展。请谨慎使用这些扩展,避免游戏数据遭到破坏。\n扩展文件:${pathToRead}`); - } - try { - window.eval(data); - if (typeof onLoad == 'function') onLoad(); - } - catch (error) { - if (typeof onError == 'function') onError(error); - } - }); - if (typeof onError == 'function') xmlHttpRequest.addEventListener("error", onError); - xmlHttpRequest.open("GET", scriptSource, false); - xmlHttpRequest.send(); - }, - req: (str, onload, onerror, master) => { - let sScriptURL; - if (str.startsWith('http')) sScriptURL = str; - else if (str.startsWith('local:')) { - if (lib.assetURL.length == 0 && location.origin == 'file://' && typeof game.readFile == 'undefined') { - const e = new Error('浏览器file协议下无法使用此api,请在http/https协议下使用此api'); - if (typeof onerror == 'function') onerror(e); - else throw e; - return; - } - sScriptURL = lib.assetURL + str.slice(6); - } - else { - let url = get.url(master); - if (url[url.length - 1] != '/') url += '/'; - sScriptURL = url + str; - } - const oReq = new XMLHttpRequest(); - if (typeof onload == 'function') oReq.addEventListener("load", onload); - if (typeof onerror == 'function') oReq.addEventListener("error", onerror); - oReq.open("GET", sScriptURL); - oReq.send(); - }, - /** - * 同步lib.init.req - */ - reqSync: (str, onload, onerror, master) => { - let sScriptURL; - if (str.startsWith('http')) sScriptURL = str; - else if (str.startsWith('local:')) { - if (lib.assetURL.length == 0 && location.origin == 'file://' && typeof game.readFile == 'undefined') { - const e = new Error('浏览器file协议下无法使用此api,请在http/https协议下使用此api'); - if (typeof onerror == 'function') onerror(e); - else throw e; - return; - } - sScriptURL = lib.assetURL + str.slice(6); - } - else { - let url = get.url(master); - if (url[url.length - 1] != '/') url += '/'; - sScriptURL = url + str; - } - const oReq = new XMLHttpRequest(); - if (typeof onload == 'function') oReq.addEventListener("load", onload); - if (typeof onerror == 'function') oReq.addEventListener("error", onerror); - oReq.open("GET", sScriptURL, false); - oReq.send(); - if (typeof onload !== 'function') return oReq.responseText; - }, - json: (url, onload, onerror) => { - const oReq = new XMLHttpRequest(); - if (typeof onload == 'function') oReq.addEventListener("load", () => { - let result; - try { - result = JSON.parse(oReq.responseText); - if (!result) throw ('err'); - } - catch (e) { - if (typeof onerror == 'function') onerror(e); - return; - } - onload(result); - }); - if (typeof onerror == 'function') oReq.addEventListener("error", onerror); - oReq.open("GET", url); - oReq.send(); - }, - /** - * 同步lib.init.json - */ - jsonSync: (url, onload, onerror) => { - if (lib.assetURL.length == 0 && location.origin == 'file://' && typeof game.readFile == 'undefined') { - const e = new Error('浏览器file协议下无法使用此api,请在http/https协议下使用此api'); - if (typeof onerror == 'function') onerror(e); - else throw e; - return; - } - const oReq = new XMLHttpRequest(); - if (typeof onload == 'function') oReq.addEventListener("load", () => { - let result; - try { - result = JSON.parse(oReq.responseText); - if (!result) throw ('err'); - } - catch (e) { - if (typeof onerror == 'function') onerror(e); - return; - } - onload(result); - }); - if (typeof onerror == 'function') oReq.addEventListener("error", onerror); - oReq.open("GET", url, false); - oReq.send(); - }, - cssstyles: function () { - if (ui.css.styles) { - ui.css.styles.remove(); - } - ui.css.styles = lib.init.sheet(); - ui.css.styles.sheet.insertRule('#arena .player>.name,#arena .button.character>.name {font-family: ' + (lib.config.name_font || 'xinwei') + ',xinwei}', 0); - ui.css.styles.sheet.insertRule('#arena .player>.name,.button.character>.name {font-family: ' + (lib.config.name_font || 'xinwei') + ',xinwei}', 0); - ui.css.styles.sheet.insertRule('#arena .player .identity>div {font-family: ' + (lib.config.identity_font || 'huangcao') + ',xinwei}', 0); - ui.css.styles.sheet.insertRule('.button.character.newstyle>.identity {font-family: ' + (lib.config.identity_font || 'huangcao') + ',xinwei}', 0); - if (lib.config.cardtext_font && lib.config.cardtext_font != 'default') { - ui.css.styles.sheet.insertRule('.card div:not(.info):not(.background) {font-family: ' + lib.config.cardtext_font + ';}', 0); - } - if (lib.config.global_font && lib.config.global_font != 'default') { - ui.css.styles.sheet.insertRule('#window {font-family: ' + lib.config.global_font + ',xinwei}', 0); - ui.css.styles.sheet.insertRule('#window #control{font-family: STHeiti,SimHei,Microsoft JhengHei,Microsoft YaHei,WenQuanYi Micro Hei,Suits,Helvetica,Arial,sans-serif}', 0); - } - switch (lib.config.glow_phase) { - case 'yellow': ui.css.styles.sheet.insertRule('#arena .player:not(.selectable):not(.selected).glow_phase {box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgb(217, 152, 62) 0 0 15px, rgb(217, 152, 62) 0 0 15px !important;}', 0); break; - case 'green': ui.css.styles.sheet.insertRule('#arena .player:not(.selectable):not(.selected).glow_phase {box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgba(10, 155, 67, 1) 0 0 15px, rgba(10, 155, 67, 1) 0 0 15px !important;}', 0); break; - case 'purple': ui.css.styles.sheet.insertRule('#arena .player:not(.selectable):not(.selected).glow_phase {box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgb(189, 62, 170) 0 0 15px, rgb(189, 62, 170) 0 0 15px !important;}', 0); break; - } - }, - layout: function (layout, nosave) { - const loadingScreen = ui.create.div('.loading-screen', document.body), loadingScreenStyle = loadingScreen.style; - loadingScreenStyle.animationDuration = '1s'; - loadingScreenStyle.animationFillMode = 'forwards'; - loadingScreenStyle.animationName = 'opacity-0-1'; - if (layout == 'default') layout = 'mobile'; - if (!nosave) game.saveConfig('layout', layout); - game.layout = layout; - ui.arena.hide(); - new Promise(resolve => setTimeout(resolve, 500)).then(() => { - if (game.layout == 'default') { - ui.css.layout.href = ''; - } - else { - ui.css.layout.href = lib.assetURL + 'layout/' + game.layout + '/layout.css'; - } - if (game.layout == 'mobile' || game.layout == 'long') { - ui.arena.classList.add('mobile'); - } - else { - ui.arena.classList.remove('mobile'); - } - if (game.layout == 'mobile' || game.layout == 'long' || game.layout == 'long2' || game.layout == 'nova') { - if (game.me && game.me.node.handcards2.childNodes.length) { - while (game.me.node.handcards2.childNodes.length) { - game.me.node.handcards1.appendChild(game.me.node.handcards2.firstChild); - } - } - } - if (game.layout == 'default') { - ui.arena.classList.add('oldlayout'); - } - else { - ui.arena.classList.remove('oldlayout'); - } - if (lib.config.cardshape == 'oblong' && (game.layout == 'long' || game.layout == 'mobile' || game.layout == 'long2' || game.layout == 'nova')) { - ui.arena.classList.add('oblongcard'); - ui.window.classList.add('oblongcard'); - } - else { - ui.arena.classList.remove('oblongcard'); - ui.window.classList.remove('oblongcard'); - } - //if(lib.config.textequip=='text'&&(game.layout=='long'||game.layout=='mobile')){ - if (game.layout == 'long' || game.layout == 'mobile') { - ui.arena.classList.add('textequip'); - } - else { - ui.arena.classList.remove('textequip'); - } - if (get.is.phoneLayout()) { - ui.css.phone.href = lib.assetURL + 'layout/default/phone.css'; - ui.arena.classList.add('phone'); - } - else { - ui.css.phone.href = ''; - ui.arena.classList.remove('phone'); - } - for (var i = 0; i < game.players.length; i++) { - if (get.is.linked2(game.players[i])) { - if (game.players[i].classList.contains('linked')) { - game.players[i].classList.remove('linked'); - game.players[i].classList.add('linked2'); - } - } - else { - if (game.players[i].classList.contains('linked2')) { - game.players[i].classList.remove('linked2'); - game.players[i].classList.add('linked'); - } - } - } - if (game.layout == 'long' || game.layout == 'long2') { - ui.arena.classList.add('long'); - } - else { - ui.arena.classList.remove('long'); - } - if (lib.config.player_border != 'wide' || game.layout == 'long' || game.layout == 'long2') { - ui.arena.classList.add('slim_player'); - } - else { - ui.arena.classList.remove('slim_player'); - } - if (lib.config.player_border == 'normal' && lib.config.mode != 'brawl' && (game.layout == 'long' || game.layout == 'long2')) { - ui.arena.classList.add('lslim_player'); - } - else { - ui.arena.classList.remove('lslim_player'); - } - if (lib.config.player_border == 'slim') { - ui.arena.classList.add('uslim_player'); - } - else { - ui.arena.classList.remove('uslim_player'); - } - if (lib.config.player_border == 'narrow') { - ui.arena.classList.add('mslim_player'); - } - else { - ui.arena.classList.remove('mslim_player'); - } - ui.updatej(); - ui.updatem(); - return new Promise(resolve => setTimeout(resolve, 100)); - }).then(() => { - ui.arena.show(); - if (game.me) game.me.update(); - return new Promise(resolve => setTimeout(resolve, 500)); - }).then(() => { - ui.updatex(); - ui.updatePlayerPositions(); - return new Promise(resolve => setTimeout(resolve, 500)); - }).then(() => { - ui.updatec(); - loadingScreenStyle.animationName = 'opacity-1-0'; - loadingScreen.addEventListener('animationend', animationEvent => animationEvent.target.remove()); - }); - }, - background: function () { - if (lib.config.image_background_random) { - var list = []; - for (var i in lib.configMenu.appearence.config.image_background.item) { - if (i == 'default') continue; - list.push(i); - } - list.remove(lib.config.image_background); - localStorage.setItem(lib.configprefix + 'background', JSON.stringify(list)); - } - else if (lib.config.image_background && lib.config.image_background != 'default' && !lib.config.image_background.startsWith('custom_')) { - localStorage.setItem(lib.configprefix + 'background', lib.config.image_background); - } - else if (lib.config.image_background == 'default' && lib.config.theme == 'simple') { - localStorage.setItem(lib.configprefix + 'background', 'ol_bg'); - } - else { - localStorage.removeItem(lib.configprefix + 'background'); - } - }, - /** - * - * @param {*} item - * @param {Function} [scope] 作用域 - * @returns - */ - parsex: function (item, scope) { - //by 诗笺、Tipx-L - /** - * @param {Function} func - */ - function Legacy(func) { - //Remove all comments - //移除所有注释 - let str = func.toString().replace(/((?:(?:^[ \t]*)?(?:\/\*[^*]*\*+(?:[^/*][^*]*\*+)*\/(?:[ \t]*\r?\n(?=[ \t]*(?:\r?\n|\/\*|\/\/)))?|\/\/(?:[^\\]|\\(?:\r?\n)?)*?(?:\r?\n(?=[ \t]*(?:\r?\n|\/\*|\/\/))|(?=\r?\n))))+)|("(?:\\[\s\S]|[^"\\])*"|'(?:\\[\s\S]|[^'\\])*'|(?:\r?\n|[\s\S])[^/"'\\\s]*)/mg, '$2').trim(); - //获取第一个 { 后的所有字符 - str = str.slice(str.indexOf('{') + 1); - //判断代码中是否有debugger - let regex = /event\.debugger\(\)/; - let hasDebugger = false; - let insertDebugger = `yield code=>eval(code);`; - let debuggerSkip = 0; - let debuggerResult; - while ((debuggerResult = str.slice(debuggerSkip).match(regex)) != null) { - let debuggerCopy = str; - debuggerCopy = debuggerCopy.slice(0, debuggerSkip + debuggerResult.index) + insertDebugger + debuggerCopy.slice(debuggerSkip + debuggerResult.index + debuggerResult[0].length, -1); - //测试是否有错误 - try { - new GeneratorFunction(debuggerCopy); - str = debuggerCopy + '}'; - debuggerSkip += debuggerResult.index + insertDebugger.length; - hasDebugger = true; - } catch (error) { - debuggerSkip += debuggerResult.index + debuggerResult[0].length; - } - } - //func中要写步骤的话,必须要写step 0 - if (str.indexOf('step 0') == -1) { - str = '{if(event.step==1) {event.finish();return;}\n' + str; - } else { - let skip = 0; - let k = 0; - let result; - //去除99个step的限制 - while ((result = str.slice(skip).match(new RegExp(`['"]step ${k}['"]`))) != null) { - let insertStr; - if (k == 0) { - insertStr = `switch(step){case 0:`; - } else { - insertStr = `break;case ${k}:`; - } - let copy = str; - copy = copy.slice(0, skip + result.index) + insertStr + copy.slice(skip + result.index + result[0].length); - //测试是否有错误 - try { - new (hasDebugger ? GeneratorFunction : Function)(copy); - str = copy; - skip += result.index + insertStr.length; - } catch (error) { - k--; - skip += result.index + result[0].length; - } - k++; - } - str = `if(event.step==${k}){event.finish();return;}` + str; - } - if (!scope) { - return (new (hasDebugger ? GeneratorFunction : Function)('event', 'step', 'source', 'player', 'target', 'targets', - 'card', 'cards', 'skill', 'forced', 'num', 'trigger', 'result', - '_status', 'lib', 'game', 'ui', 'get', 'ai', str)); - } else { - return scope(`function${hasDebugger ? '*' : ''} anonymous(event,step,source,player,target,targets, - card,cards,skill,forced,num,trigger,result, - _status,lib,game,ui,get,ai){${str}}; anonymous;`); - } - } - switch (typeof item) { - case "object": - if (Array.isArray(item)) { - let lastEvent = null; - return function* (event, step, source, player, target, targets, card, cards, skill, forced, num, trigger, result, _status, lib, game, ui, get, ai) { - if (step >= item.length) return event.finish(); - var current = item[step]; - if (typeof current != "function") throw new Error(`content ${step} of ${event.name} is not vaild: ${current}`); - var currentResult = current(event, { - event: event, - step: step, - source: source, - player: player, - target: target, - targets: targets, - card: card, - cards: cards, - skill: skill, - forced: forced, - num: num, - trigger: trigger, - result: result - }, (lastEvent && ("result" in lastEvent)) ? lastEvent.result : null); - // TODO: use `event.debugger` to replace source - if (gnc.is.generator(currentResult)) lastEvent = yield* currentResult; - else lastEvent = currentResult; - } - } - else { - if (Symbol.iterator in item) return lib.init.parsex(Array.from(item)); - if (item.toString !== Object.prototype.toString) return lib.init.parsex(item.toString()); - if ("render" in item) { - // TODO: Object Render Parse - throw new Error("NYI: Object Render Parse"); - } - // TODO: Object Other Parse - throw new Error("NYI: Object Other Parse"); - } - case "function": - if (gnc.is.generatorFunc(item)) { - let gen, lastEvent; - return function* (event, step, source, player, target, targets, card, cards, skill, forced, num, trigger, result, _status, lib, game, ui, get, ai) { - event.step = NaN; - if (!gen) gen = item(event, { - event: event, - step: step, - source: source, - player: player, - target: target, - targets: targets, - card: card, - cards: cards, - skill: skill, - forced: forced, - num: num, - trigger: trigger, - result: result - }); - var res = gen.next((lastEvent && ("result" in lastEvent)) ? lastEvent.result : null); - if (res.done) return event.finish(); - var currentResult = res.value; - // TODO: use `event.debugger` to replace source - if (typeof currentResult == "function") yield currentResult; - else { - if (Array.isArray(currentResult)) { - event.step = currentResult[1]; - currentResult = currentResult[0]; - } - lastEvent = currentResult; - } - } - } else if (item._parsed) return item; - // falls through - default: - return Legacy(item); - } - }, - eval: function (func) { - if (typeof func == 'function') { - return eval('(' + func.toString() + ')'); - } - else if (typeof func == 'object') { - for (var i in func) { - if (Object.prototype.hasOwnProperty.call(func, i)) { - func[i] = lib.init.eval(func[i]); - } - } - } - return func; - }, - encode: function (strUni) { - var strUtf = strUni.replace( - /[\u0080-\u07ff]/g, function (c) { - var cc = c.charCodeAt(0); - return String.fromCharCode(0xc0 | cc >> 6, 0x80 | cc & 0x3f); - }); - strUtf = strUtf.replace( - /[\u0800-\uffff]/g, function (c) { - var cc = c.charCodeAt(0); - return String.fromCharCode(0xe0 | cc >> 12, 0x80 | cc >> 6 & 0x3F, 0x80 | cc & 0x3f); - }); - return btoa(strUtf); - }, - decode: function (str) { - var strUtf = atob(str); - var strUni = strUtf.replace( - /[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g, function (c) { - var cc = ((c.charCodeAt(0) & 0x0f) << 12) | ((c.charCodeAt(1) & 0x3f) << 6) | (c.charCodeAt(2) & 0x3f); - return String.fromCharCode(cc); - }); - strUni = strUni.replace( - /[\u00c0-\u00df][\u0080-\u00bf]/g, function (c) { - var cc = (c.charCodeAt(0) & 0x1f) << 6 | c.charCodeAt(1) & 0x3f; - return String.fromCharCode(cc); - }); - return strUni; - }, - stringify: function (obj) { - var str = '{' - for (var i in obj) { - str += '"' + i + '":' - if (Object.prototype.toString.call(obj[i]) == '[object Object]') { - str += lib.init.stringify(obj[i]); - } - else if (typeof obj[i] == 'function') { - str += obj[i].toString(); - } - else { - str += JSON.stringify(obj[i]); - } - str += ',' - } - str += '}'; - return str; - }, - stringifySkill: function (obj) { - var str = ''; - for (var i in obj) { - str += i + ':' - if (Object.prototype.toString.call(obj[i]) == '[object Object]') { - str += '{\n' + lib.init.stringifySkill(obj[i]) + '}'; - } - else if (typeof obj[i] == 'function') { - str += obj[i].toString().replace(/\t/g, ''); - } - else { - str += JSON.stringify(obj[i]); - } - str += ',\n' - } - return str; - } - } + static init = LibInit static cheat = { i: function () { window.cheat = lib.cheat; diff --git a/noname/library/init/index.js b/noname/library/init/index.js new file mode 100644 index 000000000..fb1c68a7c --- /dev/null +++ b/noname/library/init/index.js @@ -0,0 +1,1575 @@ +import { nonameInitialized, assetURL, userAgent, Uninstantable, GeneratorFunction, AsyncFunction } from "../../util/index.js"; +import { AI as ai } from '../../ai/index.js'; +import { Get as get } from '../../get/index.js'; +import { Game as game } from '../../game/index.js'; +import { Library as lib } from "../index.js"; +import { status as _status } from '../../status/index.js'; +import { UI as ui } from '../../ui/index.js'; +import { GNC as gnc } from '../../gnc/index.js'; + +import { LibInitPromises } from "./promises.js"; + +export class LibInit extends Uninstantable { + /** + * 部分函数的Promise版本 + */ + static promises = LibInitPromises + + static init() { + return; + } + + static reset() { + if (window.inSplash) return; + if (window.resetExtension) { + if (confirm('游戏似乎未正常载入,有可能因为部分扩展未正常载入,或者因为部分扩展未载入完毕。\n是否禁用扩展并重新打开?')) { + window.resetExtension(); + window.location.reload(); + } + } + else { + if (lib.device) { + if (navigator.notification) { + navigator.notification.confirm( + '游戏似乎未正常载入,是否重置游戏?', + function (index) { + if (index == 2) { + localStorage.removeItem('noname_inited'); + window.location.reload(); + } + else if (index == 3) { + var noname_inited = localStorage.getItem('noname_inited'); + var onlineKey = localStorage.getItem(lib.configprefix + 'key'); + localStorage.clear(); + if (noname_inited) { + localStorage.setItem('noname_inited', noname_inited); + } + if (onlineKey) { + localStorage.setItem(lib.configprefix + 'key', onlineKey); + } + if (indexedDB) indexedDB.deleteDatabase(lib.configprefix + 'data'); + setTimeout(function () { + window.location.reload(); + }, 200); + } + }, + '确认退出', + ['取消', '重新下载', '重置设置'] + ); + } + else { + if (confirm('游戏似乎未正常载入,是否重置游戏?')) { + localStorage.removeItem('noname_inited'); + window.location.reload(); + } + } + } + else { + if (confirm('游戏似乎未正常载入,是否重置游戏?')) { + var onlineKey = localStorage.getItem(lib.configprefix + 'key'); + localStorage.clear(); + if (onlineKey) { + localStorage.setItem(lib.configprefix + 'key', onlineKey); + } + if (indexedDB) indexedDB.deleteDatabase(lib.configprefix + 'data'); + setTimeout(function () { + window.location.reload(); + }, 200); + } + } + } + } + + //lib.onload支持传入GeneratorFunction以解决异步函数的问题 by诗笺 + static async onload() { + const libOnload = lib.onload; + delete lib.onload; + while (Array.isArray(libOnload) && libOnload.length) { + const fun = libOnload.shift(); + if (typeof fun !== "function") continue; + await (gnc.is.generatorFunc(fun) ? gnc.of(fun) : fun)(); + } + ui.updated(); + game.documentZoom = game.deviceZoom; + if (game.documentZoom != 1) { + ui.updatez(); + } + ui.background = ui.create.div('.background'); + ui.background.style.backgroundSize = "cover"; + ui.background.style.backgroundPosition = '50% 50%'; + if (lib.config.image_background && lib.config.image_background != 'default' && !lib.config.image_background.startsWith('custom_')) { + ui.background.setBackgroundImage('image/background/' + lib.config.image_background + '.jpg'); + if (lib.config.image_background_blur) { + ui.background.style.filter = 'blur(8px)'; + ui.background.style.webkitFilter = 'blur(8px)'; + ui.background.style.transform = 'scale(1.05)'; + } + } + document.documentElement.style.backgroundImage = ''; + document.documentElement.style.backgroundSize = ''; + document.documentElement.style.backgroundPosition = ''; + document.body.insertBefore(ui.background, document.body.firstChild); + document.body.onresize = ui.updatexr; + if (lib.config.touchscreen) { + document.body.addEventListener('touchstart', function (e) { + this.startX = e.touches[0].clientX / game.documentZoom; + this.startY = e.touches[0].clientY / game.documentZoom; + _status.dragged = false; + }); + document.body.addEventListener('touchmove', function (e) { + if (_status.dragged) return; + if (Math.abs(e.touches[0].clientX / game.documentZoom - this.startX) > 10 || + Math.abs(e.touches[0].clientY / game.documentZoom - this.startY) > 10) { + _status.dragged = true; + } + }); + } + + if (lib.config.image_background.startsWith('custom_')) { + ui.background.style.backgroundImage = "none"; + game.getDB('image', lib.config.image_background, function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + var data = fileLoadedEvent.target.result; + ui.background.style.backgroundImage = 'url(' + data + ')'; + if (lib.config.image_background_blur) { + ui.background.style.filter = 'blur(8px)'; + ui.background.style.webkitFilter = 'blur(8px)'; + ui.background.style.transform = 'scale(1.05)'; + } + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + if (lib.config.card_style == 'custom') { + game.getDB('image', 'card_style', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.card_stylesheet) { + ui.css.card_stylesheet.remove(); + } + ui.css.card_stylesheet = lib.init.sheet('.card:not(*:empty){background-image:url(' + fileLoadedEvent.target.result + ')}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + if (lib.config.cardback_style == 'custom') { + game.getDB('image', 'cardback_style', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.cardback_stylesheet) { + ui.css.cardback_stylesheet.remove(); + } + ui.css.cardback_stylesheet = lib.init.sheet('.card:empty,.card.infohidden{background-image:url(' + fileLoadedEvent.target.result + ')}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + game.getDB('image', 'cardback_style2', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.cardback_stylesheet2) { + ui.css.cardback_stylesheet2.remove(); + } + ui.css.cardback_stylesheet2 = lib.init.sheet('.card.infohidden:not(.infoflip){background-image:url(' + fileLoadedEvent.target.result + ')}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + if (lib.config.hp_style == 'custom') { + game.getDB('image', 'hp_style1', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.hp_stylesheet1) { + ui.css.hp_stylesheet1.remove(); + } + ui.css.hp_stylesheet1 = lib.init.sheet('.hp:not(.text):not(.actcount)[data-condition="high"]>div:not(.lost){background-image:url(' + fileLoadedEvent.target.result + ')}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + game.getDB('image', 'hp_style2', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.hp_stylesheet2) { + ui.css.hp_stylesheet2.remove(); + } + ui.css.hp_stylesheet2 = lib.init.sheet('.hp:not(.text):not(.actcount)[data-condition="mid"]>div:not(.lost){background-image:url(' + fileLoadedEvent.target.result + ')}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + game.getDB('image', 'hp_style3', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.hp_stylesheet3) { + ui.css.hp_stylesheet3.remove(); + } + ui.css.hp_stylesheet3 = lib.init.sheet('.hp:not(.text):not(.actcount)[data-condition="low"]>div:not(.lost){background-image:url(' + fileLoadedEvent.target.result + ')}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + game.getDB('image', 'hp_style4', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.hp_stylesheet4) { + ui.css.hp_stylesheet4.remove(); + } + ui.css.hp_stylesheet4 = lib.init.sheet('.hp:not(.text):not(.actcount)>.lost{background-image:url(' + fileLoadedEvent.target.result + ')}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + if (lib.config.player_style == 'custom') { + ui.css.player_stylesheet = lib.init.sheet('#window .player{background-image:none;background-size:100% 100%;}'); + game.getDB('image', 'player_style', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.player_stylesheet) { + ui.css.player_stylesheet.remove(); + } + ui.css.player_stylesheet = lib.init.sheet('#window .player{background-image:url("' + fileLoadedEvent.target.result + '");background-size:100% 100%;}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + if (lib.config.border_style == 'custom') { + game.getDB('image', 'border_style', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.border_stylesheet) { + ui.css.border_stylesheet.remove(); + } + ui.css.border_stylesheet = lib.init.sheet(); + ui.css.border_stylesheet.sheet.insertRule('#window .player>.framebg{display:block;background-image:url("' + fileLoadedEvent.target.result + '")}', 0); + ui.css.border_stylesheet.sheet.insertRule('.player>.count{z-index: 3 !important;border-radius: 2px !important;text-align: center !important;}', 0); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + if (lib.config.control_style == 'custom') { + game.getDB('image', 'control_style', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.control_stylesheet) { + ui.css.control_stylesheet.remove(); + } + ui.css.control_stylesheet = lib.init.sheet('#window .control,.menubutton:not(.active):not(.highlight):not(.red):not(.blue),#window #system>div>div{background-image:url("' + fileLoadedEvent.target.result + '")}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + if (lib.config.menu_style == 'custom') { + game.getDB('image', 'menu_style', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.menu_stylesheet) { + ui.css.menu_stylesheet.remove(); + } + ui.css.menu_stylesheet = lib.init.sheet('html #window>.dialog.popped,html .menu,html .menubg{background-image:url("' + fileLoadedEvent.target.result + '");background-size:cover}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + + var proceed2 = async () => { + var mode = lib.imported.mode; + var card = lib.imported.card; + var character = lib.imported.character; + var play = lib.imported.play; + delete window.game; + var i, j, k; + for (i in mode[lib.config.mode].element) { + if (!lib.element[i]) lib.element[i] = []; + for (j in mode[lib.config.mode].element[i]) { + if (j == 'init') { + if (!lib.element[i].inits) lib.element[i].inits = []; + lib.element[i].inits.push(mode[lib.config.mode].element[i][j]); + } + else { + lib.element[i][j] = mode[lib.config.mode].element[i][j]; + } + } + } + for (i in mode[lib.config.mode].ai) { + if (typeof mode[lib.config.mode].ai[i] == 'object') { + if (ai[i] == undefined) ai[i] = {}; + for (j in mode[lib.config.mode].ai[i]) { + ai[i][j] = mode[lib.config.mode].ai[i][j]; + } + } + else { + ai[i] = mode[lib.config.mode].ai[i]; + } + } + for (i in mode[lib.config.mode].ui) { + if (typeof mode[lib.config.mode].ui[i] == 'object') { + if (ui[i] == undefined) ui[i] = {}; + for (j in mode[lib.config.mode].ui[i]) { + ui[i][j] = mode[lib.config.mode].ui[i][j]; + } + } + else { + ui[i] = mode[lib.config.mode].ui[i]; + } + } + for (i in mode[lib.config.mode].game) { + game[i] = mode[lib.config.mode].game[i]; + } + for (i in mode[lib.config.mode].get) { + get[i] = mode[lib.config.mode].get[i]; + } + lib.init.start = mode[lib.config.mode].start; + lib.init.startBefore = mode[lib.config.mode].startBefore; + if (game.onwash) { + lib.onwash.push(game.onwash); + delete game.onwash; + } + if (game.onover) { + lib.onover.push(game.onover); + delete game.onover; + } + lib.config.banned = lib.config[lib.config.mode + '_banned'] || []; + lib.config.bannedcards = lib.config[lib.config.mode + '_bannedcards'] || []; + + lib.rank = window.noname_character_rank; + delete window.noname_character_rank; + for (i in mode[lib.config.mode]) { + if (i == 'element') continue; + if (i == 'game') continue; + if (i == 'ai') continue; + if (i == 'ui') continue; + if (i == 'get') continue; + if (i == 'config') continue; + if (i == 'onreinit') continue; + if (i == 'start') continue; + if (i == 'startBefore') continue; + if (lib[i] == undefined) lib[i] = (Array.isArray(mode[lib.config.mode][i])) ? [] : {}; + for (j in mode[lib.config.mode][i]) { + lib[i][j] = mode[lib.config.mode][i][j]; + } + } + if (typeof mode[lib.config.mode].init == 'function') { + mode[lib.config.mode].init(); + } + + var connectCharacterPack = []; + var connectCardPack = []; + for (i in character) { + if (character[i].character) { + const characterPack = lib.characterPack[i]; + if (characterPack) Object.assign(characterPack, character[i].character); + else lib.characterPack[i] = character[i].character; + } + for (j in character[i]) { + if (j == 'mode' || j == 'forbid') continue; + if (j == 'connect') { + connectCharacterPack.push(i); + continue; + } + if (j == 'character' && !lib.config.characters.contains(i) && lib.config.mode != 'connect') { + if (lib.config.mode == 'chess' && get.config('chess_mode') == 'leader' && get.config('chess_leader_allcharacter')) { + for (k in character[i][j]) { + lib.hiddenCharacters.push(k); + } + } + else if (lib.config.mode != 'boss' || i != 'boss') { + continue; + } + } + if (Array.isArray(lib[j]) && Array.isArray(character[i][j])) { + lib[j].addArray(character[i][j]); + continue; + } + for (k in character[i][j]) { + if (j == 'character') { + if (!character[i][j][k][4]) { + character[i][j][k][4] = []; + } + if (character[i][j][k][4].contains('boss') || + character[i][j][k][4].contains('hiddenboss')) { + lib.config.forbidai.add(k); + } + if (lib.config.forbidai_user && lib.config.forbidai_user.contains(k)) { + lib.config.forbidai.add(k); + } + for (var l = 0; l < character[i][j][k][3].length; l++) { + lib.skilllist.add(character[i][j][k][3][l]); + } + } + if (j == 'skill' && k[0] == '_' && (lib.config.mode != 'connect' ? (!lib.config.characters.contains(i)) : (!character[i].connect))) { + continue; + } + if (j == 'translate' && k == i) { + lib[j][k + '_character_config'] = character[i][j][k]; + } + else { + if (lib[j][k] == undefined) { + if (j == 'skill' && !character[i][j][k].forceLoad && lib.config.mode == 'connect' && !character[i].connect) { + lib[j][k] = { + nopop: character[i][j][k].nopop, + derivation: character[i][j][k].derivation + }; + } + else { + Object.defineProperty(lib[j], k, Object.getOwnPropertyDescriptor(character[i][j], k)); + } + if (j == 'card' && lib[j][k].derivation) { + if (!lib.cardPack.mode_derivation) { + lib.cardPack.mode_derivation = [k]; + } + else { + lib.cardPack.mode_derivation.push(k); + } + } + } + else if (Array.isArray(lib[j][k]) && Array.isArray(character[i][j][k])) { + lib[j][k].addArray(character[i][j][k]); + } + else { + console.log( + `dublicate ${j} in character ${i}:\n${k}:\nlib.${j}.${k}`, + lib[j][k], + `\ncharacter.${i}.${j}.${k}`, + character[i][j][k] + ); + } + } + } + } + } + var connect_avatar_list = []; + for (var i in lib.character) { + connect_avatar_list.push(i); + } + connect_avatar_list.sort(lib.sort.capt); + for (var i = 0; i < connect_avatar_list.length; i++) { + var ia = connect_avatar_list[i]; + lib.mode.connect.config.connect_avatar.item[ia] = lib.translate[ia]; + } + if (lib.config.mode != 'connect') { + var pilecfg = lib.config.customcardpile[get.config('cardpilename') || '当前牌堆']; + if (pilecfg) { + lib.config.bannedpile = get.copy(pilecfg[0] || {}); + lib.config.addedpile = get.copy(pilecfg[1] || {}); + } + else { + lib.config.bannedpile = {}; + lib.config.addedpile = {}; + } + } + else { + lib.cardPackList = {}; + } + for (i in card) { + const cardPack = lib.cardPack[i] ? lib.cardPack[i] : lib.cardPack[i] = []; + if (card[i].card) { + for (var j in card[i].card) { + if (!card[i].card[j].hidden && card[i].translate[j + '_info']) { + cardPack.push(j); + } + } + } + for (j in card[i]) { + if (j == 'mode' || j == 'forbid') continue; + if (j == 'connect') { + connectCardPack.push(i); + continue; + } + if (j == 'list') { + if (lib.config.mode == 'connect') { + const cardPackList = lib.cardPackList[i]; + if (cardPackList) cardPackList.addArray(card[i][j]); + else lib.cardPackList[i] = card[i][j]; + } + else { + if (lib.config.cards.contains(i)) { + var pile; + if (typeof card[i][j] == 'function') { + pile = card[i][j](); + } + else { + pile = card[i][j]; + } + const cardPile = lib.cardPile[i]; + if (cardPile) cardPile.addArray(pile); + else lib.cardPile[i] = pile.slice(0); + if (lib.config.bannedpile[i]) { + for (var k = 0; k < lib.config.bannedpile[i].length; k++) { + pile[lib.config.bannedpile[i][k]] = null; + } + } + for (var k = 0; k < pile.length; k++) { + if (!pile[k]) { + pile.splice(k--, 1); + } + } + if (lib.config.addedpile[i]) { + for (var k = 0; k < lib.config.addedpile[i].length; k++) { + pile.push(lib.config.addedpile[i][k]); + } + } + lib.card.list.addArray(pile); + } + } + } + else { + for (k in card[i][j]) { + if (j == 'skill' && k[0] == '_' && !card[i][j][k].forceLoad && (lib.config.mode != 'connect' ? (!lib.config.cards.contains(i)) : (!card[i].connect))) { + continue; + } + if (j == 'translate' && k == i) { + lib[j][k + '_card_config'] = card[i][j][k]; + } + else { + if (lib[j][k] == undefined) { + if (j == 'skill' && !card[i][j][k].forceLoad && lib.config.mode == 'connect' && !card[i].connect) { + lib[j][k] = { + nopop: card[i][j][k].nopop, + derivation: card[i][j][k].derivation + }; + } + else { + Object.defineProperty(lib[j], k, Object.getOwnPropertyDescriptor(card[i][j], k)); + } + } + else { + console.log( + `dublicate ${j} in card ${i}:\n${k}:\nlib.${j}.${k}`, + lib[j][k], + `\ncard.${i}.${j}.${k}`, + card[i][j][k] + ); + } + if (j == 'card' && lib[j][k].derivation) { + if (!lib.cardPack.mode_derivation) { + lib.cardPack.mode_derivation = [k]; + } + else { + lib.cardPack.mode_derivation.push(k); + } + } + } + } + } + } + } + if (lib.cardPack.mode_derivation) { + for (var i = 0; i < lib.cardPack.mode_derivation.length; i++) { + if (typeof lib.card[lib.cardPack.mode_derivation[i]].derivation == 'string' && !lib.character[lib.card[lib.cardPack.mode_derivation[i]].derivation]) { + lib.cardPack.mode_derivation.splice(i--, 1); + } + else if (typeof lib.card[lib.cardPack.mode_derivation[i]].derivationpack == 'string' && !lib.config.cards.contains(lib.card[lib.cardPack.mode_derivation[i]].derivationpack)) { + lib.cardPack.mode_derivation.splice(i--, 1); + } + } + if (lib.cardPack.mode_derivation.length == 0) { + delete lib.cardPack.mode_derivation; + } + } + if (lib.config.mode != 'connect') { + for (i in play) { + if (lib.config.hiddenPlayPack.contains(i)) continue; + if (play[i].forbid && play[i].forbid.contains(lib.config.mode)) continue; + if (play[i].mode && play[i].mode.contains(lib.config.mode) == false) continue; + for (j in play[i].element) { + if (!lib.element[j]) lib.element[j] = []; + for (k in play[i].element[j]) { + if (k == 'init') { + if (!lib.element[j].inits) lib.element[j].inits = []; + lib.element[j].inits.push(play[i].element[j][k]); + } + else { + lib.element[j][k] = play[i].element[j][k]; + } + } + } + for (j in play[i].ui) { + if (typeof play[i].ui[j] == 'object') { + if (ui[j] == undefined) ui[j] = {}; + for (k in play[i].ui[j]) { + ui[j][k] = play[i].ui[j][k]; + } + } + else { + ui[j] = play[i].ui[j]; + } + } + for (j in play[i].game) { + game[j] = play[i].game[j]; + } + for (j in play[i].get) { + get[j] = play[i].get[j]; + } + for (j in play[i]) { + if (j == 'mode' || j == 'forbid' || j == 'init' || j == 'element' || + j == 'game' || j == 'get' || j == 'ui' || j == 'arenaReady') continue; + for (k in play[i][j]) { + if (j == 'translate' && k == i) { + // lib[j][k+'_play_config']=play[i][j][k]; + } + else { + if (lib[j][k] != undefined) { + console.log( + `dublicate ${j} in play ${i}:\n${k}:\nlib.${j}.${k}`, + lib[j][k], + `\nplay.${i}.${j}.${k}`, + play[i][j][k] + ); + } + lib[j][k] = play[i][j][k]; + } + } + } + if (typeof play[i].init == 'function') play[i].init(); + if (typeof play[i].arenaReady == 'function') lib.arenaReady.push(play[i].arenaReady); + } + } + + lib.connectCharacterPack = []; + lib.connectCardPack = []; + for (var i = 0; i < lib.config.all.characters.length; i++) { + var packname = lib.config.all.characters[i]; + if (connectCharacterPack.contains(packname)) { + lib.connectCharacterPack.push(packname) + } + } + for (var i = 0; i < lib.config.all.cards.length; i++) { + var packname = lib.config.all.cards[i]; + if (connectCardPack.contains(packname)) { + lib.connectCardPack.push(packname) + } + } + if (lib.config.mode != 'connect') { + for (i = 0; i < lib.card.list.length; i++) { + if (lib.card.list[i][2] == 'huosha') { + lib.card.list[i] = lib.card.list[i].slice(0); + lib.card.list[i][2] = 'sha'; + lib.card.list[i][3] = 'fire'; + } + else if (lib.card.list[i][2] == 'leisha') { + lib.card.list[i] = lib.card.list[i].slice(0); + lib.card.list[i][2] = 'sha'; + lib.card.list[i][3] = 'thunder'; + } + if (!lib.card[lib.card.list[i][2]]) { + lib.card.list.splice(i, 1); i--; + } + else if (lib.card[lib.card.list[i][2]].mode && + lib.card[lib.card.list[i][2]].mode.contains(lib.config.mode) == false) { + lib.card.list.splice(i, 1); i--; + } + } + } + + if (lib.config.mode == 'connect') { + _status.connectMode = true; + } + if (window.isNonameServer) { + lib.cheat.i(); + } + else if (lib.config.dev && (!_status.connectMode || lib.config.debug)) { + lib.cheat.i(); + } + lib.config.sort_card = get.sortCard(lib.config.sort); + delete lib.imported.character; + delete lib.imported.card; + delete lib.imported.mode; + delete lib.imported.play; + for (var i in lib.init) { + if (i.startsWith('setMode_')) { + delete lib.init[i]; + } + } + if (!_status.connectMode) { + for (var i = 0; i < lib.extensions.length; i++) { + try { + _status.extension = lib.extensions[i][0]; + _status.evaluatingExtension = lib.extensions[i][3]; + if (typeof lib.extensions[i][1] == "function") + await (gnc.is.coroutine(lib.extensions[i][1]) ? gnc.of(lib.extensions[i][1]) : lib.extensions[i][1]).call(lib.extensions[i], lib.extensions[i][2], lib.extensions[i][4]); + if (lib.extensions[i][4]) { + if (lib.extensions[i][4].character) { + for (var j in lib.extensions[i][4].character.character) { + game.addCharacterPack(get.copy(lib.extensions[i][4].character)); + break; + } + } + if (lib.extensions[i][4].card) { + for (var j in lib.extensions[i][4].card.card) { + game.addCardPack(get.copy(lib.extensions[i][4].card)); + break; + } + } + if (lib.extensions[i][4].skill) { + for (var j in lib.extensions[i][4].skill.skill) { + game.addSkill(j, lib.extensions[i][4].skill.skill[j], + lib.extensions[i][4].skill.translate[j], + lib.extensions[i][4].skill.translate[j + '_info'], + lib.extensions[i][4].skill.translate[j + '_append'], + lib.extensions[i][4].skill.translate[j + '_ab']); + } + } + } + delete _status.extension; + delete _status.evaluatingExtension; + } + catch (e) { + console.log(e); + } + } + } + delete lib.extensions; + + if (lib.init.startBefore) { + lib.init.startBefore(); + delete lib.init.startBefore; + } + ui.create.arena(); + game.createEvent('game', false).setContent(lib.init.start); + if (lib.mode[lib.config.mode] && lib.mode[lib.config.mode].fromextension) { + var startstr = mode[lib.config.mode].start.toString(); + if (startstr.indexOf('onfree') == -1) { + setTimeout(lib.init.onfree, 500); + } + } + delete lib.init.start; + if (Array.isArray(_status.onprepare) && _status.onprepare.length) { + await Promise.allSettled(_status.onprepare); + delete _status.onprepare; + } + game.loop(); + }; + var proceed = async () => { + if (!lib.db) { + try { + lib.storage = JSON.parse(localStorage.getItem(lib.configprefix + lib.config.mode)); + if (typeof lib.storage !== 'object') throw ('err'); + if (lib.storage === null) throw ('err'); + } catch (err) { + lib.storage = {}; + localStorage.setItem(lib.configprefix + lib.config.mode, "{}"); + } + await proceed2(); + } + else { + await game.getDB('data', lib.config.mode, async (obj) => { + lib.storage = obj || {}; + await proceed2(); + }); + } + }; + if (!lib.imported.mode || !lib.imported.mode[lib.config.mode]) { + window.inSplash = true; + clearTimeout(window.resetGameTimeout); + delete window.resetGameTimeout; + var clickedNode = false; + var clickNode = function () { + if (clickedNode) return; + this.classList.add('clicked'); + clickedNode = true; + lib.config.mode = this.link; + game.saveConfig('mode', this.link); + if (this.link == 'connect') { + localStorage.setItem(lib.configprefix + 'directstart', true); + game.reload(); + } + else { + if (game.layout != 'mobile' && lib.layoutfixed.indexOf(lib.config.mode) !== -1) { + game.layout = 'mobile'; + ui.css.layout.href = lib.assetURL + 'layout/' + game.layout + '/layout.css'; + } + else if (game.layout == 'mobile' && lib.config.layout != 'mobile' && lib.layoutfixed.indexOf(lib.config.mode) === -1) { + game.layout = lib.config.layout; + if (game.layout == 'default') { + ui.css.layout.href = ''; + } + else { + ui.css.layout.href = lib.assetURL + 'layout/' + game.layout + '/layout.css'; + } + } + splash.delete(1000); + delete window.inSplash; + window.resetGameTimeout = setTimeout(lib.init.reset, 10000); + + this.listenTransition(function () { + lib.init.js(lib.assetURL + 'mode', lib.config.mode, proceed); + }, 500); + } + } + var downNode = function () { + this.classList.add('glow'); + } + var upNode = function () { + this.classList.remove('glow'); + } + var splash = ui.create.div('#splash', document.body); + if (lib.config.touchscreen) { + splash.classList.add('touch'); + lib.setScroll(splash); + } + if (lib.config.player_border != 'wide') { + splash.classList.add('slim'); + } + splash.dataset.radius_size = lib.config.radius_size; + for (var i = 0; i < lib.config.all.mode.length; i++) { + var node = ui.create.div('.hidden', splash, clickNode); + node.link = lib.config.all.mode[i]; + ui.create.div(node, '.splashtext', get.verticalStr(get.translation(lib.config.all.mode[i]))); + if (lib.config.all.stockmode.includes(lib.config.all.mode[i])) { + // 初始启动页设置 + if (lib.config.splash_style == undefined) game.saveConfig('splash_style', 'style1'); + splash.dataset.splash_style = lib.config.splash_style; + // 扩展可通过window.splashurl设置素材读取路径 + if (window.splashurl == undefined) window.splashurl = 'image/splash/'; + if (lib.config.splash_style == 'style1' || lib.config.splash_style == 'style2') { + ui.create.div(node, '.avatar').setBackgroundImage('image/splash/' + lib.config.splash_style + '/' + lib.config.all.mode[i] + '.jpg'); + } else { + ui.create.div(node, '.avatar').setBackgroundImage(splashurl + lib.config.splash_style + '/' + lib.config.all.mode[i] + '.jpg'); + } + } + else { + var avatarnode = ui.create.div(node, '.avatar'); + var avatarbg = lib.mode[lib.config.all.mode[i]].splash; + if (avatarbg.startsWith('ext:')) { + avatarnode.setBackgroundImage(avatarbg.replace(/^ext:/, 'extension/')); + } + else { + avatarnode.setBackgroundDB(avatarbg); + } + } + if (!lib.config.touchscreen) { + node.addEventListener('mousedown', downNode); + node.addEventListener('mouseup', upNode); + node.addEventListener('mouseleave', upNode); + } + setTimeout((function (node) { + return function () { + node.show(); + } + }(node)), i * 100); + } + if (lib.config.mousewheel) { + splash.onmousewheel = ui.click.mousewheel; + } + } + else { + await proceed(); + } + localStorage.removeItem(lib.configprefix + 'directstart'); + delete lib.init.init; + const libOnload2 = lib.onload2; + delete lib.onload2; + while (Array.isArray(libOnload2) && libOnload2.length) { + const fun = libOnload2.shift(); + if (typeof fun != "function") continue; + await (gnc.is.generatorFunc(fun) ? gnc.of(fun) : fun)(); + } + } + + static startOnline() { + 'step 0' + event._resultid = null; + event._result = null; + game.pause(); + 'step 1' + if (result) { + if (event._resultid) { + result.id = event._resultid; + } + game.send('result', result); + } + event.goto(0); + } + + static onfree() { + if (lib.onfree) { + clearTimeout(window.resetGameTimeout); + delete window.resetGameTimeout; + if (!game.syncMenu) { + delete window.resetExtension; + localStorage.removeItem(lib.configprefix + 'disable_extension'); + } + + if (game.removeFile && lib.config.brokenFile.length) { + while (lib.config.brokenFile.length) { + game.removeFile(lib.config.brokenFile.shift()); + } + game.saveConfigValue('brokenFile'); + } + + var onfree = lib.onfree; + delete lib.onfree; + var loop = function () { + if (onfree.length) { + (onfree.shift())(); + setTimeout(loop, 100); + } + }; + setTimeout(loop, 500); + if (!_status.new_tutorial) game.saveConfig('menu_loadondemand', true, lib.config.mode); + } + } + + static connection(ws) { + const client = new lib.element.Client(ws); + lib.node.clients.push(client); + if (window.isNonameServer) { + document.querySelector('#server_count').innerHTML = lib.node.clients.length; + } + ws.on('message', function (messagestr) { + var message; + try { + message = JSON.parse(messagestr); + if (!Array.isArray(message) || + typeof lib.message.server[message[0]] !== 'function') { + throw ('err'); + } + for (var i = 1; i < message.length; i++) { + message[i] = get.parsedResult(message[i]); + } + } + catch (e) { + console.log(e); + console.log('invalid message: ' + messagestr); + return; + } + lib.message.server[message.shift()].apply(client, message); + }); + ws.on('close', function () { + client.close(); + }); + client.send('opened'); + } + + static sheet() { + var style = document.createElement('style'); + document.head.appendChild(style); + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'string') { + style.sheet.insertRule(arguments[i], 0); + } + } + return style; + } + + static css(path, file, before) { + const style = document.createElement("link"); + style.rel = "stylesheet"; + if (path) { + if (path[path.length - 1] == '/') path = path.slice(0, path.length - 1); + if (file) path = `${path}${/^db:extension-[^:]*$/.test(path) ? ':' : '/'}${file}.css`; + (path.startsWith('db:') ? game.getDB('image', path.slice(3)).then(get.objectURL) : new Promise(resolve => resolve(path))).then(resolvedPath => { + style.href = resolvedPath; + if (typeof before == 'function') { + style.addEventListener('load', before); + document.head.appendChild(style); + } + else if (before) document.head.insertBefore(style, before); + else document.head.appendChild(style); + }); + } + return style; + } + + //在扩展的precontent中调用,用于加载扩展必需的JS文件。 + //If any of the parameters is an Array, corresponding files will be loaded in order + //如果任意参数为数组,则按顺序加载加载相应的文件 + static jsForExtension(path, file, onLoad, onError) { + if (!_status.javaScriptExtensions) _status.javaScriptExtensions = []; + _status.javaScriptExtensions.push({ + path: path, + file: file, + onLoad: onLoad, + onError: onError + }); + } + + static js(path, file, onLoad, onError) { + if (path[path.length - 1] == '/') path = path.slice(0, path.length - 1); + if (path == `${lib.assetURL}mode` && lib.config.all.stockmode.indexOf(file) == -1) { + lib.genAwait(lib.init[`setMode_${file}`]()).then(onLoad); + return; + } + if (Array.isArray(file)) { + file.forEach(value => lib.init.js(path, value, onLoad, onError)); + return; + } + let scriptSource = file ? `${path}${/^db:extension-[^:]*$/.test(path) ? ':' : '/'}${file}.js` : path; + if (path.startsWith('http')) scriptSource += `?rand=${get.id()}`; + else if (lib.config.fuck_sojson && scriptSource.includes('extension') != -1 && scriptSource.startsWith(lib.assetURL)) { + const pathToRead = scriptSource.slice(lib.assetURL.length); + const alertMessage = `检测到您安装了使用免费版sojson进行加密的扩展。请谨慎使用这些扩展,避免游戏数据遭到破坏。\n扩展文件:${pathToRead}`; + if (typeof game.readFileAsText == 'function') game.readFileAsText(pathToRead, result => { + if (result.includes('sojson') || result.includes('jsjiami') || result.includes('var _0x')) alert(alertMessage); + }, () => void 0); + else if (location.origin != 'file://') lib.init.reqSync(pathToRead, function () { + const result = this.responseText; + if (result.includes('sojson') || result.includes('jsjiami') || result.includes('var _0x')) alert(alertMessage); + }, () => void 0); + } + const script = document.createElement('script'); + (scriptSource.startsWith('db:') ? game.getDB('image', scriptSource.slice(3)).then(get.objectURL) : new Promise(resolve => resolve(scriptSource))).then(resolvedScriptSource => { + script.src = resolvedScriptSource; + if (path.startsWith('http')) script.addEventListener('load', () => script.remove()); + document.head.appendChild(script); + if (typeof onLoad == 'function') script.addEventListener('load', onLoad); + if (typeof onError == 'function') script.addEventListener('error', onError); + }); + return script; + } + + /** + * 同步lib.init.js + * @returns { void } + */ + static jsSync(path, file, onLoad, onError) { + if (lib.assetURL.length == 0 && location.origin == 'file://' && typeof game.readFile == 'undefined') { + const e = new Error('浏览器file协议下无法使用此api,请在http/https协议下使用此api'); + if (typeof onError == 'function') onError(e); + else throw e; + return; + } + if (path[path.length - 1] == '/') path = path.slice(0, path.length - 1); + if (path == `${lib.assetURL}mode` && lib.config.all.stockmode.indexOf(file) == -1) { + lib.genAwait(lib.init[`setMode_${file}`]()).then(onLoad); + return; + } + if (Array.isArray(file)) { + return file.forEach(value => lib.init.jsSync(path, value, onLoad, onError)); + } + let scriptSource; + if (!file) scriptSource = path; + else scriptSource = `${path}/${file}.js`; + if (path.startsWith('http')) scriptSource += `?rand=${get.id()}`; + const xmlHttpRequest = new XMLHttpRequest(); + let data; + xmlHttpRequest.addEventListener("load", () => { + data = xmlHttpRequest.responseText; + if (!data) { + if (typeof onError == 'function') onError(new Error(`${scriptSource}加载失败!`)); + return; + } + if (lib.config.fuck_sojson && scriptSource.includes('extension') != -1 && scriptSource.startsWith(lib.assetURL)) { + const pathToRead = scriptSource.slice(lib.assetURL.length); + if (data.includes('sojson') || data.includes('jsjiami') || data.includes('var _0x')) alert(`检测到您安装了使用免费版sojson进行加密的扩展。请谨慎使用这些扩展,避免游戏数据遭到破坏。\n扩展文件:${pathToRead}`); + } + try { + window.eval(data); + if (typeof onLoad == 'function') onLoad(); + } + catch (error) { + if (typeof onError == 'function') onError(error); + } + }); + if (typeof onError == 'function') xmlHttpRequest.addEventListener("error", onError); + xmlHttpRequest.open("GET", scriptSource, false); + xmlHttpRequest.send(); + } + + static req(str, onload, onerror, master) { + let sScriptURL; + if (str.startsWith('http')) sScriptURL = str; + else if (str.startsWith('local:')) { + if (lib.assetURL.length == 0 && location.origin == 'file://' && typeof game.readFile == 'undefined') { + const e = new Error('浏览器file协议下无法使用此api,请在http/https协议下使用此api'); + if (typeof onerror == 'function') onerror(e); + else throw e; + return; + } + sScriptURL = lib.assetURL + str.slice(6); + } + else { + let url = get.url(master); + if (url[url.length - 1] != '/') url += '/'; + sScriptURL = url + str; + } + const oReq = new XMLHttpRequest(); + if (typeof onload == 'function') oReq.addEventListener("load", onload); + if (typeof onerror == 'function') oReq.addEventListener("error", onerror); + oReq.open("GET", sScriptURL); + oReq.send(); + } + + /** + * 同步lib.init.req + */ + static reqSync(str, onload, onerror, master) { + let sScriptURL; + if (str.startsWith('http')) sScriptURL = str; + else if (str.startsWith('local:')) { + if (lib.assetURL.length == 0 && location.origin == 'file://' && typeof game.readFile == 'undefined') { + const e = new Error('浏览器file协议下无法使用此api,请在http/https协议下使用此api'); + if (typeof onerror == 'function') onerror(e); + else throw e; + return; + } + sScriptURL = lib.assetURL + str.slice(6); + } + else { + let url = get.url(master); + if (url[url.length - 1] != '/') url += '/'; + sScriptURL = url + str; + } + const oReq = new XMLHttpRequest(); + if (typeof onload == 'function') oReq.addEventListener("load", onload); + if (typeof onerror == 'function') oReq.addEventListener("error", onerror); + oReq.open("GET", sScriptURL, false); + oReq.send(); + if (typeof onload !== 'function') return oReq.responseText; + } + + static json(url, onload, onerror) { + const oReq = new XMLHttpRequest(); + if (typeof onload == 'function') oReq.addEventListener("load", () => { + let result; + try { + result = JSON.parse(oReq.responseText); + if (!result) throw ('err'); + } + catch (e) { + if (typeof onerror == 'function') onerror(e); + return; + } + onload(result); + }); + if (typeof onerror == 'function') oReq.addEventListener("error", onerror); + oReq.open("GET", url); + oReq.send(); + } + + /** + * 同步lib.init.json + */ + static jsonSync(url, onload, onerror) { + if (lib.assetURL.length == 0 && location.origin == 'file://' && typeof game.readFile == 'undefined') { + const e = new Error('浏览器file协议下无法使用此api,请在http/https协议下使用此api'); + if (typeof onerror == 'function') onerror(e); + else throw e; + return; + } + const oReq = new XMLHttpRequest(); + if (typeof onload == 'function') oReq.addEventListener("load", () => { + let result; + try { + result = JSON.parse(oReq.responseText); + if (!result) throw ('err'); + } + catch (e) { + if (typeof onerror == 'function') onerror(e); + return; + } + onload(result); + }); + if (typeof onerror == 'function') oReq.addEventListener("error", onerror); + oReq.open("GET", url, false); + oReq.send(); + } + + static cssstyles() { + if (ui.css.styles) { + ui.css.styles.remove(); + } + ui.css.styles = lib.init.sheet(); + ui.css.styles.sheet.insertRule('#arena .player>.name,#arena .button.character>.name {font-family: ' + (lib.config.name_font || 'xinwei') + ',xinwei}', 0); + ui.css.styles.sheet.insertRule('#arena .player>.name,.button.character>.name {font-family: ' + (lib.config.name_font || 'xinwei') + ',xinwei}', 0); + ui.css.styles.sheet.insertRule('#arena .player .identity>div {font-family: ' + (lib.config.identity_font || 'huangcao') + ',xinwei}', 0); + ui.css.styles.sheet.insertRule('.button.character.newstyle>.identity {font-family: ' + (lib.config.identity_font || 'huangcao') + ',xinwei}', 0); + if (lib.config.cardtext_font && lib.config.cardtext_font != 'default') { + ui.css.styles.sheet.insertRule('.card div:not(.info):not(.background) {font-family: ' + lib.config.cardtext_font + ';}', 0); + } + if (lib.config.global_font && lib.config.global_font != 'default') { + ui.css.styles.sheet.insertRule('#window {font-family: ' + lib.config.global_font + ',xinwei}', 0); + ui.css.styles.sheet.insertRule('#window #control{font-family: STHeiti,SimHei,Microsoft JhengHei,Microsoft YaHei,WenQuanYi Micro Hei,Suits,Helvetica,Arial,sans-serif}', 0); + } + switch (lib.config.glow_phase) { + case 'yellow': ui.css.styles.sheet.insertRule('#arena .player:not(.selectable):not(.selected).glow_phase {box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgb(217, 152, 62) 0 0 15px, rgb(217, 152, 62) 0 0 15px !important;}', 0); break; + case 'green': ui.css.styles.sheet.insertRule('#arena .player:not(.selectable):not(.selected).glow_phase {box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgba(10, 155, 67, 1) 0 0 15px, rgba(10, 155, 67, 1) 0 0 15px !important;}', 0); break; + case 'purple': ui.css.styles.sheet.insertRule('#arena .player:not(.selectable):not(.selected).glow_phase {box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgb(189, 62, 170) 0 0 15px, rgb(189, 62, 170) 0 0 15px !important;}', 0); break; + } + } + + static layout(layout, nosave) { + const loadingScreen = ui.create.div('.loading-screen', document.body), loadingScreenStyle = loadingScreen.style; + loadingScreenStyle.animationDuration = '1s'; + loadingScreenStyle.animationFillMode = 'forwards'; + loadingScreenStyle.animationName = 'opacity-0-1'; + if (layout == 'default') layout = 'mobile'; + if (!nosave) game.saveConfig('layout', layout); + game.layout = layout; + ui.arena.hide(); + new Promise(resolve => setTimeout(resolve, 500)).then(() => { + if (game.layout == 'default') { + ui.css.layout.href = ''; + } + else { + ui.css.layout.href = lib.assetURL + 'layout/' + game.layout + '/layout.css'; + } + if (game.layout == 'mobile' || game.layout == 'long') { + ui.arena.classList.add('mobile'); + } + else { + ui.arena.classList.remove('mobile'); + } + if (game.layout == 'mobile' || game.layout == 'long' || game.layout == 'long2' || game.layout == 'nova') { + if (game.me && game.me.node.handcards2.childNodes.length) { + while (game.me.node.handcards2.childNodes.length) { + game.me.node.handcards1.appendChild(game.me.node.handcards2.firstChild); + } + } + } + if (game.layout == 'default') { + ui.arena.classList.add('oldlayout'); + } + else { + ui.arena.classList.remove('oldlayout'); + } + if (lib.config.cardshape == 'oblong' && (game.layout == 'long' || game.layout == 'mobile' || game.layout == 'long2' || game.layout == 'nova')) { + ui.arena.classList.add('oblongcard'); + ui.window.classList.add('oblongcard'); + } + else { + ui.arena.classList.remove('oblongcard'); + ui.window.classList.remove('oblongcard'); + } + //if(lib.config.textequip=='text'&&(game.layout=='long'||game.layout=='mobile')){ + if (game.layout == 'long' || game.layout == 'mobile') { + ui.arena.classList.add('textequip'); + } + else { + ui.arena.classList.remove('textequip'); + } + if (get.is.phoneLayout()) { + ui.css.phone.href = lib.assetURL + 'layout/default/phone.css'; + ui.arena.classList.add('phone'); + } + else { + ui.css.phone.href = ''; + ui.arena.classList.remove('phone'); + } + for (var i = 0; i < game.players.length; i++) { + if (get.is.linked2(game.players[i])) { + if (game.players[i].classList.contains('linked')) { + game.players[i].classList.remove('linked'); + game.players[i].classList.add('linked2'); + } + } + else { + if (game.players[i].classList.contains('linked2')) { + game.players[i].classList.remove('linked2'); + game.players[i].classList.add('linked'); + } + } + } + if (game.layout == 'long' || game.layout == 'long2') { + ui.arena.classList.add('long'); + } + else { + ui.arena.classList.remove('long'); + } + if (lib.config.player_border != 'wide' || game.layout == 'long' || game.layout == 'long2') { + ui.arena.classList.add('slim_player'); + } + else { + ui.arena.classList.remove('slim_player'); + } + if (lib.config.player_border == 'normal' && lib.config.mode != 'brawl' && (game.layout == 'long' || game.layout == 'long2')) { + ui.arena.classList.add('lslim_player'); + } + else { + ui.arena.classList.remove('lslim_player'); + } + if (lib.config.player_border == 'slim') { + ui.arena.classList.add('uslim_player'); + } + else { + ui.arena.classList.remove('uslim_player'); + } + if (lib.config.player_border == 'narrow') { + ui.arena.classList.add('mslim_player'); + } + else { + ui.arena.classList.remove('mslim_player'); + } + ui.updatej(); + ui.updatem(); + return new Promise(resolve => setTimeout(resolve, 100)); + }).then(() => { + ui.arena.show(); + if (game.me) game.me.update(); + return new Promise(resolve => setTimeout(resolve, 500)); + }).then(() => { + ui.updatex(); + ui.updatePlayerPositions(); + return new Promise(resolve => setTimeout(resolve, 500)); + }).then(() => { + ui.updatec(); + loadingScreenStyle.animationName = 'opacity-1-0'; + loadingScreen.addEventListener('animationend', animationEvent => animationEvent.target.remove()); + }); + } + + static background() { + if (lib.config.image_background_random) { + var list = []; + for (var i in lib.configMenu.appearence.config.image_background.item) { + if (i == 'default') continue; + list.push(i); + } + list.remove(lib.config.image_background); + localStorage.setItem(lib.configprefix + 'background', JSON.stringify(list)); + } + else if (lib.config.image_background && lib.config.image_background != 'default' && !lib.config.image_background.startsWith('custom_')) { + localStorage.setItem(lib.configprefix + 'background', lib.config.image_background); + } + else if (lib.config.image_background == 'default' && lib.config.theme == 'simple') { + localStorage.setItem(lib.configprefix + 'background', 'ol_bg'); + } + else { + localStorage.removeItem(lib.configprefix + 'background'); + } + } + + /** + * + * @param {*} item + * @param {Function} [scope] 作用域 + * @returns + */ + static parsex(item, scope) { + //by 诗笺、Tipx-L + /** + * @param {Function} func + */ + function Legacy(func) { + //Remove all comments + //移除所有注释 + let str = func.toString().replace(/((?:(?:^[ \t]*)?(?:\/\*[^*]*\*+(?:[^/*][^*]*\*+)*\/(?:[ \t]*\r?\n(?=[ \t]*(?:\r?\n|\/\*|\/\/)))?|\/\/(?:[^\\]|\\(?:\r?\n)?)*?(?:\r?\n(?=[ \t]*(?:\r?\n|\/\*|\/\/))|(?=\r?\n))))+)|("(?:\\[\s\S]|[^"\\])*"|'(?:\\[\s\S]|[^'\\])*'|(?:\r?\n|[\s\S])[^/"'\\\s]*)/mg, '$2').trim(); + //获取第一个 { 后的所有字符 + str = str.slice(str.indexOf('{') + 1); + //判断代码中是否有debugger + let regex = /event\.debugger\(\)/; + let hasDebugger = false; + let insertDebugger = `yield code=>eval(code);`; + let debuggerSkip = 0; + let debuggerResult; + while ((debuggerResult = str.slice(debuggerSkip).match(regex)) != null) { + let debuggerCopy = str; + debuggerCopy = debuggerCopy.slice(0, debuggerSkip + debuggerResult.index) + insertDebugger + debuggerCopy.slice(debuggerSkip + debuggerResult.index + debuggerResult[0].length, -1); + //测试是否有错误 + try { + new GeneratorFunction(debuggerCopy); + str = debuggerCopy + '}'; + debuggerSkip += debuggerResult.index + insertDebugger.length; + hasDebugger = true; + } catch (error) { + debuggerSkip += debuggerResult.index + debuggerResult[0].length; + } + } + //func中要写步骤的话,必须要写step 0 + if (str.indexOf('step 0') == -1) { + str = '{if(event.step==1) {event.finish();return;}\n' + str; + } else { + let skip = 0; + let k = 0; + let result; + //去除99个step的限制 + while ((result = str.slice(skip).match(new RegExp(`['"]step ${k}['"]`))) != null) { + let insertStr; + if (k == 0) { + insertStr = `switch(step){case 0:`; + } else { + insertStr = `break;case ${k}:`; + } + let copy = str; + copy = copy.slice(0, skip + result.index) + insertStr + copy.slice(skip + result.index + result[0].length); + //测试是否有错误 + try { + new (hasDebugger ? GeneratorFunction : Function)(copy); + str = copy; + skip += result.index + insertStr.length; + } catch (error) { + k--; + skip += result.index + result[0].length; + } + k++; + } + str = `if(event.step==${k}){event.finish();return;}` + str; + } + if (!scope) { + return (new (hasDebugger ? GeneratorFunction : Function)('event', 'step', 'source', 'player', 'target', 'targets', + 'card', 'cards', 'skill', 'forced', 'num', 'trigger', 'result', + '_status', 'lib', 'game', 'ui', 'get', 'ai', str)); + } else { + return scope(`function${hasDebugger ? '*' : ''} anonymous(event,step,source,player,target,targets, + card,cards,skill,forced,num,trigger,result, + _status,lib,game,ui,get,ai){${str}}; anonymous;`); + } + } + switch (typeof item) { + case "object": + if (Array.isArray(item)) { + let lastEvent = null; + return function* (event, step, source, player, target, targets, card, cards, skill, forced, num, trigger, result, _status, lib, game, ui, get, ai) { + if (step >= item.length) return event.finish(); + var current = item[step]; + if (typeof current != "function") throw new Error(`content ${step} of ${event.name} is not vaild: ${current}`); + var currentResult = current(event, { + event: event, + step: step, + source: source, + player: player, + target: target, + targets: targets, + card: card, + cards: cards, + skill: skill, + forced: forced, + num: num, + trigger: trigger, + result: result + }, (lastEvent && ("result" in lastEvent)) ? lastEvent.result : null); + // TODO: use `event.debugger` to replace source + if (gnc.is.generator(currentResult)) lastEvent = yield* currentResult; + else lastEvent = currentResult; + } + } + else { + if (Symbol.iterator in item) return lib.init.parsex(Array.from(item)); + if (item.toString !== Object.prototype.toString) return lib.init.parsex(item.toString()); + if ("render" in item) { + // TODO: Object Render Parse + throw new Error("NYI: Object Render Parse"); + } + // TODO: Object Other Parse + throw new Error("NYI: Object Other Parse"); + } + case "function": + if (gnc.is.generatorFunc(item)) { + let gen, lastEvent; + return function* (event, step, source, player, target, targets, card, cards, skill, forced, num, trigger, result, _status, lib, game, ui, get, ai) { + event.step = NaN; + if (!gen) gen = item(event, { + event: event, + step: step, + source: source, + player: player, + target: target, + targets: targets, + card: card, + cards: cards, + skill: skill, + forced: forced, + num: num, + trigger: trigger, + result: result + }); + var res = gen.next((lastEvent && ("result" in lastEvent)) ? lastEvent.result : null); + if (res.done) return event.finish(); + var currentResult = res.value; + // TODO: use `event.debugger` to replace source + if (typeof currentResult == "function") yield currentResult; + else { + if (Array.isArray(currentResult)) { + event.step = currentResult[1]; + currentResult = currentResult[0]; + } + lastEvent = currentResult; + } + } + } else if (item._parsed) return item; + // falls through + default: + return Legacy(item); + } + } + + static eval(func) { + if (typeof func == 'function') { + return eval('(' + func.toString() + ')'); + } + else if (typeof func == 'object') { + for (var i in func) { + if (Object.prototype.hasOwnProperty.call(func, i)) { + func[i] = lib.init.eval(func[i]); + } + } + } + return func; + } + + static encode(strUni) { + var strUtf = strUni.replace( + /[\u0080-\u07ff]/g, function (c) { + var cc = c.charCodeAt(0); + return String.fromCharCode(0xc0 | cc >> 6, 0x80 | cc & 0x3f); + }); + strUtf = strUtf.replace( + /[\u0800-\uffff]/g, function (c) { + var cc = c.charCodeAt(0); + return String.fromCharCode(0xe0 | cc >> 12, 0x80 | cc >> 6 & 0x3F, 0x80 | cc & 0x3f); + }); + return btoa(strUtf); + } + + static decode(str) { + var strUtf = atob(str); + var strUni = strUtf.replace( + /[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g, function (c) { + var cc = ((c.charCodeAt(0) & 0x0f) << 12) | ((c.charCodeAt(1) & 0x3f) << 6) | (c.charCodeAt(2) & 0x3f); + return String.fromCharCode(cc); + }); + strUni = strUni.replace( + /[\u00c0-\u00df][\u0080-\u00bf]/g, function (c) { + var cc = (c.charCodeAt(0) & 0x1f) << 6 | c.charCodeAt(1) & 0x3f; + return String.fromCharCode(cc); + }); + return strUni; + } + + static stringify(obj) { + var str = '{' + for (var i in obj) { + str += '"' + i + '":' + if (Object.prototype.toString.call(obj[i]) == '[object Object]') { + str += lib.init.stringify(obj[i]); + } + else if (typeof obj[i] == 'function') { + str += obj[i].toString(); + } + else { + str += JSON.stringify(obj[i]); + } + str += ',' + } + str += '}'; + return str; + } + + static stringifySkill(obj) { + var str = ''; + for (var i in obj) { + str += i + ':' + if (Object.prototype.toString.call(obj[i]) == '[object Object]') { + str += '{\n' + lib.init.stringifySkill(obj[i]) + '}'; + } + else if (typeof obj[i] == 'function') { + str += obj[i].toString().replace(/\t/g, ''); + } + else { + str += JSON.stringify(obj[i]); + } + str += ',\n' + } + return str; + } +} diff --git a/noname/library/init/promises.js b/noname/library/init/promises.js new file mode 100644 index 000000000..170248d1b --- /dev/null +++ b/noname/library/init/promises.js @@ -0,0 +1,67 @@ +import { Uninstantable } from "../../util/index.js"; +import { Library as lib } from "../index.js"; + +export class LibInitPromises extends Uninstantable { + /** + * Promise版的`lib.init.js` + * + * @param {string} path - 文件路径 + * @param {string | string[]} [file] - 文件名或文件名组,忽略则直接读取`path`的内容 + * @returns {Promise} + */ + static js(path, file) { + return new Promise((resolve, reject) => lib.init.js(path, file, resolve, reject)) + } + + /** + * Promise版的`lib.init.css` + * + * @param {string} path - 文件路径 + * @param {string | string[]} [file] - 文件名或文件名组,忽略则直接读取`path`的内容 + * @param {Element} [before] - 新样式dom的位置 + * @param {boolean} [noerror = false] - 是否忽略报错 + * @returns {Promise} + */ + static css(path, file, before, noerror = false) { + return new Promise((resolve, reject) => { + const style = lib.init.css(path, file, before); + const success = () => resolve(style); + style.addEventListener("load", success); + style.addEventListener("error", noerror ? success : reject); + }) + } + + /** + * Promise版的`lib.init.req` + * + * @param {string} str - 要读取的地址 + * @param {string} [master] + * @returns {Promise} + */ + static req(str, master) { + return new Promise((resolve, reject) => lib.init.req(str, resolve, reject, master)) + } + + /** + * Promise版的`lib.init.json` + * + * @param {string} url - 要读取的地址 + * @returns {Promise} + */ + static json(url) { + return new Promise((resolve, reject) => lib.init.json(url, resolve, reject)) + } + + /** + * Promise版的`lib.init.sheet` + * + * @returns {Promise} + */ + static sheet() { + return new Promise((resolve, reject) => { + const style = lib.init.sheet.apply(lib.init, arguments); + style.addEventListener("load", () => resolve(style)); + style.addEventListener("error", reject); + }) + } +} diff --git a/noname/library/path.js b/noname/library/path.js new file mode 100644 index 000000000..1320e0210 --- /dev/null +++ b/noname/library/path.js @@ -0,0 +1,528 @@ +// 'path' module extracted from Node.js v8.11.1 (only the posix part) +// transplited with Babel + +// Copyright Joyent, Inc. and other Node contributors. +// +// 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. + +function assertPath(path) { + if (typeof path !== 'string') { + throw new TypeError('Path must be a string. Received ' + JSON.stringify(path)); + } +} + +// Resolves . and .. elements in a path with directory names +function normalizeStringPosix(path, allowAboveRoot) { + var res = ''; + var lastSegmentLength = 0; + var lastSlash = -1; + var dots = 0; + var code; + for (var i = 0; i <= path.length; ++i) { + if (i < path.length) + code = path.charCodeAt(i); + else if (code === 47 /*/*/) + break; + else + code = 47 /*/*/; + if (code === 47 /*/*/) { + if (lastSlash === i - 1 || dots === 1) { + // NOOP + } else if (lastSlash !== i - 1 && dots === 2) { + if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== 46 /*.*/ || res.charCodeAt(res.length - 2) !== 46 /*.*/) { + if (res.length > 2) { + var lastSlashIndex = res.lastIndexOf('/'); + if (lastSlashIndex !== res.length - 1) { + if (lastSlashIndex === -1) { + res = ''; + lastSegmentLength = 0; + } else { + res = res.slice(0, lastSlashIndex); + lastSegmentLength = res.length - 1 - res.lastIndexOf('/'); + } + lastSlash = i; + dots = 0; + continue; + } + } else if (res.length === 2 || res.length === 1) { + res = ''; + lastSegmentLength = 0; + lastSlash = i; + dots = 0; + continue; + } + } + if (allowAboveRoot) { + if (res.length > 0) + res += '/..'; + else + res = '..'; + lastSegmentLength = 2; + } + } else { + if (res.length > 0) + res += '/' + path.slice(lastSlash + 1, i); + else + res = path.slice(lastSlash + 1, i); + lastSegmentLength = i - lastSlash - 1; + } + lastSlash = i; + dots = 0; + } else if (code === 46 /*.*/ && dots !== -1) { + ++dots; + } else { + dots = -1; + } + } + return res; +} + +function _format(sep, pathObject) { + var dir = pathObject.dir || pathObject.root; + var base = pathObject.base || (pathObject.name || '') + (pathObject.ext || ''); + if (!dir) { + return base; + } + if (dir === pathObject.root) { + return dir + base; + } + return dir + sep + base; +} + +var posix = { + // path.resolve([from ...], to) + resolve: function resolve() { + var resolvedPath = ''; + var resolvedAbsolute = false; + var cwd; + + for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) { + var path; + if (i >= 0) + path = arguments[i]; + else { + if (cwd === undefined) + cwd = process.cwd(); + path = cwd; + } + + assertPath(path); + + // Skip empty entries + if (path.length === 0) { + continue; + } + + resolvedPath = path + '/' + resolvedPath; + resolvedAbsolute = path.charCodeAt(0) === 47 /*/*/; + } + + // At this point the path should be resolved to a full absolute path, but + // handle relative paths to be safe (might happen when process.cwd() fails) + + // Normalize the path + resolvedPath = normalizeStringPosix(resolvedPath, !resolvedAbsolute); + + if (resolvedAbsolute) { + if (resolvedPath.length > 0) + return '/' + resolvedPath; + else + return '/'; + } else if (resolvedPath.length > 0) { + return resolvedPath; + } else { + return '.'; + } + }, + + normalize: function normalize(path) { + assertPath(path); + + if (path.length === 0) return '.'; + + var isAbsolute = path.charCodeAt(0) === 47 /*/*/; + var trailingSeparator = path.charCodeAt(path.length - 1) === 47 /*/*/; + + // Normalize the path + path = normalizeStringPosix(path, !isAbsolute); + + if (path.length === 0 && !isAbsolute) path = '.'; + if (path.length > 0 && trailingSeparator) path += '/'; + + if (isAbsolute) return '/' + path; + return path; + }, + + isAbsolute: function isAbsolute(path) { + assertPath(path); + return path.length > 0 && path.charCodeAt(0) === 47 /*/*/; + }, + + join: function join() { + if (arguments.length === 0) + return '.'; + var joined; + for (var i = 0; i < arguments.length; ++i) { + var arg = arguments[i]; + assertPath(arg); + if (arg.length > 0) { + if (joined === undefined) + joined = arg; + else + joined += '/' + arg; + } + } + if (joined === undefined) + return '.'; + return posix.normalize(joined); + }, + + relative: function relative(from, to) { + assertPath(from); + assertPath(to); + + if (from === to) return ''; + + from = posix.resolve(from); + to = posix.resolve(to); + + if (from === to) return ''; + + // Trim any leading backslashes + var fromStart = 1; + for (; fromStart < from.length; ++fromStart) { + if (from.charCodeAt(fromStart) !== 47 /*/*/) + break; + } + var fromEnd = from.length; + var fromLen = fromEnd - fromStart; + + // Trim any leading backslashes + var toStart = 1; + for (; toStart < to.length; ++toStart) { + if (to.charCodeAt(toStart) !== 47 /*/*/) + break; + } + var toEnd = to.length; + var toLen = toEnd - toStart; + + // Compare paths to find the longest common path from root + var length = fromLen < toLen ? fromLen : toLen; + var lastCommonSep = -1; + var i = 0; + for (; i <= length; ++i) { + if (i === length) { + if (toLen > length) { + if (to.charCodeAt(toStart + i) === 47 /*/*/) { + // We get here if `from` is the exact base path for `to`. + // For example: from='/foo/bar'; to='/foo/bar/baz' + return to.slice(toStart + i + 1); + } else if (i === 0) { + // We get here if `from` is the root + // For example: from='/'; to='/foo' + return to.slice(toStart + i); + } + } else if (fromLen > length) { + if (from.charCodeAt(fromStart + i) === 47 /*/*/) { + // We get here if `to` is the exact base path for `from`. + // For example: from='/foo/bar/baz'; to='/foo/bar' + lastCommonSep = i; + } else if (i === 0) { + // We get here if `to` is the root. + // For example: from='/foo'; to='/' + lastCommonSep = 0; + } + } + break; + } + var fromCode = from.charCodeAt(fromStart + i); + var toCode = to.charCodeAt(toStart + i); + if (fromCode !== toCode) + break; + else if (fromCode === 47 /*/*/) + lastCommonSep = i; + } + + var out = ''; + // Generate the relative path based on the path difference between `to` + // and `from` + for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) { + if (i === fromEnd || from.charCodeAt(i) === 47 /*/*/) { + if (out.length === 0) + out += '..'; + else + out += '/..'; + } + } + + // Lastly, append the rest of the destination (`to`) path that comes after + // the common path parts + if (out.length > 0) + return out + to.slice(toStart + lastCommonSep); + else { + toStart += lastCommonSep; + if (to.charCodeAt(toStart) === 47 /*/*/) + ++toStart; + return to.slice(toStart); + } + }, + + _makeLong: function _makeLong(path) { + return path; + }, + + dirname: function dirname(path) { + assertPath(path); + if (path.length === 0) return '.'; + var code = path.charCodeAt(0); + var hasRoot = code === 47 /*/*/; + var end = -1; + var matchedSlash = true; + for (var i = path.length - 1; i >= 1; --i) { + code = path.charCodeAt(i); + if (code === 47 /*/*/) { + if (!matchedSlash) { + end = i; + break; + } + } else { + // We saw the first non-path separator + matchedSlash = false; + } + } + + if (end === -1) return hasRoot ? '/' : '.'; + if (hasRoot && end === 1) return '//'; + return path.slice(0, end); + }, + + basename: function basename(path, ext) { + if (ext !== undefined && typeof ext !== 'string') throw new TypeError('"ext" argument must be a string'); + assertPath(path); + + var start = 0; + var end = -1; + var matchedSlash = true; + var i; + + if (ext !== undefined && ext.length > 0 && ext.length <= path.length) { + if (ext.length === path.length && ext === path) return ''; + var extIdx = ext.length - 1; + var firstNonSlashEnd = -1; + for (i = path.length - 1; i >= 0; --i) { + var code = path.charCodeAt(i); + if (code === 47 /*/*/) { + // If we reached a path separator that was not part of a set of path + // separators at the end of the string, stop now + if (!matchedSlash) { + start = i + 1; + break; + } + } else { + if (firstNonSlashEnd === -1) { + // We saw the first non-path separator, remember this index in case + // we need it if the extension ends up not matching + matchedSlash = false; + firstNonSlashEnd = i + 1; + } + if (extIdx >= 0) { + // Try to match the explicit extension + if (code === ext.charCodeAt(extIdx)) { + if (--extIdx === -1) { + // We matched the extension, so mark this as the end of our path + // component + end = i; + } + } else { + // Extension does not match, so our result is the entire path + // component + extIdx = -1; + end = firstNonSlashEnd; + } + } + } + } + + if (start === end) end = firstNonSlashEnd; else if (end === -1) end = path.length; + return path.slice(start, end); + } else { + for (i = path.length - 1; i >= 0; --i) { + if (path.charCodeAt(i) === 47 /*/*/) { + // If we reached a path separator that was not part of a set of path + // separators at the end of the string, stop now + if (!matchedSlash) { + start = i + 1; + break; + } + } else if (end === -1) { + // We saw the first non-path separator, mark this as the end of our + // path component + matchedSlash = false; + end = i + 1; + } + } + + if (end === -1) return ''; + return path.slice(start, end); + } + }, + + extname: function extname(path) { + assertPath(path); + var startDot = -1; + var startPart = 0; + var end = -1; + var matchedSlash = true; + // Track the state of characters (if any) we see before our first dot and + // after any path separator we find + var preDotState = 0; + for (var i = path.length - 1; i >= 0; --i) { + var code = path.charCodeAt(i); + if (code === 47 /*/*/) { + // If we reached a path separator that was not part of a set of path + // separators at the end of the string, stop now + if (!matchedSlash) { + startPart = i + 1; + break; + } + continue; + } + if (end === -1) { + // We saw the first non-path separator, mark this as the end of our + // extension + matchedSlash = false; + end = i + 1; + } + if (code === 46 /*.*/) { + // If this is our first dot, mark it as the start of our extension + if (startDot === -1) + startDot = i; + else if (preDotState !== 1) + preDotState = 1; + } else if (startDot !== -1) { + // We saw a non-dot and non-path separator before our dot, so we should + // have a good chance at having a non-empty extension + preDotState = -1; + } + } + + if (startDot === -1 || end === -1 || + // We saw a non-dot character immediately before the dot + preDotState === 0 || + // The (right-most) trimmed path component is exactly '..' + preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { + return ''; + } + return path.slice(startDot, end); + }, + + format: function format(pathObject) { + if (pathObject === null || typeof pathObject !== 'object') { + throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof pathObject); + } + return _format('/', pathObject); + }, + + parse: function parse(path) { + assertPath(path); + + var ret = { root: '', dir: '', base: '', ext: '', name: '' }; + if (path.length === 0) return ret; + var code = path.charCodeAt(0); + var isAbsolute = code === 47 /*/*/; + var start; + if (isAbsolute) { + ret.root = '/'; + start = 1; + } else { + start = 0; + } + var startDot = -1; + var startPart = 0; + var end = -1; + var matchedSlash = true; + var i = path.length - 1; + + // Track the state of characters (if any) we see before our first dot and + // after any path separator we find + var preDotState = 0; + + // Get non-dir info + for (; i >= start; --i) { + code = path.charCodeAt(i); + if (code === 47 /*/*/) { + // If we reached a path separator that was not part of a set of path + // separators at the end of the string, stop now + if (!matchedSlash) { + startPart = i + 1; + break; + } + continue; + } + if (end === -1) { + // We saw the first non-path separator, mark this as the end of our + // extension + matchedSlash = false; + end = i + 1; + } + if (code === 46 /*.*/) { + // If this is our first dot, mark it as the start of our extension + if (startDot === -1) startDot = i; else if (preDotState !== 1) preDotState = 1; + } else if (startDot !== -1) { + // We saw a non-dot and non-path separator before our dot, so we should + // have a good chance at having a non-empty extension + preDotState = -1; + } + } + + if (startDot === -1 || end === -1 || + // We saw a non-dot character immediately before the dot + preDotState === 0 || + // The (right-most) trimmed path component is exactly '..' + preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { + if (end !== -1) { + if (startPart === 0 && isAbsolute) ret.base = ret.name = path.slice(1, end); else ret.base = ret.name = path.slice(startPart, end); + } + } else { + if (startPart === 0 && isAbsolute) { + ret.name = path.slice(1, startDot); + ret.base = path.slice(1, end); + } else { + ret.name = path.slice(startPart, startDot); + ret.base = path.slice(startPart, end); + } + ret.ext = path.slice(startDot, end); + } + + if (startPart > 0) ret.dir = path.slice(0, startPart - 1); else if (isAbsolute) ret.dir = '/'; + + return ret; + }, + + sep: '/', + delimiter: ':', + win32: null, + posix: null +}; + +// @ts-ignore +posix.posix = posix; + +export default posix; diff --git a/noname/util/config.js b/noname/util/config.js new file mode 100644 index 000000000..84e2ba7c1 --- /dev/null +++ b/noname/util/config.js @@ -0,0 +1,32 @@ +import { Library as lib } from "../library/index.js"; + +/** + * @param {string} name + * @returns {any} + */ +export function get(name) { + const config = Reflect.get(lib, 'config'); + if (!config) return null; + return Reflect.get(config, name); +} + +/** + * @param {string} name + * @param {any} value + * @returns {void} + */ +export function set(name, value) { + const config = Reflect.get(lib, 'config'); + if (!config) return; + Reflect.set(config, name, value) +} + +/** + * @param {string} name + * @returns {boolean} + */ +export function has(name) { + const config = Reflect.get(lib, 'config'); + if (!config) return false; + return Reflect.has(config, name); +} diff --git a/noname/util/index.js b/noname/util/index.js index 0f8397954..a2c229acc 100644 --- a/noname/util/index.js +++ b/noname/util/index.js @@ -10,4 +10,4 @@ export class Uninstantable { constructor() { throw new TypeError(`${new.target.name} is not a constructor`); } -} \ No newline at end of file +} From f1badbb125afd2d1671ff505b6ac9cab076da309 Mon Sep 17 00:00:00 2001 From: Rintim Date: Fri, 22 Dec 2023 21:26:33 +0800 Subject: [PATCH 041/234] fix: basic bug 1. --- noname/game/index.js | 4 ++-- noname/init/index.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/noname/game/index.js b/noname/game/index.js index ba315dff9..0a00784c8 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -7273,7 +7273,7 @@ export class Game extends Uninstantable { ui.window.appendChild(event.nodes[i]); } 'step 1' - let rand = event.config.first; + var rand = event.config.first; if (rand == 'rand') { rand = (Math.random() < 0.5); } @@ -7394,7 +7394,7 @@ export class Game extends Uninstantable { event.avatars[i].classList.add('selecting'); } } - let rand = []; + var rand = []; for (let i = 0; i < event.config.width; i++) { for (let j = 0; j < event.config.width - i; j++) { rand.push(i); diff --git a/noname/init/index.js b/noname/init/index.js index 60457ba5f..1a6e5a3e4 100644 --- a/noname/init/index.js +++ b/noname/init/index.js @@ -139,7 +139,7 @@ export async function boot() { // 读取模式 if (config2.mode) config.set('mode', config2.mode); if (config.get('mode_config')[config.get('mode')] === undefined) - config.set(config.get('mode'), {}); + config.get('mode_config')[config.get('mode')] = {}; // 复制共有模式设置 for (const name in config.get('mode_config').global) { From 76b4a3084dfc9837e56318cb7df608fc9701cf6e Mon Sep 17 00:00:00 2001 From: Rintim Date: Fri, 22 Dec 2023 22:00:25 +0800 Subject: [PATCH 042/234] fix: bug report 2. --- noname/game/index.js | 2 +- noname/init/index.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/noname/game/index.js b/noname/game/index.js index 0a00784c8..872af08dc 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -1985,7 +1985,7 @@ export class Game extends Uninstantable { * ai: import('../ai/index.js')['AI'], * _status: import('../status/index.js')['_status'] * ) => any } content - * @param {*} url + * @param {*} [url] * @returns */ static import(type, content, url) { diff --git a/noname/init/index.js b/noname/init/index.js index 1a6e5a3e4..0adbe5dbd 100644 --- a/noname/init/index.js +++ b/noname/init/index.js @@ -376,6 +376,7 @@ export async function boot() { alerted = true; continue; } + // @ts-ignore game.import('extension', { name: config.get('extensions')[name] }); } } @@ -390,7 +391,7 @@ export async function boot() { game.saveConfig('layout', 'mobile'); game.saveConfig('phonelayout', true); } - Reflect.get(game, 'layout', layout); + Reflect.set(game, 'layout', layout); if (config.get('image_background_random')) { if (_status.htmlbg) { @@ -916,7 +917,9 @@ function setWindowListener() { if (_status && _status.event) { let evt = _status.event; str += `\nevent.name: ${evt.name}\nevent.step: ${evt.step}`; + // @ts-ignore if (evt.parent) str += `\nevent.parent.name: ${evt.parent.name}\nevent.parent.step: ${evt.parent.step}`; + // @ts-ignore if (evt.parent && evt.parent.parent) str += `\nevent.parent.parent.name: ${evt.parent.parent.name}\nevent.parent.parent.step: ${evt.parent.parent.step}`; if (evt.player || evt.target || evt.source || evt.skill || evt.card) { str += '\n-------------'; From b4ef8dac2ce623dc50798182a5ea50cf8f003f91 Mon Sep 17 00:00:00 2001 From: Rintim Date: Fri, 22 Dec 2023 22:07:23 +0800 Subject: [PATCH 043/234] fix: all fixed. --- noname/game/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noname/game/index.js b/noname/game/index.js index 872af08dc..0b4123abc 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -1387,7 +1387,7 @@ export class Game extends Uninstantable { func = lib.message.client[func]; } if (typeof func == 'function') { - func.apply(this, arguments); + func.apply(this, args); } } static syncState() { From 9973c8f2ba43897cd4c5deb5f05110aec8a82b2c Mon Sep 17 00:00:00 2001 From: Rintim Date: Fri, 22 Dec 2023 22:09:02 +0800 Subject: [PATCH 044/234] refactor: dynamic... --- noname/game/index.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/noname/game/index.js b/noname/game/index.js index 0b4123abc..89f04592a 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -7273,11 +7273,11 @@ export class Game extends Uninstantable { ui.window.appendChild(event.nodes[i]); } 'step 1' - var rand = event.config.first; - if (rand == 'rand') { - rand = (Math.random() < 0.5); + let rand1 = event.config.first; + if (rand1 == 'rand') { + rand1 = (Math.random() < 0.5); } - if (rand) { + if (rand1) { _status.color = true; event.side = 1; } @@ -7394,17 +7394,17 @@ export class Game extends Uninstantable { event.avatars[i].classList.add('selecting'); } } - var rand = []; + let rand2 = []; for (let i = 0; i < event.config.width; i++) { for (let j = 0; j < event.config.width - i; j++) { - rand.push(i); + rand2.push(i); } } for (let i = 0; i < event.config.num; i++) { - let rand2 = rand.randomGet(); - for (let j = 0; j < rand.length; j++) { - if (rand[j] == rand2) { - rand.splice(j--, 1); + let rand2 = rand2.randomGet(); + for (let j = 0; j < rand2.length; j++) { + if (rand2[j] == rand2) { + rand2.splice(j--, 1); } } event.enemylist.push(event.enemy[rand2]); From e3c0217869d1c1ba502e56ead48977ee95252b48 Mon Sep 17 00:00:00 2001 From: Rintim Date: Sat, 23 Dec 2023 02:36:36 +0800 Subject: [PATCH 045/234] fix: cordova not async. --- noname/init/cordova.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noname/init/cordova.js b/noname/init/cordova.js index e0af9ac80..38a939fa3 100644 --- a/noname/init/cordova.js +++ b/noname/init/cordova.js @@ -5,7 +5,7 @@ import { Game as game } from '../game/index.js'; import { status as _status } from '../status/index.js'; import { UI as ui } from '../ui/index.js'; -export function cordovaReady() { +export async function cordovaReady() { lib.path = (await import('../library/path.js')).default; if (lib.device == 'android') { document.addEventListener("pause", function () { From de043e394514ad28e78c41cad5b4e5719e42e53d Mon Sep 17 00:00:00 2001 From: Ansolve Date: Sat, 23 Dec 2023 02:36:55 +0800 Subject: [PATCH 046/234] refactor: wait loading. --- noname/init/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noname/init/index.js b/noname/init/index.js index 0adbe5dbd..f5049f3b8 100644 --- a/noname/init/index.js +++ b/noname/init/index.js @@ -751,7 +751,7 @@ function onWindowReady() { document.body.appendChild(script); document.addEventListener('deviceready', async () => { const { cordovaReady } = await import('./cordova.js'); - cordovaReady(); + await cordovaReady(); }); } if (_status.packLoaded) { From e0ec29c5e4a48bcc12d2e2bad74d833b9f590576 Mon Sep 17 00:00:00 2001 From: Rintim Date: Sat, 23 Dec 2023 02:37:14 +0800 Subject: [PATCH 047/234] feat: add new arrayContent. --- noname/game/index.js | 22 +- noname/library/index.js | 1437 +++++++++++++++++++++++---------------- 2 files changed, 855 insertions(+), 604 deletions(-) diff --git a/noname/game/index.js b/noname/game/index.js index 89f04592a..957423f86 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -5833,8 +5833,26 @@ export class Game extends Uninstantable { static runContent(belongAsyncEvent) { return new Promise(resolve => { let event = (belongAsyncEvent && belongAsyncEvent.parent == _status.event) ? belongAsyncEvent : _status.event; - let { step, source, player, target, targets, card, cards, skill, forced, num, _trigger: trigger, _result: result } = event; - if (event.content instanceof GeneratorFunction) { + let { step, source, player, target, targets, card, cards, skill, forced, num, _trigger: trigger, _result: result, _storeEvent } = event; + // 数组形式 + if ("contents" in event && Array.isArray(event.contents)) { + event.contents[step](event, trigger, player, _storeEvent) + .then((evt) => Promise.resolve(evt)) + .then((evt) => { + event._storeEvent = evt; + if (step < event.contents.length - 1 && !event.finished) return resolve(); + if (game.executingAsyncEventMap.has(event.toEvent())) { + game.executingAsyncEventMap.set(_status.event.toEvent(), game.executingAsyncEventMap.get(_status.event.toEvent()).then(() => { + event.finish(); + resolve(); + })); + } else { + event.finish(); + resolve(); + } + }) + } + else if (event.content instanceof GeneratorFunction) { if (!event.debugging) { if (event.generatorContent) event.generatorContent.return(); event.generatorContent = event.content(event, step, source, player, target, targets, diff --git a/noname/library/index.js b/noname/library/index.js index e20472393..793f60d1f 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -268,7 +268,7 @@ export class Library extends Uninstantable { ':not([data-nature])>', cs.class("span") ) - ) + ); let result2 = {}; result2[g2] = { color: `rgba(${color1.join()})`, @@ -380,7 +380,7 @@ export class Library extends Uninstantable { } }); } - } + }; /** * **无名杀消息推送库** * @@ -406,7 +406,7 @@ export class Library extends Uninstantable { * // 若此时乙扩展不想继续订阅`skinChange`事件,可以通过`unsubscribe`解除订阅 * lib.announce.unsubscribe("skinChange", method); */ - static announce = new Announce(new EventTarget(), new WeakMap()) + static announce = new Announce(new EventTarget(), new WeakMap()); static objectURL = new Map(); static hookmap = {}; static imported = {}; @@ -462,7 +462,7 @@ export class Library extends Uninstantable { yingbianZhuzhan.yingbianZhuzhanAI = event.yingbianZhuzhanAI; yingbianZhuzhan.afterYingbianZhuzhan = event.afterYingbianZhuzhan; yingbianZhuzhan.setContent(() => { - 'step 0' + 'step 0'; event._global_waiting = true; event.send = (player, card, source, targets, id, id2, yingbianZhuzhanAI, skillState) => { if (skillState) player.applySkills(skillState); @@ -491,15 +491,15 @@ export class Library extends Uninstantable { _status.event._resultid = id; game.resume(); }; - 'step 1' + 'step 1'; var type = get.type2(card); event.list = game.filterPlayer(current => current != player && current.countCards('h') && (_status.connectMode || current.hasCard(cardx => get.type2(cardx) == type, 'h'))).sortBySeat(_status.currentPhase || player); event.id = get.id(); - 'step 2' + 'step 2'; if (!event.list.length) event.finish(); else if (_status.connectMode && (event.list[0].isOnline() || event.list[0] == game.me)) event.goto(4); else event.send(event.current = event.list.shift(), event.card, player, trigger.targets, event.id, trigger.parent.id, trigger.yingbianZhuzhanAI); - 'step 3' + 'step 3'; if (result.bool) { event.zhuzhanresult = event.current; event.zhuzhanresult2 = result; @@ -507,7 +507,7 @@ export class Library extends Uninstantable { event.goto(8); } else event.goto(2); - 'step 4' + 'step 4'; var id = event.id, sendback = (result, player) => { if (result && result.id == id && !event.zhuzhanresult && result.bool) { event.zhuzhanresult = player; @@ -540,16 +540,16 @@ export class Library extends Uninstantable { if (value != player) value.showTimer(); }); event.withol = withol; - 'step 5' + 'step 5'; if (!result || !result.bool || event.zhuzhanresult) return; game.broadcast('cancel', event.id); event.zhuzhanresult = game.me; event.zhuzhanresult2 = result; - 'step 6' + 'step 6'; if (event.withol && !event.resultOL) game.pause(); - 'step 7' + 'step 7'; game.players.forEach(value => value.hideTimer()); - 'step 8' + 'step 8'; if (event.zhuzhanresult) { var target = event.zhuzhanresult; target.line(player, 'green'); @@ -561,7 +561,7 @@ export class Library extends Uninstantable { target.addExpose(0.2); event.result = { bool: true - } + }; } else event.result = { bool: false @@ -1234,7 +1234,7 @@ export class Library extends Uninstantable { nodezz.item[name] = str; alert('已添加扩展地址:' + str); } - }) + }); } }); }, @@ -1477,7 +1477,7 @@ export class Library extends Uninstantable { if (link == 'default') { player.style.height = '19px'; player.style.width = '38px'; - player.classList.add('oldlayout') + player.classList.add('oldlayout'); } else if (link == 'mobile' || link == 'newlayout') { player.style.width = '24px'; @@ -2330,7 +2330,7 @@ export class Library extends Uninstantable { }; fileReader.readAsDataURL(fileToLoad, "UTF-8"); }); - } + }; getDB(1); } }, @@ -3868,7 +3868,7 @@ export class Library extends Uninstantable { } else { ui.roundmenu.style.display = 'none'; - alert('关闭触屏按钮后可通过手势打开菜单(默认为下划)') + alert('关闭触屏按钮后可通过手势打开菜单(默认为下划)'); } } }, @@ -4485,7 +4485,7 @@ export class Library extends Uninstantable { name: '重置隐藏内容', onclick: function () { if (this.firstChild.innerHTML != '已重置') { - this.firstChild.innerHTML = '已重置' + this.firstChild.innerHTML = '已重置'; game.saveConfig('hiddenModePack', []); game.saveConfig('hiddenCharacterPack', []); game.saveConfig('hiddenCardPack', []); @@ -4508,7 +4508,7 @@ export class Library extends Uninstantable { name: '重置新手向导', onclick: function () { if (this.firstChild.innerHTML != '已重置') { - this.firstChild.innerHTML = '已重置' + this.firstChild.innerHTML = '已重置'; game.saveConfig('new_tutorial', false); game.saveConfig('prompt_hidebg'); game.saveConfig('prompt_hidepack'); @@ -4539,7 +4539,7 @@ export class Library extends Uninstantable { var data; var export_data = function (data) { game.export(lib.init.encode(JSON.stringify(data)), '无名杀 - 数据 - ' + (new Date()).toLocaleString()); - } + }; if (!lib.db) { data = {}; for (var i in localStorage) { @@ -7215,7 +7215,7 @@ export class Library extends Uninstantable { onclick: function (bool) { if (confirm('调整该设置将清除所有进度,是否继续?')) { for (var i = 1; i < 6; i++) game.save('save' + i, null, 'chess'); - game.saveConfig('chess_leader_allcharacter', bool, 'chess') + game.saveConfig('chess_leader_allcharacter', bool, 'chess'); if (get.mode() == 'chess') game.reload(); return; } @@ -7953,7 +7953,7 @@ export class Library extends Uninstantable { }, displayText: text, text: text, - } + }; }), from: CodeMirror.Pos(cur.line, token.start), to: CodeMirror.Pos(cur.line, token.end) @@ -8006,7 +8006,7 @@ export class Library extends Uninstantable { //If not, just look in the global object, any local scope, and optional additional-context //(reading into JS mode internals to get at the local and global variables) for (let v = token.state.localVars; v; v = v.next) maybeAdd(v.name); - for (let c = token.state.context; c; c = c.prev) for (let v = c.vars; v; v = v.next) maybeAdd(v.name) + for (let c = token.state.context; c; c = c.prev) for (let v = c.vars; v; v = v.next) maybeAdd(v.name); for (let v = token.state.globalVars; v; v = v.next) maybeAdd(v.name); if (options && options.additionalContext != null) for (let key in options.additionalContext) maybeAdd(key); if (!options || options.useGlobalScope !== false) gatherCompletions(global); @@ -8098,7 +8098,7 @@ export class Library extends Uninstantable { node._hoveration = hoveration; } if (typeof width == 'number') { - node._hoverwidth = width + node._hoverwidth = width; } node.addEventListener('mouseenter', ui.click.mouseenter); node.addEventListener('mouseleave', ui.click.mouseleave); @@ -8174,8 +8174,8 @@ export class Library extends Uninstantable { '无名杀 - 录像 - ' + _status.videoToSave.name[0] + ' - ' + _status.videoToSave.name[1]); } } - static genAsync(fn) { return gnc.of(fn) } - static genAwait(item) { return gnc.is.generator(item) ? gnc.of(function* () { for (const content of item) { yield content; } })() : Promise.resolve(item) } + static genAsync(fn) { return gnc.of(fn); } + static genAwait(item) { return gnc.is.generator(item) ? gnc.of(function* () { for (const content of item) { yield content; } })() : Promise.resolve(item); } static gnc = { of: fn => gnc.of(fn), is: { @@ -8216,7 +8216,7 @@ export class Library extends Uninstantable { for (let i = 1; i < arguments.length; ++i) if (type !== arguments[i]) return false; return true; } - } + }; static creation = { get array() { return []; @@ -8230,7 +8230,7 @@ export class Library extends Uninstantable { get string() { return ""; } - } + }; static linq = { cselector: { hasAttr: name => `[${name}]`, @@ -8253,7 +8253,7 @@ export class Library extends Uninstantable { _type: "style", name: name, value: value - } + }; } }, inject(element, options) { @@ -8328,15 +8328,15 @@ export class Library extends Uninstantable { _type: "attributes", name: name, value: value - } + }; }, div() { const dom = lib.linq.dom; return dom.inject(document.createElement("div"), dom.generate(...arguments)); } } - } - static init = LibInit + }; + static init = LibInit; static cheat = { i: function () { window.cheat = lib.cheat; @@ -8374,7 +8374,7 @@ export class Library extends Uninstantable { } callback(folders, files); }); - } + }; var args = Array.from(arguments); for (var i = 0; i < args.length; i++) { args[i] = args[i][0]; @@ -8522,7 +8522,7 @@ export class Library extends Uninstantable { } } if (skin) { - lib.config.skin[name] = skin + lib.config.skin[name] = skin; } var target; if (typeof i == 'number') { @@ -8652,11 +8652,11 @@ export class Library extends Uninstantable { num[lib.card.list[i][1]]++; } } - var str = '基本牌' + aa + '; ' + '锦囊牌' + bb + '; ' + '装备牌' + cc + '; ' + '其它牌' + dd + var str = '基本牌' + aa + '; ' + '锦囊牌' + bb + '; ' + '装备牌' + cc + '; ' + '其它牌' + dd; console.log(str); - str = '红桃牌' + sa + '; ' + '方片牌' + sb + '; ' + '梅花牌' + sc + '; ' + '黑桃牌' + sd + str = '红桃牌' + sa + '; ' + '方片牌' + sb + '; ' + '梅花牌' + sc + '; ' + '黑桃牌' + sd; console.log(str); - str = '杀' + sha + '; ' + '黑杀' + heisha + '; ' + '红杀' + hongsha + '; ' + '闪' + shan + '; ' + '桃' + tao + '; ' + '酒' + jiu + '; ' + '无懈' + wuxie + str = '杀' + sha + '; ' + '黑杀' + heisha + '; ' + '红杀' + hongsha + '; ' + '闪' + shan + '; ' + '桃' + tao + '; ' + '酒' + jiu + '; ' + '无懈' + wuxie; console.log(str); if (arguments[1]) { for (var i = 1; i <= 13; i++) { @@ -8672,7 +8672,7 @@ export class Library extends Uninstantable { for (var i = 1; i <= 13; i++) { arr.push(num[i]); } - console.log((a + b + c + d) + '/' + (aa + bb + cc + dd), ...arr) + console.log((a + b + c + d) + '/' + (aa + bb + cc + dd), ...arr); }()); }, id: function () { @@ -8760,7 +8760,7 @@ export class Library extends Uninstantable { card = arguments[i]; } else if (typeof arguments[i] == 'string') { - card = { name: arguments[i] } + card = { name: arguments[i] }; } } if (!targets.length) targets.push(game.me); @@ -8991,7 +8991,7 @@ export class Library extends Uninstantable { game.zhu.hp++; game.zhu.update(); }, - } + }; static translate = { flower: '鲜花', egg: '鸡蛋', @@ -9208,7 +9208,7 @@ export class Library extends Uninstantable { expandedSlots: '扩展装备栏', stratagem_fury: '怒气', _stratagem_add_buff: '强化' - } + }; static element = { content: { emptyEvent: function () { @@ -9248,7 +9248,7 @@ export class Library extends Uninstantable { //Execute the delay card effect //执行延时锦囊牌效果 executeDelayCardEffect: () => { - 'step 0' + 'step 0'; target.$phaseJudge(card); event.cancelled = false; event.trigger('executeDelayCardEffect'); @@ -9262,13 +9262,13 @@ export class Library extends Uninstantable { game.delay(); event.nojudge = true; } - 'step 1' + 'step 1'; if (event.cancelled || event.nojudge) return; var next = player.judge(card), judge = event.judge; if (typeof judge == 'function') next.judge = judge; var judge2 = event.judge2; if (typeof judge2 == 'function') next.judge2 = judge2; - 'step 2' + 'step 2'; if (event.excluded) delete event.excluded; else { var cardName = event.cardName; @@ -9315,9 +9315,9 @@ export class Library extends Uninstantable { //Gift //赠予 gift: () => { - 'step 0' + 'step 0'; event.num = 0; - 'step 1' + 'step 1'; if (num < cards.length) { event.card = cards[num]; event.trigger('gift'); @@ -9326,7 +9326,7 @@ export class Library extends Uninstantable { game.delayx(); event.finish(); } - 'step 2' + 'step 2'; if (event.deniedGifts.includes(card)) { game.log(target, '拒绝了', player, '赠予的', card); event.trigger('giftDeny'); @@ -9341,23 +9341,23 @@ export class Library extends Uninstantable { if (get.type(card, false) == 'equip') target.equip(card).log = false; else target.gain(card, player).visible = true; event.trigger('giftAccepted'); - 'step 3' + 'step 3'; event.num++; event.goto(1); }, //Recast //重铸 recast: () => { - 'step 0' + 'step 0'; game.log(player, '重铸了', cards); if (typeof event.recastingLose != 'function') return; event.trigger('recastingLose'); event.recastingLose(player, cards); event.trigger('recastingLost'); event.recastingLosingEvents.push(...event.next.filter(value => value.name != 'arrangeTrigger')); - 'step 1' + 'step 1'; event.trigger('recast'); - 'step 2' + 'step 2'; if (typeof event.recastingGain != 'function') return; event.trigger('recastingGain'); event.recastingGain(player, cards); @@ -9366,14 +9366,14 @@ export class Library extends Uninstantable { }, //装备栏相关 disableEquip: function () { - 'step 0' + 'step 0'; event.cards = []; event.num = 0; event.slotsx = []; if (get.is.mountCombined()) { event.slots.forEach(type => { if (type == 'equip3' || type == 'equip4') event.slotsx.add('equip3_4'); - else event.slotsx.add(type) + else event.slotsx.add(type); }); } else { @@ -9381,7 +9381,7 @@ export class Library extends Uninstantable { } event.slotsx.sort(); if (!event.slots.length) event.finish(); - 'step 1' + 'step 1'; var slot = event.slotsx[event.num]; var slot_key = slot; var left = player.countEnabledSlot(slot), lose; @@ -9411,17 +9411,17 @@ export class Library extends Uninstantable { var evt = _status.event; return ui.selected.buttons.reduce(function (num, button) { if (evt.slot == 'equip3_4') return num + Math.max(get.numOf(get.subtypes(button.link, false), 'equip3'), get.numOf(get.subtypes(button.link, false), 'equip4')); - return num + get.numOf(get.subtypes(button.link, false), evt.slot) + return num + get.numOf(get.subtypes(button.link, false), evt.slot); }, 0) == evt.required; - }).set('required', num).set('slot', slot) + }).set('required', num).set('slot', slot); } else event.goto(3); } - else event.goto(3) + else event.goto(3); } - 'step 2' + 'step 2'; if (result.bool) event.cards.addArray(result.links); - 'step 3' + 'step 3'; event.num++; if (event.num < event.slotsx.length) event.goto(1); else { @@ -9450,7 +9450,7 @@ export class Library extends Uninstantable { if (get.is.mountCombined()) { event.slots.forEach(type => { if (type == 'equip3' || type == 'equip4') slotsx.add('equip3_4'); - else slotsx.add(type) + else slotsx.add(type); }); } else { @@ -9472,7 +9472,7 @@ export class Library extends Uninstantable { }, //选择顶装备要顶的牌 replaceEquip: function () { - 'step 0' + 'step 0'; event.cards = []; var types = get.subtypes(card, false); if (types.length) { @@ -9490,7 +9490,7 @@ export class Library extends Uninstantable { if (get.is.mountCombined()) { event.slots.forEach(type => { if (type == 'equip3' || type == 'equip4') event.slotsx.add('equip3_4'); - else event.slotsx.add(type) + else event.slotsx.add(type); }); } else { @@ -9500,7 +9500,7 @@ export class Library extends Uninstantable { } } else event.goto(4); - 'step 1' + 'step 1'; var slot = event.slotsx[event.num]; var left = player.countEquipableSlot(slot), lose; if (slot == 'equip3_4') lose = Math.min(left, Math.max(get.numOf(event.slots, 'equip3'), get.numOf(event.slots, 'equip4'))); @@ -9524,32 +9524,32 @@ export class Library extends Uninstantable { var evt = _status.event; return ui.selected.buttons.reduce(function (num, button) { if (evt.slot == 'equip3_4') return num + Math.max(get.numOf(get.subtypes(button.link, false), 'equip3'), get.numOf(get.subtypes(button.link, false), 'equip4')); - return num + get.numOf(get.subtypes(button.link, false), evt.slot) + return num + get.numOf(get.subtypes(button.link, false), evt.slot); }, 0) == evt.required; - }).set('required', num).set('slot', slot) + }).set('required', num).set('slot', slot); } else event.goto(3); } - else event.goto(3) + else event.goto(3); } - 'step 2' + 'step 2'; if (result.bool) event.cards.addArray(result.links); - 'step 3' + 'step 3'; event.num++; if (event.num < event.slotsx.length) event.goto(1); - 'step 4' + 'step 4'; event.result = cards; }, //装备牌 equip: function () { - "step 0" - var owner = get.owner(card) + "step 0"; + var owner = get.owner(card); if (owner) { event.owner = owner; owner.lose(card, ui.special, 'visible').set('type', 'equip').set('getlx', false); } else if (get.position(card) == 'c') event.updatePile = true; - "step 1" + "step 1"; if (event.cancelled) { event.finish(); return; @@ -9569,7 +9569,7 @@ export class Library extends Uninstantable { game.delay(0, 300); player.$draw(card); } - "step 2" + "step 2"; if (card.clone) { game.broadcast(function (card, player) { if (card.clone) { @@ -9580,13 +9580,13 @@ export class Library extends Uninstantable { game.addVideo('gain2', player, get.cardsInfo([card.clone])); } player.equiping = true; - "step 3" + "step 3"; var info = get.info(card, false); var next = game.createEvent('replaceEquip'); next.player = player; next.card = card; next.setContent(info.replaceEquip || 'replaceEquip'); - "step 4" + "step 4"; var info = get.info(card, false); if (get.itemtype(result) == 'cards') { player.lose(result, 'visible').set('type', 'equip').set('getlx', false).swapEquip = true; @@ -9595,7 +9595,7 @@ export class Library extends Uninstantable { } event.swapped = true; } - "step 5" + "step 5"; //if(player.isMin() || player.countCards('e',{subtype:get.subtype(card)})){ if (player.isMin() || !player.canEquip(card)) { event.finish(); @@ -9614,7 +9614,7 @@ export class Library extends Uninstantable { game.addVideo('equip', player, get.cardInfo(card)); if (event.log != false) game.log(player, '装备了', card); if (event.updatePile) game.updateRoundNumber(); - "step 6" + "step 6"; var info = get.info(card, false); if (info.onEquip && (!info.filterEquip || info.filterEquip(card, player))) { if (Array.isArray(info.onEquip)) { @@ -9640,7 +9640,7 @@ export class Library extends Uninstantable { }, //装备栏 END changeGroup: function () { - 'step 0' + 'step 0'; event.originGroup = player.group; if (!event.group) event.group = player.group; var group = event.group; @@ -9656,7 +9656,7 @@ export class Library extends Uninstantable { if (event.log !== false) game.log(player, '将势力变为了', '#y' + get.translation(group + 2)); }, chooseToDebate: function () { - 'step 0' + 'step 0'; event.targets = event.list.filter(function (i) { return i.countCards('h') > 0; }); @@ -9670,7 +9670,7 @@ export class Library extends Uninstantable { }); next._args.remove('glow_result'); } - 'step 1' + 'step 1'; var red = [], black = []; event.videoId = lib.status.videoId++; for (var i = 0; i < event.targets.length; i++) { @@ -9704,7 +9704,7 @@ export class Library extends Uninstantable { dialog.classList.add('fullheight'); dialog.buttonss = []; - var list = ['意见为红色的角色', '意见为黑色的角色'] + var list = ['意见为红色的角色', '意见为黑色的角色']; for (var i = 0; i < list.length; i++) { dialog.add('
' + list[i] + '
'); var buttons = ui.create.div('.buttons', dialog.content); @@ -9731,7 +9731,7 @@ export class Library extends Uninstantable { dialog.open(); }, get.translation(player), event.videoId, red, black); game.delay(4); - 'step 2' + 'step 2'; game.broadcastAll('closeDialog', event.videoId); var opinion = null; if (event.red.length > event.black.length) opinion = 'red'; @@ -9744,8 +9744,8 @@ export class Library extends Uninstantable { red: event.red, black: event.black, targets: event.targets - } - 'step 3' + }; + 'step 3'; if (event.callback) { var next = game.createEvent('debateCallback', false); next.player = player; @@ -9754,10 +9754,10 @@ export class Library extends Uninstantable { } }, delay: function () { - game[event.name].apply(game, event._args) + game[event.name].apply(game, event._args); }, chooseCooperationFor: function () { - 'step 0' + 'step 0'; var next = player.chooseButton([ '选择和' + get.translation(target) + '的协力方式', [event.cardlist, 'vcard'], @@ -9765,13 +9765,13 @@ export class Library extends Uninstantable { next.set('ai', event.ai || function () { return Math.random(); }); - 'step 1' + 'step 1'; if (result.bool) { player.cooperationWith(target, result.links[0][2].slice(12), event.reason); } }, chooseToPlayBeatmap: function () { - 'step 0' + 'step 0'; if (game.online) return; if (_status.connectMode) event.time = lib.configOL.choose_timeout; event.videoId = lib.status.videoId++; @@ -9788,7 +9788,7 @@ export class Library extends Uninstantable { else game.playAudio('effect', beatmap.filename); } }, player, event.videoId, event.beatmap); - 'step 1' + 'step 1'; var beatmap = event.beatmap; if (event.isMine()) { var timeleap = beatmap.timeleap.slice(0); @@ -9952,9 +9952,9 @@ export class Library extends Uninstantable { else { setTimeout(function () { event.settle(); - }, speed * 110 + 100) + }, speed * 110 + 100); } - } + }; //点击时的判断操作 var click = function () { if (!nodes.length) return; @@ -10055,7 +10055,7 @@ export class Library extends Uninstantable { skip_timeout = setTimeout(() => document.removeEventListener(lib.config.touchscreen ? 'touchend' : 'click', skip), song_duration); } } - 'step 2' + 'step 2'; game.broadcastAll(function (id, time) { if (_status.connectMode) lib.configOL.choose_timeout = time; var dialog = get.idDialog(id); @@ -10068,7 +10068,7 @@ export class Library extends Uninstantable { event.result = result; }, chooseToMove: function () { - 'step 0' + 'step 0'; if (event.chooseTime && _status.connectMode && !game.online) { event.time = lib.configOL.choose_timeout; game.broadcastAll(function (time) { @@ -10182,7 +10182,7 @@ export class Library extends Uninstantable { par2.insertBefore(ui.selected.guanxing_button, ind2); delete ui.selected.guanxing_button; updateButtons(); - } + }; event.custom.replace.confirm = function (bool) { if (bool) event._result = { bool: true, @@ -10208,7 +10208,7 @@ export class Library extends Uninstantable { else { event.result = 'ai'; } - "step 1" + "step 1"; if (event.time) game.broadcastAll(function (time) { lib.configOL.choose_timeout = time; }, event.time); @@ -10218,15 +10218,15 @@ export class Library extends Uninstantable { if (moved) result = { bool: true, moved: moved, - } + }; else result = { bool: false }; } event.result = result; }, showCharacter: function () { - 'step 0' + 'step 0'; event.trigger('showCharacterEnd'); - 'step 1' + 'step 1'; event.trigger('showCharacterAfter'); if (get.mode() == 'identity' && player.isZhu) event.trigger('zhuUpdate'); }, @@ -10234,7 +10234,7 @@ export class Library extends Uninstantable { player.$removeCharacter(event.num); }, chooseUseTarget: function () { - 'step 0' + 'step 0'; if (get.is.object(card) && !event.viewAs) card.isCard = true; if (cards && get.itemtype(card) != 'card') { card = get.copy(card); @@ -10325,7 +10325,7 @@ export class Library extends Uninstantable { if (event.prompt2) next.set('prompt2', event.prompt2); if (event.hsskill) next.setHiddenSkill(event.hsskill); } - 'step 1' + 'step 1'; if (result.bool) { event.result = { bool: true, @@ -10354,7 +10354,7 @@ export class Library extends Uninstantable { else event.result = { bool: false }; }, chooseToDuiben: function () { - 'step 0' + 'step 0'; if (!event.namelist) event.namelist = ['全军出击', '分兵围城', '奇袭粮道', '开城诱敌']; game.broadcastAll(function (list) { var list2 = ['db_atk1', 'db_atk2', 'db_def1', 'db_def2']; @@ -10365,7 +10365,7 @@ export class Library extends Uninstantable { }, event.namelist); if (!event.title) event.title = '对策'; game.log(player, '向', target, '发起了', '#y' + event.title); - if (!event.ai) event.ai = function () { return 1 + Math.random() }; + if (!event.ai) event.ai = function () { return 1 + Math.random(); }; if (_status.connectMode) { player.chooseButtonOL([ [player, [event.title + ':请选择一种策略', [[['', '', 'db_def2'], ['', '', 'db_def1']], 'vcard']], true], @@ -10377,10 +10377,10 @@ export class Library extends Uninstantable { return { bool: true, links: [buttons.randomGet().link], - } + }; }); } - 'step 1' + 'step 1'; if (_status.connectMode) { event.mes = result[player.playerid].links[0][2]; event.tes = result[target.playerid].links[0][2]; @@ -10389,12 +10389,12 @@ export class Library extends Uninstantable { else { player.chooseButton([event.title + ':请选择一种策略', [[['', '', 'db_def2'], ['', '', 'db_def1']], 'vcard']], true).ai = event.ai; } - 'step 2' + 'step 2'; event.mes = result.links[0][2]; target.chooseButton([event.title + ':请选择一种策略', [[['', '', 'db_atk1'], ['', '', 'db_atk2']], 'vcard']], true).ai = event.ai; - 'step 3' + 'step 3'; event.tes = result.links[0][2]; - 'step 4' + 'step 4'; game.broadcast(function () { ui.arena.classList.add('thrownhighlight'); }); @@ -10404,7 +10404,7 @@ export class Library extends Uninstantable { game.log(target, '选择的策略为', '#g' + get.translation(event.tes)); game.log(player, '选择的策略为', '#g' + get.translation(event.mes)); game.delay(0, 1500); - 'step 5' + 'step 5'; var mes = event.mes.slice(6); var tes = event.tes.slice(6); var str; @@ -10433,7 +10433,7 @@ export class Library extends Uninstantable { }, str); game.trySkillAudio(event.getParent().name + '_' + (event.result.bool ? 'true' + mes : 'false'), player); game.delay(2); - 'step 6' + 'step 6'; game.broadcastAll(function () { ui.arena.classList.remove('thrownhighlight'); }); @@ -10443,37 +10443,37 @@ export class Library extends Uninstantable { } }, chooseToPSS: function () { - 'step 0' + 'step 0'; game.log(player, '对', target, '发起了猜拳'); if (_status.connectMode) { player.chooseButtonOL([ [player, ['猜拳:请选择一种手势', [[['', '', 'pss_stone'], ['', '', 'pss_scissor'], ['', '', 'pss_paper']], 'vcard']], true], [target, ['猜拳:请选择一种手势', [[['', '', 'pss_stone'], ['', '', 'pss_scissor'], ['', '', 'pss_paper']], 'vcard']], true] - ], function () { }, function () { return 1 + Math.random() }).set('switchToAuto', function () { + ], function () { }, function () { return 1 + Math.random(); }).set('switchToAuto', function () { _status.event.result = 'ai'; }).set('processAI', function () { var buttons = _status.event.dialog.buttons; return { bool: true, links: [buttons.randomGet().link], - } + }; }); } - 'step 1' + 'step 1'; if (_status.connectMode) { event.mes = result[player.playerid].links[0][2]; event.tes = result[target.playerid].links[0][2]; event.goto(4); } else { - player.chooseButton(['猜拳:请选择一种手势', [[['', '', 'pss_stone'], ['', '', 'pss_scissor'], ['', '', 'pss_paper']], 'vcard']], true).ai = function () { return 1 + Math.random() }; + player.chooseButton(['猜拳:请选择一种手势', [[['', '', 'pss_stone'], ['', '', 'pss_scissor'], ['', '', 'pss_paper']], 'vcard']], true).ai = function () { return 1 + Math.random(); }; } - 'step 2' + 'step 2'; event.mes = result.links[0][2]; - target.chooseButton(['猜拳:请选择一种手势', [[['', '', 'pss_stone'], ['', '', 'pss_scissor'], ['', '', 'pss_paper']], 'vcard']], true).ai = function () { return 1 + Math.random() }; - 'step 3' + target.chooseButton(['猜拳:请选择一种手势', [[['', '', 'pss_stone'], ['', '', 'pss_scissor'], ['', '', 'pss_paper']], 'vcard']], true).ai = function () { return 1 + Math.random(); }; + 'step 3'; event.tes = result.links[0][2]; - 'step 4' + 'step 4'; game.broadcast(function () { ui.arena.classList.add('thrownhighlight'); }); @@ -10483,7 +10483,7 @@ export class Library extends Uninstantable { game.log(player, '选择的手势为', '#g' + get.translation(event.mes)); game.log(target, '选择的手势为', '#g' + get.translation(event.tes)); game.delay(0, 1500); - 'step 5' + 'step 5'; var mes = event.mes.slice(4); var tes = event.tes.slice(4); var str; @@ -10518,7 +10518,7 @@ export class Library extends Uninstantable { }, 1000); }, str); game.delay(2); - 'step 6' + 'step 6'; game.broadcastAll(function () { ui.arena.classList.remove('thrownhighlight'); }); @@ -10595,7 +10595,7 @@ export class Library extends Uninstantable { }, cardsGotoPile: function () { if (event.washCard) { - event.trigger('washCard') + event.trigger('washCard'); for (var i = 0; i < lib.onwash.length; i++) { if (lib.onwash[i]() == 'remove') { lib.onwash.splice(i--, 1); @@ -10606,7 +10606,7 @@ export class Library extends Uninstantable { if (!event._triggeronly) game.$cardsGotoPile(event); }, chooseToEnable: function () { - 'step 0' + 'step 0'; var list = []; for (var i = 1; i <= 5; i++) { if (player.hasDisabledSlot(i)) list.push('equip' + i); @@ -10621,18 +10621,18 @@ export class Library extends Uninstantable { next.set('prompt', '请选择恢复一个装备栏'); if (!event.ai) event.ai = function (event, player, list) { return list.randomGet(); - } + }; event.ai = event.ai(event.getParent(), player, list); next.ai = function () { return event.ai; }; } - 'step 1' + 'step 1'; event.result = { control: result.control }; player.enableEquip(result.control); }, chooseToDisable: function () { - 'step 0' + 'step 0'; var list = []; for (var i = 1; i <= 5; i++) { if (player.hasEnabledSlot(i)) list.push('equip' + i); @@ -10654,13 +10654,13 @@ export class Library extends Uninstantable { next.set('prompt', '请选择废除一个装备栏'); if (!event.ai) event.ai = function (event, player, list) { return list.randomGet(); - } + }; event.ai = event.ai(event.getParent(), player, list); next.ai = function () { return event.ai; }; } - 'step 1' + 'step 1'; event.result = { control: result.control }; if (result.control == 'equip3_4') { player.disableEquip(3, 4); @@ -10668,8 +10668,8 @@ export class Library extends Uninstantable { else player.disableEquip(result.control); }, swapEquip: function () { - "step 0" - game.log(player, '和', target, '交换了装备区中的牌') + "step 0"; + game.log(player, '和', target, '交换了装备区中的牌'); event.cards = [player.getCards('e'), target.getCards('e')]; game.loseAsync({ player: player, @@ -10677,7 +10677,7 @@ export class Library extends Uninstantable { cards1: event.cards[0], cards2: event.cards[1], }).setContent('swapHandcardsx'); - "step 1" + "step 1"; for (var i = 0; i < event.cards[1].length; i++) { if (get.position(event.cards[1][i], true) == 'o') player.equip(event.cards[1][i]); } @@ -10686,13 +10686,13 @@ export class Library extends Uninstantable { } }, disableJudge: function () { - 'step 0' + 'step 0'; game.log(player, '废除了判定区'); var js = player.getCards('j'); if (js.length) player.discard(js); player.storage._disableJudge = true; //player.markSkill('_disableJudge'); - 'step 1' + 'step 1'; game.broadcastAll(function (player, card) { player.$disableJudge(); }, player); @@ -10706,7 +10706,7 @@ export class Library extends Uninstantable { }, /*----分界线----*/ phasing: function () { - 'step 0' + 'step 0'; while (ui.dialogs.length) { ui.dialogs[0].close(); } @@ -10754,11 +10754,11 @@ export class Library extends Uninstantable { game.addVideo('destroyLand'); ui.land.destroy(); } - 'step 1' + 'step 1'; event.trigger('phaseBeginStart'); }, toggleSubPlayer: function () { - 'step 0' + 'step 0'; var list = event.list || player.storage.subplayer.skills.slice(0); list.remove(player.storage.subplayer.name2); event.list = list; @@ -10780,7 +10780,7 @@ export class Library extends Uninstantable { event.finish(); } } - 'step 1' + 'step 1'; if (!event.directresult) { if (result && result.bool && result.links[0]) { event.directresult = result.links[0]; @@ -10813,7 +10813,7 @@ export class Library extends Uninstantable { } }, exitSubPlayer: function () { - 'step 0' + 'step 0'; if (player.storage.subplayer) { var current = player.storage.subplayer.name2; if (event.remove) { @@ -10844,19 +10844,19 @@ export class Library extends Uninstantable { } player.addSkill(player.storage.subplayer.skills); } - 'step 1' + 'step 1'; if (player.storage.subplayer) { player.directgain(player.storage.subplayer.hs); player.directequip(player.storage.subplayer.es); } player.removeSkill('subplayer'); - 'step 2' + 'step 2'; if (event.remove) { event.trigger('subPlayerDie'); } }, callSubPlayer: function () { - 'step 0' + 'step 0'; var list = player.getSubPlayers(event.tag); event.list = list; if (!event.directresult) { @@ -10877,7 +10877,7 @@ export class Library extends Uninstantable { event.finish(); } } - 'step 1' + 'step 1'; if (!event.directresult) { if (result && result.bool && result.links[0]) { event.directresult = result.links[0]; @@ -10901,7 +10901,7 @@ export class Library extends Uninstantable { hs: player.getCards('h'), es: player.getCards('e'), intro2: cfg.intro2 - } + }; player.removeSkill(event.list); player.reinit(source, name, [cfg.hp, cfg.maxHp]); player.addSkill('subplayer'); @@ -10909,24 +10909,24 @@ export class Library extends Uninstantable { if (cfg.hs.length) player.directgain(cfg.hs); if (cfg.es.length) player.directequip(cfg.es); } - 'step 2' + 'step 2'; game.delay(); }, addExtraTarget: function () { - "step 0" + "step 0"; event.num = 0; - "step 1" + "step 1"; var target = targets[num], info = get.info(card); if (target == event.target && event.addedTarget) { event.addedTargets[num] = event.addedTarget; event._result = { bool: false }; } else if (game.hasPlayer(function (current) { - return info.filterAddedTarget(card, player, current, target) + return info.filterAddedTarget(card, player, current, target); })) { var next = player.chooseTarget(get.translation(event.card) + ':选择' + get.translation(targets[num]) + '对应的指向目标', function (card, player, target) { var card = get.card(), info = get.info(card); - return info.filterAddedTarget(card, player, target, _status.event.preTarget) + return info.filterAddedTarget(card, player, target, _status.event.preTarget); }, true); next.set('_get_card', card); next.set('preTarget', targets[num]); @@ -10936,7 +10936,7 @@ export class Library extends Uninstantable { event.addedTargets[num] = false; event._result = { bool: false }; } - "step 2" + "step 2"; if (result.bool) { event.addedTargets[num] = result.targets[0]; player.line2([targets[num], result.targets[0]]); @@ -10945,9 +10945,9 @@ export class Library extends Uninstantable { if (event.num < targets.length) event.goto(1); }, reverseOrder: function () { - "step 0" + "step 0"; game.delay(); - "step 1" + "step 1"; var choice; if (get.tag(card, 'multineg')) { choice = (player.previous.side == player.side) ? '逆时针' : '顺时针'; @@ -10958,7 +10958,7 @@ export class Library extends Uninstantable { player.chooseControl('顺时针', '逆时针', function (event, player) { return _status.event.choice || '逆时针'; }).set('prompt', '选择' + get.translation(card) + '的结算方向').set('choice', choice).set('forceDie', true); - "step 2" + "step 2"; if (result && result.control == '顺时针') { var evt = event.getParent(), sorter = (_status.currentPhase || player); evt.fixedSeat = true; @@ -10976,7 +10976,7 @@ export class Library extends Uninstantable { if (cards.length && get.position(cards[0], true) == 'o') target.equip(cards[0]); }, gameDraw: function () { - "step 0" + "step 0"; if (_status.brawl && _status.brawl.noGameDraw) { event.finish(); return; @@ -11000,19 +11000,19 @@ export class Library extends Uninstantable { if (_status.connectMode || (lib.config.mode == 'doudizhu' && _status.mode == 'online') || lib.config.mode != 'identity' && lib.config.mode != 'guozhan' && lib.config.mode != 'doudizhu') { event.changeCard = 'disabled'; } - "step 1" + "step 1"; if (event.changeCard != 'disabled' && !_status.auto) { event.dialog = ui.create.dialog('是否使用手气卡?'); ui.create.confirm('oc'); event.custom.replace.confirm = function (bool) { _status.event.bool = bool; game.resume(); - } + }; } else { event.finish(); } - "step 2" + "step 2"; if (event.changeCard == 'once') { event.changeCard = 'disabled'; } @@ -11027,9 +11027,9 @@ export class Library extends Uninstantable { event.switchToAuto = function () { _status.event.bool = false; game.resume(); - } + }; game.pause(); - "step 3" + "step 3"; _status.imchoosing = false; if (event.bool) { if (game.changeCoin) { @@ -11051,19 +11051,19 @@ export class Library extends Uninstantable { } }, phaseLoop: function () { - "step 0" + "step 0"; var num = 1, current = player; while (current.getSeatNum() == 0) { current.setSeatNum(num); current = current.next; num++; } - "step 1" + "step 1"; for (var i = 0; i < lib.onphase.length; i++) { lib.onphase[i](); } player.phase(); - "step 2" + "step 2"; if (!game.players.contains(event.player.next)) { event.player = game.findNext(event.player.next); } @@ -11073,7 +11073,7 @@ export class Library extends Uninstantable { event.goto(1); }, loadPackage: function () { - 'step 0' + 'step 0'; if (event.packages.length) { window.game = game; var pack = event.packages.shift().split('/'); @@ -11083,7 +11083,7 @@ export class Library extends Uninstantable { else { event.finish(); } - 'step 1' + 'step 1'; if (!lib.config.dev) delete window.game; var character = lib.imported.character; var card = lib.imported.card; @@ -11177,24 +11177,24 @@ export class Library extends Uninstantable { event.goto(0); }, loadMode: function () { - 'step 0' + 'step 0'; window.game = game; lib.init.js(lib.assetURL + 'mode', event.mode, game.resume); game.pause(); - 'step 1' + 'step 1'; if (!lib.config.dev) delete window.game; event.result = lib.imported.mode[event.mode]; delete lib.imported.mode[event.mode]; }, forceOver: function () { - 'step 0' + 'step 0'; while (ui.controls.length) { ui.controls[0].close(); } while (ui.dialogs.length) { ui.dialogs[0].close(); } - 'step 1' + 'step 1'; if (event.bool != 'noover') { game.over(event.bool); } @@ -11203,7 +11203,7 @@ export class Library extends Uninstantable { } }, arrangeTrigger: function () { - 'step 0' + 'step 0'; event.doing = event.doingList[0]; if (event.doing && event.doing.todoList.length) return; if (event.doingList.length) { @@ -11211,7 +11211,7 @@ export class Library extends Uninstantable { return event.redo(); } event.finish(); - 'step 1' + 'step 1'; if (trigger.filterStop && trigger.filterStop()) return event.finish(); event.current = event.doing.todoList.find(info => lib.filter.filterTrigger(trigger, info.player, event.triggername, info.skill)); if (!event.current) { @@ -11229,15 +11229,15 @@ export class Library extends Uninstantable { return lib.skill.global.includes(info.skill) || event.current.player.hasSkill(info.skill, true); }); if (event.choice.length < 2) return event.goto(4); - 'step 2' + 'step 2'; const next = event.choice[0].player.chooseControl(event.choice.map(i => i.skill)); next.set('prompt', '选择下一个触发的技能'); next.set('forceDie', true); next.set('arrangeSkill', true); next.set('includeOut', true); - 'step 3' + 'step 3'; if (result.control) event.current = event.doing.todoList.find(info => info.skill == result.control && info.player == event.choice[0].player); - 'step 4' + 'step 4'; if (!event.current || !event.doing.todoList.includes(event.current)) return; event.doing.doneList.push(event.current); event.doing.todoList.remove(event.current); @@ -11245,7 +11245,7 @@ export class Library extends Uninstantable { event.goto(0); }, createTrigger: function () { - "step 0" + "step 0"; // console.log('triggering: ' + player.name+ ' \'s skill: ' + event.skill+' in ' + event.triggername) if (game.expandSkills(player.getSkills().concat(lib.skill.global)).includes(event.skill)) return; var info = get.info(event.skill); @@ -11263,7 +11263,7 @@ export class Library extends Uninstantable { if (i.startsWith('hidden:')) return true; return !game.expandSkills(player.additionalSkills[i]).includes(event.skill); })) event.finish(); - "step 1" + "step 1"; if (event.cancelled) return event.finish(); var info = get.info(event.skill); if (event.revealed || info.forced) return; @@ -11273,7 +11273,7 @@ export class Library extends Uninstantable { if (typeof info.frequent == 'function') return info.frequent(trigger, player); if (info.frequent == 'check' && typeof info.check == 'function') return info.check(trigger, player); return false; - } + }; if (info.direct) { if (player.isUnderControl()) game.swapPlayerAuto(player); if (player.isOnline()) void 0; @@ -11311,7 +11311,7 @@ export class Library extends Uninstantable { else next.set('prompt2', trigger.skillwarn); } } - "step 2" + "step 2"; var info = get.info(event.skill); if (!result || !result.bool) return; var autodelay = info.autodelay; @@ -11320,7 +11320,7 @@ export class Library extends Uninstantable { if (typeof autodelay == 'number') game.delayx(autodelay); else game.delayx(); } - "step 3" + "step 3"; var info = get.info(event.skill); if (result && result.bool == false) { if (info.oncancel) info.oncancel(trigger, player); @@ -11349,7 +11349,7 @@ export class Library extends Uninstantable { next.skillHidden = event.skillHidden; if (info.forceDie) next.forceDie = true; if (info.forceOut) next.includeOut = true; - "step 4" + "step 4"; if (!player._hookTrigger) return; if (player._hookTrigger.some(i => { const info = lib.skill[i].hookTrigger; @@ -11357,9 +11357,9 @@ export class Library extends Uninstantable { })) event.trigger('triggerAfter'); }, playVideoContent: function () { - 'step 0' + 'step 0'; game.delay(0, 500); - 'step 1' + 'step 1'; if (!game.chess) { ui.control.innerHTML = ''; var nodes = []; @@ -11420,7 +11420,7 @@ export class Library extends Uninstantable { else { fast.classList.remove('glow'); } - } + }; ui.system.style.display = ''; ui.refresh(ui.system); ui.system.show(); @@ -11434,7 +11434,7 @@ export class Library extends Uninstantable { game.playerMap = {}; } game.finishCards(); - 'step 2' + 'step 2'; if (event.video.length) { var content = event.video.shift(); // console.log(content); @@ -11451,7 +11451,7 @@ export class Library extends Uninstantable { } var script = lib.init.js(lib.assetURL + 'play', content.name); script.addEventListener('load', function () { - var play = window.play[content.name] + var play = window.play[content.name]; if (play && play.video) { play.video(content.init); } @@ -11483,7 +11483,7 @@ export class Library extends Uninstantable { } }, waitForPlayer: function () { - 'step 0' + 'step 0'; ui.auto.hide(); ui.pause.hide(); @@ -11514,7 +11514,7 @@ export class Library extends Uninstantable { document.querySelector('#server_status').innerHTML = '等待中'; } game.pause(); - 'step 1' + 'step 1'; _status.waitingForPlayer = false; lib.configOL.gameStarted = true; if (window.isNonameServer) { @@ -11544,16 +11544,16 @@ export class Library extends Uninstantable { } }, replaceHandcards: function () { - 'step 0' + 'step 0'; if (event.players.contains(game.me)) { game.me.chooseBool('是否置换手牌?'); } else { event.finish(); } - 'step 1' + 'step 1'; if (result && result.bool) { - var hs = game.me.getCards('h') + var hs = game.me.getCards('h'); for (var i = 0; i < hs.length; i++) { hs[i].discard(false); } @@ -11563,14 +11563,14 @@ export class Library extends Uninstantable { } }, replaceHandcardsOL: function () { - 'step 0' + 'step 0'; var send = function () { game.me.chooseBool('是否置换手牌?'); game.resume(); }; var sendback = function (result, player) { if (result && result.bool) { - var hs = player.getCards('h') + var hs = player.getCards('h'); game.broadcastAll(function (player, hs) { game.addVideo('lose', player, [get.cardsInfo(hs), [], [], []]); for (var i = 0; i < hs.length; i++) { @@ -11594,17 +11594,237 @@ export class Library extends Uninstantable { game.me.wait(sendback); } } - 'step 1' + 'step 1'; if (event.withme) { game.me.unwait(result); } - 'step 2' + 'step 2'; if (event.withol && !event.resultOL) { game.pause(); } }, - phase: function () { - 'step 0' + phase: [ + async (event, _trigger, player) => { + // 初始化阶段列表 + if (!event.phaseList) { + event.phaseList = ['phaseZhunbei', 'phaseJudge', 'phaseDraw', 'phaseUse', 'phaseDiscard', 'phaseJieshu']; + } + + if (typeof event.num != 'number') { + event.num = 0; + } + + // 规则集中的“回合开始后①”,更新游戏轮数,触发“一轮游戏开始时” + let isRound = false; + if (!event.skill) { + isRound = _status.roundSkipped; + if (_status.isRoundFilter) { + isRound = _status.isRoundFilter(event, player); + } + else if (_status.seatNumSettled) { + var seatNum = player.getSeatNum(); + if (seatNum != 0) { + if (get.itemtype(_status.lastPhasedPlayer) != 'player' || seatNum < _status.lastPhasedPlayer.getSeatNum()) isRound = true; + _status.lastPhasedPlayer = player; + } + } + else if (player == _status.roundStart) isRound = true; + if (isRound) { + delete _status.roundSkipped; + game.roundNumber++; + event._roundStart = true; + game.updateRoundNumber(); + for (var i = 0; i < game.players.length; i++) { + if (game.players[i].isOut() && game.players[i].outCount > 0) { + game.players[i].outCount--; + if (game.players[i].outCount == 0 && !game.players[i].outSkills) { + game.players[i].in(); + } + } + } + event.trigger('roundStart'); + } + } + + _status.globalHistory.push({ + cardMove: [], + custom: [], + useCard: [], + changeHp: [], + everything: [], + }); + + const players = game.players.slice(0).concat(game.dead); + for (const current of players) { + current.actionHistory.push({ useCard: [], respond: [], skipped: [], lose: [], gain: [], sourceDamage: [], damage: [], custom: [], useSkill: [] }); + current.stat.push({ card: {}, skill: {} }); + if (isRound) { + current.getHistory().isRound = true; + current.getStat().isRound = true; + } + } + + if (isRound) { + game.getGlobalHistory().isRound = true; + } + }, + async (event) => { + //规则集中的“回合开始后②(1v1武将登场专用)” + event.trigger('phaseBeforeStart'); + }, + async (event) => { + //规则集中的“回合开始后③(处理“游戏开始时”的时机)” + event.trigger('phaseBefore'); + }, + async (event) => { + //规则集中的“回合开始后④(卑弥呼〖纵傀〗的时机)” + event.trigger('phaseBeforeEnd'); + }, + async (event, _trigger, player) => { + //规则集中的“回合开始后⑤”,进行翻面检测 + if (player.isTurnedOver() && !event._noTurnOver) { + event.cancel(); + player.turnOver(); + player.phaseSkipped = true; + } + else { + player.phaseSkipped = false; + player.getHistory().isMe = true; + player.getStat().isMe = true; + } + }, + async (event, _trigger, player) => { + // 规则集中的“回合开始后⑥”,更新“当前回合角色” + while (ui.dialogs.length) { + ui.dialogs[0].close(); + } + + ++game.phaseNumber; + ++player.phaseNumber; + + game.broadcastAll((player, num, popup) => { + if (lib.config.glow_phase) { + player.classList.add('glow_phase'); + } + player.phaseNumber = num; + _status.currentPhase = player; + if (popup && lib.config.show_phase_prompt) player.popup('回合开始', null, false); + }, player, player.phaseNumber, !player.noPhaseDelay); + + _status.currentPhase = player; + _status.discarded = []; + + game.syncState(); + game.addVideo('phaseChange', player); + + if (game.phaseNumber == 1) { + delete player._start_cards; + if (lib.configOL.observe) { + lib.configOL.observeReady = true; + game.send('server', 'config', lib.configOL); + } + } + + game.log(); + game.log(player, '的回合开始'); + player._noVibrate = true; + + if (get.config('identity_mode') != 'zhong' && get.config('identity_mode') != 'purple' && !_status.connectMode) { + let num; + switch (get.config('auto_identity')) { + case 'one': num = 1; break; + case 'two': num = 2; break; + case 'three': num = 3; break; + case 'always': num = -1; break; + default: num = 0; break; + } + if (num && !_status.identityShown && game.phaseNumber > game.players.length * num && game.showIdentity) { + if (!_status.video) player.popup('显示身份'); + _status.identityShown = true; + game.showIdentity(false); + } + } + player.ai.tempIgnore = []; + if (ui.land && ui.land.player == player) { + game.addVideo('destroyLand'); + ui.land.destroy(); + } + }, + async (event) => { + //规则集中的“回合开始后⑦”,国战武将明置武将牌 + event.trigger('phaseBeginStart'); + }, + async (event) => { + //规则集中的“回合开始后⑨”,进行当先,化身等操作 + //没有⑧ 因为⑧用不到 + event.trigger('phaseBegin'); + }, + async (event, _trigger, player) => { + if (event.num < event.phaseList.length) { + //规则集中没有的新时机 可以用来插入额外阶段啥的 + if (player.isIn()) event.trigger('phaseChange'); + } + else event.goto(11); + }, + async (event, _trigger, player) => { + if (player.isIn() && event.num < event.phaseList.length) { + const phase = event.phaseList[event.num].split('|'); + event.currentPhase = phase[0]; + const next = player[event.currentPhase](); + next.phaseIndex = event.num; + if (phase.length > 1) { + next._extraPhaseReason = phase[1]; + } + if (event.currentPhase == 'phaseDraw' || event.currentPhase == 'phaseDiscard') { + if (!player.noPhaseDelay) { + if (player == game.me) { + game.delay(); + } + else { + game.delayx(); + } + } + } + } + }, + async (event, _trigger, player) => { + if (event.currentPhase == 'phaseUse') { + game.broadcastAll(() => { + if (ui.tempnowuxie) { + ui.tempnowuxie.close(); + delete ui.tempnowuxie; + } + }); + delete player._noSkill; + } + ++event.num; + }, + async (event) => { + if (event.num < event.phaseList.length) { + event.goto(8); + } + else if (!event._phaseEndTriggered) { + event._phaseEndTriggered = true; + event.trigger('phaseEnd'); + event.redo(); + } + }, + async (event) => { + event.trigger('phaseAfter'); + }, + async ({ player }) => { + //删除当前回合角色 此时处于“不属于任何角色的回合”的阶段 + game.broadcastAll((player) => { + player.classList.remove('glow_phase'); + delete _status.currentPhase; + }, player); + } + ], + /** + * @deprecated + */ + phase_old2: function () { + 'step 0'; //初始化阶段列表 if (!event.phaseList) { event.phaseList = ['phaseZhunbei', 'phaseJudge', 'phaseDraw', 'phaseUse', 'phaseDiscard', 'phaseJieshu']; @@ -11663,16 +11883,16 @@ export class Library extends Uninstantable { if (isRound) { game.getGlobalHistory().isRound = true; } - 'step 1' + 'step 1'; //规则集中的“回合开始后②(1v1武将登场专用)” event.trigger('phaseBeforeStart'); - 'step 2' + 'step 2'; //规则集中的“回合开始后③(处理“游戏开始时”的时机)” event.trigger('phaseBefore'); - 'step 3' + 'step 3'; //规则集中的“回合开始后④(卑弥呼〖纵傀〗的时机)” event.trigger('phaseBeforeEnd'); - 'step 4' + 'step 4'; //规则集中的“回合开始后⑤”,进行翻面检测 if (player.isTurnedOver() && !event._noTurnOver) { event.cancel(); @@ -11684,7 +11904,7 @@ export class Library extends Uninstantable { player.getHistory().isMe = true; player.getStat().isMe = true; } - 'step 5' + 'step 5'; //规则集中的“回合开始后⑥”,更新“当前回合角色” while (ui.dialogs.length) { ui.dialogs[0].close(); @@ -11733,21 +11953,21 @@ export class Library extends Uninstantable { game.addVideo('destroyLand'); ui.land.destroy(); } - 'step 6' + 'step 6'; //规则集中的“回合开始后⑦”,国战武将明置武将牌 event.trigger('phaseBeginStart'); - 'step 7' + 'step 7'; //规则集中的“回合开始后⑨”,进行当先,化身等操作 //没有⑧ 因为⑧用不到 event.trigger('phaseBegin'); //阶段部分 - 'step 8' + 'step 8'; if (num < event.phaseList.length) { //规则集中没有的新时机 可以用来插入额外阶段啥的 - if (player.isIn()) event.trigger('phaseChange') + if (player.isIn()) event.trigger('phaseChange'); } else event.goto(11); - 'step 9' + 'step 9'; if (player.isIn() && num < event.phaseList.length) { var phase = event.phaseList[num].split('|'); event.currentPhase = phase[0]; @@ -11767,7 +11987,7 @@ export class Library extends Uninstantable { } } } - 'step 10' + 'step 10'; if (event.currentPhase == 'phaseUse') { game.broadcastAll(function () { if (ui.tempnowuxie) { @@ -11778,7 +11998,7 @@ export class Library extends Uninstantable { delete player._noSkill; } event.num++; - 'step 11' + 'step 11'; if (event.num < event.phaseList.length) { event.goto(8); } @@ -11787,9 +12007,9 @@ export class Library extends Uninstantable { event.trigger('phaseEnd'); event.redo(); } - 'step 12' + 'step 12'; event.trigger('phaseAfter'); - 'step 13' + 'step 13'; //删除当前回合角色 此时处于“不属于任何角色的回合”的阶段 game.broadcastAll(function (player) { player.classList.remove('glow_phase'); @@ -11800,11 +12020,11 @@ export class Library extends Uninstantable { * @deprecated */ phase_old: function () { - "step 0" + "step 0"; player.phaseZhunbei(); - "step 1" + "step 1"; player.phaseJudge(); - "step 2" + "step 2"; player.phaseDraw(); if (!player.noPhaseDelay) { if (player == game.me) { @@ -11814,20 +12034,20 @@ export class Library extends Uninstantable { game.delayx(); } } - "step 3" + "step 3"; player.phaseUse(); - "step 4" + "step 4"; game.broadcastAll(function () { if (ui.tempnowuxie) { ui.tempnowuxie.close(); delete ui.tempnowuxie; } }); - player.phaseDiscard() + player.phaseDiscard(); if (!player.noPhaseDelay) game.delayx(); //delete player.using; delete player._noSkill; - "step 5" + "step 5"; player.phaseJieshu(); }, phaseZhunbei: function () { @@ -11835,11 +12055,11 @@ export class Library extends Uninstantable { game.log(player, '进入了准备阶段'); }, phaseJudge: function () { - "step 0" + "step 0"; game.log(player, '进入了判定阶段'); event.cards = player.getCards('j'); if (!event.cards.length) event.finish(); - "step 1" + "step 1"; if (cards.length && player.getCards('j').contains(cards[0])) { event.card = cards.shift(); if (event.card.classList.contains('removing')) { @@ -11869,9 +12089,9 @@ export class Library extends Uninstantable { } } else event.finish(); - "step 2" + "step 2"; if (!event.cancelled && !event.nojudge) player.judge(event.card).set('type', 'phase'); - "step 3" + "step 3"; var name = event.card.viewAs || event.card.name; if (event.excluded) { delete event.excluded; @@ -11899,12 +12119,12 @@ export class Library extends Uninstantable { event.goto(1); }, phaseDraw: function () { - "step 0" + "step 0"; game.log(player, '进入了摸牌阶段'); event.trigger("phaseDrawBegin1"); - "step 1" + "step 1"; event.trigger("phaseDrawBegin2"); - "step 2" + "step 2"; if (game.modPhaseDraw) { game.modPhaseDraw(player, event.num); } @@ -11923,13 +12143,13 @@ export class Library extends Uninstantable { } } } - "step 3" + "step 3"; if (Array.isArray(result)) { event.cards = result; } }, phaseUse: function () { - "step 0" + "step 0"; if (!event.logged) { game.log(player, '进入了出牌阶段'); event.logged = true; @@ -11939,7 +12159,7 @@ export class Library extends Uninstantable { next.set('prompt', false); } next.set('type', 'phase'); - "step 1" + "step 1"; if (result.bool && !event.skipped) { event.goto(0); } @@ -11949,7 +12169,7 @@ export class Library extends Uninstantable { delete ui.tempnowuxie; } }); - "step 2" + "step 2"; var stat = player.getStat(); for (var i in stat.skill) { var bool = false; @@ -11969,7 +12189,7 @@ export class Library extends Uninstantable { } }, phaseDiscard: function () { - "step 0" + "step 0"; game.log(player, '进入了弃牌阶段'); event.num = player.needsToDiscard(); if (event.num <= 0) event.finish(); @@ -11981,10 +12201,10 @@ export class Library extends Uninstantable { }, player); } event.trigger('phaseDiscard'); - "step 1" + "step 1"; player.chooseToDiscard(num, true) .set('useCache', true); - "step 2" + "step 2"; event.cards = result.cards; }, phaseJieshu: function () { @@ -11992,7 +12212,7 @@ export class Library extends Uninstantable { game.log(player, '进入了结束阶段'); }, chooseToUse: function () { - "step 0" + "step 0"; if (event.responded) return; if (game.modeSwapPlayer && !_status.auto && player.isUnderControl() && !lib.filter.wuxieSwap(event)) { game.modeSwapPlayer(player); @@ -12029,7 +12249,7 @@ export class Library extends Uninstantable { if (event.player.isUnderControl() && !_status.auto) { event.result = { bool: false - } + }; return; } else if (event.isMine()) { @@ -12047,7 +12267,7 @@ export class Library extends Uninstantable { if (lib.filter.wuxieSwap(event)) { event.result = { bool: false - } + }; return; } } @@ -12078,7 +12298,7 @@ export class Library extends Uninstantable { var str; if (typeof event.filterCard == 'object') { var filter = event.filterCard; - str = '请使用' + get.cnNumber(event.selectCard[0]) + '张' + str = '请使用' + get.cnNumber(event.selectCard[0]) + '张'; if (filter.name) { str += get.translation(filter.name); } @@ -12109,7 +12329,7 @@ export class Library extends Uninstantable { else { event.result = 'ai'; } - "step 1" + "step 1"; if (event.result == 'ai') { var ok = game.check(); if (ok) { @@ -12161,7 +12381,7 @@ export class Library extends Uninstantable { game.delayx(); } } - "step 2" + "step 2"; if (event.endButton) { event.endButton.close(); delete event.endButton; @@ -12206,7 +12426,7 @@ export class Library extends Uninstantable { } } } - "step 3" + "step 3"; if (event.buttoned) { if (result.bool || result.control && result.control != 'cancel2') { var info = get.info(event.buttoned).chooseButton; @@ -12233,7 +12453,7 @@ export class Library extends Uninstantable { event.goto(0); delete event.buttoned; } - "step 4" + "step 4"; if (event._aiexcludeclear) { delete event._aiexcludeclear; event._aiexclude.length = 0; @@ -12258,13 +12478,13 @@ export class Library extends Uninstantable { if (!_status.noclearcountdown) { game.stopCountChoose(); } - "step 5" + "step 5"; if (event._result && event.result) { event.result.result = event._result; } }, chooseToRespond: function () { - "step 0" + "step 0"; if (event.responded) { delete event.dialog; return; @@ -12311,7 +12531,7 @@ export class Library extends Uninstantable { event.result = 'ai'; } } - "step 1" + "step 1"; if (event.result == 'ai') { var ok = game.check(); if (ok) { @@ -12363,7 +12583,7 @@ export class Library extends Uninstantable { game.delayx(); } } - "step 2" + "step 2"; event.resume(); if (event.result) { if (event.result._sendskill) { @@ -12400,7 +12620,7 @@ export class Library extends Uninstantable { } } } - "step 3" + "step 3"; if (event.buttoned) { if (result.bool || result.control && result.control != 'cancel2') { var info = get.info(event.buttoned).chooseButton; @@ -12427,7 +12647,7 @@ export class Library extends Uninstantable { event.goto(0); delete event.buttoned; } - "step 4" + "step 4"; delete _status.noclearcountdown; if (event.skillDialog && get.objtype(event.skillDialog) == 'div') { event.skillDialog.close(); @@ -12478,7 +12698,7 @@ export class Library extends Uninstantable { } }, chooseToGive: function () { - "step 0" + "step 0"; event.result = { bool: true, confirm: 'ok', @@ -12486,13 +12706,13 @@ export class Library extends Uninstantable { links: [], cards: [], targets: [], - } + }; event.filterCard = (event => { const filterCard = event.filterCard; return function (card, player) { if (!lib.filter.canBeGained(card, this.target, player)) return false; return filterCard.call(this, card, player); - } + }; })(event); if (event.directresult) { event.result.cards = event.directresult.slice(0); @@ -12550,7 +12770,7 @@ export class Library extends Uninstantable { event.custom.add.card = function () { _status.event.promptbar.innerHTML = ui.selected.cards.length + '/' + get.numStr(_status.event.selectCard[1], 'card'); - } + }; } } else if (get.itemtype(event.dialog) == 'dialog') { @@ -12564,7 +12784,7 @@ export class Library extends Uninstantable { else { event.result = 'ai'; } - "step 1" + "step 1"; if (event.result == 'ai') { game.check(); if ((ai.basic.chooseCard(event.ai) || forced) && (!event.filterOk || event.filterOk())) { @@ -12580,14 +12800,14 @@ export class Library extends Uninstantable { ui.click.cancel(); } } - "step 2" + "step 2"; event.resume(); if (event.aiChoose) event.aiChoose.close(); if (event.glow_result && event.result.cards && !event.directresult) { event.result.cards.forEach(i => i.classList.add('glow')); } if (event.dialog) event.dialog.close(); - "step 3" + "step 3"; if (event.result.bool && event.result.cards && !game.online) { event.cards = event.result.cards.slice(0); if (event.logSkill) { @@ -12600,7 +12820,7 @@ export class Library extends Uninstantable { } } else event.finish(); - "step 4" + "step 4"; if (event.boolline) player.line(target, 'green'); event.done = target.gain(event.cards, player); event.done.giver = player; @@ -12611,14 +12831,14 @@ export class Library extends Uninstantable { } }, chooseToDiscard: function () { - "step 0" + "step 0"; if (event.autochoose()) { event.result = { bool: true, autochoose: true, cards: player.getCards(event.position), rawcards: player.getCards(event.position), - } + }; for (var i = 0; i < event.result.cards.length; i++) { if (!lib.filter.cardDiscardable(event.result.cards[i], player, event)) { event.result.cards.splice(i--, 1); @@ -12685,7 +12905,7 @@ export class Library extends Uninstantable { event.custom.add.card = function () { _status.event.promptbar.innerHTML = ui.selected.cards.length + '/' + get.numStr(_status.event.selectCard[1], 'card'); - } + }; } } else if (get.itemtype(event.dialog) == 'dialog') { @@ -12700,7 +12920,7 @@ export class Library extends Uninstantable { event.result = 'ai'; } } - "step 1" + "step 1"; if (event.result == 'ai') { game.check(); if ((ai.basic.chooseCard(event.ai) || forced) && (!event.filterOk || event.filterOk())) { @@ -12722,12 +12942,12 @@ export class Library extends Uninstantable { event.rangecards[i].recheck('chooseToDiscard'); } } - "step 2" + "step 2"; event.resume(); if (event.promptdiscard) { event.promptdiscard.close(); } - "step 3" + "step 3"; if (event.result.bool && event.result.cards && event.result.cards.length && !game.online && event.autodelay && !event.isMine()) { if (typeof event.autodelay == 'number') { @@ -12737,7 +12957,7 @@ export class Library extends Uninstantable { game.delayx(); } } - "step 4" + "step 4"; if (event.logSkill && event.result.bool && !game.online) { if (typeof event.logSkill == 'string') { player.logSkill(event.logSkill); @@ -12758,14 +12978,14 @@ export class Library extends Uninstantable { if (event.dialog && event.dialog.close) event.dialog.close(); }, gaincardMultiple: function () { - 'step 0' + 'step 0'; event.type = 'gain'; if (event.animate == 'give' || event.animate == 'gain2') event.visible = true; if (player && cards) { event._lose = true; player.lose(cards, ui.special).set('type', 'gain').set('forceDie', true).set('getlx', false); } - 'step 1' + 'step 1'; switch (event.animate) { case 'draw': game.delay(0, get.delayx(500, 500)); @@ -12774,7 +12994,7 @@ export class Library extends Uninstantable { if (event._lose) { i[1] = i[1].filter(card => { return !cards.contains(card) || !player.getCards('hejsx').contains(card); - }) + }); } if (i[1].length > 0) i[0].$draw(i[1].length); } @@ -12786,7 +13006,7 @@ export class Library extends Uninstantable { if (event._lose) { i[1] = i[1].filter(card => { return !cards.contains(card) || !player.getCards('hejsx').contains(card); - }) + }); } if (i[1].length > 0) i[0].$gain(i[1].length); } @@ -12798,7 +13018,7 @@ export class Library extends Uninstantable { if (event._lose) { i[1] = i[1].filter(card => { return !cards.contains(card) || !player.getCards('hejsx').contains(card); - }) + }); } if (i[1].length > 0) i[0].$gain2(i[1]); } @@ -12812,7 +13032,7 @@ export class Library extends Uninstantable { if (event._lose) { i[1] = i[1].filter(card => { return !cards.contains(card) || !player.getCards('hejsx').contains(card); - }) + }); } var shown = i[1].slice(0), hidden = []; if (event.animate == 'giveAuto') { @@ -12839,11 +13059,11 @@ export class Library extends Uninstantable { if (event.gaintag) next.gaintag.addArray(event.gaintag); } } - 'step 2' + 'step 2'; game.delayx(); }, discardMultiple: function () { - 'step 0' + 'step 0'; event.type = 'discard'; event.visible = true; if (!event.position) event.position = ui.discardPile; @@ -12905,7 +13125,7 @@ export class Library extends Uninstantable { } } } - 'step 1' + 'step 1'; if (event.delay != false) { if (event.waitingForTransition) { _status.waitingForTransition = event.waitingForTransition; @@ -12924,15 +13144,15 @@ export class Library extends Uninstantable { } }, chooseToCompareMeanwhile: function () { - 'step 0' + 'step 0'; if (player.countCards('h') == 0) { - event.result = { cancelled: true, bool: false } + event.result = { cancelled: true, bool: false }; event.finish(); return; } for (var i = 0; i < targets.length; i++) { if (targets[i].countCards('h') == 0) { - event.result = { cancelled: true, bool: false } + event.result = { cancelled: true, bool: false }; event.finish(); return; } @@ -12942,7 +13162,7 @@ export class Library extends Uninstantable { } game.log(player, '对', targets, '发起了共同拼点'); event.compareMeanwhile = true; - 'step 1' + 'step 1'; event._result = []; event.list = targets.filter(function (current) { return !event.fixedResult || !event.fixedResult[current.playerid]; @@ -12960,7 +13180,7 @@ export class Library extends Uninstantable { return { bool: true, cards: [hs[0]] }; }; } - 'step 2' + 'step 2'; var cards = []; var lose_list = []; if (event.fixedResult && event.fixedResult[player.playerid]) { @@ -12971,7 +13191,7 @@ export class Library extends Uninstantable { else { if (result[0].skill && lib.skill[result[0].skill] && lib.skill[result[0].skill].onCompare) { player.logSkill(result[0].skill); - result[0].cards = lib.skill[result[0].skill].onCompare(player) + result[0].cards = lib.skill[result[0].skill].onCompare(player); } else lose_list.push([player, result[0].cards]); } @@ -13001,7 +13221,7 @@ export class Library extends Uninstantable { if (i[1].contains && i[1].contains(card)) return get.number(card, i[0]); } return get.number(card, false); - } + }; event.cardlist = cards; event.cards = cards; event.card1 = result[0].cards[0]; @@ -13017,9 +13237,9 @@ export class Library extends Uninstantable { num1: [], num2: [], }; - 'step 3' + 'step 3'; event.trigger('compareCardShowBefore'); - 'step 4' + 'step 4'; player.$compareMultiple(event.card1, targets, cards); game.log(player, '的拼点牌为', event.card1); event.cardlist.forEach((card, index) => { @@ -13027,10 +13247,10 @@ export class Library extends Uninstantable { }); player.animate('target'); game.delay(0, 1000); - 'step 5' + 'step 5'; event.target = null; event.trigger('compare'); - 'step 6' + 'step 6'; if (event.iwhile < targets.length) { event.target = targets[event.iwhile]; event.target.animate('target'); @@ -13044,7 +13264,7 @@ export class Library extends Uninstantable { game.delay(0, 1000); event.goto(9); } - 'step 7' + 'step 7'; event.result.num1[event.iwhile] = event.num1; event.result.num2[event.iwhile] = event.num2; var list = [[event.tempplayer, event.num1], [event.target, event.num2]]; @@ -13057,10 +13277,10 @@ export class Library extends Uninstantable { event.winner = null; } } - 'step 8' + 'step 8'; event.iwhile++; event.goto(6); - 'step 9' + 'step 9'; var player = event.tempplayer; event.player = player; delete event.tempplayer; @@ -13086,21 +13306,21 @@ export class Library extends Uninstantable { }, str); } game.delay(3); - 'step 10' + 'step 10'; game.broadcastAll(ui.clear); - 'step 11' + 'step 11'; event.cards.add(event.card1); }, chooseToCompareMultiple: function () { - "step 0" + "step 0"; if (player.countCards('h') == 0) { - event.result = { cancelled: true, bool: false } + event.result = { cancelled: true, bool: false }; event.finish(); return; } for (var i = 0; i < targets.length; i++) { if (targets[i].countCards('h') == 0) { - event.result = { cancelled: true, bool: false } + event.result = { cancelled: true, bool: false }; event.finish(); return; } @@ -13109,7 +13329,7 @@ export class Library extends Uninstantable { targets.sort(lib.sort.seat); } game.log(player, '对', targets, '发起拼点'); - "step 1" + "step 1"; event._result = []; event.list = targets.filter(function (current) { return !event.fixedResult || !event.fixedResult[current.playerid]; @@ -13127,7 +13347,7 @@ export class Library extends Uninstantable { return { bool: true, cards: [hs[0]] }; }; } - "step 2" + "step 2"; var cards = []; var lose_list = []; if (event.fixedResult && event.fixedResult[player.playerid]) { @@ -13138,7 +13358,7 @@ export class Library extends Uninstantable { else { if (result[0].skill && lib.skill[result[0].skill] && lib.skill[result[0].skill].onCompare) { player.logSkill(result[0].skill); - result[0].cards = lib.skill[result[0].skill].onCompare(player) + result[0].cards = lib.skill[result[0].skill].onCompare(player); } else lose_list.push([player, result[0].cards]); } @@ -13168,7 +13388,7 @@ export class Library extends Uninstantable { if (i[1].contains && i[1].contains(card)) return get.number(card, i[0]); } return get.number(card, false); - } + }; event.cardlist = cards; event.cards = cards; event.card1 = result[0].cards[0]; @@ -13180,11 +13400,11 @@ export class Library extends Uninstantable { num1: [], num2: [], }; - "step 3" + "step 3"; event.trigger('compareCardShowBefore'); - "step 4" + "step 4"; game.log(player, '的拼点牌为', event.card1); - "step 5" + "step 5"; if (event.iwhile < targets.length) { event.target = targets[event.iwhile]; event.target.animate('target'); @@ -13200,7 +13420,7 @@ export class Library extends Uninstantable { else { event.goto(9); } - "step 6" + "step 6"; event.result.num1[event.iwhile] = event.num1; event.result.num2[event.iwhile] = event.num2; var str; @@ -13228,7 +13448,7 @@ export class Library extends Uninstantable { }, 1000); }, str); game.delay(2); - "step 7" + "step 7"; if (event.callback) { game.broadcastAll(function (card1, card2) { if (card1.clone) card1.clone.style.opacity = 0.5; @@ -13244,23 +13464,23 @@ export class Library extends Uninstantable { next.setContent(event.callback); event.compareMultiple = true; } - "step 8" + "step 8"; game.broadcastAll(ui.clear); event.iwhile++; event.goto(5); - "step 9" + "step 9"; event.cards.add(event.card1); }, chooseToCompare: function () { - "step 0" + "step 0"; if (((!event.fixedResult || !event.fixedResult[player.playerid]) && player.countCards('h') == 0) || ((!event.fixedResult || !event.fixedResult[target.playerid]) && target.countCards('h') == 0)) { - event.result = { cancelled: true, bool: false } + event.result = { cancelled: true, bool: false }; event.finish(); return; } game.log(player, '对', target, '发起拼点'); event.lose_list = []; - "step 1" + "step 1"; var sendback = function () { if (_status.event != event) { return function () { @@ -13299,7 +13519,7 @@ export class Library extends Uninstantable { else { event.localTarget = true; } - "step 2" + "step 2"; if (event.localPlayer) { if (result.skill && lib.skill[result.skill] && lib.skill[result.skill].onCompare) { result.cards = lib.skill[result.skill].onCompare(player); @@ -13311,7 +13531,7 @@ export class Library extends Uninstantable { if (event.localTarget) { target.chooseCard('请选择拼点牌', true).set('type', 'compare').set('glow_result', true).ai = event.ai; } - "step 3" + "step 3"; if (event.localTarget) { if (result.skill && lib.skill[result.skill] && lib.skill[result.skill].onCompare) { target.logSkill(result.skill); @@ -13323,7 +13543,7 @@ export class Library extends Uninstantable { if (!event.resultOL && event.ol) { game.pause(); } - "step 4" + "step 4"; try { if (!event.card1) { if (event.resultOL[player.playerid].skill && lib.skill[event.resultOL[player.playerid].skill] && lib.skill[event.resultOL[player.playerid].skill].onCompare) { @@ -13361,9 +13581,9 @@ export class Library extends Uninstantable { lose_list: event.lose_list, }).setContent('chooseToCompareLose'); } - "step 5" + "step 5"; event.trigger('compareCardShowBefore'); - "step 6" + "step 6"; game.broadcast(function () { ui.arena.classList.add('thrownhighlight'); }); @@ -13377,18 +13597,18 @@ export class Library extends Uninstantable { if (i[1] == card) return get.number(card, i[0]); } return get.number(card, false); - } + }; event.num1 = getNum(event.card1); event.num2 = getNum(event.card2); event.trigger('compare'); game.delay(0, 1500); - "step 7" + "step 7"; event.result = { player: event.card1, target: event.card2, num1: event.num1, num2: event.num2 - } + }; var str; if (event.num1 > event.num2) { event.result.bool = true; @@ -13419,7 +13639,7 @@ export class Library extends Uninstantable { }, 1000); }, str); game.delay(2); - "step 8" + "step 8"; if (typeof event.target.ai.shown == 'number' && event.target.ai.shown <= 0.85 && event.addToAI) { event.target.ai.shown += 0.1; } @@ -13441,7 +13661,7 @@ export class Library extends Uninstantable { } }, chooseSkill: function () { - 'step 0' + 'step 0'; var list; if (typeof event.target == 'string') { list = get.gainableSkillsName(event.target, event.func); @@ -13492,7 +13712,7 @@ export class Library extends Uninstantable { else { event._result = event.skillai(list); } - 'step 1' + 'step 1'; _status.imchoosing = false; if (event.dialog) { event.dialog.close(); @@ -13500,7 +13720,7 @@ export class Library extends Uninstantable { event.result = { bool: true, skill: result }; }, discoverCard: function () { - 'step 0' + 'step 0'; var num = event.num || 3; var choice; if (typeof event.list == 'string' || typeof event.list == 'function') { @@ -13542,7 +13762,7 @@ export class Library extends Uninstantable { else { event.finish(); } - 'step 1' + 'step 1'; event.result = { bool: result.bool, card: null, @@ -13571,7 +13791,7 @@ export class Library extends Uninstantable { } }, chooseButton: function () { - "step 0" + "step 0"; if (typeof event.dialog == 'number') { event.dialog = get.idDialog(event.dialog); } @@ -13587,7 +13807,7 @@ export class Library extends Uninstantable { event.dialog.style.display = ''; event.dialog.open(); } - var filterButton = event.filterButton || function () { return true }; + var filterButton = event.filterButton || function () { return true; }; var selectButton = get.select(event.selectButton); var buttons = event.dialog.buttons; var buttonsx = []; @@ -13639,7 +13859,7 @@ export class Library extends Uninstantable { if (event.onfree) { lib.init.onfree(); } - "step 1" + "step 1"; if (event.result == 'ai') { if (event.processAI) { event.result = event.processAI(); @@ -13659,7 +13879,7 @@ export class Library extends Uninstantable { event.resume(); }, chooseCardOL: function () { - 'step 0' + 'step 0'; event.targets = event.list.slice(0); if (!_status.connectMode) { event.result = []; @@ -13682,7 +13902,7 @@ export class Library extends Uninstantable { } } } - 'step 1' + 'step 1'; if (event.list.length) { event.target = event.list.shift(); event.target.chooseCard.apply(event.target, event._args).set(event._set); @@ -13690,23 +13910,23 @@ export class Library extends Uninstantable { else { event.goto(3); } - 'step 2' + 'step 2'; event.target.unwait(result); event.goto(1); - 'step 3' + 'step 3'; if (event.withme) { game.me.chooseCard.apply(game.me, event._args).set(event._set); } else { event.goto(5); } - 'step 4' + 'step 4'; game.me.unwait(result); - 'step 5' + 'step 5'; if (!event.resultOL) { game.pause(); } - 'step 6' + 'step 6'; event.result = []; for (var i = 0; i < event.targets.length; i++) { event.result[i] = event.resultOL[event.targets[i].playerid] || {}; @@ -13715,7 +13935,7 @@ export class Library extends Uninstantable { } } event.finish(); - 'step 7' + 'step 7'; if (event.list.length) { event.target = event.list.shift(); event.target.chooseCard.apply(event.target, event._args).set(event._set); @@ -13728,12 +13948,12 @@ export class Library extends Uninstantable { } event.finish(); } - 'step 8' + 'step 8'; event.result[event.targets.indexOf(event.target)] = result; event.goto(7); }, chooseButtonOL: function () { - 'step 0' + 'step 0'; //ui.arena.classList.add('markhidden'); for (var i = 0; i < event.list.length; i++) { var current = event.list[i]; @@ -13758,7 +13978,7 @@ export class Library extends Uninstantable { event.list.splice(i--, 1); } } - 'step 1' + 'step 1'; if (event.list.length) { var current = event.list.shift(); event.target = current.shift(); @@ -13770,10 +13990,10 @@ export class Library extends Uninstantable { else { event.goto(3); } - 'step 2' + 'step 2'; event.target.unwait(result); event.goto(1); - 'step 3' + 'step 3'; if (event.last) { var next = game.me.chooseButton.apply(game.me, event.last); next.callback = event.callback; @@ -13783,20 +14003,20 @@ export class Library extends Uninstantable { else { event.goto(5); } - 'step 4' + 'step 4'; game.me.unwait(result); - 'step 5' + 'step 5'; if (!event.resultOL) { game.pause(); } - 'step 6' + 'step 6'; /*game.broadcastAll(function(){ ui.arena.classList.remove('markhidden'); });*/ event.result = event.resultOL; }, chooseCard: function () { - "step 0" + "step 0"; if (event.directresult) { event.result = { buttons: [], @@ -13819,7 +14039,7 @@ export class Library extends Uninstantable { var str; if (typeof event.prompt == 'string') str = event.prompt; else { - str = '请选择' + str = '请选择'; var range = get.select(event.selectCard); if (range[0] == range[1]) str += get.cnNumber(range[0]); else if (range[1] == Infinity) str += '至少' + get.cnNumber(range[0]); @@ -13843,7 +14063,7 @@ export class Library extends Uninstantable { event.custom.add.card = function () { _status.event.promptbar.innerHTML = ui.selected.cards.length + '/' + get.numStr(_status.event.selectCard[1], 'card'); - } + }; } } } @@ -13854,7 +14074,7 @@ export class Library extends Uninstantable { event.result = 'ai'; } } - "step 1" + "step 1"; if (event.result == 'ai') { game.check(); if ((ai.basic.chooseCard(event.ai) || forced) && (!event.filterOk || event.filterOk())) { @@ -13871,7 +14091,7 @@ export class Library extends Uninstantable { ui.click.cancel(); } } - "step 2" + "step 2"; event.resume(); if (event.glow_result && event.result.cards && !event.directresult) { for (var i = 0; i < event.result.cards.length; i++) { @@ -13881,7 +14101,7 @@ export class Library extends Uninstantable { if (event.dialog) event.dialog.close(); }, chooseTarget: function () { - "step 0" + "step 0"; if (event.isMine()) { if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { ui.click.cancel(); @@ -13896,7 +14116,7 @@ export class Library extends Uninstantable { var str; if (typeof event.prompt == 'string') str = event.prompt; else { - str = '请选择' + str = '请选择'; var range = get.select(event.selectTarget); if (range[0] == range[1]) str += get.cnNumber(range[0]); else if (range[1] == Infinity) str += '至少' + get.cnNumber(range[0]); @@ -13912,7 +14132,7 @@ export class Library extends Uninstantable { event.custom.add.target = function () { _status.event.promptbar.innerHTML = ui.selected.targets.length + '/' + get.numStr(get.select(event.selectTarget)[1], 'target'); - } + }; } } else if (get.itemtype(event.dialog) == 'dialog') { @@ -13925,7 +14145,7 @@ export class Library extends Uninstantable { else { event.result = 'ai'; } - "step 1" + "step 1"; if (event.result == 'ai') { game.check(); if ((ai.basic.chooseTarget(event.ai) || forced) && (!event.filterOk || event.filterOk())) { @@ -13942,7 +14162,7 @@ export class Library extends Uninstantable { } if (event.dialog) event.dialog.close(); event.resume(); - "step 2" + "step 2"; if (event.onresult) { event.onresult(event.result); } @@ -13956,7 +14176,7 @@ export class Library extends Uninstantable { } }, chooseCardTarget: function () { - "step 0" + "step 0"; if (event.isMine()) { if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { ui.click.cancel(); @@ -13977,7 +14197,7 @@ export class Library extends Uninstantable { else { event.result = 'ai'; } - "step 1" + "step 1"; if (event.result == 'ai') { game.check(); if (ai.basic.chooseCard(event.ai1) || forced) { @@ -13993,7 +14213,7 @@ export class Library extends Uninstantable { ui.click.cancel(); } } - "step 2" + "step 2"; event.resume(); if (event.result.bool && event.animate !== false) { for (var i = 0; i < event.result.targets.length; i++) { @@ -14003,7 +14223,7 @@ export class Library extends Uninstantable { if (event.dialog) event.dialog.close(); }, chooseControl: function () { - "step 0" + "step 0"; if (event.controls.length == 0) { if (event.sortcard) { var sortnum = 2; @@ -14041,7 +14261,7 @@ export class Library extends Uninstantable { event.result = { bool: true, control: i, - } + }; return; } } @@ -14051,7 +14271,7 @@ export class Library extends Uninstantable { event.result = { bool: true, control: 'cancel2', - } + }; return; } if (event.sortcard) { @@ -14174,7 +14394,7 @@ export class Library extends Uninstantable { else { event.result = 'ai'; } - "step 1" + "step 1"; if (event.result == 'ai') { event.result = {}; if (event.ai) { @@ -14197,7 +14417,7 @@ export class Library extends Uninstantable { event.resume(); }, chooseBool: function () { - "step 0" + "step 0"; if (event.isMine()) { if (event.frequentSkill && !lib.config.autoskilllist.contains(event.frequentSkill)) { ui.click.ok(); @@ -14237,7 +14457,7 @@ export class Library extends Uninstantable { else { event.result = 'ai'; } - "step 1" + "step 1"; if (event.result == 'ai') { if (event.ai) { event.choice = event.ai(event.getParent(), player); @@ -14250,7 +14470,7 @@ export class Library extends Uninstantable { event.resume(); }, chooseDrawRecover: function () { - 'step 0' + 'step 0'; if (player.isHealthy() && event.forced) { player.draw(event.num1); event.finish(); @@ -14296,7 +14516,7 @@ export class Library extends Uninstantable { }); next.set('choice', choice); } - 'step 1' + 'step 1'; if (result.control != 'cancel2') { if (event.logSkill) { if (typeof event.logSkill == 'string') { @@ -14316,7 +14536,7 @@ export class Library extends Uninstantable { event.result = result; }, choosePlayerCard: function () { - "step 0" + "step 0"; if (!event.dialog) event.dialog = ui.create.dialog('hidden'); else if (!event.isMine()) { event.dialog.style.display = 'none'; @@ -14400,14 +14620,14 @@ export class Library extends Uninstantable { bool: true, buttons: event.dialog.buttons, links: cs - } + }; } else if (directFilter && directh && !event.isOnline() && select[0] == select[1]) { event.result = { bool: true, buttons: event.dialog.buttons.randomGets(select[0]), links: [] - } + }; for (var i = 0; i < event.result.buttons.length; i++) { event.result.links[i] = event.result.buttons[i].link; } @@ -14433,7 +14653,7 @@ export class Library extends Uninstantable { event.result = 'ai'; } } - "step 1" + "step 1"; if (event.result == 'ai') { game.check(); if ((ai.basic.chooseButton(event.ai) || forced) && (!event.filterOk || event.filterOk())) ui.click.ok(); @@ -14449,7 +14669,7 @@ export class Library extends Uninstantable { }, 500); }, discardPlayerCard: function () { - "step 0" + "step 0"; if (event.directresult) { event.result = { buttons: [], @@ -14556,14 +14776,14 @@ export class Library extends Uninstantable { bool: true, buttons: event.dialog.buttons, links: cs - } + }; } else if (directFilter && directh && !event.isOnline() && select[0] == select[1]) { event.result = { bool: true, buttons: event.dialog.buttons.randomGets(select[0]), links: [] - } + }; for (var i = 0; i < event.result.buttons.length; i++) { event.result.links[i] = event.result.buttons[i].link; } @@ -14585,14 +14805,14 @@ export class Library extends Uninstantable { event.result = 'ai'; } } - "step 1" + "step 1"; if (event.result == 'ai') { game.check(); if ((ai.basic.chooseButton(event.ai) || forced) && (!event.filterOk || event.filterOk())) ui.click.ok(); else ui.click.cancel(); } event.dialog.close(); - "step 2" + "step 2"; event.resume(); setTimeout(function () { ui.arena.classList.remove('discard-player-card'); @@ -14614,7 +14834,7 @@ export class Library extends Uninstantable { event.cards = cards; event.trigger("rewriteDiscardResult"); } - "step 3" + "step 3"; if (event.boolline) { player.line(target, 'green'); } @@ -14629,7 +14849,7 @@ export class Library extends Uninstantable { } }, gainPlayerCard: function () { - "step 0" + "step 0"; if (event.directresult) { event.result = { buttons: [], @@ -14737,14 +14957,14 @@ export class Library extends Uninstantable { bool: true, buttons: event.dialog.buttons, links: cs - } + }; } else if (directFilter && directh && !event.isOnline() && select[0] == select[1]) { event.result = { bool: true, buttons: event.dialog.buttons.randomGets(select[0]), links: [] - } + }; for (var i = 0; i < event.result.buttons.length; i++) { event.result.links[i] = event.result.buttons[i].link; } @@ -14766,14 +14986,14 @@ export class Library extends Uninstantable { event.result = 'ai'; } } - "step 1" + "step 1"; if (event.result == 'ai') { game.check(); if ((ai.basic.chooseButton(event.ai) || forced) && (!event.filterOk || event.filterOk())) ui.click.ok(); else ui.click.cancel(); } event.dialog.close(); - "step 2" + "step 2"; event.resume(); setTimeout(function () { ui.arena.classList.remove('gain-player-card'); @@ -14781,7 +15001,7 @@ export class Library extends Uninstantable { if (game.online || !event.result.bool) { event.finish(); } - "step 3" + "step 3"; if (event.logSkill && event.result.bool && !game.online) { if (typeof event.logSkill == 'string') { player.logSkill(event.logSkill); @@ -14797,7 +15017,7 @@ export class Library extends Uninstantable { event.result.cards = event.result.links.slice(0); event.cards = cards; event.trigger("rewriteGainResult"); - "step 4" + "step 4"; if (event.boolline) { player.line(target, 'green'); } @@ -14816,7 +15036,7 @@ export class Library extends Uninstantable { else target[event.visibleMove ? '$give' : '$giveAuto'](cards, player); }, showHandcards: function () { - "step 0" + "step 0"; if (player.countCards('h') == 0) { event.finish(); return; @@ -14836,12 +15056,12 @@ export class Library extends Uninstantable { game.log(player, '展示了', cards); game.addVideo('showCards', player, [str, get.cardsInfo(cards)]); game.delayx(2); - "step 1" + "step 1"; game.broadcast('closeDialog', event.dialogid); event.dialog.close(); }, showCards: function () { - "step 0" + "step 0"; if (get.itemtype(cards) != 'cards') { event.finish(); return; @@ -14887,12 +15107,12 @@ export class Library extends Uninstantable { game.addCardKnower(cards, 'everyone'); game.delayx(event.delay_time || 2.5); game.addVideo('showCards', player, [event.str, get.cardsInfo(cards)]); - "step 1" + "step 1"; game.broadcast('closeDialog', event.dialogid); event.dialog.close(); }, viewCards: function () { - "step 0" + "step 0"; game.addCardKnower(event.cards, player); if (player == game.me) { event.dialog = ui.create.dialog(event.str, event.cards); @@ -14917,14 +15137,14 @@ export class Library extends Uninstantable { else { event.finish(); } - "step 1" + "step 1"; event.result = 'viewed'; _status.imchoosing = false; event.choosing = false; if (event.dialog) event.dialog.close(); }, moveCard: function () { - 'step 0' + 'step 0'; if (!player.canMoveCard(null, event.nojudge, event.sourceTargets, event.aimTargets, event.filter, event.canReplace ? 'canReplace' : 'noReplace')) { event.finish(); return; @@ -14966,7 +15186,7 @@ export class Library extends Uninstantable { return game.hasPlayer(function (current) { if (!aimTargets.includes(current)) return false; return current != target && current.canAddJudge(card) && get.attitude(player, current) < 0; - }) + }); })) return 14; if (target.countCards('e', function (card) { if (!filterCard(card)) return false; @@ -15019,7 +15239,7 @@ export class Library extends Uninstantable { next.set('custom', get.copy(event.custom)); if (event.prompt2) next.set('prompt2', event.prompt2); if (event.forced) next.set('forced', true); - 'step 1' + 'step 1'; event.result = result; if (result.bool) { if (event.logSkill) player.logSkill(event.logSkill, result.targets, false); @@ -15029,9 +15249,9 @@ export class Library extends Uninstantable { else { event.finish(); } - 'step 2' + 'step 2'; game.delay(); - 'step 3' + 'step 3'; if (targets.length == 2) { player.choosePlayerCard('ej', true, function (button) { var player = _status.event.player; @@ -15061,7 +15281,7 @@ export class Library extends Uninstantable { else { event.finish(); } - 'step 4' + 'step 4'; if (result.bool && result.links.length) { var link = result.links[0]; if (get.position(link) == 'e') { @@ -15074,14 +15294,14 @@ export class Library extends Uninstantable { event.targets[1].addJudge(link); } event.targets[0].$give(link, event.targets[1], false); - game.log(event.targets[0], '的', link, '被移动给了', event.targets[1]) + game.log(event.targets[0], '的', link, '被移动给了', event.targets[1]); event.result.card = link; event.result.position = get.position(link); game.delay(); } }, useCard: function () { - "step 0" + "step 0"; if (!card) { console.log('err: no card', get.translation(event.player)); event.finish(); @@ -15273,11 +15493,11 @@ export class Library extends Uninstantable { game.logv(player, [card, cards], targets); } event.trigger('useCard1'); - "step 1" + "step 1"; event.trigger('yingbian'); - "step 2" + "step 2"; event.trigger('useCard2'); - "step 3" + "step 3"; event.trigger('useCard'); event._oncancel = function () { game.broadcastAll(function (id) { @@ -15287,7 +15507,7 @@ export class Library extends Uninstantable { } }, event.id); }; - "step 4" + "step 4"; event.sortTarget = function (animate, sort) { var info = get.info(card, false); if (num == 0 && targets.length > 1) { @@ -15305,7 +15525,7 @@ export class Library extends Uninstantable { } } } - } + }; event.sortTarget(); event.getTriggerTarget = function (list1, list2) { var listx = list1.slice(0).sortBySeat((_status.currentPhase || player)); @@ -15313,8 +15533,8 @@ export class Library extends Uninstantable { if (get.numOf(list2, listx[i]) < get.numOf(listx, listx[i])) return listx[i]; } return null; - } - "step 5" + }; + "step 5"; if (event.all_excluded) return; if (!event.triggeredTargets1) event.triggeredTargets1 = []; var target = event.getTriggerTarget(targets, event.triggeredTargets1); @@ -15338,7 +15558,7 @@ export class Library extends Uninstantable { if (event.forceDie) next.forceDie = true; event.redo(); } - "step 6" + "step 6"; if (event.all_excluded) return; if (!event.triggeredTargets2) event.triggeredTargets2 = []; var target = event.getTriggerTarget(targets, event.triggeredTargets2); @@ -15362,7 +15582,7 @@ export class Library extends Uninstantable { if (event.forceDie) next.forceDie = true; event.redo(); } - "step 7" + "step 7"; var info = get.info(card, false); if (!info.nodelay && event.animate != false) { if (event.delayx !== false) { @@ -15375,7 +15595,7 @@ export class Library extends Uninstantable { } } } - "step 8" + "step 8"; if (event.all_excluded) return; if (!event.triggeredTargets3) event.triggeredTargets3 = []; var target = event.getTriggerTarget(targets, event.triggeredTargets3); @@ -15399,7 +15619,7 @@ export class Library extends Uninstantable { if (event.forceDie) next.forceDie = true; event.redo(); } - "step 9" + "step 9"; if (event.all_excluded) return; if (!event.triggeredTargets4) event.triggeredTargets4 = []; var target = event.getTriggerTarget(targets, event.triggeredTargets4); @@ -15426,7 +15646,7 @@ export class Library extends Uninstantable { } event.redo(); } - "step 10" + "step 10"; if (event.all_excluded) return; event.effectedCount++; event.num = 0; @@ -15467,7 +15687,7 @@ export class Library extends Uninstantable { next.addedTargets = event.addedTargets; if (event.forceDie) next.forceDie = true; } - "step 11" + "step 11"; if (event.all_excluded) return; var info = get.info(card, false); if (num == 0 && targets.length > 1) { @@ -15531,13 +15751,13 @@ export class Library extends Uninstantable { game.delayx(0.5); } } - "step 12" + "step 12"; if (event.all_excluded) return; if (!get.info(event.card, false).multitarget && num < targets.length - 1 && !event.cancelled) { event.num++; event.goto(11); } - "step 13" + "step 13"; if (event.all_excluded) return; if (get.info(card, false).contentAfter) { var next = game.createEvent(card.name + 'ContentAfter'); @@ -15551,7 +15771,7 @@ export class Library extends Uninstantable { next.type = 'postcard'; if (event.forceDie) next.forceDie = true; } - "step 14" + "step 14"; if (event.all_excluded) return; if (event.effectedCount < event.effectCount) { if (document.getElementsByClassName('thrown').length) { @@ -15559,7 +15779,7 @@ export class Library extends Uninstantable { } event.goto(10); } - "step 15" + "step 15"; if (event.postAi) { event.player.logAi(event.targets, event.card); } @@ -15573,11 +15793,11 @@ export class Library extends Uninstantable { else { event.finish(); } - "step 16" + "step 16"; event._oncancel(); }, useSkill: function () { - "step 0" + "step 0"; var info = get.info(event.skill); if (!info.noForceDie) event.forceDie = true; if (!info.noForceOut) event.includeOut = true; @@ -15643,7 +15863,7 @@ export class Library extends Uninstantable { for (var i = 1; i < targets.length; i++) { str += '、' + (targets[i] == player ? '自己' : get.translation(targets[i])); } - str += '' + str += ''; } str += '发动了'; if (!info.direct && info.log !== false) { @@ -15752,7 +15972,7 @@ export class Library extends Uninstantable { event.type = logInfo.type; player.getHistory('useSkill').push(logInfo); event.trigger('useSkill'); - "step 1" + "step 1"; var info = get.info(event.skill); if (info && info.contentBefore) { var next = game.createEvent(event.skill + 'ContentBefore'); @@ -15763,7 +15983,7 @@ export class Library extends Uninstantable { if (event.forceDie) next.forceDie = true; if (event.includeOut) next.includeOut = true; } - "step 2" + "step 2"; if (!event.skill) { console.log('error: no skill', get.translation(event.player), event.player.getSkills()); if (event._skill) { @@ -15822,7 +16042,7 @@ export class Library extends Uninstantable { game.pause(); } else { - game.delayx() + game.delayx(); } } } @@ -15831,7 +16051,7 @@ export class Library extends Uninstantable { event.num++; event.redo(); } - "step 3" + "step 3"; var info = get.info(event.skill); if (info && info.contentAfter) { var next = game.createEvent(event.skill + 'ContentAfter'); @@ -15842,7 +16062,7 @@ export class Library extends Uninstantable { if (event.forceDie) next.forceDie = true; if (event.includeOut) next.includeOut = true; } - "step 4" + "step 4"; if (player.getStat().allSkills > 200) { player._noSkill = true; console.log(player.name, event.skill); @@ -15853,7 +16073,7 @@ export class Library extends Uninstantable { else { event.finish(); } - "step 5" + "step 5"; ui.clear(); }, draw: function () { @@ -15915,16 +16135,16 @@ export class Library extends Uninstantable { event.result = cards; }, discard: function () { - "step 0" + "step 0"; game.log(player, '弃置了', cards); event.done = player.lose(cards, event.position, 'visible'); event.done.type = 'discard'; if (event.discarder) event.done.discarder = event.discarder; - "step 1" + "step 1"; event.trigger('discard'); }, loseToDiscardpile: function () { - "step 0" + "step 0"; if (event.log != false) game.log(player, '将', cards, '置入了弃牌堆'); var next = player.lose(cards, event.position); if (event.insert_index) next.insert_index = event.insert_index; @@ -15932,11 +16152,11 @@ export class Library extends Uninstantable { if (!event.blank) next.visible = true; next.type = 'loseToDiscardpile'; event.done = next; - "step 1" + "step 1"; event.trigger('loseToDiscardpile'); }, respond: function () { - 'step 0' + 'step 0'; var cardaudio = true; if (event.skill) { if (lib.skill[event.skill].audio) { @@ -16016,11 +16236,11 @@ export class Library extends Uninstantable { } } event.trigger('respond'); - 'step 1' + 'step 1'; game.delayx(0.5); }, swapHandcards: function () { - 'step 0' + 'step 0'; event.cards1 = event.cards1 || player.getCards('h'); event.cards2 = event.cards2 || target.getCards('h'); game.loseAsync({ @@ -16029,21 +16249,21 @@ export class Library extends Uninstantable { cards1: event.cards1, cards2: event.cards2, }).setContent('swapHandcardsx'); - 'step 1' + 'step 1'; game.loseAsync({ gain_list: [ [player, event.cards2.filterInD()], [target, event.cards1.filterInD()] ], }).setContent('gaincardMultiple'); - 'step 2' + 'step 2'; game.delayx(); }, swapHandcardsx: function () { - 'step 0' + 'step 0'; player.$giveAuto(event.cards1, target); target.$giveAuto(event.cards2, player); - 'step 1' + 'step 1'; event.cards = event.cards1; var next = player.lose(event.cards, ui.ordering); next.getlx = false; @@ -16054,7 +16274,7 @@ export class Library extends Uninstantable { else { next.delay = false; } - 'step 2' + 'step 2'; event.cards = event.cards2; var next = target.lose(event.cards, ui.ordering); next.getlx = false; @@ -16065,17 +16285,17 @@ export class Library extends Uninstantable { else { next.delay = false; } - 'step 3' + 'step 3'; if (!event.delayed) game.delay(); }, gainMultiple: function () { - 'step 0' + 'step 0'; event.delayed = false; event.num = 0; event.cards = []; - 'step 1' + 'step 1'; player.gainPlayerCard(targets[num], event.position, true).set('boolline', false).set('delay', num == targets.length - 1); - 'step 2' + 'step 2'; if (result.bool) { event.cards.addArray(result.cards); if (num == targets.length - 1) event.delayed = true; @@ -16084,11 +16304,11 @@ export class Library extends Uninstantable { if (event.num < targets.length) { event.goto(1); } - 'step 3' + 'step 3'; if (!event.delayed) game.delay(); }, gain: function () { - "step 0" + "step 0"; if (event.animate == 'give') event.visible = true; if (cards) { var map = {}; @@ -16117,7 +16337,7 @@ export class Library extends Uninstantable { else { event.finish(); } - "step 1" + "step 1"; for (var i = 0; i < cards.length; i++) { if (cards[i].willBeDestroyed('handcard', player, event)) { cards[i].selfDestroy(event); @@ -16143,14 +16363,14 @@ export class Library extends Uninstantable { } player.getHistory('gain').push(event); //if(event.source&&event.delay!==false) game.delayx(); - "step 2" + "step 2"; if (player.getStat().gain == undefined) { player.getStat().gain = cards.length; } else { player.getStat().gain += cards.length; } - "step 3" + "step 3"; var sort; var frag1 = document.createDocumentFragment(); var frag2 = document.createDocumentFragment(); @@ -16245,7 +16465,7 @@ export class Library extends Uninstantable { if (event.animate == 'give') { for (var i in evtmap) { var source = (_status.connectMode ? lib.playerOL : game.playerMap)[i]; - source.$give(evtmap[i][0], player, event.log) + source.$give(evtmap[i][0], player, event.log); } } else { @@ -16288,12 +16508,12 @@ export class Library extends Uninstantable { broadcast(); event.finish(); } - "step 4" + "step 4"; game.delayx(); if (event.updatePile) game.updateRoundNumber(); }, addToExpansion: function () { - "step 0" + "step 0"; if (event.animate == 'give') event.visible = true; if (cards) { var map = {}; @@ -16320,7 +16540,7 @@ export class Library extends Uninstantable { else { event.finish(); } - "step 1" + "step 1"; for (var i = 0; i < cards.length; i++) { if (cards[i].willBeDestroyed('expansion', player, event)) { cards[i].selfDestroy(event); @@ -16342,7 +16562,7 @@ export class Library extends Uninstantable { event.finish(); return; } - "step 2" + "step 2"; var hs = player.getCards('x'); for (var i = 0; i < cards.length; i++) { if (hs.contains(cards[i])) { @@ -16433,12 +16653,12 @@ export class Library extends Uninstantable { for (var i of event.gaintag) player.markSkill(i); event.finish(); } - "step 4" + "step 4"; game.delayx(); if (event.updatePile) game.updateRoundNumber(); }, lose: function () { - "step 0" + "step 0"; var evt = event.getParent(); if ((evt.name != 'discard' || event.type != 'discard') && (evt.name != 'loseToDiscardpile' || event.type != 'loseToDiscardpile')) { event.delay = false; @@ -16486,7 +16706,7 @@ export class Library extends Uninstantable { } } } - "step 1" + "step 1"; event.gaintag_map = {}; var hs = [], es = [], js = [], ss = [], xs = []; var unmarks = []; @@ -16635,7 +16855,7 @@ export class Library extends Uninstantable { if (hs.length && !event.visible) { player.getCards('h').forEach(hcard => { hcard.clearKnowers(); }); } - "step 2" + "step 2"; if (num < cards.length) { if (event.es.contains(cards[num])) { event.loseEquip = true; @@ -16655,7 +16875,7 @@ export class Library extends Uninstantable { } event.goto(4); } - "step 3" + "step 3"; var info = get.info(cards[num]); if (info.loseDelay != false && (player.isAlive() || info.forceDie)) { player.popup(cards[num].name); @@ -16679,7 +16899,7 @@ export class Library extends Uninstantable { } event.num++; event.goto(2); - "step 4" + "step 4"; if (event.toRenku) { _status.renku.addArray(cards.filter(function (card) { return !card.willBeDestroyed('renku', null, event); @@ -16691,7 +16911,7 @@ export class Library extends Uninstantable { } game.updateRenku(); } - "step 5" + "step 5"; var evt = event.getParent(); if ((evt.name != 'discard' && event.type != 'discard') && (evt.name != 'loseToDiscardpile' && event.type != 'loseToDiscardpile')) return; if (event.animate === false || event.delay === false) return; @@ -16706,17 +16926,17 @@ export class Library extends Uninstantable { } }, damage: function () { - "step 0" + "step 0"; event.forceDie = true; if (event.unreal) { event.goto(4); return; } event.trigger('damageBegin1'); - "step 1" + "step 1"; event.trigger('damageBegin2'); - "step 2" + "step 2"; event.trigger('damageBegin3'); - "step 3" + "step 3"; event.trigger('damageBegin4'); - "step 4" + "step 4"; //moved changeHujia to changeHp if (player.hujia > 0 && !player.hasSkillTag('nohujia')) { var damageAudioInfo = lib.natureAudio.hujia_damage[event.nature]; @@ -16789,7 +17009,7 @@ export class Library extends Uninstantable { var numx = player.hasSkillTag('nohujia') ? num : Math.max(0, num - player.hujia); player.$damagepop(-numx, natures[0]); } - if (event.unreal) event.goto(6) + if (event.unreal) event.goto(6); if (!event.notrigger) { if (num == 0) { event.trigger('damageZero'); @@ -16799,7 +17019,7 @@ export class Library extends Uninstantable { event.trigger('damage'); } } - "step 5" + "step 5"; if (player.hp <= 0 && player.isAlive() && !event.nodying) { game.delayx(); event._dyinged = true; @@ -16845,7 +17065,7 @@ export class Library extends Uninstantable { } } } - "step 6" + "step 6"; if (!event.notrigger) event.trigger('damageSource'); }, recover: function () { @@ -16869,11 +17089,11 @@ export class Library extends Uninstantable { } }, player); player.$damagepop(num, 'wood'); - game.log(player, '回复了' + get.cnNumber(num) + '点体力') + game.log(player, '回复了' + get.cnNumber(num) + '点体力'); } }, loseHp: function () { - "step 0" + "step 0"; if (lib.config.background_audio) { game.playAudio('effect', 'loseHp'); } @@ -16882,9 +17102,9 @@ export class Library extends Uninstantable { game.playAudio('effect', 'loseHp'); } }); - game.log(player, '失去了' + get.cnNumber(num) + '点体力') + game.log(player, '失去了' + get.cnNumber(num) + '点体力'); player.changeHp(-num); - "step 1" + "step 1"; if (player.hp <= 0 && !event.nodying) { game.delayx(); event._dyinged = true; @@ -16892,26 +17112,26 @@ export class Library extends Uninstantable { } }, doubleDraw: function () { - "step 0" + "step 0"; player.chooseBool('你的主副将体力上限之和是奇数,是否摸一张牌?'); - "step 1" + "step 1"; if (result.bool) { player.draw(); } }, loseMaxHp: function () { - "step 0" + "step 0"; game.log(player, '减少了' + get.cnNumber(num) + '点体力上限'); player.maxHp -= num; event.loseHp = Math.max(0, player.hp - player.maxHp); player.update(); - "step 1" + "step 1"; if (player.maxHp <= 0) { player.die(event); } }, gainMaxHp: function () { - "step 0" + "step 0"; game.log(player, '增加了' + get.cnNumber(num) + '点体力上限'); player.maxHp += num; player.update(); @@ -16945,7 +17165,7 @@ export class Library extends Uninstantable { var evt = event.getParent('_save'); if (evt && evt.finish) evt.finish(); evt = event.getParent('dying'); - if (evt && evt.finish) evt.finish() + if (evt && evt.finish) evt.finish(); } event.trigger('changeHp'); }, @@ -16974,7 +17194,7 @@ export class Library extends Uninstantable { player.update(); }, dying: function () { - "step 0" + "step 0"; event.forceDie = true; if (player.isDying() || player.hp > 0) { event.finish(); @@ -16986,7 +17206,7 @@ export class Library extends Uninstantable { }, _status.dying); event.trigger('dying'); game.log(player, '濒死'); - "step 1" + "step 1"; delete event.filterStop; if (player.hp > 0 || event.nodying) { _status.dying.remove(player); @@ -17010,7 +17230,7 @@ export class Library extends Uninstantable { next.forceDie = true; next.setContent(lib.skill._save.content); } - "step 2" + "step 2"; _status.dying.remove(player); game.broadcast(function (list) { _status.dying = list; @@ -17018,7 +17238,7 @@ export class Library extends Uninstantable { if (player.hp <= 0 && !event.nodying && !player.nodying) player.die(event.reason); }, die: function () { - "step 0" + "step 0"; event.forceDie = true; if (_status.roundStart == player) { _status.roundStart = player.next || player.getNext() || game.players[0]; @@ -17047,7 +17267,7 @@ export class Library extends Uninstantable { } } else { - game.log(player, '阵亡') + game.log(player, '阵亡'); } @@ -17107,11 +17327,11 @@ export class Library extends Uninstantable { if (player.hp != 0) { player.changeHp(0 - player.hp, false).forceDie = true; } - "step 1" + "step 1"; if (player.dieAfter) player.dieAfter(source); - "step 2" + "step 2"; event.trigger('die'); - "step 3" + "step 3"; if (player.isDead()) { if (!game.reserveDead) { for (var mark in player.marks) { @@ -17146,9 +17366,9 @@ export class Library extends Uninstantable { //player.$throw(event.cards,1000); } } - "step 4" + "step 4"; if (player.dieAfter2) player.dieAfter2(source); - "step 5" + "step 5"; game.broadcastAll(function (player) { if (game.online && player == game.me && !_status.over && !game.controlOver && !ui.exit) { if (lib.mode[lib.configOL.mode].config.dierestart) { @@ -17208,7 +17428,7 @@ export class Library extends Uninstantable { } }, addJudge: function () { - "step 0" + "step 0"; if (cards) { var owner = get.owner(cards[0]); if (owner) { @@ -17216,7 +17436,7 @@ export class Library extends Uninstantable { } else if (get.position(cards[0]) == 'c') event.updatePile = true; } - "step 1" + "step 1"; if (cards[0].willBeDestroyed('judge', player, event)) { cards[0].selfDestroy(event); event.finish(); @@ -17252,7 +17472,7 @@ export class Library extends Uninstantable { card.viewAs = viewAs; if (viewAs && viewAs != card.name && (card.classList.contains('fullskin') || card.classList.contains('fullborder'))) { card.classList.add('fakejudge'); - card.node.background.innerHTML = lib.translate[viewAs + '_bg'] || get.translation(viewAs)[0] + card.node.background.innerHTML = lib.translate[viewAs + '_bg'] || get.translation(viewAs)[0]; } else { card.classList.remove('fakejudge'); @@ -17292,7 +17512,7 @@ export class Library extends Uninstantable { if (event.updatePile) game.updateRoundNumber(); }, judge: function () { - "step 0" + "step 0"; var judgestr = get.translation(player) + '的' + event.judgestr + '判定'; event.videoId = lib.status.videoId++; var cardj = event.directresult; @@ -17336,7 +17556,7 @@ export class Library extends Uninstantable { game.log(player, '进行' + event.judgestr + '判定,亮出的判定牌为', player.judging[0]); game.delay(2); if (!event.noJudgeTrigger) event.trigger('judge'); - "step 1" + "step 1"; event.result = { card: player.judging[0], name: player.judging[0].name, @@ -17444,7 +17664,7 @@ export class Library extends Uninstantable { game.addVideo('link', player, player.isLinked()); }, chooseToGuanxing: function () { - "step 0" + "step 0"; var cards = get.cards(num); game.cardsGotoOrdering(cards); var next = player.chooseToMove(); @@ -17467,7 +17687,7 @@ export class Library extends Uninstantable { bottom = cards; return [top, bottom]; }; - "step 1" + "step 1"; var top = result.moved[0]; var bottom = result.moved[1]; top.reverse(); @@ -17644,7 +17864,7 @@ export class Library extends Uninstantable { charlotte: true, forced: true, popup: false, - } + }; if (typeof map[i] == 'string') lib.translate[i] = map[i]; } }, {} @@ -17707,7 +17927,7 @@ export class Library extends Uninstantable { } return skill.filterFuns.every(fun => Boolean(fun(event, player, name))) && skill.filter2(event, player, name); - } + }; }, get filter2() { return (event, player, name) => { @@ -17804,7 +18024,7 @@ export class Library extends Uninstantable { if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; if (typeof translation == 'string') { _status.postReconnect.player_when[1][skillName] = translation; - game.broadcastAll((skillName, translation) => lib.translate[skillName] = translation, skillName, translation) + game.broadcastAll((skillName, translation) => lib.translate[skillName] = translation, skillName, translation); } return this; }, @@ -17880,7 +18100,7 @@ export class Library extends Uninstantable { getKnownCards(other, filter) { if (!other) other = _status.event.player; if (!other) other = this; - if (!filter) filter = (card) => { return true }; + if (!filter) filter = (card) => { return true; }; return this.getCards('h', function (card) { return card.isKnownBy(other) && filter(card); }); @@ -17897,7 +18117,7 @@ export class Library extends Uninstantable { hasKnownCards(other, filter) { if (!other) other = _status.event.player; if (!other) other = this; - if (!filter) filter = (card) => { return true }; + if (!filter) filter = (card) => { return true; }; return this.countCards('h', function (card) { return card.isKnownBy(other) && filter(card); }) > 0; @@ -18053,7 +18273,7 @@ export class Library extends Uninstantable { return Math.max(0, player.countEnabledSlot(type) - player.getEquips(type).reduce(function (num, card) { var types = get.subtypes(card, false); return num + get.numOf(types, type); - }, 0)) + }, 0)); } //判断一名角色是否有可以用于装备新装备牌的区域(排除金箍棒和六龙等“不可被替换装备”) //用法同下 @@ -18076,7 +18296,7 @@ export class Library extends Uninstantable { var types = get.subtypes(card, false); if (!lib.filter.canBeReplaced(card, player)) num += get.numOf(types, type); return num; - }, 0)) + }, 0)); } //判断一名角色是否拥有未被废除的某个区域 //type为要判断的区域 若为空 则判断玩家是否有任意一个未被废除的区域 @@ -18148,7 +18368,7 @@ export class Library extends Uninstantable { if (!subtype) return []; return this.getCards('e', function (card) { return get.subtypes(card, false).contains(subtype); - }) + }); } //新的废除装备区/恢复装备区/扩展装备区 //参数:废除来源角色(不写默认当前事件角色),废除区域(数字/区域字符串/数组,可以写多个,重复废除) @@ -18258,7 +18478,7 @@ export class Library extends Uninstantable { if (!map) { map = (player.expandedSlots || {}); } - game.addVideo('$syncExpand', player, get.copy(map)) + game.addVideo('$syncExpand', player, get.copy(map)); game.broadcast(function (player, map) { player.expandedSlots = map; player.$syncExpand(map); @@ -18273,11 +18493,11 @@ export class Library extends Uninstantable { if (!map) { map = (player.disabledSlots || {}); } - game.addVideo('$syncDisable', player, get.copy(map)) + game.addVideo('$syncDisable', player, get.copy(map)); game.broadcast(function (player, map) { player.disabledSlots = map; player.$syncDisable(map); - }, player, map) + }, player, map); const map2 = get.copy(map); const cards = Array.from(player.node.equips.childNodes); for (const card of cards) { @@ -18332,8 +18552,8 @@ export class Library extends Uninstantable { if (combined) { ranges.forEach(type => { if (type == 'equip3' || type == 'equip4') rangex.add('equip3_4'); - else rangex.add(type) - }) + else rangex.add(type); + }); } else { rangex.push(...new Set(ranges)); @@ -18348,7 +18568,7 @@ export class Library extends Uninstantable { } //以下函数将不再进行后续维护 countDisabled() { - return this.countDisabledSlot.apply(this, arguments) + return this.countDisabledSlot.apply(this, arguments); } isDisabled(arg) { return this.hasDisabledSlot(arg) && !this.hasEnabledSlot(arg); @@ -18523,12 +18743,12 @@ export class Library extends Uninstantable { target: target || this, }); next.setContent(function () { - "step 0" + "step 0"; player.lose(cards, ui.special).set('getlx', false); - "step 1" + "step 1"; var cards = event.cards.slice(0); cards.removeArray(player.getCards('hejsx')); - if (cards.length) target.directgains(cards, null, event.tag) + if (cards.length) target.directgains(cards, null, event.tag); }); return next; } @@ -18686,8 +18906,8 @@ export class Library extends Uninstantable { } } next.setContent('chooseToMove'); - next.filterOk = function () { return true }; - next.filterMove = function () { return true }; + next.filterOk = function () { return true; }; + next.filterMove = function () { return true; }; return next; } chooseToGuanxing(num) { @@ -18702,7 +18922,7 @@ export class Library extends Uninstantable { var getLeft = function (player) { if (player == game.me && !ui.fakeme && !ui.chess) return player.getLeft() + player.node.avatar.offsetWidth / 2; return player.getLeft() + player.offsetWidth / 2; - } + }; var player = this; var emotion = ui.create.div('', '
', game.chess ? ui.chess : ui.window); emotion.style.width = '60px'; @@ -19706,7 +19926,7 @@ export class Library extends Uninstantable { unseen: this.isUnseen(0), unseen2: this.isUnseen(1), seatNum: this.seatNum, - } + }; for (var i = 0; i < state.judges.length; i++) { state.views[i] = state.judges[i].viewAs; } @@ -19937,7 +20157,7 @@ export class Library extends Uninstantable { } clearMark(i, log) { let num = this.countMark(i); - if (num > 0) this.removeMark(i, num, log) + if (num > 0) this.removeMark(i, num, log); } removeMark(i, num, log) { if (typeof num != 'number' || !num) num = 1; @@ -19998,7 +20218,7 @@ export class Library extends Uninstantable { if (i == 'ghujia' || ((!this.marks[i].querySelector('.image') || this.storage[i + '_markcount']) && lib.skill[i] && lib.skill[i].intro && !lib.skill[i].intro.nocount && (this.storage[i] || this.storage[i + '_markcount'] || lib.skill[i].intro.markcount))) { - this.marks[i].classList.add('overflowmark') + this.marks[i].classList.add('overflowmark'); var num = 0; if (typeof lib.skill[i].intro.markcount == 'function') { num = lib.skill[i].intro.markcount(this.storage[i], this); @@ -20659,7 +20879,7 @@ export class Library extends Uninstantable { next.forceDie = true; next.includeOut = true; next.skill = skill || _status.event.name; - next.setContent('phase'); + next.setContents('phase'); return next; } insertEvent(name, content, arg) { @@ -20681,7 +20901,7 @@ export class Library extends Uninstantable { phase(skill) { var next = game.createEvent('phase', false); next.player = this; - next.setContent('phase'); + next.setContents('phase'); if (!_status.roundStart) { _status.roundStart = this; } @@ -20827,7 +21047,7 @@ export class Library extends Uninstantable { //next.dialog=next.prompt; } else { - var str = '请打出' + get.cnNumber(next.selectCard[0]) + '张' + var str = '请打出' + get.cnNumber(next.selectCard[0]) + '张'; if (filter) { if (filter.name) { str += get.translation(filter.name); @@ -20950,7 +21170,7 @@ export class Library extends Uninstantable { if (!lib.filter.cardDiscardable(cards[i], this.player, this)) num--; } return get.select(this.selectCard)[0] >= num; - } + }; next.setContent('chooseToDiscard'); next._args = Array.from(arguments); return next; @@ -20963,7 +21183,7 @@ export class Library extends Uninstantable { if (check) next.ai = check; else next.ai = function (card) { if (typeof card == 'string' && lib.skill[card]) { - var ais = lib.skill[card].check || function () { return 0 }; + var ais = lib.skill[card].check || function () { return 0; }; return ais(); } var addi = (get.value(card) >= 8 && get.type(card) != 'equip') ? -3 : 0; @@ -20974,7 +21194,7 @@ export class Library extends Uninstantable { var getn = function (card) { if (player.hasSkill('tianbian') && get.suit(card) == 'heart') return 13 * (Boolean(event.small) ? -1 : 1); return get.number(card) * (Boolean(event.small) ? -1 : 1); - } + }; if (source && source != player) { if (get.attitude(player, source) > 1) { if (Boolean(event.small)) return getn(card) - get.value(card) / 3 + addi; @@ -20987,7 +21207,7 @@ export class Library extends Uninstantable { if (Boolean(event.small)) return -getn(card) - get.value(card) / 5 + addi; return getn(card) - get.value(card) / 5 + addi; } - } + }; next.setContent('chooseToCompareMultiple'); } else { @@ -20995,14 +21215,14 @@ export class Library extends Uninstantable { if (check) next.ai = check; else next.ai = function (card) { if (typeof card == 'string' && lib.skill[card]) { - var ais = lib.skill[card].check || function () { return 0 }; + var ais = lib.skill[card].check || function () { return 0; }; return ais(); } var player = get.owner(card); var getn = function (card) { if (player.hasSkill('tianbian') && get.suit(card) == 'heart') return 13; return get.number(card); - } + }; var event = _status.event.getParent(); var to = (player == event.player ? event.target : event.player); var addi = (get.value(card) >= 8 && get.type(card) != 'equip') ? -6 : 0; @@ -21016,7 +21236,7 @@ export class Library extends Uninstantable { if (friend == Boolean(event.small)) return getn(card) - get.value(card) / (friend ? 3 : 5) + addi; return -getn(card) - get.value(card) / (friend ? 3 : 5) + addi; } - } + }; next.setContent('chooseToCompare'); } next.forceDie = true; @@ -21122,7 +21342,7 @@ export class Library extends Uninstantable { if (next.isMine() == false && next.dialog) next.dialog.style.display = 'none'; if (next.filterButton == undefined) next.filterButton = lib.filter.filterButton; if (next.selectButton == undefined) next.selectButton = [1, 1]; - if (next.ai == undefined) next.ai = function () { return 1 }; + if (next.ai == undefined) next.ai = function () { return 1; }; next.setContent('chooseButton'); next._args = Array.from(arguments); next.forceDie = true; @@ -22212,7 +22432,7 @@ export class Library extends Uninstantable { } } node.appendChild(card); - } + }; for (var i = 0; i < cards.length; i++) { cards[i].fix(); cards[i].remove(); @@ -22329,7 +22549,7 @@ export class Library extends Uninstantable { next.getg = function (player) { if (this.getlx === false || player != this.player || !this.cards) return []; return this.cards.slice(0); - } + }; next.gaintag = []; return next; } @@ -22916,7 +23136,7 @@ export class Library extends Uninstantable { if (typeof card == 'string') { card = { name: card }; } - next.card = get.autoViewAs(card, next.cards) + next.card = get.autoViewAs(card, next.cards); } next.player = this; next.setContent('addJudge'); @@ -23039,7 +23259,7 @@ export class Library extends Uninstantable { next.judge = get.judge(next.card); next.judge2 = get.judge2(next.card); } - if (next.judge == undefined) next.judge = function () { return 0 }; + if (next.judge == undefined) next.judge = function () { return 0; }; if (next.position == undefined) next.position = ui.discardPile; if (next.card) next.cardname = next.card.viewAs || next.card.name; @@ -23498,7 +23718,7 @@ export class Library extends Uninstantable { } } unmarkAuto(name, info) { - var storage = this.storage[name] + var storage = this.storage[name]; if (Array.isArray(info) && Array.isArray(storage)) { storage.removeArray(info.slice(0)); this.markAuto(name); @@ -23555,7 +23775,7 @@ export class Library extends Uninstantable { } removeStorage(name, mark) { if (!this.hasStorage(name)) return false; - delete this.storage[name] + delete this.storage[name]; if (mark) { this.unmarkSkill(name); } @@ -23671,7 +23891,7 @@ export class Library extends Uninstantable { target: target }); } - } + }; func(this, target, name, content, id); if (!nobroadcast) game.broadcast(func, this, target, name, content, id); return this; @@ -23698,7 +23918,7 @@ export class Library extends Uninstantable { info.name = get.translation(name); } if (!info.content) { - info.content = get.skillintro(name, learn, learn2) + info.content = get.skillintro(name, learn, learn2); } node.info = info; node.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.card); @@ -23880,7 +24100,7 @@ export class Library extends Uninstantable { } addSubPlayer(cfg) { var skill = 'subplayer_' + cfg.name + '_' + get.id(); - game.log(this, '获得了随从', '#g' + get.translation(cfg.name)) + game.log(this, '获得了随从', '#g' + get.translation(cfg.name)); cfg.hs = cfg.hs || []; cfg.es = cfg.es || []; cfg.skills = cfg.skills || []; @@ -23908,7 +24128,7 @@ export class Library extends Uninstantable { ai: { subplayer: true } - } + }; lib.character[skill] = [cfg.sex, cfg.group, cfg.maxHp, cfg.skills, []]; if (Array.isArray(cfg.image)) { cfg.image.forEach(image => lib.character[skill][4].push(image)); @@ -24008,7 +24228,7 @@ export class Library extends Uninstantable { if (!lib.hook[name]) lib.hook[name] = []; lib.hook[name].add(skill); lib.hookmap[evt] = true; - } + }; for (const role in info.trigger) { let evts = info.trigger[role]; if (!Array.isArray(evts)) evts = [evts]; @@ -24185,8 +24405,8 @@ export class Library extends Uninstantable { if (key === skillkey) return false; if (Array.isArray(player.additionalSkills[key])) return player.additionalSkills[key].includes(skill); return player.additionalSkills[key] == skill; - })) - } + })); + }; if (Array.isArray(additionalSkills) && typeof target == 'string') { if (additionalSkills.contains(target)) { additionalSkills.remove(target); @@ -24199,7 +24419,7 @@ export class Library extends Uninstantable { if (!hasAnotherSKill(skill, additionalSkills)) this.removeSkill(additionalSkills); } else if (Array.isArray(additionalSkills)) { - const skillsToRemove = additionalSkills.filter(target => !hasAnotherSKill(skill, target)) + const skillsToRemove = additionalSkills.filter(target => !hasAnotherSKill(skill, target)); this.removeSkill(skillsToRemove); } } @@ -24365,7 +24585,7 @@ export class Library extends Uninstantable { if (!lib.hook[name]) return; lib.hook[name].remove(skill); if (lib.hook[name].length == 0) delete lib.hook[name]; - } + }; for (const role in info.trigger) { let evts = info.trigger[role]; if (!Array.isArray(evts)) evts = [evts]; @@ -24479,7 +24699,7 @@ export class Library extends Uninstantable { bannedSkill: skill, }).then(() => { delete player.storage[`temp_ban_${bannedSkill}`]; - }) + }); return skill; } isTempBanned(skill) { @@ -24520,7 +24740,7 @@ export class Library extends Uninstantable { else { for (var i in this.forbiddenSkills) { if (this.forbiddenSkills[i].includes(skill)) { - this.forbiddenSkills[i].remove(skill) + this.forbiddenSkills[i].remove(skill); if (!this.forbiddenSkills[i].length) { delete this.forbiddenSkills[i]; } @@ -24537,7 +24757,7 @@ export class Library extends Uninstantable { str += arr[i] + '+'; } return str.slice(0, str.length - 1); - } + }; var forbidlist = lib.config.forbid.concat(lib.config.customforbid); var skills = this.getSkills(); for (var i = 0; i < forbidlist.length; i++) { @@ -24571,7 +24791,7 @@ export class Library extends Uninstantable { return history.filter((event, index) => { if (index > lastIndex) return false; return filter(event); - }) + }); } return history.filter(filter); } @@ -24585,7 +24805,7 @@ export class Library extends Uninstantable { history.forEach((event, index) => { if (index > lastIndex) return false; filter(event); - }) + }); } else { history.forEach(filter); @@ -24600,7 +24820,7 @@ export class Library extends Uninstantable { return history.some((event, index) => { if (index > lastIndex) return false; return filter(event); - }) + }); } return history.some(filter); } @@ -24620,7 +24840,7 @@ export class Library extends Uninstantable { return history.filter((event, index) => { if (index > lastIndex) return false; return filter(event); - }) + }); } return history.filter(filter); } @@ -24650,7 +24870,7 @@ export class Library extends Uninstantable { else { history.push(...value[key]); } - }) + }); if (filter) { if (last) { const lastIndex = history.indexOf(last); @@ -24677,7 +24897,7 @@ export class Library extends Uninstantable { if (history.some(filter)) return true; } return false; - }) + }); } getLastUsed(num) { if (typeof num != 'number') num = 0; @@ -24696,7 +24916,7 @@ export class Library extends Uninstantable { stat = this.stat[i]; break; } } - if (!stat) return null + if (!stat) return null; if (!key) return stat; return stat[key]; } @@ -24720,7 +24940,7 @@ export class Library extends Uninstantable { } if (player == game.me) ui.me.removeAttribute('style'); } - }, time) + }, time); } getCardUsable(card, pure) { var player = this; @@ -24751,7 +24971,7 @@ export class Library extends Uninstantable { if (info && info.globalFrom) { range += info.globalFrom; } - }) + }); return (player.getEquipRange() - range); } let base = game.checkMod(player, 'unchanged', 'attackRangeBase', player); @@ -25506,7 +25726,7 @@ export class Library extends Uninstantable { $draw(num, init, config) { if (init !== false && init !== 'nobroadcast') { game.broadcast(function (player, num, init, config) { - player.$draw(num, init, config) + player.$draw(num, init, config); }, this, num, init, config); } var cards, node; @@ -25606,14 +25826,14 @@ export class Library extends Uninstantable { config = { total: num, current: 1 - } + }; } if (config && config.total > 1) { var total = config.total, current = config.current; var dxtotal; if (total <= 5) { dxtotal = Math.min(80, (total - 1) * 20); - dx += -dxtotal + 2 * dxtotal * (current - 1) / (total - 1) + dx += -dxtotal + 2 * dxtotal * (current - 1) / (total - 1); } else { var total2 = Math.floor(total / 2); @@ -25627,7 +25847,7 @@ export class Library extends Uninstantable { dy += 20; } dxtotal = Math.min(80, (total - 1) * 20); - dx += -dxtotal + 2 * dxtotal * (current - 1) / (total - 1) + dx += -dxtotal + 2 * dxtotal * (current - 1) / (total - 1); } config.current++; } @@ -25649,20 +25869,20 @@ export class Library extends Uninstantable { if (config && config.total > 1) { setTimeout(function () { if (cards) { - that.$draw(cards, false, config) + that.$draw(cards, false, config); } else { - that.$draw(num - 1, false, config) + that.$draw(num - 1, false, config); } - }, 50) + }, 50); } else { setTimeout(function () { if (cards) { - that.$draw(cards, false, config) + that.$draw(cards, false, config); } else { - that.$draw(num - 1, false, config) + that.$draw(num - 1, false, config); } }, 200); } @@ -25704,7 +25924,7 @@ export class Library extends Uninstantable { ui.refresh(node1); node1.style.transform = ''; //node1.removeEventListener('webkitTransitionEnd',onEnd); - } + }; node1.listenTransition(onEnd); }, 300); }; @@ -25752,12 +25972,12 @@ export class Library extends Uninstantable { ui.refresh(node2); node2.style.transform = ''; //node2.removeEventListener('webkitTransitionEnd',onEnd); - } + }; node2.listenTransition(onEnd); }, 200); }; node2.listenTransition(onEnd02); - }(targets[i], cards[i], i)) + }(targets[i], cards[i], i)); } }, 200); } @@ -25797,7 +26017,7 @@ export class Library extends Uninstantable { ui.refresh(node1); node1.style.transform = ''; //node1.removeEventListener('webkitTransitionEnd',onEnd); - } + }; node1.listenTransition(onEnd); }, 300); }; @@ -25832,7 +26052,7 @@ export class Library extends Uninstantable { ui.refresh(node2); node2.style.transform = ''; //node2.removeEventListener('webkitTransitionEnd',onEnd); - } + }; node2.listenTransition(onEnd); }, 200); }; @@ -25882,7 +26102,7 @@ export class Library extends Uninstantable { node = this.$throwordered(card.copy('thrown'), nosource); if (time != undefined) { node.fixed = true; - setTimeout(function () { node.delete() }, time); + setTimeout(function () { node.delete(); }, time); } lib.listenEnd(node); return node; @@ -25989,7 +26209,7 @@ export class Library extends Uninstantable { var per = str.slice(str.indexOf('calc(') + 5, str.indexOf('%')); var add = str.slice(str.indexOf('%') + 1, str.indexOf('px')).replace(/\s/g, ''); return [parseInt(per), parseInt(add)]; - } + }; var nx = parseCalc(node.style.left); var ny = parseCalc(node.style.top); nx = nx[0] * ui.arena.offsetWidth / 100 + nx[1]; @@ -26156,7 +26376,7 @@ export class Library extends Uninstantable { var per = str.slice(str.indexOf('calc(') + 5, str.indexOf('%')); var add = str.slice(str.indexOf('%') + 1, str.indexOf('px')).replace(/\s/g, ''); return [parseInt(per), parseInt(add)]; - } + }; var nx = parseCalc(node.style.left); var ny = parseCalc(node.style.top); nx = nx[0] * ui.arena.offsetWidth / 100 + nx[1]; @@ -26553,7 +26773,7 @@ export class Library extends Uninstantable { ui.arena.classList.add('playerfocus'); setTimeout(function () { ui.arena.classList.remove('playerfocus'); - }, 1800) + }, 1800); }); game.delay(3); } @@ -26795,7 +27015,7 @@ export class Library extends Uninstantable { } setTimeout(function () { node.delete(); - node.style.transform = 'scale(1.5)' + node.style.transform = 'scale(1.5)'; }, avatar ? 1600 : 1000); } $damagepop(num, nature, font, nobroadcast) { @@ -26809,7 +27029,7 @@ export class Library extends Uninstantable { node.classList.add('normal-font'); } if (typeof num == 'number' && num > 0) { - if (num == Infinity) num = '+∞' + if (num == Infinity) num = '+∞'; else num = '+' + num; } else if (num == -Infinity) num = '-∞'; @@ -27482,7 +27702,7 @@ export class Library extends Uninstantable { this.classList.add('card'); if (card[3]) { let natures = get.natureList(card[3]); - natures.forEach(n => { if (n) this.classList.add(n) }); + natures.forEach(n => { if (n) this.classList.add(n); }); this.nature = natures.filter(n => lib.nature.has(n)).sort(lib.sort.nature).join(lib.natureSeparator); } else if (this.nature) { @@ -27703,7 +27923,7 @@ export class Library extends Uninstantable { background: node.querySelector('.background'), image: node.querySelector('.image'), gaintag: node.querySelector('.gaintag'), - } + }; node.node.gaintag.innerHTML = ''; var clone = true; var position; @@ -28176,7 +28396,7 @@ export class Library extends Uninstantable { lib.element.content[item]._parsed = true; } } - catch (_) { + catch { throw new Error(`Content ${item} may not exist.\nlib.element.content[${item}] = ${lib.element.content[item]}`); } this.content = lib.element.content[item]; @@ -28184,6 +28404,19 @@ export class Library extends Uninstantable { } return this; } + + /** + * + * @param {import("../util/index.js").AsyncFunction[] | keyof typeof lib.element.content} contents + * @returns {GameEvent} + */ + setContents(contents) { + if (Array.isArray(contents)) this.contents = contents; + else if (contents in lib.element.content) return this.setContents(lib.element.content[contents]); + else throw new Error('not supported value.'); + return this; + } + getLogv() { for (var i = 1; i <= 3; i++) { var event = this.getParent(i); @@ -28295,7 +28528,7 @@ export class Library extends Uninstantable { ai1: this.ai1, ai2: this.ai2, filterOk: this.filterOk, - } + }; if (skill) { var info = get.info(skill); this.skill = skill; @@ -28360,7 +28593,7 @@ export class Library extends Uninstantable { var card = get.card(), player = get.player(); var filter = evt._backup.filterCard; if (filter && !filter(card, player, evt)) return false; - if (evt._backup.filterOk) return evt._backup.filterOk() + if (evt._backup.filterOk) return evt._backup.filterOk(); return true; }; } @@ -28462,7 +28695,7 @@ export class Library extends Uninstantable { skill: skill, player: player, priority: get.priority(skill), - } + }; const map = info.firstDo ? firstDo : info.lastDo ? lastDo : doing; if (!map) return; if (map.doneList.some(i => i.skill === toadd.skill && i.player === toadd.player)) return; @@ -28513,12 +28746,12 @@ export class Library extends Uninstantable { player: "firstDo", todoList: [], doneList: [], - } + }; const lastDo = { player: "lastDo", todoList: [], doneList: [], - } + }; const doingList = []; const roles = ['player', 'source', 'target', 'global']; const playerMap = game.players.concat(game.dead).sortBySeat(start); @@ -28547,7 +28780,7 @@ export class Library extends Uninstantable { else list.sort((a, b) => b.priority - a.priority); allbool = true; } - } + }; const notemp = player.skills.slice(); for (const j in player.additionalSkills) { @@ -28585,7 +28818,7 @@ export class Library extends Uninstantable { delete doing.addList; doingList.push(doing); player = player.nextSeat; - } while (player && player !== start) + } while (player && player !== start); doingList.unshift(firstDo); doingList.push(lastDo); // console.log(name,event.player,doingList.map(i=>({player:i.player,todoList:i.todoList.slice(),doneList:i.doneList.slice()}))) @@ -28843,7 +29076,7 @@ export class Library extends Uninstantable { alert((!obj || obj instanceof Error) ? String(obj) : get.stringify(obj)); game.promises.prompt('debugger调试').then(inputCallback); } - } + }; game.promises.prompt('debugger调试').then(inputCallback); }); } @@ -29324,7 +29557,7 @@ export class Library extends Uninstantable { get nodews() { return this.NodeWS.prototype; } - } + }; static card = { list: [], cooperation_damage: { @@ -29405,7 +29638,7 @@ export class Library extends Uninstantable { type: 'db_def', fullimage: true, }, - } + }; static filter = { all: () => true, none: () => false, @@ -29868,7 +30101,7 @@ export class Library extends Uninstantable { } } } - } + }; static sort = { nature: function (a, b) { return (lib.nature.get(b) || 0) - (lib.nature.get(a) || 0); @@ -29886,7 +30119,7 @@ export class Library extends Uninstantable { if (group == 'shen') return base + 7; if (group == 'double') return base + 7; return base + 9; - } + }; return groupSort(a) - groupSort(b); }, character: function (a, b) { @@ -29905,7 +30138,7 @@ export class Library extends Uninstantable { if (group == 'key') return base + 5; if (group == 'western') return base + 6; return base + 7; - } + }; const del = groupSort(a) - groupSort(b); if (del != 0) return del; let aa = a, bb = b; @@ -29930,10 +30163,10 @@ export class Library extends Uninstantable { if (type == 'equip') { var type2 = get.subtype(name, false); if (type2 && type2.slice) return 1 + parseInt(type2.slice(5) || 7); - return 8.5 + return 8.5; } return 9; - } + }; var del = typeSort(a) - typeSort(b); if (del != 0) return del; var aa = a, bb = b; @@ -29998,7 +30231,7 @@ export class Library extends Uninstantable { if (a < b) return -1; return 0; } - } + }; static skill = { stratagem_fury: { marktext: '🔥', @@ -30161,7 +30394,7 @@ export class Library extends Uninstantable { if (typeof num == 'number' && num > 0) { let trans = get.translation(key); if (combined && key == 'equip3') trans = '坐骑'; - str += '
  • ' + trans + '栏:' + num + '个
    ' + str += '
  • ' + trans + '栏:' + num + '个
    '; } } if (str.length) return str.slice(0, str.length - 4); @@ -30248,7 +30481,7 @@ export class Library extends Uninstantable { if (info.type == 'damage') { str += '
  • 协力角色:' + get.translation(info.target); str += '
  • 协力原因:' + get.translation(info.reason); - str += '
  • 协力进度:' + str += '
  • 协力进度:'; var num = (info.damage || 0); str += num; str += '/4'; @@ -30301,7 +30534,7 @@ export class Library extends Uninstantable { if (info.type == 'draw') { str += '
  • 协力角色:' + get.translation(info.target); str += '
  • 协力原因:' + get.translation(info.reason); - str += '
  • 协力进度:' + str += '
  • 协力进度:'; var num = (info.draw || 0); str += num; str += '/8'; @@ -30728,7 +30961,7 @@ export class Library extends Uninstantable { }, position: 'hs', prompt: "将一张桃当杀使用或打出", - check: function () { return 1 }, + check: function () { return 1; }, ai: { respondSha: true, skillTagFilter: function (player) { @@ -30750,7 +30983,7 @@ export class Library extends Uninstantable { isCard: true, }, prompt: "将一张桃当闪打出", - check: function () { return 1 }, + check: function () { return 1; }, viewAsFilter: function (player) { if (!player.countCards('hs', 'tao')) return false; }, @@ -30784,7 +31017,7 @@ export class Library extends Uninstantable { content: function (storage, player) { if (typeof storage.intro2 == 'string') return storage.intro2; if (typeof storage.intro2 == 'function') return storage.intro2(storage, player); - return '死亡前切换回主武将' + return '死亡前切换回主武将'; }, name: function (storage) { return get.rawName(storage.name); @@ -31172,10 +31405,10 @@ export class Library extends Uninstantable { return false; }, content: function () { - "step 0" + "step 0"; event.dying = trigger.player; if (!event.acted) event.acted = []; - "step 1" + "step 1"; if (trigger.player.isDead()) { event.finish(); return; @@ -31184,7 +31417,7 @@ export class Library extends Uninstantable { var str = get.translation(trigger.player) + '濒死,是否帮助?'; var str2 = '当前体力:' + trigger.player.hp; if (lib.config.tao_enemy && event.dying.side != player.side && lib.config.mode != 'identity' && lib.config.mode != 'guozhan' && !event.dying.hasSkillTag('revertsave')) { - event._result = { bool: false } + event._result = { bool: false }; } else if (player.canSave(event.dying)) { player.chooseToUse({ @@ -31227,9 +31460,9 @@ export class Library extends Uninstantable { }); } else { - event._result = { bool: false } + event._result = { bool: false }; } - "step 2" + "step 2"; if (result.bool) { var player = trigger.player; if (player.hp <= 0 && !trigger.nodying && !player.nodying && player.isAlive() && !player.isOut() && !player.removed) event.goto(0); @@ -31320,9 +31553,9 @@ export class Library extends Uninstantable { forceDie: true, //priority:-5, content: function () { - "step 0" + "step 0"; event.logvid = trigger.getLogv(); - "step 1" + "step 1"; event.targets = game.filterPlayer(function (current) { return current != event.player && current.isLinked(); }); @@ -31332,7 +31565,7 @@ export class Library extends Uninstantable { event._args = [trigger.num, trigger.nature, trigger.cards, trigger.card]; if (trigger.source) event._args.push(trigger.source); else event._args.push("nosource"); - "step 2" + "step 2"; if (event.targets.length) { var target = event.targets.shift(); if (target.isLinked()) target.damage.apply(target, event._args.slice(0)); @@ -31384,7 +31617,7 @@ export class Library extends Uninstantable { lib.skill._recasting.ai = ai; } } - } + }; static character = {}; static perfectPair = {}; static cardPile = {}; @@ -31736,7 +31969,7 @@ export class Library extends Uninstantable { }); if (events.length) { ui.connectEventsCount.innerHTML = events.filter(function (evt) { - return evt.creator == game.onlineKey || !get.is.banWords(evt.content) + return evt.creator == game.onlineKey || !get.is.banWords(evt.content); }).length; ui.connectEventsCount.show(); } @@ -31834,7 +32067,7 @@ export class Library extends Uninstantable { } } lib.init.onfree(); - } + }; if (_status.event.parent) { game.forceOver('noover', proceed); } @@ -31879,8 +32112,8 @@ export class Library extends Uninstantable { ui.click.connectroom.call(caption); delete _status.read_clipboard_text; } - } catch (e) { console.log(e) } - } + } catch (e) { console.log(e); } + }; //每次启动只请求一次 _status.requestReadClipboard = true; if (_status.read_clipboard_text) { @@ -31919,7 +32152,7 @@ export class Library extends Uninstantable { if (events && ui.connectEvents) { ui.connectEvents.info = events; var num = events.filter(function (evt) { - return typeof evt.creator == 'string' && (evt.creator == game.onlineKey || !get.is.banWords(evt.content)) + return typeof evt.creator == 'string' && (evt.creator == game.onlineKey || !get.is.banWords(evt.content)); }).length; if (num) { ui.connectEventsCount.innerHTML = num; @@ -32041,7 +32274,7 @@ export class Library extends Uninstantable { game.send('inited'); ui.create.connecting(true); }); - } + }; if (_status.event.parent) { game.forceOver('noover', proceed); } @@ -32266,7 +32499,7 @@ export class Library extends Uninstantable { if (info.views[i] && info.views[i] != info.judges[i]) { info.judges[i].classList.add('fakejudge'); info.judges[i].viewAs = info.views[i]; - info.judges[i].node.background.innerHTML = lib.translate[info.views[i] + '_bg'] || get.translation(info.views[i])[0] + info.judges[i].node.background.innerHTML = lib.translate[info.views[i] + '_bg'] || get.translation(info.views[i])[0]; } player.node.judges.appendChild(info.judges[i]); } @@ -32319,7 +32552,7 @@ export class Library extends Uninstantable { game.me.node.identity.firstChild.innerHTML = ''; } } - } + }; } else { if (Array.isArray(onreconnect)) { @@ -32479,7 +32712,7 @@ export class Library extends Uninstantable { } } } - } + }; static suit = ['club', 'spade', 'diamond', 'heart']; static suits = ['club', 'spade', 'diamond', 'heart', 'none']; static color = { @@ -32862,7 +33095,7 @@ export class Library extends Uninstantable { ]; static other = { ignore: () => void 0 - } + }; }; export const lib = Library; From 4d758a9a5486d76aae69198180903c291055af0f Mon Sep 17 00:00:00 2001 From: Rintim Date: Sat, 23 Dec 2023 02:41:08 +0800 Subject: [PATCH 048/234] feat: add support of skill for ArrayContent. --- noname/library/index.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/noname/library/index.js b/noname/library/index.js index 793f60d1f..1fe6c493c 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -11345,7 +11345,13 @@ export class Library extends Uninstantable { next.player = player; next._trigger = trigger; next.triggername = event.triggername; - next.setContent(info.content); + + if ("contents" in info && Array.isArray(info.contents)) { + next.setContents(info.contents); + } else { + next.setContent(info.content); + } + next.skillHidden = event.skillHidden; if (info.forceDie) next.forceDie = true; if (info.forceOut) next.includeOut = true; From 871fb7f682921a4d5aabb554fde70792aa4d9253 Mon Sep 17 00:00:00 2001 From: Rintim Date: Sat, 23 Dec 2023 14:43:19 +0800 Subject: [PATCH 049/234] pref: move content out. --- noname/library/element/content.js | 8509 +++++++++++++++++++++++++++++ noname/library/index.js | 8503 +--------------------------- 2 files changed, 8511 insertions(+), 8501 deletions(-) create mode 100644 noname/library/element/content.js diff --git a/noname/library/element/content.js b/noname/library/element/content.js new file mode 100644 index 000000000..e9a6f1e4d --- /dev/null +++ b/noname/library/element/content.js @@ -0,0 +1,8509 @@ +import { AI as ai } from '../../ai/index.js'; +import { Get as get } from '../../get/index.js'; +import { Game as game } from '../../game/index.js'; +import { Library as lib } from "../index.js"; +import { status as _status } from '../../status/index.js'; +import { UI as ui } from '../../ui/index.js'; +import { GNC as gnc } from '../../gnc/index.js'; + +export default { + emptyEvent: async (event) => { + event.trigger(event.name); + }, + //增加明置手牌 + addShownCards: async (event, _trigger, player) => { + const hs = player.getCards('h'), showingCards = event._cards.filter(showingCard => hs.includes(showingCard)), shown = player.getShownCards(); + event.gaintag.forEach(tag => player.addGaintag(showingCards, tag)); + if (!(event.cards = showingCards.filter(showingCard => !shown.includes(showingCard))).length) return; + game.log(player, '明置了', event.cards); + if (event.animate != false) player.$give(event.cards, player, false); + event.trigger('addShownCardsAfter'); + }, + //隐藏明置手牌 + hideShownCards: () => { + var shown = player.getShownCards(), hidingCards = event._cards.filter(hidingCard => shown.includes(hidingCard)); + if (!hidingCards.length) return; + if (event.gaintag.length) event.gaintag.forEach(tag => player.removeGaintag(tag, hidingCards)); + else { + var map = hidingCards.reduce((constructingMap, hidingCard) => { + hidingCard.gaintag.forEach(tag => { + if (!tag.startsWith('visible_')) return; + if (!constructingMap[tag]) constructingMap[tag] = []; + constructingMap[tag].push(hidingCard); + }); + return constructingMap; + }, {}); + Object.keys(map).forEach(key => player.removeGaintag(key, map[key])); + } + hidingCards.removeArray(player.getShownCards()); + if (!hidingCards.length) return; + game.log(player, '取消明置了', event.cards = hidingCards); + if (event.animate != false) player.$give(hidingCards, player, false); + event.trigger('hideShownCardsAfter'); + }, + //Execute the delay card effect + //执行延时锦囊牌效果 + executeDelayCardEffect: () => { + 'step 0'; + target.$phaseJudge(card); + event.cancelled = false; + event.trigger('executeDelayCardEffect'); + event.cardName = card.viewAs || card.name; + target.popup(event.cardName, 'thunder'); + if (!lib.card[event.cardName].effect) { + game.delay(); + event.finish(); + } + else if (!lib.card[event.cardName].judge) { + game.delay(); + event.nojudge = true; + } + 'step 1'; + if (event.cancelled || event.nojudge) return; + var next = player.judge(card), judge = event.judge; + if (typeof judge == 'function') next.judge = judge; + var judge2 = event.judge2; + if (typeof judge2 == 'function') next.judge2 = judge2; + 'step 2'; + if (event.excluded) delete event.excluded; + else { + var cardName = event.cardName; + if (event.cancelled && !event.direct) { + var cardCancel = lib.card[cardName].cancel; + if (cardCancel) { + var next = game.createEvent(`${cardName}Cancel`); + next.setContent(cardCancel); + next.cards = [card]; + if (!card.viewAs) { + var autoViewAs = next.card = get.autoViewAs(card); + autoViewAs.expired = card.expired; + } + else { + var autoViewAs = next.card = get.autoViewAs({ + name: cardName + }, next.cards); + autoViewAs.expired = card.expired; + } + next.player = player; + } + } + else { + var next = game.createEvent(cardName); + next.setContent(lib.card[cardName].effect); + next._result = result; + next.cards = [card]; + if (!card.viewAs) { + var autoViewAs = next.card = get.autoViewAs(card); + autoViewAs.expired = card.expired; + } + else { + var autoViewAs = next.card = get.autoViewAs({ + name: cardName + }, next.cards); + autoViewAs.expired = card.expired; + } + next.player = player; + } + } + ui.clear(); + card.delete(); + }, + //Gift + //赠予 + gift: () => { + 'step 0'; + event.num = 0; + 'step 1'; + if (num < cards.length) { + event.card = cards[num]; + event.trigger('gift'); + } + else { + game.delayx(); + event.finish(); + } + 'step 2'; + if (event.deniedGifts.includes(card)) { + game.log(target, '拒绝了', player, '赠予的', card); + event.trigger('giftDeny'); + player.loseToDiscardpile(card).log = false; + event.trigger('giftDenied'); + return; + } + game.log(player, '将', card, '赠予了', target); + player.$give(card, target, false); + game.delay(0.5); + event.trigger('giftAccept'); + if (get.type(card, false) == 'equip') target.equip(card).log = false; + else target.gain(card, player).visible = true; + event.trigger('giftAccepted'); + 'step 3'; + event.num++; + event.goto(1); + }, + //Recast + //重铸 + recast: () => { + 'step 0'; + game.log(player, '重铸了', cards); + if (typeof event.recastingLose != 'function') return; + event.trigger('recastingLose'); + event.recastingLose(player, cards); + event.trigger('recastingLost'); + event.recastingLosingEvents.push(...event.next.filter(value => value.name != 'arrangeTrigger')); + 'step 1'; + event.trigger('recast'); + 'step 2'; + if (typeof event.recastingGain != 'function') return; + event.trigger('recastingGain'); + event.recastingGain(player, cards); + event.trigger('recastingGained'); + event.recastingGainingEvents.push(...event.next.filter(value => value.name != 'arrangeTrigger')); + }, + //装备栏相关 + disableEquip: function () { + 'step 0'; + event.cards = []; + event.num = 0; + event.slotsx = []; + if (get.is.mountCombined()) { + event.slots.forEach(type => { + if (type == 'equip3' || type == 'equip4') event.slotsx.add('equip3_4'); + else event.slotsx.add(type); + }); + } + else { + event.slotsx.addArray(event.slots); + } + event.slotsx.sort(); + if (!event.slots.length) event.finish(); + 'step 1'; + var slot = event.slotsx[event.num]; + var slot_key = slot; + var left = player.countEnabledSlot(slot), lose; + if (slot == 'equip3_4') { + lose = Math.min(left, Math.max(get.numOf(event.slots, 'equip3'), get.numOf(event.slots, 'equip4'))); + slot_key = 'equip3'; + } + else lose = Math.min(left, get.numOf(event.slots, slot)); + if (lose <= 0) event.goto(3); + else { + game.log(player, '废除了' + get.cnNumber(lose) + '个', '#g' + get.translation(slot) + '栏'); + if (!player.disabledSlots) player.disabledSlots = {}; + if (!player.disabledSlots[slot_key]) player.disabledSlots[slot_key] = 0; + player.disabledSlots[slot_key] += lose; + var cards = player.getEquips(slot).filter(card => !event.cards.contains(card)); + if (cards.length > 0) { + if (lose >= left) { + event._result = { bool: true, links: cards }; + } + else if (cards.length > (left - lose)) { + var source = event.source, num = (cards.length - (left - lose)); + if (!source || !source.isIn()) source = player; + source.chooseButton([ + '选择' + (player == source ? '你' : get.translation(player)) + '的' + get.cnNumber(num) + '张' + get.translation(slot) + '牌置入弃牌堆', + cards, + ], true, [1, num]).set('filterOk', function () { + var evt = _status.event; + return ui.selected.buttons.reduce(function (num, button) { + if (evt.slot == 'equip3_4') return num + Math.max(get.numOf(get.subtypes(button.link, false), 'equip3'), get.numOf(get.subtypes(button.link, false), 'equip4')); + return num + get.numOf(get.subtypes(button.link, false), evt.slot); + }, 0) == evt.required; + }).set('required', num).set('slot', slot); + } + else event.goto(3); + } + else event.goto(3); + } + 'step 2'; + if (result.bool) event.cards.addArray(result.links); + 'step 3'; + event.num++; + if (event.num < event.slotsx.length) event.goto(1); + else { + player.$syncDisable(); + if (cards.length > 0) player.loseToDiscardpile(cards); + } + }, + enableEquip: function () { + if (!event.slots.length) return; + var slotsx = [...new Set(event.slots)].sort(); + for (var slot of slotsx) { + var lost = player.countDisabledSlot(slot), gain = Math.min(lost, get.numOf(event.slots, slot)); + if (lost <= 0) continue; + else { + game.log(player, '恢复了' + get.cnNumber(gain) + '个', '#g' + get.translation(slot) + '栏'); + if (!player.disabledSlots) player.disabledSlots = {}; + if (!player.disabledSlots[slot]) player.disabledSlots[slot] = 0; + player.disabledSlots[slot] -= gain; + } + } + player.$syncDisable(); + }, + expandEquip: function () { + if (!event.slots.length) return; + var slotsx = []; + if (get.is.mountCombined()) { + event.slots.forEach(type => { + if (type == 'equip3' || type == 'equip4') slotsx.add('equip3_4'); + else slotsx.add(type); + }); + } + else { + slotsx.addArray(event.slots); + } + slotsx.sort(); + for (var slot of slotsx) { + var expand = get.numOf(event.slots, slot), slot_key = slot; + if (slot == 'equip3_4') { + expand = Math.max(get.numOf(event.slots, 'equip3'), get.numOf(event.slots, 'equip4')); + slot_key = 'equip3'; + } + game.log(player, '获得了' + get.cnNumber(expand) + '个额外的', '#g' + get.translation(slot) + '栏'); + if (!player.expandedSlots) player.expandedSlots = {}; + if (!player.expandedSlots[slot_key]) player.expandedSlots[slot_key] = 0; + player.expandedSlots[slot_key] += expand; + } + player.$syncExpand(); + }, + //选择顶装备要顶的牌 + replaceEquip: function () { + 'step 0'; + event.cards = []; + var types = get.subtypes(card, false); + if (types.length) { + var info = get.info(card, false); + if (info.customSwap) { + event.cards.addArray(player.getCards('e', function (card) { + return info.customSwap(card); + })); + event.goto(4); + } + else { + event.num = 0; + event.slots = types; + event.slotsx = []; + if (get.is.mountCombined()) { + event.slots.forEach(type => { + if (type == 'equip3' || type == 'equip4') event.slotsx.add('equip3_4'); + else event.slotsx.add(type); + }); + } + else { + event.slotsx.addArray(event.slots); + } + event.slotsx.sort(); + } + } + else event.goto(4); + 'step 1'; + var slot = event.slotsx[event.num]; + var left = player.countEquipableSlot(slot), lose; + if (slot == 'equip3_4') lose = Math.min(left, Math.max(get.numOf(event.slots, 'equip3'), get.numOf(event.slots, 'equip4'))); + else lose = Math.min(left, get.numOf(event.slots, slot)); + if (lose <= 0) event.goto(3); + else { + var cards = player.getEquips(slot).filter(card => { + return !event.cards.contains(card) && lib.filter.canBeReplaced(card, player); + }); + if (cards.length > 0) { + if (lose >= left) { + event._result = { bool: true, links: cards }; + } + else if (cards.length > (left - lose)) { + var source = event.source, num = (cards.length - (left - lose)); + if (!source || !source.isIn()) source = player; + source.chooseButton([ + '选择替换掉' + get.cnNumber(num) + '张' + get.translation(slot) + '牌', + cards, + ], true, [1, num]).set('filterOk', function () { + var evt = _status.event; + return ui.selected.buttons.reduce(function (num, button) { + if (evt.slot == 'equip3_4') return num + Math.max(get.numOf(get.subtypes(button.link, false), 'equip3'), get.numOf(get.subtypes(button.link, false), 'equip4')); + return num + get.numOf(get.subtypes(button.link, false), evt.slot); + }, 0) == evt.required; + }).set('required', num).set('slot', slot); + } + else event.goto(3); + } + else event.goto(3); + } + 'step 2'; + if (result.bool) event.cards.addArray(result.links); + 'step 3'; + event.num++; + if (event.num < event.slotsx.length) event.goto(1); + 'step 4'; + event.result = cards; + }, + //装备牌 + equip: function () { + "step 0"; + var owner = get.owner(card); + if (owner) { + event.owner = owner; + owner.lose(card, ui.special, 'visible').set('type', 'equip').set('getlx', false); + } + else if (get.position(card) == 'c') event.updatePile = true; + "step 1"; + if (event.cancelled) { + event.finish(); + return; + } + if (card.willBeDestroyed('equip', player, event)) { + card.selfDestroy(event); + event.finish(); + return; + } + else if (event.owner) { + if (event.owner.getCards('hejsx').contains(card)) { + event.finish(); + return; + } + } + if (event.draw) { + game.delay(0, 300); + player.$draw(card); + } + "step 2"; + if (card.clone) { + game.broadcast(function (card, player) { + if (card.clone) { + card.clone.moveDelete(player); + } + }, card, player); + card.clone.moveDelete(player); + game.addVideo('gain2', player, get.cardsInfo([card.clone])); + } + player.equiping = true; + "step 3"; + var info = get.info(card, false); + var next = game.createEvent('replaceEquip'); + next.player = player; + next.card = card; + next.setContent(info.replaceEquip || 'replaceEquip'); + "step 4"; + var info = get.info(card, false); + if (get.itemtype(result) == 'cards') { + player.lose(result, 'visible').set('type', 'equip').set('getlx', false).swapEquip = true; + if (info.loseThrow) { + player.$throw(result, 1000); + } + event.swapped = true; + } + "step 5"; + //if(player.isMin() || player.countCards('e',{subtype:get.subtype(card)})){ + if (player.isMin() || !player.canEquip(card)) { + event.finish(); + game.cardsDiscard(card); + delete player.equiping; + return; + } + var subtype = get.subtype(card); + if (subtype == 'equip6') subtype = 'equip3'; + game.broadcastAll(function (type) { + if (lib.config.background_audio) { + game.playAudio('effect', type); + } + }, subtype); + player.$equip(card); + game.addVideo('equip', player, get.cardInfo(card)); + if (event.log != false) game.log(player, '装备了', card); + if (event.updatePile) game.updateRoundNumber(); + "step 6"; + var info = get.info(card, false); + if (info.onEquip && (!info.filterEquip || info.filterEquip(card, player))) { + if (Array.isArray(info.onEquip)) { + for (var i = 0; i < info.onEquip.length; i++) { + var next = game.createEvent('equip_' + card.name); + next.setContent(info.onEquip[i]); + next.player = player; + next.card = card; + } + } + else { + var next = game.createEvent('equip_' + card.name); + next.setContent(info.onEquip); + next.player = player; + next.card = card; + } + if (info.equipDelay != false) game.delayx(); + } + delete player.equiping; + if (event.delay) { + game.delayx(); + } + }, + //装备栏 END + changeGroup: function () { + 'step 0'; + event.originGroup = player.group; + if (!event.group) event.group = player.group; + var group = event.group; + player.getHistory('custom').push(event); + if (event.broadcast !== false) { + game.broadcast(function (player, group) { + player.group = group; + player.node.name.dataset.nature = get.groupnature(group); + }, player, group); + } + player.group = group; + player.node.name.dataset.nature = get.groupnature(group); + if (event.log !== false) game.log(player, '将势力变为了', '#y' + get.translation(group + 2)); + }, + chooseToDebate: function () { + 'step 0'; + event.targets = event.list.filter(function (i) { + return i.countCards('h') > 0; + }); + if (!event.targets.length) event.result = { bool: false }; + else { + var next = player.chooseCardOL(event.targets, get.translation(player) + '发起了议事,请选择展示的手牌', true).set('type', 'debate').set('source', player).set('ai', event.ai || function (card) { + return Math.random(); + }).set('aiCard', event.aiCard || function (target) { + var hs = target.getCards('h'); + return { bool: true, cards: [hs.randomGet()] }; + }); + next._args.remove('glow_result'); + } + 'step 1'; + var red = [], black = []; + event.videoId = lib.status.videoId++; + for (var i = 0; i < event.targets.length; i++) { + var card = result[i].cards[0], target = event.targets[i]; + if (get.color(card, target) == 'red') red.push([target, card]); + else black.push([target, card]); + } + event.red = red; event.black = black; + if (red.length) { + game.log(red.map(function (i) { + return i[0]; + }), '意见为红色,展示了', red.map(function (i) { + return i[1]; + })); + } + else game.log('#b无人', '意见为红色'); + if (black.length) { + game.log(black.map(function (i) { + return i[0]; + }), '意见为', '#g黑色', ',展示了', black.map(function (i) { + return i[1]; + })); + } + else game.log('#b无人', '意见为', '#g黑色'); + game.broadcastAll(function (name, id, redArgs, blackArgs) { + var dialog = ui.create.dialog(name + '发起了议事', 'hidden', 'forcebutton'); + dialog.videoId = id; + dialog.classList.add('scroll1'); + dialog.classList.add('scroll2'); + dialog.classList.add('fullwidth'); + dialog.classList.add('fullheight'); + dialog.buttonss = []; + + var list = ['意见为红色的角色', '意见为黑色的角色']; + for (var i = 0; i < list.length; i++) { + dialog.add('
    ' + list[i] + '
    '); + var buttons = ui.create.div('.buttons', dialog.content); + dialog.buttonss.push(buttons); + buttons.classList.add('popup'); + buttons.classList.add('guanxing'); + } + var func = function (target) { + if (target._tempTranslate) return target._tempTranslate; + var name = target.name; + if (lib.translate[name + '_ab']) return lib.translate[name + '_ab']; + return get.translation(name); + }; + for (var i = 0; i < redArgs.length; i++) { + var list = redArgs[i]; + var button = ui.create.button(list[1], 'card', dialog.buttonss[0]); + button.querySelector('.info').innerHTML = func(list[0]); + } + for (var i = 0; i < blackArgs.length; i++) { + var list = blackArgs[i]; + var button = ui.create.button(list[1], 'card', dialog.buttonss[1]); + button.querySelector('.info').innerHTML = func(list[0]); + } + dialog.open(); + }, get.translation(player), event.videoId, red, black); + game.delay(4); + 'step 2'; + game.broadcastAll('closeDialog', event.videoId); + var opinion = null; + if (event.red.length > event.black.length) opinion = 'red'; + else if (event.red.length < event.black.length) opinion = 'black'; + if (opinion) game.log(player, '本次发起的议事结果为', opinion == 'red' ? '红色' : '#g黑色'); + else game.log(player, '本次发起的议事无结果'); + event.result = { + bool: true, + opinion: opinion, + red: event.red, + black: event.black, + targets: event.targets + }; + 'step 3'; + if (event.callback) { + var next = game.createEvent('debateCallback', false); + next.player = player; + next.debateResult = get.copy(event.result); + next.setContent(event.callback); + } + }, + delay: function () { + game[event.name].apply(game, event._args); + }, + chooseCooperationFor: function () { + 'step 0'; + var next = player.chooseButton([ + '选择和' + get.translation(target) + '的协力方式', + [event.cardlist, 'vcard'], + ], true); + next.set('ai', event.ai || function () { + return Math.random(); + }); + 'step 1'; + if (result.bool) { + player.cooperationWith(target, result.links[0][2].slice(12), event.reason); + } + }, + chooseToPlayBeatmap: function () { + 'step 0'; + if (game.online) return; + if (_status.connectMode) event.time = lib.configOL.choose_timeout; + event.videoId = lib.status.videoId++; + //给其他角色看的演奏框 + game.broadcastAll(function (player, id, beatmap) { + if (_status.connectMode) lib.configOL.choose_timeout = (Math.ceil((beatmap.timeleap[beatmap.timeleap.length - 1] + beatmap.speed * 100 + (beatmap.current || 0)) / 1000) + 5).toString(); + if (player == game.me) return; + var str = get.translation(player) + '正在演奏《' + beatmap.name + '》...'; + if (!_status.connectMode) str += '
    (点击屏幕可以跳过等待AI操作)'; + ui.create.dialog(str).videoId = id; + if (ui.backgroundMusic) ui.backgroundMusic.pause(); + if (lib.config.background_audio) { + if (beatmap.filename.startsWith('ext:')) game.playAudio(beatmap.filename); + else game.playAudio('effect', beatmap.filename); + } + }, player, event.videoId, event.beatmap); + 'step 1'; + var beatmap = event.beatmap; + if (event.isMine()) { + var timeleap = beatmap.timeleap.slice(0); + var current = beatmap.current; + //获取两个音符的时间间隔 + var getTimeout = function () { + var time = timeleap.shift(); + var out = time - current; + current = time; + return out; + }; + //初始化一堆变量 + var score = 0; + var added = timeleap.length; + var number_of_tracks = beatmap.number_of_tracks || 6; + var custom_mapping = Array.isArray(beatmap.mapping); + var mapping = custom_mapping ? beatmap.mapping.slice() : beatmap.mapping; + var hitsound = beatmap.hitsound || 'hitsound.wav'; + if (hitsound.startsWith('ext:')) hitsound = lib.assetURL + 'extension/' + hitsound.slice(4); + else hitsound = lib.assetURL + 'audio/effect/' + hitsound; + var hitsound_audio = new Audio(hitsound); + hitsound_audio.volume = 0.25; + var abs = 1; + var node_pos = 0; + if (custom_mapping) { + node_pos = mapping.shift(); + } + else if (mapping == 'random') { + abs = get.rand(number_of_tracks); + node_pos = abs; + } + var combo = 0; + var max_combo = 0; + var nodes = []; + var roundmenu = false; + //隐藏菜单按钮 + if (ui.roundmenu && ui.roundmenu.display != 'none') { + roundmenu = true; + ui.roundmenu.style.display = 'none'; + } + if (ui.backgroundMusic) ui.backgroundMusic.pause(); + var event = _status.event; + event.settleed = false; + //建个框框 + var dialog = ui.create.dialog('forcebutton', 'hidden'); + event.dialog = dialog; + event.dialog.textPrompt = event.dialog.add('
    ' + (beatmap.prompt || '在音符滑条和底部判定区重合时点击屏幕!') + '
    '); + event.switchToAuto = function () { }; + event.dialog.classList.add('fixed'); + event.dialog.classList.add('scroll1'); + event.dialog.classList.add('scroll2'); + event.dialog.classList.add('fullwidth'); + event.dialog.classList.add('fullheight'); + event.dialog.classList.add('noupdate'); + event.dialog.style.overflow = 'hidden'; + //结束后操作 + event.settle = function () { + if (event.settleed) return; + event.settleed = true; + //评分 + var acc = Math.floor(score / (added * 5) * 100); + if (!Array.isArray(lib.config.choose_to_play_beatmap_accuracies)) lib.config.choose_to_play_beatmap_accuracies = []; + lib.config.choose_to_play_beatmap_accuracies.push(acc); + if (lib.config.choose_to_play_beatmap_accuracies.length > 5) lib.config.choose_to_play_beatmap_accuracies.shift(); + game.saveConfigValue("choose_to_play_beatmap_accuracies"); + var rank; + if (acc == 100) rank = ['SS', 'metal']; + else if (acc >= 94) rank = ['S', 'orange']; + else if (acc >= 87) rank = ['A', 'wood']; + else if (acc >= 80) rank = ['B', 'water']; + else if (acc >= 65) rank = ['C', 'thunder']; + else rank = ['D', 'fire']; + event.dialog.textPrompt.innerHTML = '
    演奏结束!
    最大连击数:' + max_combo + ' 精准度:' + acc + '%
    '; + game.me.$fullscreenpop('演奏评级:' + rank[0] + '', null, null, false); + //返回结果并继续游戏 + setTimeout(function () { + event._result = { + bool: true, + accuracy: acc, + rank: rank, + }; + event.dialog.close(); + game.resume(); + _status.imchoosing = false; + if (roundmenu) ui.roundmenu.style.display = ''; + if (ui.backgroundMusic) ui.backgroundMusic.play(); + hitsound_audio.remove(); + }, 1000); + }; + event.dialog.open(); + //操作容差 + var height = event.dialog.offsetHeight; + var width = event.dialog.offsetWidth; + var range1 = (beatmap.range1 || [90, 110]); + var range2 = (beatmap.range2 || [93, 107]); + var range3 = (beatmap.range3 || [96, 104]); + var speed = (beatmap.speed || 25); + //初始化底部的条子 + var judger = ui.create.div(''); + judger.style["background-image"] = (beatmap.judgebar_color || 'linear-gradient(rgba(240, 235, 3, 1), rgba(230, 225, 5, 1))'); + judger.style["border-radius"] = '3px'; + judger.style.position = 'absolute'; + judger.style.opacity = '0.3'; + var heightj = Math.ceil(height * (beatmap.judgebar_height || 0.1)); + judger.style.height = heightj + 'px'; + judger.style.width = width + 'px'; + judger.style.left = '0px'; + judger.style.top = (height - heightj) + 'px'; + event.dialog.appendChild(judger); + //生成每个音符 + var addNode = function () { + var node = ui.create.div(''); + nodes.push(node); + node.style["background-image"] = (beatmap.node_color || 'linear-gradient(rgba(120, 120, 240, 1), rgba(100, 100, 230, 1))'); + node.style["border-radius"] = '3px'; + node.style.position = 'absolute'; + node.style.height = Math.ceil(height / 10) + 'px'; + node.style.width = Math.ceil(width / number_of_tracks) - 10 + 'px'; + node._position = get.utc(); + event.dialog.appendChild(node); + + node.style.left = Math.ceil(width * node_pos / number_of_tracks + 5) + 'px'; + node.style.top = '-' + (Math.ceil(height / 10)) + 'px'; + ui.refresh(node); + node.style.transition = 'all ' + speed * 110 + 'ms linear'; + node.style.transform = 'translateY(' + Math.ceil(height * 1.1) + 'px)'; + node.timeout = setTimeout(function () { + if (nodes.contains(node)) { + nodes.remove(node); + player.popup('Miss', 'fire', false); + if (player.damagepopups.length) player.$damagepop(); + combo = 0; + } + }, speed * 110); + + if (custom_mapping) { + node_pos = mapping.shift(); + } + else if (mapping == 'random') { + while (node_pos == abs) { + node_pos = get.rand(number_of_tracks); + } + abs = node_pos; + } + else { + node_pos += abs; + if (node_pos > number_of_tracks - 1) { + abs = -1; + node_pos = number_of_tracks - 2; + } + else if (node_pos < 0) { + abs = 1; + node_pos = 1; + } + } + if (timeleap.length) { + setTimeout(function () { + addNode(); + }, getTimeout()); + } + else { + setTimeout(function () { + event.settle(); + }, speed * 110 + 100); + } + }; + //点击时的判断操作 + var click = function () { + if (!nodes.length) return; + for (var node of nodes) { + //用生成到点击的时间差来判断距离 + var time = get.utc(); + var top = (time - node._position) / speed; + if (top > range1[1]) continue; + else if (top < range1[0]) return; + nodes.remove(node); + clearTimeout(node.timeout); + node.style.transform = ''; + node.style.transition = 'all 0s'; + node.style.top = (height * ((top - 10) / 100)) + 'px'; + ui.refresh(node); + node.style.transition = 'all 0.5s'; + node.style.transform = 'scale(1.2)'; + node.delete(); + if (top >= range3[0] && top < range3[1]) { + score += 5; + player.popup('Perfect', 'orange', false); + } + else if (top >= range2[0] && top < range2[1]) { + score += 3; + player.popup('Great', 'wood', false); + } + else { + score += 1; + player.popup('Good', 'soil', false); + } + if (player.damagepopups.length) player.$damagepop(); + combo++; + max_combo = Math.max(combo, max_combo); + hitsound_audio.currentTime = 0; + if (hitsound_audio.paused) Promise.resolve(hitsound_audio.play()).catch(() => void 0); + break; + } + }; + document.addEventListener(lib.config.touchscreen ? 'touchstart' : 'mousedown', click); + + game.pause(); + game.countChoose(); + setTimeout(() => { + if (!lib.config.background_audio) return; + if (beatmap.filename.startsWith('ext:')) game.playAudio(beatmap.filename); + else game.playAudio('effect', beatmap.filename); + }, Math.floor(speed * 100 * (0.9 + beatmap.judgebar_height)) + beatmap.current); + setTimeout(function () { + addNode(); + }, getTimeout()); + } + else if (event.isOnline()) { + event.send(); + } + else { + game.pause(); + game.countChoose(); + var settle = function () { + _status.imchoosing = false; + //Algorithm: Generate the random number range using the mean and the half standard deviation of accuracies of the player's last 5 plays + //算法:用玩家的上5次游玩的准确率的平均数和半标准差生成随机数范围 + var choose_to_play_beatmap_accuracies = (lib.config.choose_to_play_beatmap_accuracies || []).concat(Array.from({ + length: 6 - (lib.config.choose_to_play_beatmap_accuracies || []).length + }, () => get.rand(70, 100))); + var mean = Math.round(choose_to_play_beatmap_accuracies.reduce((previousValue, currentValue) => previousValue + currentValue) / choose_to_play_beatmap_accuracies.length); + var half_standard_deviation = Math.round(Math.sqrt(choose_to_play_beatmap_accuracies.reduce((previousValue, currentValue) => previousValue + Math.pow(currentValue - mean, 2), 0)) / 2); + var acc = Math.min(Math.max(get.rand.apply(get, beatmap.aiAcc || [mean - half_standard_deviation - get.rand(0, half_standard_deviation), mean + half_standard_deviation + get.rand(0, half_standard_deviation)]), 0), 100); + var rank; + if (acc == 100) rank = ['SS', 'metal']; + else if (acc >= 94) rank = ['S', 'orange']; + else if (acc >= 87) rank = ['A', 'green']; + else if (acc >= 80) rank = ['B', 'water']; + else if (acc >= 65) rank = ['C', 'thunder']; + else rank = ['D', 'fire']; + event._result = { + bool: true, + accuracy: acc, + rank: rank, + }; + if (event.dialog) event.dialog.close(); + if (event.control) event.control.close(); + game.resume(); + }; + var song_duration = beatmap.timeleap[beatmap.timeleap.length - 1] + beatmap.speed * 100 + 1000 + (beatmap.current || 0); + var settle_timeout = setTimeout(settle, song_duration); + if (!_status.connectMode) { + var skip_timeout; + var skip = () => { + settle(); + Array.from(ui.window.getElementsByTagName('audio')).forEach(audio => { + if (audio.currentSrc.includes(beatmap.filename.startsWith('ext:') ? beatmap.name : beatmap.filename)) audio.remove(); + }); + document.removeEventListener(lib.config.touchscreen ? 'touchend' : 'click', skip); + clearTimeout(settle_timeout); + clearTimeout(skip_timeout); + }; + document.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', skip); + skip_timeout = setTimeout(() => document.removeEventListener(lib.config.touchscreen ? 'touchend' : 'click', skip), song_duration); + } + } + 'step 2'; + game.broadcastAll(function (id, time) { + if (_status.connectMode) lib.configOL.choose_timeout = time; + var dialog = get.idDialog(id); + if (dialog) { + dialog.close(); + } + if (ui.backgroundMusic) ui.backgroundMusic.play(); + }, event.videoId, event.time); + var result = event.result || result; + event.result = result; + }, + chooseToMove: function () { + 'step 0'; + if (event.chooseTime && _status.connectMode && !game.online) { + event.time = lib.configOL.choose_timeout; + game.broadcastAll(function (time) { + lib.configOL.choose_timeout = time; + }, event.chooseTime); + } + if (event.isMine()) { + delete ui.selected.guanxing_button; + var list = event.list, filterMove = event.filterMove, filterOk = event.filterOk; + _status.imchoosing = true; + var event = _status.event; + event.settleed = false; + event.dialog = ui.create.dialog(event.prompt || '请选择要操作的牌', 'hidden', 'forcebutton'); + event.switchToAuto = function () { + if (!filterOk(event.moved)) { + if (!event.forced) event._result = { bool: false }; + else event._result = 'ai'; + } + else { + event._result = { + bool: true, + moved: event.moved, + }; + } + event.dialog.close(); + if (ui.confirm) ui.confirm.close(); + game.resume(); + _status.imchoosing = false; + setTimeout(function () { + ui.arena.classList.remove('choose-to-move'); + }, 500); + }; + event.dialog.classList.add('scroll1'); + event.dialog.classList.add('scroll2'); + event.dialog.classList.add('fullwidth'); + if (list.length > 1) { + ui.arena.classList.add('choose-to-move'); + event.dialog.classList.add('fullheight'); + } + + event.moved = []; + var buttonss = []; + event.buttonss = buttonss; + var updateButtons = function () { + for (var i of buttonss) { + event.moved[i._link] = get.links(Array.from(i.childNodes)); + if (i.textPrompt) i.previousSibling.innerHTML = ('
    ' + i.textPrompt(event.moved[i._link]) + '
    '); + } + if (filterOk(event.moved)) { + ui.create.confirm('o'); + } + else { + if (!event.forced) ui.create.confirm('c'); + else if (ui.confirm) ui.confirm.close(); + } + }; + var clickButtons = function () { + if (!ui.selected.guanxing_button) return; + if (ui.selected.guanxing_button.parentNode == this) return; + if (!filterMove(ui.selected.guanxing_button, this._link, event.moved)) return; + ui.selected.guanxing_button.classList.remove('glow2'); + this.appendChild(ui.selected.guanxing_button); + delete ui.selected.guanxing_button; + updateButtons(); + }; + + for (var i = 0; i < list.length; i++) { + var tex = event.dialog.add('
    ' + list[i][0] + '
    '); + tex.classList.add('choosetomove'); + var buttons = ui.create.div('.buttons', event.dialog.content, clickButtons); + buttonss.push(buttons); + buttons.classList.add('popup'); + buttons.classList.add('guanxing'); + buttons._link = i; + if (list[i][1]) { + if (get.itemtype(list[i][1]) == 'cards') { + var cardsb = ui.create.buttons(list[i][1], 'card', buttons); + if (list[i][2] && typeof list[i][2] == 'string') { + for (var ij of cardsb) ij.node.gaintag.innerHTML = get.translation(list[i][2]); + } + } + else if (list[i][1].length == 2) { + ui.create.buttons(list[i][1][0], list[i][1][1], buttons); + } + } + if (list[i][2] && typeof list[i][2] == 'function') buttons.textPrompt = list[i][2]; + } + var tex = event.dialog.add('
    点击两张牌以交换位置;点击一张牌并点击其他区域以移动卡牌
    '); + tex.classList.add('choosetomove'); + + event.dialog.open(); + updateButtons(); + + event.custom.replace.button = function (button) { + var node = button.parentNode; + if (!buttonss.contains(node)) return; + if (!ui.selected.guanxing_button) { + ui.selected.guanxing_button = button; + button.classList.add('glow2'); + return; + } + if (ui.selected.guanxing_button == button) { + button.classList.remove('glow2'); + delete ui.selected.guanxing_button; + return; + } + if (!filterMove(button, ui.selected.guanxing_button, event.moved)) return; + var par1 = ui.selected.guanxing_button.parentNode, ind1 = ui.selected.guanxing_button.nextSibling, par2 = button.parentNode, ind2 = button.nextSibling; + ui.selected.guanxing_button.classList.remove('glow2'); + par1.insertBefore(button, ind1); + par2.insertBefore(ui.selected.guanxing_button, ind2); + delete ui.selected.guanxing_button; + updateButtons(); + }; + event.custom.replace.confirm = function (bool) { + if (bool) event._result = { + bool: true, + moved: event.moved, + }; + else event._result = { bool: false }; + event.dialog.close(); + if (ui.confirm) ui.confirm.close(); + game.resume(); + _status.imchoosing = false; + setTimeout(function () { + ui.arena.classList.remove('choose-to-move'); + }, 500); + }; + + game.pause(); + game.countChoose(); + event.choosing = true; + } + else if (event.isOnline()) { + event.send(); + } + else { + event.result = 'ai'; + } + "step 1"; + if (event.time) game.broadcastAll(function (time) { + lib.configOL.choose_timeout = time; + }, event.time); + var result = event.result || result; + if ((!result || result == 'ai' || (event.forced && !result.bool)) && event.processAI) { + var moved = event.processAI(event.list); + if (moved) result = { + bool: true, + moved: moved, + }; + else result = { bool: false }; + } + event.result = result; + }, + showCharacter: function () { + 'step 0'; + event.trigger('showCharacterEnd'); + 'step 1'; + event.trigger('showCharacterAfter'); + if (get.mode() == 'identity' && player.isZhu) event.trigger('zhuUpdate'); + }, + removeCharacter: function () { + player.$removeCharacter(event.num); + }, + chooseUseTarget: function () { + 'step 0'; + if (get.is.object(card) && !event.viewAs) card.isCard = true; + if (cards && get.itemtype(card) != 'card') { + card = get.copy(card); + card.cards = cards.slice(0); + event.card = card; + } + if (!lib.filter.cardEnabled(card, player) || (event.addCount !== false && !lib.filter.cardUsable(card, player))) { + event.result = { bool: false }; + event.finish(); + return; + } + var info = get.info(card); + var range; + if (!info.notarget) { + var select = get.copy(info.selectTarget); + range = get.select(select); + if (event.selectTarget) range = get.select(event.selectTarget); + game.checkMod(card, player, range, 'selectTarget', player); + } + if (info.notarget || range[1] <= -1) { + if (!info.notarget && range[1] <= -1) { + for (var i = 0; i < targets.length; i++) { + if (event.filterTarget) { + if (!event.filterTarget(card, player, targets[i])) { + targets.splice(i--, 1); + } + } + else if (!player.canUse(card, targets[i], event.nodistance ? false : null, event.addCount === false ? null : true)) { + targets.splice(i--, 1); + } + } + if (targets.length) { + event.targets2 = targets; + } + else { + event.finish(); + return; + } + } + else event.targets2 = []; + if (event.forced) { + event._result = { bool: true }; + return; + } + else { + var next = player.chooseBool(); + next.set('prompt', event.prompt || ('是否' + (event.targets2.length ? '对' : '') + get.translation(event.targets2) + '使用' + get.translation(card) + '?')); + if (event.hsskill) next.setHiddenSkill(event.hsskill); + if (event.prompt2) next.set('prompt2', event.prompt2); + next.ai = function () { + var eff = 0; + for (var i = 0; i < event.targets2.length; i++) { + eff += get.effect(event.targets2[i], card, player, player); + } + return eff > 0; + }; + } + } + else { + if (event.filterTarget) { + var targets = game.filterPlayer(function (current) { + return event.filterTarget(card, player, current); + }); + if (targets.length < range[0]) { + event._result = { bool: false }; + return; + } + else if (!info.complexTarget && targets.length == range[0] && range[0] == range[1]) { + event.targets2 = targets; + event._result = { bool: true }; + return; + } + } + var next = player.chooseTarget(); + next.set('_get_card', card); + next.set('filterTarget', event.filterTarget || function (card, player, target) { + if (!_status.event.targets.contains(target)) return false; + if (!_status.event.nodistance && !lib.filter.targetInRange(card, player, target)) return false; + return lib.filter.targetEnabledx(card, player, target); + }); + next.set('ai', event.ai || get.effect_use); + next.set('selectTarget', event.selectTarget || lib.filter.selectTarget); + if (event.nodistance) next.set('nodistance', true); + if (event.forced) next.set('forced', true); + if (event.addCount !== false) next.set('addCount_extra', true); + next.set('targets', targets); + next.set('prompt', event.prompt || ('选择' + get.translation(card) + '的目标')); + if (event.prompt2) next.set('prompt2', event.prompt2); + if (event.hsskill) next.setHiddenSkill(event.hsskill); + } + 'step 1'; + if (result.bool) { + event.result = { + bool: true, + targets: event.targets2 || result.targets, + }; + var args = [card, event.targets2 || result.targets]; + if (cards) args.push(cards.slice()); + var next = player.useCard(...args); + next.oncard = event.oncard; + if (cards) next.cards = cards.slice(0); + if (event.nopopup) next.nopopup = true; + if (event.animate === false) next.animate = false; + if (event.throw === false) next.throw = false; + if (event.addCount === false) next.addCount = false; + if (event.noTargetDelay) next.targetDelay = false; + if (event.nodelayx) next.delayx = false; + if (event.logSkill) { + if (typeof event.logSkill == 'string') { + next.skill = event.logSkill; + } + else if (Array.isArray(event.logSkill)) { + player.logSkill.apply(player, event.logSkill); + } + } + } + else event.result = { bool: false }; + }, + chooseToDuiben: function () { + 'step 0'; + if (!event.namelist) event.namelist = ['全军出击', '分兵围城', '奇袭粮道', '开城诱敌']; + game.broadcastAll(function (list) { + var list2 = ['db_atk1', 'db_atk2', 'db_def1', 'db_def2']; + for (var i = 0; i < 4; i++) { + lib.card[list2[i]].image = 'card/' + list2[i] + (list[0] == '全军出击' ? '' : '_' + list[i]); + lib.translate[list2[i]] = list[i]; + } + }, event.namelist); + if (!event.title) event.title = '对策'; + game.log(player, '向', target, '发起了', '#y' + event.title); + if (!event.ai) event.ai = function () { return 1 + Math.random(); }; + if (_status.connectMode) { + player.chooseButtonOL([ + [player, [event.title + ':请选择一种策略', [[['', '', 'db_def2'], ['', '', 'db_def1']], 'vcard']], true], + [target, [event.title + ':请选择一种策略', [[['', '', 'db_atk1'], ['', '', 'db_atk2']], 'vcard']], true] + ], function () { }, event.ai).set('switchToAuto', function () { + _status.event.result = 'ai'; + }).set('processAI', function () { + var buttons = _status.event.dialog.buttons; + return { + bool: true, + links: [buttons.randomGet().link], + }; + }); + } + 'step 1'; + if (_status.connectMode) { + event.mes = result[player.playerid].links[0][2]; + event.tes = result[target.playerid].links[0][2]; + event.goto(4); + } + else { + player.chooseButton([event.title + ':请选择一种策略', [[['', '', 'db_def2'], ['', '', 'db_def1']], 'vcard']], true).ai = event.ai; + } + 'step 2'; + event.mes = result.links[0][2]; + target.chooseButton([event.title + ':请选择一种策略', [[['', '', 'db_atk1'], ['', '', 'db_atk2']], 'vcard']], true).ai = event.ai; + 'step 3'; + event.tes = result.links[0][2]; + 'step 4'; + game.broadcast(function () { + ui.arena.classList.add('thrownhighlight'); + }); + ui.arena.classList.add('thrownhighlight'); + game.addVideo('thrownhighlight1'); + target.$compare(game.createCard(event.tes, '', ''), player, game.createCard(event.mes, '', '')); + game.log(target, '选择的策略为', '#g' + get.translation(event.tes)); + game.log(player, '选择的策略为', '#g' + get.translation(event.mes)); + game.delay(0, 1500); + 'step 5'; + var mes = event.mes.slice(6); + var tes = event.tes.slice(6); + var str; + if (mes == tes) { + str = get.translation(player) + event.title + '成功'; + player.popup('胜', 'wood'); + target.popup('负', 'fire'); + game.log(player, '#g胜'); + event.result = { bool: true }; + } + else { + str = get.translation(player) + event.title + '失败'; + target.popup('胜', 'wood'); + player.popup('负', 'fire'); + game.log(target, '#g胜'); + event.result = { bool: false }; + } + event.result.player = event.mes; + event.result.target = event.tes; + game.broadcastAll(function (str) { + var dialog = ui.create.dialog(str); + dialog.classList.add('center'); + setTimeout(function () { + dialog.close(); + }, 1000); + }, str); + game.trySkillAudio(event.getParent().name + '_' + (event.result.bool ? 'true' + mes : 'false'), player); + game.delay(2); + 'step 6'; + game.broadcastAll(function () { + ui.arena.classList.remove('thrownhighlight'); + }); + game.addVideo('thrownhighlight2'); + if (event.clear !== false) { + game.broadcastAll(ui.clear); + } + }, + chooseToPSS: function () { + 'step 0'; + game.log(player, '对', target, '发起了猜拳'); + if (_status.connectMode) { + player.chooseButtonOL([ + [player, ['猜拳:请选择一种手势', [[['', '', 'pss_stone'], ['', '', 'pss_scissor'], ['', '', 'pss_paper']], 'vcard']], true], + [target, ['猜拳:请选择一种手势', [[['', '', 'pss_stone'], ['', '', 'pss_scissor'], ['', '', 'pss_paper']], 'vcard']], true] + ], function () { }, function () { return 1 + Math.random(); }).set('switchToAuto', function () { + _status.event.result = 'ai'; + }).set('processAI', function () { + var buttons = _status.event.dialog.buttons; + return { + bool: true, + links: [buttons.randomGet().link], + }; + }); + } + 'step 1'; + if (_status.connectMode) { + event.mes = result[player.playerid].links[0][2]; + event.tes = result[target.playerid].links[0][2]; + event.goto(4); + } + else { + player.chooseButton(['猜拳:请选择一种手势', [[['', '', 'pss_stone'], ['', '', 'pss_scissor'], ['', '', 'pss_paper']], 'vcard']], true).ai = function () { return 1 + Math.random(); }; + } + 'step 2'; + event.mes = result.links[0][2]; + target.chooseButton(['猜拳:请选择一种手势', [[['', '', 'pss_stone'], ['', '', 'pss_scissor'], ['', '', 'pss_paper']], 'vcard']], true).ai = function () { return 1 + Math.random(); }; + 'step 3'; + event.tes = result.links[0][2]; + 'step 4'; + game.broadcast(function () { + ui.arena.classList.add('thrownhighlight'); + }); + ui.arena.classList.add('thrownhighlight'); + game.addVideo('thrownhighlight1'); + player.$compare(game.createCard(event.mes, '', ''), target, game.createCard(event.tes, '', '')); + game.log(player, '选择的手势为', '#g' + get.translation(event.mes)); + game.log(target, '选择的手势为', '#g' + get.translation(event.tes)); + game.delay(0, 1500); + 'step 5'; + var mes = event.mes.slice(4); + var tes = event.tes.slice(4); + var str; + if (mes == tes) { + str = '二人平局'; + player.popup('平', 'metal'); + target.popup('平', 'metal'); + game.log('猜拳的结果为', '#g平局'); + event.result = { tie: true }; + } + else { + if ({ paper: 'stone', scissor: 'paper', stone: 'scissor' }[mes] == tes) { + str = get.translation(player) + '胜利'; + player.popup('胜', 'wood'); + target.popup('负', 'fire'); + game.log(player, '#g胜'); + event.result = { bool: true }; + } + else { + str = get.translation(target) + '胜利'; + target.popup('胜', 'wood'); + player.popup('负', 'fire'); + game.log(target, '#g胜'); + event.result = { bool: false }; + } + } + game.broadcastAll(function (str) { + var dialog = ui.create.dialog(str); + dialog.classList.add('center'); + setTimeout(function () { + dialog.close(); + }, 1000); + }, str); + game.delay(2); + 'step 6'; + game.broadcastAll(function () { + ui.arena.classList.remove('thrownhighlight'); + }); + game.addVideo('thrownhighlight2'); + if (event.clear !== false) { + game.broadcastAll(ui.clear); + } + }, + cardsDiscard: function () { + game.getGlobalHistory().cardMove.push(event); + var withPile = false; + for (var i = 0; i < cards.length; i++) { + if (cards[i].willBeDestroyed('discardPile', null, event)) { + cards[i].selfDestroy(event); + continue; + } + if (get.position(cards[i], true) == 'c') withPile = true; + cards[i].discard(); + } + if (withPile) game.updateRoundNumber(); + }, + orderingDiscard: function () { + var cards = event.relatedEvent.orderingCards.slice(0); + for (var i = 0; i < cards.length; i++) { + if (get.position(cards[i], true) != 'o') cards.splice(i--, 1); + } + if (cards.length) game.cardsDiscard(cards); + }, + cardsGotoOrdering: function () { + game.getGlobalHistory().cardMove.push(event); + var withPile = false; + for (var i = 0; i < cards.length; i++) { + if (cards[i].willBeDestroyed('ordering', null, event)) { + cards[i].selfDestroy(event); + continue; + } + if (get.position(cards[i], true) == 'c') withPile = true; + cards[i].fix(); + ui.ordering.appendChild(cards[i]); + } + if (withPile) game.updateRoundNumber(); + var evt = event.relatedEvent || event.getParent(); + if (!evt.orderingCards) evt.orderingCards = []; + if (!evt.noOrdering && !evt.cardsOrdered) { + evt.cardsOrdered = true; + var next = game.createEvent('orderingDiscard', false, evt.getParent()); + next.relatedEvent = evt; + next.setContent('orderingDiscard'); + } + if (!evt.noOrdering) evt.orderingCards.addArray(cards); + }, + cardsGotoSpecial: function () { + game.getGlobalHistory().cardMove.push(event); + var withPile = false; + for (var i = 0; i < cards.length; i++) { + if (cards[i].willBeDestroyed('special', null, event)) { + cards[i].selfDestroy(event); + continue; + } + if (get.position(cards[i], true) == 'c') withPile = true; + cards[i].fix(); + ui.special.appendChild(cards[i]); + } + if (withPile) game.updateRoundNumber(); + if (event.toRenku) { + _status.renku.addArray(cards); + if (_status.renku.length > 6) { + var cards = _status.renku.splice(0, _status.renku.length - 6); + game.log(cards, '从仁库进入了弃牌堆'); + game.cardsDiscard(cards).set('outRange', true).fromRenku = true; + } + game.updateRenku(); + } + }, + cardsGotoPile: function () { + if (event.washCard) { + event.trigger('washCard'); + for (var i = 0; i < lib.onwash.length; i++) { + if (lib.onwash[i]() == 'remove') { + lib.onwash.splice(i--, 1); + } + } + } + game.getGlobalHistory().cardMove.push(event); + if (!event._triggeronly) game.$cardsGotoPile(event); + }, + chooseToEnable: function () { + 'step 0'; + var list = []; + for (var i = 1; i <= 5; i++) { + if (player.hasDisabledSlot(i)) list.push('equip' + i); + } + if (!list.length) event.finish(); + else if (list.length == 1) { + event.list = list; + event._result = { control: list[0] }; + } + else { + var next = player.chooseControl(list); + next.set('prompt', '请选择恢复一个装备栏'); + if (!event.ai) event.ai = function (event, player, list) { + return list.randomGet(); + }; + event.ai = event.ai(event.getParent(), player, list); + next.ai = function () { + return event.ai; + }; + } + 'step 1'; + event.result = { control: result.control }; + player.enableEquip(result.control); + }, + chooseToDisable: function () { + 'step 0'; + var list = []; + for (var i = 1; i <= 5; i++) { + if (player.hasEnabledSlot(i)) list.push('equip' + i); + } + if (event.horse) { + if (list.contains('equip3') && (get.is.mountCombined() || list.contains('equip4'))) list.push('equip3_4'); + list.remove('equip3'); + list.remove('equip4'); + } + if (!list.length) event.finish(); + else if (list.length == 1) { + event.list = list; + event._result = { control: list[0] }; + } + else { + list.sort(); + event.list = list; + var next = player.chooseControl(list); + next.set('prompt', '请选择废除一个装备栏'); + if (!event.ai) event.ai = function (event, player, list) { + return list.randomGet(); + }; + event.ai = event.ai(event.getParent(), player, list); + next.ai = function () { + return event.ai; + }; + } + 'step 1'; + event.result = { control: result.control }; + if (result.control == 'equip3_4') { + player.disableEquip(3, 4); + } + else player.disableEquip(result.control); + }, + swapEquip: function () { + "step 0"; + game.log(player, '和', target, '交换了装备区中的牌'); + event.cards = [player.getCards('e'), target.getCards('e')]; + game.loseAsync({ + player: player, + target: target, + cards1: event.cards[0], + cards2: event.cards[1], + }).setContent('swapHandcardsx'); + "step 1"; + for (var i = 0; i < event.cards[1].length; i++) { + if (get.position(event.cards[1][i], true) == 'o') player.equip(event.cards[1][i]); + } + for (var i = 0; i < event.cards[0].length; i++) { + if (get.position(event.cards[0][i], true) == 'o') target.equip(event.cards[0][i]); + } + }, + disableJudge: function () { + 'step 0'; + game.log(player, '废除了判定区'); + var js = player.getCards('j'); + if (js.length) player.discard(js); + player.storage._disableJudge = true; + //player.markSkill('_disableJudge'); + 'step 1'; + game.broadcastAll(function (player, card) { + player.$disableJudge(); + }, player); + }, + enableJudge: function () { + if (!player.storage._disableJudge) return; + game.log(player, '恢复了判定区'); + game.broadcastAll(function (player) { + player.$enableJudge(); + }, player); + }, + /*----分界线----*/ + phasing: function () { + 'step 0'; + while (ui.dialogs.length) { + ui.dialogs[0].close(); + } + game.phaseNumber++; + player.phaseNumber++; + game.broadcastAll(function (player, player2, num, popup) { + if (lib.config.glow_phase) { + if (player2) player2.classList.remove('glow_phase'); + player.classList.add('glow_phase'); + } + player.phaseNumber = num; + if (popup && lib.config.show_phase_prompt) player.popup('回合开始', null, false); + }, player, _status.currentPhase, player.phaseNumber, !player.noPhaseDelay); + _status.currentPhase = player; + _status.discarded = []; + game.syncState(); + game.addVideo('phaseChange', player); + if (game.phaseNumber == 1) { + delete player._start_cards; + if (lib.configOL.observe) { + lib.configOL.observeReady = true; + game.send('server', 'config', lib.configOL); + } + } + game.log(); + game.log(player, '的回合开始'); + player._noVibrate = true; + if (get.config('identity_mode') != 'zhong' && get.config('identity_mode') != 'purple' && !_status.connectMode) { + var num; + switch (get.config('auto_identity')) { + case 'one': num = 1; break; + case 'two': num = 2; break; + case 'three': num = 3; break; + case 'always': num = -1; break; + default: num = 0; break; + } + if (num && !_status.identityShown && game.phaseNumber > game.players.length * num && game.showIdentity) { + if (!_status.video) player.popup('显示身份'); + _status.identityShown = true; + game.showIdentity(false); + } + } + player.ai.tempIgnore = []; + if (ui.land && ui.land.player == player) { + game.addVideo('destroyLand'); + ui.land.destroy(); + } + 'step 1'; + event.trigger('phaseBeginStart'); + }, + toggleSubPlayer: function () { + 'step 0'; + var list = event.list || player.storage.subplayer.skills.slice(0); + list.remove(player.storage.subplayer.name2); + event.list = list; + if (!event.directresult) { + if (list.length > 1) { + var dialog = ui.create.dialog('更换一个随从', 'hidden'); + dialog.add([list, 'character']); + player.chooseButton(dialog, true); + } + else if (list.length == 1) { + event.directresult = list[0]; + } + else { + event.finish(); + } + } + else { + if (!list.contains(event.directresult)) { + event.finish(); + } + } + 'step 1'; + if (!event.directresult) { + if (result && result.bool && result.links[0]) { + event.directresult = result.links[0]; + } + else { + event.finish(); + return; + } + } + if (player.storage.subplayer) { + var current = player.storage.subplayer.name2; + if (event.directresult == current) { + event.finish(); + return; + } + player.storage[current].hp = player.hp; + player.storage[current].maxHp = player.maxHp; + player.storage[current].hs = player.getCards('h'); + player.storage[current].es = player.getCards('e'); + player.lose(player.getCards('he'), ui.special)._triggered = null; + + var cfg = player.storage[event.directresult]; + player.storage.subplayer.name2 = event.directresult; + player.reinit(current, event.directresult, [ + cfg.hp, + cfg.maxHp + ]); + if (cfg.hs.length) player.directgain(cfg.hs); + if (cfg.es.length) player.directequip(cfg.es); + } + }, + exitSubPlayer: function () { + 'step 0'; + if (player.storage.subplayer) { + var current = player.storage.subplayer.name2; + if (event.remove) { + player.lose(player.getCards('he'), ui.discardPile)._triggered = null; + } + else { + player.storage[current].hp = player.hp; + player.storage[current].maxHp = player.maxHp; + player.storage[current].hs = player.getCards('h'); + player.storage[current].es = player.getCards('e'); + player.lose(player.getCards('he'), ui.special)._triggered = null; + } + player.reinit(current, player.storage.subplayer.name, [ + player.storage.subplayer.hp, + player.storage.subplayer.maxHp + ]); + player.update(); + if (event.remove) { + if (player.storage[current].onremove) { + player.storage[current].onremove(player); + } + delete player.storage[current]; + player.storage.subplayer.skills.remove(current); + game.log(player, '牺牲了随从', '#g' + current); + } + else { + game.log(player, '收回了随从', '#g' + current); + } + player.addSkill(player.storage.subplayer.skills); + } + 'step 1'; + if (player.storage.subplayer) { + player.directgain(player.storage.subplayer.hs); + player.directequip(player.storage.subplayer.es); + } + player.removeSkill('subplayer'); + 'step 2'; + if (event.remove) { + event.trigger('subPlayerDie'); + } + }, + callSubPlayer: function () { + 'step 0'; + var list = player.getSubPlayers(event.tag); + event.list = list; + if (!event.directresult) { + if (list.length > 1) { + var dialog = ui.create.dialog('调遣一个随从', 'hidden'); + dialog.add([list, 'character']); + player.chooseButton(dialog, true); + } + else if (list.length == 1) { + event.directresult = list[0]; + } + else { + event.finish(); + } + } + else { + if (!list.contains(event.directresult)) { + event.finish(); + } + } + 'step 1'; + if (!event.directresult) { + if (result && result.bool && result.links[0]) { + event.directresult = result.links[0]; + } + else { + event.finish(); + return; + } + } + if (event.directresult) { + var cfg = player.storage[event.directresult]; + var source = cfg.source || player.name; + var name = event.directresult; + game.log(player, '调遣了随从', '#g' + name); + player.storage.subplayer = { + name: source, + name2: event.directresult, + hp: player.hp, + maxHp: player.maxHp, + skills: event.list.slice(0), + hs: player.getCards('h'), + es: player.getCards('e'), + intro2: cfg.intro2 + }; + player.removeSkill(event.list); + player.reinit(source, name, [cfg.hp, cfg.maxHp]); + player.addSkill('subplayer'); + player.lose(player.getCards('he'), ui.special)._triggered = null; + if (cfg.hs.length) player.directgain(cfg.hs); + if (cfg.es.length) player.directequip(cfg.es); + } + 'step 2'; + game.delay(); + }, + addExtraTarget: function () { + "step 0"; + event.num = 0; + "step 1"; + var target = targets[num], info = get.info(card); + if (target == event.target && event.addedTarget) { + event.addedTargets[num] = event.addedTarget; + event._result = { bool: false }; + } + else if (game.hasPlayer(function (current) { + return info.filterAddedTarget(card, player, current, target); + })) { + var next = player.chooseTarget(get.translation(event.card) + ':选择' + get.translation(targets[num]) + '对应的指向目标', function (card, player, target) { + var card = get.card(), info = get.info(card); + return info.filterAddedTarget(card, player, target, _status.event.preTarget); + }, true); + next.set('_get_card', card); + next.set('preTarget', targets[num]); + next.set('ai', target => get.effect(target, get.card(), player, _status.event.player)); + } + else { + event.addedTargets[num] = false; + event._result = { bool: false }; + } + "step 2"; + if (result.bool) { + event.addedTargets[num] = result.targets[0]; + player.line2([targets[num], result.targets[0]]); + } + event.num++; + if (event.num < targets.length) event.goto(1); + }, + reverseOrder: function () { + "step 0"; + game.delay(); + "step 1"; + var choice; + if (get.tag(card, 'multineg')) { + choice = (player.previous.side == player.side) ? '逆时针' : '顺时针'; + } + else { + choice = (player.next.side == player.side) ? '逆时针' : '顺时针'; + } + player.chooseControl('顺时针', '逆时针', function (event, player) { + return _status.event.choice || '逆时针'; + }).set('prompt', '选择' + get.translation(card) + '的结算方向').set('choice', choice).set('forceDie', true); + "step 2"; + if (result && result.control == '顺时针') { + var evt = event.getParent(), sorter = (_status.currentPhase || player); + evt.fixedSeat = true; + evt.targets.sortBySeat(sorter); + evt.targets.reverse(); + if (evt.targets[evt.targets.length - 1] == sorter) { + evt.targets.unshift(evt.targets.pop()); + } + } + }, + addJudgeCard: function () { + if (lib.filter.judge(card, player, target) && cards.length && get.position(cards[0], true) == 'o') target.addJudge(card, cards); + }, + equipCard: function () { + if (cards.length && get.position(cards[0], true) == 'o') target.equip(cards[0]); + }, + gameDraw: function () { + "step 0"; + if (_status.brawl && _status.brawl.noGameDraw) { + event.finish(); + return; + } + var end = player; + var numx = num; + do { + if (typeof num == 'function') { + numx = num(player); + } + if (player.getTopCards) player.directgain(player.getTopCards(numx)); + else player.directgain(get.cards(numx)); + if (player.singleHp === true && get.mode() != 'guozhan' && (lib.config.mode != 'doudizhu' || _status.mode != 'online')) { + player.doubleDraw(); + } + player._start_cards = player.getCards('h'); + player = player.next; + } + while (player != end); + event.changeCard = get.config('change_card'); + if (_status.connectMode || (lib.config.mode == 'doudizhu' && _status.mode == 'online') || lib.config.mode != 'identity' && lib.config.mode != 'guozhan' && lib.config.mode != 'doudizhu') { + event.changeCard = 'disabled'; + } + "step 1"; + if (event.changeCard != 'disabled' && !_status.auto) { + event.dialog = ui.create.dialog('是否使用手气卡?'); + ui.create.confirm('oc'); + event.custom.replace.confirm = function (bool) { + _status.event.bool = bool; + game.resume(); + }; + } + else { + event.finish(); + } + "step 2"; + if (event.changeCard == 'once') { + event.changeCard = 'disabled'; + } + else if (event.changeCard == 'twice') { + event.changeCard = 'once'; + } + else if (event.changeCard == 'disabled') { + event.bool = false; + return; + } + _status.imchoosing = true; + event.switchToAuto = function () { + _status.event.bool = false; + game.resume(); + }; + game.pause(); + "step 3"; + _status.imchoosing = false; + if (event.bool) { + if (game.changeCoin) { + game.changeCoin(-3); + } + var hs = game.me.getCards('h'); + game.addVideo('lose', game.me, [get.cardsInfo(hs), [], [], []]); + for (var i = 0; i < hs.length; i++) { + hs[i].discard(false); + } + game.me.directgain(get.cards(hs.length)); + event.goto(2); + } + else { + if (event.dialog) event.dialog.close(); + if (ui.confirm) ui.confirm.close(); + game.me._start_cards = game.me.getCards('h'); + event.finish(); + } + }, + phaseLoop: function () { + "step 0"; + var num = 1, current = player; + while (current.getSeatNum() == 0) { + current.setSeatNum(num); + current = current.next; + num++; + } + "step 1"; + for (var i = 0; i < lib.onphase.length; i++) { + lib.onphase[i](); + } + player.phase(); + "step 2"; + if (!game.players.contains(event.player.next)) { + event.player = game.findNext(event.player.next); + } + else { + event.player = event.player.next; + } + event.goto(1); + }, + loadPackage: function () { + 'step 0'; + if (event.packages.length) { + window.game = game; + var pack = event.packages.shift().split('/'); + lib.init.js(lib.assetURL + pack[0], pack[1], game.resume); + game.pause(); + } + else { + event.finish(); + } + 'step 1'; + if (!lib.config.dev) delete window.game; + var character = lib.imported.character; + var card = lib.imported.card; + var i, j, k; + for (i in character) { + if (character[i].character) { + var characterPack = lib.characterPack[i]; + if (characterPack) Object.assign(characterPack, character[i].character); + else lib.characterPack[i] = character[i].character; + } + if (character[i].forbid && character[i].forbid.contains(lib.config.mode)) continue; + if (character[i].mode && character[i].mode.contains(lib.config.mode) == false) continue; + + if (Array.isArray(lib[j]) && Array.isArray(character[i][j])) { + lib[j].addArray(character[i][j]); + continue; + } + for (j in character[i]) { + if (j == 'mode' || j == 'forbid' || j == 'characterSort') continue; + for (k in character[i][j]) { + if (j == 'character') { + if (!character[i][j][k][4]) { + character[i][j][k][4] = []; + } + if (character[i][j][k][4].contains('boss') || + character[i][j][k][4].contains('hiddenboss')) { + lib.config.forbidai.add(k); + } + if (lib.config.forbidai_user && lib.config.forbidai_user.contains(k)) { + lib.config.forbidai.add(k); + } + for (var l = 0; l < character[i][j][k][3].length; l++) { + lib.skilllist.add(character[i][j][k][3][l]); + } + } + if (j == 'translate' && k == i) { + lib[j][k + '_character_config'] = character[i][j][k]; + } + else { + if (lib[j][k] == undefined) { + Object.defineProperty(lib[j], k, Object.getOwnPropertyDescriptor(character[i][j], k)); + } + else if (Array.isArray(lib[j][k]) && Array.isArray(character[i][j][k])) { + lib[j][k].addArray(character[i][j][k]); + } + else { + console.log( + `dublicate ${j} in character ${i}:\n${k}:\nlib.${j}.${k}`, + lib[j][k], + `\ncharacter.${i}.${j}.${k}`, + character[i][j][k] + ); + } + } + } + } + } + for (i in card) { + var cardPack = lib.cardPack[i] ? lib.cardPack[i] : lib.cardPack[i] = []; + if (card[i].card) { + for (var j in card[i].card) { + if (!card[i].card[j].hidden && card[i].translate[j + '_info']) { + cardPack.push(j); + } + } + } + for (j in card[i]) { + if (j == 'mode' || j == 'forbid') continue; + if (j == 'list') continue; + for (k in card[i][j]) { + if (j == 'skill' && k[0] == '_' && !lib.config.cards.contains(i)) { + continue; + } + if (j == 'translate' && k == i) { + lib[j][k + '_card_config'] = card[i][j][k]; + } + else { + if (lib[j][k] == undefined) Object.defineProperty(lib[j], k, Object.getOwnPropertyDescriptor(card[i][j], k)); + else { + console.log( + `dublicate ${j} in card ${i}:\n${k}\nlib.${j}.${k}`, + lib[j][k], + `\ncard.${i}.${j}.${k}`, + card[i][j][k] + ); + } + } + } + } + } + event.goto(0); + }, + loadMode: function () { + 'step 0'; + window.game = game; + lib.init.js(lib.assetURL + 'mode', event.mode, game.resume); + game.pause(); + 'step 1'; + if (!lib.config.dev) delete window.game; + event.result = lib.imported.mode[event.mode]; + delete lib.imported.mode[event.mode]; + }, + forceOver: function () { + 'step 0'; + while (ui.controls.length) { + ui.controls[0].close(); + } + while (ui.dialogs.length) { + ui.dialogs[0].close(); + } + 'step 1'; + if (event.bool != 'noover') { + game.over(event.bool); + } + if (event.callback) { + event.callback(); + } + }, + arrangeTrigger: function () { + 'step 0'; + event.doing = event.doingList[0]; + if (event.doing && event.doing.todoList.length) return; + if (event.doingList.length) { + event.doingList.shift(); + return event.redo(); + } + event.finish(); + 'step 1'; + if (trigger.filterStop && trigger.filterStop()) return event.finish(); + event.current = event.doing.todoList.find(info => lib.filter.filterTrigger(trigger, info.player, event.triggername, info.skill)); + if (!event.current) { + event.doing.todoList = []; + return event.goto(0); + } + event.doing.todoList = event.doing.todoList.filter(i => i.priority <= event.current.priority); + + const directUse = info => lib.skill[info.skill].silent || !lib.translate[info.skill];//是否不触发同顺序选择 + if (directUse(event.current)) return event.goto(4); + event.choice = event.doing.todoList.filter(info => { + if (!lib.filter.filterTrigger(trigger, info.player, event.triggername, info.skill)) return false; + if (directUse(info)) return false; + if (event.current.player !== info.player) return false; + return lib.skill.global.includes(info.skill) || event.current.player.hasSkill(info.skill, true); + }); + if (event.choice.length < 2) return event.goto(4); + 'step 2'; + const next = event.choice[0].player.chooseControl(event.choice.map(i => i.skill)); + next.set('prompt', '选择下一个触发的技能'); + next.set('forceDie', true); + next.set('arrangeSkill', true); + next.set('includeOut', true); + 'step 3'; + if (result.control) event.current = event.doing.todoList.find(info => info.skill == result.control && info.player == event.choice[0].player); + 'step 4'; + if (!event.current || !event.doing.todoList.includes(event.current)) return; + event.doing.doneList.push(event.current); + event.doing.todoList.remove(event.current); + game.createTrigger(event.triggername, event.current.skill, event.current.player, trigger); + event.goto(0); + }, + createTrigger: function () { + "step 0"; + // console.log('triggering: ' + player.name+ ' \'s skill: ' + event.skill+' in ' + event.triggername) + if (game.expandSkills(player.getSkills().concat(lib.skill.global)).includes(event.skill)) return; + var info = get.info(event.skill); + let hidden = player.hiddenSkills.slice(0); + let invisible = player.invisibleSkills.slice(0); + game.expandSkills(hidden); + game.expandSkills(invisible); + if (hidden.includes(event.skill)) { + if (!info.silent && player.hasSkillTag('nomingzhi', false, null, true)) event.finish(); + else if (!info.direct) event.trigger('triggerHidden'); + else event.skillHidden = true; + } + else if (invisible.includes(event.skill)) event.trigger('triggerInvisible'); + else if (Object.keys(player.additionalSkills).every(i => { + if (i.startsWith('hidden:')) return true; + return !game.expandSkills(player.additionalSkills[i]).includes(event.skill); + })) event.finish(); + "step 1"; + if (event.cancelled) return event.finish(); + var info = get.info(event.skill); + if (event.revealed || info.forced) return; + const checkFrequent = function (info) { + if (player.hasSkillTag('nofrequent', false, event.skill)) return false; + if (typeof info.frequent == 'boolean') return info.frequent; + if (typeof info.frequent == 'function') return info.frequent(trigger, player); + if (info.frequent == 'check' && typeof info.check == 'function') return info.check(trigger, player); + return false; + }; + if (info.direct) { + if (player.isUnderControl()) game.swapPlayerAuto(player); + if (player.isOnline()) void 0; + event._result = { bool: true }; + event._direct = true; + } + else { + if (checkFrequent(info)) event.frequentSkill = true; + var str; + var check = info.check; + if (info.prompt) str = info.prompt; + else if (typeof info.logTarget == 'string') str = get.prompt(event.skill, trigger[info.logTarget], player); + else if (typeof info.logTarget == 'function') { + const logTarget = info.logTarget(trigger, player); + if (get.itemtype(logTarget).startsWith('player')) str = get.prompt(event.skill, logTarget, player); + } + else str = get.prompt(event.skill, null, player); + if (typeof str == 'function') str = str(trigger, player); + + var next = player.chooseBool(str); + if (event.frequentSkill) next.set('frequentSkill', event.skill); + next.set('forceDie', true); + next.set('includeOut', true); + next.ai = () => !check || check(trigger, player); + + if (typeof info.prompt2 == 'function') next.set('prompt2', info.prompt2(trigger, player)); + else if (typeof info.prompt2 == 'string') next.set('prompt2', info.prompt2); + else if (info.prompt2 != false) { + if (lib.dynamicTranslate[event.skill]) next.set('prompt2', lib.dynamicTranslate[event.skill](player, event.skill)); + else if (lib.translate[event.skill + '_info']) next.set('prompt2', lib.translate[event.skill + '_info']); + } + + if (trigger.skillwarn) { + if (next.prompt2) next.set('prompt2', '' + trigger.skillwarn + '。' + next.prompt2); + else next.set('prompt2', trigger.skillwarn); + } + } + "step 2"; + var info = get.info(event.skill); + if (!result || !result.bool) return; + var autodelay = info.autodelay; + if (typeof autodelay == 'function') autodelay = autodelay(trigger, player); + if (autodelay && (info.forced || !event.isMine())) { + if (typeof autodelay == 'number') game.delayx(autodelay); + else game.delayx(); + } + "step 3"; + var info = get.info(event.skill); + if (result && result.bool == false) { + if (info.oncancel) info.oncancel(trigger, player); + return event.finish(); + } + if (info.popup != false && !info.direct) { + if (info.popup) { + player.popup(info.popup); + game.log(player, '发动了', '【' + get.skillTranslation(event.skill, player) + '】'); + } + else if (!info.logTarget || info.logLine === false) player.logSkill(event.skill, false, info.line); + else if (typeof info.logTarget == 'string') player.logSkill(event.skill, trigger[info.logTarget], info.line); + else if (typeof info.logTarget == 'function') player.logSkill(event.skill, info.logTarget(trigger, player), info.line); + } + var next = game.createEvent(event.skill); + if (typeof info.usable == 'number') { + player.addSkill('counttrigger'); + if (!player.storage.counttrigger) player.storage.counttrigger = {}; + if (!player.storage.counttrigger[event.skill]) player.storage.counttrigger[event.skill] = 1; + else player.storage.counttrigger[event.skill]++; + } + next.player = player; + next._trigger = trigger; + next.triggername = event.triggername; + + if ("contents" in info && Array.isArray(info.contents)) { + next.setContents(info.contents); + } else { + next.setContent(info.content); + } + + next.skillHidden = event.skillHidden; + if (info.forceDie) next.forceDie = true; + if (info.forceOut) next.includeOut = true; + "step 4"; + if (!player._hookTrigger) return; + if (player._hookTrigger.some(i => { + const info = lib.skill[i].hookTrigger; + return info && info.after && info.after(event, player, event.triggername); + })) event.trigger('triggerAfter'); + }, + playVideoContent: function () { + 'step 0'; + game.delay(0, 500); + 'step 1'; + if (!game.chess) { + ui.control.innerHTML = ''; + var nodes = []; + for (var i = 0; i < ui.arena.childNodes.length; i++) { + nodes.push(ui.arena.childNodes[i]); + } + for (var i = 0; i < nodes.length; i++) { + if (nodes[i] == ui.canvas) continue; + if (nodes[i] == ui.control) continue; + if (nodes[i] == ui.mebg) continue; + if (nodes[i] == ui.me) continue; + if (nodes[i] == ui.roundmenu) continue; + nodes[i].remove(); + } + ui.sidebar.innerHTML = ''; + ui.cardPile.innerHTML = ''; + ui.discardPile.innerHTML = ''; + ui.special.innerHTML = ''; + ui.ordering.innerHTML = ''; + } + ui.system.firstChild.innerHTML = ''; + ui.system.lastChild.innerHTML = ''; + ui.system.firstChild.appendChild(ui.config2); + if (ui.updateVideoMenu) { + ui.updateVideoMenu(); + } + _status.videoDuration = 1; + ui.create.system('返回', function () { + var mode = localStorage.getItem(lib.configprefix + 'playbackmode'); + if (mode) { + game.saveConfig('mode', mode); + } + game.reload(); + }); + ui.create.system('重播', function () { + _status.replayvideo = true; + game.playVideo(_status.playback, lib.config.mode); + }); + ui.create.system('暂停', ui.click.pause, true).id = 'pausebutton'; + var slow = ui.create.system('减速', function () { + _status.videoDuration *= 1.5; + updateDuration(); + }, true); + var fast = ui.create.system('加速', function () { + _status.videoDuration /= 1.5; + updateDuration(); + }, true); + var updateDuration = function () { + if (_status.videoDuration > 1) { + slow.classList.add('glow'); + } + else { + slow.classList.remove('glow'); + } + if (_status.videoDuration < 1) { + fast.classList.add('glow'); + } + else { + fast.classList.remove('glow'); + } + }; + ui.system.style.display = ''; + ui.refresh(ui.system); + ui.system.show(); + ui.window.show(); + if (lib.config.mode != 'versus' && lib.config.mode != 'boss') { + ui.arena.style.display = ''; + ui.refresh(ui.arena); + ui.arena.show(); + } + if (!game.chess) { + game.playerMap = {}; + } + game.finishCards(); + 'step 2'; + if (event.video.length) { + var content = event.video.shift(); + // console.log(content); + if (content.type == 'delay') { + game.delay(content.content); + } + else if (content.type == 'play') { + window.play = {}; + if (!event.playtoload) { + event.playtoload = 1; + } + else { + event.playtoload++; + } + var script = lib.init.js(lib.assetURL + 'play', content.name); + script.addEventListener('load', function () { + var play = window.play[content.name]; + if (play && play.video) { + play.video(content.init); + } + event.playtoload--; + if (event.playtoload == 0) { + delete window.play; + } + }); + } + else if (typeof content.player == 'string' && game.playerMap[content.player] && + game.playerMap[content.player].classList && + !game.playerMap[content.player].classList.contains('obstacle')) { + game.videoContent[content.type](game.playerMap[content.player], content.content); + } + else { + game.videoContent[content.type](content.content); + } + if (event.video.length) { + game.delay(0, _status.videoDuration * Math.min(2000, event.video[0].delay)); + } + event.redo(); + } + else { + _status.over = true; + ui.system.lastChild.hide(); + setTimeout(function () { + ui.system.lastChild.innerHTML = ''; + }, 500); + } + }, + waitForPlayer: function () { + 'step 0'; + ui.auto.hide(); + ui.pause.hide(); + + game.createServer(); + if (!lib.translate.zhu) { + lib.translate.zhu = '主'; + } + if (event.func) { + event.func(); + } + if (!lib.configOL.number) { + lib.configOL.number = parseInt(lib.configOL.player_number); + } + if (game.onlineroom) { + game.send('server', 'config', lib.configOL); + } + + ui.create.connectPlayers(game.ip); + if (!window.isNonameServer) { + var me = game.connectPlayers[0]; + me.setIdentity('zhu'); + me.initOL(get.connectNickname(), lib.config.connect_avatar); + me.playerid = '1'; + game.onlinezhu = '1'; + } + _status.waitingForPlayer = true; + if (window.isNonameServer) { + document.querySelector('#server_status').innerHTML = '等待中'; + } + game.pause(); + 'step 1'; + _status.waitingForPlayer = false; + lib.configOL.gameStarted = true; + if (window.isNonameServer) { + document.querySelector('#server_status').innerHTML = '游戏中'; + } + if (game.onlineroom) { + game.send('server', 'config', lib.configOL); + } + for (var i = 0; i < game.connectPlayers.length; i++) { + game.connectPlayers[i].delete(); + } + delete game.connectPlayers; + if (ui.roomInfo) { + ui.roomInfo.remove(); + delete ui.roomInfo; + } + if (ui.exitroom) { + ui.exitroom.remove(); + delete ui.exitroom; + } + game.broadcast('gameStart'); + game.delay(2); + ui.auto.show(); + ui.pause.show(); + if (lib.config.show_cardpile) { + ui.cardPileButton.style.display = ''; + } + }, + replaceHandcards: function () { + 'step 0'; + if (event.players.contains(game.me)) { + game.me.chooseBool('是否置换手牌?'); + } + else { + event.finish(); + } + 'step 1'; + if (result && result.bool) { + var hs = game.me.getCards('h'); + for (var i = 0; i < hs.length; i++) { + hs[i].discard(false); + } + var cards = get.cards(hs.length); + game.me._start_cards = cards; + game.me.directgain(cards); + } + }, + replaceHandcardsOL: function () { + 'step 0'; + var send = function () { + game.me.chooseBool('是否置换手牌?'); + game.resume(); + }; + var sendback = function (result, player) { + if (result && result.bool) { + var hs = player.getCards('h'); + game.broadcastAll(function (player, hs) { + game.addVideo('lose', player, [get.cardsInfo(hs), [], [], []]); + for (var i = 0; i < hs.length; i++) { + hs[i].discard(false); + } + }, player, hs); + var cards = get.cards(hs.length); + player.directgain(cards); + player._start_cards = cards; + } + }; + for (var i = 0; i < event.players.length; i++) { + if (event.players[i].isOnline()) { + event.withol = true; + event.players[i].send(send); + event.players[i].wait(sendback); + } + else if (event.players[i] == game.me) { + event.withme = true; + game.me.chooseBool('是否置换手牌?'); + game.me.wait(sendback); + } + } + 'step 1'; + if (event.withme) { + game.me.unwait(result); + } + 'step 2'; + if (event.withol && !event.resultOL) { + game.pause(); + } + }, + phase: [ + async (event, _trigger, player) => { + // 初始化阶段列表 + if (!event.phaseList) { + event.phaseList = ['phaseZhunbei', 'phaseJudge', 'phaseDraw', 'phaseUse', 'phaseDiscard', 'phaseJieshu']; + } + + if (typeof event.num != 'number') { + event.num = 0; + } + + // 规则集中的“回合开始后①”,更新游戏轮数,触发“一轮游戏开始时” + let isRound = false; + if (!event.skill) { + isRound = _status.roundSkipped; + if (_status.isRoundFilter) { + isRound = _status.isRoundFilter(event, player); + } + else if (_status.seatNumSettled) { + var seatNum = player.getSeatNum(); + if (seatNum != 0) { + if (get.itemtype(_status.lastPhasedPlayer) != 'player' || seatNum < _status.lastPhasedPlayer.getSeatNum()) isRound = true; + _status.lastPhasedPlayer = player; + } + } + else if (player == _status.roundStart) isRound = true; + if (isRound) { + delete _status.roundSkipped; + game.roundNumber++; + event._roundStart = true; + game.updateRoundNumber(); + for (var i = 0; i < game.players.length; i++) { + if (game.players[i].isOut() && game.players[i].outCount > 0) { + game.players[i].outCount--; + if (game.players[i].outCount == 0 && !game.players[i].outSkills) { + game.players[i].in(); + } + } + } + event.trigger('roundStart'); + } + } + + _status.globalHistory.push({ + cardMove: [], + custom: [], + useCard: [], + changeHp: [], + everything: [], + }); + + const players = game.players.slice(0).concat(game.dead); + for (const current of players) { + current.actionHistory.push({ useCard: [], respond: [], skipped: [], lose: [], gain: [], sourceDamage: [], damage: [], custom: [], useSkill: [] }); + current.stat.push({ card: {}, skill: {} }); + if (isRound) { + current.getHistory().isRound = true; + current.getStat().isRound = true; + } + } + + if (isRound) { + game.getGlobalHistory().isRound = true; + } + }, + async (event) => { + //规则集中的“回合开始后②(1v1武将登场专用)” + event.trigger('phaseBeforeStart'); + }, + async (event) => { + //规则集中的“回合开始后③(处理“游戏开始时”的时机)” + event.trigger('phaseBefore'); + }, + async (event) => { + //规则集中的“回合开始后④(卑弥呼〖纵傀〗的时机)” + event.trigger('phaseBeforeEnd'); + }, + async (event, _trigger, player) => { + //规则集中的“回合开始后⑤”,进行翻面检测 + if (player.isTurnedOver() && !event._noTurnOver) { + event.cancel(); + player.turnOver(); + player.phaseSkipped = true; + } + else { + player.phaseSkipped = false; + player.getHistory().isMe = true; + player.getStat().isMe = true; + } + }, + async (event, _trigger, player) => { + // 规则集中的“回合开始后⑥”,更新“当前回合角色” + while (ui.dialogs.length) { + ui.dialogs[0].close(); + } + + ++game.phaseNumber; + ++player.phaseNumber; + + game.broadcastAll((player, num, popup) => { + if (lib.config.glow_phase) { + player.classList.add('glow_phase'); + } + player.phaseNumber = num; + _status.currentPhase = player; + if (popup && lib.config.show_phase_prompt) player.popup('回合开始', null, false); + }, player, player.phaseNumber, !player.noPhaseDelay); + + _status.currentPhase = player; + _status.discarded = []; + + game.syncState(); + game.addVideo('phaseChange', player); + + if (game.phaseNumber == 1) { + delete player._start_cards; + if (lib.configOL.observe) { + lib.configOL.observeReady = true; + game.send('server', 'config', lib.configOL); + } + } + + game.log(); + game.log(player, '的回合开始'); + player._noVibrate = true; + + if (get.config('identity_mode') != 'zhong' && get.config('identity_mode') != 'purple' && !_status.connectMode) { + let num; + switch (get.config('auto_identity')) { + case 'one': num = 1; break; + case 'two': num = 2; break; + case 'three': num = 3; break; + case 'always': num = -1; break; + default: num = 0; break; + } + if (num && !_status.identityShown && game.phaseNumber > game.players.length * num && game.showIdentity) { + if (!_status.video) player.popup('显示身份'); + _status.identityShown = true; + game.showIdentity(false); + } + } + player.ai.tempIgnore = []; + if (ui.land && ui.land.player == player) { + game.addVideo('destroyLand'); + ui.land.destroy(); + } + }, + async (event) => { + //规则集中的“回合开始后⑦”,国战武将明置武将牌 + event.trigger('phaseBeginStart'); + }, + async (event) => { + //规则集中的“回合开始后⑨”,进行当先,化身等操作 + //没有⑧ 因为⑧用不到 + event.trigger('phaseBegin'); + }, + async (event, _trigger, player) => { + if (event.num < event.phaseList.length) { + //规则集中没有的新时机 可以用来插入额外阶段啥的 + if (player.isIn()) event.trigger('phaseChange'); + } + else event.goto(11); + }, + async (event, _trigger, player) => { + if (player.isIn() && event.num < event.phaseList.length) { + const phase = event.phaseList[event.num].split('|'); + event.currentPhase = phase[0]; + const next = player[event.currentPhase](); + next.phaseIndex = event.num; + if (phase.length > 1) { + next._extraPhaseReason = phase[1]; + } + if (event.currentPhase == 'phaseDraw' || event.currentPhase == 'phaseDiscard') { + if (!player.noPhaseDelay) { + if (player == game.me) { + game.delay(); + } + else { + game.delayx(); + } + } + } + } + }, + async (event, _trigger, player) => { + if (event.currentPhase == 'phaseUse') { + game.broadcastAll(() => { + if (ui.tempnowuxie) { + ui.tempnowuxie.close(); + delete ui.tempnowuxie; + } + }); + delete player._noSkill; + } + ++event.num; + }, + async (event) => { + if (event.num < event.phaseList.length) { + event.goto(8); + } + else if (!event._phaseEndTriggered) { + event._phaseEndTriggered = true; + event.trigger('phaseEnd'); + event.redo(); + } + }, + async (event) => { + event.trigger('phaseAfter'); + }, + async ({ player }) => { + //删除当前回合角色 此时处于“不属于任何角色的回合”的阶段 + game.broadcastAll((player) => { + player.classList.remove('glow_phase'); + delete _status.currentPhase; + }, player); + } + ], + /** + * @deprecated + */ + phase_old2: function () { + 'step 0'; + //初始化阶段列表 + if (!event.phaseList) { + event.phaseList = ['phaseZhunbei', 'phaseJudge', 'phaseDraw', 'phaseUse', 'phaseDiscard', 'phaseJieshu']; + } + if (typeof event.num != 'number') { + event.num = 0; + } + //规则集中的“回合开始后①”,更新游戏轮数,触发“一轮游戏开始时” + var isRound = false; + if (!event.skill) { + isRound = _status.roundSkipped; + if (_status.isRoundFilter) { + isRound = _status.isRoundFilter(event, player); + } + else if (_status.seatNumSettled) { + var seatNum = player.getSeatNum(); + if (seatNum != 0) { + if (get.itemtype(_status.lastPhasedPlayer) != 'player' || seatNum < _status.lastPhasedPlayer.getSeatNum()) isRound = true; + _status.lastPhasedPlayer = player; + } + } + else if (player == _status.roundStart) isRound = true; + if (isRound) { + delete _status.roundSkipped; + game.roundNumber++; + event._roundStart = true; + game.updateRoundNumber(); + for (var i = 0; i < game.players.length; i++) { + if (game.players[i].isOut() && game.players[i].outCount > 0) { + game.players[i].outCount--; + if (game.players[i].outCount == 0 && !game.players[i].outSkills) { + game.players[i].in(); + } + } + } + event.trigger('roundStart'); + } + } + _status.globalHistory.push({ + cardMove: [], + custom: [], + useCard: [], + changeHp: [], + everything: [], + }); + var players = game.players.slice(0).concat(game.dead); + for (var i = 0; i < players.length; i++) { + var current = players[i]; + current.actionHistory.push({ useCard: [], respond: [], skipped: [], lose: [], gain: [], sourceDamage: [], damage: [], custom: [], useSkill: [] }); + current.stat.push({ card: {}, skill: {} }); + if (isRound) { + current.getHistory().isRound = true; + current.getStat().isRound = true; + } + } + if (isRound) { + game.getGlobalHistory().isRound = true; + } + 'step 1'; + //规则集中的“回合开始后②(1v1武将登场专用)” + event.trigger('phaseBeforeStart'); + 'step 2'; + //规则集中的“回合开始后③(处理“游戏开始时”的时机)” + event.trigger('phaseBefore'); + 'step 3'; + //规则集中的“回合开始后④(卑弥呼〖纵傀〗的时机)” + event.trigger('phaseBeforeEnd'); + 'step 4'; + //规则集中的“回合开始后⑤”,进行翻面检测 + if (player.isTurnedOver() && !event._noTurnOver) { + event.cancel(); + player.turnOver(); + player.phaseSkipped = true; + } + else { + player.phaseSkipped = false; + player.getHistory().isMe = true; + player.getStat().isMe = true; + } + 'step 5'; + //规则集中的“回合开始后⑥”,更新“当前回合角色” + while (ui.dialogs.length) { + ui.dialogs[0].close(); + } + game.phaseNumber++; + player.phaseNumber++; + game.broadcastAll(function (player, num, popup) { + if (lib.config.glow_phase) { + player.classList.add('glow_phase'); + } + player.phaseNumber = num; + _status.currentPhase = player; + if (popup && lib.config.show_phase_prompt) player.popup('回合开始', null, false); + }, player, player.phaseNumber, !player.noPhaseDelay); + _status.currentPhase = player; + _status.discarded = []; + game.syncState(); + game.addVideo('phaseChange', player); + if (game.phaseNumber == 1) { + delete player._start_cards; + if (lib.configOL.observe) { + lib.configOL.observeReady = true; + game.send('server', 'config', lib.configOL); + } + } + game.log(); + game.log(player, '的回合开始'); + player._noVibrate = true; + if (get.config('identity_mode') != 'zhong' && get.config('identity_mode') != 'purple' && !_status.connectMode) { + var num; + switch (get.config('auto_identity')) { + case 'one': num = 1; break; + case 'two': num = 2; break; + case 'three': num = 3; break; + case 'always': num = -1; break; + default: num = 0; break; + } + if (num && !_status.identityShown && game.phaseNumber > game.players.length * num && game.showIdentity) { + if (!_status.video) player.popup('显示身份'); + _status.identityShown = true; + game.showIdentity(false); + } + } + player.ai.tempIgnore = []; + if (ui.land && ui.land.player == player) { + game.addVideo('destroyLand'); + ui.land.destroy(); + } + 'step 6'; + //规则集中的“回合开始后⑦”,国战武将明置武将牌 + event.trigger('phaseBeginStart'); + 'step 7'; + //规则集中的“回合开始后⑨”,进行当先,化身等操作 + //没有⑧ 因为⑧用不到 + event.trigger('phaseBegin'); + //阶段部分 + 'step 8'; + if (num < event.phaseList.length) { + //规则集中没有的新时机 可以用来插入额外阶段啥的 + if (player.isIn()) event.trigger('phaseChange'); + } + else event.goto(11); + 'step 9'; + if (player.isIn() && num < event.phaseList.length) { + var phase = event.phaseList[num].split('|'); + event.currentPhase = phase[0]; + var next = player[event.currentPhase](); + next.phaseIndex = num; + if (phase.length > 1) { + next._extraPhaseReason = phase[1]; + } + if (event.currentPhase == 'phaseDraw' || event.currentPhase == 'phaseDiscard') { + if (!player.noPhaseDelay) { + if (player == game.me) { + game.delay(); + } + else { + game.delayx(); + } + } + } + } + 'step 10'; + if (event.currentPhase == 'phaseUse') { + game.broadcastAll(function () { + if (ui.tempnowuxie) { + ui.tempnowuxie.close(); + delete ui.tempnowuxie; + } + }); + delete player._noSkill; + } + event.num++; + 'step 11'; + if (event.num < event.phaseList.length) { + event.goto(8); + } + else if (!event._phaseEndTriggered) { + event._phaseEndTriggered = true; + event.trigger('phaseEnd'); + event.redo(); + } + 'step 12'; + event.trigger('phaseAfter'); + 'step 13'; + //删除当前回合角色 此时处于“不属于任何角色的回合”的阶段 + game.broadcastAll(function (player) { + player.classList.remove('glow_phase'); + delete _status.currentPhase; + }, player); + }, + /** + * @deprecated + */ + phase_old: function () { + "step 0"; + player.phaseZhunbei(); + "step 1"; + player.phaseJudge(); + "step 2"; + player.phaseDraw(); + if (!player.noPhaseDelay) { + if (player == game.me) { + game.delay(); + } + else { + game.delayx(); + } + } + "step 3"; + player.phaseUse(); + "step 4"; + game.broadcastAll(function () { + if (ui.tempnowuxie) { + ui.tempnowuxie.close(); + delete ui.tempnowuxie; + } + }); + player.phaseDiscard(); + if (!player.noPhaseDelay) game.delayx(); + //delete player.using; + delete player._noSkill; + "step 5"; + player.phaseJieshu(); + }, + phaseZhunbei: function () { + event.trigger(event.name); + game.log(player, '进入了准备阶段'); + }, + phaseJudge: function () { + "step 0"; + game.log(player, '进入了判定阶段'); + event.cards = player.getCards('j'); + if (!event.cards.length) event.finish(); + "step 1"; + if (cards.length && player.getCards('j').contains(cards[0])) { + event.card = cards.shift(); + if (event.card.classList.contains('removing')) { + event.card.remove(); + delete event.card; + event.redo(); + } + else if (event.card.classList.contains('feichu')) { + event.finish(); + return; + } + else { + player.lose(event.card, 'visible', ui.ordering); + player.$phaseJudge(event.card); + event.cancelled = false; + event.trigger('phaseJudge'); + var name = event.card.viewAs || event.card.name; + player.popup(name, 'thunder'); + if (!lib.card[name].effect) { + game.delay(); + event.redo(); + } + else if (!lib.card[name].judge) { + game.delay(); + event.nojudge = true; + } + } + } + else event.finish(); + "step 2"; + if (!event.cancelled && !event.nojudge) player.judge(event.card).set('type', 'phase'); + "step 3"; + var name = event.card.viewAs || event.card.name; + if (event.excluded) { + delete event.excluded; + } + else if (event.cancelled && !event.direct) { + if (lib.card[name].cancel) { + var next = game.createEvent(name + 'Cancel'); + next.setContent(lib.card[name].cancel); + next.cards = [event.card]; + if (!event.card.viewAs) next.card = get.autoViewAs(event.card); + else next.card = get.autoViewAs({ name: name }, next.cards); + next.player = player; + } + } + else { + var next = game.createEvent(name); + next.setContent(lib.card[name].effect); + next._result = result; + next.cards = [event.card]; + if (!event.card.viewAs) next.card = get.autoViewAs(event.card); + else next.card = get.autoViewAs({ name: name }, next.cards); + next.player = player; + } + ui.clear(); + event.goto(1); + }, + phaseDraw: function () { + "step 0"; + game.log(player, '进入了摸牌阶段'); + event.trigger("phaseDrawBegin1"); + "step 1"; + event.trigger("phaseDrawBegin2"); + "step 2"; + if (game.modPhaseDraw) { + game.modPhaseDraw(player, event.num); + } + else { + if (event.num > 0) { + var num = event.num; + if (event.attachDraw) { + for (var i = 0; i < event.attachDraw.length; i++) { + ui.cardPile.insertBefore(event.attachDraw[i], ui.cardPile.firstChild); + } + num += event.attachDraw.length; + } + var next = player.draw(num); + if (event.attachDraw) { + next.minnum = event.attachDraw.length; + } + } + } + "step 3"; + if (Array.isArray(result)) { + event.cards = result; + } + }, + phaseUse: function () { + "step 0"; + if (!event.logged) { + game.log(player, '进入了出牌阶段'); + event.logged = true; + } + var next = player.chooseToUse(); + if (!lib.config.show_phaseuse_prompt) { + next.set('prompt', false); + } + next.set('type', 'phase'); + "step 1"; + if (result.bool && !event.skipped) { + event.goto(0); + } + game.broadcastAll(function () { + if (ui.tempnowuxie) { + ui.tempnowuxie.close(); + delete ui.tempnowuxie; + } + }); + "step 2"; + var stat = player.getStat(); + for (var i in stat.skill) { + var bool = false; + var info = lib.skill[i]; + if (!info) continue; + if (info.enable != undefined) { + if (typeof info.enable == 'string' && info.enable == 'phaseUse') bool = true; + else if (typeof info.enable == 'object' && info.enable.contains('phaseUse')) bool = true; + } + if (bool) stat.skill[i] = 0; + } + for (var i in stat.card) { + var bool = false; + var info = lib.card[i]; + if (!info) continue; + if (info.updateUsable == 'phaseUse') stat.card[i] = 0; + } + }, + phaseDiscard: function () { + "step 0"; + game.log(player, '进入了弃牌阶段'); + event.num = player.needsToDiscard(); + if (event.num <= 0) event.finish(); + else { + game.broadcastAll(function (player) { + if (lib.config.show_phase_prompt) { + player.popup('弃牌阶段', null, false); + } + }, player); + } + event.trigger('phaseDiscard'); + "step 1"; + player.chooseToDiscard(num, true) + .set('useCache', true); + "step 2"; + event.cards = result.cards; + }, + phaseJieshu: function () { + event.trigger(event.name); + game.log(player, '进入了结束阶段'); + }, + chooseToUse: function () { + "step 0"; + if (event.responded) return; + if (game.modeSwapPlayer && !_status.auto && player.isUnderControl() && !lib.filter.wuxieSwap(event)) { + game.modeSwapPlayer(player); + } + var skills = player.getSkills('invisible').concat(lib.skill.global); + game.expandSkills(skills); + for (var i = 0; i < skills.length; i++) { + var info = lib.skill[skills[i]]; + if (info && info.onChooseToUse) { + info.onChooseToUse(event); + } + } + if (_status.noclearcountdown !== 'direct') _status.noclearcountdown = true; + if (event.type == 'phase') { + if (event.isMine()) { + event.endButton = ui.create.control('结束回合', 'stayleft', function () { + var evt = _status.event; + if (evt.name != 'chooseToUse' || evt.type != 'phase') return; + if (evt.skill) { + ui.click.cancel(); + } + ui.click.cancel(); + }); + event.fakeforce = true; + } + else { + if (event.endButton) { + event.endButton.close(); + delete event.endButton; + } + event.fakeforce = false; + } + } + if (event.player.isUnderControl() && !_status.auto) { + event.result = { + bool: false + }; + return; + } + else if (event.isMine()) { + if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + ui.click.cancel(); + return; + } + if (event.type == 'wuxie') { + if (ui.tempnowuxie) { + var triggerevent = event.getTrigger(); + if (triggerevent && triggerevent.targets && triggerevent.num == triggerevent.targets.length - 1) { + ui.tempnowuxie.close(); + } + } + if (lib.filter.wuxieSwap(event)) { + event.result = { + bool: false + }; + return; + } + } + var ok = game.check(); + if (!ok || !lib.config.auto_confirm) { + game.pause(); + if (lib.config.enable_vibrate && player._noVibrate) { + delete player._noVibrate; + game.vibrate(); + } + if (typeof event.prompt == 'string') { + if (event.openskilldialog) { + event.skillDialog = ui.create.dialog(event.openskilldialog); + delete event.openskilldialog; + event.dialog = event.prompt; + } + else { + event.dialog = ui.create.dialog(event.prompt); + if (event.prompt2) { + event.dialog.addText(event.prompt2); + } + } + } + else if (typeof event.prompt == 'function') { + event.dialog = ui.create.dialog(event.prompt(event)); + } + else if (event.prompt == undefined) { + var str; + if (typeof event.filterCard == 'object') { + var filter = event.filterCard; + str = '请使用' + get.cnNumber(event.selectCard[0]) + '张'; + if (filter.name) { + str += get.translation(filter.name); + } + else { + str += '牌'; + } + } + else { + str = '请选择要使用的牌'; + } + if (event.openskilldialog) { + event.skillDialog = ui.create.dialog(event.openskilldialog); + delete event.openskilldialog; + event.dialog = str; + } + else if (typeof event.skillDialog != 'string') { + event.dialog = ui.create.dialog(str); + } + else { + event.dialog = str; + } + } + } + } + else if (event.isOnline()) { + event.send(); + } + else { + event.result = 'ai'; + } + "step 1"; + if (event.result == 'ai') { + var ok = game.check(); + if (ok) { + ui.click.ok(); + } + else if (ai.basic.chooseCard(event.ai1) || forced) { + if ((ai.basic.chooseTarget(event.ai2) || forced) && (!event.filterOk || event.filterOk())) { + ui.click.ok(); + event._aiexcludeclear = true; + } + else { + if (!event.norestore) { + if (event.skill) { + var skill = event.skill; + ui.click.cancel(); + event._aiexclude.add(skill); + var info = get.info(skill); + if (info.sourceSkill) { + event._aiexclude.add(info.sourceSkill); + } + } + else { + get.card(true).aiexclude(); + game.uncheck(); + } + event.redo(); + game.resume(); + } + else { + ui.click.cancel(); + } + } + } + else if (event.skill && !event.norestore) { + var skill = event.skill; + ui.click.cancel(); + event._aiexclude.add(skill); + var info = get.info(skill); + if (info.sourceSkill) { + event._aiexclude.add(info.sourceSkill); + } + event.redo(); + game.resume(); + } + else { + ui.click.cancel(); + } + if (event.aidelay && event.result && event.result.bool) { + game.delayx(); + } + } + "step 2"; + if (event.endButton) { + event.endButton.close(); + delete event.endButton; + } + event.resume(); + if (event.result) { + if (event.result._sendskill) { + lib.skill[event.result._sendskill[0]] = event.result._sendskill[1]; + } + if (event.result.skill) { + var info = get.info(event.result.skill); + if (info && info.chooseButton) { + if (event.dialog && typeof event.dialog == 'object') event.dialog.close(); + var dialog = info.chooseButton.dialog(event, player); + if (info.chooseButton.chooseControl) { + var next = player.chooseControl(info.chooseButton.chooseControl(event, player)); + if (dialog.direct) next.direct = true; + if (dialog.forceDirect) next.forceDirect = true; + next.dialog = dialog; + next.set('ai', info.chooseButton.check || function () { return 0; }); + if (event.id) next._parent_id = event.id; + next.type = 'chooseToUse_button'; + } + else { + var next = player.chooseButton(dialog); + if (dialog.direct) next.direct = true; + if (dialog.forceDirect) next.forceDirect = true; + next.set('ai', info.chooseButton.check || function () { return 1; }); + next.set('filterButton', info.chooseButton.filter || function () { return true; }); + next.set('selectButton', info.chooseButton.select || 1); + next.set('filterOk', info.chooseButton.filterOk || (() => true)); + if (event.id) next._parent_id = event.id; + next.type = 'chooseToUse_button'; + } + event.buttoned = event.result.skill; + } + else if (info && info.precontent && !game.online && !event.nouse) { + var next = game.createEvent('pre_' + event.result.skill); + next.setContent(info.precontent); + next.set('result', event.result); + next.set('player', player); + } + } + } + "step 3"; + if (event.buttoned) { + if (result.bool || result.control && result.control != 'cancel2') { + var info = get.info(event.buttoned).chooseButton; + lib.skill[event.buttoned + '_backup'] = info.backup(info.chooseControl ? result : result.links, player); + lib.skill[event.buttoned + '_backup'].sourceSkill = event.buttoned; + if (game.online) { + event._sendskill = [event.buttoned + '_backup', lib.skill[event.buttoned + '_backup']]; + } + else { + game.broadcast((skill, audio) => { + if (!lib.skill[skill]) lib.skill[skill] = {}; + lib.skill[skill].audio = audio; + }, event.buttoned + '_backup', lib.skill[event.buttoned + '_backup'].audio); + } + event.backup(event.buttoned + '_backup'); + if (info.prompt) { + event.openskilldialog = info.prompt(info.chooseControl ? result : result.links, player); + } + } + else { + ui.control.animate('nozoom', 100); + event._aiexclude.add(event.buttoned); + } + event.goto(0); + delete event.buttoned; + } + "step 4"; + if (event._aiexcludeclear) { + delete event._aiexcludeclear; + event._aiexclude.length = 0; + } + delete _status.noclearcountdown; + if (event.skillDialog && get.objtype(event.skillDialog) == 'div') { + event.skillDialog.close(); + } + if (event.result && event.result.bool && !game.online && !event.nouse) { + player.useResult(event.result, event); + } + else if (event._sendskill) { + event.result._sendskill = event._sendskill; + } + if ((!event.result || !event.result.bool || event.result._noHidingTimer) && (event.result.skill || event.logSkill)) { + var info = get.info(event.result.skill || event.logSkill); + if (info.direct && !info.clearTime) { + _status.noclearcountdown = 'direct'; + } + } + if (event.dialog && typeof event.dialog == 'object') event.dialog.close(); + if (!_status.noclearcountdown) { + game.stopCountChoose(); + } + "step 5"; + if (event._result && event.result) { + event.result.result = event._result; + } + }, + chooseToRespond: function () { + "step 0"; + if (event.responded) { + delete event.dialog; + return; + } + var skills = player.getSkills('invisible').concat(lib.skill.global); + game.expandSkills(skills); + for (var i = 0; i < skills.length; i++) { + var info = lib.skill[skills[i]]; + if (info && info.onChooseToRespond) { + info.onChooseToRespond(event); + } + } + if (_status.noclearcountdown !== 'direct') _status.noclearcountdown = true; + if (!_status.connectMode && lib.config.skip_shan && event.autochoose && event.autochoose()) { + event.result = { bool: false }; + } + else { + if (game.modeSwapPlayer && !_status.auto && player.isUnderControl()) { + game.modeSwapPlayer(player); + } + if (event.isMine()) { + if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + ui.click.cancel(); + return; + } + var ok = game.check(); + if (!ok || !lib.config.auto_confirm) { + game.pause(); + if (event.openskilldialog) { + event.skillDialog = ui.create.dialog(event.openskilldialog); + delete event.openskilldialog; + event.dialog = event.prompt; + } + else { + if (event.prompt) event.dialog = ui.create.dialog(event.prompt); + if (event.prompt2) event.dialog.addText(event.prompt2); + } + } + } + else if (event.isOnline()) { + event.send(); + } + else { + event.result = 'ai'; + } + } + "step 1"; + if (event.result == 'ai') { + var ok = game.check(); + if (ok) { + ui.click.ok(); + } + else if (ai.basic.chooseCard(event.ai1 || event.ai) || forced) { + if ((ai.basic.chooseTarget(event.ai2) || forced) && (!event.filterOk || event.filterOk())) { + ui.click.ok(); + event._aiexcludeclear = true; + } + else { + if (!event.norestore) { + if (event.skill) { + var skill = event.skill; + ui.click.cancel(); + event._aiexclude.add(skill); + var info = get.info(skill); + if (info.sourceSkill) { + event._aiexclude.add(info.sourceSkill); + } + } + else { + get.card(true).aiexclude(); + game.uncheck(); + } + event.redo(); + game.resume(); + } + else { + ui.click.cancel(); + } + } + } + else if (event.skill && !event.norestore) { + var skill = event.skill; + ui.click.cancel(); + event._aiexclude.add(skill); + var info = get.info(skill); + if (info.sourceSkill) { + event._aiexclude.add(info.sourceSkill); + } + event.redo(); + game.resume(); + } + else { + ui.click.cancel(); + } + if (event.aidelay && event.result && event.result.bool) { + game.delayx(); + } + } + "step 2"; + event.resume(); + if (event.result) { + if (event.result._sendskill) { + lib.skill[event.result._sendskill[0]] = event.result._sendskill[1]; + } + if (event.result.skill) { + var info = get.info(event.result.skill); + if (info && info.chooseButton) { + if (event.dialog && typeof event.dialog == 'object') event.dialog.close(); + var dialog = info.chooseButton.dialog(event, player); + if (info.chooseButton.chooseControl) { + var next = player.chooseControl(info.chooseButton.chooseControl(event, player)); + if (dialog.direct) next.direct = true; + if (dialog.forceDirect) next.forceDirect = true; + next.dialog = dialog; + next.set('ai', info.chooseButton.check || function () { return 0; }); + } + else { + var next = player.chooseButton(dialog); + if (dialog.direct) next.direct = true; + if (dialog.forceDirect) next.forceDirect = true; + next.set('ai', info.chooseButton.check || function () { return 1; }); + next.set('filterButton', info.chooseButton.filter || function () { return true; }); + next.set('selectButton', info.chooseButton.select || 1); + next.set('filterOk', info.chooseButton.filterOk || (() => true)); + } + event.buttoned = event.result.skill; + } + else if (info && info.precontent && !game.online) { + var next = game.createEvent('pre_' + event.result.skill); + next.setContent(info.precontent); + next.set('result', event.result); + next.set('player', player); + } + } + } + "step 3"; + if (event.buttoned) { + if (result.bool || result.control && result.control != 'cancel2') { + var info = get.info(event.buttoned).chooseButton; + lib.skill[event.buttoned + '_backup'] = info.backup(info.chooseControl ? result : result.links, player); + lib.skill[event.buttoned + '_backup'].sourceSkill = event.buttoned; + if (game.online) { + event._sendskill = [event.buttoned + '_backup', lib.skill[event.buttoned + '_backup']]; + } + else { + game.broadcast((skill, audio) => { + if (!lib.skill[skill]) lib.skill[skill] = {}; + lib.skill[skill].audio = audio; + }, event.buttoned + '_backup', lib.skill[event.buttoned + '_backup'].audio); + } + event.backup(event.buttoned + '_backup'); + if (info.prompt) { + event.openskilldialog = info.prompt(info.chooseControl ? result : result.links, player); + } + } + else { + ui.control.animate('nozoom', 100); + event._aiexclude.add(event.buttoned); + } + event.goto(0); + delete event.buttoned; + } + "step 4"; + delete _status.noclearcountdown; + if (event.skillDialog && get.objtype(event.skillDialog) == 'div') { + event.skillDialog.close(); + } + if (event.result.bool && !game.online) { + if (event.result._sendskill) { + lib.skill[event.result._sendskill[0]] = event.result._sendskill[1]; + } + var info = get.info(event.result.skill); + if (event.onresult) { + event.onresult(event.result); + } + if ((!event.result || !event.result.bool || event.result._noHidingTimer) && (event.result.skill || event.logSkill)) { + if (info.direct && !info.clearTime) { + _status.noclearcountdown = 'direct'; + } + } + if (event.logSkill) { + if (typeof event.logSkill == 'string') { + player.logSkill(event.logSkill); + } + else if (Array.isArray(event.logSkill)) { + player.logSkill.apply(player, event.logSkill); + } + } + if (!event.result.card && event.result.skill) { + event.result.used = event.result.skill; + player.useSkill(event.result.skill, event.result.cards, event.result.targets); + } + else { + if (info && info.prerespond) { + info.prerespond(event.result, player); + } + var next = player.respond(event.result.cards, event.result.card, event.animate, event.result.skill, event.source); + if (event.result.noanimate) next.animate = false; + if (event.parent.card && event.parent.type == 'card') { + next.set('respondTo', [event.parent.player, event.parent.card]); + } + if (event.noOrdering) next.noOrdering = true; + } + } + else if (event._sendskill) { + event.result._sendskill = event._sendskill; + } + if (event.dialog && event.dialog.close) event.dialog.close(); + if (!_status.noclearcountdown) { + game.stopCountChoose(); + } + }, + chooseToGive: function () { + "step 0"; + event.result = { + bool: true, + confirm: 'ok', + buttons: [], + links: [], + cards: [], + targets: [], + }; + event.filterCard = (event => { + const filterCard = event.filterCard; + return function (card, player) { + if (!lib.filter.canBeGained(card, this.target, player)) return false; + return filterCard.call(this, card, player); + }; + })(event); + if (event.directresult) { + event.result.cards = event.directresult.slice(0); + event.goto(2); + return; + } + const directFilter = (event.forced && typeof event.filterOk != 'function' && typeof event.selectCard != 'function' && !event.complexCard); + const cards = directFilter ? player.getCards(event.position).filter(card => !card.classList.contains('uncheck') && lib.filter.cardAiIncluded(card) && event.filterCard(card, player)) : []; + const range = get.select(event.selectCard); + if (directFilter && (range[0] >= cards.length || range[1] <= -1)) { + if (player.isOut()) event.result.cards = []; + else event.result.cards = cards; + } + else if (event.isMine()) { + game.check(); + if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + ui.click.cancel(); + return; + } + game.pause(); + if (range[1] > 1 && typeof event.selectCard != 'function') { + event.aiChoose = ui.create.control('AI代选', function () { + ai.basic.chooseCard(event.ai); + if (_status.event.custom && _status.event.custom.add.card) { + _status.event.custom.add.card(); + } + ui.selected.cards.forEach(i => i.updateTransform(true)); + }); + } + if (Array.isArray(event.dialog)) { + event.dialog = ui.create.dialog.apply(this, event.dialog); + event.dialog.open(); + event.dialog.classList.add('noselect'); + } + else if (event.prompt != false) { + let prompt; + if (typeof event.prompt == 'string') prompt = event.prompt; + else { + let select; + if (range[0] == range[1]) select = get.cnNumber(range[0]); + else if (range[1] == Infinity) select = '至少' + get.cnNumber(range[0]); + else select = get.cnNumber(range[0]) + '至' + get.cnNumber(range[1]); + const position = event.position == 'h' ? '手' : event.position == 'e' ? '装备' : ''; + prompt = `请交给${get.translation(target)}${select}张${position}牌`; + } + event.dialog = ui.create.dialog(prompt); + if (event.prompt2) { + event.dialog.addText(event.prompt2, event.prompt2.length <= 20); + } + if (Array.isArray(event.promptx)) { + event.promptx.forEach(i => event.dialog.add(i)); + } + if (Array.isArray(event.selectCard)) { + event.promptbar = event.dialog.add('0/' + get.numStr(event.selectCard[1], 'card')); + event.custom.add.card = function () { + _status.event.promptbar.innerHTML = + ui.selected.cards.length + '/' + get.numStr(_status.event.selectCard[1], 'card'); + }; + } + } + else if (get.itemtype(event.dialog) == 'dialog') { + event.dialog.style.display = ''; + event.dialog.open(); + } + } + else if (event.isOnline()) { + event.send(); + } + else { + event.result = 'ai'; + } + "step 1"; + if (event.result == 'ai') { + game.check(); + if ((ai.basic.chooseCard(event.ai) || forced) && (!event.filterOk || event.filterOk())) { + ui.click.ok(); + } + else if (event.skill) { + ui.click.cancel(); + event._aiexclude.add(event.skill); + event.redo(); + game.resume(); + } + else { + ui.click.cancel(); + } + } + "step 2"; + event.resume(); + if (event.aiChoose) event.aiChoose.close(); + if (event.glow_result && event.result.cards && !event.directresult) { + event.result.cards.forEach(i => i.classList.add('glow')); + } + if (event.dialog) event.dialog.close(); + "step 3"; + if (event.result.bool && event.result.cards && !game.online) { + event.cards = event.result.cards.slice(0); + if (event.logSkill) { + if (Array.isArray(event.logSkill)) player.logSkill(...event.logSkill); + else player.logSkill(event.logSkill); + } + if (event.autodelay && !event.isMine()) { + if (typeof event.autodelay == 'number') game.delayx(event.autodelay); + else game.delayx(); + } + } + else event.finish(); + "step 4"; + if (event.boolline) player.line(target, 'green'); + event.done = target.gain(event.cards, player); + event.done.giver = player; + if (event.delay !== false) event.done.animate = event.visibleMove ? 'give' : 'giveAuto'; + else { + target[event.visibleMove ? '$give' : '$giveAuto'](cards, player); + if (event.visibleMove) event.done.visible = true; + } + }, + chooseToDiscard: function () { + "step 0"; + if (event.autochoose()) { + event.result = { + bool: true, + autochoose: true, + cards: player.getCards(event.position), + rawcards: player.getCards(event.position), + }; + for (var i = 0; i < event.result.cards.length; i++) { + if (!lib.filter.cardDiscardable(event.result.cards[i], player, event)) { + event.result.cards.splice(i--, 1); + } + } + } + else { + // &&!lib.filter.wuxieSwap(trigger) + if (game.modeSwapPlayer && !_status.auto && player.isUnderControl()) { + game.modeSwapPlayer(player); + } + event.rangecards = player.getCards(event.position); + for (var i = 0; i < event.rangecards.length; i++) { + if (lib.filter.cardDiscardable(event.rangecards[i], player, event)) { + event.rangecards.splice(i--, 1); + } + else { + event.rangecards[i].uncheck('chooseToDiscard'); + } + } + var range = get.select(event.selectCard); + if (event.isMine()) { + game.check(); + if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + ui.click.cancel(); + return; + } + game.pause(); + if (range[1] > 1 && typeof event.selectCard != 'function') { + event.promptdiscard = ui.create.control('AI代选', function () { + ai.basic.chooseCard(event.ai); + if (_status.event.custom && _status.event.custom.add.card) { + _status.event.custom.add.card(); + } + for (var i = 0; i < ui.selected.cards.length; i++) { + ui.selected.cards[i].updateTransform(true); + } + }); + } + if (Array.isArray(event.dialog)) { + event.dialog = ui.create.dialog.apply(this, event.dialog); + event.dialog.open(); + event.dialog.classList.add('noselect'); + } + else if (event.prompt != false) { + var str; + if (typeof (event.prompt) == 'string') str = event.prompt; + else { + str = '请弃置'; + if (range[0] == range[1]) str += get.cnNumber(range[0]); + else if (range[1] == Infinity) str += '至少' + get.cnNumber(range[0]); + else str += get.cnNumber(range[0]) + '至' + get.cnNumber(range[1]); + str += '张'; + if (event.position == 'h' || event.position == undefined) str += '手'; + if (event.position == 'e') str += '装备'; + str += '牌'; + } + event.dialog = ui.create.dialog(str); + if (event.prompt2) { + event.dialog.addText(event.prompt2, event.prompt2.length <= 20); + } + if (Array.isArray(event.selectCard)) { + event.promptbar = event.dialog.add('0/' + get.numStr(event.selectCard[1], 'card')); + event.custom.add.card = function () { + _status.event.promptbar.innerHTML = + ui.selected.cards.length + '/' + get.numStr(_status.event.selectCard[1], 'card'); + }; + } + } + else if (get.itemtype(event.dialog) == 'dialog') { + event.dialog.style.display = ''; + event.dialog.open(); + } + } + else if (event.isOnline()) { + event.send(); + } + else { + event.result = 'ai'; + } + } + "step 1"; + if (event.result == 'ai') { + game.check(); + if ((ai.basic.chooseCard(event.ai) || forced) && (!event.filterOk || event.filterOk())) { + ui.click.ok(); + } + else if (event.skill) { + var skill = event.skill; + ui.click.cancel(); + event._aiexclude.add(skill); + event.redo(); + game.resume(); + } + else { + ui.click.cancel(); + } + } + if (event.rangecards) { + for (var i = 0; i < event.rangecards.length; i++) { + event.rangecards[i].recheck('chooseToDiscard'); + } + } + "step 2"; + event.resume(); + if (event.promptdiscard) { + event.promptdiscard.close(); + } + "step 3"; + if (event.result.bool && event.result.cards && event.result.cards.length && + !game.online && event.autodelay && !event.isMine()) { + if (typeof event.autodelay == 'number') { + game.delayx(event.autodelay); + } + else { + game.delayx(); + } + } + "step 4"; + if (event.logSkill && event.result.bool && !game.online) { + if (typeof event.logSkill == 'string') { + player.logSkill(event.logSkill); + } + else if (Array.isArray(event.logSkill)) { + player.logSkill.apply(player, event.logSkill); + } + } + if (!game.online) { + if (typeof event.delay == 'boolean') { + event.done = player.discard(event.result.cards).set('delay', event.delay); + } + else { + event.done = player.discard(event.result.cards); + } + event.done.discarder = player; + } + if (event.dialog && event.dialog.close) event.dialog.close(); + }, + gaincardMultiple: function () { + 'step 0'; + event.type = 'gain'; + if (event.animate == 'give' || event.animate == 'gain2') event.visible = true; + if (player && cards) { + event._lose = true; + player.lose(cards, ui.special).set('type', 'gain').set('forceDie', true).set('getlx', false); + } + 'step 1'; + switch (event.animate) { + case 'draw': + game.delay(0, get.delayx(500, 500)); + for (var i of event.gain_list) { + if (get.itemtype(i[1]) == 'card') i[1] = [i[1]]; + if (event._lose) { + i[1] = i[1].filter(card => { + return !cards.contains(card) || !player.getCards('hejsx').contains(card); + }); + } + if (i[1].length > 0) i[0].$draw(i[1].length); + } + break; + case 'gain': + game.delay(0, get.delayx(700, 700)); + for (var i of event.gain_list) { + if (get.itemtype(i[1]) == 'card') i[1] = [i[1]]; + if (event._lose) { + i[1] = i[1].filter(card => { + return !cards.contains(card) || !player.getCards('hejsx').contains(card); + }); + } + if (i[1].length > 0) i[0].$gain(i[1].length); + } + break; + case 'gain2': case 'draw2': + game.delay(0, get.delayx(500, 500)); + for (var i of event.gain_list) { + if (get.itemtype(i[1]) == 'card') i[1] = [i[1]]; + if (event._lose) { + i[1] = i[1].filter(card => { + return !cards.contains(card) || !player.getCards('hejsx').contains(card); + }); + } + if (i[1].length > 0) i[0].$gain2(i[1]); + } + break; + case 'give': case 'giveAuto': + if (!player) break; + var evt = event.getl(player); + game.delay(0, get.delayx(500, 500)); + for (var i of event.gain_list) { + if (get.itemtype(i[1]) == 'card') i[1] = [i[1]]; + if (event._lose) { + i[1] = i[1].filter(card => { + return !cards.contains(card) || !player.getCards('hejsx').contains(card); + }); + } + var shown = i[1].slice(0), hidden = []; + if (event.animate == 'giveAuto') { + for (var card of i[1]) { + if (evt.hs.contains(card)) { + shown.remove(card); + hidden.push(card); + } + } + } + if (shown.length > 0) player.$give(shown, i[0]); + if (hidden.length > 0) player.$giveAuto(hidden, i[0]); + } + break; + default: + event.finish(); + } + for (var i of event.gain_list) { + if (i[1].length > 0) { + var next = i[0].gain(i[1]); + next.getlx = false; + if (event.visible) next.visible = true; + if (event.giver) next.giver = event.giver; + if (event.gaintag) next.gaintag.addArray(event.gaintag); + } + } + 'step 2'; + game.delayx(); + }, + discardMultiple: function () { + 'step 0'; + event.type = 'discard'; + event.visible = true; + if (!event.position) event.position = ui.discardPile; + var cards = []; + event.cards = cards; + for (var i = 0; i < event.lose_list.length; i++) { + var next = event.lose_list[i][0].lose(event.lose_list[i][1], event.position); + game.log(event.lose_list[i][0], '弃置了', event.lose_list[i][1]); + next.type = 'discard'; + next.animate = false; + next.delay = false; + cards.addArray(event.lose_list[i][1]); + next.getlx = false; + } + var evt = event; + if (evt.animate != false) { + evt.discardid = lib.status.videoId++; + game.broadcastAll(function (list, id, cards) { + for (var i of list) { + for (var j of i[1]) { + j.classList.remove('glow'); + j.classList.remove('glows'); + } + i[0].$throw(i[1], null, 'nobroadcast'); + } + var cardnodes = []; + cardnodes._discardtime = get.time(); + for (var ix of list) { + var card = ix[1]; + for (var i = 0; i < cards.length; i++) { + if (cards[i].clone) { + cardnodes.push(cards[i].clone); + } + } + } + ui.todiscard[id] = cardnodes; + }, event.lose_list, evt.discardid, cards); + if (lib.config.sync_speed && cards[0] && cards[0].clone) { + if (evt.delay != false) { + var waitingForTransition = get.time(); + evt.waitingForTransition = waitingForTransition; + cards[0].clone.listenTransition(function () { + if (_status.waitingForTransition == waitingForTransition && _status.paused) { + game.resume(); + } + delete evt.waitingForTransition; + }); + } + else if (evt.getParent().discardTransition) { + delete evt.getParent().discardTransition; + var waitingForTransition = get.time(); + evt.getParent().waitingForTransition = waitingForTransition; + cards[0].clone.listenTransition(function () { + if (_status.waitingForTransition == waitingForTransition && _status.paused) { + game.resume(); + } + delete evt.getParent().waitingForTransition; + }); + } + } + } + 'step 1'; + if (event.delay != false) { + if (event.waitingForTransition) { + _status.waitingForTransition = event.waitingForTransition; + game.pause(); + } + else { + game.delayx(); + } + } + }, + chooseToCompareLose: function () { + for (var i = 0; i < event.lose_list.length; i++) { + var next = event.lose_list[i][0].lose(event.lose_list[i][1], ui.ordering); + next.relatedEvent = event.getParent(); + next.getlx = false; + } + }, + chooseToCompareMeanwhile: function () { + 'step 0'; + if (player.countCards('h') == 0) { + event.result = { cancelled: true, bool: false }; + event.finish(); + return; + } + for (var i = 0; i < targets.length; i++) { + if (targets[i].countCards('h') == 0) { + event.result = { cancelled: true, bool: false }; + event.finish(); + return; + } + } + if (!event.multitarget) { + targets.sort(lib.sort.seat); + } + game.log(player, '对', targets, '发起了共同拼点'); + event.compareMeanwhile = true; + 'step 1'; + event._result = []; + event.list = targets.filter(function (current) { + return !event.fixedResult || !event.fixedResult[current.playerid]; + }); + if (event.list.length || !event.fixedResult || !event.fixedResult[player.playerid]) { + if (!event.fixedResult || !event.fixedResult[player.playerid]) event.list.unshift(player); + player.chooseCardOL(event.list, '请选择拼点牌', true).set('type', 'compare').set('ai', event.ai).set('source', player).aiCard = function (target) { + var hs = target.getCards('h'); + var event = _status.event; + event.player = target; + hs.sort(function (a, b) { + return event.ai(b) - event.ai(a); + }); + delete event.player; + return { bool: true, cards: [hs[0]] }; + }; + } + 'step 2'; + var cards = []; + var lose_list = []; + if (event.fixedResult && event.fixedResult[player.playerid]) { + event.list.unshift(player); + result.unshift({ bool: true, cards: [event.fixedResult[player.playerid]] }); + lose_list.push([player, [event.fixedResult[player.playerid]]]); + } + else { + if (result[0].skill && lib.skill[result[0].skill] && lib.skill[result[0].skill].onCompare) { + player.logSkill(result[0].skill); + result[0].cards = lib.skill[result[0].skill].onCompare(player); + } + else lose_list.push([player, result[0].cards]); + } + for (var j = 0; j < targets.length; j++) { + if (event.list.contains(targets[j])) { + var i = event.list.indexOf(targets[j]); + if (result[i].skill && lib.skill[result[i].skill] && lib.skill[result[i].skill].onCompare) { + event.list[i].logSkill(result[i].skill); + result[i].cards = lib.skill[result[i].skill].onCompare(event.list[i]); + } + else lose_list.push([targets[j], result[i].cards]); + cards.push(result[i].cards[0]); + } + else if (event.fixedResult && event.fixedResult[targets[j].playerid]) { + cards.push(event.fixedResult[targets[j].playerid]); + lose_list.push([targets[j], [event.fixedResult[targets[j].playerid]]]); + } + } + if (lose_list.length) { + game.loseAsync({ + lose_list: lose_list, + }).setContent('chooseToCompareLose'); + } + event.lose_list = lose_list; + event.getNum = function (card) { + for (var i of event.lose_list) { + if (i[1].contains && i[1].contains(card)) return get.number(card, i[0]); + } + return get.number(card, false); + }; + event.cardlist = cards; + event.cards = cards; + event.card1 = result[0].cards[0]; + event.num1 = event.getNum(event.card1); + event.iwhile = 0; + event.winner = null; + event.maxNum = -1; + event.tempplayer = event.player; + event.result = { + winner: null, + player: event.card1, + targets: event.cardlist.slice(0), + num1: [], + num2: [], + }; + 'step 3'; + event.trigger('compareCardShowBefore'); + 'step 4'; + player.$compareMultiple(event.card1, targets, cards); + game.log(player, '的拼点牌为', event.card1); + event.cardlist.forEach((card, index) => { + game.log(targets[index], '的拼点牌为', card); + }); + player.animate('target'); + game.delay(0, 1000); + 'step 5'; + event.target = null; + event.trigger('compare'); + 'step 6'; + if (event.iwhile < targets.length) { + event.target = targets[event.iwhile]; + event.target.animate('target'); + event.card2 = event.cardlist[event.iwhile]; + event.num2 = event.getNum(event.card2); + //event.tempplayer.line(event.target); + delete event.player; + event.trigger('compare'); + } + else { + game.delay(0, 1000); + event.goto(9); + } + 'step 7'; + event.result.num1[event.iwhile] = event.num1; + event.result.num2[event.iwhile] = event.num2; + var list = [[event.tempplayer, event.num1], [event.target, event.num2]]; + for (var i of list) { + if (i[1] > event.maxNum) { + event.maxNum = i[1]; + event.winner = i[0]; + } + else if (event.winner && i[1] == event.maxNum && i[0] != event.winner) { + event.winner = null; + } + } + 'step 8'; + event.iwhile++; + event.goto(6); + 'step 9'; + var player = event.tempplayer; + event.player = player; + delete event.tempplayer; + var str = '无人拼点成功'; + if (event.winner) { + event.result.winner = event.winner; + str = get.translation(event.winner) + '拼点成功'; + game.log(event.winner, '拼点成功'); + event.winner.popup('胜'); + } else game.log('#b无人', '拼点成功'); + var list = [player].addArray(targets); + list.remove(event.winner); + for (var i of list) { + i.popup('负'); + } + if (str) { + game.broadcastAll(function (str) { + var dialog = ui.create.dialog(str); + dialog.classList.add('center'); + setTimeout(function () { + dialog.close(); + }, 1000); + }, str); + } + game.delay(3); + 'step 10'; + game.broadcastAll(ui.clear); + 'step 11'; + event.cards.add(event.card1); + }, + chooseToCompareMultiple: function () { + "step 0"; + if (player.countCards('h') == 0) { + event.result = { cancelled: true, bool: false }; + event.finish(); + return; + } + for (var i = 0; i < targets.length; i++) { + if (targets[i].countCards('h') == 0) { + event.result = { cancelled: true, bool: false }; + event.finish(); + return; + } + } + if (!event.multitarget) { + targets.sort(lib.sort.seat); + } + game.log(player, '对', targets, '发起拼点'); + "step 1"; + event._result = []; + event.list = targets.filter(function (current) { + return !event.fixedResult || !event.fixedResult[current.playerid]; + }); + if (event.list.length || !event.fixedResult || !event.fixedResult[player.playerid]) { + if (!event.fixedResult || !event.fixedResult[player.playerid]) event.list.unshift(player); + player.chooseCardOL(event.list, '请选择拼点牌', true).set('type', 'compare').set('ai', event.ai).set('source', player).aiCard = function (target) { + var hs = target.getCards('h'); + var event = _status.event; + event.player = target; + hs.sort(function (a, b) { + return event.ai(b) - event.ai(a); + }); + delete event.player; + return { bool: true, cards: [hs[0]] }; + }; + } + "step 2"; + var cards = []; + var lose_list = []; + if (event.fixedResult && event.fixedResult[player.playerid]) { + event.list.unshift(player); + result.unshift({ bool: true, cards: [event.fixedResult[player.playerid]] }); + lose_list.push([player, [event.fixedResult[player.playerid]]]); + } + else { + if (result[0].skill && lib.skill[result[0].skill] && lib.skill[result[0].skill].onCompare) { + player.logSkill(result[0].skill); + result[0].cards = lib.skill[result[0].skill].onCompare(player); + } + else lose_list.push([player, result[0].cards]); + } + for (var j = 0; j < targets.length; j++) { + if (event.list.contains(targets[j])) { + var i = event.list.indexOf(targets[j]); + if (result[i].skill && lib.skill[result[i].skill] && lib.skill[result[i].skill].onCompare) { + event.list[i].logSkill(result[i].skill); + result[i].cards = lib.skill[result[i].skill].onCompare(event.list[i]); + } + else lose_list.push([targets[j], result[i].cards]); + cards.push(result[i].cards[0]); + } + else if (event.fixedResult && event.fixedResult[targets[j].playerid]) { + cards.push(event.fixedResult[targets[j].playerid]); + lose_list.push([targets[j], [event.fixedResult[targets[j].playerid]]]); + } + } + if (lose_list.length) { + game.loseAsync({ + lose_list: lose_list, + }).setContent('chooseToCompareLose'); + } + event.lose_list = lose_list; + event.getNum = function (card) { + for (var i of event.lose_list) { + if (i[1].contains && i[1].contains(card)) return get.number(card, i[0]); + } + return get.number(card, false); + }; + event.cardlist = cards; + event.cards = cards; + event.card1 = result[0].cards[0]; + event.num1 = event.getNum(event.card1); + event.iwhile = 0; + event.result = { + player: event.card1, + targets: event.cardlist.slice(0), + num1: [], + num2: [], + }; + "step 3"; + event.trigger('compareCardShowBefore'); + "step 4"; + game.log(player, '的拼点牌为', event.card1); + "step 5"; + if (event.iwhile < targets.length) { + event.target = targets[event.iwhile]; + event.target.animate('target'); + player.animate('target'); + event.card2 = event.cardlist[event.iwhile]; + event.num2 = event.getNum(event.card2); + game.log(event.target, '的拼点牌为', event.card2); + player.line(event.target); + player.$compare(event.card1, event.target, event.card2); + event.trigger('compare'); + game.delay(0, 1500); + } + else { + event.goto(9); + } + "step 6"; + event.result.num1[event.iwhile] = event.num1; + event.result.num2[event.iwhile] = event.num2; + var str; + if (event.num1 > event.num2) { + str = get.translation(player) + '拼点成功'; + player.popup('胜'); + target.popup('负'); + } + else { + str = get.translation(player) + '拼点失败'; + if (event.num1 == event.num2) { + player.popup('平'); + target.popup('平'); + } + else { + player.popup('负'); + target.popup('胜'); + } + } + game.broadcastAll(function (str) { + var dialog = ui.create.dialog(str); + dialog.classList.add('center'); + setTimeout(function () { + dialog.close(); + }, 1000); + }, str); + game.delay(2); + "step 7"; + if (event.callback) { + game.broadcastAll(function (card1, card2) { + if (card1.clone) card1.clone.style.opacity = 0.5; + if (card2.clone) card2.clone.style.opacity = 0.5; + }, event.card1, event.card2); + var next = game.createEvent('compareMultiple'); + next.player = player; + next.target = event.target; + next.card1 = event.card1; + next.card2 = event.card2; + next.num1 = event.num1; + next.num2 = event.num2; + next.setContent(event.callback); + event.compareMultiple = true; + } + "step 8"; + game.broadcastAll(ui.clear); + event.iwhile++; + event.goto(5); + "step 9"; + event.cards.add(event.card1); + }, + chooseToCompare: function () { + "step 0"; + if (((!event.fixedResult || !event.fixedResult[player.playerid]) && player.countCards('h') == 0) || ((!event.fixedResult || !event.fixedResult[target.playerid]) && target.countCards('h') == 0)) { + event.result = { cancelled: true, bool: false }; + event.finish(); + return; + } + game.log(player, '对', target, '发起拼点'); + event.lose_list = []; + "step 1"; + var sendback = function () { + if (_status.event != event) { + return function () { + event.resultOL = _status.event.resultOL; + }; + } + }; + if (event.fixedResult && event.fixedResult[player.playerid]) { + event.card1 = event.fixedResult[player.playerid]; + event.lose_list.push([player, event.card1]); + } + else if (player.isOnline()) { + player.wait(sendback); + event.ol = true; + player.send(function (ai) { + game.me.chooseCard('请选择拼点牌', true).set('type', 'compare').set('glow_result', true).ai = ai; + game.resume(); + }, event.ai); + } + else { + event.localPlayer = true; + player.chooseCard('请选择拼点牌', true).set('type', 'compare').set('glow_result', true).ai = event.ai; + } + if (event.fixedResult && event.fixedResult[target.playerid]) { + event.card2 = event.fixedResult[target.playerid]; + event.lose_list.push([target, event.card2]); + } + else if (target.isOnline()) { + target.wait(sendback); + event.ol = true; + target.send(function (ai) { + game.me.chooseCard('请选择拼点牌', true).set('type', 'compare').set('glow_result', true).ai = ai; + game.resume(); + }, event.ai); + } + else { + event.localTarget = true; + } + "step 2"; + if (event.localPlayer) { + if (result.skill && lib.skill[result.skill] && lib.skill[result.skill].onCompare) { + result.cards = lib.skill[result.skill].onCompare(player); + player.logSkill(result.skill); + } + else event.lose_list.push([player, result.cards[0]]); + event.card1 = result.cards[0]; + } + if (event.localTarget) { + target.chooseCard('请选择拼点牌', true).set('type', 'compare').set('glow_result', true).ai = event.ai; + } + "step 3"; + if (event.localTarget) { + if (result.skill && lib.skill[result.skill] && lib.skill[result.skill].onCompare) { + target.logSkill(result.skill); + result.cards = lib.skill[result.skill].onCompare(target); + } + else event.lose_list.push([target, result.cards[0]]); + event.card2 = result.cards[0]; + } + if (!event.resultOL && event.ol) { + game.pause(); + } + "step 4"; + try { + if (!event.card1) { + if (event.resultOL[player.playerid].skill && lib.skill[event.resultOL[player.playerid].skill] && lib.skill[event.resultOL[player.playerid].skill].onCompare) { + player.logSkill(event.resultOL[player.playerid].skill); + event.resultOL[player.playerid].cards = lib.skill[event.resultOL[player.playerid].skill].onCompare(player); + } + else event.lose_list.push([player, event.resultOL[player.playerid].cards[0]]); + event.card1 = event.resultOL[player.playerid].cards[0]; + } + if (!event.card2) { + if (event.resultOL[target.playerid].skill && lib.skill[event.resultOL[target.playerid].skill] && lib.skill[event.resultOL[target.playerid].skill].onCompare) { + target.logSkill(event.resultOL[target.playerid].skill); + event.resultOL[target.playerid].cards = lib.skill[event.resultOL[target.playerid].skill].onCompare(player); + } + else event.lose_list.push([target, event.resultOL[target.playerid].cards[0]]); + event.card2 = event.resultOL[target.playerid].cards[0]; + } + if (!event.card1 || !event.card2) { + throw ('err'); + } + } + catch (e) { + console.log(e); + game.print(e); + event.finish(); + return; + } + if (event.card2.number >= 10 || event.card2.number <= 4) { + if (target.countCards('h') > 2) { + event.addToAI = true; + } + } + if (event.lose_list.length) { + game.loseAsync({ + lose_list: event.lose_list, + }).setContent('chooseToCompareLose'); + } + "step 5"; + event.trigger('compareCardShowBefore'); + "step 6"; + game.broadcast(function () { + ui.arena.classList.add('thrownhighlight'); + }); + ui.arena.classList.add('thrownhighlight'); + game.addVideo('thrownhighlight1'); + player.$compare(event.card1, target, event.card2); + game.log(player, '的拼点牌为', event.card1); + game.log(target, '的拼点牌为', event.card2); + var getNum = function (card) { + for (var i of event.lose_list) { + if (i[1] == card) return get.number(card, i[0]); + } + return get.number(card, false); + }; + event.num1 = getNum(event.card1); + event.num2 = getNum(event.card2); + event.trigger('compare'); + game.delay(0, 1500); + "step 7"; + event.result = { + player: event.card1, + target: event.card2, + num1: event.num1, + num2: event.num2 + }; + var str; + if (event.num1 > event.num2) { + event.result.bool = true; + event.result.winner = player; + str = get.translation(player) + '拼点成功'; + player.popup('胜'); + target.popup('负'); + } + else { + event.result.bool = false; + str = get.translation(player) + '拼点失败'; + if (event.num1 == event.num2) { + event.result.tie = true; + player.popup('平'); + target.popup('平'); + } + else { + event.result.winner = target; + player.popup('负'); + target.popup('胜'); + } + } + game.broadcastAll(function (str) { + var dialog = ui.create.dialog(str); + dialog.classList.add('center'); + setTimeout(function () { + dialog.close(); + }, 1000); + }, str); + game.delay(2); + "step 8"; + if (typeof event.target.ai.shown == 'number' && event.target.ai.shown <= 0.85 && event.addToAI) { + event.target.ai.shown += 0.1; + } + game.broadcastAll(function () { + ui.arena.classList.remove('thrownhighlight'); + }); + game.addVideo('thrownhighlight2'); + if (event.clear !== false) { + game.broadcastAll(ui.clear); + } + if (typeof event.preserve == 'function') { + event.preserve = event.preserve(event.result); + } + else if (event.preserve == 'win') { + event.preserve = event.result.bool; + } + else if (event.preserve == 'lose') { + event.preserve = !event.result.bool; + } + }, + chooseSkill: function () { + 'step 0'; + var list; + if (typeof event.target == 'string') { + list = get.gainableSkillsName(event.target, event.func); + } + else { + list = event.target.getGainableSkills(event.func); + } + if (!list.length) { + event.finish(); + event.result = { bool: false }; + return; + } + event.skillai = function (list) { + return get.max(list, get.skillRank, 'item'); + }; + if (event.isMine()) { + var dialog = ui.create.dialog('forcebutton'); + dialog.add(event.prompt || '选择获得一项技能'); + _status.event.list = list; + var clickItem = function () { + _status.event._result = this.link; + game.resume(); + }; + for (i = 0; i < list.length; i++) { + if (lib.translate[list[i] + '_info']) { + var translation = get.translation(list[i]); + if (translation[0] == '新' && translation.length == 3) { + translation = translation.slice(1, 3); + } + else { + translation = translation.slice(0, 2); + } + var item = dialog.add(''); + item.firstChild.addEventListener('click', clickItem); + item.firstChild.link = list[i]; + } + } + dialog.add(ui.create.div('.placeholder')); + event.dialog = dialog; + event.switchToAuto = function () { + event._result = event.skillai(event.list); + game.resume(); + }; + _status.imchoosing = true; + game.pause(); + } + else { + event._result = event.skillai(list); + } + 'step 1'; + _status.imchoosing = false; + if (event.dialog) { + event.dialog.close(); + } + event.result = { bool: true, skill: result }; + }, + discoverCard: function () { + 'step 0'; + var num = event.num || 3; + var choice; + if (typeof event.list == 'string' || typeof event.list == 'function') { + choice = get.inpile(event.list).randomGets(num); + } + else if (Array.isArray(event.list)) { + choice = event.list.randomGets(num); + } + else { + choice = Array.from(event.list).randomGets(num); + } + if (choice.length) { + var prompt = event.prompt; + if (!prompt) { + prompt = '选择一张牌'; + if (event.use) { + prompt += '使用之'; + } + else if (!event.nogain) { + prompt += '获得之'; + } + } + if (typeof choice[0] === 'string') { + var next = player.chooseVCardButton(choice, prompt, event.forced); + if (event.ai) { + next.set('ai', event.ai); + } + } + else if (get.itemtype(choice[0]) == 'card') { + var next = player.chooseCardButton(choice, prompt, event.forced); + if (event.ai) { + next.set('ai', event.ai); + } + } + else { + event.finish(); + } + } + else { + event.finish(); + } + 'step 1'; + event.result = { + bool: result.bool, + card: null, + choice: null + }; + if (result.bool && result.links.length) { + var link = result.links[0]; + var togain = null; + if (get.itemtype(link) == 'card') { + event.result.card = link; + togain = link; + } + else if (Array.isArray(link)) { + event.result.choice = link[2]; + togain = game.createCard(link[2]); + } + if (togain) { + if (event.use) { + player.chooseUseTarget(togain); + } + else if (!event.nogain) { + player.gain(togain, 'draw'); + game.log(player, '获得了一张牌'); + } + } + } + }, + chooseButton: function () { + "step 0"; + if (typeof event.dialog == 'number') { + event.dialog = get.idDialog(event.dialog); + } + if (event.createDialog && !event.dialog) { + if (Array.isArray(event.createDialog)) { + event.createDialog.add('hidden'); + event.dialog = ui.create.dialog.apply(this, event.createDialog); + } + event.closeDialog = true; + } + if (event.dialog == undefined) event.dialog = ui.dialog; + if (event.isMine() || event.dialogdisplay) { + event.dialog.style.display = ''; + event.dialog.open(); + } + var filterButton = event.filterButton || function () { return true; }; + var selectButton = get.select(event.selectButton); + var buttons = event.dialog.buttons; + var buttonsx = []; + var num = 0; + for (var i = 0; i < buttons.length; i++) { + var button = buttons[i]; + if (filterButton(button, player)) { + num++; + buttonsx.add(button); + } + } + if (event.isMine()) { + if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + ui.click.cancel(); + return; + } + else if (event.direct && num == selectButton[0] || event.forceDirect) { + var buttons = buttonsx.slice(0, num); + event.result = { + bool: true, + button: [buttons], + links: get.links(buttons), + }; + event.dialog.close(); + } + else { + game.check(); + game.pause(); + } + } + else if (event.isOnline()) { + if (event.direct && num == 1 || event.forceDirect) { + var buttons = buttonsx.slice(0, num); + event.result = { + bool: true, + button: [buttons], + links: get.links(buttons), + }; + event.dialog.close(); + } + else { + event.send(); + } + delete event.callback; + } + else { + event.result = 'ai'; + } + if (event.onfree) { + lib.init.onfree(); + } + "step 1"; + if (event.result == 'ai') { + if (event.processAI) { + event.result = event.processAI(); + } + else { + game.check(); + if ((ai.basic.chooseButton(event.ai) || forced) && (!event.filterOk || event.filterOk())) ui.click.ok(); + else ui.click.cancel(); + } + } + if (event.closeDialog) { + event.dialog.close(); + } + if (event.callback) { + event.callback(event.player, event.result); + } + event.resume(); + }, + chooseCardOL: function () { + 'step 0'; + event.targets = event.list.slice(0); + if (!_status.connectMode) { + event.result = []; + event.goto(7); + } + else { + for (var i = 0; i < event.list.length; i++) { + var target = event.list[i]; + target.wait(); + if (target.isOnline()) { + target.send(function (args, set) { + game.me.chooseCard.apply(game.me, args).set(set); + game.resume(); + }, event._args, event._set); + event.list.splice(i--, 1); + } + else if (target == game.me) { + event.withme = true; + event.list.splice(i--, 1); + } + } + } + 'step 1'; + if (event.list.length) { + event.target = event.list.shift(); + event.target.chooseCard.apply(event.target, event._args).set(event._set); + } + else { + event.goto(3); + } + 'step 2'; + event.target.unwait(result); + event.goto(1); + 'step 3'; + if (event.withme) { + game.me.chooseCard.apply(game.me, event._args).set(event._set); + } + else { + event.goto(5); + } + 'step 4'; + game.me.unwait(result); + 'step 5'; + if (!event.resultOL) { + game.pause(); + } + 'step 6'; + event.result = []; + for (var i = 0; i < event.targets.length; i++) { + event.result[i] = event.resultOL[event.targets[i].playerid] || {}; + if (event.result[i] == 'ai' && event.aiCard) { + event.result[i] = event.aiCard(event.targets[i]); + } + } + event.finish(); + 'step 7'; + if (event.list.length) { + event.target = event.list.shift(); + event.target.chooseCard.apply(event.target, event._args).set(event._set); + } + else { + for (var i = 0; i < event.targets.length; i++) { + if (!event.result[i]) { + event.result[i] = {}; + } + } + event.finish(); + } + 'step 8'; + event.result[event.targets.indexOf(event.target)] = result; + event.goto(7); + }, + chooseButtonOL: function () { + 'step 0'; + //ui.arena.classList.add('markhidden'); + for (var i = 0; i < event.list.length; i++) { + var current = event.list[i]; + current[0].wait(); + if (current[0].isOnline()) { + var target = current.shift(); + target.send(function (args, callback, switchToAuto, processAI) { + //ui.arena.classList.add('markhidden'); + var next = game.me.chooseButton.apply(game.me, args); + next.callback = callback; + next.switchToAuto = switchToAuto; + next.processAI = processAI; + next.complexSelect = true; + game.resume(); + }, current, event.callback, event.switchToAuto, event.processAI); + target._choose_button_ol = current; + event.list.splice(i--, 1); + } + else if (current[0] == game.me) { + event.last = current; + event.last.shift(); + event.list.splice(i--, 1); + } + } + 'step 1'; + if (event.list.length) { + var current = event.list.shift(); + event.target = current.shift(); + var next = event.target.chooseButton.apply(event.target, current); + next.callback = event.callback; + next.switchToAuto = event.switchToAuto; + next.processAI = event.processAI; + } + else { + event.goto(3); + } + 'step 2'; + event.target.unwait(result); + event.goto(1); + 'step 3'; + if (event.last) { + var next = game.me.chooseButton.apply(game.me, event.last); + next.callback = event.callback; + next.switchToAuto = event.switchToAuto; + next.processAI = event.processAI; + } + else { + event.goto(5); + } + 'step 4'; + game.me.unwait(result); + 'step 5'; + if (!event.resultOL) { + game.pause(); + } + 'step 6'; + /*game.broadcastAll(function(){ + ui.arena.classList.remove('markhidden'); + });*/ + event.result = event.resultOL; + }, + chooseCard: function () { + "step 0"; + if (event.directresult) { + event.result = { + buttons: [], + cards: event.directresult.slice(0), + targets: [], + confirm: 'ok', + bool: true, + links: [] + }; + } + else { + if (event.isMine()) { + game.check(); + game.pause(); + if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + ui.click.cancel(); + return; + } + if (event.prompt != false) { + var str; + if (typeof event.prompt == 'string') str = event.prompt; + else { + str = '请选择'; + var range = get.select(event.selectCard); + if (range[0] == range[1]) str += get.cnNumber(range[0]); + else if (range[1] == Infinity) str += '至少' + get.cnNumber(range[0]); + else str += get.cnNumber(range[0]) + '至' + get.cnNumber(range[1]); + str += '张'; + if (event.position == 'h' || event.position == undefined) str += '手'; + if (event.position == 'e') str += '装备'; + str += '牌'; + } + event.dialog = ui.create.dialog(str); + if (event.prompt2) { + event.dialog.addText(event.prompt2, event.prompt2.length <= 20); + } + if (Array.isArray(event.promptx)) { + for (var i = 0; i < event.promptx.length; i++) { + event.dialog.add(event.promptx[i]); + } + } + if (Array.isArray(event.selectCard)) { + event.promptbar = event.dialog.add('0/' + get.numStr(event.selectCard[1], 'card')); + event.custom.add.card = function () { + _status.event.promptbar.innerHTML = + ui.selected.cards.length + '/' + get.numStr(_status.event.selectCard[1], 'card'); + }; + } + } + } + else if (event.isOnline()) { + event.send(); + } + else { + event.result = 'ai'; + } + } + "step 1"; + if (event.result == 'ai') { + game.check(); + if ((ai.basic.chooseCard(event.ai) || forced) && (!event.filterOk || event.filterOk())) { + ui.click.ok(); + } + else if (event.skill) { + var skill = event.skill; + ui.click.cancel(); + event._aiexclude.add(skill); + event.redo(); + game.resume(); + } + else { + ui.click.cancel(); + } + } + "step 2"; + event.resume(); + if (event.glow_result && event.result.cards && !event.directresult) { + for (var i = 0; i < event.result.cards.length; i++) { + event.result.cards[i].classList.add('glow'); + } + } + if (event.dialog) event.dialog.close(); + }, + chooseTarget: function () { + "step 0"; + if (event.isMine()) { + if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + ui.click.cancel(); + return; + } + game.check(); + game.pause(); + if (event.createDialog && !event.dialog && Array.isArray(event.createDialog)) { + event.dialog = ui.create.dialog.apply(this, event.createDialog); + } + else if (event.prompt != false) { + var str; + if (typeof event.prompt == 'string') str = event.prompt; + else { + str = '请选择'; + var range = get.select(event.selectTarget); + if (range[0] == range[1]) str += get.cnNumber(range[0]); + else if (range[1] == Infinity) str += '至少' + get.cnNumber(range[0]); + else str += get.cnNumber(range[0]) + '至' + get.cnNumber(range[1]); + str += '个目标'; + } + event.dialog = ui.create.dialog(str); + if (event.prompt2) { + event.dialog.addText(event.prompt2, event.prompt2.length <= 20); + } + if (event.promptbar != 'none') { + event.promptbar = event.dialog.add('0/' + get.numStr(get.select(event.selectTarget)[1], 'target')); + event.custom.add.target = function () { + _status.event.promptbar.innerHTML = + ui.selected.targets.length + '/' + get.numStr(get.select(event.selectTarget)[1], 'target'); + }; + } + } + else if (get.itemtype(event.dialog) == 'dialog') { + event.dialog.open(); + } + } + else if (event.isOnline()) { + event.send(); + } + else { + event.result = 'ai'; + } + "step 1"; + if (event.result == 'ai') { + game.check(); + if ((ai.basic.chooseTarget(event.ai) || forced) && (!event.filterOk || event.filterOk())) { + ui.click.ok(); + } + else { + ui.click.cancel(); + } + } + if (event.result.bool && event.animate !== false) { + for (var i = 0; i < event.result.targets.length; i++) { + event.result.targets[i].animate('target'); + } + } + if (event.dialog) event.dialog.close(); + event.resume(); + "step 2"; + if (event.onresult) { + event.onresult(event.result); + } + if (event.result.bool && event.autodelay && !event.isMine()) { + if (typeof event.autodelay == 'number') { + game.delayx(event.autodelay); + } + else { + game.delayx(); + } + } + }, + chooseCardTarget: function () { + "step 0"; + if (event.isMine()) { + if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + ui.click.cancel(); + return; + } + game.check(); + game.pause(); + if (event.prompt != false) { + event.dialog = ui.create.dialog(event.prompt || '请选择卡牌和目标'); + if (event.prompt2) { + event.dialog.addText(event.prompt2, event.prompt2.length <= 20); + } + } + } + else if (event.isOnline()) { + event.send(); + } + else { + event.result = 'ai'; + } + "step 1"; + if (event.result == 'ai') { + game.check(); + if (ai.basic.chooseCard(event.ai1) || forced) { + if ((ai.basic.chooseTarget(event.ai2) || forced) && (!event.filterOk || event.filterOk())) { + ui.click.ok(); + _status.event._aiexclude.length = 0; + } + else { + ui.click.cancel(); + } + } + else { + ui.click.cancel(); + } + } + "step 2"; + event.resume(); + if (event.result.bool && event.animate !== false) { + for (var i = 0; i < event.result.targets.length; i++) { + event.result.targets[i].animate('target'); + } + } + if (event.dialog) event.dialog.close(); + }, + chooseControl: function () { + "step 0"; + if (event.controls.length == 0) { + if (event.sortcard) { + var sortnum = 2; + if (event.sorttop) { + sortnum = 1; + } + for (var i = 0; i < event.sortcard.length + sortnum; i++) { + event.controls.push(get.cnNumber(i, true)); + } + } + else if (event.choiceList) { + for (var i = 0; i < event.choiceList.length; i++) { + event.controls.push('选项' + get.cnNumber(i + 1, true)); + } + } + else { + event.finish(); + return; + } + } + else if (event.choiceList && event.controls.length == 1 && event.controls[0] == 'cancel2') { + event.controls.shift(); + for (var i = 0; i < event.choiceList.length; i++) { + event.controls.push('选项' + get.cnNumber(i + 1, true)); + } + event.controls.push('cancel2'); + } + if (event.isMine()) { + if (event.arrangeSkill) { + var hidden = player.hiddenSkills.slice(0); + game.expandSkills(hidden); + if (hidden.length) { + for (var i of event.controls) { + if (_status.prehidden_skills.contains(i) && hidden.contains(i)) { + event.result = { + bool: true, + control: i, + }; + return; + } + } + } + } + else if (event.hsskill && _status.prehidden_skills.contains(event.hsskill) && event.controls.contains('cancel2')) { + event.result = { + bool: true, + control: 'cancel2', + }; + return; + } + if (event.sortcard) { + var prompt = event.prompt || '选择一个位置'; + if (event.tosort) { + prompt += '放置' + get.translation(event.tosort); + } + event.dialog = ui.create.dialog(prompt, 'hidden'); + if (event.sortcard && event.sortcard.length) { + event.dialog.addSmall(event.sortcard); + } + else { + event.dialog.buttons = []; + event.dialog.add(ui.create.div('.buttons')); + } + var buttons = event.dialog.content.lastChild; + var sortnum = 2; + if (event.sorttop) { + sortnum = 1; + } + for (var i = 0; i < event.dialog.buttons.length + sortnum; i++) { + var item = ui.create.div('.button.card.pointerdiv.mebg'); + item.style.width = '50px'; + buttons.insertBefore(item, event.dialog.buttons[i]); + item.innerHTML = '
    第' + get.cnNumber(i + 1, true) + '张
    '; + if (i == event.dialog.buttons.length + 1) { + item.firstChild.innerHTML = '牌堆底'; + } + item.link = get.cnNumber(i, true); + item.listen(ui.click.dialogcontrol); + } + + event.dialog.forcebutton = true; + event.dialog.classList.add('forcebutton'); + event.dialog.open(); + } + else if (event.dialogcontrol) { + event.dialog = ui.create.dialog(event.prompt || '选择一项', 'hidden'); + for (var i = 0; i < event.controls.length; i++) { + var item = event.dialog.add(''); + item.firstChild.listen(ui.click.dialogcontrol); + item.firstChild.link = event.controls[i]; + } + event.dialog.forcebutton = true; + event.dialog.classList.add('forcebutton'); + if (event.addDialog) { + for (var i = 0; i < event.addDialog.length; i++) { + if (get.itemtype(event.addDialog[i]) == 'cards') { + event.dialog.addSmall(event.addDialog[i]); + } + else { + event.dialog.add(event.addDialog[i]); + } + } + event.dialog.add(ui.create.div('.placeholder.slim')); + } + event.dialog.open(); + } + else { + if (event.seperate || lib.config.seperate_control) { + var controls = event.controls.slice(0); + var num = 0; + controls.remove('cancel2'); + if (event.direct && controls.length == 1 || event.forceDirect) { + event.result = { + control: event.controls[0].link, + links: get.links([event.controls[0]]), + }; + return; + } + else { + event.controlbars = []; + for (var i = 0; i < event.controls.length; i++) { + event.controlbars.push(ui.create.control([event.controls[i]])); + } + } + } + else { + var controls = event.controls.slice(0); + var num = 0; + controls.remove('cancel2'); + if (event.direct && controls.length == 1 || event.forceDirect) { + event.result = { + control: event.controls[0].link, + links: get.links([event.controls[0]]), + }; + return; + } + event.controlbar = ui.create.control(event.controls); + } + if (event.dialog) { + if (Array.isArray(event.dialog)) { + event.dialog = ui.create.dialog.apply(this, event.dialog); + } + event.dialog.open(); + } + else if (event.choiceList) { + event.dialog = ui.create.dialog(event.prompt || '选择一项', 'hidden'); + event.dialog.forcebutton = true; + event.dialog.open(); + for (var i = 0; i < event.choiceList.length; i++) { + event.dialog.add(''); + } + } + else if (event.prompt) { + event.dialog = ui.create.dialog(event.prompt); + if (event.prompt2) { + event.dialog.addText(event.prompt2, Boolean(event.prompt2.length <= 20 || event.centerprompt2)); + } + } + } + game.pause(); + game.countChoose(); + event.choosing = true; + } + else if (event.isOnline()) { + event.send(); + } + else { + event.result = 'ai'; + } + "step 1"; + if (event.result == 'ai') { + event.result = {}; + if (event.ai) { + var result = event.ai(event.getParent(), player); + if (typeof result == 'number') event.result.control = event.controls[result]; + else event.result.control = result; + } + else event.result.control = event.controls[event.choice]; + } + event.result.index = event.controls.indexOf(event.result.control); + event.choosing = false; + _status.imchoosing = false; + if (event.dialog && event.dialog.close) event.dialog.close(); + if (event.controlbar) event.controlbar.close(); + if (event.controlbars) { + for (var i = 0; i < event.controlbars.length; i++) { + event.controlbars[i].close(); + } + } + event.resume(); + }, + chooseBool: function () { + "step 0"; + if (event.isMine()) { + if (event.frequentSkill && !lib.config.autoskilllist.contains(event.frequentSkill)) { + ui.click.ok(); + return; + } + else if (event.hsskill && _status.prehidden_skills.contains(event.hsskill)) { + ui.click.cancel(); + return; + } + ui.create.confirm('oc'); + if (event.createDialog && !event.dialog) { + if (Array.isArray(event.createDialog)) { + event.dialog = ui.create.dialog.apply(this, event.createDialog); + if (event.dialogselectx) { + for (var i = 0; i < event.dialog.buttons.length; i++) { + event.dialog.buttons[i].classList.add('selectedx'); + } + } + } + } + if (event.dialog) { + event.dialog.open(); + } + else if (event.prompt) { + event.dialog = ui.create.dialog(event.prompt); + if (event.prompt2) { + event.dialog.addText(event.prompt2, event.prompt2.length <= 20); + } + } + game.pause(); + game.countChoose(); + event.choosing = true; + } + else if (event.isOnline()) { + event.send(); + } + else { + event.result = 'ai'; + } + "step 1"; + if (event.result == 'ai') { + if (event.ai) { + event.choice = event.ai(event.getParent(), player); + } + event.result = { bool: event.choice }; + } + _status.imchoosing = false; + event.choosing = false; + if (event.dialog) event.dialog.close(); + event.resume(); + }, + chooseDrawRecover: function () { + 'step 0'; + if (player.isHealthy() && event.forced) { + player.draw(event.num1); + event.finish(); + return; + } + var controls = ['draw_card']; + if (player.isDamaged()) { + event.num2 = Math.min(event.num2, player.maxHp - player.hp); + controls.push('recover_hp'); + } + if (!event.forced) { + controls.push('cancel2'); + } + var prompt = event.prompt; + if (!prompt) { + if (player.isHealthy()) { + prompt = '是否摸' + get.cnNumber(event.num1) + '张牌?'; + } + else { + prompt = '摸' + get.cnNumber(event.num1) + '张牌或回复' + get.cnNumber(event.num2) + '点体力'; + } + } + var next = player.chooseControl(controls); + next.set('prompt', prompt); + if (event.hsskill) next.setHiddenSkill(event.hsskill); + if (event.ai) { + next.set('ai', event.ai); + } + else { + var choice; + if (player.isDamaged() && get.recoverEffect(player) > 0 && ( + player.hp == 1 || player.needsToDiscard() || + player.hasSkillTag('maixie_hp') || event.num2 > event.num1 || + (event.num2 == event.num1 && player.needsToDiscard(1)) + )) { + choice = 'recover_hp'; + } + else { + choice = 'draw_card'; + } + next.set('ai', function () { + return _status.event.choice; + }); + next.set('choice', choice); + } + 'step 1'; + if (result.control != 'cancel2') { + if (event.logSkill) { + if (typeof event.logSkill == 'string') { + player.logSkill(event.logSkill); + } + else if (Array.isArray(event.logSkill)) { + player.logSkill.apply(player, event.logSkill); + } + } + if (result.control == 'draw_card') { + player.draw(event.num1); + } + else { + player.recover(event.num2); + } + } + event.result = result; + }, + choosePlayerCard: function () { + "step 0"; + if (!event.dialog) event.dialog = ui.create.dialog('hidden'); + else if (!event.isMine()) { + event.dialog.style.display = 'none'; + } + if (event.prompt) { + event.dialog.add(event.prompt); + } + else { + event.dialog.add('选择' + get.translation(target) + '的一张牌'); + } + if (event.prompt2) { + event.dialog.addText(event.prompt2); + } + var expand_length = 0; + var directh = (!lib.config.unauto_choose && !event.complexSelect); + for (var i = 0; i < event.position.length; i++) { + if (event.position[i] == 'h') { + var hs = target.getCards('h'); + if (hs.length) { + expand_length += Math.ceil(hs.length / 6); + var title = event.dialog.add('
    手牌区
    '); + title.style.margin = '0px'; + title.style.padding = '0px'; + hs.randomSort(); + if (event.visible || target.isUnderControl(true) || player.hasSkillTag('viewHandcard', null, target, true)) { + event.dialog.add(hs); + directh = false; + } + else { + var shown = hs.filter(card => get.is.shownCard(card)); + if (shown.length) { + var hidden = hs.filter(card => !shown.includes(card)); + var buttons = ui.create.div('.buttons', event.dialog.content); + event.dialog.buttons = event.dialog.buttons.concat(ui.create.buttons(shown, 'card', buttons)); + event.dialog.buttons = event.dialog.buttons.concat(ui.create.buttons(hidden, 'blank', buttons)); + if (event.dialog.forcebutton !== false) event.dialog.forcebutton = true; + if (event.dialog.buttons.length > 3) { + event.dialog.classList.remove('forcebutton-auto'); + } + else if (!event.dialog.noforcebutton) { + event.dialog.classList.add('forcebutton-auto'); + } + } + else { + event.dialog.add([hs, 'blank']); + } + } + } + } + else if (event.position[i] == 'e') { + var es = target.getCards('e'); + if (es.length) { + expand_length += Math.ceil(es.length / 6); + var title = event.dialog.add('
    装备区
    '); + title.style.margin = '0px'; + title.style.padding = '0px'; + event.dialog.add(es); + directh = false; + } + } + else if (event.position[i] == 'j') { + var js = target.getCards('j'); + if (js.length) { + expand_length += Math.ceil(js.length / 6); + var title = event.dialog.add('
    判定区
    '); + title.style.margin = '0px'; + title.style.padding = '0px'; + event.dialog.add(js); + directh = false; + } + } + } + if (event.dialog.buttons.length == 0) { + event.finish(); + return; + } var directFilter = (event.forced && typeof event.filterOk != 'function' && typeof event.selectButton != 'function' && event.filterButton == lib.filter.all); + var cs = target.getCards(event.position); + var select = get.select(event.selectButton); + if (directFilter && select[0] >= cs.length) { + event.result = { + bool: true, + buttons: event.dialog.buttons, + links: cs + }; + } + else if (directFilter && directh && !event.isOnline() && select[0] == select[1]) { + event.result = { + bool: true, + buttons: event.dialog.buttons.randomGets(select[0]), + links: [] + }; + for (var i = 0; i < event.result.buttons.length; i++) { + event.result.links[i] = event.result.buttons[i].link; + } + } + else { + if (event.isMine()) { + if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + ui.click.cancel(); + return; + } + event.dialog.open(); + game.check(); + game.pause(); + if (expand_length > 2) { + ui.arena.classList.add('choose-player-card'); + event.dialog.classList.add('fullheight'); + } + } + else if (event.isOnline()) { + event.send(); + } + else { + event.result = 'ai'; + } + } + "step 1"; + if (event.result == 'ai') { + game.check(); + if ((ai.basic.chooseButton(event.ai) || forced) && (!event.filterOk || event.filterOk())) ui.click.ok(); + else ui.click.cancel(); + } + event.dialog.close(); + if (event.result.links) { + event.result.cards = event.result.links.slice(0); + } + event.resume(); + setTimeout(function () { + ui.arena.classList.remove('choose-player-card'); + }, 500); + }, + discardPlayerCard: function () { + "step 0"; + if (event.directresult) { + event.result = { + buttons: [], + cards: event.directresult.slice(0), + links: event.directresult.slice(0), + targets: [], + confirm: 'ok', + bool: true + }; + event.cards = event.directresult.slice(0); + event.goto(2); + return; + } + if (!event.dialog) event.dialog = ui.create.dialog('hidden'); + else if (!event.isMine()) { + event.dialog.style.display = 'none'; + } + if (event.prompt == undefined) { + var str = '弃置' + get.translation(target); + var range = get.select(event.selectButton); + if (range[0] == range[1]) str += get.cnNumber(range[0]); + else if (range[1] == Infinity) str += '至少' + get.cnNumber(range[0]); + else str += get.cnNumber(range[0]) + '至' + get.cnNumber(range[1]); + str += '张'; + if (event.position == 'h' || event.position == undefined) str += '手'; + if (event.position == 'e') str += '装备'; + str += '牌'; + event.prompt = str; + } + if (event.prompt) { + event.dialog.add(event.prompt); + } + if (event.prompt2) { + event.dialog.addText(event.prompt2); + } + var directh = (!lib.config.unauto_choose && !event.complexSelect); + var expand_length = 0; + for (var i = 0; i < event.position.length; i++) { + if (event.position[i] == 'h') { + var hs = target.getDiscardableCards(player, 'h'); + expand_length += Math.ceil(hs.length / 6); + if (hs.length) { + var title = event.dialog.add('
    手牌区
    '); + title.style.margin = '0px'; + title.style.padding = '0px'; + hs.randomSort(); + if (event.visible || target.isUnderControl(true) || player.hasSkillTag('viewHandcard', null, target, true)) { + event.dialog.add(hs); + directh = false; + } + else { + var shown = hs.filter(card => get.is.shownCard(card)); + if (shown.length) { + var hidden = hs.filter(card => !shown.includes(card)); + var buttons = ui.create.div('.buttons', event.dialog.content); + event.dialog.buttons = event.dialog.buttons.concat(ui.create.buttons(shown, 'card', buttons)); + event.dialog.buttons = event.dialog.buttons.concat(ui.create.buttons(hidden, 'blank', buttons)); + if (event.dialog.forcebutton !== false) event.dialog.forcebutton = true; + if (event.dialog.buttons.length > 3) { + event.dialog.classList.remove('forcebutton-auto'); + } + else if (!event.dialog.noforcebutton) { + event.dialog.classList.add('forcebutton-auto'); + } + } + else { + event.dialog.add([hs, 'blank']); + } + } + } + } + else if (event.position[i] == 'e') { + var es = target.getDiscardableCards(player, 'e'); + if (es.length) { + expand_length += Math.ceil(es.length / 6); + var title = event.dialog.add('
    装备区
    '); + title.style.margin = '0px'; + title.style.padding = '0px'; + event.dialog.add(es); + directh = false; + } + } + else if (event.position[i] == 'j') { + var js = target.getDiscardableCards(player, 'j'); + if (js.length) { + expand_length += Math.ceil(js.length / 6); + var title = event.dialog.add('
    判定区
    '); + title.style.margin = '0px'; + title.style.padding = '0px'; + event.dialog.add(js); + directh = false; + } + } + } + if (event.dialog.buttons.length == 0) { + event.finish(); + return; + } + var directFilter = (event.forced && typeof event.filterOk != 'function' && typeof event.selectButton != 'function' && event.filterButton == lib.filter.all); + var cs = target.getCards(event.position); + var select = get.select(event.selectButton); + if (directFilter && select[0] >= cs.length) { + event.result = { + bool: true, + buttons: event.dialog.buttons, + links: cs + }; + } + else if (directFilter && directh && !event.isOnline() && select[0] == select[1]) { + event.result = { + bool: true, + buttons: event.dialog.buttons.randomGets(select[0]), + links: [] + }; + for (var i = 0; i < event.result.buttons.length; i++) { + event.result.links[i] = event.result.buttons[i].link; + } + } + else { + if (event.isMine()) { + event.dialog.open(); + game.check(); + game.pause(); + if (expand_length > 2) { + ui.arena.classList.add('discard-player-card'); + event.dialog.classList.add('fullheight'); + } + } + else if (event.isOnline()) { + event.send(); + } + else { + event.result = 'ai'; + } + } + "step 1"; + if (event.result == 'ai') { + game.check(); + if ((ai.basic.chooseButton(event.ai) || forced) && (!event.filterOk || event.filterOk())) ui.click.ok(); + else ui.click.cancel(); + } + event.dialog.close(); + "step 2"; + event.resume(); + setTimeout(function () { + ui.arena.classList.remove('discard-player-card'); + }, 500); + if (event.result.bool && event.result.links && !game.online) { + if (event.logSkill) { + if (typeof event.logSkill == 'string') { + player.logSkill(event.logSkill); + } + else if (Array.isArray(event.logSkill)) { + player.logSkill.apply(player, event.logSkill); + } + } + var cards = []; + for (var i = 0; i < event.result.links.length; i++) { + cards.push(event.result.links[i]); + } + event.result.cards = event.result.links.slice(0); + event.cards = cards; + event.trigger("rewriteDiscardResult"); + } + "step 3"; + if (event.boolline) { + player.line(target, 'green'); + } + if (!event.chooseonly) { + var next = target.discard(event.cards); + if (player != target) next.notBySelf = true; + next.discarder = player; + event.done = next; + if (event.delay === false) { + next.set('delay', false); + } + } + }, + gainPlayerCard: function () { + "step 0"; + if (event.directresult) { + event.result = { + buttons: [], + cards: event.directresult.slice(0), + links: event.directresult.slice(0), + targets: [], + confirm: 'ok', + bool: true + }; + event.cards = event.directresult.slice(0); + event.goto(2); + return; + } + if (!event.dialog) event.dialog = ui.create.dialog('hidden'); + else if (!event.isMine()) { + event.dialog.style.display = 'none'; + } + if (event.prompt == undefined) { + var str = '获得' + get.translation(target); + var range = get.select(event.selectButton); + if (range[0] == range[1]) str += get.cnNumber(range[0]); + else if (range[1] == Infinity) str += '至少' + get.cnNumber(range[0]); + else str += get.cnNumber(range[0]) + '至' + get.cnNumber(range[1]); + str += '张'; + if (event.position == 'h' || event.position == undefined) str += '手'; + if (event.position == 'e') str += '装备'; + str += '牌'; + event.prompt = str; + } + if (event.prompt) { + event.dialog.add(event.prompt); + } + if (event.prompt2) { + event.dialog.addText(event.prompt2); + } + var expand_length = 0; + var directh = (!lib.config.unauto_choose && !event.complexSelect); + for (var i = 0; i < event.position.length; i++) { + if (event.position[i] == 'h') { + var hs = target.getGainableCards(player, 'h'); + if (hs.length) { + expand_length += Math.ceil(hs.length / 6); + var title = event.dialog.add('
    手牌区
    '); + title.style.margin = '0px'; + title.style.padding = '0px'; + hs.randomSort(); + if (event.visible || target.isUnderControl(true) || player.hasSkillTag('viewHandcard', null, target, true)) { + event.dialog.add(hs); + directh = false; + } + else { + var shown = hs.filter(card => get.is.shownCard(card)); + if (shown.length) { + var hidden = hs.filter(card => !shown.includes(card)); + var buttons = ui.create.div('.buttons', event.dialog.content); + event.dialog.buttons = event.dialog.buttons.concat(ui.create.buttons(shown, 'card', buttons)); + event.dialog.buttons = event.dialog.buttons.concat(ui.create.buttons(hidden, 'blank', buttons)); + if (event.dialog.forcebutton !== false) event.dialog.forcebutton = true; + if (event.dialog.buttons.length > 3) { + event.dialog.classList.remove('forcebutton-auto'); + } + else if (!event.dialog.noforcebutton) { + event.dialog.classList.add('forcebutton-auto'); + } + } + else { + event.dialog.add([hs, 'blank']); + } + } + } + } + else if (event.position[i] == 'e') { + var es = target.getGainableCards(player, 'e'); + if (es.length) { + expand_length += Math.ceil(es.length / 6); + var title = event.dialog.add('
    装备区
    '); + title.style.margin = '0px'; + title.style.padding = '0px'; + event.dialog.add(es); + directh = false; + } + } + else if (event.position[i] == 'j') { + var js = target.getGainableCards(player, 'j'); + if (js.length) { + expand_length += Math.ceil(js.length / 6); + var title = event.dialog.add('
    判定区
    '); + title.style.margin = '0px'; + title.style.padding = '0px'; + event.dialog.add(js); + directh = false; + } + } + } + if (event.dialog.buttons.length == 0) { + event.dialog.close(); + event.finish(); + return; + } + var cs = target.getCards(event.position); + var select = get.select(event.selectButton); + var directFilter = (event.forced && typeof event.filterOk != 'function' && typeof event.selectButton != 'function' && event.filterButton == lib.filter.all); + if (directFilter && select[0] >= cs.length) { + event.result = { + bool: true, + buttons: event.dialog.buttons, + links: cs + }; + } + else if (directFilter && directh && !event.isOnline() && select[0] == select[1]) { + event.result = { + bool: true, + buttons: event.dialog.buttons.randomGets(select[0]), + links: [] + }; + for (var i = 0; i < event.result.buttons.length; i++) { + event.result.links[i] = event.result.buttons[i].link; + } + } + else { + if (event.isMine()) { + event.dialog.open(); + game.check(); + game.pause(); + if (expand_length > 2) { + ui.arena.classList.add('gain-player-card'); + event.dialog.classList.add('fullheight'); + } + } + else if (event.isOnline()) { + event.send(); + } + else { + event.result = 'ai'; + } + } + "step 1"; + if (event.result == 'ai') { + game.check(); + if ((ai.basic.chooseButton(event.ai) || forced) && (!event.filterOk || event.filterOk())) ui.click.ok(); + else ui.click.cancel(); + } + event.dialog.close(); + "step 2"; + event.resume(); + setTimeout(function () { + ui.arena.classList.remove('gain-player-card'); + }, 500); + if (game.online || !event.result.bool) { + event.finish(); + } + "step 3"; + if (event.logSkill && event.result.bool && !game.online) { + if (typeof event.logSkill == 'string') { + player.logSkill(event.logSkill); + } + else if (Array.isArray(event.logSkill)) { + player.logSkill.apply(player, event.logSkill); + } + } + var cards = []; + for (var i = 0; i < event.result.links.length; i++) { + cards.push(event.result.links[i]); + } + event.result.cards = event.result.links.slice(0); + event.cards = cards; + event.trigger("rewriteGainResult"); + "step 4"; + if (event.boolline) { + player.line(target, 'green'); + } + if (!event.chooseonly) { + if (event.delay !== false) { + var next = player.gain(event.cards, target, event.visibleMove ? 'give' : 'giveAuto', 'bySelf'); + event.done = next; + } + else { + var next = player.gain(event.cards, target, 'bySelf'); + event.done = next; + target[event.visibleMove ? '$give' : '$giveAuto'](cards, player); + if (event.visibleMove) next.visible = true; + } + } + else target[event.visibleMove ? '$give' : '$giveAuto'](cards, player); + }, + showHandcards: function () { + "step 0"; + if (player.countCards('h') == 0) { + event.finish(); + return; + } + var cards = player.getCards('h'); + player.showCards(cards).setContent(function () { }); + var str = get.translation(player.name) + '的手牌'; + if (typeof event.prompt == 'string') { + str = event.prompt; + } + event.dialog = ui.create.dialog(str, cards); + event.dialogid = lib.status.videoId++; + event.dialog.videoId = event.dialogid; + game.broadcast(function (str, cards, id) { + ui.create.dialog(str, cards).videoId = id; + }, str, cards, event.dialogid); + game.log(player, '展示了', cards); + game.addVideo('showCards', player, [str, get.cardsInfo(cards)]); + game.delayx(2); + "step 1"; + game.broadcast('closeDialog', event.dialogid); + event.dialog.close(); + }, + showCards: function () { + "step 0"; + if (get.itemtype(cards) != 'cards') { + event.finish(); + return; + } + if (!event.str) { + event.str = get.translation(player.name) + '展示的牌'; + } + event.dialog = ui.create.dialog(event.str, cards); + event.dialogid = lib.status.videoId++; + event.dialog.videoId = event.dialogid; + + if (event.hiddencards) { + for (var i = 0; i < event.dialog.buttons.length; i++) { + if (event.hiddencards.contains(event.dialog.buttons[i].link)) { + event.dialog.buttons[i].className = 'button card'; + event.dialog.buttons[i].innerHTML = ''; + } + } + } + game.broadcast(function (str, cards, cards2, id) { + var dialog = ui.create.dialog(str, cards); + dialog.forcebutton = true; + dialog.videoId = id; + if (cards2) { + for (var i = 0; i < dialog.buttons.length; i++) { + if (cards2.contains(dialog.buttons[i].link)) { + dialog.buttons[i].className = 'button card'; + dialog.buttons[i].innerHTML = ''; + } + } + } + }, event.str, cards, event.hiddencards, event.dialogid); + if (event.hiddencards) { + var cards2 = cards.slice(0); + for (var i = 0; i < event.hiddencards.length; i++) { + cards2.remove(event.hiddencards[i]); + } + game.log(player, '展示了', cards2); + } + else { + game.log(player, '展示了', cards); + } + game.addCardKnower(cards, 'everyone'); + game.delayx(event.delay_time || 2.5); + game.addVideo('showCards', player, [event.str, get.cardsInfo(cards)]); + "step 1"; + game.broadcast('closeDialog', event.dialogid); + event.dialog.close(); + }, + viewCards: function () { + "step 0"; + game.addCardKnower(event.cards, player); + if (player == game.me) { + event.dialog = ui.create.dialog(event.str, event.cards); + if (event.isMine()) { + game.pause(); + ui.create.confirm('o'); + game.countChoose(); + event.choosing = true; + } + else { + event.finish(); + event.result = 'viewed'; + setTimeout(function () { + event.dialog.close(); + }, 2 * lib.config.duration); + game.delayx(2); + } + } + else if (event.isOnline()) { + event.send(); + } + else { + event.finish(); + } + "step 1"; + event.result = 'viewed'; + _status.imchoosing = false; + event.choosing = false; + if (event.dialog) event.dialog.close(); + }, + moveCard: function () { + 'step 0'; + if (!player.canMoveCard(null, event.nojudge, event.sourceTargets, event.aimTargets, event.filter, event.canReplace ? 'canReplace' : 'noReplace')) { + event.finish(); + return; + } + var next = player.chooseTarget(2, function (card, player, target) { + var filterCard = get.event('filter'); + if (ui.selected.targets.length) { + if (!get.event('aimTargets').includes(target)) return false; + var from = ui.selected.targets[0]; + var js = from.getCards('j', filterCard); + for (var i = 0; i < js.length; i++) { + if (_status.event.nojudge) break; + if (target.canAddJudge(js[i])) return true; + } + if (target.isMin()) return false; + var es = from.getCards('e', filterCard); + for (var i = 0; i < es.length; i++) { + if (target.canEquip(es[i], _status.event.canReplace)) return true; + } + return false; + } + else { + if (!get.event('sourceTargets').includes(target)) return false; + var range = 'ej'; + if (_status.event.nojudge) range = 'e'; + return target.countCards(range, filterCard) > 0; + } + }); + next.set('nojudge', event.nojudge || false); + next.set('ai', function (target) { + var player = _status.event.player; + var att = get.attitude(player, target); + var sgnatt = get.sgn(att); + var aimTargets = get.event('aimTargets'), filterCard = get.event('filter'); + if (ui.selected.targets.length == 0) { + if (att > 0) { + if (!_status.event.nojudge && target.countCards('j', function (card) { + if (!filterCard(card)) return false; + return game.hasPlayer(function (current) { + if (!aimTargets.includes(current)) return false; + return current != target && current.canAddJudge(card) && get.attitude(player, current) < 0; + }); + })) return 14; + if (target.countCards('e', function (card) { + if (!filterCard(card)) return false; + return get.value(card, target) < 0 && game.hasPlayer(function (current) { + if (!aimTargets.includes(current)) return false; + return current != target && get.attitude(player, current) < 0 && current.canEquip(card, _status.event.canReplace) && get.effect(target, card, player, player) < 0; + }); + }) > 0) return 9; + } + else if (att < 0) { + if (game.hasPlayer(function (current) { + if (current != target && get.attitude(player, current) > 0) { + var es = target.getCards('e', filterCard); + for (var i = 0; i < es.length; i++) { + if (get.value(es[i], target) > 0 && current.canEquip(es[i], _status.event.canReplace) && get.effect(current, es[i], player, player) > (_status.event.canReplace ? get.effect(target, es[i], player, player) : 0)) return true; + } + } + })) { + return -att; + } + } + return 0; + } + var es = ui.selected.targets[0].getCards('e', filterCard); + var i; + var att2 = get.sgn(get.attitude(player, ui.selected.targets[0])); + for (i = 0; i < es.length; i++) { + if (sgnatt != 0 && att2 != 0 && sgnatt != att2 && + get.sgn(get.value(es[i], ui.selected.targets[0])) == -att2 && + get.sgn(get.effect(target, es[i], player, target)) == sgnatt && + target.canEquip(es[i], _status.event.canReplace)) { + return Math.abs(att); + } + } + if (i == es.length && (_status.event.nojudge || !ui.selected.targets[0].countCards('j', function (card) { + if (!filterCard(card)) return false; + return target.canAddJudge(card); + }) || att2 <= 0)) { + return 0; + } + return -att * att2; + }); + next.set('multitarget', true); + next.set('targetprompt', _status.event.targetprompt || ['被移走', '移动目标']); + next.set('prompt', event.prompt || '移动场上的一张牌'); + next.set('filter', event.filter); + next.set('sourceTargets', event.sourceTargets || game.filterPlayer()); + next.set('aimTargets', event.aimTargets || game.filterPlayer()); + next.set('canReplace', event.canReplace); + next.set('custom', get.copy(event.custom)); + if (event.prompt2) next.set('prompt2', event.prompt2); + if (event.forced) next.set('forced', true); + 'step 1'; + event.result = result; + if (result.bool) { + if (event.logSkill) player.logSkill(event.logSkill, result.targets, false); + player.line2(result.targets, 'green'); + event.targets = result.targets; + } + else { + event.finish(); + } + 'step 2'; + game.delay(); + 'step 3'; + if (targets.length == 2) { + player.choosePlayerCard('ej', true, function (button) { + var player = _status.event.player; + var targets0 = _status.event.targets0; + var targets1 = _status.event.targets1; + if (get.attitude(player, targets0) > 0 && get.attitude(player, targets1) < 0) { + if (get.position(button.link) == 'j') return 12; + if (get.value(button.link, targets0) < 0 && get.effect(targets1, button.link, player, targets1) > 0) return 10; + return 0; + } + else { + if (get.position(button.link) == 'j') return -10; + return get.value(button.link) * get.effect(targets1, button.link, player, targets1); + } + }, targets[0]).set('nojudge', event.nojudge || false).set('targets0', targets[0]).set('targets1', targets[1]).set('filterButton', function (button) { + var targets1 = _status.event.targets1; + if (!get.event('filter')(button.link)) return false; + if (get.position(button.link) == 'j') { + if (_status.event.nojudge) return false; + return targets1.canAddJudge(button.link); + } + else { + return targets1.canEquip(button.link, _status.event.canReplace); + } + }).set('filter', event.filter).set('canReplace', event.canReplace).set('custom', get.copy(event.custom)); + } + else { + event.finish(); + } + 'step 4'; + if (result.bool && result.links.length) { + var link = result.links[0]; + if (get.position(link) == 'e') { + event.targets[1].equip(link); + } + else if (link.viewAs) { + event.targets[1].addJudge({ name: link.viewAs }, [link]); + } + else { + event.targets[1].addJudge(link); + } + event.targets[0].$give(link, event.targets[1], false); + game.log(event.targets[0], '的', link, '被移动给了', event.targets[1]); + event.result.card = link; + event.result.position = get.position(link); + game.delay(); + } + }, + useCard: function () { + "step 0"; + if (!card) { + console.log('err: no card', get.translation(event.player)); + event.finish(); + return; + } + if (!get.info(card, false).noForceDie) event.forceDie = true; + if (cards.length) { + var owner = (get.owner(cards[0]) || player); + var next = owner.lose(cards, 'visible', ui.ordering).set('type', 'use'); + var directDiscard = []; + for (var i = 0; i < cards.length; i++) { + if (!next.cards.contains(cards[i])) { + directDiscard.push(cards[i]); + } + } + if (directDiscard.length) game.cardsGotoOrdering(directDiscard); + } + //player.using=cards; + var cardaudio = true; + if (event.skill) { + if (lib.skill[event.skill].audio) { + cardaudio = false; + } + if (lib.skill[event.skill].log != false) { + player.logSkill(event.skill); + } + if (get.info(event.skill).popname) { + player.tryCardAnimate(card, event.card.name, 'metal', true); + } + } + else if (!event.nopopup) { + if (lib.translate[event.card.name + '_pop']) { + player.tryCardAnimate(card, lib.translate[event.card.name + '_pop'], 'metal'); + } + else { + player.tryCardAnimate(card, event.card.name, 'metal'); + } + } + if (event.audio === false) { + cardaudio = false; + } + if (cardaudio) game.broadcastAll((player, card) => { + game.playCardAudio(card, player); + /* + if(!lib.config.background_audio||get.type(card)=='equip'&&!lib.config.equip_audio) return; + const sex=player.sex=='female'?'female':'male'; + var nature=get.natureList(card)[0]; + if(card.name=='sha'&&['fire','thunder','ice','stab'].includes(nature)){ + game.playAudio('card',sex,`${card.name}_${nature}`); + return; + } + const audio=lib.card[card.name].audio; + if(typeof audio=='string'){ + const audioInfo=audio.split(':'); + if(audio.startsWith('db:')) game.playAudio(`${audioInfo[0]}:${audioInfo[1]}`,audioInfo[2],`${card.name}_${sex}.${audioInfo[3]||'mp3'}`); + else if(audio.startsWith('ext:')) game.playAudio(`${audioInfo[0]}:${audioInfo[1]}`,`${card.name}_${sex}.${audioInfo[2]||'mp3'}`); + else game.playAudio('card',sex,`${audioInfo[0]}.${audioInfo[1]||'mp3'}`); + } + else game.playAudio('card',sex,card.name);*/ + }, player, card); + if (event.animate != false && event.line != false) { + if (card.name == 'wuxie' && event.getParent()._info_map) { + var evtmap = event.getParent()._info_map; + if (evtmap._source) evtmap = evtmap._source; + var lining = (evtmap.multitarget ? evtmap.targets : evtmap.target) || event.player; + if (Array.isArray(lining) && event.getTrigger().name == 'jiedao') { + player.line(lining[0], 'green'); + } + else { + player.line(lining, 'green'); + } + } + else if (card.name == 'youdishenru' && event.getParent().source) { + var lining = event.getParent().sourcex || event.getParent().source2 || event.getParent().source; + if (lining == player && event.getParent().sourcex2) { + lining = event.getParent().sourcex2; + } + if (Array.isArray(lining) && event.getTrigger().name == 'jiedao') { + player.line(lining[0], 'green'); + } + else { + player.line(lining, 'green'); + } + } + else { + var config = {}; + var nature = get.natureList(card)[0]; + if (nature || card.classList && card.classList.contains(nature)) config.color = nature; + if (event.addedTarget) { + player.line2(targets.concat(event.addedTargets), config); + } + else if (get.info(card, false).multitarget && targets.length > 1 && !get.info(card, false).multiline) { + player.line2(targets, config); + } + else { + player.line(targets, config); + } + } + if (event.throw !== false) player.$throw(cards); + if (lib.config.sync_speed && cards[0] && cards[0].clone) { + var waitingForTransition = get.time(); + event.waitingForTransition = waitingForTransition; + cards[0].clone.listenTransition(function () { + if (_status.waitingForTransition == waitingForTransition && _status.paused) { + game.resume(); + } + delete event.waitingForTransition; + }); + } + } + event.id = get.id(); + if (!Array.isArray(event.excluded)) event.excluded = []; + if (!Array.isArray(event.directHit)) event.directHit = []; + if (typeof event.customArgs != 'object' || typeof event.customArgs.default != 'object') event.customArgs = { default: {} }; + if (typeof event.baseDamage != 'number') event.baseDamage = get.info(card, false).baseDamage || 1; + if (typeof event.effectCount != 'number') event.effectCount = get.info(card, false).effectCount || 1; + event.effectedCount = 0; + if (event.oncard) { + event.oncard(event.card, event.player); + } + player.actionHistory[player.actionHistory.length - 1].useCard.push(event); + game.getGlobalHistory().useCard.push(event); + if (event.addCount !== false) { + if (player.stat[player.stat.length - 1].card[card.name] == undefined) { + player.stat[player.stat.length - 1].card[card.name] = 1; + } + else { + player.stat[player.stat.length - 1].card[card.name]++; + } + } + if (event.skill) { + if (player.stat[player.stat.length - 1].skill[event.skill] == undefined) { + player.stat[player.stat.length - 1].skill[event.skill] = 1; + } + else { + player.stat[player.stat.length - 1].skill[event.skill]++; + } + var sourceSkill = get.info(event.skill).sourceSkill; + if (sourceSkill) { + if (player.stat[player.stat.length - 1].skill[sourceSkill] == undefined) { + player.stat[player.stat.length - 1].skill[sourceSkill] = 1; + } + else { + player.stat[player.stat.length - 1].skill[sourceSkill]++; + } + } + } + if (targets.length) { + var str = (targets.length == 1 && targets[0] == player) ? '#b自己' : targets; + if (cards.length && !card.isCard) { + if (event.addedTarget) { + game.log(player, '对', str, '使用了', card, '(', cards, ',指向', event.addedTargets, ')'); + } + else { + game.log(player, '对', str, '使用了', card, '(', cards, ')'); + } + } + else { + if (event.addedTarget) { + game.log(player, '对', str, '使用了', card, '(指向', event.addedTargets, ')'); + } + else { + game.log(player, '对', str, '使用了', card); + } + } + } + else { + if (cards.length && !card.isCard) { + if (event.addedTarget) { + game.log(player, '使用了', card, '(', cards, ',指向', event.addedTargets, ')'); + } + else { + game.log(player, '使用了', card, '(', cards, ')'); + } + } + else { + if (event.addedTarget) { + game.log(player, '使用了', card, '(指向', event.addedTargets, ')'); + } + else { + game.log(player, '使用了', card); + } + } + } + if (card.name == 'wuxie') { + game.logv(player, [card, cards], [event.getTrigger().card]); + } + else { + game.logv(player, [card, cards], targets); + } + event.trigger('useCard1'); + "step 1"; + event.trigger('yingbian'); + "step 2"; + event.trigger('useCard2'); + "step 3"; + event.trigger('useCard'); + event._oncancel = function () { + game.broadcastAll(function (id) { + if (ui.tempnowuxie && ui.tempnowuxie._origin == id) { + ui.tempnowuxie.close(); + delete ui.tempnowuxie; + } + }, event.id); + }; + "step 4"; + event.sortTarget = function (animate, sort) { + var info = get.info(card, false); + if (num == 0 && targets.length > 1) { + if (!info.multitarget) { + if (!event.fixedSeat && !sort) { + targets.sortBySeat((_status.currentPhase || player)); + } + if (animate) for (var i = 0; i < targets.length; i++) { + targets[i].animate('target'); + } + } + else if (animate) { + for (var i = 0; i < targets.length; i++) { + targets[i].animate('target'); + } + } + } + }; + event.sortTarget(); + event.getTriggerTarget = function (list1, list2) { + var listx = list1.slice(0).sortBySeat((_status.currentPhase || player)); + for (var i = 0; i < listx.length; i++) { + if (get.numOf(list2, listx[i]) < get.numOf(listx, listx[i])) return listx[i]; + } + return null; + }; + "step 5"; + if (event.all_excluded) return; + if (!event.triggeredTargets1) event.triggeredTargets1 = []; + var target = event.getTriggerTarget(targets, event.triggeredTargets1); + if (target) { + event.triggeredTargets1.push(target); + var next = game.createEvent('useCardToPlayer', false); + if (!event.isFirstTarget1) { + event.isFirstTarget1 = true; + next.isFirstTarget = true; + } + next.setContent('emptyEvent'); + next.targets = targets; + next.target = target; + next.card = card; + next.cards = cards; + next.player = player; + next.skill = event.skill; + next.excluded = event.excluded; + next.directHit = event.directHit; + next.customArgs = event.customArgs; + if (event.forceDie) next.forceDie = true; + event.redo(); + } + "step 6"; + if (event.all_excluded) return; + if (!event.triggeredTargets2) event.triggeredTargets2 = []; + var target = event.getTriggerTarget(targets, event.triggeredTargets2); + if (target) { + event.triggeredTargets2.push(target); + var next = game.createEvent('useCardToTarget', false); + if (!event.isFirstTarget2) { + event.isFirstTarget2 = true; + next.isFirstTarget = true; + } + next.setContent('emptyEvent'); + next.targets = targets; + next.target = target; + next.card = card; + next.cards = cards; + next.player = player; + next.skill = event.skill; + next.excluded = event.excluded; + next.directHit = event.directHit; + next.customArgs = event.customArgs; + if (event.forceDie) next.forceDie = true; + event.redo(); + } + "step 7"; + var info = get.info(card, false); + if (!info.nodelay && event.animate != false) { + if (event.delayx !== false) { + if (event.waitingForTransition) { + _status.waitingForTransition = event.waitingForTransition; + game.pause(); + } + else { + game.delayx(); + } + } + } + "step 8"; + if (event.all_excluded) return; + if (!event.triggeredTargets3) event.triggeredTargets3 = []; + var target = event.getTriggerTarget(targets, event.triggeredTargets3); + if (target) { + event.triggeredTargets3.push(target); + var next = game.createEvent('useCardToPlayered', false); + if (!event.isFirstTarget3) { + event.isFirstTarget3 = true; + next.isFirstTarget = true; + } + next.setContent('emptyEvent'); + next.targets = targets; + next.target = target; + next.card = card; + next.cards = cards; + next.player = player; + next.skill = event.skill; + next.excluded = event.excluded; + next.directHit = event.directHit; + next.customArgs = event.customArgs; + if (event.forceDie) next.forceDie = true; + event.redo(); + } + "step 9"; + if (event.all_excluded) return; + if (!event.triggeredTargets4) event.triggeredTargets4 = []; + var target = event.getTriggerTarget(targets, event.triggeredTargets4); + if (target) { + event.triggeredTargets4.push(target); + var next = game.createEvent('useCardToTargeted', false); + if (!event.isFirstTarget4) { + event.isFirstTarget4 = true; + next.isFirstTarget = true; + } + next.setContent('emptyEvent'); + next.targets = targets; + next.target = target; + next.card = card; + next.cards = cards; + next.player = player; + next.skill = event.skill; + next.excluded = event.excluded; + next.directHit = event.directHit; + next.customArgs = event.customArgs; + if (event.forceDie) next.forceDie = true; + if (targets.length == event.triggeredTargets4.length) { + event.sortTarget(); + } + event.redo(); + } + "step 10"; + if (event.all_excluded) return; + event.effectedCount++; + event.num = 0; + var info = get.info(card, false); + if (info.contentBefore) { + var next = game.createEvent(card.name + 'ContentBefore'); + next.setContent(info.contentBefore); + next.targets = targets; + next.card = card; + next.cards = cards; + next.player = player; + next.skill = event.skill; + next.type = 'precard'; + if (event.forceDie) next.forceDie = true; + } + else if (info.reverseOrder && get.is.versus() && targets.length > 1) { + var next = game.createEvent(card.name + 'ContentBefore'); + next.setContent('reverseOrder'); + next.targets = targets; + next.card = card; + next.cards = cards; + next.player = player; + next.skill = event.skill; + next.type = 'precard'; + if (event.forceDie) next.forceDie = true; + } + else if (info.singleCard && info.filterAddedTarget && event.addedTargets && event.addedTargets.length < targets.length) { + var next = game.createEvent(card.name + 'ContentBefore'); + next.setContent('addExtraTarget'); + next.target = target; + next.targets = targets; + next.card = card; + next.cards = cards; + next.player = player; + next.skill = event.skill; + next.type = 'precard'; + next.addedTarget = event.addedTarget; + next.addedTargets = event.addedTargets; + if (event.forceDie) next.forceDie = true; + } + "step 11"; + if (event.all_excluded) return; + var info = get.info(card, false); + if (num == 0 && targets.length > 1) { + event.sortTarget(true, true); + } + if (targets[num] && targets[num].isDead()) return; + if (targets[num] && targets[num].isOut()) return; + if (targets[num] && targets[num].removed) return; + if (targets[num] && info.ignoreTarget && info.ignoreTarget(card, player, targets[num])) return; + if (targets.length == 0 && !info.notarget) return; + if (targets[num] && event.excluded.contains(targets[num])) { + var next = game.createEvent('useCardToExcluded', false); + next.setContent('emptyEvent'); + next.targets = targets; + next.target = targets[num]; + next.num = num; + next.card = card; + next.cards = cards; + next.player = player; + return; + } + var next = game.createEvent(card.name); + next.setContent(info.content); + next.targets = targets; + next.card = card; + next.cards = cards; + next.player = player; + next.num = num; + next.type = 'card'; + next.skill = event.skill; + next.multitarget = info.multitarget; + next.preResult = event.preResult; + next.baseDamage = event.baseDamage; + if (event.forceDie) next.forceDie = true; + if (event.addedTargets) { + next.addedTargets = event.addedTargets; + next.addedTarget = event.addedTargets[num]; + next._targets = event._targets; + } + if (info.targetDelay === false) { + event.targetDelay = false; + } + next.target = targets[num]; + for (var i in event.customArgs.default) next[i] = event.customArgs.default[i]; + if (next.target && event.customArgs[next.target.playerid]) { + var customArgs = event.customArgs[next.target.playerid]; + for (var i in customArgs) next[i] = customArgs[i]; + } + if (next.target && event.directHit.contains(next.target)) next.directHit = true; + if (next.target && !info.multitarget) { + if (num == 0 && targets.length > 1) { + // var ttt=next.target; + // setTimeout(function(){ttt.animate('target');},0.5*lib.config.duration); + } + else { + next.target.animate('target'); + } + } + if (!info.nodelay && num > 0) { + if (event.targetDelay !== false) { + game.delayx(0.5); + } + } + "step 12"; + if (event.all_excluded) return; + if (!get.info(event.card, false).multitarget && num < targets.length - 1 && !event.cancelled) { + event.num++; + event.goto(11); + } + "step 13"; + if (event.all_excluded) return; + if (get.info(card, false).contentAfter) { + var next = game.createEvent(card.name + 'ContentAfter'); + next.setContent(get.info(card, false).contentAfter); + next.targets = targets; + next.card = card; + next.cards = cards; + next.player = player; + next.skill = event.skill; + next.preResult = event.preResult; + next.type = 'postcard'; + if (event.forceDie) next.forceDie = true; + } + "step 14"; + if (event.all_excluded) return; + if (event.effectedCount < event.effectCount) { + if (document.getElementsByClassName('thrown').length) { + if (event.delayx !== false && get.info(event.card, false).finalDelay !== false) game.delayx(); + } + event.goto(10); + } + "step 15"; + if (event.postAi) { + event.player.logAi(event.targets, event.card); + } + if (event._result) { + event.result = event._result; + } + //delete player.using; + if (document.getElementsByClassName('thrown').length) { + if (event.delayx !== false && get.info(event.card, false).finalDelay !== false) game.delayx(); + } + else { + event.finish(); + } + "step 16"; + event._oncancel(); + }, + useSkill: function () { + "step 0"; + var info = get.info(event.skill); + if (!info.noForceDie) event.forceDie = true; + if (!info.noForceOut) event.includeOut = true; + event._skill = event.skill; + game.trySkillAudio(event.skill, player); + var checkShow = player.checkShow(event.skill); + if (info.discard != false && info.lose != false && !info.viewAs) { + player.discard(cards).delay = false; + if (lib.config.low_performance) { + event.discardTransition = true; + } + } + else { + if (info.lose != false) { + if (info.losetrigger == false) { + var losecard = player.lose(cards, ui.special)._triggered = null; + } + else { + var losecard = player.lose(cards, ui.special); + if (info.visible) losecard.visible = true; + if (info.loseTo) losecard.position = ui[info.loseTo]; + if (info.insert) losecard.insert_card = true; + if (losecard.position == ui.special && info.toStorage) losecard.toStorage = true; + } + } + if (!info.prepare && info.viewAs) { + player.$throw(cards); + if (losecard) losecard.visible = true; + if (lib.config.sync_speed && cards[0] && cards[0].clone) { + var waitingForTransition = get.time(); + event.waitingForTransition = waitingForTransition; + cards[0].clone.listenTransition(function () { + if (_status.waitingForTransition == waitingForTransition && _status.paused) { + game.resume(); + } + delete event.waitingForTransition; + }); + } + } + } + if (info.line != false && targets.length) { + var config = {}; + if (get.is.object(info.line)) config = info.line; + else if (info.line == 'fire') { + config.color = 'fire'; + } + else if (info.line == 'thunder') { + config.color = 'thunder'; + } + else if (info.line === undefined || info.line == 'green') { + config.color = 'green'; + } + if (info.multitarget && !info.multiline && targets.length > 1) { + player.line2(targets, config); + } + else { + player.line(targets, config); + } + } + var str = ''; + if (targets && targets.length && info.log != 'notarget') { + str += '对' + (targets[0] == player ? '自己' : get.translation(targets[0])); + for (var i = 1; i < targets.length; i++) { + str += '、' + (targets[i] == player ? '自己' : get.translation(targets[i])); + } + str += ''; + } + str += '发动了'; + if (!info.direct && info.log !== false) { + game.log(player, str, '【' + get.skillTranslation(skill, player) + '】'); + if (info.logv !== false) game.logv(player, skill, targets); + player.trySkillAnimate(skill, skill, checkShow); + } + if (event.addCount != false) { + if (player.stat[player.stat.length - 1].skill[skill] == undefined) { + player.stat[player.stat.length - 1].skill[skill] = 1; + } + else { + player.stat[player.stat.length - 1].skill[skill]++; + } + var sourceSkill = get.info(skill).sourceSkill; + if (sourceSkill) { + if (player.stat[player.stat.length - 1].skill[sourceSkill] == undefined) { + player.stat[player.stat.length - 1].skill[sourceSkill] = 1; + } + else { + player.stat[player.stat.length - 1].skill[sourceSkill]++; + } + } + } + if (player.stat[player.stat.length - 1].allSkills == undefined) { + player.stat[player.stat.length - 1].allSkills = 1; + } + else { + player.stat[player.stat.length - 1].allSkills++; + } + if (info.prepare) { + switch (info.prepare) { + case 'give': if (losecard) losecard.visible = true; player.$give(cards, targets[0]); break; + case 'give2': player.$give(cards.length, targets[0]); break; + case 'throw': if (losecard) losecard.visible = true; player.$throw(cards); break; + case 'throw2': player.$throw(cards.length); break; + default: info.prepare(cards, player, targets); + } + } + if (info.round) { + var roundname = skill + '_roundcount'; + player.storage[roundname] = game.roundNumber; + player.syncStorage(roundname); + player.markSkill(roundname); + } + var name = event.skill; + var players = player.getSkills(false, false, false); + var equips = player.getSkills('e'); + var global = lib.skill.global.slice(0); + var logInfo = { + skill: name, + targets: targets, + event: _status.event, + }; + if (info.sourceSkill) { + logInfo.sourceSkill = info.sourceSkill; + if (global.contains(info.sourceSkill)) { + logInfo.type = 'global'; + } + else if (players.contains(info.sourceSkill)) { + logInfo.type = 'player'; + } + else if (equips.contains(info.sourceSkill)) { + logInfo.type = 'equip'; + } + } + else { + if (global.contains(name)) { + logInfo.sourceSkill = name; + logInfo.type = 'global'; + } + else if (players.contains(name)) { + logInfo.sourceSkill = name; + logInfo.type = 'player'; + } + else if (equips.contains(name)) { + logInfo.sourceSkill = name; + logInfo.type = 'equip'; + } + else { + var bool = false; + for (var i of players) { + var expand = [i]; + game.expandSkills(expand); + if (expand.contains(name)) { + bool = true; + logInfo.sourceSkill = i; + logInfo.type = 'player'; + break; + } + } + if (!bool) { + for (var i of players) { + var expand = [i]; + game.expandSkills(expand); + if (expand.contains(name)) { + logInfo.sourceSkill = i; + logInfo.type = 'equip'; + break; + } + } + } + } + } + event.sourceSkill = logInfo.sourceSkill; + event.type = logInfo.type; + player.getHistory('useSkill').push(logInfo); + event.trigger('useSkill'); + "step 1"; + var info = get.info(event.skill); + if (info && info.contentBefore) { + var next = game.createEvent(event.skill + 'ContentBefore'); + next.setContent(info.contentBefore); + next.targets = targets; + next.cards = cards; + next.player = player; + if (event.forceDie) next.forceDie = true; + if (event.includeOut) next.includeOut = true; + } + "step 2"; + if (!event.skill) { + console.log('error: no skill', get.translation(event.player), event.player.getSkills()); + if (event._skill) { + event.skill = event._skill; + console.log(event._skill); + } + else { + event.finish(); + return; + } + } + var info = get.info(event.skill); + if (targets[num] && targets[num].isDead() || + targets[num] && targets[num].isOut() || + targets[num] && targets[num].removed) { + if (!info.multitarget && num < targets.length - 1) { + event.num++; + event.redo(); + } + return; + } + var next = game.createEvent(event.skill); + next.setContent(info.content); + next.targets = targets; + next.cards = cards; + next.player = player; + next.num = num; + next.multitarget = info.multitarget; + if (num == 0 && next.targets.length > 1) { + if (!info.multitarget) { + lib.tempSortSeat = player; + targets.sort(lib.sort.seat); + delete lib.tempSortSeat; + } + for (var i = 0; i < targets.length; i++) { + targets[i].animate('target'); + } + } + next.target = targets[num]; + if (event.forceDie) next.forceDie = true; + if (event.includeOut) next.includeOut = true; + if (next.target && !info.multitarget) { + if (num == 0 && targets.length > 1) { + // var ttt=next.target; + // setTimeout(function(){ttt.animate('target');},0.5*lib.config.duration); + } + else { + next.target.animate('target'); + } + } + if (num == 0) { + if (typeof info.delay == 'number') game.delay(info.delay); + else if (info.delay !== false && info.delay !== 0) { + if (event.waitingForTransition) { + _status.waitingForTransition = event.waitingForTransition; + game.pause(); + } + else { + game.delayx(); + } + } + } + else game.delayx(0.5); + if (!info.multitarget && num < targets.length - 1) { + event.num++; + event.redo(); + } + "step 3"; + var info = get.info(event.skill); + if (info && info.contentAfter) { + var next = game.createEvent(event.skill + 'ContentAfter'); + next.setContent(info.contentAfter); + next.targets = targets; + next.cards = cards; + next.player = player; + if (event.forceDie) next.forceDie = true; + if (event.includeOut) next.includeOut = true; + } + "step 4"; + if (player.getStat().allSkills > 200) { + player._noSkill = true; + console.log(player.name, event.skill); + } + if (document.getElementsByClassName('thrown').length) { + if (event.skill && get.info(event.skill).delay !== false && get.info(event.skill).delay !== 0) game.delayx(); + } + else { + event.finish(); + } + "step 5"; + ui.clear(); + }, + draw: function () { + // if(lib.config.background_audio){ + // game.playAudio('effect','draw'); + // } + // game.broadcast(function(){ + // if(lib.config.background_audio){ + // game.playAudio('effect','draw'); + // } + // }); + if (typeof event.minnum == 'number' && num < event.minnum) { + num = event.minnum; + } + if (event.drawDeck) { + if (event.drawDeck > num) { + event.drawDeck = num; + } + num -= event.drawDeck; + } + if (event.log != false) { + if (num > 0) { + if (event.bottom) game.log(player, '从牌堆底摸了' + get.cnNumber(num) + '张牌'); + else game.log(player, '摸了' + get.cnNumber(num) + '张牌'); + } + if (event.drawDeck) { + game.log(player, '从牌库中获得了' + get.cnNumber(event.drawDeck) + '张牌'); + } + } + var cards; + if (num > 0) { + if (event.bottom) cards = get.bottomCards(num); + else if (player.getTopCards) cards = player.getTopCards(num); + else cards = get.cards(num); + } + else { + cards = []; + } + if (event.drawDeck) { + cards = cards.concat(player.getDeckCards(event.drawDeck)); + } + if (event.animate != false) { + if (event.visible) { + var next = player.gain(cards, 'gain2'); + if (event.bottom) game.log(player, '从牌堆底摸了' + get.cnNumber(num) + '张牌(', cards, ')'); + else game.log(player, '摸了' + get.cnNumber(num) + '张牌(', cards, ')'); + } + else { + var next = player.gain(cards, 'draw'); + } + } + else { + var next = player.gain(cards); + if (event.$draw) { + player.$draw(cards.length); + } + } + if (event.gaintag) next.gaintag.addArray(event.gaintag); + event.result = cards; + }, + discard: function () { + "step 0"; + game.log(player, '弃置了', cards); + event.done = player.lose(cards, event.position, 'visible'); + event.done.type = 'discard'; + if (event.discarder) event.done.discarder = event.discarder; + "step 1"; + event.trigger('discard'); + }, + loseToDiscardpile: function () { + "step 0"; + if (event.log != false) game.log(player, '将', cards, '置入了弃牌堆'); + var next = player.lose(cards, event.position); + if (event.insert_index) next.insert_index = event.insert_index; + if (event.insert_card) next.insert_card = true; + if (!event.blank) next.visible = true; + next.type = 'loseToDiscardpile'; + event.done = next; + "step 1"; + event.trigger('loseToDiscardpile'); + }, + respond: function () { + 'step 0'; + var cardaudio = true; + if (event.skill) { + if (lib.skill[event.skill].audio) { + cardaudio = false; + } + player.logSkill(event.skill); + player.checkShow(event.skill, true); + if (lib.skill[event.skill].onrespond && !game.online) { + lib.skill[event.skill].onrespond(event, player); + } + } + else if (!event.nopopup) player.tryCardAnimate(card, card.name, 'wood'); + if (cardaudio && event.getParent(3).name == 'useCard') game.broadcastAll((player, card) => { + game.playCardAudio(card, player); + /* + if(!lib.config.background_audio) return; + const sex=player.sex=='female'?'female':'male',audio=lib.card[card.name].audio; + if(typeof audio=='string'){ + const audioInfo=audio.split(':'); + if(audio.startsWith('db:')) game.playAudio(`${audioInfo[0]}:${audioInfo[1]}`,audioInfo[2],`${card.name}_${sex}.${audioInfo[3]||'mp3'}`); + else if(audio.startsWith('ext:')) game.playAudio(`${audioInfo[0]}:${audioInfo[1]}`,`${card.name}_${sex}.${audioInfo[2]||'mp3'}`); + else game.playAudio('card',sex,`${audioInfo[0]}.${audioInfo[1]||'mp3'}`); + } + else game.playAudio('card',sex,card.name);*/ + }, player, card); + if (event.skill) { + if (player.stat[player.stat.length - 1].skill[event.skill] == undefined) { + player.stat[player.stat.length - 1].skill[event.skill] = 1; + } + else { + player.stat[player.stat.length - 1].skill[event.skill]++; + } + var sourceSkill = get.info(event.skill).sourceSkill; + if (sourceSkill) { + if (player.stat[player.stat.length - 1].skill[sourceSkill] == undefined) { + player.stat[player.stat.length - 1].skill[sourceSkill] = 1; + } + else { + player.stat[player.stat.length - 1].skill[sourceSkill]++; + } + } + } + if (cards.length && (cards.length > 1 || cards[0].name != card.name)) { + game.log(player, '打出了', card, '(', cards, ')'); + } + else { + game.log(player, '打出了', card); + } + player.actionHistory[player.actionHistory.length - 1].respond.push(event); + if (cards.length) { + var owner = (get.owner(cards[0]) || player); + var next = owner.lose(cards, 'visible', ui.ordering).set('type', 'use'); + var directDiscard = []; + for (var i = 0; i < cards.length; i++) { + if (!next.cards.contains(cards[i])) { + directDiscard.push(cards[i]); + } + } + if (directDiscard.length) game.cardsGotoOrdering(directDiscard); + } + if (event.animate != false && event.throw !== false) { + for (var i = 0; i < cards.length; i++) { + player.$throw(cards[i]); + if (event.highlight) { + cards[i].clone.classList.add('thrownhighlight'); + game.addVideo('highlightnode', player, get.cardInfo(cards[i])); + } + } + if (event.highlight) { + game.broadcast(function (cards) { + for (var i = 0; i < cards.length; i++) { + if (cards[i].clone) { + cards[i].clone.classList.add('thrownhighlight'); + } + } + }, cards); + } + } + event.trigger('respond'); + 'step 1'; + game.delayx(0.5); + }, + swapHandcards: function () { + 'step 0'; + event.cards1 = event.cards1 || player.getCards('h'); + event.cards2 = event.cards2 || target.getCards('h'); + game.loseAsync({ + player: player, + target: target, + cards1: event.cards1, + cards2: event.cards2, + }).setContent('swapHandcardsx'); + 'step 1'; + game.loseAsync({ + gain_list: [ + [player, event.cards2.filterInD()], + [target, event.cards1.filterInD()] + ], + }).setContent('gaincardMultiple'); + 'step 2'; + game.delayx(); + }, + swapHandcardsx: function () { + 'step 0'; + player.$giveAuto(event.cards1, target); + target.$giveAuto(event.cards2, player); + 'step 1'; + event.cards = event.cards1; + var next = player.lose(event.cards, ui.ordering); + next.getlx = false; + next.relatedEvent = event.getParent(); + if (player == game.me) { + event.delayed = true; + } + else { + next.delay = false; + } + 'step 2'; + event.cards = event.cards2; + var next = target.lose(event.cards, ui.ordering); + next.getlx = false; + next.relatedEvent = event.getParent(); + if (target == game.me) { + event.delayed = true; + } + else { + next.delay = false; + } + 'step 3'; + if (!event.delayed) game.delay(); + }, + gainMultiple: function () { + 'step 0'; + event.delayed = false; + event.num = 0; + event.cards = []; + 'step 1'; + player.gainPlayerCard(targets[num], event.position, true).set('boolline', false).set('delay', num == targets.length - 1); + 'step 2'; + if (result.bool) { + event.cards.addArray(result.cards); + if (num == targets.length - 1) event.delayed = true; + } + event.num++; + if (event.num < targets.length) { + event.goto(1); + } + 'step 3'; + if (!event.delayed) game.delay(); + }, + gain: function () { + "step 0"; + if (event.animate == 'give') event.visible = true; + if (cards) { + var map = {}; + for (var i of cards) { + var owner = get.owner(i, 'judge'); + if (owner && (owner != player || get.position(i) != 'h')) { + var id = owner.playerid; + if (!map[id]) map[id] = [[], [], []]; + map[id][0].push(i); + var position = get.position(i); + if (position == 'h') map[id][1].push(i); + else map[id][2].push(i); + } + else if (!event.updatePile && get.position(i) == 'c') event.updatePile = true; + } + event.losing_map = map; + for (var i in map) { + var owner = (_status.connectMode ? lib.playerOL : game.playerMap)[i]; + var next = owner.lose(map[i][0], ui.special).set('type', 'gain').set('forceDie', true).set('getlx', false); + if (event.visible == true) { + next.visible = true; + } + event.relatedLose = next; + } + } + else { + event.finish(); + } + "step 1"; + for (var i = 0; i < cards.length; i++) { + if (cards[i].willBeDestroyed('handcard', player, event)) { + cards[i].selfDestroy(event); + cards.splice(i--, 1); + } + else if (event.losing_map) { + for (var id in event.losing_map) { + if (event.losing_map[id][0].contains(cards[i])) { + var source = (_status.connectMode ? lib.playerOL : game.playerMap)[id]; + var hs = source.getCards('hejsx'); + if (hs.contains(cards[i])) { + cards.splice(i--, 1); + } else { + cards[i].addKnower(event.visible ? 'everyone' : source); + } + } + } + } + } + if (cards.length == 0) { + event.finish(); + return; + } + player.getHistory('gain').push(event); + //if(event.source&&event.delay!==false) game.delayx(); + "step 2"; + if (player.getStat().gain == undefined) { + player.getStat().gain = cards.length; + } + else { + player.getStat().gain += cards.length; + } + "step 3"; + var sort; + var frag1 = document.createDocumentFragment(); + var frag2 = document.createDocumentFragment(); + var hs = player.getCards('hs'); + for (var i = 0; i < cards.length; i++) { + if (hs.contains(cards[i])) { + cards.splice(i--, 1); + } + } + for (var num = 0; num < cards.length; num++) { + sort = lib.config.sort_card(cards[num]); + if (lib.config.reverse_sort) sort = -sort; + if (['o', 'd'].contains(get.position(cards[num], true))) { + cards[num].addKnower('everyone'); + } + cards[num].fix(); + cards[num].style.transform = ''; + cards[num].addGaintag(event.gaintag); + if (event.knowers) { + cards[num].addKnower(event.knowers);//添加事件设定的知情者。 + } + if (_status.discarded) { + _status.discarded.remove(cards[num]); + } + // cards[num].vanishtag.length=0; + for (var num2 = 0; num2 < cards[num].vanishtag.length; num2++) { + if (cards[num].vanishtag[num2][0] != '_') { + cards[num].vanishtag.splice(num2--, 1); + } + } + if (player == game.me) { + cards[num].classList.add('drawinghidden'); + } + if (get.is.singleHandcard() || sort > 1) frag1.appendChild(cards[num]); + else frag2.appendChild(cards[num]); + } + var addv = function () { + if (player == game.me) { + game.addVideo('gain12', player, [get.cardsInfo(frag1.childNodes), get.cardsInfo(frag2.childNodes), event.gaintag]); + } + }; + var broadcast = function () { + game.broadcast(function (player, cards, num, gaintag) { + player.directgain(cards, null, gaintag); + _status.cardPileNum = num; + }, player, cards, ui.cardPile.childNodes.length, event.gaintag); + }; + if (event.animate == 'draw') { + player.$draw(cards.length); + game.pause(); + setTimeout(function () { + addv(); + player.node.handcards1.insertBefore(frag1, player.node.handcards1.firstChild); + player.node.handcards2.insertBefore(frag2, player.node.handcards2.firstChild); + player.update(); + if (player == game.me) ui.updatehl(); + broadcast(); + game.resume(); + }, get.delayx(500, 500)); + } + else if (event.animate == 'gain') { + player.$gain(cards, event.log); + game.pause(); + setTimeout(function () { + addv(); + player.node.handcards1.insertBefore(frag1, player.node.handcards1.firstChild); + player.node.handcards2.insertBefore(frag2, player.node.handcards2.firstChild); + player.update(); + if (player == game.me) ui.updatehl(); + broadcast(); + game.resume(); + }, get.delayx(700, 700)); + } + else if (event.animate == 'gain2' || event.animate == 'draw2') { + var gain2t = 300; + if (player.$gain2(cards, event.log) && player == game.me) { + gain2t = 500; + } + game.pause(); + setTimeout(function () { + addv(); + player.node.handcards1.insertBefore(frag1, player.node.handcards1.firstChild); + player.node.handcards2.insertBefore(frag2, player.node.handcards2.firstChild); + player.update(); + if (player == game.me) ui.updatehl(); + broadcast(); + game.resume(); + }, get.delayx(gain2t, gain2t)); + } + else if (event.animate == 'give' || event.animate == 'giveAuto') { + var evtmap = event.losing_map; + if (event.animate == 'give') { + for (var i in evtmap) { + var source = (_status.connectMode ? lib.playerOL : game.playerMap)[i]; + source.$give(evtmap[i][0], player, event.log); + } + } + else { + for (var i in evtmap) { + var source = (_status.connectMode ? lib.playerOL : game.playerMap)[i]; + if (evtmap[i][1].length) source.$giveAuto(evtmap[i][1], player, event.log); + if (evtmap[i][2].length) source.$give(evtmap[i][2], player, event.log); + } + } + game.pause(); + setTimeout(function () { + addv(); + player.node.handcards1.insertBefore(frag1, player.node.handcards1.firstChild); + player.node.handcards2.insertBefore(frag2, player.node.handcards2.firstChild); + player.update(); + if (player == game.me) ui.updatehl(); + broadcast(); + game.resume(); + }, get.delayx(500, 500)); + } + else if (typeof event.animate == 'function') { + var time = event.animate(event); + game.pause(); + setTimeout(function () { + addv(); + player.node.handcards1.insertBefore(frag1, player.node.handcards1.firstChild); + player.node.handcards2.insertBefore(frag2, player.node.handcards2.firstChild); + player.update(); + if (player == game.me) ui.updatehl(); + broadcast(); + game.resume(); + }, get.delayx(time, time)); + } + else { + addv(); + player.node.handcards1.insertBefore(frag1, player.node.handcards1.firstChild); + player.node.handcards2.insertBefore(frag2, player.node.handcards2.firstChild); + player.update(); + if (player == game.me) ui.updatehl(); + broadcast(); + event.finish(); + } + "step 4"; + game.delayx(); + if (event.updatePile) game.updateRoundNumber(); + }, + addToExpansion: function () { + "step 0"; + if (event.animate == 'give') event.visible = true; + if (cards) { + var map = {}; + for (var i of cards) { + var owner = get.owner(i, 'judge'); + if (owner && (owner != player || get.position(i) != 'x')) { + var id = owner.playerid; + if (!map[id]) map[id] = [[], [], []]; + map[id][0].push(i); + var position = get.position(i); + if (position == 'h') map[id][1].push(i); + else map[id][2].push(i); + } + else if (!event.updatePile && get.position(i) == 'c') event.updatePile = true; + } + event.losing_map = map; + for (var i in map) { + var owner = (_status.connectMode ? lib.playerOL : game.playerMap)[i]; + var next = owner.lose(map[i][0], ui.special).set('type', 'loseToExpansion').set('forceDie', true).set('getlx', false); + if (event.visible == true) next.visible = true; + event.relatedLose = next; + } + } + else { + event.finish(); + } + "step 1"; + for (var i = 0; i < cards.length; i++) { + if (cards[i].willBeDestroyed('expansion', player, event)) { + cards[i].selfDestroy(event); + cards.splice(i--, 1); + } + else if (event.losing_map) { + for (var id in event.losing_map) { + if (event.losing_map[id][0].contains(cards[i])) { + var source = (_status.connectMode ? lib.playerOL : game.playerMap)[id]; + var hs = source.getCards('hejsx'); + if (hs.contains(cards[i])) { + cards.splice(i--, 1); + } + } + } + } + } + if (cards.length == 0) { + event.finish(); + return; + } + "step 2"; + var hs = player.getCards('x'); + for (var i = 0; i < cards.length; i++) { + if (hs.contains(cards[i])) { + cards.splice(i--, 1); + } + } + for (var num = 0; num < cards.length; num++) { + if (_status.discarded) { + _status.discarded.remove(cards[num]); + } + for (var num2 = 0; num2 < cards[num].vanishtag.length; num2++) { + if (cards[num].vanishtag[num2][0] != '_') { + cards[num].vanishtag.splice(num2--, 1); + } + } + } + if (event.animate == 'draw') { + player.$draw(cards.length); + if (event.log) game.log(player, '将', get.cnNumber(cards.length), '张牌置于了武将牌上'); + game.pause(); + setTimeout(function () { + player.$addToExpansion(cards, null, event.gaintag); + for (var i of event.gaintag) player.markSkill(i); + game.resume(); + }, get.delayx(500, 500)); + } + else if (event.animate == 'gain') { + player.$gain(cards, false); + game.pause(); + setTimeout(function () { + player.$addToExpansion(cards, null, event.gaintag); + for (var i of event.gaintag) player.markSkill(i); + game.resume(); + }, get.delayx(700, 700)); + } + else if (event.animate == 'gain2' || event.animate == 'draw2') { + var gain2t = 300; + if (player.$gain2(cards) && player == game.me) { + gain2t = 500; + } + game.pause(); + setTimeout(function () { + player.$addToExpansion(cards, null, event.gaintag); + for (var i of event.gaintag) player.markSkill(i); + game.resume(); + }, get.delayx(gain2t, gain2t)); + } + else if (event.animate == 'give' || event.animate == 'giveAuto') { + var evtmap = event.losing_map; + if (event.animate == 'give') { + for (var i in evtmap) { + var source = (_status.connectMode ? lib.playerOL : game.playerMap)[i]; + source.$give(evtmap[i][0], player, false); + if (event.log) game.log(player, '将', evtmap[i][0], '置于了武将牌上'); + } + } + else { + for (var i in evtmap) { + var source = (_status.connectMode ? lib.playerOL : game.playerMap)[i]; + if (evtmap[i][1].length) { + source.$giveAuto(evtmap[i][1], player, false); + if (event.log) game.log(player, '将', get.cnNumber(evtmap[i][1].length), '张牌置于了武将牌上'); + } + if (evtmap[i][2].length) { + source.$give(evtmap[i][2], player, false); + if (event.log) game.log(player, '将', evtmap[i][2], '置于了武将牌上'); + } + } + } + game.pause(); + setTimeout(function () { + player.$addToExpansion(cards, null, event.gaintag); + for (var i of event.gaintag) player.markSkill(i); + game.resume(); + }, get.delayx(500, 500)); + } + else if (typeof event.animate == 'function') { + var time = event.animate(event); + game.pause(); + setTimeout(function () { + player.$addToExpansion(cards, null, event.gaintag); + for (var i of event.gaintag) player.markSkill(i); + game.resume(); + }, get.delayx(time, time)); + } + else { + player.$addToExpansion(cards, null, event.gaintag); + for (var i of event.gaintag) player.markSkill(i); + event.finish(); + } + "step 4"; + game.delayx(); + if (event.updatePile) game.updateRoundNumber(); + }, + lose: function () { + "step 0"; + var evt = event.getParent(); + if ((evt.name != 'discard' || event.type != 'discard') && (evt.name != 'loseToDiscardpile' || event.type != 'loseToDiscardpile')) { + event.delay = false; + return; + } + if (evt.delay === false) event.delay = false; + if (evt.animate != false) { + evt.discardid = lib.status.videoId++; + game.broadcastAll(function (player, cards, id, visible) { + player.$throw(cards, null, 'nobroadcast'); + var cardnodes = []; + cardnodes._discardtime = get.time(); + for (var i = 0; i < cards.length; i++) { + if (cards[i].clone) { + cardnodes.push(cards[i].clone); + if (!visible) { + cards[i].clone.classList.add('infohidden'); + cards[i].clone.classList.add('infoflip'); + } + } + } + ui.todiscard[id] = cardnodes; + }, player, cards, evt.discardid, event.visible); + if (lib.config.sync_speed && cards[0] && cards[0].clone) { + if (evt.delay != false) { + var waitingForTransition = get.time(); + evt.waitingForTransition = waitingForTransition; + cards[0].clone.listenTransition(function () { + if (_status.waitingForTransition == waitingForTransition && _status.paused) { + game.resume(); + } + delete evt.waitingForTransition; + }); + } + else if (evt.getParent().discardTransition) { + delete evt.getParent().discardTransition; + var waitingForTransition = get.time(); + evt.getParent().waitingForTransition = waitingForTransition; + cards[0].clone.listenTransition(function () { + if (_status.waitingForTransition == waitingForTransition && _status.paused) { + game.resume(); + } + delete evt.getParent().waitingForTransition; + }); + } + } + } + "step 1"; + event.gaintag_map = {}; + var hs = [], es = [], js = [], ss = [], xs = []; + var unmarks = []; + if (event.insert_card && event.position == ui.cardPile) event.cards.reverse(); + var hej = player.getCards('hejsx'); + event.stockcards = cards.slice(0); + for (var i = 0; i < cards.length; i++) { + if (!hej.contains(cards[i])) { + cards.splice(i--, 1); + continue; + } + else if (cards[i].parentNode) { + if (cards[i].parentNode.classList.contains('equips')) { + cards[i].original = 'e'; + es.push(cards[i]); + } + else if (cards[i].parentNode.classList.contains('judges')) { + cards[i].original = 'j'; + js.push(cards[i]); + } + else if (cards[i].parentNode.classList.contains('expansions')) { + cards[i].original = 'x'; + xs.push(cards[i]); + if (cards[i].gaintag && cards[i].gaintag.length) unmarks.addArray(cards[i].gaintag); + } + else if (cards[i].parentNode.classList.contains('handcards')) { + if (cards[i].classList.contains('glows')) { + cards[i].original = 's'; + ss.push(cards[i]); + } + else { + cards[i].original = 'h'; + hs.push(cards[i]); + } + } + else { + cards[i].original = null; + } + } + if (cards[i].gaintag && cards[i].gaintag.length) { + event.gaintag_map[cards[i].cardid] = cards[i].gaintag.slice(0); + cards[i].removeGaintag(true); + } + + cards[i].style.transform += ' scale(0.2)'; + cards[i].classList.remove('glow'); + cards[i].classList.remove('glows'); + cards[i].recheck(); + + var info = lib.card[cards[i].name]; + if ('_destroy' in cards[i]) { + if (cards[i]._destroy) { + cards[i].delete(); + cards[i].destroyed = cards[i]._destroy; + continue; + } + } + else if ('destroyed' in cards[i]) { + if (event.getlx !== false && event.position && cards[i].willBeDestroyed(event.position.id, null, event)) { + cards[i].selfDestroy(event); + continue; + } + } + else if (info.destroy) { + cards[i].delete(); + cards[i].destroyed = info.destroy; + continue; + } + if (event.position) { + if (_status.discarded) { + if (event.position == ui.discardPile) { + _status.discarded.add(cards[i]); + } + else { + _status.discarded.remove(cards[i]); + } + } + if (event.insert_index) { + cards[i].fix(); + event.position.insertBefore(cards[i], event.insert_index(event, cards[i])); + } + else if (event.insert_card) { + cards[i].fix(); + event.position.insertBefore(cards[i], event.position.firstChild); + } + else if (event.position == ui.cardPile) { + cards[i].fix(); + event.position.appendChild(cards[i]); + } + else cards[i].goto(event.position); + } + else { + cards[i].remove(); + } + //if(ss.contains(cards[i])) cards.splice(i--,1); + } + if (player == game.me) ui.updatehl(); + ui.updatej(player); + game.broadcast(function (player, cards, num) { + for (var i = 0; i < cards.length; i++) { + cards[i].classList.remove('glow'); + cards[i].classList.remove('glows'); + cards[i].fix(); + cards[i].remove(); + } + if (player == game.me) { + ui.updatehl(); + } + ui.updatej(player); + _status.cardPileNum = num; + }, player, cards, ui.cardPile.childNodes.length); + game.addVideo('lose', player, [get.cardsInfo(hs), get.cardsInfo(es), get.cardsInfo(js), get.cardsInfo(ss)]); + event.cards2 = hs.concat(es); + player.getHistory('lose').push(event); + game.getGlobalHistory().cardMove.push(event); + player.update(); + game.addVideo('loseAfter', player); + event.num = 0; + if (event.position == ui.ordering) { + var evt = event.relatedEvent || event.getParent(); + if (!evt.orderingCards) evt.orderingCards = []; + if (!evt.noOrdering && !evt.cardsOrdered) { + evt.cardsOrdered = true; + var next = game.createEvent('orderingDiscard', false, evt.getParent()); + next.relatedEvent = evt; + next.setContent('orderingDiscard'); + } + if (!evt.noOrdering) { + evt.orderingCards.addArray(cards); + } + } + else if (event.position == ui.cardPile) { + game.updateRoundNumber(); + } + if (unmarks.length) { + for (var i of unmarks) { + player[(lib.skill[i] && lib.skill[i].mark || player.hasCard((card) => card.hasGaintag(i), 'x')) ? 'markSkill' : 'unmarkSkill'](i); + } + } + event.hs = hs; + event.es = es; + event.js = js; + event.ss = ss; + event.xs = xs; + game.clearCardKnowers(hs); + if (hs.length && !event.visible) { + player.getCards('h').forEach(hcard => { hcard.clearKnowers(); }); + } + "step 2"; + if (num < cards.length) { + if (event.es.contains(cards[num])) { + event.loseEquip = true; + player.removeEquipTrigger(cards[num]); + var info = get.info(cards[num]); + if (info.onLose && (!info.filterLose || info.filterLose(cards[num], player))) { + event.goto(3); + return; + } + } + event.num++; + event.redo(); + } + else { + if (event.loseEquip) { + player.addEquipTrigger(); + } + event.goto(4); + } + "step 3"; + var info = get.info(cards[num]); + if (info.loseDelay != false && (player.isAlive() || info.forceDie)) { + player.popup(cards[num].name); + game.delayx(); + } + if (Array.isArray(info.onLose)) { + for (var i = 0; i < info.onLose.length; i++) { + var next = game.createEvent('lose_' + cards[num].name); + next.setContent(info.onLose[i]); + if (info.forceDie) next.forceDie = true; + next.player = player; + next.card = cards[num]; + } + } + else { + var next = game.createEvent('lose_' + cards[num].name); + next.setContent(info.onLose); + next.player = player; + if (info.forceDie) next.forceDie = true; + next.card = cards[num]; + } + event.num++; + event.goto(2); + "step 4"; + if (event.toRenku) { + _status.renku.addArray(cards.filter(function (card) { + return !card.willBeDestroyed('renku', null, event); + })); + if (_status.renku.length > 6) { + var cards = _status.renku.splice(0, _status.renku.length - 6); + game.log(cards, '从仁库进入了弃牌堆'); + game.cardsDiscard(cards).set('outRange', true).fromRenku = true; + } + game.updateRenku(); + } + "step 5"; + var evt = event.getParent(); + if ((evt.name != 'discard' && event.type != 'discard') && (evt.name != 'loseToDiscardpile' && event.type != 'loseToDiscardpile')) return; + if (event.animate === false || event.delay === false) return; + if (evt.delay != false) { + if (evt.waitingForTransition) { + _status.waitingForTransition = evt.waitingForTransition; + game.pause(); + } + else { + game.delayx(); + } + } + }, + damage: function () { + "step 0"; + event.forceDie = true; + if (event.unreal) { event.goto(4); return; } + event.trigger('damageBegin1'); + "step 1"; + event.trigger('damageBegin2'); + "step 2"; + event.trigger('damageBegin3'); + "step 3"; + event.trigger('damageBegin4'); + "step 4"; + //moved changeHujia to changeHp + if (player.hujia > 0 && !player.hasSkillTag('nohujia')) { + var damageAudioInfo = lib.natureAudio.hujia_damage[event.nature]; + if (!damageAudioInfo || damageAudioInfo == 'normal') { + damageAudioInfo = 'effect/hujia_damage' + (num > 1 ? '2' : '') + '.mp3'; + } else if (damageAudioInfo == 'default') { + damageAudioInfo = 'effect/hujia_damage_' + event.nature + (num > 1 ? '2' : '') + '.mp3'; + } else { + damageAudioInfo = damageAudioInfo[num > 1 ? 2 : 1]; + } + game.broadcastAll(function (damageAudioInfo) { + if (lib.config.background_audio) game.playAudio(damageAudioInfo); + }, damageAudioInfo); + } else { + var damageAudioInfo = lib.natureAudio.damage[event.nature]; + if (!damageAudioInfo || damageAudioInfo == 'normal') { + damageAudioInfo = 'effect/damage' + (num > 1 ? '2' : '') + '.mp3'; + } else if (damageAudioInfo == 'default') { + damageAudioInfo = 'effect/damage_' + event.nature + (num > 1 ? '2' : '') + '.mp3'; + } else { + damageAudioInfo = damageAudioInfo[num > 1 ? 2 : 1]; + } + game.broadcastAll(function (damageAudioInfo) { + if (lib.config.background_audio) game.playAudio(damageAudioInfo); + }, damageAudioInfo); + } + var str = event.unreal ? '视为受到了' : '受到了'; + if (source) str += '来自' + (source == player ? '自己' : get.translation(source)) + '的'; + str += get.cnNumber(num) + '点'; + if (event.nature) str += get.translation(event.nature) + '属性'; + str += '伤害'; + game.log(player, str); + if (player.stat[player.stat.length - 1].damaged == undefined) { + player.stat[player.stat.length - 1].damaged = num; + } + else { + player.stat[player.stat.length - 1].damaged += num; + } + if (source) { + source.getHistory('sourceDamage').push(event); + if (source.stat[source.stat.length - 1].damage == undefined) { + source.stat[source.stat.length - 1].damage = num; + } + else { + source.stat[source.stat.length - 1].damage += num; + } + } + player.getHistory('damage').push(event); + if (!event.unreal) { + if (event.notrigger) { + player.changeHp(-num, false)._triggered = null; + } + else { + player.changeHp(-num, false); + } + } + if (event.animate !== false) { + player.$damage(source); + var natures = (event.nature || '').split(lib.natureSeparator); + game.broadcastAll(function (natures, player) { + if (lib.config.animation && !lib.config.low_performance) { + if (natures.includes('fire')) { + player.$fire(); + } + if (natures.includes('thunder')) { + player.$thunder(); + } + } + }, natures, player); + var numx = player.hasSkillTag('nohujia') ? num : Math.max(0, num - player.hujia); + player.$damagepop(-numx, natures[0]); + } + if (event.unreal) event.goto(6); + if (!event.notrigger) { + if (num == 0) { + event.trigger('damageZero'); + event._triggered = null; + } + else { + event.trigger('damage'); + } + } + "step 5"; + if (player.hp <= 0 && player.isAlive() && !event.nodying) { + game.delayx(); + event._dyinged = true; + player.dying(event); + } + if (source && lib.config.border_style == 'auto') { + var dnum = 0; + for (var j = 0; j < source.stat.length; j++) { + if (source.stat[j].damage != undefined) dnum += source.stat[j].damage; + } + if (dnum >= 2) { + if (lib.config.autoborder_start == 'silver') { + dnum += 4; + } + else if (lib.config.autoborder_start == 'gold') { + dnum += 8; + } + } + if (lib.config.autoborder_count == 'damage') { + source.node.framebg.dataset.decoration = ''; + if (dnum >= 10) { + source.node.framebg.dataset.auto = 'gold'; + if (dnum >= 12) source.node.framebg.dataset.decoration = 'gold'; + } + else if (dnum >= 6) { + source.node.framebg.dataset.auto = 'silver'; + if (dnum >= 8) source.node.framebg.dataset.decoration = 'silver'; + } + else if (dnum >= 2) { + source.node.framebg.dataset.auto = 'bronze'; + if (dnum >= 4) source.node.framebg.dataset.decoration = 'bronze'; + } + if (dnum >= 2) { + source.classList.add('topcount'); + } + } + else if (lib.config.autoborder_count == 'mix') { + source.node.framebg.dataset.decoration = ''; + switch (source.node.framebg.dataset.auto) { + case 'bronze': if (dnum >= 4) source.node.framebg.dataset.decoration = 'bronze'; break; + case 'silver': if (dnum >= 8) source.node.framebg.dataset.decoration = 'silver'; break; + case 'gold': if (dnum >= 12) source.node.framebg.dataset.decoration = 'gold'; break; + } + } + } + "step 6"; + if (!event.notrigger) event.trigger('damageSource'); + }, + recover: function () { + if (lib.config.background_audio) { + game.playAudio('effect', 'recover'); + } + game.broadcast(function () { + if (lib.config.background_audio) { + game.playAudio('effect', 'recover'); + } + }); + if (num > player.maxHp - player.hp) { + num = player.maxHp - player.hp; + event.num = num; + } + if (num > 0) { + player.changeHp(num, false); + game.broadcastAll(function (player) { + if (lib.config.animation && !lib.config.low_performance) { + player.$recover(); + } + }, player); + player.$damagepop(num, 'wood'); + game.log(player, '回复了' + get.cnNumber(num) + '点体力'); + } + }, + loseHp: function () { + "step 0"; + if (lib.config.background_audio) { + game.playAudio('effect', 'loseHp'); + } + game.broadcast(function () { + if (lib.config.background_audio) { + game.playAudio('effect', 'loseHp'); + } + }); + game.log(player, '失去了' + get.cnNumber(num) + '点体力'); + player.changeHp(-num); + "step 1"; + if (player.hp <= 0 && !event.nodying) { + game.delayx(); + event._dyinged = true; + player.dying(event); + } + }, + doubleDraw: function () { + "step 0"; + player.chooseBool('你的主副将体力上限之和是奇数,是否摸一张牌?'); + "step 1"; + if (result.bool) { + player.draw(); + } + }, + loseMaxHp: function () { + "step 0"; + game.log(player, '减少了' + get.cnNumber(num) + '点体力上限'); + player.maxHp -= num; + event.loseHp = Math.max(0, player.hp - player.maxHp); + player.update(); + "step 1"; + if (player.maxHp <= 0) { + player.die(event); + } + }, + gainMaxHp: function () { + "step 0"; + game.log(player, '增加了' + get.cnNumber(num) + '点体力上限'); + player.maxHp += num; + player.update(); + }, + changeHp: function () { + //add to GlobalHistory + game.getGlobalHistory().changeHp.push(event); + //changeHujia moved here + if (num < 0 && player.hujia > 0 && event.getParent().name == 'damage' && !player.hasSkillTag('nohujia')) { + event.hujia = Math.min(-num, player.hujia); + event.getParent().hujia = event.hujia; + event.num += event.hujia; + //log moved to changeHujia + //game.log(player,'的护甲抵挡了'+get.cnNumber(event.hujia)+'点伤害'); + player.changeHujia(-event.hujia).type = 'damage'; + } + //old part + num = event.num; + player.hp += num; + if (isNaN(player.hp)) player.hp = 0; + if (player.hp > player.maxHp) player.hp = player.maxHp; + player.update(); + if (event.popup !== false) { + player.$damagepop(num, 'water'); + } + if (_status.dying.contains(player) && player.hp > 0) { + _status.dying.remove(player); + game.broadcast(function (list) { + _status.dying = list; + }, _status.dying); + var evt = event.getParent('_save'); + if (evt && evt.finish) evt.finish(); + evt = event.getParent('dying'); + if (evt && evt.finish) evt.finish(); + } + event.trigger('changeHp'); + }, + changeHujia: function () { + if (num > 0) { + game.log(player, '获得了' + get.cnNumber(num) + '点护甲'); + } + else if (num < 0) { + if (-num > player.hujia) { + num = -player.hujia; + event.num = num; + } + switch (event.type) { //log moved here + case 'damage': + game.log(player, '的护甲抵挡了' + get.cnNumber(-num) + '点伤害'); + break; + case 'lose': + game.log(player, '失去了' + get.cnNumber(-num) + '点护甲'); + break; + } + } + player.hujia += num; + //if(player.hujia<0){ + // player.hujia=0; + //} + player.update(); + }, + dying: function () { + "step 0"; + event.forceDie = true; + if (player.isDying() || player.hp > 0) { + event.finish(); + return; + } + _status.dying.unshift(player); + game.broadcast(function (list) { + _status.dying = list; + }, _status.dying); + event.trigger('dying'); + game.log(player, '濒死'); + "step 1"; + delete event.filterStop; + if (player.hp > 0 || event.nodying) { + _status.dying.remove(player); + game.broadcast(function (list) { + _status.dying = list; + }, _status.dying); + event.finish(); + } + else if (!event.skipTao) { + var next = game.createEvent('_save'); + var start = false; + var starts = [_status.currentPhase, event.source, event.player, game.me, game.players[0]]; + for (var i = 0; i < starts.length; i++) { + if (get.itemtype(starts[i]) == 'player') { + start = starts[i]; break; + } + } + next.player = start; + next._trigger = event; + next.triggername = '_save'; + next.forceDie = true; + next.setContent(lib.skill._save.content); + } + "step 2"; + _status.dying.remove(player); + game.broadcast(function (list) { + _status.dying = list; + }, _status.dying); + if (player.hp <= 0 && !event.nodying && !player.nodying) player.die(event.reason); + }, + die: function () { + "step 0"; + event.forceDie = true; + if (_status.roundStart == player) { + _status.roundStart = player.next || player.getNext() || game.players[0]; + } + if (ui.land && ui.land.player == player) { + game.addVideo('destroyLand'); + ui.land.destroy(); + } + var unseen = false; + if (player.classList.contains('unseen')) { + player.classList.remove('unseen'); + unseen = true; + } + var logvid = game.logv(player, 'die', source); + event.logvid = logvid; + if (unseen) { + player.classList.add('unseen'); + } + if (source) { + game.log(player, '被', source, '杀害'); + if (source.stat[source.stat.length - 1].kill == undefined) { + source.stat[source.stat.length - 1].kill = 1; + } + else { + source.stat[source.stat.length - 1].kill++; + } + } + else { + game.log(player, '阵亡'); + } + + + // player.removeEquipTrigger(); + + // for(var i in lib.skill.globalmap){ + // if(lib.skill.globalmap[i].contains(player)){ + // lib.skill.globalmap[i].remove(player); + // if(lib.skill.globalmap[i].length==0&&!lib.skill[i].globalFixed){ + // game.removeGlobalSkill(i); + // } + // } + // } + game.broadcastAll(function (player) { + player.classList.add('dead'); + player.removeLink(); + player.classList.remove('turnedover'); + player.classList.remove('out'); + player.node.count.innerHTML = '0'; + player.node.hp.hide(); + player.node.equips.hide(); + player.node.count.hide(); + player.previous.next = player.next; + player.next.previous = player.previous; + game.players.remove(player); + game.dead.push(player); + _status.dying.remove(player); + + if (lib.config.background_speak) { + if (lib.character[player.name] && lib.character[player.name][4].some(tag => /^die:.+$/.test(tag))) { + var tag = lib.character[player.name][4].find(tag => /^die:.+$/.test(tag)); + var reg = new RegExp("^ext:(.+)?/"); + var match = tag.match(/^die:(.+)$/); + if (match) { + var path = match[1]; + if (reg.test(path)) path = path.replace(reg, (_o, p) => `../extension/${p}/`); + game.playAudio(path); + } + } + else if (lib.character[player.name] && lib.character[player.name][4].some(tag => tag.startsWith('die_audio'))) { + var tag = lib.character[player.name][4].find(tag => tag.startsWith('die_audio')); + var list = tag.split(':').slice(1); + game.playAudio('die', list.length ? list[0] : player.name); + } + else { + game.playAudio('die', player.name, function () { + game.playAudio('die', player.name.slice(player.name.indexOf('_') + 1)); + }); + } + } + }, player); + + game.addVideo('diex', player); + if (event.animate !== false) { + player.$die(source); + } + if (player.hp != 0) { + player.changeHp(0 - player.hp, false).forceDie = true; + } + "step 1"; + if (player.dieAfter) player.dieAfter(source); + "step 2"; + event.trigger('die'); + "step 3"; + if (player.isDead()) { + if (!game.reserveDead) { + for (var mark in player.marks) { + player.unmarkSkill(mark); + } + while (player.node.marks.childNodes.length > 1) { + player.node.marks.lastChild.remove(); + } + game.broadcast(function (player) { + while (player.node.marks.childNodes.length > 1) { + player.node.marks.lastChild.remove(); + } + }, player); + } + for (var i in player.tempSkills) { + player.removeSkill(i); + } + var skills = player.getSkills(); + for (var i = 0; i < skills.length; i++) { + if (lib.skill[skills[i]].temp) { + player.removeSkill(skills[i]); + } + } + if (_status.characterlist) { + if (lib.character[player.name] && !player.name.startsWith('gz_shibing') && !player.name.startsWith('gz_jun_')) _status.characterlist.add(player.name); + if (lib.character[player.name1] && !player.name1.startsWith('gz_shibing') && !player.name1.startsWith('gz_jun_')) _status.characterlist.add(player.name1); + if (lib.character[player.name2] && !player.name2.startsWith('gz_shibing') && !player.name2.startsWith('gz_jun_')) _status.characterlist.add(player.name2); + } + event.cards = player.getCards('hejsx'); + if (event.cards.length) { + player.discard(event.cards).forceDie = true; + //player.$throw(event.cards,1000); + } + } + "step 4"; + if (player.dieAfter2) player.dieAfter2(source); + "step 5"; + game.broadcastAll(function (player) { + if (game.online && player == game.me && !_status.over && !game.controlOver && !ui.exit) { + if (lib.mode[lib.configOL.mode].config.dierestart) { + ui.create.exit(); + } + } + }, player); + if (!_status.connectMode && player == game.me && !_status.over && !game.controlOver) { + ui.control.show(); + if (get.config('revive') && lib.mode[lib.config.mode].config.revive && !ui.revive) { + ui.revive = ui.create.control('revive', ui.click.dierevive); + } + if (get.config('continue_game') && !ui.continue_game && lib.mode[lib.config.mode].config.continue_game && !_status.brawl && !game.no_continue_game) { + ui.continue_game = ui.create.control('再战', game.reloadCurrent); + } + if (get.config('dierestart') && lib.mode[lib.config.mode].config.dierestart && !ui.restart) { + ui.restart = ui.create.control('restart', game.reload); + } + } + + if (!_status.connectMode && player == game.me && !game.modeSwapPlayer) { + // _status.auto=false; + if (ui.auto) { + // ui.auto.classList.remove('glow'); + ui.auto.hide(); + } + if (ui.wuxie) ui.wuxie.hide(); + } + + if (typeof _status.coin == 'number' && source && !_status.auto) { + if (source == game.me || source.isUnderControl()) { + _status.coin += 10; + } + } + if (source && lib.config.border_style == 'auto' && (lib.config.autoborder_count == 'kill' || lib.config.autoborder_count == 'mix')) { + switch (source.node.framebg.dataset.auto) { + case 'gold': case 'silver': source.node.framebg.dataset.auto = 'gold'; break; + case 'bronze': source.node.framebg.dataset.auto = 'silver'; break; + default: source.node.framebg.dataset.auto = lib.config.autoborder_start || 'bronze'; + } + if (lib.config.autoborder_count == 'kill') { + source.node.framebg.dataset.decoration = source.node.framebg.dataset.auto; + } + else { + var dnum = 0; + for (var j = 0; j < source.stat.length; j++) { + if (source.stat[j].damage != undefined) dnum += source.stat[j].damage; + } + source.node.framebg.dataset.decoration = ''; + switch (source.node.framebg.dataset.auto) { + case 'bronze': if (dnum >= 4) source.node.framebg.dataset.decoration = 'bronze'; break; + case 'silver': if (dnum >= 8) source.node.framebg.dataset.decoration = 'silver'; break; + case 'gold': if (dnum >= 12) source.node.framebg.dataset.decoration = 'gold'; break; + } + } + source.classList.add('topcount'); + } + }, + addJudge: function () { + "step 0"; + if (cards) { + var owner = get.owner(cards[0]); + if (owner) { + event.relatedLose = owner.lose(cards, 'visible', ui.special).set('getlx', false); + } + else if (get.position(cards[0]) == 'c') event.updatePile = true; + } + "step 1"; + if (cards[0].willBeDestroyed('judge', player, event)) { + cards[0].selfDestroy(event); + event.finish(); + return; + } + else if (event.relatedLose) { + var owner = event.relatedLose.player; + if (owner.getCards('hejsx').contains(card)) { + event.finish(); + return; + } + } + cards[0].fix(); + cards[0].style.transform = ''; + cards[0].classList.remove('drawinghidden'); + delete cards[0]._transform; + var viewAs = typeof card == 'string' ? card : card.name; + if (!lib.card[viewAs] || !lib.card[viewAs].effect) { + game.cardsDiscard(cards[0]); + } + else { + cards[0].style.transform = ''; + cards[0].classList.add('drawinghidden'); + player.node.judges.insertBefore(cards[0], player.node.judges.firstChild); + if (_status.discarded) { + _status.discarded.remove(cards[0]); + } + ui.updatej(player); + game.broadcast(function (player, card, viewAs) { + card.fix(); + card.style.transform = ''; + card.classList.add('drawinghidden'); + card.viewAs = viewAs; + if (viewAs && viewAs != card.name && (card.classList.contains('fullskin') || card.classList.contains('fullborder'))) { + card.classList.add('fakejudge'); + card.node.background.innerHTML = lib.translate[viewAs + '_bg'] || get.translation(viewAs)[0]; + } + else { + card.classList.remove('fakejudge'); + } + player.node.judges.insertBefore(card, player.node.judges.firstChild); + ui.updatej(player); + if (card.clone && (card.clone.parentNode == player.parentNode || card.clone.parentNode == ui.arena)) { + card.clone.moveDelete(player); + game.addVideo('gain2', player, get.cardsInfo([card])); + } + }, player, cards[0], viewAs); + if (cards[0].clone && (cards[0].clone.parentNode == player.parentNode || cards[0].clone.parentNode == ui.arena)) { + cards[0].clone.moveDelete(player); + game.addVideo('gain2', player, get.cardsInfo(cards)); + } + // player.$gain2(cards); + if (get.itemtype(card) != 'card') { + if (typeof card == 'string') cards[0].viewAs = card; + else cards[0].viewAs = card.name; + } + else { + delete cards[0].viewAs; + } + if (cards[0].viewAs && cards[0].viewAs != cards[0].name) { + if (cards[0].classList.contains('fullskin') || cards[0].classList.contains('fullborder')) { + cards[0].classList.add('fakejudge'); + cards[0].node.background.innerHTML = lib.translate[cards[0].viewAs + '_bg'] || get.translation(cards[0].viewAs)[0]; + } + game.log(player, '被贴上了' + get.translation(cards[0].viewAs) + '(', cards, ')'); + } + else { + cards[0].classList.remove('fakejudge'); + game.log(player, '被贴上了', cards); + } + game.addVideo('addJudge', player, [get.cardInfo(cards[0]), cards[0].viewAs]); + } + if (event.updatePile) game.updateRoundNumber(); + }, + judge: function () { + "step 0"; + var judgestr = get.translation(player) + '的' + event.judgestr + '判定'; + event.videoId = lib.status.videoId++; + var cardj = event.directresult; + if (!cardj) { + if (player.getTopCards) cardj = player.getTopCards()[0]; + else cardj = get.cards()[0]; + } + var owner = get.owner(cardj); + if (owner) { + owner.lose(cardj, 'visible', ui.ordering); + } + else { + var nextj = game.cardsGotoOrdering(cardj); + if (event.position != ui.discardPile) nextj.noOrdering = true; + } + player.judging.unshift(cardj); + game.addVideo('judge1', player, [get.cardInfo(player.judging[0]), judgestr, event.videoId]); + game.broadcastAll(function (player, card, str, id, cardid) { + var event; + if (game.online) { + event = {}; + } + else { + event = _status.event; + } + if (game.chess) { + event.node = card.copy('thrown', 'center', ui.arena).animate('start'); + } + else { + event.node = player.$throwordered(card.copy(), true); + } + if (lib.cardOL) lib.cardOL[cardid] = event.node; + event.node.cardid = cardid; + event.node.classList.add('thrownhighlight'); + ui.arena.classList.add('thrownhighlight'); + event.dialog = ui.create.dialog(str); + event.dialog.classList.add('center'); + event.dialog.videoId = id; + }, player, player.judging[0], judgestr, event.videoId, get.id()); + + game.log(player, '进行' + event.judgestr + '判定,亮出的判定牌为', player.judging[0]); + game.delay(2); + if (!event.noJudgeTrigger) event.trigger('judge'); + "step 1"; + event.result = { + card: player.judging[0], + name: player.judging[0].name, + number: get.number(player.judging[0]), + suit: get.suit(player.judging[0]), + color: get.color(player.judging[0]), + node: event.node, + }; + if (event.fixedResult) { + for (var i in event.fixedResult) { + event.result[i] = event.fixedResult[i]; + } + } + event.result.judge = event.judge(event.result); + if (event.result.judge > 0) event.result.bool = true; + else if (event.result.judge < 0) event.result.bool = false; + else event.result.bool = null; + player.judging.shift(); + game.checkMod(player, event.result, 'judge', player); + if (event.judge2) { + var judge2 = event.judge2(event.result); + if (typeof judge2 == 'boolean') player.tryJudgeAnimate(judge2); + } + if (event.clearArena != false) { + game.broadcastAll(ui.clear); + } + game.broadcast(function (id) { + var dialog = get.idDialog(id); + if (dialog) { + dialog.close(); + } + ui.arena.classList.remove('thrownhighlight'); + }, event.videoId); + event.dialog.close(); + game.addVideo('judge2', null, event.videoId); + ui.arena.classList.remove('thrownhighlight'); + game.log(player, '的判定结果为', event.result.card); + event.trigger('judgeFixing'); + if (event.callback) { + var next = game.createEvent('judgeCallback', false); + next.player = player; + next.card = event.result.card; + next.judgeResult = get.copy(event.result); + next.setContent(event.callback); + } + else { + if (!get.owner(event.result.card)) { + if (event.position != ui.discardPile) event.position.appendChild(event.result.card); + } + } + }, + turnOver: function () { + game.log(player, '翻面'); + player.classList.toggle('turnedover'); + game.broadcast(function (player) { + player.classList.toggle('turnedover'); + }, player); + game.addVideo('turnOver', player, player.classList.contains('turnedover')); + }, + link: function () { + if (player.isLinked()) { + game.log(player, '解除连环'); + } + else { + game.log(player, '被连环'); + } + if (lib.config.background_audio) { + game.playAudio('effect', 'link'); + } + game.broadcast(function () { + if (lib.config.background_audio) { + game.playAudio('effect', 'link'); + } + }); + player.classList.remove('target'); + if (get.is.linked2(player)) { + player.classList.toggle('linked2'); + } + else { + player.classList.toggle('linked'); + } + ui.updatej(player); + ui.updatem(player); + game.broadcast(function (player, linked) { + player.classList.remove('target'); + if (get.is.linked2(player)) { + if (linked) { + player.classList.add('linked2'); + } + else { + player.classList.remove('linked2'); + } + } + else { + if (linked) { + player.classList.add('linked'); + } + else { + player.classList.remove('linked'); + } + } + ui.updatej(player); + ui.updatem(player); + }, player, player.isLinked()); + game.addVideo('link', player, player.isLinked()); + }, + chooseToGuanxing: function () { + "step 0"; + var cards = get.cards(num); + game.cardsGotoOrdering(cards); + var next = player.chooseToMove(); + next.set('list', [ + ['牌堆顶', cards], + ['牌堆底'], + ]); + next.set('prompt', '点击将牌移动到牌堆顶或牌堆底'); + next.processAI = event.processAI || function (list) { + var cards = list[0][1], player = _status.event.player; + var top = []; + var bottom; + cards.sort(function (a, b) { + return get.value(b, player) - get.value(a, player); + }); + while (cards.length) { + if (get.value(cards[0], player) <= 5) break; + top.unshift(cards.shift()); + } + bottom = cards; + return [top, bottom]; + }; + "step 1"; + var top = result.moved[0]; + var bottom = result.moved[1]; + top.reverse(); + for (var i = 0; i < top.length; i++) { + ui.cardPile.insertBefore(top[i], ui.cardPile.firstChild); + } + for (i = 0; i < bottom.length; i++) { + ui.cardPile.appendChild(bottom[i]); + } + game.addCardKnower(top, player); + game.addCardKnower(bottom, player); + player.popup(get.cnNumber(top.length) + '上' + get.cnNumber(bottom.length) + '下'); + game.log(player, '将' + get.cnNumber(top.length) + '张牌置于牌堆顶'); + game.updateRoundNumber(); + game.delayx(); + } +} diff --git a/noname/library/index.js b/noname/library/index.js index 1fe6c493c..840f04b51 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -20,6 +20,7 @@ import { GNC as gnc } from '../gnc/index.js'; import { LibInit } from "./init/index.js"; import { Announce } from "./announce/index.js"; +import Content from "./element/content.js"; export class Library extends Uninstantable { static configprefix = 'noname_0.9_'; @@ -9210,8507 +9211,7 @@ export class Library extends Uninstantable { _stratagem_add_buff: '强化' }; static element = { - content: { - emptyEvent: function () { - event.trigger(event.name); - }, - //增加明置手牌 - addShownCards: () => { - var hs = player.getCards('h'), showingCards = event._cards.filter(showingCard => hs.includes(showingCard)), shown = player.getShownCards(); - event.gaintag.forEach(tag => player.addGaintag(showingCards, tag)); - if (!(event.cards = showingCards.filter(showingCard => !shown.includes(showingCard))).length) return; - game.log(player, '明置了', event.cards); - if (event.animate != false) player.$give(event.cards, player, false); - event.trigger('addShownCardsAfter'); - }, - //隐藏明置手牌 - hideShownCards: () => { - var shown = player.getShownCards(), hidingCards = event._cards.filter(hidingCard => shown.includes(hidingCard)); - if (!hidingCards.length) return; - if (event.gaintag.length) event.gaintag.forEach(tag => player.removeGaintag(tag, hidingCards)); - else { - var map = hidingCards.reduce((constructingMap, hidingCard) => { - hidingCard.gaintag.forEach(tag => { - if (!tag.startsWith('visible_')) return; - if (!constructingMap[tag]) constructingMap[tag] = []; - constructingMap[tag].push(hidingCard); - }); - return constructingMap; - }, {}); - Object.keys(map).forEach(key => player.removeGaintag(key, map[key])); - } - hidingCards.removeArray(player.getShownCards()); - if (!hidingCards.length) return; - game.log(player, '取消明置了', event.cards = hidingCards); - if (event.animate != false) player.$give(hidingCards, player, false); - event.trigger('hideShownCardsAfter'); - }, - //Execute the delay card effect - //执行延时锦囊牌效果 - executeDelayCardEffect: () => { - 'step 0'; - target.$phaseJudge(card); - event.cancelled = false; - event.trigger('executeDelayCardEffect'); - event.cardName = card.viewAs || card.name; - target.popup(event.cardName, 'thunder'); - if (!lib.card[event.cardName].effect) { - game.delay(); - event.finish(); - } - else if (!lib.card[event.cardName].judge) { - game.delay(); - event.nojudge = true; - } - 'step 1'; - if (event.cancelled || event.nojudge) return; - var next = player.judge(card), judge = event.judge; - if (typeof judge == 'function') next.judge = judge; - var judge2 = event.judge2; - if (typeof judge2 == 'function') next.judge2 = judge2; - 'step 2'; - if (event.excluded) delete event.excluded; - else { - var cardName = event.cardName; - if (event.cancelled && !event.direct) { - var cardCancel = lib.card[cardName].cancel; - if (cardCancel) { - var next = game.createEvent(`${cardName}Cancel`); - next.setContent(cardCancel); - next.cards = [card]; - if (!card.viewAs) { - var autoViewAs = next.card = get.autoViewAs(card); - autoViewAs.expired = card.expired; - } - else { - var autoViewAs = next.card = get.autoViewAs({ - name: cardName - }, next.cards); - autoViewAs.expired = card.expired; - } - next.player = player; - } - } - else { - var next = game.createEvent(cardName); - next.setContent(lib.card[cardName].effect); - next._result = result; - next.cards = [card]; - if (!card.viewAs) { - var autoViewAs = next.card = get.autoViewAs(card); - autoViewAs.expired = card.expired; - } - else { - var autoViewAs = next.card = get.autoViewAs({ - name: cardName - }, next.cards); - autoViewAs.expired = card.expired; - } - next.player = player; - } - } - ui.clear(); - card.delete(); - }, - //Gift - //赠予 - gift: () => { - 'step 0'; - event.num = 0; - 'step 1'; - if (num < cards.length) { - event.card = cards[num]; - event.trigger('gift'); - } - else { - game.delayx(); - event.finish(); - } - 'step 2'; - if (event.deniedGifts.includes(card)) { - game.log(target, '拒绝了', player, '赠予的', card); - event.trigger('giftDeny'); - player.loseToDiscardpile(card).log = false; - event.trigger('giftDenied'); - return; - } - game.log(player, '将', card, '赠予了', target); - player.$give(card, target, false); - game.delay(0.5); - event.trigger('giftAccept'); - if (get.type(card, false) == 'equip') target.equip(card).log = false; - else target.gain(card, player).visible = true; - event.trigger('giftAccepted'); - 'step 3'; - event.num++; - event.goto(1); - }, - //Recast - //重铸 - recast: () => { - 'step 0'; - game.log(player, '重铸了', cards); - if (typeof event.recastingLose != 'function') return; - event.trigger('recastingLose'); - event.recastingLose(player, cards); - event.trigger('recastingLost'); - event.recastingLosingEvents.push(...event.next.filter(value => value.name != 'arrangeTrigger')); - 'step 1'; - event.trigger('recast'); - 'step 2'; - if (typeof event.recastingGain != 'function') return; - event.trigger('recastingGain'); - event.recastingGain(player, cards); - event.trigger('recastingGained'); - event.recastingGainingEvents.push(...event.next.filter(value => value.name != 'arrangeTrigger')); - }, - //装备栏相关 - disableEquip: function () { - 'step 0'; - event.cards = []; - event.num = 0; - event.slotsx = []; - if (get.is.mountCombined()) { - event.slots.forEach(type => { - if (type == 'equip3' || type == 'equip4') event.slotsx.add('equip3_4'); - else event.slotsx.add(type); - }); - } - else { - event.slotsx.addArray(event.slots); - } - event.slotsx.sort(); - if (!event.slots.length) event.finish(); - 'step 1'; - var slot = event.slotsx[event.num]; - var slot_key = slot; - var left = player.countEnabledSlot(slot), lose; - if (slot == 'equip3_4') { - lose = Math.min(left, Math.max(get.numOf(event.slots, 'equip3'), get.numOf(event.slots, 'equip4'))); - slot_key = 'equip3'; - } - else lose = Math.min(left, get.numOf(event.slots, slot)); - if (lose <= 0) event.goto(3); - else { - game.log(player, '废除了' + get.cnNumber(lose) + '个', '#g' + get.translation(slot) + '栏'); - if (!player.disabledSlots) player.disabledSlots = {}; - if (!player.disabledSlots[slot_key]) player.disabledSlots[slot_key] = 0; - player.disabledSlots[slot_key] += lose; - var cards = player.getEquips(slot).filter(card => !event.cards.contains(card)); - if (cards.length > 0) { - if (lose >= left) { - event._result = { bool: true, links: cards }; - } - else if (cards.length > (left - lose)) { - var source = event.source, num = (cards.length - (left - lose)); - if (!source || !source.isIn()) source = player; - source.chooseButton([ - '选择' + (player == source ? '你' : get.translation(player)) + '的' + get.cnNumber(num) + '张' + get.translation(slot) + '牌置入弃牌堆', - cards, - ], true, [1, num]).set('filterOk', function () { - var evt = _status.event; - return ui.selected.buttons.reduce(function (num, button) { - if (evt.slot == 'equip3_4') return num + Math.max(get.numOf(get.subtypes(button.link, false), 'equip3'), get.numOf(get.subtypes(button.link, false), 'equip4')); - return num + get.numOf(get.subtypes(button.link, false), evt.slot); - }, 0) == evt.required; - }).set('required', num).set('slot', slot); - } - else event.goto(3); - } - else event.goto(3); - } - 'step 2'; - if (result.bool) event.cards.addArray(result.links); - 'step 3'; - event.num++; - if (event.num < event.slotsx.length) event.goto(1); - else { - player.$syncDisable(); - if (cards.length > 0) player.loseToDiscardpile(cards); - } - }, - enableEquip: function () { - if (!event.slots.length) return; - var slotsx = [...new Set(event.slots)].sort(); - for (var slot of slotsx) { - var lost = player.countDisabledSlot(slot), gain = Math.min(lost, get.numOf(event.slots, slot)); - if (lost <= 0) continue; - else { - game.log(player, '恢复了' + get.cnNumber(gain) + '个', '#g' + get.translation(slot) + '栏'); - if (!player.disabledSlots) player.disabledSlots = {}; - if (!player.disabledSlots[slot]) player.disabledSlots[slot] = 0; - player.disabledSlots[slot] -= gain; - } - } - player.$syncDisable(); - }, - expandEquip: function () { - if (!event.slots.length) return; - var slotsx = []; - if (get.is.mountCombined()) { - event.slots.forEach(type => { - if (type == 'equip3' || type == 'equip4') slotsx.add('equip3_4'); - else slotsx.add(type); - }); - } - else { - slotsx.addArray(event.slots); - } - slotsx.sort(); - for (var slot of slotsx) { - var expand = get.numOf(event.slots, slot), slot_key = slot; - if (slot == 'equip3_4') { - expand = Math.max(get.numOf(event.slots, 'equip3'), get.numOf(event.slots, 'equip4')); - slot_key = 'equip3'; - } - game.log(player, '获得了' + get.cnNumber(expand) + '个额外的', '#g' + get.translation(slot) + '栏'); - if (!player.expandedSlots) player.expandedSlots = {}; - if (!player.expandedSlots[slot_key]) player.expandedSlots[slot_key] = 0; - player.expandedSlots[slot_key] += expand; - } - player.$syncExpand(); - }, - //选择顶装备要顶的牌 - replaceEquip: function () { - 'step 0'; - event.cards = []; - var types = get.subtypes(card, false); - if (types.length) { - var info = get.info(card, false); - if (info.customSwap) { - event.cards.addArray(player.getCards('e', function (card) { - return info.customSwap(card); - })); - event.goto(4); - } - else { - event.num = 0; - event.slots = types; - event.slotsx = []; - if (get.is.mountCombined()) { - event.slots.forEach(type => { - if (type == 'equip3' || type == 'equip4') event.slotsx.add('equip3_4'); - else event.slotsx.add(type); - }); - } - else { - event.slotsx.addArray(event.slots); - } - event.slotsx.sort(); - } - } - else event.goto(4); - 'step 1'; - var slot = event.slotsx[event.num]; - var left = player.countEquipableSlot(slot), lose; - if (slot == 'equip3_4') lose = Math.min(left, Math.max(get.numOf(event.slots, 'equip3'), get.numOf(event.slots, 'equip4'))); - else lose = Math.min(left, get.numOf(event.slots, slot)); - if (lose <= 0) event.goto(3); - else { - var cards = player.getEquips(slot).filter(card => { - return !event.cards.contains(card) && lib.filter.canBeReplaced(card, player); - }); - if (cards.length > 0) { - if (lose >= left) { - event._result = { bool: true, links: cards }; - } - else if (cards.length > (left - lose)) { - var source = event.source, num = (cards.length - (left - lose)); - if (!source || !source.isIn()) source = player; - source.chooseButton([ - '选择替换掉' + get.cnNumber(num) + '张' + get.translation(slot) + '牌', - cards, - ], true, [1, num]).set('filterOk', function () { - var evt = _status.event; - return ui.selected.buttons.reduce(function (num, button) { - if (evt.slot == 'equip3_4') return num + Math.max(get.numOf(get.subtypes(button.link, false), 'equip3'), get.numOf(get.subtypes(button.link, false), 'equip4')); - return num + get.numOf(get.subtypes(button.link, false), evt.slot); - }, 0) == evt.required; - }).set('required', num).set('slot', slot); - } - else event.goto(3); - } - else event.goto(3); - } - 'step 2'; - if (result.bool) event.cards.addArray(result.links); - 'step 3'; - event.num++; - if (event.num < event.slotsx.length) event.goto(1); - 'step 4'; - event.result = cards; - }, - //装备牌 - equip: function () { - "step 0"; - var owner = get.owner(card); - if (owner) { - event.owner = owner; - owner.lose(card, ui.special, 'visible').set('type', 'equip').set('getlx', false); - } - else if (get.position(card) == 'c') event.updatePile = true; - "step 1"; - if (event.cancelled) { - event.finish(); - return; - } - if (card.willBeDestroyed('equip', player, event)) { - card.selfDestroy(event); - event.finish(); - return; - } - else if (event.owner) { - if (event.owner.getCards('hejsx').contains(card)) { - event.finish(); - return; - } - } - if (event.draw) { - game.delay(0, 300); - player.$draw(card); - } - "step 2"; - if (card.clone) { - game.broadcast(function (card, player) { - if (card.clone) { - card.clone.moveDelete(player); - } - }, card, player); - card.clone.moveDelete(player); - game.addVideo('gain2', player, get.cardsInfo([card.clone])); - } - player.equiping = true; - "step 3"; - var info = get.info(card, false); - var next = game.createEvent('replaceEquip'); - next.player = player; - next.card = card; - next.setContent(info.replaceEquip || 'replaceEquip'); - "step 4"; - var info = get.info(card, false); - if (get.itemtype(result) == 'cards') { - player.lose(result, 'visible').set('type', 'equip').set('getlx', false).swapEquip = true; - if (info.loseThrow) { - player.$throw(result, 1000); - } - event.swapped = true; - } - "step 5"; - //if(player.isMin() || player.countCards('e',{subtype:get.subtype(card)})){ - if (player.isMin() || !player.canEquip(card)) { - event.finish(); - game.cardsDiscard(card); - delete player.equiping; - return; - } - var subtype = get.subtype(card); - if (subtype == 'equip6') subtype = 'equip3'; - game.broadcastAll(function (type) { - if (lib.config.background_audio) { - game.playAudio('effect', type); - } - }, subtype); - player.$equip(card); - game.addVideo('equip', player, get.cardInfo(card)); - if (event.log != false) game.log(player, '装备了', card); - if (event.updatePile) game.updateRoundNumber(); - "step 6"; - var info = get.info(card, false); - if (info.onEquip && (!info.filterEquip || info.filterEquip(card, player))) { - if (Array.isArray(info.onEquip)) { - for (var i = 0; i < info.onEquip.length; i++) { - var next = game.createEvent('equip_' + card.name); - next.setContent(info.onEquip[i]); - next.player = player; - next.card = card; - } - } - else { - var next = game.createEvent('equip_' + card.name); - next.setContent(info.onEquip); - next.player = player; - next.card = card; - } - if (info.equipDelay != false) game.delayx(); - } - delete player.equiping; - if (event.delay) { - game.delayx(); - } - }, - //装备栏 END - changeGroup: function () { - 'step 0'; - event.originGroup = player.group; - if (!event.group) event.group = player.group; - var group = event.group; - player.getHistory('custom').push(event); - if (event.broadcast !== false) { - game.broadcast(function (player, group) { - player.group = group; - player.node.name.dataset.nature = get.groupnature(group); - }, player, group); - } - player.group = group; - player.node.name.dataset.nature = get.groupnature(group); - if (event.log !== false) game.log(player, '将势力变为了', '#y' + get.translation(group + 2)); - }, - chooseToDebate: function () { - 'step 0'; - event.targets = event.list.filter(function (i) { - return i.countCards('h') > 0; - }); - if (!event.targets.length) event.result = { bool: false }; - else { - var next = player.chooseCardOL(event.targets, get.translation(player) + '发起了议事,请选择展示的手牌', true).set('type', 'debate').set('source', player).set('ai', event.ai || function (card) { - return Math.random(); - }).set('aiCard', event.aiCard || function (target) { - var hs = target.getCards('h'); - return { bool: true, cards: [hs.randomGet()] }; - }); - next._args.remove('glow_result'); - } - 'step 1'; - var red = [], black = []; - event.videoId = lib.status.videoId++; - for (var i = 0; i < event.targets.length; i++) { - var card = result[i].cards[0], target = event.targets[i]; - if (get.color(card, target) == 'red') red.push([target, card]); - else black.push([target, card]); - } - event.red = red; event.black = black; - if (red.length) { - game.log(red.map(function (i) { - return i[0]; - }), '意见为红色,展示了', red.map(function (i) { - return i[1]; - })); - } - else game.log('#b无人', '意见为红色'); - if (black.length) { - game.log(black.map(function (i) { - return i[0]; - }), '意见为', '#g黑色', ',展示了', black.map(function (i) { - return i[1]; - })); - } - else game.log('#b无人', '意见为', '#g黑色'); - game.broadcastAll(function (name, id, redArgs, blackArgs) { - var dialog = ui.create.dialog(name + '发起了议事', 'hidden', 'forcebutton'); - dialog.videoId = id; - dialog.classList.add('scroll1'); - dialog.classList.add('scroll2'); - dialog.classList.add('fullwidth'); - dialog.classList.add('fullheight'); - dialog.buttonss = []; - - var list = ['意见为红色的角色', '意见为黑色的角色']; - for (var i = 0; i < list.length; i++) { - dialog.add('
    ' + list[i] + '
    '); - var buttons = ui.create.div('.buttons', dialog.content); - dialog.buttonss.push(buttons); - buttons.classList.add('popup'); - buttons.classList.add('guanxing'); - } - var func = function (target) { - if (target._tempTranslate) return target._tempTranslate; - var name = target.name; - if (lib.translate[name + '_ab']) return lib.translate[name + '_ab']; - return get.translation(name); - }; - for (var i = 0; i < redArgs.length; i++) { - var list = redArgs[i]; - var button = ui.create.button(list[1], 'card', dialog.buttonss[0]); - button.querySelector('.info').innerHTML = func(list[0]); - } - for (var i = 0; i < blackArgs.length; i++) { - var list = blackArgs[i]; - var button = ui.create.button(list[1], 'card', dialog.buttonss[1]); - button.querySelector('.info').innerHTML = func(list[0]); - } - dialog.open(); - }, get.translation(player), event.videoId, red, black); - game.delay(4); - 'step 2'; - game.broadcastAll('closeDialog', event.videoId); - var opinion = null; - if (event.red.length > event.black.length) opinion = 'red'; - else if (event.red.length < event.black.length) opinion = 'black'; - if (opinion) game.log(player, '本次发起的议事结果为', opinion == 'red' ? '红色' : '#g黑色'); - else game.log(player, '本次发起的议事无结果'); - event.result = { - bool: true, - opinion: opinion, - red: event.red, - black: event.black, - targets: event.targets - }; - 'step 3'; - if (event.callback) { - var next = game.createEvent('debateCallback', false); - next.player = player; - next.debateResult = get.copy(event.result); - next.setContent(event.callback); - } - }, - delay: function () { - game[event.name].apply(game, event._args); - }, - chooseCooperationFor: function () { - 'step 0'; - var next = player.chooseButton([ - '选择和' + get.translation(target) + '的协力方式', - [event.cardlist, 'vcard'], - ], true); - next.set('ai', event.ai || function () { - return Math.random(); - }); - 'step 1'; - if (result.bool) { - player.cooperationWith(target, result.links[0][2].slice(12), event.reason); - } - }, - chooseToPlayBeatmap: function () { - 'step 0'; - if (game.online) return; - if (_status.connectMode) event.time = lib.configOL.choose_timeout; - event.videoId = lib.status.videoId++; - //给其他角色看的演奏框 - game.broadcastAll(function (player, id, beatmap) { - if (_status.connectMode) lib.configOL.choose_timeout = (Math.ceil((beatmap.timeleap[beatmap.timeleap.length - 1] + beatmap.speed * 100 + (beatmap.current || 0)) / 1000) + 5).toString(); - if (player == game.me) return; - var str = get.translation(player) + '正在演奏《' + beatmap.name + '》...'; - if (!_status.connectMode) str += '
    (点击屏幕可以跳过等待AI操作)'; - ui.create.dialog(str).videoId = id; - if (ui.backgroundMusic) ui.backgroundMusic.pause(); - if (lib.config.background_audio) { - if (beatmap.filename.startsWith('ext:')) game.playAudio(beatmap.filename); - else game.playAudio('effect', beatmap.filename); - } - }, player, event.videoId, event.beatmap); - 'step 1'; - var beatmap = event.beatmap; - if (event.isMine()) { - var timeleap = beatmap.timeleap.slice(0); - var current = beatmap.current; - //获取两个音符的时间间隔 - var getTimeout = function () { - var time = timeleap.shift(); - var out = time - current; - current = time; - return out; - }; - //初始化一堆变量 - var score = 0; - var added = timeleap.length; - var number_of_tracks = beatmap.number_of_tracks || 6; - var custom_mapping = Array.isArray(beatmap.mapping); - var mapping = custom_mapping ? beatmap.mapping.slice() : beatmap.mapping; - var hitsound = beatmap.hitsound || 'hitsound.wav'; - if (hitsound.startsWith('ext:')) hitsound = lib.assetURL + 'extension/' + hitsound.slice(4); - else hitsound = lib.assetURL + 'audio/effect/' + hitsound; - var hitsound_audio = new Audio(hitsound); - hitsound_audio.volume = 0.25; - var abs = 1; - var node_pos = 0; - if (custom_mapping) { - node_pos = mapping.shift(); - } - else if (mapping == 'random') { - abs = get.rand(number_of_tracks); - node_pos = abs; - } - var combo = 0; - var max_combo = 0; - var nodes = []; - var roundmenu = false; - //隐藏菜单按钮 - if (ui.roundmenu && ui.roundmenu.display != 'none') { - roundmenu = true; - ui.roundmenu.style.display = 'none'; - } - if (ui.backgroundMusic) ui.backgroundMusic.pause(); - var event = _status.event; - event.settleed = false; - //建个框框 - var dialog = ui.create.dialog('forcebutton', 'hidden'); - event.dialog = dialog; - event.dialog.textPrompt = event.dialog.add('
    ' + (beatmap.prompt || '在音符滑条和底部判定区重合时点击屏幕!') + '
    '); - event.switchToAuto = function () { }; - event.dialog.classList.add('fixed'); - event.dialog.classList.add('scroll1'); - event.dialog.classList.add('scroll2'); - event.dialog.classList.add('fullwidth'); - event.dialog.classList.add('fullheight'); - event.dialog.classList.add('noupdate'); - event.dialog.style.overflow = 'hidden'; - //结束后操作 - event.settle = function () { - if (event.settleed) return; - event.settleed = true; - //评分 - var acc = Math.floor(score / (added * 5) * 100); - if (!Array.isArray(lib.config.choose_to_play_beatmap_accuracies)) lib.config.choose_to_play_beatmap_accuracies = []; - lib.config.choose_to_play_beatmap_accuracies.push(acc); - if (lib.config.choose_to_play_beatmap_accuracies.length > 5) lib.config.choose_to_play_beatmap_accuracies.shift(); - game.saveConfigValue("choose_to_play_beatmap_accuracies"); - var rank; - if (acc == 100) rank = ['SS', 'metal']; - else if (acc >= 94) rank = ['S', 'orange']; - else if (acc >= 87) rank = ['A', 'wood']; - else if (acc >= 80) rank = ['B', 'water']; - else if (acc >= 65) rank = ['C', 'thunder']; - else rank = ['D', 'fire']; - event.dialog.textPrompt.innerHTML = '
    演奏结束!
    最大连击数:' + max_combo + ' 精准度:' + acc + '%
    '; - game.me.$fullscreenpop('演奏评级:' + rank[0] + '', null, null, false); - //返回结果并继续游戏 - setTimeout(function () { - event._result = { - bool: true, - accuracy: acc, - rank: rank, - }; - event.dialog.close(); - game.resume(); - _status.imchoosing = false; - if (roundmenu) ui.roundmenu.style.display = ''; - if (ui.backgroundMusic) ui.backgroundMusic.play(); - hitsound_audio.remove(); - }, 1000); - }; - event.dialog.open(); - //操作容差 - var height = event.dialog.offsetHeight; - var width = event.dialog.offsetWidth; - var range1 = (beatmap.range1 || [90, 110]); - var range2 = (beatmap.range2 || [93, 107]); - var range3 = (beatmap.range3 || [96, 104]); - var speed = (beatmap.speed || 25); - //初始化底部的条子 - var judger = ui.create.div(''); - judger.style["background-image"] = (beatmap.judgebar_color || 'linear-gradient(rgba(240, 235, 3, 1), rgba(230, 225, 5, 1))'); - judger.style["border-radius"] = '3px'; - judger.style.position = 'absolute'; - judger.style.opacity = '0.3'; - var heightj = Math.ceil(height * (beatmap.judgebar_height || 0.1)); - judger.style.height = heightj + 'px'; - judger.style.width = width + 'px'; - judger.style.left = '0px'; - judger.style.top = (height - heightj) + 'px'; - event.dialog.appendChild(judger); - //生成每个音符 - var addNode = function () { - var node = ui.create.div(''); - nodes.push(node); - node.style["background-image"] = (beatmap.node_color || 'linear-gradient(rgba(120, 120, 240, 1), rgba(100, 100, 230, 1))'); - node.style["border-radius"] = '3px'; - node.style.position = 'absolute'; - node.style.height = Math.ceil(height / 10) + 'px'; - node.style.width = Math.ceil(width / number_of_tracks) - 10 + 'px'; - node._position = get.utc(); - event.dialog.appendChild(node); - - node.style.left = Math.ceil(width * node_pos / number_of_tracks + 5) + 'px'; - node.style.top = '-' + (Math.ceil(height / 10)) + 'px'; - ui.refresh(node); - node.style.transition = 'all ' + speed * 110 + 'ms linear'; - node.style.transform = 'translateY(' + Math.ceil(height * 1.1) + 'px)'; - node.timeout = setTimeout(function () { - if (nodes.contains(node)) { - nodes.remove(node); - player.popup('Miss', 'fire', false); - if (player.damagepopups.length) player.$damagepop(); - combo = 0; - } - }, speed * 110); - - if (custom_mapping) { - node_pos = mapping.shift(); - } - else if (mapping == 'random') { - while (node_pos == abs) { - node_pos = get.rand(number_of_tracks); - } - abs = node_pos; - } - else { - node_pos += abs; - if (node_pos > number_of_tracks - 1) { - abs = -1; - node_pos = number_of_tracks - 2; - } - else if (node_pos < 0) { - abs = 1; - node_pos = 1; - } - } - if (timeleap.length) { - setTimeout(function () { - addNode(); - }, getTimeout()); - } - else { - setTimeout(function () { - event.settle(); - }, speed * 110 + 100); - } - }; - //点击时的判断操作 - var click = function () { - if (!nodes.length) return; - for (var node of nodes) { - //用生成到点击的时间差来判断距离 - var time = get.utc(); - var top = (time - node._position) / speed; - if (top > range1[1]) continue; - else if (top < range1[0]) return; - nodes.remove(node); - clearTimeout(node.timeout); - node.style.transform = ''; - node.style.transition = 'all 0s'; - node.style.top = (height * ((top - 10) / 100)) + 'px'; - ui.refresh(node); - node.style.transition = 'all 0.5s'; - node.style.transform = 'scale(1.2)'; - node.delete(); - if (top >= range3[0] && top < range3[1]) { - score += 5; - player.popup('Perfect', 'orange', false); - } - else if (top >= range2[0] && top < range2[1]) { - score += 3; - player.popup('Great', 'wood', false); - } - else { - score += 1; - player.popup('Good', 'soil', false); - } - if (player.damagepopups.length) player.$damagepop(); - combo++; - max_combo = Math.max(combo, max_combo); - hitsound_audio.currentTime = 0; - if (hitsound_audio.paused) Promise.resolve(hitsound_audio.play()).catch(() => void 0); - break; - } - }; - document.addEventListener(lib.config.touchscreen ? 'touchstart' : 'mousedown', click); - - game.pause(); - game.countChoose(); - setTimeout(() => { - if (!lib.config.background_audio) return; - if (beatmap.filename.startsWith('ext:')) game.playAudio(beatmap.filename); - else game.playAudio('effect', beatmap.filename); - }, Math.floor(speed * 100 * (0.9 + beatmap.judgebar_height)) + beatmap.current); - setTimeout(function () { - addNode(); - }, getTimeout()); - } - else if (event.isOnline()) { - event.send(); - } - else { - game.pause(); - game.countChoose(); - var settle = function () { - _status.imchoosing = false; - //Algorithm: Generate the random number range using the mean and the half standard deviation of accuracies of the player's last 5 plays - //算法:用玩家的上5次游玩的准确率的平均数和半标准差生成随机数范围 - var choose_to_play_beatmap_accuracies = (lib.config.choose_to_play_beatmap_accuracies || []).concat(Array.from({ - length: 6 - (lib.config.choose_to_play_beatmap_accuracies || []).length - }, () => get.rand(70, 100))); - var mean = Math.round(choose_to_play_beatmap_accuracies.reduce((previousValue, currentValue) => previousValue + currentValue) / choose_to_play_beatmap_accuracies.length); - var half_standard_deviation = Math.round(Math.sqrt(choose_to_play_beatmap_accuracies.reduce((previousValue, currentValue) => previousValue + Math.pow(currentValue - mean, 2), 0)) / 2); - var acc = Math.min(Math.max(get.rand.apply(get, beatmap.aiAcc || [mean - half_standard_deviation - get.rand(0, half_standard_deviation), mean + half_standard_deviation + get.rand(0, half_standard_deviation)]), 0), 100); - var rank; - if (acc == 100) rank = ['SS', 'metal']; - else if (acc >= 94) rank = ['S', 'orange']; - else if (acc >= 87) rank = ['A', 'green']; - else if (acc >= 80) rank = ['B', 'water']; - else if (acc >= 65) rank = ['C', 'thunder']; - else rank = ['D', 'fire']; - event._result = { - bool: true, - accuracy: acc, - rank: rank, - }; - if (event.dialog) event.dialog.close(); - if (event.control) event.control.close(); - game.resume(); - }; - var song_duration = beatmap.timeleap[beatmap.timeleap.length - 1] + beatmap.speed * 100 + 1000 + (beatmap.current || 0); - var settle_timeout = setTimeout(settle, song_duration); - if (!_status.connectMode) { - var skip_timeout; - var skip = () => { - settle(); - Array.from(ui.window.getElementsByTagName('audio')).forEach(audio => { - if (audio.currentSrc.includes(beatmap.filename.startsWith('ext:') ? beatmap.name : beatmap.filename)) audio.remove(); - }); - document.removeEventListener(lib.config.touchscreen ? 'touchend' : 'click', skip); - clearTimeout(settle_timeout); - clearTimeout(skip_timeout); - }; - document.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', skip); - skip_timeout = setTimeout(() => document.removeEventListener(lib.config.touchscreen ? 'touchend' : 'click', skip), song_duration); - } - } - 'step 2'; - game.broadcastAll(function (id, time) { - if (_status.connectMode) lib.configOL.choose_timeout = time; - var dialog = get.idDialog(id); - if (dialog) { - dialog.close(); - } - if (ui.backgroundMusic) ui.backgroundMusic.play(); - }, event.videoId, event.time); - var result = event.result || result; - event.result = result; - }, - chooseToMove: function () { - 'step 0'; - if (event.chooseTime && _status.connectMode && !game.online) { - event.time = lib.configOL.choose_timeout; - game.broadcastAll(function (time) { - lib.configOL.choose_timeout = time; - }, event.chooseTime); - } - if (event.isMine()) { - delete ui.selected.guanxing_button; - var list = event.list, filterMove = event.filterMove, filterOk = event.filterOk; - _status.imchoosing = true; - var event = _status.event; - event.settleed = false; - event.dialog = ui.create.dialog(event.prompt || '请选择要操作的牌', 'hidden', 'forcebutton'); - event.switchToAuto = function () { - if (!filterOk(event.moved)) { - if (!event.forced) event._result = { bool: false }; - else event._result = 'ai'; - } - else { - event._result = { - bool: true, - moved: event.moved, - }; - } - event.dialog.close(); - if (ui.confirm) ui.confirm.close(); - game.resume(); - _status.imchoosing = false; - setTimeout(function () { - ui.arena.classList.remove('choose-to-move'); - }, 500); - }; - event.dialog.classList.add('scroll1'); - event.dialog.classList.add('scroll2'); - event.dialog.classList.add('fullwidth'); - if (list.length > 1) { - ui.arena.classList.add('choose-to-move'); - event.dialog.classList.add('fullheight'); - } - - event.moved = []; - var buttonss = []; - event.buttonss = buttonss; - var updateButtons = function () { - for (var i of buttonss) { - event.moved[i._link] = get.links(Array.from(i.childNodes)); - if (i.textPrompt) i.previousSibling.innerHTML = ('
    ' + i.textPrompt(event.moved[i._link]) + '
    '); - } - if (filterOk(event.moved)) { - ui.create.confirm('o'); - } - else { - if (!event.forced) ui.create.confirm('c'); - else if (ui.confirm) ui.confirm.close(); - } - }; - var clickButtons = function () { - if (!ui.selected.guanxing_button) return; - if (ui.selected.guanxing_button.parentNode == this) return; - if (!filterMove(ui.selected.guanxing_button, this._link, event.moved)) return; - ui.selected.guanxing_button.classList.remove('glow2'); - this.appendChild(ui.selected.guanxing_button); - delete ui.selected.guanxing_button; - updateButtons(); - }; - - for (var i = 0; i < list.length; i++) { - var tex = event.dialog.add('
    ' + list[i][0] + '
    '); - tex.classList.add('choosetomove'); - var buttons = ui.create.div('.buttons', event.dialog.content, clickButtons); - buttonss.push(buttons); - buttons.classList.add('popup'); - buttons.classList.add('guanxing'); - buttons._link = i; - if (list[i][1]) { - if (get.itemtype(list[i][1]) == 'cards') { - var cardsb = ui.create.buttons(list[i][1], 'card', buttons); - if (list[i][2] && typeof list[i][2] == 'string') { - for (var ij of cardsb) ij.node.gaintag.innerHTML = get.translation(list[i][2]); - } - } - else if (list[i][1].length == 2) { - ui.create.buttons(list[i][1][0], list[i][1][1], buttons); - } - } - if (list[i][2] && typeof list[i][2] == 'function') buttons.textPrompt = list[i][2]; - } - var tex = event.dialog.add('
    点击两张牌以交换位置;点击一张牌并点击其他区域以移动卡牌
    '); - tex.classList.add('choosetomove'); - - event.dialog.open(); - updateButtons(); - - event.custom.replace.button = function (button) { - var node = button.parentNode; - if (!buttonss.contains(node)) return; - if (!ui.selected.guanxing_button) { - ui.selected.guanxing_button = button; - button.classList.add('glow2'); - return; - } - if (ui.selected.guanxing_button == button) { - button.classList.remove('glow2'); - delete ui.selected.guanxing_button; - return; - } - if (!filterMove(button, ui.selected.guanxing_button, event.moved)) return; - var par1 = ui.selected.guanxing_button.parentNode, ind1 = ui.selected.guanxing_button.nextSibling, par2 = button.parentNode, ind2 = button.nextSibling; - ui.selected.guanxing_button.classList.remove('glow2'); - par1.insertBefore(button, ind1); - par2.insertBefore(ui.selected.guanxing_button, ind2); - delete ui.selected.guanxing_button; - updateButtons(); - }; - event.custom.replace.confirm = function (bool) { - if (bool) event._result = { - bool: true, - moved: event.moved, - }; - else event._result = { bool: false }; - event.dialog.close(); - if (ui.confirm) ui.confirm.close(); - game.resume(); - _status.imchoosing = false; - setTimeout(function () { - ui.arena.classList.remove('choose-to-move'); - }, 500); - }; - - game.pause(); - game.countChoose(); - event.choosing = true; - } - else if (event.isOnline()) { - event.send(); - } - else { - event.result = 'ai'; - } - "step 1"; - if (event.time) game.broadcastAll(function (time) { - lib.configOL.choose_timeout = time; - }, event.time); - var result = event.result || result; - if ((!result || result == 'ai' || (event.forced && !result.bool)) && event.processAI) { - var moved = event.processAI(event.list); - if (moved) result = { - bool: true, - moved: moved, - }; - else result = { bool: false }; - } - event.result = result; - }, - showCharacter: function () { - 'step 0'; - event.trigger('showCharacterEnd'); - 'step 1'; - event.trigger('showCharacterAfter'); - if (get.mode() == 'identity' && player.isZhu) event.trigger('zhuUpdate'); - }, - removeCharacter: function () { - player.$removeCharacter(event.num); - }, - chooseUseTarget: function () { - 'step 0'; - if (get.is.object(card) && !event.viewAs) card.isCard = true; - if (cards && get.itemtype(card) != 'card') { - card = get.copy(card); - card.cards = cards.slice(0); - event.card = card; - } - if (!lib.filter.cardEnabled(card, player) || (event.addCount !== false && !lib.filter.cardUsable(card, player))) { - event.result = { bool: false }; - event.finish(); - return; - } - var info = get.info(card); - var range; - if (!info.notarget) { - var select = get.copy(info.selectTarget); - range = get.select(select); - if (event.selectTarget) range = get.select(event.selectTarget); - game.checkMod(card, player, range, 'selectTarget', player); - } - if (info.notarget || range[1] <= -1) { - if (!info.notarget && range[1] <= -1) { - for (var i = 0; i < targets.length; i++) { - if (event.filterTarget) { - if (!event.filterTarget(card, player, targets[i])) { - targets.splice(i--, 1); - } - } - else if (!player.canUse(card, targets[i], event.nodistance ? false : null, event.addCount === false ? null : true)) { - targets.splice(i--, 1); - } - } - if (targets.length) { - event.targets2 = targets; - } - else { - event.finish(); - return; - } - } - else event.targets2 = []; - if (event.forced) { - event._result = { bool: true }; - return; - } - else { - var next = player.chooseBool(); - next.set('prompt', event.prompt || ('是否' + (event.targets2.length ? '对' : '') + get.translation(event.targets2) + '使用' + get.translation(card) + '?')); - if (event.hsskill) next.setHiddenSkill(event.hsskill); - if (event.prompt2) next.set('prompt2', event.prompt2); - next.ai = function () { - var eff = 0; - for (var i = 0; i < event.targets2.length; i++) { - eff += get.effect(event.targets2[i], card, player, player); - } - return eff > 0; - }; - } - } - else { - if (event.filterTarget) { - var targets = game.filterPlayer(function (current) { - return event.filterTarget(card, player, current); - }); - if (targets.length < range[0]) { - event._result = { bool: false }; - return; - } - else if (!info.complexTarget && targets.length == range[0] && range[0] == range[1]) { - event.targets2 = targets; - event._result = { bool: true }; - return; - } - } - var next = player.chooseTarget(); - next.set('_get_card', card); - next.set('filterTarget', event.filterTarget || function (card, player, target) { - if (!_status.event.targets.contains(target)) return false; - if (!_status.event.nodistance && !lib.filter.targetInRange(card, player, target)) return false; - return lib.filter.targetEnabledx(card, player, target); - }); - next.set('ai', event.ai || get.effect_use); - next.set('selectTarget', event.selectTarget || lib.filter.selectTarget); - if (event.nodistance) next.set('nodistance', true); - if (event.forced) next.set('forced', true); - if (event.addCount !== false) next.set('addCount_extra', true); - next.set('targets', targets); - next.set('prompt', event.prompt || ('选择' + get.translation(card) + '的目标')); - if (event.prompt2) next.set('prompt2', event.prompt2); - if (event.hsskill) next.setHiddenSkill(event.hsskill); - } - 'step 1'; - if (result.bool) { - event.result = { - bool: true, - targets: event.targets2 || result.targets, - }; - var args = [card, event.targets2 || result.targets]; - if (cards) args.push(cards.slice()); - var next = player.useCard(...args); - next.oncard = event.oncard; - if (cards) next.cards = cards.slice(0); - if (event.nopopup) next.nopopup = true; - if (event.animate === false) next.animate = false; - if (event.throw === false) next.throw = false; - if (event.addCount === false) next.addCount = false; - if (event.noTargetDelay) next.targetDelay = false; - if (event.nodelayx) next.delayx = false; - if (event.logSkill) { - if (typeof event.logSkill == 'string') { - next.skill = event.logSkill; - } - else if (Array.isArray(event.logSkill)) { - player.logSkill.apply(player, event.logSkill); - } - } - } - else event.result = { bool: false }; - }, - chooseToDuiben: function () { - 'step 0'; - if (!event.namelist) event.namelist = ['全军出击', '分兵围城', '奇袭粮道', '开城诱敌']; - game.broadcastAll(function (list) { - var list2 = ['db_atk1', 'db_atk2', 'db_def1', 'db_def2']; - for (var i = 0; i < 4; i++) { - lib.card[list2[i]].image = 'card/' + list2[i] + (list[0] == '全军出击' ? '' : '_' + list[i]); - lib.translate[list2[i]] = list[i]; - } - }, event.namelist); - if (!event.title) event.title = '对策'; - game.log(player, '向', target, '发起了', '#y' + event.title); - if (!event.ai) event.ai = function () { return 1 + Math.random(); }; - if (_status.connectMode) { - player.chooseButtonOL([ - [player, [event.title + ':请选择一种策略', [[['', '', 'db_def2'], ['', '', 'db_def1']], 'vcard']], true], - [target, [event.title + ':请选择一种策略', [[['', '', 'db_atk1'], ['', '', 'db_atk2']], 'vcard']], true] - ], function () { }, event.ai).set('switchToAuto', function () { - _status.event.result = 'ai'; - }).set('processAI', function () { - var buttons = _status.event.dialog.buttons; - return { - bool: true, - links: [buttons.randomGet().link], - }; - }); - } - 'step 1'; - if (_status.connectMode) { - event.mes = result[player.playerid].links[0][2]; - event.tes = result[target.playerid].links[0][2]; - event.goto(4); - } - else { - player.chooseButton([event.title + ':请选择一种策略', [[['', '', 'db_def2'], ['', '', 'db_def1']], 'vcard']], true).ai = event.ai; - } - 'step 2'; - event.mes = result.links[0][2]; - target.chooseButton([event.title + ':请选择一种策略', [[['', '', 'db_atk1'], ['', '', 'db_atk2']], 'vcard']], true).ai = event.ai; - 'step 3'; - event.tes = result.links[0][2]; - 'step 4'; - game.broadcast(function () { - ui.arena.classList.add('thrownhighlight'); - }); - ui.arena.classList.add('thrownhighlight'); - game.addVideo('thrownhighlight1'); - target.$compare(game.createCard(event.tes, '', ''), player, game.createCard(event.mes, '', '')); - game.log(target, '选择的策略为', '#g' + get.translation(event.tes)); - game.log(player, '选择的策略为', '#g' + get.translation(event.mes)); - game.delay(0, 1500); - 'step 5'; - var mes = event.mes.slice(6); - var tes = event.tes.slice(6); - var str; - if (mes == tes) { - str = get.translation(player) + event.title + '成功'; - player.popup('胜', 'wood'); - target.popup('负', 'fire'); - game.log(player, '#g胜'); - event.result = { bool: true }; - } - else { - str = get.translation(player) + event.title + '失败'; - target.popup('胜', 'wood'); - player.popup('负', 'fire'); - game.log(target, '#g胜'); - event.result = { bool: false }; - } - event.result.player = event.mes; - event.result.target = event.tes; - game.broadcastAll(function (str) { - var dialog = ui.create.dialog(str); - dialog.classList.add('center'); - setTimeout(function () { - dialog.close(); - }, 1000); - }, str); - game.trySkillAudio(event.getParent().name + '_' + (event.result.bool ? 'true' + mes : 'false'), player); - game.delay(2); - 'step 6'; - game.broadcastAll(function () { - ui.arena.classList.remove('thrownhighlight'); - }); - game.addVideo('thrownhighlight2'); - if (event.clear !== false) { - game.broadcastAll(ui.clear); - } - }, - chooseToPSS: function () { - 'step 0'; - game.log(player, '对', target, '发起了猜拳'); - if (_status.connectMode) { - player.chooseButtonOL([ - [player, ['猜拳:请选择一种手势', [[['', '', 'pss_stone'], ['', '', 'pss_scissor'], ['', '', 'pss_paper']], 'vcard']], true], - [target, ['猜拳:请选择一种手势', [[['', '', 'pss_stone'], ['', '', 'pss_scissor'], ['', '', 'pss_paper']], 'vcard']], true] - ], function () { }, function () { return 1 + Math.random(); }).set('switchToAuto', function () { - _status.event.result = 'ai'; - }).set('processAI', function () { - var buttons = _status.event.dialog.buttons; - return { - bool: true, - links: [buttons.randomGet().link], - }; - }); - } - 'step 1'; - if (_status.connectMode) { - event.mes = result[player.playerid].links[0][2]; - event.tes = result[target.playerid].links[0][2]; - event.goto(4); - } - else { - player.chooseButton(['猜拳:请选择一种手势', [[['', '', 'pss_stone'], ['', '', 'pss_scissor'], ['', '', 'pss_paper']], 'vcard']], true).ai = function () { return 1 + Math.random(); }; - } - 'step 2'; - event.mes = result.links[0][2]; - target.chooseButton(['猜拳:请选择一种手势', [[['', '', 'pss_stone'], ['', '', 'pss_scissor'], ['', '', 'pss_paper']], 'vcard']], true).ai = function () { return 1 + Math.random(); }; - 'step 3'; - event.tes = result.links[0][2]; - 'step 4'; - game.broadcast(function () { - ui.arena.classList.add('thrownhighlight'); - }); - ui.arena.classList.add('thrownhighlight'); - game.addVideo('thrownhighlight1'); - player.$compare(game.createCard(event.mes, '', ''), target, game.createCard(event.tes, '', '')); - game.log(player, '选择的手势为', '#g' + get.translation(event.mes)); - game.log(target, '选择的手势为', '#g' + get.translation(event.tes)); - game.delay(0, 1500); - 'step 5'; - var mes = event.mes.slice(4); - var tes = event.tes.slice(4); - var str; - if (mes == tes) { - str = '二人平局'; - player.popup('平', 'metal'); - target.popup('平', 'metal'); - game.log('猜拳的结果为', '#g平局'); - event.result = { tie: true }; - } - else { - if ({ paper: 'stone', scissor: 'paper', stone: 'scissor' }[mes] == tes) { - str = get.translation(player) + '胜利'; - player.popup('胜', 'wood'); - target.popup('负', 'fire'); - game.log(player, '#g胜'); - event.result = { bool: true }; - } - else { - str = get.translation(target) + '胜利'; - target.popup('胜', 'wood'); - player.popup('负', 'fire'); - game.log(target, '#g胜'); - event.result = { bool: false }; - } - } - game.broadcastAll(function (str) { - var dialog = ui.create.dialog(str); - dialog.classList.add('center'); - setTimeout(function () { - dialog.close(); - }, 1000); - }, str); - game.delay(2); - 'step 6'; - game.broadcastAll(function () { - ui.arena.classList.remove('thrownhighlight'); - }); - game.addVideo('thrownhighlight2'); - if (event.clear !== false) { - game.broadcastAll(ui.clear); - } - }, - cardsDiscard: function () { - game.getGlobalHistory().cardMove.push(event); - var withPile = false; - for (var i = 0; i < cards.length; i++) { - if (cards[i].willBeDestroyed('discardPile', null, event)) { - cards[i].selfDestroy(event); - continue; - } - if (get.position(cards[i], true) == 'c') withPile = true; - cards[i].discard(); - } - if (withPile) game.updateRoundNumber(); - }, - orderingDiscard: function () { - var cards = event.relatedEvent.orderingCards.slice(0); - for (var i = 0; i < cards.length; i++) { - if (get.position(cards[i], true) != 'o') cards.splice(i--, 1); - } - if (cards.length) game.cardsDiscard(cards); - }, - cardsGotoOrdering: function () { - game.getGlobalHistory().cardMove.push(event); - var withPile = false; - for (var i = 0; i < cards.length; i++) { - if (cards[i].willBeDestroyed('ordering', null, event)) { - cards[i].selfDestroy(event); - continue; - } - if (get.position(cards[i], true) == 'c') withPile = true; - cards[i].fix(); - ui.ordering.appendChild(cards[i]); - } - if (withPile) game.updateRoundNumber(); - var evt = event.relatedEvent || event.getParent(); - if (!evt.orderingCards) evt.orderingCards = []; - if (!evt.noOrdering && !evt.cardsOrdered) { - evt.cardsOrdered = true; - var next = game.createEvent('orderingDiscard', false, evt.getParent()); - next.relatedEvent = evt; - next.setContent('orderingDiscard'); - } - if (!evt.noOrdering) evt.orderingCards.addArray(cards); - }, - cardsGotoSpecial: function () { - game.getGlobalHistory().cardMove.push(event); - var withPile = false; - for (var i = 0; i < cards.length; i++) { - if (cards[i].willBeDestroyed('special', null, event)) { - cards[i].selfDestroy(event); - continue; - } - if (get.position(cards[i], true) == 'c') withPile = true; - cards[i].fix(); - ui.special.appendChild(cards[i]); - } - if (withPile) game.updateRoundNumber(); - if (event.toRenku) { - _status.renku.addArray(cards); - if (_status.renku.length > 6) { - var cards = _status.renku.splice(0, _status.renku.length - 6); - game.log(cards, '从仁库进入了弃牌堆'); - game.cardsDiscard(cards).set('outRange', true).fromRenku = true; - } - game.updateRenku(); - } - }, - cardsGotoPile: function () { - if (event.washCard) { - event.trigger('washCard'); - for (var i = 0; i < lib.onwash.length; i++) { - if (lib.onwash[i]() == 'remove') { - lib.onwash.splice(i--, 1); - } - } - } - game.getGlobalHistory().cardMove.push(event); - if (!event._triggeronly) game.$cardsGotoPile(event); - }, - chooseToEnable: function () { - 'step 0'; - var list = []; - for (var i = 1; i <= 5; i++) { - if (player.hasDisabledSlot(i)) list.push('equip' + i); - } - if (!list.length) event.finish(); - else if (list.length == 1) { - event.list = list; - event._result = { control: list[0] }; - } - else { - var next = player.chooseControl(list); - next.set('prompt', '请选择恢复一个装备栏'); - if (!event.ai) event.ai = function (event, player, list) { - return list.randomGet(); - }; - event.ai = event.ai(event.getParent(), player, list); - next.ai = function () { - return event.ai; - }; - } - 'step 1'; - event.result = { control: result.control }; - player.enableEquip(result.control); - }, - chooseToDisable: function () { - 'step 0'; - var list = []; - for (var i = 1; i <= 5; i++) { - if (player.hasEnabledSlot(i)) list.push('equip' + i); - } - if (event.horse) { - if (list.contains('equip3') && (get.is.mountCombined() || list.contains('equip4'))) list.push('equip3_4'); - list.remove('equip3'); - list.remove('equip4'); - } - if (!list.length) event.finish(); - else if (list.length == 1) { - event.list = list; - event._result = { control: list[0] }; - } - else { - list.sort(); - event.list = list; - var next = player.chooseControl(list); - next.set('prompt', '请选择废除一个装备栏'); - if (!event.ai) event.ai = function (event, player, list) { - return list.randomGet(); - }; - event.ai = event.ai(event.getParent(), player, list); - next.ai = function () { - return event.ai; - }; - } - 'step 1'; - event.result = { control: result.control }; - if (result.control == 'equip3_4') { - player.disableEquip(3, 4); - } - else player.disableEquip(result.control); - }, - swapEquip: function () { - "step 0"; - game.log(player, '和', target, '交换了装备区中的牌'); - event.cards = [player.getCards('e'), target.getCards('e')]; - game.loseAsync({ - player: player, - target: target, - cards1: event.cards[0], - cards2: event.cards[1], - }).setContent('swapHandcardsx'); - "step 1"; - for (var i = 0; i < event.cards[1].length; i++) { - if (get.position(event.cards[1][i], true) == 'o') player.equip(event.cards[1][i]); - } - for (var i = 0; i < event.cards[0].length; i++) { - if (get.position(event.cards[0][i], true) == 'o') target.equip(event.cards[0][i]); - } - }, - disableJudge: function () { - 'step 0'; - game.log(player, '废除了判定区'); - var js = player.getCards('j'); - if (js.length) player.discard(js); - player.storage._disableJudge = true; - //player.markSkill('_disableJudge'); - 'step 1'; - game.broadcastAll(function (player, card) { - player.$disableJudge(); - }, player); - }, - enableJudge: function () { - if (!player.storage._disableJudge) return; - game.log(player, '恢复了判定区'); - game.broadcastAll(function (player) { - player.$enableJudge(); - }, player); - }, - /*----分界线----*/ - phasing: function () { - 'step 0'; - while (ui.dialogs.length) { - ui.dialogs[0].close(); - } - game.phaseNumber++; - player.phaseNumber++; - game.broadcastAll(function (player, player2, num, popup) { - if (lib.config.glow_phase) { - if (player2) player2.classList.remove('glow_phase'); - player.classList.add('glow_phase'); - } - player.phaseNumber = num; - if (popup && lib.config.show_phase_prompt) player.popup('回合开始', null, false); - }, player, _status.currentPhase, player.phaseNumber, !player.noPhaseDelay); - _status.currentPhase = player; - _status.discarded = []; - game.syncState(); - game.addVideo('phaseChange', player); - if (game.phaseNumber == 1) { - delete player._start_cards; - if (lib.configOL.observe) { - lib.configOL.observeReady = true; - game.send('server', 'config', lib.configOL); - } - } - game.log(); - game.log(player, '的回合开始'); - player._noVibrate = true; - if (get.config('identity_mode') != 'zhong' && get.config('identity_mode') != 'purple' && !_status.connectMode) { - var num; - switch (get.config('auto_identity')) { - case 'one': num = 1; break; - case 'two': num = 2; break; - case 'three': num = 3; break; - case 'always': num = -1; break; - default: num = 0; break; - } - if (num && !_status.identityShown && game.phaseNumber > game.players.length * num && game.showIdentity) { - if (!_status.video) player.popup('显示身份'); - _status.identityShown = true; - game.showIdentity(false); - } - } - player.ai.tempIgnore = []; - if (ui.land && ui.land.player == player) { - game.addVideo('destroyLand'); - ui.land.destroy(); - } - 'step 1'; - event.trigger('phaseBeginStart'); - }, - toggleSubPlayer: function () { - 'step 0'; - var list = event.list || player.storage.subplayer.skills.slice(0); - list.remove(player.storage.subplayer.name2); - event.list = list; - if (!event.directresult) { - if (list.length > 1) { - var dialog = ui.create.dialog('更换一个随从', 'hidden'); - dialog.add([list, 'character']); - player.chooseButton(dialog, true); - } - else if (list.length == 1) { - event.directresult = list[0]; - } - else { - event.finish(); - } - } - else { - if (!list.contains(event.directresult)) { - event.finish(); - } - } - 'step 1'; - if (!event.directresult) { - if (result && result.bool && result.links[0]) { - event.directresult = result.links[0]; - } - else { - event.finish(); - return; - } - } - if (player.storage.subplayer) { - var current = player.storage.subplayer.name2; - if (event.directresult == current) { - event.finish(); - return; - } - player.storage[current].hp = player.hp; - player.storage[current].maxHp = player.maxHp; - player.storage[current].hs = player.getCards('h'); - player.storage[current].es = player.getCards('e'); - player.lose(player.getCards('he'), ui.special)._triggered = null; - - var cfg = player.storage[event.directresult]; - player.storage.subplayer.name2 = event.directresult; - player.reinit(current, event.directresult, [ - cfg.hp, - cfg.maxHp - ]); - if (cfg.hs.length) player.directgain(cfg.hs); - if (cfg.es.length) player.directequip(cfg.es); - } - }, - exitSubPlayer: function () { - 'step 0'; - if (player.storage.subplayer) { - var current = player.storage.subplayer.name2; - if (event.remove) { - player.lose(player.getCards('he'), ui.discardPile)._triggered = null; - } - else { - player.storage[current].hp = player.hp; - player.storage[current].maxHp = player.maxHp; - player.storage[current].hs = player.getCards('h'); - player.storage[current].es = player.getCards('e'); - player.lose(player.getCards('he'), ui.special)._triggered = null; - } - player.reinit(current, player.storage.subplayer.name, [ - player.storage.subplayer.hp, - player.storage.subplayer.maxHp - ]); - player.update(); - if (event.remove) { - if (player.storage[current].onremove) { - player.storage[current].onremove(player); - } - delete player.storage[current]; - player.storage.subplayer.skills.remove(current); - game.log(player, '牺牲了随从', '#g' + current); - } - else { - game.log(player, '收回了随从', '#g' + current); - } - player.addSkill(player.storage.subplayer.skills); - } - 'step 1'; - if (player.storage.subplayer) { - player.directgain(player.storage.subplayer.hs); - player.directequip(player.storage.subplayer.es); - } - player.removeSkill('subplayer'); - 'step 2'; - if (event.remove) { - event.trigger('subPlayerDie'); - } - }, - callSubPlayer: function () { - 'step 0'; - var list = player.getSubPlayers(event.tag); - event.list = list; - if (!event.directresult) { - if (list.length > 1) { - var dialog = ui.create.dialog('调遣一个随从', 'hidden'); - dialog.add([list, 'character']); - player.chooseButton(dialog, true); - } - else if (list.length == 1) { - event.directresult = list[0]; - } - else { - event.finish(); - } - } - else { - if (!list.contains(event.directresult)) { - event.finish(); - } - } - 'step 1'; - if (!event.directresult) { - if (result && result.bool && result.links[0]) { - event.directresult = result.links[0]; - } - else { - event.finish(); - return; - } - } - if (event.directresult) { - var cfg = player.storage[event.directresult]; - var source = cfg.source || player.name; - var name = event.directresult; - game.log(player, '调遣了随从', '#g' + name); - player.storage.subplayer = { - name: source, - name2: event.directresult, - hp: player.hp, - maxHp: player.maxHp, - skills: event.list.slice(0), - hs: player.getCards('h'), - es: player.getCards('e'), - intro2: cfg.intro2 - }; - player.removeSkill(event.list); - player.reinit(source, name, [cfg.hp, cfg.maxHp]); - player.addSkill('subplayer'); - player.lose(player.getCards('he'), ui.special)._triggered = null; - if (cfg.hs.length) player.directgain(cfg.hs); - if (cfg.es.length) player.directequip(cfg.es); - } - 'step 2'; - game.delay(); - }, - addExtraTarget: function () { - "step 0"; - event.num = 0; - "step 1"; - var target = targets[num], info = get.info(card); - if (target == event.target && event.addedTarget) { - event.addedTargets[num] = event.addedTarget; - event._result = { bool: false }; - } - else if (game.hasPlayer(function (current) { - return info.filterAddedTarget(card, player, current, target); - })) { - var next = player.chooseTarget(get.translation(event.card) + ':选择' + get.translation(targets[num]) + '对应的指向目标', function (card, player, target) { - var card = get.card(), info = get.info(card); - return info.filterAddedTarget(card, player, target, _status.event.preTarget); - }, true); - next.set('_get_card', card); - next.set('preTarget', targets[num]); - next.set('ai', target => get.effect(target, get.card(), player, _status.event.player)); - } - else { - event.addedTargets[num] = false; - event._result = { bool: false }; - } - "step 2"; - if (result.bool) { - event.addedTargets[num] = result.targets[0]; - player.line2([targets[num], result.targets[0]]); - } - event.num++; - if (event.num < targets.length) event.goto(1); - }, - reverseOrder: function () { - "step 0"; - game.delay(); - "step 1"; - var choice; - if (get.tag(card, 'multineg')) { - choice = (player.previous.side == player.side) ? '逆时针' : '顺时针'; - } - else { - choice = (player.next.side == player.side) ? '逆时针' : '顺时针'; - } - player.chooseControl('顺时针', '逆时针', function (event, player) { - return _status.event.choice || '逆时针'; - }).set('prompt', '选择' + get.translation(card) + '的结算方向').set('choice', choice).set('forceDie', true); - "step 2"; - if (result && result.control == '顺时针') { - var evt = event.getParent(), sorter = (_status.currentPhase || player); - evt.fixedSeat = true; - evt.targets.sortBySeat(sorter); - evt.targets.reverse(); - if (evt.targets[evt.targets.length - 1] == sorter) { - evt.targets.unshift(evt.targets.pop()); - } - } - }, - addJudgeCard: function () { - if (lib.filter.judge(card, player, target) && cards.length && get.position(cards[0], true) == 'o') target.addJudge(card, cards); - }, - equipCard: function () { - if (cards.length && get.position(cards[0], true) == 'o') target.equip(cards[0]); - }, - gameDraw: function () { - "step 0"; - if (_status.brawl && _status.brawl.noGameDraw) { - event.finish(); - return; - } - var end = player; - var numx = num; - do { - if (typeof num == 'function') { - numx = num(player); - } - if (player.getTopCards) player.directgain(player.getTopCards(numx)); - else player.directgain(get.cards(numx)); - if (player.singleHp === true && get.mode() != 'guozhan' && (lib.config.mode != 'doudizhu' || _status.mode != 'online')) { - player.doubleDraw(); - } - player._start_cards = player.getCards('h'); - player = player.next; - } - while (player != end); - event.changeCard = get.config('change_card'); - if (_status.connectMode || (lib.config.mode == 'doudizhu' && _status.mode == 'online') || lib.config.mode != 'identity' && lib.config.mode != 'guozhan' && lib.config.mode != 'doudizhu') { - event.changeCard = 'disabled'; - } - "step 1"; - if (event.changeCard != 'disabled' && !_status.auto) { - event.dialog = ui.create.dialog('是否使用手气卡?'); - ui.create.confirm('oc'); - event.custom.replace.confirm = function (bool) { - _status.event.bool = bool; - game.resume(); - }; - } - else { - event.finish(); - } - "step 2"; - if (event.changeCard == 'once') { - event.changeCard = 'disabled'; - } - else if (event.changeCard == 'twice') { - event.changeCard = 'once'; - } - else if (event.changeCard == 'disabled') { - event.bool = false; - return; - } - _status.imchoosing = true; - event.switchToAuto = function () { - _status.event.bool = false; - game.resume(); - }; - game.pause(); - "step 3"; - _status.imchoosing = false; - if (event.bool) { - if (game.changeCoin) { - game.changeCoin(-3); - } - var hs = game.me.getCards('h'); - game.addVideo('lose', game.me, [get.cardsInfo(hs), [], [], []]); - for (var i = 0; i < hs.length; i++) { - hs[i].discard(false); - } - game.me.directgain(get.cards(hs.length)); - event.goto(2); - } - else { - if (event.dialog) event.dialog.close(); - if (ui.confirm) ui.confirm.close(); - game.me._start_cards = game.me.getCards('h'); - event.finish(); - } - }, - phaseLoop: function () { - "step 0"; - var num = 1, current = player; - while (current.getSeatNum() == 0) { - current.setSeatNum(num); - current = current.next; - num++; - } - "step 1"; - for (var i = 0; i < lib.onphase.length; i++) { - lib.onphase[i](); - } - player.phase(); - "step 2"; - if (!game.players.contains(event.player.next)) { - event.player = game.findNext(event.player.next); - } - else { - event.player = event.player.next; - } - event.goto(1); - }, - loadPackage: function () { - 'step 0'; - if (event.packages.length) { - window.game = game; - var pack = event.packages.shift().split('/'); - lib.init.js(lib.assetURL + pack[0], pack[1], game.resume); - game.pause(); - } - else { - event.finish(); - } - 'step 1'; - if (!lib.config.dev) delete window.game; - var character = lib.imported.character; - var card = lib.imported.card; - var i, j, k; - for (i in character) { - if (character[i].character) { - var characterPack = lib.characterPack[i]; - if (characterPack) Object.assign(characterPack, character[i].character); - else lib.characterPack[i] = character[i].character; - } - if (character[i].forbid && character[i].forbid.contains(lib.config.mode)) continue; - if (character[i].mode && character[i].mode.contains(lib.config.mode) == false) continue; - - if (Array.isArray(lib[j]) && Array.isArray(character[i][j])) { - lib[j].addArray(character[i][j]); - continue; - } - for (j in character[i]) { - if (j == 'mode' || j == 'forbid' || j == 'characterSort') continue; - for (k in character[i][j]) { - if (j == 'character') { - if (!character[i][j][k][4]) { - character[i][j][k][4] = []; - } - if (character[i][j][k][4].contains('boss') || - character[i][j][k][4].contains('hiddenboss')) { - lib.config.forbidai.add(k); - } - if (lib.config.forbidai_user && lib.config.forbidai_user.contains(k)) { - lib.config.forbidai.add(k); - } - for (var l = 0; l < character[i][j][k][3].length; l++) { - lib.skilllist.add(character[i][j][k][3][l]); - } - } - if (j == 'translate' && k == i) { - lib[j][k + '_character_config'] = character[i][j][k]; - } - else { - if (lib[j][k] == undefined) { - Object.defineProperty(lib[j], k, Object.getOwnPropertyDescriptor(character[i][j], k)); - } - else if (Array.isArray(lib[j][k]) && Array.isArray(character[i][j][k])) { - lib[j][k].addArray(character[i][j][k]); - } - else { - console.log( - `dublicate ${j} in character ${i}:\n${k}:\nlib.${j}.${k}`, - lib[j][k], - `\ncharacter.${i}.${j}.${k}`, - character[i][j][k] - ); - } - } - } - } - } - for (i in card) { - var cardPack = lib.cardPack[i] ? lib.cardPack[i] : lib.cardPack[i] = []; - if (card[i].card) { - for (var j in card[i].card) { - if (!card[i].card[j].hidden && card[i].translate[j + '_info']) { - cardPack.push(j); - } - } - } - for (j in card[i]) { - if (j == 'mode' || j == 'forbid') continue; - if (j == 'list') continue; - for (k in card[i][j]) { - if (j == 'skill' && k[0] == '_' && !lib.config.cards.contains(i)) { - continue; - } - if (j == 'translate' && k == i) { - lib[j][k + '_card_config'] = card[i][j][k]; - } - else { - if (lib[j][k] == undefined) Object.defineProperty(lib[j], k, Object.getOwnPropertyDescriptor(card[i][j], k)); - else { - console.log( - `dublicate ${j} in card ${i}:\n${k}\nlib.${j}.${k}`, - lib[j][k], - `\ncard.${i}.${j}.${k}`, - card[i][j][k] - ); - } - } - } - } - } - event.goto(0); - }, - loadMode: function () { - 'step 0'; - window.game = game; - lib.init.js(lib.assetURL + 'mode', event.mode, game.resume); - game.pause(); - 'step 1'; - if (!lib.config.dev) delete window.game; - event.result = lib.imported.mode[event.mode]; - delete lib.imported.mode[event.mode]; - }, - forceOver: function () { - 'step 0'; - while (ui.controls.length) { - ui.controls[0].close(); - } - while (ui.dialogs.length) { - ui.dialogs[0].close(); - } - 'step 1'; - if (event.bool != 'noover') { - game.over(event.bool); - } - if (event.callback) { - event.callback(); - } - }, - arrangeTrigger: function () { - 'step 0'; - event.doing = event.doingList[0]; - if (event.doing && event.doing.todoList.length) return; - if (event.doingList.length) { - event.doingList.shift(); - return event.redo(); - } - event.finish(); - 'step 1'; - if (trigger.filterStop && trigger.filterStop()) return event.finish(); - event.current = event.doing.todoList.find(info => lib.filter.filterTrigger(trigger, info.player, event.triggername, info.skill)); - if (!event.current) { - event.doing.todoList = []; - return event.goto(0); - } - event.doing.todoList = event.doing.todoList.filter(i => i.priority <= event.current.priority); - - const directUse = info => lib.skill[info.skill].silent || !lib.translate[info.skill];//是否不触发同顺序选择 - if (directUse(event.current)) return event.goto(4); - event.choice = event.doing.todoList.filter(info => { - if (!lib.filter.filterTrigger(trigger, info.player, event.triggername, info.skill)) return false; - if (directUse(info)) return false; - if (event.current.player !== info.player) return false; - return lib.skill.global.includes(info.skill) || event.current.player.hasSkill(info.skill, true); - }); - if (event.choice.length < 2) return event.goto(4); - 'step 2'; - const next = event.choice[0].player.chooseControl(event.choice.map(i => i.skill)); - next.set('prompt', '选择下一个触发的技能'); - next.set('forceDie', true); - next.set('arrangeSkill', true); - next.set('includeOut', true); - 'step 3'; - if (result.control) event.current = event.doing.todoList.find(info => info.skill == result.control && info.player == event.choice[0].player); - 'step 4'; - if (!event.current || !event.doing.todoList.includes(event.current)) return; - event.doing.doneList.push(event.current); - event.doing.todoList.remove(event.current); - game.createTrigger(event.triggername, event.current.skill, event.current.player, trigger); - event.goto(0); - }, - createTrigger: function () { - "step 0"; - // console.log('triggering: ' + player.name+ ' \'s skill: ' + event.skill+' in ' + event.triggername) - if (game.expandSkills(player.getSkills().concat(lib.skill.global)).includes(event.skill)) return; - var info = get.info(event.skill); - let hidden = player.hiddenSkills.slice(0); - let invisible = player.invisibleSkills.slice(0); - game.expandSkills(hidden); - game.expandSkills(invisible); - if (hidden.includes(event.skill)) { - if (!info.silent && player.hasSkillTag('nomingzhi', false, null, true)) event.finish(); - else if (!info.direct) event.trigger('triggerHidden'); - else event.skillHidden = true; - } - else if (invisible.includes(event.skill)) event.trigger('triggerInvisible'); - else if (Object.keys(player.additionalSkills).every(i => { - if (i.startsWith('hidden:')) return true; - return !game.expandSkills(player.additionalSkills[i]).includes(event.skill); - })) event.finish(); - "step 1"; - if (event.cancelled) return event.finish(); - var info = get.info(event.skill); - if (event.revealed || info.forced) return; - const checkFrequent = function (info) { - if (player.hasSkillTag('nofrequent', false, event.skill)) return false; - if (typeof info.frequent == 'boolean') return info.frequent; - if (typeof info.frequent == 'function') return info.frequent(trigger, player); - if (info.frequent == 'check' && typeof info.check == 'function') return info.check(trigger, player); - return false; - }; - if (info.direct) { - if (player.isUnderControl()) game.swapPlayerAuto(player); - if (player.isOnline()) void 0; - event._result = { bool: true }; - event._direct = true; - } - else { - if (checkFrequent(info)) event.frequentSkill = true; - var str; - var check = info.check; - if (info.prompt) str = info.prompt; - else if (typeof info.logTarget == 'string') str = get.prompt(event.skill, trigger[info.logTarget], player); - else if (typeof info.logTarget == 'function') { - const logTarget = info.logTarget(trigger, player); - if (get.itemtype(logTarget).startsWith('player')) str = get.prompt(event.skill, logTarget, player); - } - else str = get.prompt(event.skill, null, player); - if (typeof str == 'function') str = str(trigger, player); - - var next = player.chooseBool(str); - if (event.frequentSkill) next.set('frequentSkill', event.skill); - next.set('forceDie', true); - next.set('includeOut', true); - next.ai = () => !check || check(trigger, player); - - if (typeof info.prompt2 == 'function') next.set('prompt2', info.prompt2(trigger, player)); - else if (typeof info.prompt2 == 'string') next.set('prompt2', info.prompt2); - else if (info.prompt2 != false) { - if (lib.dynamicTranslate[event.skill]) next.set('prompt2', lib.dynamicTranslate[event.skill](player, event.skill)); - else if (lib.translate[event.skill + '_info']) next.set('prompt2', lib.translate[event.skill + '_info']); - } - - if (trigger.skillwarn) { - if (next.prompt2) next.set('prompt2', '' + trigger.skillwarn + '。' + next.prompt2); - else next.set('prompt2', trigger.skillwarn); - } - } - "step 2"; - var info = get.info(event.skill); - if (!result || !result.bool) return; - var autodelay = info.autodelay; - if (typeof autodelay == 'function') autodelay = autodelay(trigger, player); - if (autodelay && (info.forced || !event.isMine())) { - if (typeof autodelay == 'number') game.delayx(autodelay); - else game.delayx(); - } - "step 3"; - var info = get.info(event.skill); - if (result && result.bool == false) { - if (info.oncancel) info.oncancel(trigger, player); - return event.finish(); - } - if (info.popup != false && !info.direct) { - if (info.popup) { - player.popup(info.popup); - game.log(player, '发动了', '【' + get.skillTranslation(event.skill, player) + '】'); - } - else if (!info.logTarget || info.logLine === false) player.logSkill(event.skill, false, info.line); - else if (typeof info.logTarget == 'string') player.logSkill(event.skill, trigger[info.logTarget], info.line); - else if (typeof info.logTarget == 'function') player.logSkill(event.skill, info.logTarget(trigger, player), info.line); - } - var next = game.createEvent(event.skill); - if (typeof info.usable == 'number') { - player.addSkill('counttrigger'); - if (!player.storage.counttrigger) player.storage.counttrigger = {}; - if (!player.storage.counttrigger[event.skill]) player.storage.counttrigger[event.skill] = 1; - else player.storage.counttrigger[event.skill]++; - } - next.player = player; - next._trigger = trigger; - next.triggername = event.triggername; - - if ("contents" in info && Array.isArray(info.contents)) { - next.setContents(info.contents); - } else { - next.setContent(info.content); - } - - next.skillHidden = event.skillHidden; - if (info.forceDie) next.forceDie = true; - if (info.forceOut) next.includeOut = true; - "step 4"; - if (!player._hookTrigger) return; - if (player._hookTrigger.some(i => { - const info = lib.skill[i].hookTrigger; - return info && info.after && info.after(event, player, event.triggername); - })) event.trigger('triggerAfter'); - }, - playVideoContent: function () { - 'step 0'; - game.delay(0, 500); - 'step 1'; - if (!game.chess) { - ui.control.innerHTML = ''; - var nodes = []; - for (var i = 0; i < ui.arena.childNodes.length; i++) { - nodes.push(ui.arena.childNodes[i]); - } - for (var i = 0; i < nodes.length; i++) { - if (nodes[i] == ui.canvas) continue; - if (nodes[i] == ui.control) continue; - if (nodes[i] == ui.mebg) continue; - if (nodes[i] == ui.me) continue; - if (nodes[i] == ui.roundmenu) continue; - nodes[i].remove(); - } - ui.sidebar.innerHTML = ''; - ui.cardPile.innerHTML = ''; - ui.discardPile.innerHTML = ''; - ui.special.innerHTML = ''; - ui.ordering.innerHTML = ''; - } - ui.system.firstChild.innerHTML = ''; - ui.system.lastChild.innerHTML = ''; - ui.system.firstChild.appendChild(ui.config2); - if (ui.updateVideoMenu) { - ui.updateVideoMenu(); - } - _status.videoDuration = 1; - ui.create.system('返回', function () { - var mode = localStorage.getItem(lib.configprefix + 'playbackmode'); - if (mode) { - game.saveConfig('mode', mode); - } - game.reload(); - }); - ui.create.system('重播', function () { - _status.replayvideo = true; - game.playVideo(_status.playback, lib.config.mode); - }); - ui.create.system('暂停', ui.click.pause, true).id = 'pausebutton'; - var slow = ui.create.system('减速', function () { - _status.videoDuration *= 1.5; - updateDuration(); - }, true); - var fast = ui.create.system('加速', function () { - _status.videoDuration /= 1.5; - updateDuration(); - }, true); - var updateDuration = function () { - if (_status.videoDuration > 1) { - slow.classList.add('glow'); - } - else { - slow.classList.remove('glow'); - } - if (_status.videoDuration < 1) { - fast.classList.add('glow'); - } - else { - fast.classList.remove('glow'); - } - }; - ui.system.style.display = ''; - ui.refresh(ui.system); - ui.system.show(); - ui.window.show(); - if (lib.config.mode != 'versus' && lib.config.mode != 'boss') { - ui.arena.style.display = ''; - ui.refresh(ui.arena); - ui.arena.show(); - } - if (!game.chess) { - game.playerMap = {}; - } - game.finishCards(); - 'step 2'; - if (event.video.length) { - var content = event.video.shift(); - // console.log(content); - if (content.type == 'delay') { - game.delay(content.content); - } - else if (content.type == 'play') { - window.play = {}; - if (!event.playtoload) { - event.playtoload = 1; - } - else { - event.playtoload++; - } - var script = lib.init.js(lib.assetURL + 'play', content.name); - script.addEventListener('load', function () { - var play = window.play[content.name]; - if (play && play.video) { - play.video(content.init); - } - event.playtoload--; - if (event.playtoload == 0) { - delete window.play; - } - }); - } - else if (typeof content.player == 'string' && game.playerMap[content.player] && - game.playerMap[content.player].classList && - !game.playerMap[content.player].classList.contains('obstacle')) { - game.videoContent[content.type](game.playerMap[content.player], content.content); - } - else { - game.videoContent[content.type](content.content); - } - if (event.video.length) { - game.delay(0, _status.videoDuration * Math.min(2000, event.video[0].delay)); - } - event.redo(); - } - else { - _status.over = true; - ui.system.lastChild.hide(); - setTimeout(function () { - ui.system.lastChild.innerHTML = ''; - }, 500); - } - }, - waitForPlayer: function () { - 'step 0'; - ui.auto.hide(); - ui.pause.hide(); - - game.createServer(); - if (!lib.translate.zhu) { - lib.translate.zhu = '主'; - } - if (event.func) { - event.func(); - } - if (!lib.configOL.number) { - lib.configOL.number = parseInt(lib.configOL.player_number); - } - if (game.onlineroom) { - game.send('server', 'config', lib.configOL); - } - - ui.create.connectPlayers(game.ip); - if (!window.isNonameServer) { - var me = game.connectPlayers[0]; - me.setIdentity('zhu'); - me.initOL(get.connectNickname(), lib.config.connect_avatar); - me.playerid = '1'; - game.onlinezhu = '1'; - } - _status.waitingForPlayer = true; - if (window.isNonameServer) { - document.querySelector('#server_status').innerHTML = '等待中'; - } - game.pause(); - 'step 1'; - _status.waitingForPlayer = false; - lib.configOL.gameStarted = true; - if (window.isNonameServer) { - document.querySelector('#server_status').innerHTML = '游戏中'; - } - if (game.onlineroom) { - game.send('server', 'config', lib.configOL); - } - for (var i = 0; i < game.connectPlayers.length; i++) { - game.connectPlayers[i].delete(); - } - delete game.connectPlayers; - if (ui.roomInfo) { - ui.roomInfo.remove(); - delete ui.roomInfo; - } - if (ui.exitroom) { - ui.exitroom.remove(); - delete ui.exitroom; - } - game.broadcast('gameStart'); - game.delay(2); - ui.auto.show(); - ui.pause.show(); - if (lib.config.show_cardpile) { - ui.cardPileButton.style.display = ''; - } - }, - replaceHandcards: function () { - 'step 0'; - if (event.players.contains(game.me)) { - game.me.chooseBool('是否置换手牌?'); - } - else { - event.finish(); - } - 'step 1'; - if (result && result.bool) { - var hs = game.me.getCards('h'); - for (var i = 0; i < hs.length; i++) { - hs[i].discard(false); - } - var cards = get.cards(hs.length); - game.me._start_cards = cards; - game.me.directgain(cards); - } - }, - replaceHandcardsOL: function () { - 'step 0'; - var send = function () { - game.me.chooseBool('是否置换手牌?'); - game.resume(); - }; - var sendback = function (result, player) { - if (result && result.bool) { - var hs = player.getCards('h'); - game.broadcastAll(function (player, hs) { - game.addVideo('lose', player, [get.cardsInfo(hs), [], [], []]); - for (var i = 0; i < hs.length; i++) { - hs[i].discard(false); - } - }, player, hs); - var cards = get.cards(hs.length); - player.directgain(cards); - player._start_cards = cards; - } - }; - for (var i = 0; i < event.players.length; i++) { - if (event.players[i].isOnline()) { - event.withol = true; - event.players[i].send(send); - event.players[i].wait(sendback); - } - else if (event.players[i] == game.me) { - event.withme = true; - game.me.chooseBool('是否置换手牌?'); - game.me.wait(sendback); - } - } - 'step 1'; - if (event.withme) { - game.me.unwait(result); - } - 'step 2'; - if (event.withol && !event.resultOL) { - game.pause(); - } - }, - phase: [ - async (event, _trigger, player) => { - // 初始化阶段列表 - if (!event.phaseList) { - event.phaseList = ['phaseZhunbei', 'phaseJudge', 'phaseDraw', 'phaseUse', 'phaseDiscard', 'phaseJieshu']; - } - - if (typeof event.num != 'number') { - event.num = 0; - } - - // 规则集中的“回合开始后①”,更新游戏轮数,触发“一轮游戏开始时” - let isRound = false; - if (!event.skill) { - isRound = _status.roundSkipped; - if (_status.isRoundFilter) { - isRound = _status.isRoundFilter(event, player); - } - else if (_status.seatNumSettled) { - var seatNum = player.getSeatNum(); - if (seatNum != 0) { - if (get.itemtype(_status.lastPhasedPlayer) != 'player' || seatNum < _status.lastPhasedPlayer.getSeatNum()) isRound = true; - _status.lastPhasedPlayer = player; - } - } - else if (player == _status.roundStart) isRound = true; - if (isRound) { - delete _status.roundSkipped; - game.roundNumber++; - event._roundStart = true; - game.updateRoundNumber(); - for (var i = 0; i < game.players.length; i++) { - if (game.players[i].isOut() && game.players[i].outCount > 0) { - game.players[i].outCount--; - if (game.players[i].outCount == 0 && !game.players[i].outSkills) { - game.players[i].in(); - } - } - } - event.trigger('roundStart'); - } - } - - _status.globalHistory.push({ - cardMove: [], - custom: [], - useCard: [], - changeHp: [], - everything: [], - }); - - const players = game.players.slice(0).concat(game.dead); - for (const current of players) { - current.actionHistory.push({ useCard: [], respond: [], skipped: [], lose: [], gain: [], sourceDamage: [], damage: [], custom: [], useSkill: [] }); - current.stat.push({ card: {}, skill: {} }); - if (isRound) { - current.getHistory().isRound = true; - current.getStat().isRound = true; - } - } - - if (isRound) { - game.getGlobalHistory().isRound = true; - } - }, - async (event) => { - //规则集中的“回合开始后②(1v1武将登场专用)” - event.trigger('phaseBeforeStart'); - }, - async (event) => { - //规则集中的“回合开始后③(处理“游戏开始时”的时机)” - event.trigger('phaseBefore'); - }, - async (event) => { - //规则集中的“回合开始后④(卑弥呼〖纵傀〗的时机)” - event.trigger('phaseBeforeEnd'); - }, - async (event, _trigger, player) => { - //规则集中的“回合开始后⑤”,进行翻面检测 - if (player.isTurnedOver() && !event._noTurnOver) { - event.cancel(); - player.turnOver(); - player.phaseSkipped = true; - } - else { - player.phaseSkipped = false; - player.getHistory().isMe = true; - player.getStat().isMe = true; - } - }, - async (event, _trigger, player) => { - // 规则集中的“回合开始后⑥”,更新“当前回合角色” - while (ui.dialogs.length) { - ui.dialogs[0].close(); - } - - ++game.phaseNumber; - ++player.phaseNumber; - - game.broadcastAll((player, num, popup) => { - if (lib.config.glow_phase) { - player.classList.add('glow_phase'); - } - player.phaseNumber = num; - _status.currentPhase = player; - if (popup && lib.config.show_phase_prompt) player.popup('回合开始', null, false); - }, player, player.phaseNumber, !player.noPhaseDelay); - - _status.currentPhase = player; - _status.discarded = []; - - game.syncState(); - game.addVideo('phaseChange', player); - - if (game.phaseNumber == 1) { - delete player._start_cards; - if (lib.configOL.observe) { - lib.configOL.observeReady = true; - game.send('server', 'config', lib.configOL); - } - } - - game.log(); - game.log(player, '的回合开始'); - player._noVibrate = true; - - if (get.config('identity_mode') != 'zhong' && get.config('identity_mode') != 'purple' && !_status.connectMode) { - let num; - switch (get.config('auto_identity')) { - case 'one': num = 1; break; - case 'two': num = 2; break; - case 'three': num = 3; break; - case 'always': num = -1; break; - default: num = 0; break; - } - if (num && !_status.identityShown && game.phaseNumber > game.players.length * num && game.showIdentity) { - if (!_status.video) player.popup('显示身份'); - _status.identityShown = true; - game.showIdentity(false); - } - } - player.ai.tempIgnore = []; - if (ui.land && ui.land.player == player) { - game.addVideo('destroyLand'); - ui.land.destroy(); - } - }, - async (event) => { - //规则集中的“回合开始后⑦”,国战武将明置武将牌 - event.trigger('phaseBeginStart'); - }, - async (event) => { - //规则集中的“回合开始后⑨”,进行当先,化身等操作 - //没有⑧ 因为⑧用不到 - event.trigger('phaseBegin'); - }, - async (event, _trigger, player) => { - if (event.num < event.phaseList.length) { - //规则集中没有的新时机 可以用来插入额外阶段啥的 - if (player.isIn()) event.trigger('phaseChange'); - } - else event.goto(11); - }, - async (event, _trigger, player) => { - if (player.isIn() && event.num < event.phaseList.length) { - const phase = event.phaseList[event.num].split('|'); - event.currentPhase = phase[0]; - const next = player[event.currentPhase](); - next.phaseIndex = event.num; - if (phase.length > 1) { - next._extraPhaseReason = phase[1]; - } - if (event.currentPhase == 'phaseDraw' || event.currentPhase == 'phaseDiscard') { - if (!player.noPhaseDelay) { - if (player == game.me) { - game.delay(); - } - else { - game.delayx(); - } - } - } - } - }, - async (event, _trigger, player) => { - if (event.currentPhase == 'phaseUse') { - game.broadcastAll(() => { - if (ui.tempnowuxie) { - ui.tempnowuxie.close(); - delete ui.tempnowuxie; - } - }); - delete player._noSkill; - } - ++event.num; - }, - async (event) => { - if (event.num < event.phaseList.length) { - event.goto(8); - } - else if (!event._phaseEndTriggered) { - event._phaseEndTriggered = true; - event.trigger('phaseEnd'); - event.redo(); - } - }, - async (event) => { - event.trigger('phaseAfter'); - }, - async ({ player }) => { - //删除当前回合角色 此时处于“不属于任何角色的回合”的阶段 - game.broadcastAll((player) => { - player.classList.remove('glow_phase'); - delete _status.currentPhase; - }, player); - } - ], - /** - * @deprecated - */ - phase_old2: function () { - 'step 0'; - //初始化阶段列表 - if (!event.phaseList) { - event.phaseList = ['phaseZhunbei', 'phaseJudge', 'phaseDraw', 'phaseUse', 'phaseDiscard', 'phaseJieshu']; - } - if (typeof event.num != 'number') { - event.num = 0; - } - //规则集中的“回合开始后①”,更新游戏轮数,触发“一轮游戏开始时” - var isRound = false; - if (!event.skill) { - isRound = _status.roundSkipped; - if (_status.isRoundFilter) { - isRound = _status.isRoundFilter(event, player); - } - else if (_status.seatNumSettled) { - var seatNum = player.getSeatNum(); - if (seatNum != 0) { - if (get.itemtype(_status.lastPhasedPlayer) != 'player' || seatNum < _status.lastPhasedPlayer.getSeatNum()) isRound = true; - _status.lastPhasedPlayer = player; - } - } - else if (player == _status.roundStart) isRound = true; - if (isRound) { - delete _status.roundSkipped; - game.roundNumber++; - event._roundStart = true; - game.updateRoundNumber(); - for (var i = 0; i < game.players.length; i++) { - if (game.players[i].isOut() && game.players[i].outCount > 0) { - game.players[i].outCount--; - if (game.players[i].outCount == 0 && !game.players[i].outSkills) { - game.players[i].in(); - } - } - } - event.trigger('roundStart'); - } - } - _status.globalHistory.push({ - cardMove: [], - custom: [], - useCard: [], - changeHp: [], - everything: [], - }); - var players = game.players.slice(0).concat(game.dead); - for (var i = 0; i < players.length; i++) { - var current = players[i]; - current.actionHistory.push({ useCard: [], respond: [], skipped: [], lose: [], gain: [], sourceDamage: [], damage: [], custom: [], useSkill: [] }); - current.stat.push({ card: {}, skill: {} }); - if (isRound) { - current.getHistory().isRound = true; - current.getStat().isRound = true; - } - } - if (isRound) { - game.getGlobalHistory().isRound = true; - } - 'step 1'; - //规则集中的“回合开始后②(1v1武将登场专用)” - event.trigger('phaseBeforeStart'); - 'step 2'; - //规则集中的“回合开始后③(处理“游戏开始时”的时机)” - event.trigger('phaseBefore'); - 'step 3'; - //规则集中的“回合开始后④(卑弥呼〖纵傀〗的时机)” - event.trigger('phaseBeforeEnd'); - 'step 4'; - //规则集中的“回合开始后⑤”,进行翻面检测 - if (player.isTurnedOver() && !event._noTurnOver) { - event.cancel(); - player.turnOver(); - player.phaseSkipped = true; - } - else { - player.phaseSkipped = false; - player.getHistory().isMe = true; - player.getStat().isMe = true; - } - 'step 5'; - //规则集中的“回合开始后⑥”,更新“当前回合角色” - while (ui.dialogs.length) { - ui.dialogs[0].close(); - } - game.phaseNumber++; - player.phaseNumber++; - game.broadcastAll(function (player, num, popup) { - if (lib.config.glow_phase) { - player.classList.add('glow_phase'); - } - player.phaseNumber = num; - _status.currentPhase = player; - if (popup && lib.config.show_phase_prompt) player.popup('回合开始', null, false); - }, player, player.phaseNumber, !player.noPhaseDelay); - _status.currentPhase = player; - _status.discarded = []; - game.syncState(); - game.addVideo('phaseChange', player); - if (game.phaseNumber == 1) { - delete player._start_cards; - if (lib.configOL.observe) { - lib.configOL.observeReady = true; - game.send('server', 'config', lib.configOL); - } - } - game.log(); - game.log(player, '的回合开始'); - player._noVibrate = true; - if (get.config('identity_mode') != 'zhong' && get.config('identity_mode') != 'purple' && !_status.connectMode) { - var num; - switch (get.config('auto_identity')) { - case 'one': num = 1; break; - case 'two': num = 2; break; - case 'three': num = 3; break; - case 'always': num = -1; break; - default: num = 0; break; - } - if (num && !_status.identityShown && game.phaseNumber > game.players.length * num && game.showIdentity) { - if (!_status.video) player.popup('显示身份'); - _status.identityShown = true; - game.showIdentity(false); - } - } - player.ai.tempIgnore = []; - if (ui.land && ui.land.player == player) { - game.addVideo('destroyLand'); - ui.land.destroy(); - } - 'step 6'; - //规则集中的“回合开始后⑦”,国战武将明置武将牌 - event.trigger('phaseBeginStart'); - 'step 7'; - //规则集中的“回合开始后⑨”,进行当先,化身等操作 - //没有⑧ 因为⑧用不到 - event.trigger('phaseBegin'); - //阶段部分 - 'step 8'; - if (num < event.phaseList.length) { - //规则集中没有的新时机 可以用来插入额外阶段啥的 - if (player.isIn()) event.trigger('phaseChange'); - } - else event.goto(11); - 'step 9'; - if (player.isIn() && num < event.phaseList.length) { - var phase = event.phaseList[num].split('|'); - event.currentPhase = phase[0]; - var next = player[event.currentPhase](); - next.phaseIndex = num; - if (phase.length > 1) { - next._extraPhaseReason = phase[1]; - } - if (event.currentPhase == 'phaseDraw' || event.currentPhase == 'phaseDiscard') { - if (!player.noPhaseDelay) { - if (player == game.me) { - game.delay(); - } - else { - game.delayx(); - } - } - } - } - 'step 10'; - if (event.currentPhase == 'phaseUse') { - game.broadcastAll(function () { - if (ui.tempnowuxie) { - ui.tempnowuxie.close(); - delete ui.tempnowuxie; - } - }); - delete player._noSkill; - } - event.num++; - 'step 11'; - if (event.num < event.phaseList.length) { - event.goto(8); - } - else if (!event._phaseEndTriggered) { - event._phaseEndTriggered = true; - event.trigger('phaseEnd'); - event.redo(); - } - 'step 12'; - event.trigger('phaseAfter'); - 'step 13'; - //删除当前回合角色 此时处于“不属于任何角色的回合”的阶段 - game.broadcastAll(function (player) { - player.classList.remove('glow_phase'); - delete _status.currentPhase; - }, player); - }, - /** - * @deprecated - */ - phase_old: function () { - "step 0"; - player.phaseZhunbei(); - "step 1"; - player.phaseJudge(); - "step 2"; - player.phaseDraw(); - if (!player.noPhaseDelay) { - if (player == game.me) { - game.delay(); - } - else { - game.delayx(); - } - } - "step 3"; - player.phaseUse(); - "step 4"; - game.broadcastAll(function () { - if (ui.tempnowuxie) { - ui.tempnowuxie.close(); - delete ui.tempnowuxie; - } - }); - player.phaseDiscard(); - if (!player.noPhaseDelay) game.delayx(); - //delete player.using; - delete player._noSkill; - "step 5"; - player.phaseJieshu(); - }, - phaseZhunbei: function () { - event.trigger(event.name); - game.log(player, '进入了准备阶段'); - }, - phaseJudge: function () { - "step 0"; - game.log(player, '进入了判定阶段'); - event.cards = player.getCards('j'); - if (!event.cards.length) event.finish(); - "step 1"; - if (cards.length && player.getCards('j').contains(cards[0])) { - event.card = cards.shift(); - if (event.card.classList.contains('removing')) { - event.card.remove(); - delete event.card; - event.redo(); - } - else if (event.card.classList.contains('feichu')) { - event.finish(); - return; - } - else { - player.lose(event.card, 'visible', ui.ordering); - player.$phaseJudge(event.card); - event.cancelled = false; - event.trigger('phaseJudge'); - var name = event.card.viewAs || event.card.name; - player.popup(name, 'thunder'); - if (!lib.card[name].effect) { - game.delay(); - event.redo(); - } - else if (!lib.card[name].judge) { - game.delay(); - event.nojudge = true; - } - } - } - else event.finish(); - "step 2"; - if (!event.cancelled && !event.nojudge) player.judge(event.card).set('type', 'phase'); - "step 3"; - var name = event.card.viewAs || event.card.name; - if (event.excluded) { - delete event.excluded; - } - else if (event.cancelled && !event.direct) { - if (lib.card[name].cancel) { - var next = game.createEvent(name + 'Cancel'); - next.setContent(lib.card[name].cancel); - next.cards = [event.card]; - if (!event.card.viewAs) next.card = get.autoViewAs(event.card); - else next.card = get.autoViewAs({ name: name }, next.cards); - next.player = player; - } - } - else { - var next = game.createEvent(name); - next.setContent(lib.card[name].effect); - next._result = result; - next.cards = [event.card]; - if (!event.card.viewAs) next.card = get.autoViewAs(event.card); - else next.card = get.autoViewAs({ name: name }, next.cards); - next.player = player; - } - ui.clear(); - event.goto(1); - }, - phaseDraw: function () { - "step 0"; - game.log(player, '进入了摸牌阶段'); - event.trigger("phaseDrawBegin1"); - "step 1"; - event.trigger("phaseDrawBegin2"); - "step 2"; - if (game.modPhaseDraw) { - game.modPhaseDraw(player, event.num); - } - else { - if (event.num > 0) { - var num = event.num; - if (event.attachDraw) { - for (var i = 0; i < event.attachDraw.length; i++) { - ui.cardPile.insertBefore(event.attachDraw[i], ui.cardPile.firstChild); - } - num += event.attachDraw.length; - } - var next = player.draw(num); - if (event.attachDraw) { - next.minnum = event.attachDraw.length; - } - } - } - "step 3"; - if (Array.isArray(result)) { - event.cards = result; - } - }, - phaseUse: function () { - "step 0"; - if (!event.logged) { - game.log(player, '进入了出牌阶段'); - event.logged = true; - } - var next = player.chooseToUse(); - if (!lib.config.show_phaseuse_prompt) { - next.set('prompt', false); - } - next.set('type', 'phase'); - "step 1"; - if (result.bool && !event.skipped) { - event.goto(0); - } - game.broadcastAll(function () { - if (ui.tempnowuxie) { - ui.tempnowuxie.close(); - delete ui.tempnowuxie; - } - }); - "step 2"; - var stat = player.getStat(); - for (var i in stat.skill) { - var bool = false; - var info = lib.skill[i]; - if (!info) continue; - if (info.enable != undefined) { - if (typeof info.enable == 'string' && info.enable == 'phaseUse') bool = true; - else if (typeof info.enable == 'object' && info.enable.contains('phaseUse')) bool = true; - } - if (bool) stat.skill[i] = 0; - } - for (var i in stat.card) { - var bool = false; - var info = lib.card[i]; - if (!info) continue; - if (info.updateUsable == 'phaseUse') stat.card[i] = 0; - } - }, - phaseDiscard: function () { - "step 0"; - game.log(player, '进入了弃牌阶段'); - event.num = player.needsToDiscard(); - if (event.num <= 0) event.finish(); - else { - game.broadcastAll(function (player) { - if (lib.config.show_phase_prompt) { - player.popup('弃牌阶段', null, false); - } - }, player); - } - event.trigger('phaseDiscard'); - "step 1"; - player.chooseToDiscard(num, true) - .set('useCache', true); - "step 2"; - event.cards = result.cards; - }, - phaseJieshu: function () { - event.trigger(event.name); - game.log(player, '进入了结束阶段'); - }, - chooseToUse: function () { - "step 0"; - if (event.responded) return; - if (game.modeSwapPlayer && !_status.auto && player.isUnderControl() && !lib.filter.wuxieSwap(event)) { - game.modeSwapPlayer(player); - } - var skills = player.getSkills('invisible').concat(lib.skill.global); - game.expandSkills(skills); - for (var i = 0; i < skills.length; i++) { - var info = lib.skill[skills[i]]; - if (info && info.onChooseToUse) { - info.onChooseToUse(event); - } - } - if (_status.noclearcountdown !== 'direct') _status.noclearcountdown = true; - if (event.type == 'phase') { - if (event.isMine()) { - event.endButton = ui.create.control('结束回合', 'stayleft', function () { - var evt = _status.event; - if (evt.name != 'chooseToUse' || evt.type != 'phase') return; - if (evt.skill) { - ui.click.cancel(); - } - ui.click.cancel(); - }); - event.fakeforce = true; - } - else { - if (event.endButton) { - event.endButton.close(); - delete event.endButton; - } - event.fakeforce = false; - } - } - if (event.player.isUnderControl() && !_status.auto) { - event.result = { - bool: false - }; - return; - } - else if (event.isMine()) { - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { - ui.click.cancel(); - return; - } - if (event.type == 'wuxie') { - if (ui.tempnowuxie) { - var triggerevent = event.getTrigger(); - if (triggerevent && triggerevent.targets && triggerevent.num == triggerevent.targets.length - 1) { - ui.tempnowuxie.close(); - } - } - if (lib.filter.wuxieSwap(event)) { - event.result = { - bool: false - }; - return; - } - } - var ok = game.check(); - if (!ok || !lib.config.auto_confirm) { - game.pause(); - if (lib.config.enable_vibrate && player._noVibrate) { - delete player._noVibrate; - game.vibrate(); - } - if (typeof event.prompt == 'string') { - if (event.openskilldialog) { - event.skillDialog = ui.create.dialog(event.openskilldialog); - delete event.openskilldialog; - event.dialog = event.prompt; - } - else { - event.dialog = ui.create.dialog(event.prompt); - if (event.prompt2) { - event.dialog.addText(event.prompt2); - } - } - } - else if (typeof event.prompt == 'function') { - event.dialog = ui.create.dialog(event.prompt(event)); - } - else if (event.prompt == undefined) { - var str; - if (typeof event.filterCard == 'object') { - var filter = event.filterCard; - str = '请使用' + get.cnNumber(event.selectCard[0]) + '张'; - if (filter.name) { - str += get.translation(filter.name); - } - else { - str += '牌'; - } - } - else { - str = '请选择要使用的牌'; - } - if (event.openskilldialog) { - event.skillDialog = ui.create.dialog(event.openskilldialog); - delete event.openskilldialog; - event.dialog = str; - } - else if (typeof event.skillDialog != 'string') { - event.dialog = ui.create.dialog(str); - } - else { - event.dialog = str; - } - } - } - } - else if (event.isOnline()) { - event.send(); - } - else { - event.result = 'ai'; - } - "step 1"; - if (event.result == 'ai') { - var ok = game.check(); - if (ok) { - ui.click.ok(); - } - else if (ai.basic.chooseCard(event.ai1) || forced) { - if ((ai.basic.chooseTarget(event.ai2) || forced) && (!event.filterOk || event.filterOk())) { - ui.click.ok(); - event._aiexcludeclear = true; - } - else { - if (!event.norestore) { - if (event.skill) { - var skill = event.skill; - ui.click.cancel(); - event._aiexclude.add(skill); - var info = get.info(skill); - if (info.sourceSkill) { - event._aiexclude.add(info.sourceSkill); - } - } - else { - get.card(true).aiexclude(); - game.uncheck(); - } - event.redo(); - game.resume(); - } - else { - ui.click.cancel(); - } - } - } - else if (event.skill && !event.norestore) { - var skill = event.skill; - ui.click.cancel(); - event._aiexclude.add(skill); - var info = get.info(skill); - if (info.sourceSkill) { - event._aiexclude.add(info.sourceSkill); - } - event.redo(); - game.resume(); - } - else { - ui.click.cancel(); - } - if (event.aidelay && event.result && event.result.bool) { - game.delayx(); - } - } - "step 2"; - if (event.endButton) { - event.endButton.close(); - delete event.endButton; - } - event.resume(); - if (event.result) { - if (event.result._sendskill) { - lib.skill[event.result._sendskill[0]] = event.result._sendskill[1]; - } - if (event.result.skill) { - var info = get.info(event.result.skill); - if (info && info.chooseButton) { - if (event.dialog && typeof event.dialog == 'object') event.dialog.close(); - var dialog = info.chooseButton.dialog(event, player); - if (info.chooseButton.chooseControl) { - var next = player.chooseControl(info.chooseButton.chooseControl(event, player)); - if (dialog.direct) next.direct = true; - if (dialog.forceDirect) next.forceDirect = true; - next.dialog = dialog; - next.set('ai', info.chooseButton.check || function () { return 0; }); - if (event.id) next._parent_id = event.id; - next.type = 'chooseToUse_button'; - } - else { - var next = player.chooseButton(dialog); - if (dialog.direct) next.direct = true; - if (dialog.forceDirect) next.forceDirect = true; - next.set('ai', info.chooseButton.check || function () { return 1; }); - next.set('filterButton', info.chooseButton.filter || function () { return true; }); - next.set('selectButton', info.chooseButton.select || 1); - next.set('filterOk', info.chooseButton.filterOk || (() => true)); - if (event.id) next._parent_id = event.id; - next.type = 'chooseToUse_button'; - } - event.buttoned = event.result.skill; - } - else if (info && info.precontent && !game.online && !event.nouse) { - var next = game.createEvent('pre_' + event.result.skill); - next.setContent(info.precontent); - next.set('result', event.result); - next.set('player', player); - } - } - } - "step 3"; - if (event.buttoned) { - if (result.bool || result.control && result.control != 'cancel2') { - var info = get.info(event.buttoned).chooseButton; - lib.skill[event.buttoned + '_backup'] = info.backup(info.chooseControl ? result : result.links, player); - lib.skill[event.buttoned + '_backup'].sourceSkill = event.buttoned; - if (game.online) { - event._sendskill = [event.buttoned + '_backup', lib.skill[event.buttoned + '_backup']]; - } - else { - game.broadcast((skill, audio) => { - if (!lib.skill[skill]) lib.skill[skill] = {}; - lib.skill[skill].audio = audio; - }, event.buttoned + '_backup', lib.skill[event.buttoned + '_backup'].audio); - } - event.backup(event.buttoned + '_backup'); - if (info.prompt) { - event.openskilldialog = info.prompt(info.chooseControl ? result : result.links, player); - } - } - else { - ui.control.animate('nozoom', 100); - event._aiexclude.add(event.buttoned); - } - event.goto(0); - delete event.buttoned; - } - "step 4"; - if (event._aiexcludeclear) { - delete event._aiexcludeclear; - event._aiexclude.length = 0; - } - delete _status.noclearcountdown; - if (event.skillDialog && get.objtype(event.skillDialog) == 'div') { - event.skillDialog.close(); - } - if (event.result && event.result.bool && !game.online && !event.nouse) { - player.useResult(event.result, event); - } - else if (event._sendskill) { - event.result._sendskill = event._sendskill; - } - if ((!event.result || !event.result.bool || event.result._noHidingTimer) && (event.result.skill || event.logSkill)) { - var info = get.info(event.result.skill || event.logSkill); - if (info.direct && !info.clearTime) { - _status.noclearcountdown = 'direct'; - } - } - if (event.dialog && typeof event.dialog == 'object') event.dialog.close(); - if (!_status.noclearcountdown) { - game.stopCountChoose(); - } - "step 5"; - if (event._result && event.result) { - event.result.result = event._result; - } - }, - chooseToRespond: function () { - "step 0"; - if (event.responded) { - delete event.dialog; - return; - } - var skills = player.getSkills('invisible').concat(lib.skill.global); - game.expandSkills(skills); - for (var i = 0; i < skills.length; i++) { - var info = lib.skill[skills[i]]; - if (info && info.onChooseToRespond) { - info.onChooseToRespond(event); - } - } - if (_status.noclearcountdown !== 'direct') _status.noclearcountdown = true; - if (!_status.connectMode && lib.config.skip_shan && event.autochoose && event.autochoose()) { - event.result = { bool: false }; - } - else { - if (game.modeSwapPlayer && !_status.auto && player.isUnderControl()) { - game.modeSwapPlayer(player); - } - if (event.isMine()) { - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { - ui.click.cancel(); - return; - } - var ok = game.check(); - if (!ok || !lib.config.auto_confirm) { - game.pause(); - if (event.openskilldialog) { - event.skillDialog = ui.create.dialog(event.openskilldialog); - delete event.openskilldialog; - event.dialog = event.prompt; - } - else { - if (event.prompt) event.dialog = ui.create.dialog(event.prompt); - if (event.prompt2) event.dialog.addText(event.prompt2); - } - } - } - else if (event.isOnline()) { - event.send(); - } - else { - event.result = 'ai'; - } - } - "step 1"; - if (event.result == 'ai') { - var ok = game.check(); - if (ok) { - ui.click.ok(); - } - else if (ai.basic.chooseCard(event.ai1 || event.ai) || forced) { - if ((ai.basic.chooseTarget(event.ai2) || forced) && (!event.filterOk || event.filterOk())) { - ui.click.ok(); - event._aiexcludeclear = true; - } - else { - if (!event.norestore) { - if (event.skill) { - var skill = event.skill; - ui.click.cancel(); - event._aiexclude.add(skill); - var info = get.info(skill); - if (info.sourceSkill) { - event._aiexclude.add(info.sourceSkill); - } - } - else { - get.card(true).aiexclude(); - game.uncheck(); - } - event.redo(); - game.resume(); - } - else { - ui.click.cancel(); - } - } - } - else if (event.skill && !event.norestore) { - var skill = event.skill; - ui.click.cancel(); - event._aiexclude.add(skill); - var info = get.info(skill); - if (info.sourceSkill) { - event._aiexclude.add(info.sourceSkill); - } - event.redo(); - game.resume(); - } - else { - ui.click.cancel(); - } - if (event.aidelay && event.result && event.result.bool) { - game.delayx(); - } - } - "step 2"; - event.resume(); - if (event.result) { - if (event.result._sendskill) { - lib.skill[event.result._sendskill[0]] = event.result._sendskill[1]; - } - if (event.result.skill) { - var info = get.info(event.result.skill); - if (info && info.chooseButton) { - if (event.dialog && typeof event.dialog == 'object') event.dialog.close(); - var dialog = info.chooseButton.dialog(event, player); - if (info.chooseButton.chooseControl) { - var next = player.chooseControl(info.chooseButton.chooseControl(event, player)); - if (dialog.direct) next.direct = true; - if (dialog.forceDirect) next.forceDirect = true; - next.dialog = dialog; - next.set('ai', info.chooseButton.check || function () { return 0; }); - } - else { - var next = player.chooseButton(dialog); - if (dialog.direct) next.direct = true; - if (dialog.forceDirect) next.forceDirect = true; - next.set('ai', info.chooseButton.check || function () { return 1; }); - next.set('filterButton', info.chooseButton.filter || function () { return true; }); - next.set('selectButton', info.chooseButton.select || 1); - next.set('filterOk', info.chooseButton.filterOk || (() => true)); - } - event.buttoned = event.result.skill; - } - else if (info && info.precontent && !game.online) { - var next = game.createEvent('pre_' + event.result.skill); - next.setContent(info.precontent); - next.set('result', event.result); - next.set('player', player); - } - } - } - "step 3"; - if (event.buttoned) { - if (result.bool || result.control && result.control != 'cancel2') { - var info = get.info(event.buttoned).chooseButton; - lib.skill[event.buttoned + '_backup'] = info.backup(info.chooseControl ? result : result.links, player); - lib.skill[event.buttoned + '_backup'].sourceSkill = event.buttoned; - if (game.online) { - event._sendskill = [event.buttoned + '_backup', lib.skill[event.buttoned + '_backup']]; - } - else { - game.broadcast((skill, audio) => { - if (!lib.skill[skill]) lib.skill[skill] = {}; - lib.skill[skill].audio = audio; - }, event.buttoned + '_backup', lib.skill[event.buttoned + '_backup'].audio); - } - event.backup(event.buttoned + '_backup'); - if (info.prompt) { - event.openskilldialog = info.prompt(info.chooseControl ? result : result.links, player); - } - } - else { - ui.control.animate('nozoom', 100); - event._aiexclude.add(event.buttoned); - } - event.goto(0); - delete event.buttoned; - } - "step 4"; - delete _status.noclearcountdown; - if (event.skillDialog && get.objtype(event.skillDialog) == 'div') { - event.skillDialog.close(); - } - if (event.result.bool && !game.online) { - if (event.result._sendskill) { - lib.skill[event.result._sendskill[0]] = event.result._sendskill[1]; - } - var info = get.info(event.result.skill); - if (event.onresult) { - event.onresult(event.result); - } - if ((!event.result || !event.result.bool || event.result._noHidingTimer) && (event.result.skill || event.logSkill)) { - if (info.direct && !info.clearTime) { - _status.noclearcountdown = 'direct'; - } - } - if (event.logSkill) { - if (typeof event.logSkill == 'string') { - player.logSkill(event.logSkill); - } - else if (Array.isArray(event.logSkill)) { - player.logSkill.apply(player, event.logSkill); - } - } - if (!event.result.card && event.result.skill) { - event.result.used = event.result.skill; - player.useSkill(event.result.skill, event.result.cards, event.result.targets); - } - else { - if (info && info.prerespond) { - info.prerespond(event.result, player); - } - var next = player.respond(event.result.cards, event.result.card, event.animate, event.result.skill, event.source); - if (event.result.noanimate) next.animate = false; - if (event.parent.card && event.parent.type == 'card') { - next.set('respondTo', [event.parent.player, event.parent.card]); - } - if (event.noOrdering) next.noOrdering = true; - } - } - else if (event._sendskill) { - event.result._sendskill = event._sendskill; - } - if (event.dialog && event.dialog.close) event.dialog.close(); - if (!_status.noclearcountdown) { - game.stopCountChoose(); - } - }, - chooseToGive: function () { - "step 0"; - event.result = { - bool: true, - confirm: 'ok', - buttons: [], - links: [], - cards: [], - targets: [], - }; - event.filterCard = (event => { - const filterCard = event.filterCard; - return function (card, player) { - if (!lib.filter.canBeGained(card, this.target, player)) return false; - return filterCard.call(this, card, player); - }; - })(event); - if (event.directresult) { - event.result.cards = event.directresult.slice(0); - event.goto(2); - return; - } - const directFilter = (event.forced && typeof event.filterOk != 'function' && typeof event.selectCard != 'function' && !event.complexCard); - const cards = directFilter ? player.getCards(event.position).filter(card => !card.classList.contains('uncheck') && lib.filter.cardAiIncluded(card) && event.filterCard(card, player)) : []; - const range = get.select(event.selectCard); - if (directFilter && (range[0] >= cards.length || range[1] <= -1)) { - if (player.isOut()) event.result.cards = []; - else event.result.cards = cards; - } - else if (event.isMine()) { - game.check(); - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { - ui.click.cancel(); - return; - } - game.pause(); - if (range[1] > 1 && typeof event.selectCard != 'function') { - event.aiChoose = ui.create.control('AI代选', function () { - ai.basic.chooseCard(event.ai); - if (_status.event.custom && _status.event.custom.add.card) { - _status.event.custom.add.card(); - } - ui.selected.cards.forEach(i => i.updateTransform(true)); - }); - } - if (Array.isArray(event.dialog)) { - event.dialog = ui.create.dialog.apply(this, event.dialog); - event.dialog.open(); - event.dialog.classList.add('noselect'); - } - else if (event.prompt != false) { - let prompt; - if (typeof event.prompt == 'string') prompt = event.prompt; - else { - let select; - if (range[0] == range[1]) select = get.cnNumber(range[0]); - else if (range[1] == Infinity) select = '至少' + get.cnNumber(range[0]); - else select = get.cnNumber(range[0]) + '至' + get.cnNumber(range[1]); - const position = event.position == 'h' ? '手' : event.position == 'e' ? '装备' : ''; - prompt = `请交给${get.translation(target)}${select}张${position}牌`; - } - event.dialog = ui.create.dialog(prompt); - if (event.prompt2) { - event.dialog.addText(event.prompt2, event.prompt2.length <= 20); - } - if (Array.isArray(event.promptx)) { - event.promptx.forEach(i => event.dialog.add(i)); - } - if (Array.isArray(event.selectCard)) { - event.promptbar = event.dialog.add('0/' + get.numStr(event.selectCard[1], 'card')); - event.custom.add.card = function () { - _status.event.promptbar.innerHTML = - ui.selected.cards.length + '/' + get.numStr(_status.event.selectCard[1], 'card'); - }; - } - } - else if (get.itemtype(event.dialog) == 'dialog') { - event.dialog.style.display = ''; - event.dialog.open(); - } - } - else if (event.isOnline()) { - event.send(); - } - else { - event.result = 'ai'; - } - "step 1"; - if (event.result == 'ai') { - game.check(); - if ((ai.basic.chooseCard(event.ai) || forced) && (!event.filterOk || event.filterOk())) { - ui.click.ok(); - } - else if (event.skill) { - ui.click.cancel(); - event._aiexclude.add(event.skill); - event.redo(); - game.resume(); - } - else { - ui.click.cancel(); - } - } - "step 2"; - event.resume(); - if (event.aiChoose) event.aiChoose.close(); - if (event.glow_result && event.result.cards && !event.directresult) { - event.result.cards.forEach(i => i.classList.add('glow')); - } - if (event.dialog) event.dialog.close(); - "step 3"; - if (event.result.bool && event.result.cards && !game.online) { - event.cards = event.result.cards.slice(0); - if (event.logSkill) { - if (Array.isArray(event.logSkill)) player.logSkill(...event.logSkill); - else player.logSkill(event.logSkill); - } - if (event.autodelay && !event.isMine()) { - if (typeof event.autodelay == 'number') game.delayx(event.autodelay); - else game.delayx(); - } - } - else event.finish(); - "step 4"; - if (event.boolline) player.line(target, 'green'); - event.done = target.gain(event.cards, player); - event.done.giver = player; - if (event.delay !== false) event.done.animate = event.visibleMove ? 'give' : 'giveAuto'; - else { - target[event.visibleMove ? '$give' : '$giveAuto'](cards, player); - if (event.visibleMove) event.done.visible = true; - } - }, - chooseToDiscard: function () { - "step 0"; - if (event.autochoose()) { - event.result = { - bool: true, - autochoose: true, - cards: player.getCards(event.position), - rawcards: player.getCards(event.position), - }; - for (var i = 0; i < event.result.cards.length; i++) { - if (!lib.filter.cardDiscardable(event.result.cards[i], player, event)) { - event.result.cards.splice(i--, 1); - } - } - } - else { - // &&!lib.filter.wuxieSwap(trigger) - if (game.modeSwapPlayer && !_status.auto && player.isUnderControl()) { - game.modeSwapPlayer(player); - } - event.rangecards = player.getCards(event.position); - for (var i = 0; i < event.rangecards.length; i++) { - if (lib.filter.cardDiscardable(event.rangecards[i], player, event)) { - event.rangecards.splice(i--, 1); - } - else { - event.rangecards[i].uncheck('chooseToDiscard'); - } - } - var range = get.select(event.selectCard); - if (event.isMine()) { - game.check(); - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { - ui.click.cancel(); - return; - } - game.pause(); - if (range[1] > 1 && typeof event.selectCard != 'function') { - event.promptdiscard = ui.create.control('AI代选', function () { - ai.basic.chooseCard(event.ai); - if (_status.event.custom && _status.event.custom.add.card) { - _status.event.custom.add.card(); - } - for (var i = 0; i < ui.selected.cards.length; i++) { - ui.selected.cards[i].updateTransform(true); - } - }); - } - if (Array.isArray(event.dialog)) { - event.dialog = ui.create.dialog.apply(this, event.dialog); - event.dialog.open(); - event.dialog.classList.add('noselect'); - } - else if (event.prompt != false) { - var str; - if (typeof (event.prompt) == 'string') str = event.prompt; - else { - str = '请弃置'; - if (range[0] == range[1]) str += get.cnNumber(range[0]); - else if (range[1] == Infinity) str += '至少' + get.cnNumber(range[0]); - else str += get.cnNumber(range[0]) + '至' + get.cnNumber(range[1]); - str += '张'; - if (event.position == 'h' || event.position == undefined) str += '手'; - if (event.position == 'e') str += '装备'; - str += '牌'; - } - event.dialog = ui.create.dialog(str); - if (event.prompt2) { - event.dialog.addText(event.prompt2, event.prompt2.length <= 20); - } - if (Array.isArray(event.selectCard)) { - event.promptbar = event.dialog.add('0/' + get.numStr(event.selectCard[1], 'card')); - event.custom.add.card = function () { - _status.event.promptbar.innerHTML = - ui.selected.cards.length + '/' + get.numStr(_status.event.selectCard[1], 'card'); - }; - } - } - else if (get.itemtype(event.dialog) == 'dialog') { - event.dialog.style.display = ''; - event.dialog.open(); - } - } - else if (event.isOnline()) { - event.send(); - } - else { - event.result = 'ai'; - } - } - "step 1"; - if (event.result == 'ai') { - game.check(); - if ((ai.basic.chooseCard(event.ai) || forced) && (!event.filterOk || event.filterOk())) { - ui.click.ok(); - } - else if (event.skill) { - var skill = event.skill; - ui.click.cancel(); - event._aiexclude.add(skill); - event.redo(); - game.resume(); - } - else { - ui.click.cancel(); - } - } - if (event.rangecards) { - for (var i = 0; i < event.rangecards.length; i++) { - event.rangecards[i].recheck('chooseToDiscard'); - } - } - "step 2"; - event.resume(); - if (event.promptdiscard) { - event.promptdiscard.close(); - } - "step 3"; - if (event.result.bool && event.result.cards && event.result.cards.length && - !game.online && event.autodelay && !event.isMine()) { - if (typeof event.autodelay == 'number') { - game.delayx(event.autodelay); - } - else { - game.delayx(); - } - } - "step 4"; - if (event.logSkill && event.result.bool && !game.online) { - if (typeof event.logSkill == 'string') { - player.logSkill(event.logSkill); - } - else if (Array.isArray(event.logSkill)) { - player.logSkill.apply(player, event.logSkill); - } - } - if (!game.online) { - if (typeof event.delay == 'boolean') { - event.done = player.discard(event.result.cards).set('delay', event.delay); - } - else { - event.done = player.discard(event.result.cards); - } - event.done.discarder = player; - } - if (event.dialog && event.dialog.close) event.dialog.close(); - }, - gaincardMultiple: function () { - 'step 0'; - event.type = 'gain'; - if (event.animate == 'give' || event.animate == 'gain2') event.visible = true; - if (player && cards) { - event._lose = true; - player.lose(cards, ui.special).set('type', 'gain').set('forceDie', true).set('getlx', false); - } - 'step 1'; - switch (event.animate) { - case 'draw': - game.delay(0, get.delayx(500, 500)); - for (var i of event.gain_list) { - if (get.itemtype(i[1]) == 'card') i[1] = [i[1]]; - if (event._lose) { - i[1] = i[1].filter(card => { - return !cards.contains(card) || !player.getCards('hejsx').contains(card); - }); - } - if (i[1].length > 0) i[0].$draw(i[1].length); - } - break; - case 'gain': - game.delay(0, get.delayx(700, 700)); - for (var i of event.gain_list) { - if (get.itemtype(i[1]) == 'card') i[1] = [i[1]]; - if (event._lose) { - i[1] = i[1].filter(card => { - return !cards.contains(card) || !player.getCards('hejsx').contains(card); - }); - } - if (i[1].length > 0) i[0].$gain(i[1].length); - } - break; - case 'gain2': case 'draw2': - game.delay(0, get.delayx(500, 500)); - for (var i of event.gain_list) { - if (get.itemtype(i[1]) == 'card') i[1] = [i[1]]; - if (event._lose) { - i[1] = i[1].filter(card => { - return !cards.contains(card) || !player.getCards('hejsx').contains(card); - }); - } - if (i[1].length > 0) i[0].$gain2(i[1]); - } - break; - case 'give': case 'giveAuto': - if (!player) break; - var evt = event.getl(player); - game.delay(0, get.delayx(500, 500)); - for (var i of event.gain_list) { - if (get.itemtype(i[1]) == 'card') i[1] = [i[1]]; - if (event._lose) { - i[1] = i[1].filter(card => { - return !cards.contains(card) || !player.getCards('hejsx').contains(card); - }); - } - var shown = i[1].slice(0), hidden = []; - if (event.animate == 'giveAuto') { - for (var card of i[1]) { - if (evt.hs.contains(card)) { - shown.remove(card); - hidden.push(card); - } - } - } - if (shown.length > 0) player.$give(shown, i[0]); - if (hidden.length > 0) player.$giveAuto(hidden, i[0]); - } - break; - default: - event.finish(); - } - for (var i of event.gain_list) { - if (i[1].length > 0) { - var next = i[0].gain(i[1]); - next.getlx = false; - if (event.visible) next.visible = true; - if (event.giver) next.giver = event.giver; - if (event.gaintag) next.gaintag.addArray(event.gaintag); - } - } - 'step 2'; - game.delayx(); - }, - discardMultiple: function () { - 'step 0'; - event.type = 'discard'; - event.visible = true; - if (!event.position) event.position = ui.discardPile; - var cards = []; - event.cards = cards; - for (var i = 0; i < event.lose_list.length; i++) { - var next = event.lose_list[i][0].lose(event.lose_list[i][1], event.position); - game.log(event.lose_list[i][0], '弃置了', event.lose_list[i][1]); - next.type = 'discard'; - next.animate = false; - next.delay = false; - cards.addArray(event.lose_list[i][1]); - next.getlx = false; - } - var evt = event; - if (evt.animate != false) { - evt.discardid = lib.status.videoId++; - game.broadcastAll(function (list, id, cards) { - for (var i of list) { - for (var j of i[1]) { - j.classList.remove('glow'); - j.classList.remove('glows'); - } - i[0].$throw(i[1], null, 'nobroadcast'); - } - var cardnodes = []; - cardnodes._discardtime = get.time(); - for (var ix of list) { - var card = ix[1]; - for (var i = 0; i < cards.length; i++) { - if (cards[i].clone) { - cardnodes.push(cards[i].clone); - } - } - } - ui.todiscard[id] = cardnodes; - }, event.lose_list, evt.discardid, cards); - if (lib.config.sync_speed && cards[0] && cards[0].clone) { - if (evt.delay != false) { - var waitingForTransition = get.time(); - evt.waitingForTransition = waitingForTransition; - cards[0].clone.listenTransition(function () { - if (_status.waitingForTransition == waitingForTransition && _status.paused) { - game.resume(); - } - delete evt.waitingForTransition; - }); - } - else if (evt.getParent().discardTransition) { - delete evt.getParent().discardTransition; - var waitingForTransition = get.time(); - evt.getParent().waitingForTransition = waitingForTransition; - cards[0].clone.listenTransition(function () { - if (_status.waitingForTransition == waitingForTransition && _status.paused) { - game.resume(); - } - delete evt.getParent().waitingForTransition; - }); - } - } - } - 'step 1'; - if (event.delay != false) { - if (event.waitingForTransition) { - _status.waitingForTransition = event.waitingForTransition; - game.pause(); - } - else { - game.delayx(); - } - } - }, - chooseToCompareLose: function () { - for (var i = 0; i < event.lose_list.length; i++) { - var next = event.lose_list[i][0].lose(event.lose_list[i][1], ui.ordering); - next.relatedEvent = event.getParent(); - next.getlx = false; - } - }, - chooseToCompareMeanwhile: function () { - 'step 0'; - if (player.countCards('h') == 0) { - event.result = { cancelled: true, bool: false }; - event.finish(); - return; - } - for (var i = 0; i < targets.length; i++) { - if (targets[i].countCards('h') == 0) { - event.result = { cancelled: true, bool: false }; - event.finish(); - return; - } - } - if (!event.multitarget) { - targets.sort(lib.sort.seat); - } - game.log(player, '对', targets, '发起了共同拼点'); - event.compareMeanwhile = true; - 'step 1'; - event._result = []; - event.list = targets.filter(function (current) { - return !event.fixedResult || !event.fixedResult[current.playerid]; - }); - if (event.list.length || !event.fixedResult || !event.fixedResult[player.playerid]) { - if (!event.fixedResult || !event.fixedResult[player.playerid]) event.list.unshift(player); - player.chooseCardOL(event.list, '请选择拼点牌', true).set('type', 'compare').set('ai', event.ai).set('source', player).aiCard = function (target) { - var hs = target.getCards('h'); - var event = _status.event; - event.player = target; - hs.sort(function (a, b) { - return event.ai(b) - event.ai(a); - }); - delete event.player; - return { bool: true, cards: [hs[0]] }; - }; - } - 'step 2'; - var cards = []; - var lose_list = []; - if (event.fixedResult && event.fixedResult[player.playerid]) { - event.list.unshift(player); - result.unshift({ bool: true, cards: [event.fixedResult[player.playerid]] }); - lose_list.push([player, [event.fixedResult[player.playerid]]]); - } - else { - if (result[0].skill && lib.skill[result[0].skill] && lib.skill[result[0].skill].onCompare) { - player.logSkill(result[0].skill); - result[0].cards = lib.skill[result[0].skill].onCompare(player); - } - else lose_list.push([player, result[0].cards]); - } - for (var j = 0; j < targets.length; j++) { - if (event.list.contains(targets[j])) { - var i = event.list.indexOf(targets[j]); - if (result[i].skill && lib.skill[result[i].skill] && lib.skill[result[i].skill].onCompare) { - event.list[i].logSkill(result[i].skill); - result[i].cards = lib.skill[result[i].skill].onCompare(event.list[i]); - } - else lose_list.push([targets[j], result[i].cards]); - cards.push(result[i].cards[0]); - } - else if (event.fixedResult && event.fixedResult[targets[j].playerid]) { - cards.push(event.fixedResult[targets[j].playerid]); - lose_list.push([targets[j], [event.fixedResult[targets[j].playerid]]]); - } - } - if (lose_list.length) { - game.loseAsync({ - lose_list: lose_list, - }).setContent('chooseToCompareLose'); - } - event.lose_list = lose_list; - event.getNum = function (card) { - for (var i of event.lose_list) { - if (i[1].contains && i[1].contains(card)) return get.number(card, i[0]); - } - return get.number(card, false); - }; - event.cardlist = cards; - event.cards = cards; - event.card1 = result[0].cards[0]; - event.num1 = event.getNum(event.card1); - event.iwhile = 0; - event.winner = null; - event.maxNum = -1; - event.tempplayer = event.player; - event.result = { - winner: null, - player: event.card1, - targets: event.cardlist.slice(0), - num1: [], - num2: [], - }; - 'step 3'; - event.trigger('compareCardShowBefore'); - 'step 4'; - player.$compareMultiple(event.card1, targets, cards); - game.log(player, '的拼点牌为', event.card1); - event.cardlist.forEach((card, index) => { - game.log(targets[index], '的拼点牌为', card); - }); - player.animate('target'); - game.delay(0, 1000); - 'step 5'; - event.target = null; - event.trigger('compare'); - 'step 6'; - if (event.iwhile < targets.length) { - event.target = targets[event.iwhile]; - event.target.animate('target'); - event.card2 = event.cardlist[event.iwhile]; - event.num2 = event.getNum(event.card2); - //event.tempplayer.line(event.target); - delete event.player; - event.trigger('compare'); - } - else { - game.delay(0, 1000); - event.goto(9); - } - 'step 7'; - event.result.num1[event.iwhile] = event.num1; - event.result.num2[event.iwhile] = event.num2; - var list = [[event.tempplayer, event.num1], [event.target, event.num2]]; - for (var i of list) { - if (i[1] > event.maxNum) { - event.maxNum = i[1]; - event.winner = i[0]; - } - else if (event.winner && i[1] == event.maxNum && i[0] != event.winner) { - event.winner = null; - } - } - 'step 8'; - event.iwhile++; - event.goto(6); - 'step 9'; - var player = event.tempplayer; - event.player = player; - delete event.tempplayer; - var str = '无人拼点成功'; - if (event.winner) { - event.result.winner = event.winner; - str = get.translation(event.winner) + '拼点成功'; - game.log(event.winner, '拼点成功'); - event.winner.popup('胜'); - } else game.log('#b无人', '拼点成功'); - var list = [player].addArray(targets); - list.remove(event.winner); - for (var i of list) { - i.popup('负'); - } - if (str) { - game.broadcastAll(function (str) { - var dialog = ui.create.dialog(str); - dialog.classList.add('center'); - setTimeout(function () { - dialog.close(); - }, 1000); - }, str); - } - game.delay(3); - 'step 10'; - game.broadcastAll(ui.clear); - 'step 11'; - event.cards.add(event.card1); - }, - chooseToCompareMultiple: function () { - "step 0"; - if (player.countCards('h') == 0) { - event.result = { cancelled: true, bool: false }; - event.finish(); - return; - } - for (var i = 0; i < targets.length; i++) { - if (targets[i].countCards('h') == 0) { - event.result = { cancelled: true, bool: false }; - event.finish(); - return; - } - } - if (!event.multitarget) { - targets.sort(lib.sort.seat); - } - game.log(player, '对', targets, '发起拼点'); - "step 1"; - event._result = []; - event.list = targets.filter(function (current) { - return !event.fixedResult || !event.fixedResult[current.playerid]; - }); - if (event.list.length || !event.fixedResult || !event.fixedResult[player.playerid]) { - if (!event.fixedResult || !event.fixedResult[player.playerid]) event.list.unshift(player); - player.chooseCardOL(event.list, '请选择拼点牌', true).set('type', 'compare').set('ai', event.ai).set('source', player).aiCard = function (target) { - var hs = target.getCards('h'); - var event = _status.event; - event.player = target; - hs.sort(function (a, b) { - return event.ai(b) - event.ai(a); - }); - delete event.player; - return { bool: true, cards: [hs[0]] }; - }; - } - "step 2"; - var cards = []; - var lose_list = []; - if (event.fixedResult && event.fixedResult[player.playerid]) { - event.list.unshift(player); - result.unshift({ bool: true, cards: [event.fixedResult[player.playerid]] }); - lose_list.push([player, [event.fixedResult[player.playerid]]]); - } - else { - if (result[0].skill && lib.skill[result[0].skill] && lib.skill[result[0].skill].onCompare) { - player.logSkill(result[0].skill); - result[0].cards = lib.skill[result[0].skill].onCompare(player); - } - else lose_list.push([player, result[0].cards]); - } - for (var j = 0; j < targets.length; j++) { - if (event.list.contains(targets[j])) { - var i = event.list.indexOf(targets[j]); - if (result[i].skill && lib.skill[result[i].skill] && lib.skill[result[i].skill].onCompare) { - event.list[i].logSkill(result[i].skill); - result[i].cards = lib.skill[result[i].skill].onCompare(event.list[i]); - } - else lose_list.push([targets[j], result[i].cards]); - cards.push(result[i].cards[0]); - } - else if (event.fixedResult && event.fixedResult[targets[j].playerid]) { - cards.push(event.fixedResult[targets[j].playerid]); - lose_list.push([targets[j], [event.fixedResult[targets[j].playerid]]]); - } - } - if (lose_list.length) { - game.loseAsync({ - lose_list: lose_list, - }).setContent('chooseToCompareLose'); - } - event.lose_list = lose_list; - event.getNum = function (card) { - for (var i of event.lose_list) { - if (i[1].contains && i[1].contains(card)) return get.number(card, i[0]); - } - return get.number(card, false); - }; - event.cardlist = cards; - event.cards = cards; - event.card1 = result[0].cards[0]; - event.num1 = event.getNum(event.card1); - event.iwhile = 0; - event.result = { - player: event.card1, - targets: event.cardlist.slice(0), - num1: [], - num2: [], - }; - "step 3"; - event.trigger('compareCardShowBefore'); - "step 4"; - game.log(player, '的拼点牌为', event.card1); - "step 5"; - if (event.iwhile < targets.length) { - event.target = targets[event.iwhile]; - event.target.animate('target'); - player.animate('target'); - event.card2 = event.cardlist[event.iwhile]; - event.num2 = event.getNum(event.card2); - game.log(event.target, '的拼点牌为', event.card2); - player.line(event.target); - player.$compare(event.card1, event.target, event.card2); - event.trigger('compare'); - game.delay(0, 1500); - } - else { - event.goto(9); - } - "step 6"; - event.result.num1[event.iwhile] = event.num1; - event.result.num2[event.iwhile] = event.num2; - var str; - if (event.num1 > event.num2) { - str = get.translation(player) + '拼点成功'; - player.popup('胜'); - target.popup('负'); - } - else { - str = get.translation(player) + '拼点失败'; - if (event.num1 == event.num2) { - player.popup('平'); - target.popup('平'); - } - else { - player.popup('负'); - target.popup('胜'); - } - } - game.broadcastAll(function (str) { - var dialog = ui.create.dialog(str); - dialog.classList.add('center'); - setTimeout(function () { - dialog.close(); - }, 1000); - }, str); - game.delay(2); - "step 7"; - if (event.callback) { - game.broadcastAll(function (card1, card2) { - if (card1.clone) card1.clone.style.opacity = 0.5; - if (card2.clone) card2.clone.style.opacity = 0.5; - }, event.card1, event.card2); - var next = game.createEvent('compareMultiple'); - next.player = player; - next.target = event.target; - next.card1 = event.card1; - next.card2 = event.card2; - next.num1 = event.num1; - next.num2 = event.num2; - next.setContent(event.callback); - event.compareMultiple = true; - } - "step 8"; - game.broadcastAll(ui.clear); - event.iwhile++; - event.goto(5); - "step 9"; - event.cards.add(event.card1); - }, - chooseToCompare: function () { - "step 0"; - if (((!event.fixedResult || !event.fixedResult[player.playerid]) && player.countCards('h') == 0) || ((!event.fixedResult || !event.fixedResult[target.playerid]) && target.countCards('h') == 0)) { - event.result = { cancelled: true, bool: false }; - event.finish(); - return; - } - game.log(player, '对', target, '发起拼点'); - event.lose_list = []; - "step 1"; - var sendback = function () { - if (_status.event != event) { - return function () { - event.resultOL = _status.event.resultOL; - }; - } - }; - if (event.fixedResult && event.fixedResult[player.playerid]) { - event.card1 = event.fixedResult[player.playerid]; - event.lose_list.push([player, event.card1]); - } - else if (player.isOnline()) { - player.wait(sendback); - event.ol = true; - player.send(function (ai) { - game.me.chooseCard('请选择拼点牌', true).set('type', 'compare').set('glow_result', true).ai = ai; - game.resume(); - }, event.ai); - } - else { - event.localPlayer = true; - player.chooseCard('请选择拼点牌', true).set('type', 'compare').set('glow_result', true).ai = event.ai; - } - if (event.fixedResult && event.fixedResult[target.playerid]) { - event.card2 = event.fixedResult[target.playerid]; - event.lose_list.push([target, event.card2]); - } - else if (target.isOnline()) { - target.wait(sendback); - event.ol = true; - target.send(function (ai) { - game.me.chooseCard('请选择拼点牌', true).set('type', 'compare').set('glow_result', true).ai = ai; - game.resume(); - }, event.ai); - } - else { - event.localTarget = true; - } - "step 2"; - if (event.localPlayer) { - if (result.skill && lib.skill[result.skill] && lib.skill[result.skill].onCompare) { - result.cards = lib.skill[result.skill].onCompare(player); - player.logSkill(result.skill); - } - else event.lose_list.push([player, result.cards[0]]); - event.card1 = result.cards[0]; - } - if (event.localTarget) { - target.chooseCard('请选择拼点牌', true).set('type', 'compare').set('glow_result', true).ai = event.ai; - } - "step 3"; - if (event.localTarget) { - if (result.skill && lib.skill[result.skill] && lib.skill[result.skill].onCompare) { - target.logSkill(result.skill); - result.cards = lib.skill[result.skill].onCompare(target); - } - else event.lose_list.push([target, result.cards[0]]); - event.card2 = result.cards[0]; - } - if (!event.resultOL && event.ol) { - game.pause(); - } - "step 4"; - try { - if (!event.card1) { - if (event.resultOL[player.playerid].skill && lib.skill[event.resultOL[player.playerid].skill] && lib.skill[event.resultOL[player.playerid].skill].onCompare) { - player.logSkill(event.resultOL[player.playerid].skill); - event.resultOL[player.playerid].cards = lib.skill[event.resultOL[player.playerid].skill].onCompare(player); - } - else event.lose_list.push([player, event.resultOL[player.playerid].cards[0]]); - event.card1 = event.resultOL[player.playerid].cards[0]; - } - if (!event.card2) { - if (event.resultOL[target.playerid].skill && lib.skill[event.resultOL[target.playerid].skill] && lib.skill[event.resultOL[target.playerid].skill].onCompare) { - target.logSkill(event.resultOL[target.playerid].skill); - event.resultOL[target.playerid].cards = lib.skill[event.resultOL[target.playerid].skill].onCompare(player); - } - else event.lose_list.push([target, event.resultOL[target.playerid].cards[0]]); - event.card2 = event.resultOL[target.playerid].cards[0]; - } - if (!event.card1 || !event.card2) { - throw ('err'); - } - } - catch (e) { - console.log(e); - game.print(e); - event.finish(); - return; - } - if (event.card2.number >= 10 || event.card2.number <= 4) { - if (target.countCards('h') > 2) { - event.addToAI = true; - } - } - if (event.lose_list.length) { - game.loseAsync({ - lose_list: event.lose_list, - }).setContent('chooseToCompareLose'); - } - "step 5"; - event.trigger('compareCardShowBefore'); - "step 6"; - game.broadcast(function () { - ui.arena.classList.add('thrownhighlight'); - }); - ui.arena.classList.add('thrownhighlight'); - game.addVideo('thrownhighlight1'); - player.$compare(event.card1, target, event.card2); - game.log(player, '的拼点牌为', event.card1); - game.log(target, '的拼点牌为', event.card2); - var getNum = function (card) { - for (var i of event.lose_list) { - if (i[1] == card) return get.number(card, i[0]); - } - return get.number(card, false); - }; - event.num1 = getNum(event.card1); - event.num2 = getNum(event.card2); - event.trigger('compare'); - game.delay(0, 1500); - "step 7"; - event.result = { - player: event.card1, - target: event.card2, - num1: event.num1, - num2: event.num2 - }; - var str; - if (event.num1 > event.num2) { - event.result.bool = true; - event.result.winner = player; - str = get.translation(player) + '拼点成功'; - player.popup('胜'); - target.popup('负'); - } - else { - event.result.bool = false; - str = get.translation(player) + '拼点失败'; - if (event.num1 == event.num2) { - event.result.tie = true; - player.popup('平'); - target.popup('平'); - } - else { - event.result.winner = target; - player.popup('负'); - target.popup('胜'); - } - } - game.broadcastAll(function (str) { - var dialog = ui.create.dialog(str); - dialog.classList.add('center'); - setTimeout(function () { - dialog.close(); - }, 1000); - }, str); - game.delay(2); - "step 8"; - if (typeof event.target.ai.shown == 'number' && event.target.ai.shown <= 0.85 && event.addToAI) { - event.target.ai.shown += 0.1; - } - game.broadcastAll(function () { - ui.arena.classList.remove('thrownhighlight'); - }); - game.addVideo('thrownhighlight2'); - if (event.clear !== false) { - game.broadcastAll(ui.clear); - } - if (typeof event.preserve == 'function') { - event.preserve = event.preserve(event.result); - } - else if (event.preserve == 'win') { - event.preserve = event.result.bool; - } - else if (event.preserve == 'lose') { - event.preserve = !event.result.bool; - } - }, - chooseSkill: function () { - 'step 0'; - var list; - if (typeof event.target == 'string') { - list = get.gainableSkillsName(event.target, event.func); - } - else { - list = event.target.getGainableSkills(event.func); - } - if (!list.length) { - event.finish(); - event.result = { bool: false }; - return; - } - event.skillai = function (list) { - return get.max(list, get.skillRank, 'item'); - }; - if (event.isMine()) { - var dialog = ui.create.dialog('forcebutton'); - dialog.add(event.prompt || '选择获得一项技能'); - _status.event.list = list; - var clickItem = function () { - _status.event._result = this.link; - game.resume(); - }; - for (i = 0; i < list.length; i++) { - if (lib.translate[list[i] + '_info']) { - var translation = get.translation(list[i]); - if (translation[0] == '新' && translation.length == 3) { - translation = translation.slice(1, 3); - } - else { - translation = translation.slice(0, 2); - } - var item = dialog.add(''); - item.firstChild.addEventListener('click', clickItem); - item.firstChild.link = list[i]; - } - } - dialog.add(ui.create.div('.placeholder')); - event.dialog = dialog; - event.switchToAuto = function () { - event._result = event.skillai(event.list); - game.resume(); - }; - _status.imchoosing = true; - game.pause(); - } - else { - event._result = event.skillai(list); - } - 'step 1'; - _status.imchoosing = false; - if (event.dialog) { - event.dialog.close(); - } - event.result = { bool: true, skill: result }; - }, - discoverCard: function () { - 'step 0'; - var num = event.num || 3; - var choice; - if (typeof event.list == 'string' || typeof event.list == 'function') { - choice = get.inpile(event.list).randomGets(num); - } - else if (Array.isArray(event.list)) { - choice = event.list.randomGets(num); - } - else { - choice = Array.from(event.list).randomGets(num); - } - if (choice.length) { - var prompt = event.prompt; - if (!prompt) { - prompt = '选择一张牌'; - if (event.use) { - prompt += '使用之'; - } - else if (!event.nogain) { - prompt += '获得之'; - } - } - if (typeof choice[0] === 'string') { - var next = player.chooseVCardButton(choice, prompt, event.forced); - if (event.ai) { - next.set('ai', event.ai); - } - } - else if (get.itemtype(choice[0]) == 'card') { - var next = player.chooseCardButton(choice, prompt, event.forced); - if (event.ai) { - next.set('ai', event.ai); - } - } - else { - event.finish(); - } - } - else { - event.finish(); - } - 'step 1'; - event.result = { - bool: result.bool, - card: null, - choice: null - }; - if (result.bool && result.links.length) { - var link = result.links[0]; - var togain = null; - if (get.itemtype(link) == 'card') { - event.result.card = link; - togain = link; - } - else if (Array.isArray(link)) { - event.result.choice = link[2]; - togain = game.createCard(link[2]); - } - if (togain) { - if (event.use) { - player.chooseUseTarget(togain); - } - else if (!event.nogain) { - player.gain(togain, 'draw'); - game.log(player, '获得了一张牌'); - } - } - } - }, - chooseButton: function () { - "step 0"; - if (typeof event.dialog == 'number') { - event.dialog = get.idDialog(event.dialog); - } - if (event.createDialog && !event.dialog) { - if (Array.isArray(event.createDialog)) { - event.createDialog.add('hidden'); - event.dialog = ui.create.dialog.apply(this, event.createDialog); - } - event.closeDialog = true; - } - if (event.dialog == undefined) event.dialog = ui.dialog; - if (event.isMine() || event.dialogdisplay) { - event.dialog.style.display = ''; - event.dialog.open(); - } - var filterButton = event.filterButton || function () { return true; }; - var selectButton = get.select(event.selectButton); - var buttons = event.dialog.buttons; - var buttonsx = []; - var num = 0; - for (var i = 0; i < buttons.length; i++) { - var button = buttons[i]; - if (filterButton(button, player)) { - num++; - buttonsx.add(button); - } - } - if (event.isMine()) { - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { - ui.click.cancel(); - return; - } - else if (event.direct && num == selectButton[0] || event.forceDirect) { - var buttons = buttonsx.slice(0, num); - event.result = { - bool: true, - button: [buttons], - links: get.links(buttons), - }; - event.dialog.close(); - } - else { - game.check(); - game.pause(); - } - } - else if (event.isOnline()) { - if (event.direct && num == 1 || event.forceDirect) { - var buttons = buttonsx.slice(0, num); - event.result = { - bool: true, - button: [buttons], - links: get.links(buttons), - }; - event.dialog.close(); - } - else { - event.send(); - } - delete event.callback; - } - else { - event.result = 'ai'; - } - if (event.onfree) { - lib.init.onfree(); - } - "step 1"; - if (event.result == 'ai') { - if (event.processAI) { - event.result = event.processAI(); - } - else { - game.check(); - if ((ai.basic.chooseButton(event.ai) || forced) && (!event.filterOk || event.filterOk())) ui.click.ok(); - else ui.click.cancel(); - } - } - if (event.closeDialog) { - event.dialog.close(); - } - if (event.callback) { - event.callback(event.player, event.result); - } - event.resume(); - }, - chooseCardOL: function () { - 'step 0'; - event.targets = event.list.slice(0); - if (!_status.connectMode) { - event.result = []; - event.goto(7); - } - else { - for (var i = 0; i < event.list.length; i++) { - var target = event.list[i]; - target.wait(); - if (target.isOnline()) { - target.send(function (args, set) { - game.me.chooseCard.apply(game.me, args).set(set); - game.resume(); - }, event._args, event._set); - event.list.splice(i--, 1); - } - else if (target == game.me) { - event.withme = true; - event.list.splice(i--, 1); - } - } - } - 'step 1'; - if (event.list.length) { - event.target = event.list.shift(); - event.target.chooseCard.apply(event.target, event._args).set(event._set); - } - else { - event.goto(3); - } - 'step 2'; - event.target.unwait(result); - event.goto(1); - 'step 3'; - if (event.withme) { - game.me.chooseCard.apply(game.me, event._args).set(event._set); - } - else { - event.goto(5); - } - 'step 4'; - game.me.unwait(result); - 'step 5'; - if (!event.resultOL) { - game.pause(); - } - 'step 6'; - event.result = []; - for (var i = 0; i < event.targets.length; i++) { - event.result[i] = event.resultOL[event.targets[i].playerid] || {}; - if (event.result[i] == 'ai' && event.aiCard) { - event.result[i] = event.aiCard(event.targets[i]); - } - } - event.finish(); - 'step 7'; - if (event.list.length) { - event.target = event.list.shift(); - event.target.chooseCard.apply(event.target, event._args).set(event._set); - } - else { - for (var i = 0; i < event.targets.length; i++) { - if (!event.result[i]) { - event.result[i] = {}; - } - } - event.finish(); - } - 'step 8'; - event.result[event.targets.indexOf(event.target)] = result; - event.goto(7); - }, - chooseButtonOL: function () { - 'step 0'; - //ui.arena.classList.add('markhidden'); - for (var i = 0; i < event.list.length; i++) { - var current = event.list[i]; - current[0].wait(); - if (current[0].isOnline()) { - var target = current.shift(); - target.send(function (args, callback, switchToAuto, processAI) { - //ui.arena.classList.add('markhidden'); - var next = game.me.chooseButton.apply(game.me, args); - next.callback = callback; - next.switchToAuto = switchToAuto; - next.processAI = processAI; - next.complexSelect = true; - game.resume(); - }, current, event.callback, event.switchToAuto, event.processAI); - target._choose_button_ol = current; - event.list.splice(i--, 1); - } - else if (current[0] == game.me) { - event.last = current; - event.last.shift(); - event.list.splice(i--, 1); - } - } - 'step 1'; - if (event.list.length) { - var current = event.list.shift(); - event.target = current.shift(); - var next = event.target.chooseButton.apply(event.target, current); - next.callback = event.callback; - next.switchToAuto = event.switchToAuto; - next.processAI = event.processAI; - } - else { - event.goto(3); - } - 'step 2'; - event.target.unwait(result); - event.goto(1); - 'step 3'; - if (event.last) { - var next = game.me.chooseButton.apply(game.me, event.last); - next.callback = event.callback; - next.switchToAuto = event.switchToAuto; - next.processAI = event.processAI; - } - else { - event.goto(5); - } - 'step 4'; - game.me.unwait(result); - 'step 5'; - if (!event.resultOL) { - game.pause(); - } - 'step 6'; - /*game.broadcastAll(function(){ - ui.arena.classList.remove('markhidden'); - });*/ - event.result = event.resultOL; - }, - chooseCard: function () { - "step 0"; - if (event.directresult) { - event.result = { - buttons: [], - cards: event.directresult.slice(0), - targets: [], - confirm: 'ok', - bool: true, - links: [] - }; - } - else { - if (event.isMine()) { - game.check(); - game.pause(); - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { - ui.click.cancel(); - return; - } - if (event.prompt != false) { - var str; - if (typeof event.prompt == 'string') str = event.prompt; - else { - str = '请选择'; - var range = get.select(event.selectCard); - if (range[0] == range[1]) str += get.cnNumber(range[0]); - else if (range[1] == Infinity) str += '至少' + get.cnNumber(range[0]); - else str += get.cnNumber(range[0]) + '至' + get.cnNumber(range[1]); - str += '张'; - if (event.position == 'h' || event.position == undefined) str += '手'; - if (event.position == 'e') str += '装备'; - str += '牌'; - } - event.dialog = ui.create.dialog(str); - if (event.prompt2) { - event.dialog.addText(event.prompt2, event.prompt2.length <= 20); - } - if (Array.isArray(event.promptx)) { - for (var i = 0; i < event.promptx.length; i++) { - event.dialog.add(event.promptx[i]); - } - } - if (Array.isArray(event.selectCard)) { - event.promptbar = event.dialog.add('0/' + get.numStr(event.selectCard[1], 'card')); - event.custom.add.card = function () { - _status.event.promptbar.innerHTML = - ui.selected.cards.length + '/' + get.numStr(_status.event.selectCard[1], 'card'); - }; - } - } - } - else if (event.isOnline()) { - event.send(); - } - else { - event.result = 'ai'; - } - } - "step 1"; - if (event.result == 'ai') { - game.check(); - if ((ai.basic.chooseCard(event.ai) || forced) && (!event.filterOk || event.filterOk())) { - ui.click.ok(); - } - else if (event.skill) { - var skill = event.skill; - ui.click.cancel(); - event._aiexclude.add(skill); - event.redo(); - game.resume(); - } - else { - ui.click.cancel(); - } - } - "step 2"; - event.resume(); - if (event.glow_result && event.result.cards && !event.directresult) { - for (var i = 0; i < event.result.cards.length; i++) { - event.result.cards[i].classList.add('glow'); - } - } - if (event.dialog) event.dialog.close(); - }, - chooseTarget: function () { - "step 0"; - if (event.isMine()) { - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { - ui.click.cancel(); - return; - } - game.check(); - game.pause(); - if (event.createDialog && !event.dialog && Array.isArray(event.createDialog)) { - event.dialog = ui.create.dialog.apply(this, event.createDialog); - } - else if (event.prompt != false) { - var str; - if (typeof event.prompt == 'string') str = event.prompt; - else { - str = '请选择'; - var range = get.select(event.selectTarget); - if (range[0] == range[1]) str += get.cnNumber(range[0]); - else if (range[1] == Infinity) str += '至少' + get.cnNumber(range[0]); - else str += get.cnNumber(range[0]) + '至' + get.cnNumber(range[1]); - str += '个目标'; - } - event.dialog = ui.create.dialog(str); - if (event.prompt2) { - event.dialog.addText(event.prompt2, event.prompt2.length <= 20); - } - if (event.promptbar != 'none') { - event.promptbar = event.dialog.add('0/' + get.numStr(get.select(event.selectTarget)[1], 'target')); - event.custom.add.target = function () { - _status.event.promptbar.innerHTML = - ui.selected.targets.length + '/' + get.numStr(get.select(event.selectTarget)[1], 'target'); - }; - } - } - else if (get.itemtype(event.dialog) == 'dialog') { - event.dialog.open(); - } - } - else if (event.isOnline()) { - event.send(); - } - else { - event.result = 'ai'; - } - "step 1"; - if (event.result == 'ai') { - game.check(); - if ((ai.basic.chooseTarget(event.ai) || forced) && (!event.filterOk || event.filterOk())) { - ui.click.ok(); - } - else { - ui.click.cancel(); - } - } - if (event.result.bool && event.animate !== false) { - for (var i = 0; i < event.result.targets.length; i++) { - event.result.targets[i].animate('target'); - } - } - if (event.dialog) event.dialog.close(); - event.resume(); - "step 2"; - if (event.onresult) { - event.onresult(event.result); - } - if (event.result.bool && event.autodelay && !event.isMine()) { - if (typeof event.autodelay == 'number') { - game.delayx(event.autodelay); - } - else { - game.delayx(); - } - } - }, - chooseCardTarget: function () { - "step 0"; - if (event.isMine()) { - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { - ui.click.cancel(); - return; - } - game.check(); - game.pause(); - if (event.prompt != false) { - event.dialog = ui.create.dialog(event.prompt || '请选择卡牌和目标'); - if (event.prompt2) { - event.dialog.addText(event.prompt2, event.prompt2.length <= 20); - } - } - } - else if (event.isOnline()) { - event.send(); - } - else { - event.result = 'ai'; - } - "step 1"; - if (event.result == 'ai') { - game.check(); - if (ai.basic.chooseCard(event.ai1) || forced) { - if ((ai.basic.chooseTarget(event.ai2) || forced) && (!event.filterOk || event.filterOk())) { - ui.click.ok(); - _status.event._aiexclude.length = 0; - } - else { - ui.click.cancel(); - } - } - else { - ui.click.cancel(); - } - } - "step 2"; - event.resume(); - if (event.result.bool && event.animate !== false) { - for (var i = 0; i < event.result.targets.length; i++) { - event.result.targets[i].animate('target'); - } - } - if (event.dialog) event.dialog.close(); - }, - chooseControl: function () { - "step 0"; - if (event.controls.length == 0) { - if (event.sortcard) { - var sortnum = 2; - if (event.sorttop) { - sortnum = 1; - } - for (var i = 0; i < event.sortcard.length + sortnum; i++) { - event.controls.push(get.cnNumber(i, true)); - } - } - else if (event.choiceList) { - for (var i = 0; i < event.choiceList.length; i++) { - event.controls.push('选项' + get.cnNumber(i + 1, true)); - } - } - else { - event.finish(); - return; - } - } - else if (event.choiceList && event.controls.length == 1 && event.controls[0] == 'cancel2') { - event.controls.shift(); - for (var i = 0; i < event.choiceList.length; i++) { - event.controls.push('选项' + get.cnNumber(i + 1, true)); - } - event.controls.push('cancel2'); - } - if (event.isMine()) { - if (event.arrangeSkill) { - var hidden = player.hiddenSkills.slice(0); - game.expandSkills(hidden); - if (hidden.length) { - for (var i of event.controls) { - if (_status.prehidden_skills.contains(i) && hidden.contains(i)) { - event.result = { - bool: true, - control: i, - }; - return; - } - } - } - } - else if (event.hsskill && _status.prehidden_skills.contains(event.hsskill) && event.controls.contains('cancel2')) { - event.result = { - bool: true, - control: 'cancel2', - }; - return; - } - if (event.sortcard) { - var prompt = event.prompt || '选择一个位置'; - if (event.tosort) { - prompt += '放置' + get.translation(event.tosort); - } - event.dialog = ui.create.dialog(prompt, 'hidden'); - if (event.sortcard && event.sortcard.length) { - event.dialog.addSmall(event.sortcard); - } - else { - event.dialog.buttons = []; - event.dialog.add(ui.create.div('.buttons')); - } - var buttons = event.dialog.content.lastChild; - var sortnum = 2; - if (event.sorttop) { - sortnum = 1; - } - for (var i = 0; i < event.dialog.buttons.length + sortnum; i++) { - var item = ui.create.div('.button.card.pointerdiv.mebg'); - item.style.width = '50px'; - buttons.insertBefore(item, event.dialog.buttons[i]); - item.innerHTML = '
    第' + get.cnNumber(i + 1, true) + '张
    '; - if (i == event.dialog.buttons.length + 1) { - item.firstChild.innerHTML = '牌堆底'; - } - item.link = get.cnNumber(i, true); - item.listen(ui.click.dialogcontrol); - } - - event.dialog.forcebutton = true; - event.dialog.classList.add('forcebutton'); - event.dialog.open(); - } - else if (event.dialogcontrol) { - event.dialog = ui.create.dialog(event.prompt || '选择一项', 'hidden'); - for (var i = 0; i < event.controls.length; i++) { - var item = event.dialog.add(''); - item.firstChild.listen(ui.click.dialogcontrol); - item.firstChild.link = event.controls[i]; - } - event.dialog.forcebutton = true; - event.dialog.classList.add('forcebutton'); - if (event.addDialog) { - for (var i = 0; i < event.addDialog.length; i++) { - if (get.itemtype(event.addDialog[i]) == 'cards') { - event.dialog.addSmall(event.addDialog[i]); - } - else { - event.dialog.add(event.addDialog[i]); - } - } - event.dialog.add(ui.create.div('.placeholder.slim')); - } - event.dialog.open(); - } - else { - if (event.seperate || lib.config.seperate_control) { - var controls = event.controls.slice(0); - var num = 0; - controls.remove('cancel2'); - if (event.direct && controls.length == 1 || event.forceDirect) { - event.result = { - control: event.controls[0].link, - links: get.links([event.controls[0]]), - }; - return; - } - else { - event.controlbars = []; - for (var i = 0; i < event.controls.length; i++) { - event.controlbars.push(ui.create.control([event.controls[i]])); - } - } - } - else { - var controls = event.controls.slice(0); - var num = 0; - controls.remove('cancel2'); - if (event.direct && controls.length == 1 || event.forceDirect) { - event.result = { - control: event.controls[0].link, - links: get.links([event.controls[0]]), - }; - return; - } - event.controlbar = ui.create.control(event.controls); - } - if (event.dialog) { - if (Array.isArray(event.dialog)) { - event.dialog = ui.create.dialog.apply(this, event.dialog); - } - event.dialog.open(); - } - else if (event.choiceList) { - event.dialog = ui.create.dialog(event.prompt || '选择一项', 'hidden'); - event.dialog.forcebutton = true; - event.dialog.open(); - for (var i = 0; i < event.choiceList.length; i++) { - event.dialog.add(''); - } - } - else if (event.prompt) { - event.dialog = ui.create.dialog(event.prompt); - if (event.prompt2) { - event.dialog.addText(event.prompt2, Boolean(event.prompt2.length <= 20 || event.centerprompt2)); - } - } - } - game.pause(); - game.countChoose(); - event.choosing = true; - } - else if (event.isOnline()) { - event.send(); - } - else { - event.result = 'ai'; - } - "step 1"; - if (event.result == 'ai') { - event.result = {}; - if (event.ai) { - var result = event.ai(event.getParent(), player); - if (typeof result == 'number') event.result.control = event.controls[result]; - else event.result.control = result; - } - else event.result.control = event.controls[event.choice]; - } - event.result.index = event.controls.indexOf(event.result.control); - event.choosing = false; - _status.imchoosing = false; - if (event.dialog && event.dialog.close) event.dialog.close(); - if (event.controlbar) event.controlbar.close(); - if (event.controlbars) { - for (var i = 0; i < event.controlbars.length; i++) { - event.controlbars[i].close(); - } - } - event.resume(); - }, - chooseBool: function () { - "step 0"; - if (event.isMine()) { - if (event.frequentSkill && !lib.config.autoskilllist.contains(event.frequentSkill)) { - ui.click.ok(); - return; - } - else if (event.hsskill && _status.prehidden_skills.contains(event.hsskill)) { - ui.click.cancel(); - return; - } - ui.create.confirm('oc'); - if (event.createDialog && !event.dialog) { - if (Array.isArray(event.createDialog)) { - event.dialog = ui.create.dialog.apply(this, event.createDialog); - if (event.dialogselectx) { - for (var i = 0; i < event.dialog.buttons.length; i++) { - event.dialog.buttons[i].classList.add('selectedx'); - } - } - } - } - if (event.dialog) { - event.dialog.open(); - } - else if (event.prompt) { - event.dialog = ui.create.dialog(event.prompt); - if (event.prompt2) { - event.dialog.addText(event.prompt2, event.prompt2.length <= 20); - } - } - game.pause(); - game.countChoose(); - event.choosing = true; - } - else if (event.isOnline()) { - event.send(); - } - else { - event.result = 'ai'; - } - "step 1"; - if (event.result == 'ai') { - if (event.ai) { - event.choice = event.ai(event.getParent(), player); - } - event.result = { bool: event.choice }; - } - _status.imchoosing = false; - event.choosing = false; - if (event.dialog) event.dialog.close(); - event.resume(); - }, - chooseDrawRecover: function () { - 'step 0'; - if (player.isHealthy() && event.forced) { - player.draw(event.num1); - event.finish(); - return; - } - var controls = ['draw_card']; - if (player.isDamaged()) { - event.num2 = Math.min(event.num2, player.maxHp - player.hp); - controls.push('recover_hp'); - } - if (!event.forced) { - controls.push('cancel2'); - } - var prompt = event.prompt; - if (!prompt) { - if (player.isHealthy()) { - prompt = '是否摸' + get.cnNumber(event.num1) + '张牌?'; - } - else { - prompt = '摸' + get.cnNumber(event.num1) + '张牌或回复' + get.cnNumber(event.num2) + '点体力'; - } - } - var next = player.chooseControl(controls); - next.set('prompt', prompt); - if (event.hsskill) next.setHiddenSkill(event.hsskill); - if (event.ai) { - next.set('ai', event.ai); - } - else { - var choice; - if (player.isDamaged() && get.recoverEffect(player) > 0 && ( - player.hp == 1 || player.needsToDiscard() || - player.hasSkillTag('maixie_hp') || event.num2 > event.num1 || - (event.num2 == event.num1 && player.needsToDiscard(1)) - )) { - choice = 'recover_hp'; - } - else { - choice = 'draw_card'; - } - next.set('ai', function () { - return _status.event.choice; - }); - next.set('choice', choice); - } - 'step 1'; - if (result.control != 'cancel2') { - if (event.logSkill) { - if (typeof event.logSkill == 'string') { - player.logSkill(event.logSkill); - } - else if (Array.isArray(event.logSkill)) { - player.logSkill.apply(player, event.logSkill); - } - } - if (result.control == 'draw_card') { - player.draw(event.num1); - } - else { - player.recover(event.num2); - } - } - event.result = result; - }, - choosePlayerCard: function () { - "step 0"; - if (!event.dialog) event.dialog = ui.create.dialog('hidden'); - else if (!event.isMine()) { - event.dialog.style.display = 'none'; - } - if (event.prompt) { - event.dialog.add(event.prompt); - } - else { - event.dialog.add('选择' + get.translation(target) + '的一张牌'); - } - if (event.prompt2) { - event.dialog.addText(event.prompt2); - } - var expand_length = 0; - var directh = (!lib.config.unauto_choose && !event.complexSelect); - for (var i = 0; i < event.position.length; i++) { - if (event.position[i] == 'h') { - var hs = target.getCards('h'); - if (hs.length) { - expand_length += Math.ceil(hs.length / 6); - var title = event.dialog.add('
    手牌区
    '); - title.style.margin = '0px'; - title.style.padding = '0px'; - hs.randomSort(); - if (event.visible || target.isUnderControl(true) || player.hasSkillTag('viewHandcard', null, target, true)) { - event.dialog.add(hs); - directh = false; - } - else { - var shown = hs.filter(card => get.is.shownCard(card)); - if (shown.length) { - var hidden = hs.filter(card => !shown.includes(card)); - var buttons = ui.create.div('.buttons', event.dialog.content); - event.dialog.buttons = event.dialog.buttons.concat(ui.create.buttons(shown, 'card', buttons)); - event.dialog.buttons = event.dialog.buttons.concat(ui.create.buttons(hidden, 'blank', buttons)); - if (event.dialog.forcebutton !== false) event.dialog.forcebutton = true; - if (event.dialog.buttons.length > 3) { - event.dialog.classList.remove('forcebutton-auto'); - } - else if (!event.dialog.noforcebutton) { - event.dialog.classList.add('forcebutton-auto'); - } - } - else { - event.dialog.add([hs, 'blank']); - } - } - } - } - else if (event.position[i] == 'e') { - var es = target.getCards('e'); - if (es.length) { - expand_length += Math.ceil(es.length / 6); - var title = event.dialog.add('
    装备区
    '); - title.style.margin = '0px'; - title.style.padding = '0px'; - event.dialog.add(es); - directh = false; - } - } - else if (event.position[i] == 'j') { - var js = target.getCards('j'); - if (js.length) { - expand_length += Math.ceil(js.length / 6); - var title = event.dialog.add('
    判定区
    '); - title.style.margin = '0px'; - title.style.padding = '0px'; - event.dialog.add(js); - directh = false; - } - } - } - if (event.dialog.buttons.length == 0) { - event.finish(); - return; - } var directFilter = (event.forced && typeof event.filterOk != 'function' && typeof event.selectButton != 'function' && event.filterButton == lib.filter.all); - var cs = target.getCards(event.position); - var select = get.select(event.selectButton); - if (directFilter && select[0] >= cs.length) { - event.result = { - bool: true, - buttons: event.dialog.buttons, - links: cs - }; - } - else if (directFilter && directh && !event.isOnline() && select[0] == select[1]) { - event.result = { - bool: true, - buttons: event.dialog.buttons.randomGets(select[0]), - links: [] - }; - for (var i = 0; i < event.result.buttons.length; i++) { - event.result.links[i] = event.result.buttons[i].link; - } - } - else { - if (event.isMine()) { - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { - ui.click.cancel(); - return; - } - event.dialog.open(); - game.check(); - game.pause(); - if (expand_length > 2) { - ui.arena.classList.add('choose-player-card'); - event.dialog.classList.add('fullheight'); - } - } - else if (event.isOnline()) { - event.send(); - } - else { - event.result = 'ai'; - } - } - "step 1"; - if (event.result == 'ai') { - game.check(); - if ((ai.basic.chooseButton(event.ai) || forced) && (!event.filterOk || event.filterOk())) ui.click.ok(); - else ui.click.cancel(); - } - event.dialog.close(); - if (event.result.links) { - event.result.cards = event.result.links.slice(0); - } - event.resume(); - setTimeout(function () { - ui.arena.classList.remove('choose-player-card'); - }, 500); - }, - discardPlayerCard: function () { - "step 0"; - if (event.directresult) { - event.result = { - buttons: [], - cards: event.directresult.slice(0), - links: event.directresult.slice(0), - targets: [], - confirm: 'ok', - bool: true - }; - event.cards = event.directresult.slice(0); - event.goto(2); - return; - } - if (!event.dialog) event.dialog = ui.create.dialog('hidden'); - else if (!event.isMine()) { - event.dialog.style.display = 'none'; - } - if (event.prompt == undefined) { - var str = '弃置' + get.translation(target); - var range = get.select(event.selectButton); - if (range[0] == range[1]) str += get.cnNumber(range[0]); - else if (range[1] == Infinity) str += '至少' + get.cnNumber(range[0]); - else str += get.cnNumber(range[0]) + '至' + get.cnNumber(range[1]); - str += '张'; - if (event.position == 'h' || event.position == undefined) str += '手'; - if (event.position == 'e') str += '装备'; - str += '牌'; - event.prompt = str; - } - if (event.prompt) { - event.dialog.add(event.prompt); - } - if (event.prompt2) { - event.dialog.addText(event.prompt2); - } - var directh = (!lib.config.unauto_choose && !event.complexSelect); - var expand_length = 0; - for (var i = 0; i < event.position.length; i++) { - if (event.position[i] == 'h') { - var hs = target.getDiscardableCards(player, 'h'); - expand_length += Math.ceil(hs.length / 6); - if (hs.length) { - var title = event.dialog.add('
    手牌区
    '); - title.style.margin = '0px'; - title.style.padding = '0px'; - hs.randomSort(); - if (event.visible || target.isUnderControl(true) || player.hasSkillTag('viewHandcard', null, target, true)) { - event.dialog.add(hs); - directh = false; - } - else { - var shown = hs.filter(card => get.is.shownCard(card)); - if (shown.length) { - var hidden = hs.filter(card => !shown.includes(card)); - var buttons = ui.create.div('.buttons', event.dialog.content); - event.dialog.buttons = event.dialog.buttons.concat(ui.create.buttons(shown, 'card', buttons)); - event.dialog.buttons = event.dialog.buttons.concat(ui.create.buttons(hidden, 'blank', buttons)); - if (event.dialog.forcebutton !== false) event.dialog.forcebutton = true; - if (event.dialog.buttons.length > 3) { - event.dialog.classList.remove('forcebutton-auto'); - } - else if (!event.dialog.noforcebutton) { - event.dialog.classList.add('forcebutton-auto'); - } - } - else { - event.dialog.add([hs, 'blank']); - } - } - } - } - else if (event.position[i] == 'e') { - var es = target.getDiscardableCards(player, 'e'); - if (es.length) { - expand_length += Math.ceil(es.length / 6); - var title = event.dialog.add('
    装备区
    '); - title.style.margin = '0px'; - title.style.padding = '0px'; - event.dialog.add(es); - directh = false; - } - } - else if (event.position[i] == 'j') { - var js = target.getDiscardableCards(player, 'j'); - if (js.length) { - expand_length += Math.ceil(js.length / 6); - var title = event.dialog.add('
    判定区
    '); - title.style.margin = '0px'; - title.style.padding = '0px'; - event.dialog.add(js); - directh = false; - } - } - } - if (event.dialog.buttons.length == 0) { - event.finish(); - return; - } - var directFilter = (event.forced && typeof event.filterOk != 'function' && typeof event.selectButton != 'function' && event.filterButton == lib.filter.all); - var cs = target.getCards(event.position); - var select = get.select(event.selectButton); - if (directFilter && select[0] >= cs.length) { - event.result = { - bool: true, - buttons: event.dialog.buttons, - links: cs - }; - } - else if (directFilter && directh && !event.isOnline() && select[0] == select[1]) { - event.result = { - bool: true, - buttons: event.dialog.buttons.randomGets(select[0]), - links: [] - }; - for (var i = 0; i < event.result.buttons.length; i++) { - event.result.links[i] = event.result.buttons[i].link; - } - } - else { - if (event.isMine()) { - event.dialog.open(); - game.check(); - game.pause(); - if (expand_length > 2) { - ui.arena.classList.add('discard-player-card'); - event.dialog.classList.add('fullheight'); - } - } - else if (event.isOnline()) { - event.send(); - } - else { - event.result = 'ai'; - } - } - "step 1"; - if (event.result == 'ai') { - game.check(); - if ((ai.basic.chooseButton(event.ai) || forced) && (!event.filterOk || event.filterOk())) ui.click.ok(); - else ui.click.cancel(); - } - event.dialog.close(); - "step 2"; - event.resume(); - setTimeout(function () { - ui.arena.classList.remove('discard-player-card'); - }, 500); - if (event.result.bool && event.result.links && !game.online) { - if (event.logSkill) { - if (typeof event.logSkill == 'string') { - player.logSkill(event.logSkill); - } - else if (Array.isArray(event.logSkill)) { - player.logSkill.apply(player, event.logSkill); - } - } - var cards = []; - for (var i = 0; i < event.result.links.length; i++) { - cards.push(event.result.links[i]); - } - event.result.cards = event.result.links.slice(0); - event.cards = cards; - event.trigger("rewriteDiscardResult"); - } - "step 3"; - if (event.boolline) { - player.line(target, 'green'); - } - if (!event.chooseonly) { - var next = target.discard(event.cards); - if (player != target) next.notBySelf = true; - next.discarder = player; - event.done = next; - if (event.delay === false) { - next.set('delay', false); - } - } - }, - gainPlayerCard: function () { - "step 0"; - if (event.directresult) { - event.result = { - buttons: [], - cards: event.directresult.slice(0), - links: event.directresult.slice(0), - targets: [], - confirm: 'ok', - bool: true - }; - event.cards = event.directresult.slice(0); - event.goto(2); - return; - } - if (!event.dialog) event.dialog = ui.create.dialog('hidden'); - else if (!event.isMine()) { - event.dialog.style.display = 'none'; - } - if (event.prompt == undefined) { - var str = '获得' + get.translation(target); - var range = get.select(event.selectButton); - if (range[0] == range[1]) str += get.cnNumber(range[0]); - else if (range[1] == Infinity) str += '至少' + get.cnNumber(range[0]); - else str += get.cnNumber(range[0]) + '至' + get.cnNumber(range[1]); - str += '张'; - if (event.position == 'h' || event.position == undefined) str += '手'; - if (event.position == 'e') str += '装备'; - str += '牌'; - event.prompt = str; - } - if (event.prompt) { - event.dialog.add(event.prompt); - } - if (event.prompt2) { - event.dialog.addText(event.prompt2); - } - var expand_length = 0; - var directh = (!lib.config.unauto_choose && !event.complexSelect); - for (var i = 0; i < event.position.length; i++) { - if (event.position[i] == 'h') { - var hs = target.getGainableCards(player, 'h'); - if (hs.length) { - expand_length += Math.ceil(hs.length / 6); - var title = event.dialog.add('
    手牌区
    '); - title.style.margin = '0px'; - title.style.padding = '0px'; - hs.randomSort(); - if (event.visible || target.isUnderControl(true) || player.hasSkillTag('viewHandcard', null, target, true)) { - event.dialog.add(hs); - directh = false; - } - else { - var shown = hs.filter(card => get.is.shownCard(card)); - if (shown.length) { - var hidden = hs.filter(card => !shown.includes(card)); - var buttons = ui.create.div('.buttons', event.dialog.content); - event.dialog.buttons = event.dialog.buttons.concat(ui.create.buttons(shown, 'card', buttons)); - event.dialog.buttons = event.dialog.buttons.concat(ui.create.buttons(hidden, 'blank', buttons)); - if (event.dialog.forcebutton !== false) event.dialog.forcebutton = true; - if (event.dialog.buttons.length > 3) { - event.dialog.classList.remove('forcebutton-auto'); - } - else if (!event.dialog.noforcebutton) { - event.dialog.classList.add('forcebutton-auto'); - } - } - else { - event.dialog.add([hs, 'blank']); - } - } - } - } - else if (event.position[i] == 'e') { - var es = target.getGainableCards(player, 'e'); - if (es.length) { - expand_length += Math.ceil(es.length / 6); - var title = event.dialog.add('
    装备区
    '); - title.style.margin = '0px'; - title.style.padding = '0px'; - event.dialog.add(es); - directh = false; - } - } - else if (event.position[i] == 'j') { - var js = target.getGainableCards(player, 'j'); - if (js.length) { - expand_length += Math.ceil(js.length / 6); - var title = event.dialog.add('
    判定区
    '); - title.style.margin = '0px'; - title.style.padding = '0px'; - event.dialog.add(js); - directh = false; - } - } - } - if (event.dialog.buttons.length == 0) { - event.dialog.close(); - event.finish(); - return; - } - var cs = target.getCards(event.position); - var select = get.select(event.selectButton); - var directFilter = (event.forced && typeof event.filterOk != 'function' && typeof event.selectButton != 'function' && event.filterButton == lib.filter.all); - if (directFilter && select[0] >= cs.length) { - event.result = { - bool: true, - buttons: event.dialog.buttons, - links: cs - }; - } - else if (directFilter && directh && !event.isOnline() && select[0] == select[1]) { - event.result = { - bool: true, - buttons: event.dialog.buttons.randomGets(select[0]), - links: [] - }; - for (var i = 0; i < event.result.buttons.length; i++) { - event.result.links[i] = event.result.buttons[i].link; - } - } - else { - if (event.isMine()) { - event.dialog.open(); - game.check(); - game.pause(); - if (expand_length > 2) { - ui.arena.classList.add('gain-player-card'); - event.dialog.classList.add('fullheight'); - } - } - else if (event.isOnline()) { - event.send(); - } - else { - event.result = 'ai'; - } - } - "step 1"; - if (event.result == 'ai') { - game.check(); - if ((ai.basic.chooseButton(event.ai) || forced) && (!event.filterOk || event.filterOk())) ui.click.ok(); - else ui.click.cancel(); - } - event.dialog.close(); - "step 2"; - event.resume(); - setTimeout(function () { - ui.arena.classList.remove('gain-player-card'); - }, 500); - if (game.online || !event.result.bool) { - event.finish(); - } - "step 3"; - if (event.logSkill && event.result.bool && !game.online) { - if (typeof event.logSkill == 'string') { - player.logSkill(event.logSkill); - } - else if (Array.isArray(event.logSkill)) { - player.logSkill.apply(player, event.logSkill); - } - } - var cards = []; - for (var i = 0; i < event.result.links.length; i++) { - cards.push(event.result.links[i]); - } - event.result.cards = event.result.links.slice(0); - event.cards = cards; - event.trigger("rewriteGainResult"); - "step 4"; - if (event.boolline) { - player.line(target, 'green'); - } - if (!event.chooseonly) { - if (event.delay !== false) { - var next = player.gain(event.cards, target, event.visibleMove ? 'give' : 'giveAuto', 'bySelf'); - event.done = next; - } - else { - var next = player.gain(event.cards, target, 'bySelf'); - event.done = next; - target[event.visibleMove ? '$give' : '$giveAuto'](cards, player); - if (event.visibleMove) next.visible = true; - } - } - else target[event.visibleMove ? '$give' : '$giveAuto'](cards, player); - }, - showHandcards: function () { - "step 0"; - if (player.countCards('h') == 0) { - event.finish(); - return; - } - var cards = player.getCards('h'); - player.showCards(cards).setContent(function () { }); - var str = get.translation(player.name) + '的手牌'; - if (typeof event.prompt == 'string') { - str = event.prompt; - } - event.dialog = ui.create.dialog(str, cards); - event.dialogid = lib.status.videoId++; - event.dialog.videoId = event.dialogid; - game.broadcast(function (str, cards, id) { - ui.create.dialog(str, cards).videoId = id; - }, str, cards, event.dialogid); - game.log(player, '展示了', cards); - game.addVideo('showCards', player, [str, get.cardsInfo(cards)]); - game.delayx(2); - "step 1"; - game.broadcast('closeDialog', event.dialogid); - event.dialog.close(); - }, - showCards: function () { - "step 0"; - if (get.itemtype(cards) != 'cards') { - event.finish(); - return; - } - if (!event.str) { - event.str = get.translation(player.name) + '展示的牌'; - } - event.dialog = ui.create.dialog(event.str, cards); - event.dialogid = lib.status.videoId++; - event.dialog.videoId = event.dialogid; - - if (event.hiddencards) { - for (var i = 0; i < event.dialog.buttons.length; i++) { - if (event.hiddencards.contains(event.dialog.buttons[i].link)) { - event.dialog.buttons[i].className = 'button card'; - event.dialog.buttons[i].innerHTML = ''; - } - } - } - game.broadcast(function (str, cards, cards2, id) { - var dialog = ui.create.dialog(str, cards); - dialog.forcebutton = true; - dialog.videoId = id; - if (cards2) { - for (var i = 0; i < dialog.buttons.length; i++) { - if (cards2.contains(dialog.buttons[i].link)) { - dialog.buttons[i].className = 'button card'; - dialog.buttons[i].innerHTML = ''; - } - } - } - }, event.str, cards, event.hiddencards, event.dialogid); - if (event.hiddencards) { - var cards2 = cards.slice(0); - for (var i = 0; i < event.hiddencards.length; i++) { - cards2.remove(event.hiddencards[i]); - } - game.log(player, '展示了', cards2); - } - else { - game.log(player, '展示了', cards); - } - game.addCardKnower(cards, 'everyone'); - game.delayx(event.delay_time || 2.5); - game.addVideo('showCards', player, [event.str, get.cardsInfo(cards)]); - "step 1"; - game.broadcast('closeDialog', event.dialogid); - event.dialog.close(); - }, - viewCards: function () { - "step 0"; - game.addCardKnower(event.cards, player); - if (player == game.me) { - event.dialog = ui.create.dialog(event.str, event.cards); - if (event.isMine()) { - game.pause(); - ui.create.confirm('o'); - game.countChoose(); - event.choosing = true; - } - else { - event.finish(); - event.result = 'viewed'; - setTimeout(function () { - event.dialog.close(); - }, 2 * lib.config.duration); - game.delayx(2); - } - } - else if (event.isOnline()) { - event.send(); - } - else { - event.finish(); - } - "step 1"; - event.result = 'viewed'; - _status.imchoosing = false; - event.choosing = false; - if (event.dialog) event.dialog.close(); - }, - moveCard: function () { - 'step 0'; - if (!player.canMoveCard(null, event.nojudge, event.sourceTargets, event.aimTargets, event.filter, event.canReplace ? 'canReplace' : 'noReplace')) { - event.finish(); - return; - } - var next = player.chooseTarget(2, function (card, player, target) { - var filterCard = get.event('filter'); - if (ui.selected.targets.length) { - if (!get.event('aimTargets').includes(target)) return false; - var from = ui.selected.targets[0]; - var js = from.getCards('j', filterCard); - for (var i = 0; i < js.length; i++) { - if (_status.event.nojudge) break; - if (target.canAddJudge(js[i])) return true; - } - if (target.isMin()) return false; - var es = from.getCards('e', filterCard); - for (var i = 0; i < es.length; i++) { - if (target.canEquip(es[i], _status.event.canReplace)) return true; - } - return false; - } - else { - if (!get.event('sourceTargets').includes(target)) return false; - var range = 'ej'; - if (_status.event.nojudge) range = 'e'; - return target.countCards(range, filterCard) > 0; - } - }); - next.set('nojudge', event.nojudge || false); - next.set('ai', function (target) { - var player = _status.event.player; - var att = get.attitude(player, target); - var sgnatt = get.sgn(att); - var aimTargets = get.event('aimTargets'), filterCard = get.event('filter'); - if (ui.selected.targets.length == 0) { - if (att > 0) { - if (!_status.event.nojudge && target.countCards('j', function (card) { - if (!filterCard(card)) return false; - return game.hasPlayer(function (current) { - if (!aimTargets.includes(current)) return false; - return current != target && current.canAddJudge(card) && get.attitude(player, current) < 0; - }); - })) return 14; - if (target.countCards('e', function (card) { - if (!filterCard(card)) return false; - return get.value(card, target) < 0 && game.hasPlayer(function (current) { - if (!aimTargets.includes(current)) return false; - return current != target && get.attitude(player, current) < 0 && current.canEquip(card, _status.event.canReplace) && get.effect(target, card, player, player) < 0; - }); - }) > 0) return 9; - } - else if (att < 0) { - if (game.hasPlayer(function (current) { - if (current != target && get.attitude(player, current) > 0) { - var es = target.getCards('e', filterCard); - for (var i = 0; i < es.length; i++) { - if (get.value(es[i], target) > 0 && current.canEquip(es[i], _status.event.canReplace) && get.effect(current, es[i], player, player) > (_status.event.canReplace ? get.effect(target, es[i], player, player) : 0)) return true; - } - } - })) { - return -att; - } - } - return 0; - } - var es = ui.selected.targets[0].getCards('e', filterCard); - var i; - var att2 = get.sgn(get.attitude(player, ui.selected.targets[0])); - for (i = 0; i < es.length; i++) { - if (sgnatt != 0 && att2 != 0 && sgnatt != att2 && - get.sgn(get.value(es[i], ui.selected.targets[0])) == -att2 && - get.sgn(get.effect(target, es[i], player, target)) == sgnatt && - target.canEquip(es[i], _status.event.canReplace)) { - return Math.abs(att); - } - } - if (i == es.length && (_status.event.nojudge || !ui.selected.targets[0].countCards('j', function (card) { - if (!filterCard(card)) return false; - return target.canAddJudge(card); - }) || att2 <= 0)) { - return 0; - } - return -att * att2; - }); - next.set('multitarget', true); - next.set('targetprompt', _status.event.targetprompt || ['被移走', '移动目标']); - next.set('prompt', event.prompt || '移动场上的一张牌'); - next.set('filter', event.filter); - next.set('sourceTargets', event.sourceTargets || game.filterPlayer()); - next.set('aimTargets', event.aimTargets || game.filterPlayer()); - next.set('canReplace', event.canReplace); - next.set('custom', get.copy(event.custom)); - if (event.prompt2) next.set('prompt2', event.prompt2); - if (event.forced) next.set('forced', true); - 'step 1'; - event.result = result; - if (result.bool) { - if (event.logSkill) player.logSkill(event.logSkill, result.targets, false); - player.line2(result.targets, 'green'); - event.targets = result.targets; - } - else { - event.finish(); - } - 'step 2'; - game.delay(); - 'step 3'; - if (targets.length == 2) { - player.choosePlayerCard('ej', true, function (button) { - var player = _status.event.player; - var targets0 = _status.event.targets0; - var targets1 = _status.event.targets1; - if (get.attitude(player, targets0) > 0 && get.attitude(player, targets1) < 0) { - if (get.position(button.link) == 'j') return 12; - if (get.value(button.link, targets0) < 0 && get.effect(targets1, button.link, player, targets1) > 0) return 10; - return 0; - } - else { - if (get.position(button.link) == 'j') return -10; - return get.value(button.link) * get.effect(targets1, button.link, player, targets1); - } - }, targets[0]).set('nojudge', event.nojudge || false).set('targets0', targets[0]).set('targets1', targets[1]).set('filterButton', function (button) { - var targets1 = _status.event.targets1; - if (!get.event('filter')(button.link)) return false; - if (get.position(button.link) == 'j') { - if (_status.event.nojudge) return false; - return targets1.canAddJudge(button.link); - } - else { - return targets1.canEquip(button.link, _status.event.canReplace); - } - }).set('filter', event.filter).set('canReplace', event.canReplace).set('custom', get.copy(event.custom)); - } - else { - event.finish(); - } - 'step 4'; - if (result.bool && result.links.length) { - var link = result.links[0]; - if (get.position(link) == 'e') { - event.targets[1].equip(link); - } - else if (link.viewAs) { - event.targets[1].addJudge({ name: link.viewAs }, [link]); - } - else { - event.targets[1].addJudge(link); - } - event.targets[0].$give(link, event.targets[1], false); - game.log(event.targets[0], '的', link, '被移动给了', event.targets[1]); - event.result.card = link; - event.result.position = get.position(link); - game.delay(); - } - }, - useCard: function () { - "step 0"; - if (!card) { - console.log('err: no card', get.translation(event.player)); - event.finish(); - return; - } - if (!get.info(card, false).noForceDie) event.forceDie = true; - if (cards.length) { - var owner = (get.owner(cards[0]) || player); - var next = owner.lose(cards, 'visible', ui.ordering).set('type', 'use'); - var directDiscard = []; - for (var i = 0; i < cards.length; i++) { - if (!next.cards.contains(cards[i])) { - directDiscard.push(cards[i]); - } - } - if (directDiscard.length) game.cardsGotoOrdering(directDiscard); - } - //player.using=cards; - var cardaudio = true; - if (event.skill) { - if (lib.skill[event.skill].audio) { - cardaudio = false; - } - if (lib.skill[event.skill].log != false) { - player.logSkill(event.skill); - } - if (get.info(event.skill).popname) { - player.tryCardAnimate(card, event.card.name, 'metal', true); - } - } - else if (!event.nopopup) { - if (lib.translate[event.card.name + '_pop']) { - player.tryCardAnimate(card, lib.translate[event.card.name + '_pop'], 'metal'); - } - else { - player.tryCardAnimate(card, event.card.name, 'metal'); - } - } - if (event.audio === false) { - cardaudio = false; - } - if (cardaudio) game.broadcastAll((player, card) => { - game.playCardAudio(card, player); - /* - if(!lib.config.background_audio||get.type(card)=='equip'&&!lib.config.equip_audio) return; - const sex=player.sex=='female'?'female':'male'; - var nature=get.natureList(card)[0]; - if(card.name=='sha'&&['fire','thunder','ice','stab'].includes(nature)){ - game.playAudio('card',sex,`${card.name}_${nature}`); - return; - } - const audio=lib.card[card.name].audio; - if(typeof audio=='string'){ - const audioInfo=audio.split(':'); - if(audio.startsWith('db:')) game.playAudio(`${audioInfo[0]}:${audioInfo[1]}`,audioInfo[2],`${card.name}_${sex}.${audioInfo[3]||'mp3'}`); - else if(audio.startsWith('ext:')) game.playAudio(`${audioInfo[0]}:${audioInfo[1]}`,`${card.name}_${sex}.${audioInfo[2]||'mp3'}`); - else game.playAudio('card',sex,`${audioInfo[0]}.${audioInfo[1]||'mp3'}`); - } - else game.playAudio('card',sex,card.name);*/ - }, player, card); - if (event.animate != false && event.line != false) { - if (card.name == 'wuxie' && event.getParent()._info_map) { - var evtmap = event.getParent()._info_map; - if (evtmap._source) evtmap = evtmap._source; - var lining = (evtmap.multitarget ? evtmap.targets : evtmap.target) || event.player; - if (Array.isArray(lining) && event.getTrigger().name == 'jiedao') { - player.line(lining[0], 'green'); - } - else { - player.line(lining, 'green'); - } - } - else if (card.name == 'youdishenru' && event.getParent().source) { - var lining = event.getParent().sourcex || event.getParent().source2 || event.getParent().source; - if (lining == player && event.getParent().sourcex2) { - lining = event.getParent().sourcex2; - } - if (Array.isArray(lining) && event.getTrigger().name == 'jiedao') { - player.line(lining[0], 'green'); - } - else { - player.line(lining, 'green'); - } - } - else { - var config = {}; - var nature = get.natureList(card)[0]; - if (nature || card.classList && card.classList.contains(nature)) config.color = nature; - if (event.addedTarget) { - player.line2(targets.concat(event.addedTargets), config); - } - else if (get.info(card, false).multitarget && targets.length > 1 && !get.info(card, false).multiline) { - player.line2(targets, config); - } - else { - player.line(targets, config); - } - } - if (event.throw !== false) player.$throw(cards); - if (lib.config.sync_speed && cards[0] && cards[0].clone) { - var waitingForTransition = get.time(); - event.waitingForTransition = waitingForTransition; - cards[0].clone.listenTransition(function () { - if (_status.waitingForTransition == waitingForTransition && _status.paused) { - game.resume(); - } - delete event.waitingForTransition; - }); - } - } - event.id = get.id(); - if (!Array.isArray(event.excluded)) event.excluded = []; - if (!Array.isArray(event.directHit)) event.directHit = []; - if (typeof event.customArgs != 'object' || typeof event.customArgs.default != 'object') event.customArgs = { default: {} }; - if (typeof event.baseDamage != 'number') event.baseDamage = get.info(card, false).baseDamage || 1; - if (typeof event.effectCount != 'number') event.effectCount = get.info(card, false).effectCount || 1; - event.effectedCount = 0; - if (event.oncard) { - event.oncard(event.card, event.player); - } - player.actionHistory[player.actionHistory.length - 1].useCard.push(event); - game.getGlobalHistory().useCard.push(event); - if (event.addCount !== false) { - if (player.stat[player.stat.length - 1].card[card.name] == undefined) { - player.stat[player.stat.length - 1].card[card.name] = 1; - } - else { - player.stat[player.stat.length - 1].card[card.name]++; - } - } - if (event.skill) { - if (player.stat[player.stat.length - 1].skill[event.skill] == undefined) { - player.stat[player.stat.length - 1].skill[event.skill] = 1; - } - else { - player.stat[player.stat.length - 1].skill[event.skill]++; - } - var sourceSkill = get.info(event.skill).sourceSkill; - if (sourceSkill) { - if (player.stat[player.stat.length - 1].skill[sourceSkill] == undefined) { - player.stat[player.stat.length - 1].skill[sourceSkill] = 1; - } - else { - player.stat[player.stat.length - 1].skill[sourceSkill]++; - } - } - } - if (targets.length) { - var str = (targets.length == 1 && targets[0] == player) ? '#b自己' : targets; - if (cards.length && !card.isCard) { - if (event.addedTarget) { - game.log(player, '对', str, '使用了', card, '(', cards, ',指向', event.addedTargets, ')'); - } - else { - game.log(player, '对', str, '使用了', card, '(', cards, ')'); - } - } - else { - if (event.addedTarget) { - game.log(player, '对', str, '使用了', card, '(指向', event.addedTargets, ')'); - } - else { - game.log(player, '对', str, '使用了', card); - } - } - } - else { - if (cards.length && !card.isCard) { - if (event.addedTarget) { - game.log(player, '使用了', card, '(', cards, ',指向', event.addedTargets, ')'); - } - else { - game.log(player, '使用了', card, '(', cards, ')'); - } - } - else { - if (event.addedTarget) { - game.log(player, '使用了', card, '(指向', event.addedTargets, ')'); - } - else { - game.log(player, '使用了', card); - } - } - } - if (card.name == 'wuxie') { - game.logv(player, [card, cards], [event.getTrigger().card]); - } - else { - game.logv(player, [card, cards], targets); - } - event.trigger('useCard1'); - "step 1"; - event.trigger('yingbian'); - "step 2"; - event.trigger('useCard2'); - "step 3"; - event.trigger('useCard'); - event._oncancel = function () { - game.broadcastAll(function (id) { - if (ui.tempnowuxie && ui.tempnowuxie._origin == id) { - ui.tempnowuxie.close(); - delete ui.tempnowuxie; - } - }, event.id); - }; - "step 4"; - event.sortTarget = function (animate, sort) { - var info = get.info(card, false); - if (num == 0 && targets.length > 1) { - if (!info.multitarget) { - if (!event.fixedSeat && !sort) { - targets.sortBySeat((_status.currentPhase || player)); - } - if (animate) for (var i = 0; i < targets.length; i++) { - targets[i].animate('target'); - } - } - else if (animate) { - for (var i = 0; i < targets.length; i++) { - targets[i].animate('target'); - } - } - } - }; - event.sortTarget(); - event.getTriggerTarget = function (list1, list2) { - var listx = list1.slice(0).sortBySeat((_status.currentPhase || player)); - for (var i = 0; i < listx.length; i++) { - if (get.numOf(list2, listx[i]) < get.numOf(listx, listx[i])) return listx[i]; - } - return null; - }; - "step 5"; - if (event.all_excluded) return; - if (!event.triggeredTargets1) event.triggeredTargets1 = []; - var target = event.getTriggerTarget(targets, event.triggeredTargets1); - if (target) { - event.triggeredTargets1.push(target); - var next = game.createEvent('useCardToPlayer', false); - if (!event.isFirstTarget1) { - event.isFirstTarget1 = true; - next.isFirstTarget = true; - } - next.setContent('emptyEvent'); - next.targets = targets; - next.target = target; - next.card = card; - next.cards = cards; - next.player = player; - next.skill = event.skill; - next.excluded = event.excluded; - next.directHit = event.directHit; - next.customArgs = event.customArgs; - if (event.forceDie) next.forceDie = true; - event.redo(); - } - "step 6"; - if (event.all_excluded) return; - if (!event.triggeredTargets2) event.triggeredTargets2 = []; - var target = event.getTriggerTarget(targets, event.triggeredTargets2); - if (target) { - event.triggeredTargets2.push(target); - var next = game.createEvent('useCardToTarget', false); - if (!event.isFirstTarget2) { - event.isFirstTarget2 = true; - next.isFirstTarget = true; - } - next.setContent('emptyEvent'); - next.targets = targets; - next.target = target; - next.card = card; - next.cards = cards; - next.player = player; - next.skill = event.skill; - next.excluded = event.excluded; - next.directHit = event.directHit; - next.customArgs = event.customArgs; - if (event.forceDie) next.forceDie = true; - event.redo(); - } - "step 7"; - var info = get.info(card, false); - if (!info.nodelay && event.animate != false) { - if (event.delayx !== false) { - if (event.waitingForTransition) { - _status.waitingForTransition = event.waitingForTransition; - game.pause(); - } - else { - game.delayx(); - } - } - } - "step 8"; - if (event.all_excluded) return; - if (!event.triggeredTargets3) event.triggeredTargets3 = []; - var target = event.getTriggerTarget(targets, event.triggeredTargets3); - if (target) { - event.triggeredTargets3.push(target); - var next = game.createEvent('useCardToPlayered', false); - if (!event.isFirstTarget3) { - event.isFirstTarget3 = true; - next.isFirstTarget = true; - } - next.setContent('emptyEvent'); - next.targets = targets; - next.target = target; - next.card = card; - next.cards = cards; - next.player = player; - next.skill = event.skill; - next.excluded = event.excluded; - next.directHit = event.directHit; - next.customArgs = event.customArgs; - if (event.forceDie) next.forceDie = true; - event.redo(); - } - "step 9"; - if (event.all_excluded) return; - if (!event.triggeredTargets4) event.triggeredTargets4 = []; - var target = event.getTriggerTarget(targets, event.triggeredTargets4); - if (target) { - event.triggeredTargets4.push(target); - var next = game.createEvent('useCardToTargeted', false); - if (!event.isFirstTarget4) { - event.isFirstTarget4 = true; - next.isFirstTarget = true; - } - next.setContent('emptyEvent'); - next.targets = targets; - next.target = target; - next.card = card; - next.cards = cards; - next.player = player; - next.skill = event.skill; - next.excluded = event.excluded; - next.directHit = event.directHit; - next.customArgs = event.customArgs; - if (event.forceDie) next.forceDie = true; - if (targets.length == event.triggeredTargets4.length) { - event.sortTarget(); - } - event.redo(); - } - "step 10"; - if (event.all_excluded) return; - event.effectedCount++; - event.num = 0; - var info = get.info(card, false); - if (info.contentBefore) { - var next = game.createEvent(card.name + 'ContentBefore'); - next.setContent(info.contentBefore); - next.targets = targets; - next.card = card; - next.cards = cards; - next.player = player; - next.skill = event.skill; - next.type = 'precard'; - if (event.forceDie) next.forceDie = true; - } - else if (info.reverseOrder && get.is.versus() && targets.length > 1) { - var next = game.createEvent(card.name + 'ContentBefore'); - next.setContent('reverseOrder'); - next.targets = targets; - next.card = card; - next.cards = cards; - next.player = player; - next.skill = event.skill; - next.type = 'precard'; - if (event.forceDie) next.forceDie = true; - } - else if (info.singleCard && info.filterAddedTarget && event.addedTargets && event.addedTargets.length < targets.length) { - var next = game.createEvent(card.name + 'ContentBefore'); - next.setContent('addExtraTarget'); - next.target = target; - next.targets = targets; - next.card = card; - next.cards = cards; - next.player = player; - next.skill = event.skill; - next.type = 'precard'; - next.addedTarget = event.addedTarget; - next.addedTargets = event.addedTargets; - if (event.forceDie) next.forceDie = true; - } - "step 11"; - if (event.all_excluded) return; - var info = get.info(card, false); - if (num == 0 && targets.length > 1) { - event.sortTarget(true, true); - } - if (targets[num] && targets[num].isDead()) return; - if (targets[num] && targets[num].isOut()) return; - if (targets[num] && targets[num].removed) return; - if (targets[num] && info.ignoreTarget && info.ignoreTarget(card, player, targets[num])) return; - if (targets.length == 0 && !info.notarget) return; - if (targets[num] && event.excluded.contains(targets[num])) { - var next = game.createEvent('useCardToExcluded', false); - next.setContent('emptyEvent'); - next.targets = targets; - next.target = targets[num]; - next.num = num; - next.card = card; - next.cards = cards; - next.player = player; - return; - } - var next = game.createEvent(card.name); - next.setContent(info.content); - next.targets = targets; - next.card = card; - next.cards = cards; - next.player = player; - next.num = num; - next.type = 'card'; - next.skill = event.skill; - next.multitarget = info.multitarget; - next.preResult = event.preResult; - next.baseDamage = event.baseDamage; - if (event.forceDie) next.forceDie = true; - if (event.addedTargets) { - next.addedTargets = event.addedTargets; - next.addedTarget = event.addedTargets[num]; - next._targets = event._targets; - } - if (info.targetDelay === false) { - event.targetDelay = false; - } - next.target = targets[num]; - for (var i in event.customArgs.default) next[i] = event.customArgs.default[i]; - if (next.target && event.customArgs[next.target.playerid]) { - var customArgs = event.customArgs[next.target.playerid]; - for (var i in customArgs) next[i] = customArgs[i]; - } - if (next.target && event.directHit.contains(next.target)) next.directHit = true; - if (next.target && !info.multitarget) { - if (num == 0 && targets.length > 1) { - // var ttt=next.target; - // setTimeout(function(){ttt.animate('target');},0.5*lib.config.duration); - } - else { - next.target.animate('target'); - } - } - if (!info.nodelay && num > 0) { - if (event.targetDelay !== false) { - game.delayx(0.5); - } - } - "step 12"; - if (event.all_excluded) return; - if (!get.info(event.card, false).multitarget && num < targets.length - 1 && !event.cancelled) { - event.num++; - event.goto(11); - } - "step 13"; - if (event.all_excluded) return; - if (get.info(card, false).contentAfter) { - var next = game.createEvent(card.name + 'ContentAfter'); - next.setContent(get.info(card, false).contentAfter); - next.targets = targets; - next.card = card; - next.cards = cards; - next.player = player; - next.skill = event.skill; - next.preResult = event.preResult; - next.type = 'postcard'; - if (event.forceDie) next.forceDie = true; - } - "step 14"; - if (event.all_excluded) return; - if (event.effectedCount < event.effectCount) { - if (document.getElementsByClassName('thrown').length) { - if (event.delayx !== false && get.info(event.card, false).finalDelay !== false) game.delayx(); - } - event.goto(10); - } - "step 15"; - if (event.postAi) { - event.player.logAi(event.targets, event.card); - } - if (event._result) { - event.result = event._result; - } - //delete player.using; - if (document.getElementsByClassName('thrown').length) { - if (event.delayx !== false && get.info(event.card, false).finalDelay !== false) game.delayx(); - } - else { - event.finish(); - } - "step 16"; - event._oncancel(); - }, - useSkill: function () { - "step 0"; - var info = get.info(event.skill); - if (!info.noForceDie) event.forceDie = true; - if (!info.noForceOut) event.includeOut = true; - event._skill = event.skill; - game.trySkillAudio(event.skill, player); - var checkShow = player.checkShow(event.skill); - if (info.discard != false && info.lose != false && !info.viewAs) { - player.discard(cards).delay = false; - if (lib.config.low_performance) { - event.discardTransition = true; - } - } - else { - if (info.lose != false) { - if (info.losetrigger == false) { - var losecard = player.lose(cards, ui.special)._triggered = null; - } - else { - var losecard = player.lose(cards, ui.special); - if (info.visible) losecard.visible = true; - if (info.loseTo) losecard.position = ui[info.loseTo]; - if (info.insert) losecard.insert_card = true; - if (losecard.position == ui.special && info.toStorage) losecard.toStorage = true; - } - } - if (!info.prepare && info.viewAs) { - player.$throw(cards); - if (losecard) losecard.visible = true; - if (lib.config.sync_speed && cards[0] && cards[0].clone) { - var waitingForTransition = get.time(); - event.waitingForTransition = waitingForTransition; - cards[0].clone.listenTransition(function () { - if (_status.waitingForTransition == waitingForTransition && _status.paused) { - game.resume(); - } - delete event.waitingForTransition; - }); - } - } - } - if (info.line != false && targets.length) { - var config = {}; - if (get.is.object(info.line)) config = info.line; - else if (info.line == 'fire') { - config.color = 'fire'; - } - else if (info.line == 'thunder') { - config.color = 'thunder'; - } - else if (info.line === undefined || info.line == 'green') { - config.color = 'green'; - } - if (info.multitarget && !info.multiline && targets.length > 1) { - player.line2(targets, config); - } - else { - player.line(targets, config); - } - } - var str = ''; - if (targets && targets.length && info.log != 'notarget') { - str += '对' + (targets[0] == player ? '自己' : get.translation(targets[0])); - for (var i = 1; i < targets.length; i++) { - str += '、' + (targets[i] == player ? '自己' : get.translation(targets[i])); - } - str += ''; - } - str += '发动了'; - if (!info.direct && info.log !== false) { - game.log(player, str, '【' + get.skillTranslation(skill, player) + '】'); - if (info.logv !== false) game.logv(player, skill, targets); - player.trySkillAnimate(skill, skill, checkShow); - } - if (event.addCount != false) { - if (player.stat[player.stat.length - 1].skill[skill] == undefined) { - player.stat[player.stat.length - 1].skill[skill] = 1; - } - else { - player.stat[player.stat.length - 1].skill[skill]++; - } - var sourceSkill = get.info(skill).sourceSkill; - if (sourceSkill) { - if (player.stat[player.stat.length - 1].skill[sourceSkill] == undefined) { - player.stat[player.stat.length - 1].skill[sourceSkill] = 1; - } - else { - player.stat[player.stat.length - 1].skill[sourceSkill]++; - } - } - } - if (player.stat[player.stat.length - 1].allSkills == undefined) { - player.stat[player.stat.length - 1].allSkills = 1; - } - else { - player.stat[player.stat.length - 1].allSkills++; - } - if (info.prepare) { - switch (info.prepare) { - case 'give': if (losecard) losecard.visible = true; player.$give(cards, targets[0]); break; - case 'give2': player.$give(cards.length, targets[0]); break; - case 'throw': if (losecard) losecard.visible = true; player.$throw(cards); break; - case 'throw2': player.$throw(cards.length); break; - default: info.prepare(cards, player, targets); - } - } - if (info.round) { - var roundname = skill + '_roundcount'; - player.storage[roundname] = game.roundNumber; - player.syncStorage(roundname); - player.markSkill(roundname); - } - var name = event.skill; - var players = player.getSkills(false, false, false); - var equips = player.getSkills('e'); - var global = lib.skill.global.slice(0); - var logInfo = { - skill: name, - targets: targets, - event: _status.event, - }; - if (info.sourceSkill) { - logInfo.sourceSkill = info.sourceSkill; - if (global.contains(info.sourceSkill)) { - logInfo.type = 'global'; - } - else if (players.contains(info.sourceSkill)) { - logInfo.type = 'player'; - } - else if (equips.contains(info.sourceSkill)) { - logInfo.type = 'equip'; - } - } - else { - if (global.contains(name)) { - logInfo.sourceSkill = name; - logInfo.type = 'global'; - } - else if (players.contains(name)) { - logInfo.sourceSkill = name; - logInfo.type = 'player'; - } - else if (equips.contains(name)) { - logInfo.sourceSkill = name; - logInfo.type = 'equip'; - } - else { - var bool = false; - for (var i of players) { - var expand = [i]; - game.expandSkills(expand); - if (expand.contains(name)) { - bool = true; - logInfo.sourceSkill = i; - logInfo.type = 'player'; - break; - } - } - if (!bool) { - for (var i of players) { - var expand = [i]; - game.expandSkills(expand); - if (expand.contains(name)) { - logInfo.sourceSkill = i; - logInfo.type = 'equip'; - break; - } - } - } - } - } - event.sourceSkill = logInfo.sourceSkill; - event.type = logInfo.type; - player.getHistory('useSkill').push(logInfo); - event.trigger('useSkill'); - "step 1"; - var info = get.info(event.skill); - if (info && info.contentBefore) { - var next = game.createEvent(event.skill + 'ContentBefore'); - next.setContent(info.contentBefore); - next.targets = targets; - next.cards = cards; - next.player = player; - if (event.forceDie) next.forceDie = true; - if (event.includeOut) next.includeOut = true; - } - "step 2"; - if (!event.skill) { - console.log('error: no skill', get.translation(event.player), event.player.getSkills()); - if (event._skill) { - event.skill = event._skill; - console.log(event._skill); - } - else { - event.finish(); - return; - } - } - var info = get.info(event.skill); - if (targets[num] && targets[num].isDead() || - targets[num] && targets[num].isOut() || - targets[num] && targets[num].removed) { - if (!info.multitarget && num < targets.length - 1) { - event.num++; - event.redo(); - } - return; - } - var next = game.createEvent(event.skill); - next.setContent(info.content); - next.targets = targets; - next.cards = cards; - next.player = player; - next.num = num; - next.multitarget = info.multitarget; - if (num == 0 && next.targets.length > 1) { - if (!info.multitarget) { - lib.tempSortSeat = player; - targets.sort(lib.sort.seat); - delete lib.tempSortSeat; - } - for (var i = 0; i < targets.length; i++) { - targets[i].animate('target'); - } - } - next.target = targets[num]; - if (event.forceDie) next.forceDie = true; - if (event.includeOut) next.includeOut = true; - if (next.target && !info.multitarget) { - if (num == 0 && targets.length > 1) { - // var ttt=next.target; - // setTimeout(function(){ttt.animate('target');},0.5*lib.config.duration); - } - else { - next.target.animate('target'); - } - } - if (num == 0) { - if (typeof info.delay == 'number') game.delay(info.delay); - else if (info.delay !== false && info.delay !== 0) { - if (event.waitingForTransition) { - _status.waitingForTransition = event.waitingForTransition; - game.pause(); - } - else { - game.delayx(); - } - } - } - else game.delayx(0.5); - if (!info.multitarget && num < targets.length - 1) { - event.num++; - event.redo(); - } - "step 3"; - var info = get.info(event.skill); - if (info && info.contentAfter) { - var next = game.createEvent(event.skill + 'ContentAfter'); - next.setContent(info.contentAfter); - next.targets = targets; - next.cards = cards; - next.player = player; - if (event.forceDie) next.forceDie = true; - if (event.includeOut) next.includeOut = true; - } - "step 4"; - if (player.getStat().allSkills > 200) { - player._noSkill = true; - console.log(player.name, event.skill); - } - if (document.getElementsByClassName('thrown').length) { - if (event.skill && get.info(event.skill).delay !== false && get.info(event.skill).delay !== 0) game.delayx(); - } - else { - event.finish(); - } - "step 5"; - ui.clear(); - }, - draw: function () { - // if(lib.config.background_audio){ - // game.playAudio('effect','draw'); - // } - // game.broadcast(function(){ - // if(lib.config.background_audio){ - // game.playAudio('effect','draw'); - // } - // }); - if (typeof event.minnum == 'number' && num < event.minnum) { - num = event.minnum; - } - if (event.drawDeck) { - if (event.drawDeck > num) { - event.drawDeck = num; - } - num -= event.drawDeck; - } - if (event.log != false) { - if (num > 0) { - if (event.bottom) game.log(player, '从牌堆底摸了' + get.cnNumber(num) + '张牌'); - else game.log(player, '摸了' + get.cnNumber(num) + '张牌'); - } - if (event.drawDeck) { - game.log(player, '从牌库中获得了' + get.cnNumber(event.drawDeck) + '张牌'); - } - } - var cards; - if (num > 0) { - if (event.bottom) cards = get.bottomCards(num); - else if (player.getTopCards) cards = player.getTopCards(num); - else cards = get.cards(num); - } - else { - cards = []; - } - if (event.drawDeck) { - cards = cards.concat(player.getDeckCards(event.drawDeck)); - } - if (event.animate != false) { - if (event.visible) { - var next = player.gain(cards, 'gain2'); - if (event.bottom) game.log(player, '从牌堆底摸了' + get.cnNumber(num) + '张牌(', cards, ')'); - else game.log(player, '摸了' + get.cnNumber(num) + '张牌(', cards, ')'); - } - else { - var next = player.gain(cards, 'draw'); - } - } - else { - var next = player.gain(cards); - if (event.$draw) { - player.$draw(cards.length); - } - } - if (event.gaintag) next.gaintag.addArray(event.gaintag); - event.result = cards; - }, - discard: function () { - "step 0"; - game.log(player, '弃置了', cards); - event.done = player.lose(cards, event.position, 'visible'); - event.done.type = 'discard'; - if (event.discarder) event.done.discarder = event.discarder; - "step 1"; - event.trigger('discard'); - }, - loseToDiscardpile: function () { - "step 0"; - if (event.log != false) game.log(player, '将', cards, '置入了弃牌堆'); - var next = player.lose(cards, event.position); - if (event.insert_index) next.insert_index = event.insert_index; - if (event.insert_card) next.insert_card = true; - if (!event.blank) next.visible = true; - next.type = 'loseToDiscardpile'; - event.done = next; - "step 1"; - event.trigger('loseToDiscardpile'); - }, - respond: function () { - 'step 0'; - var cardaudio = true; - if (event.skill) { - if (lib.skill[event.skill].audio) { - cardaudio = false; - } - player.logSkill(event.skill); - player.checkShow(event.skill, true); - if (lib.skill[event.skill].onrespond && !game.online) { - lib.skill[event.skill].onrespond(event, player); - } - } - else if (!event.nopopup) player.tryCardAnimate(card, card.name, 'wood'); - if (cardaudio && event.getParent(3).name == 'useCard') game.broadcastAll((player, card) => { - game.playCardAudio(card, player); - /* - if(!lib.config.background_audio) return; - const sex=player.sex=='female'?'female':'male',audio=lib.card[card.name].audio; - if(typeof audio=='string'){ - const audioInfo=audio.split(':'); - if(audio.startsWith('db:')) game.playAudio(`${audioInfo[0]}:${audioInfo[1]}`,audioInfo[2],`${card.name}_${sex}.${audioInfo[3]||'mp3'}`); - else if(audio.startsWith('ext:')) game.playAudio(`${audioInfo[0]}:${audioInfo[1]}`,`${card.name}_${sex}.${audioInfo[2]||'mp3'}`); - else game.playAudio('card',sex,`${audioInfo[0]}.${audioInfo[1]||'mp3'}`); - } - else game.playAudio('card',sex,card.name);*/ - }, player, card); - if (event.skill) { - if (player.stat[player.stat.length - 1].skill[event.skill] == undefined) { - player.stat[player.stat.length - 1].skill[event.skill] = 1; - } - else { - player.stat[player.stat.length - 1].skill[event.skill]++; - } - var sourceSkill = get.info(event.skill).sourceSkill; - if (sourceSkill) { - if (player.stat[player.stat.length - 1].skill[sourceSkill] == undefined) { - player.stat[player.stat.length - 1].skill[sourceSkill] = 1; - } - else { - player.stat[player.stat.length - 1].skill[sourceSkill]++; - } - } - } - if (cards.length && (cards.length > 1 || cards[0].name != card.name)) { - game.log(player, '打出了', card, '(', cards, ')'); - } - else { - game.log(player, '打出了', card); - } - player.actionHistory[player.actionHistory.length - 1].respond.push(event); - if (cards.length) { - var owner = (get.owner(cards[0]) || player); - var next = owner.lose(cards, 'visible', ui.ordering).set('type', 'use'); - var directDiscard = []; - for (var i = 0; i < cards.length; i++) { - if (!next.cards.contains(cards[i])) { - directDiscard.push(cards[i]); - } - } - if (directDiscard.length) game.cardsGotoOrdering(directDiscard); - } - if (event.animate != false && event.throw !== false) { - for (var i = 0; i < cards.length; i++) { - player.$throw(cards[i]); - if (event.highlight) { - cards[i].clone.classList.add('thrownhighlight'); - game.addVideo('highlightnode', player, get.cardInfo(cards[i])); - } - } - if (event.highlight) { - game.broadcast(function (cards) { - for (var i = 0; i < cards.length; i++) { - if (cards[i].clone) { - cards[i].clone.classList.add('thrownhighlight'); - } - } - }, cards); - } - } - event.trigger('respond'); - 'step 1'; - game.delayx(0.5); - }, - swapHandcards: function () { - 'step 0'; - event.cards1 = event.cards1 || player.getCards('h'); - event.cards2 = event.cards2 || target.getCards('h'); - game.loseAsync({ - player: player, - target: target, - cards1: event.cards1, - cards2: event.cards2, - }).setContent('swapHandcardsx'); - 'step 1'; - game.loseAsync({ - gain_list: [ - [player, event.cards2.filterInD()], - [target, event.cards1.filterInD()] - ], - }).setContent('gaincardMultiple'); - 'step 2'; - game.delayx(); - }, - swapHandcardsx: function () { - 'step 0'; - player.$giveAuto(event.cards1, target); - target.$giveAuto(event.cards2, player); - 'step 1'; - event.cards = event.cards1; - var next = player.lose(event.cards, ui.ordering); - next.getlx = false; - next.relatedEvent = event.getParent(); - if (player == game.me) { - event.delayed = true; - } - else { - next.delay = false; - } - 'step 2'; - event.cards = event.cards2; - var next = target.lose(event.cards, ui.ordering); - next.getlx = false; - next.relatedEvent = event.getParent(); - if (target == game.me) { - event.delayed = true; - } - else { - next.delay = false; - } - 'step 3'; - if (!event.delayed) game.delay(); - }, - gainMultiple: function () { - 'step 0'; - event.delayed = false; - event.num = 0; - event.cards = []; - 'step 1'; - player.gainPlayerCard(targets[num], event.position, true).set('boolline', false).set('delay', num == targets.length - 1); - 'step 2'; - if (result.bool) { - event.cards.addArray(result.cards); - if (num == targets.length - 1) event.delayed = true; - } - event.num++; - if (event.num < targets.length) { - event.goto(1); - } - 'step 3'; - if (!event.delayed) game.delay(); - }, - gain: function () { - "step 0"; - if (event.animate == 'give') event.visible = true; - if (cards) { - var map = {}; - for (var i of cards) { - var owner = get.owner(i, 'judge'); - if (owner && (owner != player || get.position(i) != 'h')) { - var id = owner.playerid; - if (!map[id]) map[id] = [[], [], []]; - map[id][0].push(i); - var position = get.position(i); - if (position == 'h') map[id][1].push(i); - else map[id][2].push(i); - } - else if (!event.updatePile && get.position(i) == 'c') event.updatePile = true; - } - event.losing_map = map; - for (var i in map) { - var owner = (_status.connectMode ? lib.playerOL : game.playerMap)[i]; - var next = owner.lose(map[i][0], ui.special).set('type', 'gain').set('forceDie', true).set('getlx', false); - if (event.visible == true) { - next.visible = true; - } - event.relatedLose = next; - } - } - else { - event.finish(); - } - "step 1"; - for (var i = 0; i < cards.length; i++) { - if (cards[i].willBeDestroyed('handcard', player, event)) { - cards[i].selfDestroy(event); - cards.splice(i--, 1); - } - else if (event.losing_map) { - for (var id in event.losing_map) { - if (event.losing_map[id][0].contains(cards[i])) { - var source = (_status.connectMode ? lib.playerOL : game.playerMap)[id]; - var hs = source.getCards('hejsx'); - if (hs.contains(cards[i])) { - cards.splice(i--, 1); - } else { - cards[i].addKnower(event.visible ? 'everyone' : source); - } - } - } - } - } - if (cards.length == 0) { - event.finish(); - return; - } - player.getHistory('gain').push(event); - //if(event.source&&event.delay!==false) game.delayx(); - "step 2"; - if (player.getStat().gain == undefined) { - player.getStat().gain = cards.length; - } - else { - player.getStat().gain += cards.length; - } - "step 3"; - var sort; - var frag1 = document.createDocumentFragment(); - var frag2 = document.createDocumentFragment(); - var hs = player.getCards('hs'); - for (var i = 0; i < cards.length; i++) { - if (hs.contains(cards[i])) { - cards.splice(i--, 1); - } - } - for (var num = 0; num < cards.length; num++) { - sort = lib.config.sort_card(cards[num]); - if (lib.config.reverse_sort) sort = -sort; - if (['o', 'd'].contains(get.position(cards[num], true))) { - cards[num].addKnower('everyone'); - } - cards[num].fix(); - cards[num].style.transform = ''; - cards[num].addGaintag(event.gaintag); - if (event.knowers) { - cards[num].addKnower(event.knowers);//添加事件设定的知情者。 - } - if (_status.discarded) { - _status.discarded.remove(cards[num]); - } - // cards[num].vanishtag.length=0; - for (var num2 = 0; num2 < cards[num].vanishtag.length; num2++) { - if (cards[num].vanishtag[num2][0] != '_') { - cards[num].vanishtag.splice(num2--, 1); - } - } - if (player == game.me) { - cards[num].classList.add('drawinghidden'); - } - if (get.is.singleHandcard() || sort > 1) frag1.appendChild(cards[num]); - else frag2.appendChild(cards[num]); - } - var addv = function () { - if (player == game.me) { - game.addVideo('gain12', player, [get.cardsInfo(frag1.childNodes), get.cardsInfo(frag2.childNodes), event.gaintag]); - } - }; - var broadcast = function () { - game.broadcast(function (player, cards, num, gaintag) { - player.directgain(cards, null, gaintag); - _status.cardPileNum = num; - }, player, cards, ui.cardPile.childNodes.length, event.gaintag); - }; - if (event.animate == 'draw') { - player.$draw(cards.length); - game.pause(); - setTimeout(function () { - addv(); - player.node.handcards1.insertBefore(frag1, player.node.handcards1.firstChild); - player.node.handcards2.insertBefore(frag2, player.node.handcards2.firstChild); - player.update(); - if (player == game.me) ui.updatehl(); - broadcast(); - game.resume(); - }, get.delayx(500, 500)); - } - else if (event.animate == 'gain') { - player.$gain(cards, event.log); - game.pause(); - setTimeout(function () { - addv(); - player.node.handcards1.insertBefore(frag1, player.node.handcards1.firstChild); - player.node.handcards2.insertBefore(frag2, player.node.handcards2.firstChild); - player.update(); - if (player == game.me) ui.updatehl(); - broadcast(); - game.resume(); - }, get.delayx(700, 700)); - } - else if (event.animate == 'gain2' || event.animate == 'draw2') { - var gain2t = 300; - if (player.$gain2(cards, event.log) && player == game.me) { - gain2t = 500; - } - game.pause(); - setTimeout(function () { - addv(); - player.node.handcards1.insertBefore(frag1, player.node.handcards1.firstChild); - player.node.handcards2.insertBefore(frag2, player.node.handcards2.firstChild); - player.update(); - if (player == game.me) ui.updatehl(); - broadcast(); - game.resume(); - }, get.delayx(gain2t, gain2t)); - } - else if (event.animate == 'give' || event.animate == 'giveAuto') { - var evtmap = event.losing_map; - if (event.animate == 'give') { - for (var i in evtmap) { - var source = (_status.connectMode ? lib.playerOL : game.playerMap)[i]; - source.$give(evtmap[i][0], player, event.log); - } - } - else { - for (var i in evtmap) { - var source = (_status.connectMode ? lib.playerOL : game.playerMap)[i]; - if (evtmap[i][1].length) source.$giveAuto(evtmap[i][1], player, event.log); - if (evtmap[i][2].length) source.$give(evtmap[i][2], player, event.log); - } - } - game.pause(); - setTimeout(function () { - addv(); - player.node.handcards1.insertBefore(frag1, player.node.handcards1.firstChild); - player.node.handcards2.insertBefore(frag2, player.node.handcards2.firstChild); - player.update(); - if (player == game.me) ui.updatehl(); - broadcast(); - game.resume(); - }, get.delayx(500, 500)); - } - else if (typeof event.animate == 'function') { - var time = event.animate(event); - game.pause(); - setTimeout(function () { - addv(); - player.node.handcards1.insertBefore(frag1, player.node.handcards1.firstChild); - player.node.handcards2.insertBefore(frag2, player.node.handcards2.firstChild); - player.update(); - if (player == game.me) ui.updatehl(); - broadcast(); - game.resume(); - }, get.delayx(time, time)); - } - else { - addv(); - player.node.handcards1.insertBefore(frag1, player.node.handcards1.firstChild); - player.node.handcards2.insertBefore(frag2, player.node.handcards2.firstChild); - player.update(); - if (player == game.me) ui.updatehl(); - broadcast(); - event.finish(); - } - "step 4"; - game.delayx(); - if (event.updatePile) game.updateRoundNumber(); - }, - addToExpansion: function () { - "step 0"; - if (event.animate == 'give') event.visible = true; - if (cards) { - var map = {}; - for (var i of cards) { - var owner = get.owner(i, 'judge'); - if (owner && (owner != player || get.position(i) != 'x')) { - var id = owner.playerid; - if (!map[id]) map[id] = [[], [], []]; - map[id][0].push(i); - var position = get.position(i); - if (position == 'h') map[id][1].push(i); - else map[id][2].push(i); - } - else if (!event.updatePile && get.position(i) == 'c') event.updatePile = true; - } - event.losing_map = map; - for (var i in map) { - var owner = (_status.connectMode ? lib.playerOL : game.playerMap)[i]; - var next = owner.lose(map[i][0], ui.special).set('type', 'loseToExpansion').set('forceDie', true).set('getlx', false); - if (event.visible == true) next.visible = true; - event.relatedLose = next; - } - } - else { - event.finish(); - } - "step 1"; - for (var i = 0; i < cards.length; i++) { - if (cards[i].willBeDestroyed('expansion', player, event)) { - cards[i].selfDestroy(event); - cards.splice(i--, 1); - } - else if (event.losing_map) { - for (var id in event.losing_map) { - if (event.losing_map[id][0].contains(cards[i])) { - var source = (_status.connectMode ? lib.playerOL : game.playerMap)[id]; - var hs = source.getCards('hejsx'); - if (hs.contains(cards[i])) { - cards.splice(i--, 1); - } - } - } - } - } - if (cards.length == 0) { - event.finish(); - return; - } - "step 2"; - var hs = player.getCards('x'); - for (var i = 0; i < cards.length; i++) { - if (hs.contains(cards[i])) { - cards.splice(i--, 1); - } - } - for (var num = 0; num < cards.length; num++) { - if (_status.discarded) { - _status.discarded.remove(cards[num]); - } - for (var num2 = 0; num2 < cards[num].vanishtag.length; num2++) { - if (cards[num].vanishtag[num2][0] != '_') { - cards[num].vanishtag.splice(num2--, 1); - } - } - } - if (event.animate == 'draw') { - player.$draw(cards.length); - if (event.log) game.log(player, '将', get.cnNumber(cards.length), '张牌置于了武将牌上'); - game.pause(); - setTimeout(function () { - player.$addToExpansion(cards, null, event.gaintag); - for (var i of event.gaintag) player.markSkill(i); - game.resume(); - }, get.delayx(500, 500)); - } - else if (event.animate == 'gain') { - player.$gain(cards, false); - game.pause(); - setTimeout(function () { - player.$addToExpansion(cards, null, event.gaintag); - for (var i of event.gaintag) player.markSkill(i); - game.resume(); - }, get.delayx(700, 700)); - } - else if (event.animate == 'gain2' || event.animate == 'draw2') { - var gain2t = 300; - if (player.$gain2(cards) && player == game.me) { - gain2t = 500; - } - game.pause(); - setTimeout(function () { - player.$addToExpansion(cards, null, event.gaintag); - for (var i of event.gaintag) player.markSkill(i); - game.resume(); - }, get.delayx(gain2t, gain2t)); - } - else if (event.animate == 'give' || event.animate == 'giveAuto') { - var evtmap = event.losing_map; - if (event.animate == 'give') { - for (var i in evtmap) { - var source = (_status.connectMode ? lib.playerOL : game.playerMap)[i]; - source.$give(evtmap[i][0], player, false); - if (event.log) game.log(player, '将', evtmap[i][0], '置于了武将牌上'); - } - } - else { - for (var i in evtmap) { - var source = (_status.connectMode ? lib.playerOL : game.playerMap)[i]; - if (evtmap[i][1].length) { - source.$giveAuto(evtmap[i][1], player, false); - if (event.log) game.log(player, '将', get.cnNumber(evtmap[i][1].length), '张牌置于了武将牌上'); - } - if (evtmap[i][2].length) { - source.$give(evtmap[i][2], player, false); - if (event.log) game.log(player, '将', evtmap[i][2], '置于了武将牌上'); - } - } - } - game.pause(); - setTimeout(function () { - player.$addToExpansion(cards, null, event.gaintag); - for (var i of event.gaintag) player.markSkill(i); - game.resume(); - }, get.delayx(500, 500)); - } - else if (typeof event.animate == 'function') { - var time = event.animate(event); - game.pause(); - setTimeout(function () { - player.$addToExpansion(cards, null, event.gaintag); - for (var i of event.gaintag) player.markSkill(i); - game.resume(); - }, get.delayx(time, time)); - } - else { - player.$addToExpansion(cards, null, event.gaintag); - for (var i of event.gaintag) player.markSkill(i); - event.finish(); - } - "step 4"; - game.delayx(); - if (event.updatePile) game.updateRoundNumber(); - }, - lose: function () { - "step 0"; - var evt = event.getParent(); - if ((evt.name != 'discard' || event.type != 'discard') && (evt.name != 'loseToDiscardpile' || event.type != 'loseToDiscardpile')) { - event.delay = false; - return; - } - if (evt.delay === false) event.delay = false; - if (evt.animate != false) { - evt.discardid = lib.status.videoId++; - game.broadcastAll(function (player, cards, id, visible) { - player.$throw(cards, null, 'nobroadcast'); - var cardnodes = []; - cardnodes._discardtime = get.time(); - for (var i = 0; i < cards.length; i++) { - if (cards[i].clone) { - cardnodes.push(cards[i].clone); - if (!visible) { - cards[i].clone.classList.add('infohidden'); - cards[i].clone.classList.add('infoflip'); - } - } - } - ui.todiscard[id] = cardnodes; - }, player, cards, evt.discardid, event.visible); - if (lib.config.sync_speed && cards[0] && cards[0].clone) { - if (evt.delay != false) { - var waitingForTransition = get.time(); - evt.waitingForTransition = waitingForTransition; - cards[0].clone.listenTransition(function () { - if (_status.waitingForTransition == waitingForTransition && _status.paused) { - game.resume(); - } - delete evt.waitingForTransition; - }); - } - else if (evt.getParent().discardTransition) { - delete evt.getParent().discardTransition; - var waitingForTransition = get.time(); - evt.getParent().waitingForTransition = waitingForTransition; - cards[0].clone.listenTransition(function () { - if (_status.waitingForTransition == waitingForTransition && _status.paused) { - game.resume(); - } - delete evt.getParent().waitingForTransition; - }); - } - } - } - "step 1"; - event.gaintag_map = {}; - var hs = [], es = [], js = [], ss = [], xs = []; - var unmarks = []; - if (event.insert_card && event.position == ui.cardPile) event.cards.reverse(); - var hej = player.getCards('hejsx'); - event.stockcards = cards.slice(0); - for (var i = 0; i < cards.length; i++) { - if (!hej.contains(cards[i])) { - cards.splice(i--, 1); - continue; - } - else if (cards[i].parentNode) { - if (cards[i].parentNode.classList.contains('equips')) { - cards[i].original = 'e'; - es.push(cards[i]); - } - else if (cards[i].parentNode.classList.contains('judges')) { - cards[i].original = 'j'; - js.push(cards[i]); - } - else if (cards[i].parentNode.classList.contains('expansions')) { - cards[i].original = 'x'; - xs.push(cards[i]); - if (cards[i].gaintag && cards[i].gaintag.length) unmarks.addArray(cards[i].gaintag); - } - else if (cards[i].parentNode.classList.contains('handcards')) { - if (cards[i].classList.contains('glows')) { - cards[i].original = 's'; - ss.push(cards[i]); - } - else { - cards[i].original = 'h'; - hs.push(cards[i]); - } - } - else { - cards[i].original = null; - } - } - if (cards[i].gaintag && cards[i].gaintag.length) { - event.gaintag_map[cards[i].cardid] = cards[i].gaintag.slice(0); - cards[i].removeGaintag(true); - } - - cards[i].style.transform += ' scale(0.2)'; - cards[i].classList.remove('glow'); - cards[i].classList.remove('glows'); - cards[i].recheck(); - - var info = lib.card[cards[i].name]; - if ('_destroy' in cards[i]) { - if (cards[i]._destroy) { - cards[i].delete(); - cards[i].destroyed = cards[i]._destroy; - continue; - } - } - else if ('destroyed' in cards[i]) { - if (event.getlx !== false && event.position && cards[i].willBeDestroyed(event.position.id, null, event)) { - cards[i].selfDestroy(event); - continue; - } - } - else if (info.destroy) { - cards[i].delete(); - cards[i].destroyed = info.destroy; - continue; - } - if (event.position) { - if (_status.discarded) { - if (event.position == ui.discardPile) { - _status.discarded.add(cards[i]); - } - else { - _status.discarded.remove(cards[i]); - } - } - if (event.insert_index) { - cards[i].fix(); - event.position.insertBefore(cards[i], event.insert_index(event, cards[i])); - } - else if (event.insert_card) { - cards[i].fix(); - event.position.insertBefore(cards[i], event.position.firstChild); - } - else if (event.position == ui.cardPile) { - cards[i].fix(); - event.position.appendChild(cards[i]); - } - else cards[i].goto(event.position); - } - else { - cards[i].remove(); - } - //if(ss.contains(cards[i])) cards.splice(i--,1); - } - if (player == game.me) ui.updatehl(); - ui.updatej(player); - game.broadcast(function (player, cards, num) { - for (var i = 0; i < cards.length; i++) { - cards[i].classList.remove('glow'); - cards[i].classList.remove('glows'); - cards[i].fix(); - cards[i].remove(); - } - if (player == game.me) { - ui.updatehl(); - } - ui.updatej(player); - _status.cardPileNum = num; - }, player, cards, ui.cardPile.childNodes.length); - game.addVideo('lose', player, [get.cardsInfo(hs), get.cardsInfo(es), get.cardsInfo(js), get.cardsInfo(ss)]); - event.cards2 = hs.concat(es); - player.getHistory('lose').push(event); - game.getGlobalHistory().cardMove.push(event); - player.update(); - game.addVideo('loseAfter', player); - event.num = 0; - if (event.position == ui.ordering) { - var evt = event.relatedEvent || event.getParent(); - if (!evt.orderingCards) evt.orderingCards = []; - if (!evt.noOrdering && !evt.cardsOrdered) { - evt.cardsOrdered = true; - var next = game.createEvent('orderingDiscard', false, evt.getParent()); - next.relatedEvent = evt; - next.setContent('orderingDiscard'); - } - if (!evt.noOrdering) { - evt.orderingCards.addArray(cards); - } - } - else if (event.position == ui.cardPile) { - game.updateRoundNumber(); - } - if (unmarks.length) { - for (var i of unmarks) { - player[(lib.skill[i] && lib.skill[i].mark || player.hasCard((card) => card.hasGaintag(i), 'x')) ? 'markSkill' : 'unmarkSkill'](i); - } - } - event.hs = hs; - event.es = es; - event.js = js; - event.ss = ss; - event.xs = xs; - game.clearCardKnowers(hs); - if (hs.length && !event.visible) { - player.getCards('h').forEach(hcard => { hcard.clearKnowers(); }); - } - "step 2"; - if (num < cards.length) { - if (event.es.contains(cards[num])) { - event.loseEquip = true; - player.removeEquipTrigger(cards[num]); - var info = get.info(cards[num]); - if (info.onLose && (!info.filterLose || info.filterLose(cards[num], player))) { - event.goto(3); - return; - } - } - event.num++; - event.redo(); - } - else { - if (event.loseEquip) { - player.addEquipTrigger(); - } - event.goto(4); - } - "step 3"; - var info = get.info(cards[num]); - if (info.loseDelay != false && (player.isAlive() || info.forceDie)) { - player.popup(cards[num].name); - game.delayx(); - } - if (Array.isArray(info.onLose)) { - for (var i = 0; i < info.onLose.length; i++) { - var next = game.createEvent('lose_' + cards[num].name); - next.setContent(info.onLose[i]); - if (info.forceDie) next.forceDie = true; - next.player = player; - next.card = cards[num]; - } - } - else { - var next = game.createEvent('lose_' + cards[num].name); - next.setContent(info.onLose); - next.player = player; - if (info.forceDie) next.forceDie = true; - next.card = cards[num]; - } - event.num++; - event.goto(2); - "step 4"; - if (event.toRenku) { - _status.renku.addArray(cards.filter(function (card) { - return !card.willBeDestroyed('renku', null, event); - })); - if (_status.renku.length > 6) { - var cards = _status.renku.splice(0, _status.renku.length - 6); - game.log(cards, '从仁库进入了弃牌堆'); - game.cardsDiscard(cards).set('outRange', true).fromRenku = true; - } - game.updateRenku(); - } - "step 5"; - var evt = event.getParent(); - if ((evt.name != 'discard' && event.type != 'discard') && (evt.name != 'loseToDiscardpile' && event.type != 'loseToDiscardpile')) return; - if (event.animate === false || event.delay === false) return; - if (evt.delay != false) { - if (evt.waitingForTransition) { - _status.waitingForTransition = evt.waitingForTransition; - game.pause(); - } - else { - game.delayx(); - } - } - }, - damage: function () { - "step 0"; - event.forceDie = true; - if (event.unreal) { event.goto(4); return; } - event.trigger('damageBegin1'); - "step 1"; - event.trigger('damageBegin2'); - "step 2"; - event.trigger('damageBegin3'); - "step 3"; - event.trigger('damageBegin4'); - "step 4"; - //moved changeHujia to changeHp - if (player.hujia > 0 && !player.hasSkillTag('nohujia')) { - var damageAudioInfo = lib.natureAudio.hujia_damage[event.nature]; - if (!damageAudioInfo || damageAudioInfo == 'normal') { - damageAudioInfo = 'effect/hujia_damage' + (num > 1 ? '2' : '') + '.mp3'; - } else if (damageAudioInfo == 'default') { - damageAudioInfo = 'effect/hujia_damage_' + event.nature + (num > 1 ? '2' : '') + '.mp3'; - } else { - damageAudioInfo = damageAudioInfo[num > 1 ? 2 : 1]; - } - game.broadcastAll(function (damageAudioInfo) { - if (lib.config.background_audio) game.playAudio(damageAudioInfo); - }, damageAudioInfo); - } else { - var damageAudioInfo = lib.natureAudio.damage[event.nature]; - if (!damageAudioInfo || damageAudioInfo == 'normal') { - damageAudioInfo = 'effect/damage' + (num > 1 ? '2' : '') + '.mp3'; - } else if (damageAudioInfo == 'default') { - damageAudioInfo = 'effect/damage_' + event.nature + (num > 1 ? '2' : '') + '.mp3'; - } else { - damageAudioInfo = damageAudioInfo[num > 1 ? 2 : 1]; - } - game.broadcastAll(function (damageAudioInfo) { - if (lib.config.background_audio) game.playAudio(damageAudioInfo); - }, damageAudioInfo); - } - var str = event.unreal ? '视为受到了' : '受到了'; - if (source) str += '来自' + (source == player ? '自己' : get.translation(source)) + '的'; - str += get.cnNumber(num) + '点'; - if (event.nature) str += get.translation(event.nature) + '属性'; - str += '伤害'; - game.log(player, str); - if (player.stat[player.stat.length - 1].damaged == undefined) { - player.stat[player.stat.length - 1].damaged = num; - } - else { - player.stat[player.stat.length - 1].damaged += num; - } - if (source) { - source.getHistory('sourceDamage').push(event); - if (source.stat[source.stat.length - 1].damage == undefined) { - source.stat[source.stat.length - 1].damage = num; - } - else { - source.stat[source.stat.length - 1].damage += num; - } - } - player.getHistory('damage').push(event); - if (!event.unreal) { - if (event.notrigger) { - player.changeHp(-num, false)._triggered = null; - } - else { - player.changeHp(-num, false); - } - } - if (event.animate !== false) { - player.$damage(source); - var natures = (event.nature || '').split(lib.natureSeparator); - game.broadcastAll(function (natures, player) { - if (lib.config.animation && !lib.config.low_performance) { - if (natures.includes('fire')) { - player.$fire(); - } - if (natures.includes('thunder')) { - player.$thunder(); - } - } - }, natures, player); - var numx = player.hasSkillTag('nohujia') ? num : Math.max(0, num - player.hujia); - player.$damagepop(-numx, natures[0]); - } - if (event.unreal) event.goto(6); - if (!event.notrigger) { - if (num == 0) { - event.trigger('damageZero'); - event._triggered = null; - } - else { - event.trigger('damage'); - } - } - "step 5"; - if (player.hp <= 0 && player.isAlive() && !event.nodying) { - game.delayx(); - event._dyinged = true; - player.dying(event); - } - if (source && lib.config.border_style == 'auto') { - var dnum = 0; - for (var j = 0; j < source.stat.length; j++) { - if (source.stat[j].damage != undefined) dnum += source.stat[j].damage; - } - if (dnum >= 2) { - if (lib.config.autoborder_start == 'silver') { - dnum += 4; - } - else if (lib.config.autoborder_start == 'gold') { - dnum += 8; - } - } - if (lib.config.autoborder_count == 'damage') { - source.node.framebg.dataset.decoration = ''; - if (dnum >= 10) { - source.node.framebg.dataset.auto = 'gold'; - if (dnum >= 12) source.node.framebg.dataset.decoration = 'gold'; - } - else if (dnum >= 6) { - source.node.framebg.dataset.auto = 'silver'; - if (dnum >= 8) source.node.framebg.dataset.decoration = 'silver'; - } - else if (dnum >= 2) { - source.node.framebg.dataset.auto = 'bronze'; - if (dnum >= 4) source.node.framebg.dataset.decoration = 'bronze'; - } - if (dnum >= 2) { - source.classList.add('topcount'); - } - } - else if (lib.config.autoborder_count == 'mix') { - source.node.framebg.dataset.decoration = ''; - switch (source.node.framebg.dataset.auto) { - case 'bronze': if (dnum >= 4) source.node.framebg.dataset.decoration = 'bronze'; break; - case 'silver': if (dnum >= 8) source.node.framebg.dataset.decoration = 'silver'; break; - case 'gold': if (dnum >= 12) source.node.framebg.dataset.decoration = 'gold'; break; - } - } - } - "step 6"; - if (!event.notrigger) event.trigger('damageSource'); - }, - recover: function () { - if (lib.config.background_audio) { - game.playAudio('effect', 'recover'); - } - game.broadcast(function () { - if (lib.config.background_audio) { - game.playAudio('effect', 'recover'); - } - }); - if (num > player.maxHp - player.hp) { - num = player.maxHp - player.hp; - event.num = num; - } - if (num > 0) { - player.changeHp(num, false); - game.broadcastAll(function (player) { - if (lib.config.animation && !lib.config.low_performance) { - player.$recover(); - } - }, player); - player.$damagepop(num, 'wood'); - game.log(player, '回复了' + get.cnNumber(num) + '点体力'); - } - }, - loseHp: function () { - "step 0"; - if (lib.config.background_audio) { - game.playAudio('effect', 'loseHp'); - } - game.broadcast(function () { - if (lib.config.background_audio) { - game.playAudio('effect', 'loseHp'); - } - }); - game.log(player, '失去了' + get.cnNumber(num) + '点体力'); - player.changeHp(-num); - "step 1"; - if (player.hp <= 0 && !event.nodying) { - game.delayx(); - event._dyinged = true; - player.dying(event); - } - }, - doubleDraw: function () { - "step 0"; - player.chooseBool('你的主副将体力上限之和是奇数,是否摸一张牌?'); - "step 1"; - if (result.bool) { - player.draw(); - } - }, - loseMaxHp: function () { - "step 0"; - game.log(player, '减少了' + get.cnNumber(num) + '点体力上限'); - player.maxHp -= num; - event.loseHp = Math.max(0, player.hp - player.maxHp); - player.update(); - "step 1"; - if (player.maxHp <= 0) { - player.die(event); - } - }, - gainMaxHp: function () { - "step 0"; - game.log(player, '增加了' + get.cnNumber(num) + '点体力上限'); - player.maxHp += num; - player.update(); - }, - changeHp: function () { - //add to GlobalHistory - game.getGlobalHistory().changeHp.push(event); - //changeHujia moved here - if (num < 0 && player.hujia > 0 && event.getParent().name == 'damage' && !player.hasSkillTag('nohujia')) { - event.hujia = Math.min(-num, player.hujia); - event.getParent().hujia = event.hujia; - event.num += event.hujia; - //log moved to changeHujia - //game.log(player,'的护甲抵挡了'+get.cnNumber(event.hujia)+'点伤害'); - player.changeHujia(-event.hujia).type = 'damage'; - } - //old part - num = event.num; - player.hp += num; - if (isNaN(player.hp)) player.hp = 0; - if (player.hp > player.maxHp) player.hp = player.maxHp; - player.update(); - if (event.popup !== false) { - player.$damagepop(num, 'water'); - } - if (_status.dying.contains(player) && player.hp > 0) { - _status.dying.remove(player); - game.broadcast(function (list) { - _status.dying = list; - }, _status.dying); - var evt = event.getParent('_save'); - if (evt && evt.finish) evt.finish(); - evt = event.getParent('dying'); - if (evt && evt.finish) evt.finish(); - } - event.trigger('changeHp'); - }, - changeHujia: function () { - if (num > 0) { - game.log(player, '获得了' + get.cnNumber(num) + '点护甲'); - } - else if (num < 0) { - if (-num > player.hujia) { - num = -player.hujia; - event.num = num; - } - switch (event.type) { //log moved here - case 'damage': - game.log(player, '的护甲抵挡了' + get.cnNumber(-num) + '点伤害'); - break; - case 'lose': - game.log(player, '失去了' + get.cnNumber(-num) + '点护甲'); - break; - } - } - player.hujia += num; - //if(player.hujia<0){ - // player.hujia=0; - //} - player.update(); - }, - dying: function () { - "step 0"; - event.forceDie = true; - if (player.isDying() || player.hp > 0) { - event.finish(); - return; - } - _status.dying.unshift(player); - game.broadcast(function (list) { - _status.dying = list; - }, _status.dying); - event.trigger('dying'); - game.log(player, '濒死'); - "step 1"; - delete event.filterStop; - if (player.hp > 0 || event.nodying) { - _status.dying.remove(player); - game.broadcast(function (list) { - _status.dying = list; - }, _status.dying); - event.finish(); - } - else if (!event.skipTao) { - var next = game.createEvent('_save'); - var start = false; - var starts = [_status.currentPhase, event.source, event.player, game.me, game.players[0]]; - for (var i = 0; i < starts.length; i++) { - if (get.itemtype(starts[i]) == 'player') { - start = starts[i]; break; - } - } - next.player = start; - next._trigger = event; - next.triggername = '_save'; - next.forceDie = true; - next.setContent(lib.skill._save.content); - } - "step 2"; - _status.dying.remove(player); - game.broadcast(function (list) { - _status.dying = list; - }, _status.dying); - if (player.hp <= 0 && !event.nodying && !player.nodying) player.die(event.reason); - }, - die: function () { - "step 0"; - event.forceDie = true; - if (_status.roundStart == player) { - _status.roundStart = player.next || player.getNext() || game.players[0]; - } - if (ui.land && ui.land.player == player) { - game.addVideo('destroyLand'); - ui.land.destroy(); - } - var unseen = false; - if (player.classList.contains('unseen')) { - player.classList.remove('unseen'); - unseen = true; - } - var logvid = game.logv(player, 'die', source); - event.logvid = logvid; - if (unseen) { - player.classList.add('unseen'); - } - if (source) { - game.log(player, '被', source, '杀害'); - if (source.stat[source.stat.length - 1].kill == undefined) { - source.stat[source.stat.length - 1].kill = 1; - } - else { - source.stat[source.stat.length - 1].kill++; - } - } - else { - game.log(player, '阵亡'); - } - - - // player.removeEquipTrigger(); - - // for(var i in lib.skill.globalmap){ - // if(lib.skill.globalmap[i].contains(player)){ - // lib.skill.globalmap[i].remove(player); - // if(lib.skill.globalmap[i].length==0&&!lib.skill[i].globalFixed){ - // game.removeGlobalSkill(i); - // } - // } - // } - game.broadcastAll(function (player) { - player.classList.add('dead'); - player.removeLink(); - player.classList.remove('turnedover'); - player.classList.remove('out'); - player.node.count.innerHTML = '0'; - player.node.hp.hide(); - player.node.equips.hide(); - player.node.count.hide(); - player.previous.next = player.next; - player.next.previous = player.previous; - game.players.remove(player); - game.dead.push(player); - _status.dying.remove(player); - - if (lib.config.background_speak) { - if (lib.character[player.name] && lib.character[player.name][4].some(tag => /^die:.+$/.test(tag))) { - var tag = lib.character[player.name][4].find(tag => /^die:.+$/.test(tag)); - var reg = new RegExp("^ext:(.+)?/"); - var match = tag.match(/^die:(.+)$/); - if (match) { - var path = match[1]; - if (reg.test(path)) path = path.replace(reg, (_o, p) => `../extension/${p}/`); - game.playAudio(path); - } - } - else if (lib.character[player.name] && lib.character[player.name][4].some(tag => tag.startsWith('die_audio'))) { - var tag = lib.character[player.name][4].find(tag => tag.startsWith('die_audio')); - var list = tag.split(':').slice(1); - game.playAudio('die', list.length ? list[0] : player.name); - } - else { - game.playAudio('die', player.name, function () { - game.playAudio('die', player.name.slice(player.name.indexOf('_') + 1)); - }); - } - } - }, player); - - game.addVideo('diex', player); - if (event.animate !== false) { - player.$die(source); - } - if (player.hp != 0) { - player.changeHp(0 - player.hp, false).forceDie = true; - } - "step 1"; - if (player.dieAfter) player.dieAfter(source); - "step 2"; - event.trigger('die'); - "step 3"; - if (player.isDead()) { - if (!game.reserveDead) { - for (var mark in player.marks) { - player.unmarkSkill(mark); - } - while (player.node.marks.childNodes.length > 1) { - player.node.marks.lastChild.remove(); - } - game.broadcast(function (player) { - while (player.node.marks.childNodes.length > 1) { - player.node.marks.lastChild.remove(); - } - }, player); - } - for (var i in player.tempSkills) { - player.removeSkill(i); - } - var skills = player.getSkills(); - for (var i = 0; i < skills.length; i++) { - if (lib.skill[skills[i]].temp) { - player.removeSkill(skills[i]); - } - } - if (_status.characterlist) { - if (lib.character[player.name] && !player.name.startsWith('gz_shibing') && !player.name.startsWith('gz_jun_')) _status.characterlist.add(player.name); - if (lib.character[player.name1] && !player.name1.startsWith('gz_shibing') && !player.name1.startsWith('gz_jun_')) _status.characterlist.add(player.name1); - if (lib.character[player.name2] && !player.name2.startsWith('gz_shibing') && !player.name2.startsWith('gz_jun_')) _status.characterlist.add(player.name2); - } - event.cards = player.getCards('hejsx'); - if (event.cards.length) { - player.discard(event.cards).forceDie = true; - //player.$throw(event.cards,1000); - } - } - "step 4"; - if (player.dieAfter2) player.dieAfter2(source); - "step 5"; - game.broadcastAll(function (player) { - if (game.online && player == game.me && !_status.over && !game.controlOver && !ui.exit) { - if (lib.mode[lib.configOL.mode].config.dierestart) { - ui.create.exit(); - } - } - }, player); - if (!_status.connectMode && player == game.me && !_status.over && !game.controlOver) { - ui.control.show(); - if (get.config('revive') && lib.mode[lib.config.mode].config.revive && !ui.revive) { - ui.revive = ui.create.control('revive', ui.click.dierevive); - } - if (get.config('continue_game') && !ui.continue_game && lib.mode[lib.config.mode].config.continue_game && !_status.brawl && !game.no_continue_game) { - ui.continue_game = ui.create.control('再战', game.reloadCurrent); - } - if (get.config('dierestart') && lib.mode[lib.config.mode].config.dierestart && !ui.restart) { - ui.restart = ui.create.control('restart', game.reload); - } - } - - if (!_status.connectMode && player == game.me && !game.modeSwapPlayer) { - // _status.auto=false; - if (ui.auto) { - // ui.auto.classList.remove('glow'); - ui.auto.hide(); - } - if (ui.wuxie) ui.wuxie.hide(); - } - - if (typeof _status.coin == 'number' && source && !_status.auto) { - if (source == game.me || source.isUnderControl()) { - _status.coin += 10; - } - } - if (source && lib.config.border_style == 'auto' && (lib.config.autoborder_count == 'kill' || lib.config.autoborder_count == 'mix')) { - switch (source.node.framebg.dataset.auto) { - case 'gold': case 'silver': source.node.framebg.dataset.auto = 'gold'; break; - case 'bronze': source.node.framebg.dataset.auto = 'silver'; break; - default: source.node.framebg.dataset.auto = lib.config.autoborder_start || 'bronze'; - } - if (lib.config.autoborder_count == 'kill') { - source.node.framebg.dataset.decoration = source.node.framebg.dataset.auto; - } - else { - var dnum = 0; - for (var j = 0; j < source.stat.length; j++) { - if (source.stat[j].damage != undefined) dnum += source.stat[j].damage; - } - source.node.framebg.dataset.decoration = ''; - switch (source.node.framebg.dataset.auto) { - case 'bronze': if (dnum >= 4) source.node.framebg.dataset.decoration = 'bronze'; break; - case 'silver': if (dnum >= 8) source.node.framebg.dataset.decoration = 'silver'; break; - case 'gold': if (dnum >= 12) source.node.framebg.dataset.decoration = 'gold'; break; - } - } - source.classList.add('topcount'); - } - }, - addJudge: function () { - "step 0"; - if (cards) { - var owner = get.owner(cards[0]); - if (owner) { - event.relatedLose = owner.lose(cards, 'visible', ui.special).set('getlx', false); - } - else if (get.position(cards[0]) == 'c') event.updatePile = true; - } - "step 1"; - if (cards[0].willBeDestroyed('judge', player, event)) { - cards[0].selfDestroy(event); - event.finish(); - return; - } - else if (event.relatedLose) { - var owner = event.relatedLose.player; - if (owner.getCards('hejsx').contains(card)) { - event.finish(); - return; - } - } - cards[0].fix(); - cards[0].style.transform = ''; - cards[0].classList.remove('drawinghidden'); - delete cards[0]._transform; - var viewAs = typeof card == 'string' ? card : card.name; - if (!lib.card[viewAs] || !lib.card[viewAs].effect) { - game.cardsDiscard(cards[0]); - } - else { - cards[0].style.transform = ''; - cards[0].classList.add('drawinghidden'); - player.node.judges.insertBefore(cards[0], player.node.judges.firstChild); - if (_status.discarded) { - _status.discarded.remove(cards[0]); - } - ui.updatej(player); - game.broadcast(function (player, card, viewAs) { - card.fix(); - card.style.transform = ''; - card.classList.add('drawinghidden'); - card.viewAs = viewAs; - if (viewAs && viewAs != card.name && (card.classList.contains('fullskin') || card.classList.contains('fullborder'))) { - card.classList.add('fakejudge'); - card.node.background.innerHTML = lib.translate[viewAs + '_bg'] || get.translation(viewAs)[0]; - } - else { - card.classList.remove('fakejudge'); - } - player.node.judges.insertBefore(card, player.node.judges.firstChild); - ui.updatej(player); - if (card.clone && (card.clone.parentNode == player.parentNode || card.clone.parentNode == ui.arena)) { - card.clone.moveDelete(player); - game.addVideo('gain2', player, get.cardsInfo([card])); - } - }, player, cards[0], viewAs); - if (cards[0].clone && (cards[0].clone.parentNode == player.parentNode || cards[0].clone.parentNode == ui.arena)) { - cards[0].clone.moveDelete(player); - game.addVideo('gain2', player, get.cardsInfo(cards)); - } - // player.$gain2(cards); - if (get.itemtype(card) != 'card') { - if (typeof card == 'string') cards[0].viewAs = card; - else cards[0].viewAs = card.name; - } - else { - delete cards[0].viewAs; - } - if (cards[0].viewAs && cards[0].viewAs != cards[0].name) { - if (cards[0].classList.contains('fullskin') || cards[0].classList.contains('fullborder')) { - cards[0].classList.add('fakejudge'); - cards[0].node.background.innerHTML = lib.translate[cards[0].viewAs + '_bg'] || get.translation(cards[0].viewAs)[0]; - } - game.log(player, '被贴上了' + get.translation(cards[0].viewAs) + '(', cards, ')'); - } - else { - cards[0].classList.remove('fakejudge'); - game.log(player, '被贴上了', cards); - } - game.addVideo('addJudge', player, [get.cardInfo(cards[0]), cards[0].viewAs]); - } - if (event.updatePile) game.updateRoundNumber(); - }, - judge: function () { - "step 0"; - var judgestr = get.translation(player) + '的' + event.judgestr + '判定'; - event.videoId = lib.status.videoId++; - var cardj = event.directresult; - if (!cardj) { - if (player.getTopCards) cardj = player.getTopCards()[0]; - else cardj = get.cards()[0]; - } - var owner = get.owner(cardj); - if (owner) { - owner.lose(cardj, 'visible', ui.ordering); - } - else { - var nextj = game.cardsGotoOrdering(cardj); - if (event.position != ui.discardPile) nextj.noOrdering = true; - } - player.judging.unshift(cardj); - game.addVideo('judge1', player, [get.cardInfo(player.judging[0]), judgestr, event.videoId]); - game.broadcastAll(function (player, card, str, id, cardid) { - var event; - if (game.online) { - event = {}; - } - else { - event = _status.event; - } - if (game.chess) { - event.node = card.copy('thrown', 'center', ui.arena).animate('start'); - } - else { - event.node = player.$throwordered(card.copy(), true); - } - if (lib.cardOL) lib.cardOL[cardid] = event.node; - event.node.cardid = cardid; - event.node.classList.add('thrownhighlight'); - ui.arena.classList.add('thrownhighlight'); - event.dialog = ui.create.dialog(str); - event.dialog.classList.add('center'); - event.dialog.videoId = id; - }, player, player.judging[0], judgestr, event.videoId, get.id()); - - game.log(player, '进行' + event.judgestr + '判定,亮出的判定牌为', player.judging[0]); - game.delay(2); - if (!event.noJudgeTrigger) event.trigger('judge'); - "step 1"; - event.result = { - card: player.judging[0], - name: player.judging[0].name, - number: get.number(player.judging[0]), - suit: get.suit(player.judging[0]), - color: get.color(player.judging[0]), - node: event.node, - }; - if (event.fixedResult) { - for (var i in event.fixedResult) { - event.result[i] = event.fixedResult[i]; - } - } - event.result.judge = event.judge(event.result); - if (event.result.judge > 0) event.result.bool = true; - else if (event.result.judge < 0) event.result.bool = false; - else event.result.bool = null; - player.judging.shift(); - game.checkMod(player, event.result, 'judge', player); - if (event.judge2) { - var judge2 = event.judge2(event.result); - if (typeof judge2 == 'boolean') player.tryJudgeAnimate(judge2); - } - if (event.clearArena != false) { - game.broadcastAll(ui.clear); - } - game.broadcast(function (id) { - var dialog = get.idDialog(id); - if (dialog) { - dialog.close(); - } - ui.arena.classList.remove('thrownhighlight'); - }, event.videoId); - event.dialog.close(); - game.addVideo('judge2', null, event.videoId); - ui.arena.classList.remove('thrownhighlight'); - game.log(player, '的判定结果为', event.result.card); - event.trigger('judgeFixing'); - if (event.callback) { - var next = game.createEvent('judgeCallback', false); - next.player = player; - next.card = event.result.card; - next.judgeResult = get.copy(event.result); - next.setContent(event.callback); - } - else { - if (!get.owner(event.result.card)) { - if (event.position != ui.discardPile) event.position.appendChild(event.result.card); - } - } - }, - turnOver: function () { - game.log(player, '翻面'); - player.classList.toggle('turnedover'); - game.broadcast(function (player) { - player.classList.toggle('turnedover'); - }, player); - game.addVideo('turnOver', player, player.classList.contains('turnedover')); - }, - link: function () { - if (player.isLinked()) { - game.log(player, '解除连环'); - } - else { - game.log(player, '被连环'); - } - if (lib.config.background_audio) { - game.playAudio('effect', 'link'); - } - game.broadcast(function () { - if (lib.config.background_audio) { - game.playAudio('effect', 'link'); - } - }); - player.classList.remove('target'); - if (get.is.linked2(player)) { - player.classList.toggle('linked2'); - } - else { - player.classList.toggle('linked'); - } - ui.updatej(player); - ui.updatem(player); - game.broadcast(function (player, linked) { - player.classList.remove('target'); - if (get.is.linked2(player)) { - if (linked) { - player.classList.add('linked2'); - } - else { - player.classList.remove('linked2'); - } - } - else { - if (linked) { - player.classList.add('linked'); - } - else { - player.classList.remove('linked'); - } - } - ui.updatej(player); - ui.updatem(player); - }, player, player.isLinked()); - game.addVideo('link', player, player.isLinked()); - }, - chooseToGuanxing: function () { - "step 0"; - var cards = get.cards(num); - game.cardsGotoOrdering(cards); - var next = player.chooseToMove(); - next.set('list', [ - ['牌堆顶', cards], - ['牌堆底'], - ]); - next.set('prompt', '点击将牌移动到牌堆顶或牌堆底'); - next.processAI = event.processAI || function (list) { - var cards = list[0][1], player = _status.event.player; - var top = []; - var bottom; - cards.sort(function (a, b) { - return get.value(b, player) - get.value(a, player); - }); - while (cards.length) { - if (get.value(cards[0], player) <= 5) break; - top.unshift(cards.shift()); - } - bottom = cards; - return [top, bottom]; - }; - "step 1"; - var top = result.moved[0]; - var bottom = result.moved[1]; - top.reverse(); - for (var i = 0; i < top.length; i++) { - ui.cardPile.insertBefore(top[i], ui.cardPile.firstChild); - } - for (i = 0; i < bottom.length; i++) { - ui.cardPile.appendChild(bottom[i]); - } - game.addCardKnower(top, player); - game.addCardKnower(bottom, player); - player.popup(get.cnNumber(top.length) + '上' + get.cnNumber(bottom.length) + '下'); - game.log(player, '将' + get.cnNumber(top.length) + '张牌置于牌堆顶'); - game.updateRoundNumber(); - game.delayx(); - }, - }, + content: Content, Player: class extends HTMLDivElement { /** * @param {HTMLDivElement} [position] From a0f229cdf4713d71029f49572c1c34a77fcf80db Mon Sep 17 00:00:00 2001 From: Rintim Date: Sat, 23 Dec 2023 14:43:33 +0800 Subject: [PATCH 050/234] fix: let not output. --- noname/game/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/noname/game/index.js b/noname/game/index.js index 957423f86..4002ec736 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -6562,13 +6562,13 @@ export class Game extends Uninstantable { * @param { import('../library/index.js').Player } [player2] */ static swapPlayer(player, player2) { + let players = game.players.concat(game.dead) if (player2) { if (player == game.me) game.swapPlayer(player2); else if (player2 == game.me) game.swapPlayer(player); } else { if (player == game.me) return; - let players = game.players.concat(game.dead); for (let i = 0; i < players.length; i++) { players[i].style.transition = 'all 0s'; } @@ -6621,11 +6621,11 @@ export class Game extends Uninstantable { if (lib.config.mode == 'identity') { game.me.setIdentity(game.me.identity); } - setTimeout(() => { + setTimeout((players) => { for (let i = 0; i < players.length; i++) { players[i].style.transition = ''; } - }, 100); + }, 100, players); } /** * @param { import('../library/index.js').Player } player From 550e0266888883945c52a10970aab2f2a5677dda Mon Sep 17 00:00:00 2001 From: Rintim Date: Sat, 23 Dec 2023 14:54:40 +0800 Subject: [PATCH 051/234] refactor: dvd content and contents. --- noname/library/element/content.js | 218 +------------------------ noname/library/element/contents.js | 248 +++++++++++++++++++++++++++++ noname/library/index.js | 12 +- 3 files changed, 258 insertions(+), 220 deletions(-) create mode 100644 noname/library/element/contents.js diff --git a/noname/library/element/content.js b/noname/library/element/content.js index e9a6f1e4d..8cec78a27 100644 --- a/noname/library/element/content.js +++ b/noname/library/element/content.js @@ -6,6 +6,7 @@ import { status as _status } from '../../status/index.js'; import { UI as ui } from '../../ui/index.js'; import { GNC as gnc } from '../../gnc/index.js'; +// 未来再改 export default { emptyEvent: async (event) => { event.trigger(event.name); @@ -2405,223 +2406,6 @@ export default { game.pause(); } }, - phase: [ - async (event, _trigger, player) => { - // 初始化阶段列表 - if (!event.phaseList) { - event.phaseList = ['phaseZhunbei', 'phaseJudge', 'phaseDraw', 'phaseUse', 'phaseDiscard', 'phaseJieshu']; - } - - if (typeof event.num != 'number') { - event.num = 0; - } - - // 规则集中的“回合开始后①”,更新游戏轮数,触发“一轮游戏开始时” - let isRound = false; - if (!event.skill) { - isRound = _status.roundSkipped; - if (_status.isRoundFilter) { - isRound = _status.isRoundFilter(event, player); - } - else if (_status.seatNumSettled) { - var seatNum = player.getSeatNum(); - if (seatNum != 0) { - if (get.itemtype(_status.lastPhasedPlayer) != 'player' || seatNum < _status.lastPhasedPlayer.getSeatNum()) isRound = true; - _status.lastPhasedPlayer = player; - } - } - else if (player == _status.roundStart) isRound = true; - if (isRound) { - delete _status.roundSkipped; - game.roundNumber++; - event._roundStart = true; - game.updateRoundNumber(); - for (var i = 0; i < game.players.length; i++) { - if (game.players[i].isOut() && game.players[i].outCount > 0) { - game.players[i].outCount--; - if (game.players[i].outCount == 0 && !game.players[i].outSkills) { - game.players[i].in(); - } - } - } - event.trigger('roundStart'); - } - } - - _status.globalHistory.push({ - cardMove: [], - custom: [], - useCard: [], - changeHp: [], - everything: [], - }); - - const players = game.players.slice(0).concat(game.dead); - for (const current of players) { - current.actionHistory.push({ useCard: [], respond: [], skipped: [], lose: [], gain: [], sourceDamage: [], damage: [], custom: [], useSkill: [] }); - current.stat.push({ card: {}, skill: {} }); - if (isRound) { - current.getHistory().isRound = true; - current.getStat().isRound = true; - } - } - - if (isRound) { - game.getGlobalHistory().isRound = true; - } - }, - async (event) => { - //规则集中的“回合开始后②(1v1武将登场专用)” - event.trigger('phaseBeforeStart'); - }, - async (event) => { - //规则集中的“回合开始后③(处理“游戏开始时”的时机)” - event.trigger('phaseBefore'); - }, - async (event) => { - //规则集中的“回合开始后④(卑弥呼〖纵傀〗的时机)” - event.trigger('phaseBeforeEnd'); - }, - async (event, _trigger, player) => { - //规则集中的“回合开始后⑤”,进行翻面检测 - if (player.isTurnedOver() && !event._noTurnOver) { - event.cancel(); - player.turnOver(); - player.phaseSkipped = true; - } - else { - player.phaseSkipped = false; - player.getHistory().isMe = true; - player.getStat().isMe = true; - } - }, - async (event, _trigger, player) => { - // 规则集中的“回合开始后⑥”,更新“当前回合角色” - while (ui.dialogs.length) { - ui.dialogs[0].close(); - } - - ++game.phaseNumber; - ++player.phaseNumber; - - game.broadcastAll((player, num, popup) => { - if (lib.config.glow_phase) { - player.classList.add('glow_phase'); - } - player.phaseNumber = num; - _status.currentPhase = player; - if (popup && lib.config.show_phase_prompt) player.popup('回合开始', null, false); - }, player, player.phaseNumber, !player.noPhaseDelay); - - _status.currentPhase = player; - _status.discarded = []; - - game.syncState(); - game.addVideo('phaseChange', player); - - if (game.phaseNumber == 1) { - delete player._start_cards; - if (lib.configOL.observe) { - lib.configOL.observeReady = true; - game.send('server', 'config', lib.configOL); - } - } - - game.log(); - game.log(player, '的回合开始'); - player._noVibrate = true; - - if (get.config('identity_mode') != 'zhong' && get.config('identity_mode') != 'purple' && !_status.connectMode) { - let num; - switch (get.config('auto_identity')) { - case 'one': num = 1; break; - case 'two': num = 2; break; - case 'three': num = 3; break; - case 'always': num = -1; break; - default: num = 0; break; - } - if (num && !_status.identityShown && game.phaseNumber > game.players.length * num && game.showIdentity) { - if (!_status.video) player.popup('显示身份'); - _status.identityShown = true; - game.showIdentity(false); - } - } - player.ai.tempIgnore = []; - if (ui.land && ui.land.player == player) { - game.addVideo('destroyLand'); - ui.land.destroy(); - } - }, - async (event) => { - //规则集中的“回合开始后⑦”,国战武将明置武将牌 - event.trigger('phaseBeginStart'); - }, - async (event) => { - //规则集中的“回合开始后⑨”,进行当先,化身等操作 - //没有⑧ 因为⑧用不到 - event.trigger('phaseBegin'); - }, - async (event, _trigger, player) => { - if (event.num < event.phaseList.length) { - //规则集中没有的新时机 可以用来插入额外阶段啥的 - if (player.isIn()) event.trigger('phaseChange'); - } - else event.goto(11); - }, - async (event, _trigger, player) => { - if (player.isIn() && event.num < event.phaseList.length) { - const phase = event.phaseList[event.num].split('|'); - event.currentPhase = phase[0]; - const next = player[event.currentPhase](); - next.phaseIndex = event.num; - if (phase.length > 1) { - next._extraPhaseReason = phase[1]; - } - if (event.currentPhase == 'phaseDraw' || event.currentPhase == 'phaseDiscard') { - if (!player.noPhaseDelay) { - if (player == game.me) { - game.delay(); - } - else { - game.delayx(); - } - } - } - } - }, - async (event, _trigger, player) => { - if (event.currentPhase == 'phaseUse') { - game.broadcastAll(() => { - if (ui.tempnowuxie) { - ui.tempnowuxie.close(); - delete ui.tempnowuxie; - } - }); - delete player._noSkill; - } - ++event.num; - }, - async (event) => { - if (event.num < event.phaseList.length) { - event.goto(8); - } - else if (!event._phaseEndTriggered) { - event._phaseEndTriggered = true; - event.trigger('phaseEnd'); - event.redo(); - } - }, - async (event) => { - event.trigger('phaseAfter'); - }, - async ({ player }) => { - //删除当前回合角色 此时处于“不属于任何角色的回合”的阶段 - game.broadcastAll((player) => { - player.classList.remove('glow_phase'); - delete _status.currentPhase; - }, player); - } - ], /** * @deprecated */ diff --git a/noname/library/element/contents.js b/noname/library/element/contents.js new file mode 100644 index 000000000..e89431ad2 --- /dev/null +++ b/noname/library/element/contents.js @@ -0,0 +1,248 @@ +import { AI as ai } from '../../ai/index.js'; +import { Get as get } from '../../get/index.js'; +import { Game as game } from '../../game/index.js'; +import { Library as lib } from "../index.js"; +import { status as _status } from '../../status/index.js'; +import { UI as ui } from '../../ui/index.js'; +import { GNC as gnc } from '../../gnc/index.js'; + +export default { + phase: [ + async (event, _trigger, player) => { + // 初始化阶段列表 + if (!event.phaseList) { + event.phaseList = ['phaseZhunbei', 'phaseJudge', 'phaseDraw', 'phaseUse', 'phaseDiscard', 'phaseJieshu']; + } + + if (typeof event.num != 'number') { + event.num = 0; + } + + // 规则集中的“回合开始后①”,更新游戏轮数,触发“一轮游戏开始时” + let isRound = false; + if (!event.skill) { + isRound = _status.roundSkipped; + if (_status.isRoundFilter) { + isRound = _status.isRoundFilter(event, player); + } + else if (_status.seatNumSettled) { + var seatNum = player.getSeatNum(); + if (seatNum != 0) { + // @ts-ignore + if (get.itemtype(_status.lastPhasedPlayer) != 'player' || seatNum < _status.lastPhasedPlayer.getSeatNum()) isRound = true; + _status.lastPhasedPlayer = player; + } + } + else if (player == _status.roundStart) isRound = true; + if (isRound) { + delete _status.roundSkipped; + game.roundNumber++; + event._roundStart = true; + game.updateRoundNumber(); + for (var i = 0; i < game.players.length; i++) { + // @ts-ignore + if (game.players[i].isOut() && game.players[i].outCount > 0) { + // @ts-ignore + game.players[i].outCount--; + if (game.players[i].outCount == 0 && !game.players[i].outSkills) { + game.players[i].in(); + } + } + } + event.trigger('roundStart'); + } + } + + _status.globalHistory.push({ + cardMove: [], + custom: [], + useCard: [], + changeHp: [], + everything: [], + }); + + const players = game.players.slice(0).concat(game.dead); + for (const current of players) { + // @ts-ignore + current.actionHistory.push({ useCard: [], respond: [], skipped: [], lose: [], gain: [], sourceDamage: [], damage: [], custom: [], useSkill: [] }); + // @ts-ignore + current.stat.push({ card: {}, skill: {} }); + if (isRound) { + current.getHistory().isRound = true; + current.getStat().isRound = true; + } + } + + if (isRound) { + // @ts-ignore + game.getGlobalHistory().isRound = true; + } + }, + async (event) => { + //规则集中的“回合开始后②(1v1武将登场专用)” + event.trigger('phaseBeforeStart'); + }, + async (event) => { + //规则集中的“回合开始后③(处理“游戏开始时”的时机)” + event.trigger('phaseBefore'); + }, + async (event) => { + //规则集中的“回合开始后④(卑弥呼〖纵傀〗的时机)” + event.trigger('phaseBeforeEnd'); + }, + async (event, _trigger, player) => { + //规则集中的“回合开始后⑤”,进行翻面检测 + if (player.isTurnedOver() && !event._noTurnOver) { + event.cancel(); + player.turnOver(); + player.phaseSkipped = true; + } + else { + player.phaseSkipped = false; + player.getHistory().isMe = true; + player.getStat().isMe = true; + } + }, + async (event, _trigger, player) => { + // 规则集中的“回合开始后⑥”,更新“当前回合角色” + // @ts-ignore + while (ui.dialogs.length) { + // @ts-ignore + ui.dialogs[0].close(); + } + + ++game.phaseNumber; + ++player.phaseNumber; + + // @ts-ignore + game.broadcastAll((player, num, popup) => { + if (lib.config.glow_phase) { + player.classList.add('glow_phase'); + } + player.phaseNumber = num; + _status.currentPhase = player; + if (popup && lib.config.show_phase_prompt) player.popup('回合开始', null, false); + }, player, player.phaseNumber, !player.noPhaseDelay); + + _status.currentPhase = player; + _status.discarded = []; + + game.syncState(); + // @ts-ignore + game.addVideo('phaseChange', player); + + if (game.phaseNumber == 1) { + delete player._start_cards; + if (lib.configOL.observe) { + lib.configOL.observeReady = true; + game.send('server', 'config', lib.configOL); + } + } + + game.log(); + game.log(player, '的回合开始'); + player._noVibrate = true; + + if (get.config('identity_mode') != 'zhong' && get.config('identity_mode') != 'purple' && !_status.connectMode) { + let num; + switch (get.config('auto_identity')) { + case 'one': num = 1; break; + case 'two': num = 2; break; + case 'three': num = 3; break; + case 'always': num = -1; break; + default: num = 0; break; + } + // @ts-ignore + if (num && !_status.identityShown && game.phaseNumber > game.players.length * num && game.showIdentity) { + if (!_status.video) player.popup('显示身份'); + _status.identityShown = true; + // @ts-ignore + game.showIdentity(false); + } + } + player.ai.tempIgnore = []; + // @ts-ignore + if (ui.land && ui.land.player == player) { + // @ts-ignore + game.addVideo('destroyLand'); + // @ts-ignore + ui.land.destroy(); + } + }, + async (event) => { + //规则集中的“回合开始后⑦”,国战武将明置武将牌 + event.trigger('phaseBeginStart'); + }, + async (event) => { + //规则集中的“回合开始后⑨”,进行当先,化身等操作 + //没有⑧ 因为⑧用不到 + event.trigger('phaseBegin'); + }, + async (event, _trigger, player) => { + if (event.num < event.phaseList.length) { + //规则集中没有的新时机 可以用来插入额外阶段啥的 + if (player.isIn()) event.trigger('phaseChange'); + } + else event.goto(11); + }, + async (event, _trigger, player) => { + if (player.isIn() && event.num < event.phaseList.length) { + const phase = event.phaseList[event.num].split('|'); + event.currentPhase = phase[0]; + const next = player[event.currentPhase](); + next.phaseIndex = event.num; + if (phase.length > 1) { + next._extraPhaseReason = phase[1]; + } + if (event.currentPhase == 'phaseDraw' || event.currentPhase == 'phaseDiscard') { + if (!player.noPhaseDelay) { + // @ts-ignore + if (player == game.me) { + game.delay(); + } + else { + game.delayx(); + } + } + } + } + }, + async (event, _trigger, player) => { + if (event.currentPhase == 'phaseUse') { + // @ts-ignore + game.broadcastAll(() => { + // @ts-ignore + if (ui.tempnowuxie) { + // @ts-ignore + ui.tempnowuxie.close(); + // @ts-ignore + delete ui.tempnowuxie; + } + }); + delete player._noSkill; + } + ++event.num; + }, + async (event) => { + if (event.num < event.phaseList.length) { + event.goto(8); + } + else if (!event._phaseEndTriggered) { + event._phaseEndTriggered = true; + event.trigger('phaseEnd'); + event.redo(); + } + }, + async (event) => { + event.trigger('phaseAfter'); + }, + async ({ player }) => { + //删除当前回合角色 此时处于“不属于任何角色的回合”的阶段 + // @ts-ignore + game.broadcastAll((player) => { + player.classList.remove('glow_phase'); + delete _status.currentPhase; + }, player); + } + ], +}; diff --git a/noname/library/index.js b/noname/library/index.js index 840f04b51..e90493602 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -21,6 +21,7 @@ import { GNC as gnc } from '../gnc/index.js'; import { LibInit } from "./init/index.js"; import { Announce } from "./announce/index.js"; import Content from "./element/content.js"; +import Contents from "./element/contents.js"; export class Library extends Uninstantable { static configprefix = 'noname_0.9_'; @@ -9212,6 +9213,7 @@ export class Library extends Uninstantable { }; static element = { content: Content, + contents: Contents, Player: class extends HTMLDivElement { /** * @param {HTMLDivElement} [position] @@ -19914,12 +19916,12 @@ export class Library extends Uninstantable { /** * - * @param {import("../util/index.js").AsyncFunction[] | keyof typeof lib.element.content} contents + * @param {import("../util/index.js").AsyncFunction[] | keyof typeof lib.element.contents} contents * @returns {GameEvent} */ setContents(contents) { if (Array.isArray(contents)) this.contents = contents; - else if (contents in lib.element.content) return this.setContents(lib.element.content[contents]); + else if (contents in lib.element.contents) return this.setContents(lib.element.contents[contents]); else throw new Error('not supported value.'); return this; } @@ -24603,7 +24605,11 @@ export class Library extends Uninstantable { static other = { ignore: () => void 0 }; -}; +} +Library.config = undefined; + +Library.configOL = undefined; +; export const lib = Library; From 3b4cb81799ff7885141c92ad7f8a40b19ccfe779 Mon Sep 17 00:00:00 2001 From: Rintim Date: Sat, 23 Dec 2023 16:03:59 +0800 Subject: [PATCH 052/234] fix: maybe not a bug. --- noname/game/index.js | 25 +++++++++++-------------- noname/library/element/content.js | 5 ++++- noname/library/element/contents.js | 2 +- noname/library/index.js | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/noname/game/index.js b/noname/game/index.js index 4002ec736..e3d71a8a3 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -5836,21 +5836,18 @@ export class Game extends Uninstantable { let { step, source, player, target, targets, card, cards, skill, forced, num, _trigger: trigger, _result: result, _storeEvent } = event; // 数组形式 if ("contents" in event && Array.isArray(event.contents)) { - event.contents[step](event, trigger, player, _storeEvent) - .then((evt) => Promise.resolve(evt)) - .then((evt) => { - event._storeEvent = evt; - if (step < event.contents.length - 1 && !event.finished) return resolve(); - if (game.executingAsyncEventMap.has(event.toEvent())) { - game.executingAsyncEventMap.set(_status.event.toEvent(), game.executingAsyncEventMap.get(_status.event.toEvent()).then(() => { - event.finish(); - resolve(); - })); - } else { - event.finish(); + event.contents[step](event, trigger, player, _storeEvent).then((evt) => { + if (evt) event._storeEvent = evt; + if (game.executingAsyncEventMap.has(event.toEvent())) { + game.executingAsyncEventMap.set(_status.event.toEvent(), game.executingAsyncEventMap.get(_status.event.toEvent()).then(() => { + if (event.step >= event.contents.length - 1) event.finish(); resolve(); - } - }) + })); + } else { + if (event.step >= event.contents.length - 1) event.finish(); + resolve(); + } + }) } else if (event.content instanceof GeneratorFunction) { if (!event.debugging) { diff --git a/noname/library/element/content.js b/noname/library/element/content.js index 8cec78a27..b9b53f44b 100644 --- a/noname/library/element/content.js +++ b/noname/library/element/content.js @@ -2409,7 +2409,7 @@ export default { /** * @deprecated */ - phase_old2: function () { + phase: function () { 'step 0'; //初始化阶段列表 if (!event.phaseList) { @@ -8249,6 +8249,9 @@ export default { }, player, player.isLinked()); game.addVideo('link', player, player.isLinked()); }, + /** + * @deprecated + */ chooseToGuanxing: function () { "step 0"; var cards = get.cards(num); diff --git a/noname/library/element/contents.js b/noname/library/element/contents.js index e89431ad2..8c9654907 100644 --- a/noname/library/element/contents.js +++ b/noname/library/element/contents.js @@ -244,5 +244,5 @@ export default { delete _status.currentPhase; }, player); } - ], + ] }; diff --git a/noname/library/index.js b/noname/library/index.js index e90493602..ba39dcaca 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -20496,7 +20496,7 @@ export class Library extends Uninstantable { let eventPromise = _status.event.next.find(e => e.toEvent() == event); // 如果父级事件也是一个异步的话,那应该立即执行这个事件的 // 如果在AsyncFunction执行过程中在别的位置新建了一个异步事件,那也直接(等会set配置完)执行 - if (eventPromise && _status.event.content instanceof AsyncFunction) { + if (eventPromise && (_status.event.content instanceof AsyncFunction || Array.isArray(_status.event.contents))) { // 异步执行game.loop // 不直接game.loop(event)是因为需要让别人可以手动set()和setContent() // 再执行game.loop是因为原有的game.loop被await卡住了, From f047963cc71a4c401a550e996bb08a1f061bcca2 Mon Sep 17 00:00:00 2001 From: Rintim Date: Sat, 23 Dec 2023 19:47:12 +0800 Subject: [PATCH 053/234] fix: next not skip. --- noname/library/index.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/noname/library/index.js b/noname/library/index.js index ba39dcaca..0d79311ee 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -20501,6 +20501,18 @@ export class Library extends Uninstantable { // 不直接game.loop(event)是因为需要让别人可以手动set()和setContent() // 再执行game.loop是因为原有的game.loop被await卡住了, // 得新执行一个只执行这个异步事件的game.loop + + // 事件自行处理skip情况 + if (event.player && event.player.skipList.contains(event.name)) { + _status.event.trigger(event.name + 'Skipped'); + event.player.skipList.remove(event.name); + if (lib.phaseName.contains(event.name)) event.player.getHistory('skipped').add(event.name); + _status.event.next.remove(eventPromise); + event.finish(); + resolve(); + return eventPromise; + } + if (_status.event != eventPromise) { eventPromise.parent = _status.event; _status.event = eventPromise; From facfe0ee0d04674f7e6e74f975c6812f255040ed Mon Sep 17 00:00:00 2001 From: Rintim Date: Sat, 23 Dec 2023 21:07:35 +0800 Subject: [PATCH 054/234] revert: umm... --- noname/library/element/content.js | 13 ++++++++----- noname/library/index.js | 24 ++++++++++++------------ 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/noname/library/element/content.js b/noname/library/element/content.js index b9b53f44b..709462864 100644 --- a/noname/library/element/content.js +++ b/noname/library/element/content.js @@ -6662,7 +6662,8 @@ export default { "step 5"; ui.clear(); }, - draw: function () { + draw: async (event, _trigger, player) => { + const { num } = event; // if(lib.config.background_audio){ // game.playAudio('effect','draw'); // } @@ -6689,7 +6690,7 @@ export default { game.log(player, '从牌库中获得了' + get.cnNumber(event.drawDeck) + '张牌'); } } - var cards; + let cards; if (num > 0) { if (event.bottom) cards = get.bottomCards(num); else if (player.getTopCards) cards = player.getTopCards(num); @@ -6701,24 +6702,26 @@ export default { if (event.drawDeck) { cards = cards.concat(player.getDeckCards(event.drawDeck)); } + let next; if (event.animate != false) { if (event.visible) { - var next = player.gain(cards, 'gain2'); + next = player.gain(cards, 'gain2'); if (event.bottom) game.log(player, '从牌堆底摸了' + get.cnNumber(num) + '张牌(', cards, ')'); else game.log(player, '摸了' + get.cnNumber(num) + '张牌(', cards, ')'); } else { - var next = player.gain(cards, 'draw'); + next = player.gain(cards, 'draw'); } } else { - var next = player.gain(cards); + next = player.gain(cards); if (event.$draw) { player.$draw(cards.length); } } if (event.gaintag) next.gaintag.addArray(event.gaintag); event.result = cards; + await next; }, discard: function () { "step 0"; diff --git a/noname/library/index.js b/noname/library/index.js index 0d79311ee..e4c3f3e87 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -19900,7 +19900,7 @@ export class Library extends Uninstantable { break; default: try { - if (!lib.element.content[item]._parsed) { + if (!(lib.element.content[item] instanceof AsyncFunction) && !lib.element.content[item]._parsed) { lib.element.content[item] = lib.init.parsex(lib.element.content[item]); lib.element.content[item]._parsed = true; } @@ -20492,6 +20492,17 @@ export class Library extends Uninstantable { if (!_status.event) return; // game.createEvent的时候还没立即push到next里 Promise.resolve().then(() => { + /* + // 事件自行处理skip情况 + if (event.player && event.player.skipList.includes(event.name)) { + _status.event.trigger(event.name + 'Skipped'); + event.player.skipList.remove(event.name); + if (lib.phaseName.includes(event.name)) event.player.getHistory('skipped').add(event.name); + const eventPromise = _status.event.next.find(e => e.toEvent() == event); + if (eventPromise) _status.event.next.remove(eventPromise); + return; + } + */ game.executingAsyncEventMap.set(_status.event.toEvent(), (game.executingAsyncEventMap.get(_status.event.toEvent()) || Promise.resolve()).then(() => { let eventPromise = _status.event.next.find(e => e.toEvent() == event); // 如果父级事件也是一个异步的话,那应该立即执行这个事件的 @@ -20502,17 +20513,6 @@ export class Library extends Uninstantable { // 再执行game.loop是因为原有的game.loop被await卡住了, // 得新执行一个只执行这个异步事件的game.loop - // 事件自行处理skip情况 - if (event.player && event.player.skipList.contains(event.name)) { - _status.event.trigger(event.name + 'Skipped'); - event.player.skipList.remove(event.name); - if (lib.phaseName.contains(event.name)) event.player.getHistory('skipped').add(event.name); - _status.event.next.remove(eventPromise); - event.finish(); - resolve(); - return eventPromise; - } - if (_status.event != eventPromise) { eventPromise.parent = _status.event; _status.event = eventPromise; From 4994fa542f27ff9a838259121cded28fea1ec9af Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Sun, 24 Dec 2023 04:46:11 +0800 Subject: [PATCH 055/234] =?UTF-8?q?=E8=B0=8B=E9=B2=81=E8=82=83=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/xianding.js | 67 ++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 39 deletions(-) diff --git a/character/xianding.js b/character/xianding.js index 70d2cbf03..38ef456b0 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -268,8 +268,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ zhuanhuanji:true, intro:{ content:function(storage){ - if(!storage) return '每回合限一次,当你得到其他角色的牌后,你可以令该角色使用至多X张【杀】,且其每以此法造成1点伤害,其回复1点体力。(X为你的体力值)' - return '每回合限一次,其他角色得到你的牌后,你可令该角色打出至多X张【杀】,然后其失去Y点体力。(X为你的体力值,Y为X-其打出【杀】数)'; + if(!storage) return '每回合限一次,当你得到其他角色的牌后,或其他角色得到你的牌后,你可以令该角色使用至多X张【杀】,且其每以此法造成1点伤害,其回复1点体力。(X为你的体力值)' + return '每回合限一次,当你得到其他角色的牌后,或其他角色得到你的牌后,你可令该角色打出至多X张【杀】,然后其失去Y点体力。(X为你的体力值,Y为X-其打出【杀】数)'; }, }, audio:2, @@ -277,47 +277,36 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(!player.getHp()) return false; if(event.name=='loseAsync'&&event.type!='gain') return false; - var storage=player.storage.dcsbmengmou; - var cards; - if(storage){ - if(player.hasSkill('dcsbmengmou_true')) return false; - cards=event.getl(player).cards2; - return game.hasPlayer(function(current){ - if(current==player) return false; - var cardsx=event.getg(current); - return cardsx.some(i=>cards.includes(i)); - }); - } - else cards=event.getg(player); - if(player.hasSkill('dcsbmengmou_false')) return false; - return game.hasPlayer(function(current){ + var cards1=event.getl(player).cards2,cards2=cards=event.getg(player); + return (!player.hasSkill('dcsbmengmou_true')&&game.hasPlayer(function(current){ + if(current==player) return false; + var cardsx=event.getg(current); + return cardsx.some(i=>cards1.includes(i)); + }))||(!player.hasSkill('dcsbmengmou_false')&&game.hasPlayer(function(current){ if(current==player) return false; var cardsx=event.getl(current).cards2; - return cards.some(i=>cardsx.includes(i)); - }); + return cards2.some(i=>cardsx.includes(i)); + })); }, direct:true, content:function*(event,map){ var player=map.player,trigger=map.trigger; var storage=player.storage.dcsbmengmou; player.addTempSkill('dcsbmengmou_effect','dcsbmengmouAfter'); - var targets,cards,num=player.getHp(); - if(storage){ - cards=trigger.getl(player).cards2; - targets=game.filterPlayer(function(current){ - if(current==player) return false; - var cardsx=trigger.getg(current); - return cardsx.some(i=>cards.includes(i)); - }); - } - else{ - cards=trigger.getg(player); - targets=game.filterPlayer(function(current){ - if(current==player) return false; - var cardsx=trigger.getl(current).cards2; - return cards.some(i=>cardsx.includes(i)); - }); - } + var targets=[],num=player.getHp(); + var cards1=trigger.getl(player).cards2; + var cards2=trigger.getg(player); + if(!player.hasSkill('dcsbmengmou_true')) targets.addArray(game.filterPlayer(function(current){ + if(current==player) return false; + var cardsx=trigger.getg(current); + return cardsx.some(i=>cards1.includes(i)); + })); + if(!player.hasSkill('dcsbmengmou_false')) targets.addArray(game.filterPlayer(function(current){ + if(current==player) return false; + var cardsx=trigger.getl(current).cards2; + return cards2.some(i=>cardsx.includes(i)); + })); + targets.sortBySeat(); var check_true=function(player,target){ if(get.attitude(player,target)>0){ if(target.countCards('hs',card=>{ @@ -13198,12 +13187,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, dcsbmengmou:function(player){ var storage=player.storage.dcsbmengmou; - var str='转换技,每回合每项各限一次:'; + var str='转换技,每回合每项各限一次,当你得到其他角色的牌后,或其他角色得到你的牌后:'; if(!storage) str+=''; - str+='阴,当你得到其他角色的牌后,你可以令该角色使用至多X张【杀】,且其每以此法造成1点伤害,其回复1点体力;'; + str+='阴,你可以令该角色使用至多X张【杀】,且其每以此法造成1点伤害,其回复1点体力;'; if(!storage) str+=''; if(storage) str+=''; - str+='阳,其他角色得到你的牌后,你可令该角色打出至多X张【杀】,然后其失去Y点体力。'; + str+='阳,你可令该角色打出至多X张【杀】,然后其失去Y点体力。'; if(storage) str+=''; str+='(X为你的体力值,Y为X-其打出【杀】数)'; return str; @@ -13735,7 +13724,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ dcsbmingshi:'明势', dcsbmingshi_info:'摸牌阶段,你可以多摸两张牌,然后令展示三张牌并令一名其他角色选择获得其中的一张牌。', dcsbmengmou:'盟谋', - dcsbmengmou_info:'转换技,每回合每项各限一次:阴,当你得到其他角色的牌后,你可以令该角色使用至多X张【杀】,且其每以此法造成1点伤害,其回复1点体力;阳,其他角色得到你的牌后,你可令该角色打出至多X张【杀】,然后其失去Y点体力。(X为你的体力值,Y为X-其打出【杀】数)', + dcsbmengmou_info:'转换技,每回合每项各限一次,当你得到其他角色的牌后,或其他角色得到你的牌后:阴,你可以令该角色使用至多X张【杀】,且其每以此法造成1点伤害,其回复1点体力;阳,你可令该角色打出至多X张【杀】,然后其失去Y点体力。(X为你的体力值,Y为X-其打出【杀】数)', dc_sb_zhouyu:'新杀谋周瑜', dc_sb_zhouyu_prefix:'新杀谋', dcsbronghuo:'融火', From c91f021d19aa97f8aa4b752ebd94f28de1c73790 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Sun, 24 Dec 2023 05:12:27 +0800 Subject: [PATCH 056/234] =?UTF-8?q?=E8=B0=8B=E8=AF=B8=E8=91=9B=E3=80=81?= =?UTF-8?q?=E8=B0=8B=E5=8D=A2=E6=A4=8D=E6=8A=80=E8=83=BD=E8=B0=83=E6=95=B4?= =?UTF-8?q?=EF=BC=8C=E8=A7=A3=E7=A6=81=E8=A7=82=E6=98=9F=E8=B0=8B=E8=AF=B8?= =?UTF-8?q?=E8=91=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/sb.js | 177 ++++++++++++++++++++++++++++-------------------- 1 file changed, 105 insertions(+), 72 deletions(-) diff --git a/character/sb.js b/character/sb.js index 994ab98c0..ce6694b45 100644 --- a/character/sb.js +++ b/character/sb.js @@ -7,7 +7,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ character:{ sb_huangyueying:['female','shu',3,['sbjizhi','sbqicai']], sb_sp_zhugeliang:['male','shu',3,['sbhuoji','sbkanpo']], - sb_zhugeliang:['male','shu',3,['sbguanxing','sbkongcheng'],['unseen']], + sb_zhugeliang:['male','shu',3,['sbguanxing','sbkongcheng']], sb_zhanghe:['male','wei',4,['sbqiaobian']], sb_yujin:['male','wei',4,['sbxiayuan','sbjieyue']], sb_huaxiong:['male','qun','3/4/1',['new_reyaowu','sbyangwei']], @@ -274,44 +274,48 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, //诸葛亮 sbhuoji:{ - audio:2, - enable:'phaseUse', - filterTarget:lib.filter.notMe, - prompt:'选择一名其他角色,对其与其势力相同的所有其他角色各造成1点火属性伤害', - usable:1, - line:'fire', - content:function(){ - 'step 0' - target.damage('fire'); - 'step 1' - var targets=game.filterPlayer(current=>{ - if(current==player||current==target) return false; - return current.group==target.group; - }); - if(targets.length){ - game.delayx(); - player.line(targets,'fire'); - targets.forEach(i=>i.damage('fire')); - } - }, - ai:{ - order:7, - fireAttack:true, - result:{ - target:function(player,target){ - var att=get.attitude(player,target); - return get.sgn(att)*game.filterPlayer(current=>{ - if(current==player) return false; + audio:3, + dutySkill:true, + derivation:['sbguanxing','sbkongcheng'], + group:['sbhuoji_fire','sbhuoji_achieve','sbhuoji_fail','sbhuoji_mark'], + subSkill:{ + fire:{ + audio:'sbhuoji1', + enable:'phaseUse', + filterTarget:lib.filter.notMe, + prompt:'选择一名其他角色,对其与其势力相同的所有其他角色各造成1点火属性伤害', + usable:1, + line:'fire', + content:function(){ + 'step 0' + target.damage('fire'); + 'step 1' + var targets=game.filterPlayer(current=>{ + if(current==player||current==target) return false; return current.group==target.group; - }).reduce((num,current)=>num+get.damageEffect(current,player,player,'fire'),0); + }); + if(targets.length){ + game.delayx(); + player.line(targets,'fire'); + targets.forEach(i=>i.damage('fire')); + } + }, + ai:{ + order:7, + fireAttack:true, + result:{ + target:function(player,target){ + var att=get.attitude(player,target); + return get.sgn(att)*game.filterPlayer(current=>{ + if(current==player) return false; + return current.group==target.group; + }).reduce((num,current)=>num+get.damageEffect(current,player,player,'fire'),0); + }, + }, }, }, - }, - derivation:['sbguanxing','sbkongcheng'], - group:['sbhuoji_achieve','sbhuoji_fail','sbhuoji_mark'], - subSkill:{ achieve:{ - audio:'sbhuoji', + audio:'sbhuoji2', trigger:{player:'phaseZhunbeiBegin'}, filter:function(event,player){ return player.getAllHistory('sourceDamage',evt=>evt.hasNature('fire')).reduce((num,evt)=>num+evt.num,0)>=game.players.length+game.dead.length; @@ -335,7 +339,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, fail:{ - audio:'sbhuoji', + audio:'sbhuoji3', trigger:{player:'dying'}, forced:true, locked:false, @@ -365,20 +369,30 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, }, + sbhuoji1:{audio:2}, + sbhuoji2:{audio:2}, + sbhuoji3:{audio:2}, sbkanpo:{ + init:function(player){ + if(!player.storage.sbkanpo){ + player.storage.sbkanpo=[10,[],[]]; + player.markSkill('sbkanpo'); + } + }, audio:2, trigger:{global:'roundStart'}, + filter:function(event,player){ + var storage=player.storage.sbkanpo; + return storage[0]||storage[1].length; + }, forced:true, locked:false, - get getNumber(){ - return 3; - }, content:function*(event,map){ - var player=map.player; - var storage=player.getStorage('sbkanpo').slice(); - if(storage.length){ - player.unmarkAuto('sbkanpo',storage); - } + var player=map.player,storage=player.storage.sbkanpo; + var sum=storage[0]; + storage[1]=[]; + player.markSkill('sbkanpo'); + if(!sum) return; const list=get.inpileVCardList(info=>{ if(info[2]=='sha'&&info[3]) return false; return info[0]!='equip'; @@ -411,7 +425,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }; if(event.isMine()) func(); else if(event.isOnline()) event.player.send(func); - var result=yield player.chooseButton(['看破:是否记录三个牌名?',[list,'vcard']],[1,3],true).set('ai',function(button){ + var result=yield player.chooseButton(['看破:是否记录至多'+get.cnNumber(sum)+'个牌名?',[list,'vcard']],[1,sum],true).set('ai',function(button){ + if(ui.selected.buttons.length>=Math.max(3,game.countPlayer()/2)) return 0; switch(button.link[2]){ case 'wuxie':return 5+Math.random(); case 'sha':return 5+Math.random(); @@ -427,7 +442,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }).set('filterButton',button=>{ return !_status.event.names.includes(button.link[2]); - }).set('names',storage).set('custom',{ + }).set('names',storage[2]).set('custom',{ add:{ confirm:function(bool){ if(bool!=true) return; @@ -481,25 +496,24 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }); if(result.bool){ var names=result.links.map(link=>link[2]); - player.setStorage('sbkanpo',names); - player.markSkill('sbkanpo'); + storage[1]=names; + storage[2]=names; } + else storage[2]=[]; + player.markSkill('sbkanpo'); }, marktext:'破', intro:{ markcount:function(storage,player){ - if(player.isUnderControl(true)) return storage.length; + if(player.isUnderControl(true)) return storage[1].length; return '?'; }, mark:function(dialog,content,player){ + const storage=player.getStorage('sbkanpo')[1]; if(player.isUnderControl(true)){ - const storage=player.getStorage('sbkanpo'); dialog.addText('已记录牌名:'); dialog.addSmall([storage,'vcard']); } - else{ - return `${get.translation(player)}记录了一些牌名`; - } }, }, group:'sbkanpo_kanpo', @@ -535,9 +549,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, logTarget:'player', content:function(){ - player.unmarkAuto('sbkanpo',[trigger.card.name]); + player.storage.sbkanpo[1].remove(trigger.card.name); + player.markSkill('sbkanpo'); trigger.targets.length=0; trigger.all_excluded=true; + player.draw(); }, }, }, @@ -546,7 +562,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, trigger:{player:['phaseZhunbeiBegin','phaseJieshuBegin']}, filter:function(event,player){ - return event.name=='phaseZhunbei'||(player.hasSkill('sbguanxing_on')&&player.countCards('s',card=>card.hasGaintag('sbguanxing'))); + var cards=player.countCards('s',card=>card.hasGaintag('sbguanxing')); + var num=player.getAllHistory('useSkill',evt=>evt.skill=='sbguanxing').length; + if(!cards.length&&num>3) return false; + return event.name=='phaseZhunbei'||(player.hasSkill('sbguanxing_on')); }, forced:true, locked:false, @@ -558,14 +577,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } var cards=player.getCards('s',card=>card.hasGaintag('sbguanxing')); if(cards.length) player.loseToDiscardpile(cards); - var bool=player.getAllHistory('useSkill',evt=>evt.skill=='sbguanxing').length>1; - event.num=Math.min(7,bool?cards.length+1:7); + var num=player.getAllHistory('useSkill',evt=>evt.skill=='sbguanxing').length-1; + event.num=Math.max(0,7-2*num); 'step 1' - var cards2=get.cards(num); - player.$gain2(cards2,false); - game.log(player,'将',cards2,'置于了武将牌上'); - player.loseToSpecial(cards2,'sbguanxing').visible=true; - player.markSkill('sbguanxing'); + if(num){ + var cards2=get.cards(num); + player.$gain2(cards2,false); + game.log(player,'将',cards2,'置于了武将牌上'); + player.loseToSpecial(cards2,'sbguanxing').visible=true; + player.markSkill('sbguanxing'); + } + else if(!player.countCards('s',card=>card.hasGaintag('sbguanxing'))) event.finish(); 'step 2' var cards=player.getCards('s',card=>card.hasGaintag('sbguanxing')); if(cards.length){ @@ -676,7 +698,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ marktext:'☯', intro:{ content:function(storage,player){ - if(storage) return '你的回合外,一名角色使用或打出牌结算完成后,若此牌与“任”类别相同,则你可以令一名角色摸一张牌。'; + if(storage) return '你的回合外,一名角色使用或打出牌结算完成后,若此牌与“任”类别相同,则你可以令一名角色摸两张牌。'; return '出牌阶段限一次,你可以弃置一张与“任”颜色相同的牌并对攻击范围内的一名角色造成1点伤害。'; }, }, @@ -706,7 +728,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ check:function(card){ return 6.5-get.value(card); }, - prompt:'弃置与攻击范围内的一名角色体力值之差(至少为1)张与“任”颜色相同的牌,对其造成1点伤害。', + prompt:'弃置与攻击范围内的一名角色体力值之差(至少为1)张与“任”颜色相同的牌,对其造成1点伤害', content:function(){ player.changeZhuanhuanji('sbzhenliang'); target.damage('nocard'); @@ -732,7 +754,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ direct:true, content:function(){ 'step 0' - player.chooseTarget(get.prompt('sbzhenliang'),'令一名角色摸一张牌').set('ai',function(target){ + player.chooseTarget(get.prompt('sbzhenliang'),'令一名角色摸两张牌').set('ai',function(target){ if(target.hasSkillTag('nogain')) return 0.1; var att=get.attitude(player,target); return att*(Math.max(5-target.countCards('h'),2)+3); @@ -742,7 +764,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var target=result.targets[0]; player.changeZhuanhuanji('sbzhenliang'); player.logSkill('sbzhenliang',target); - target.draw(); + target.draw(2); } }, }, @@ -5502,7 +5524,18 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player.countMark('sbjiang')) str+='X次。你可以将所有手牌当【决斗】使用(X为场上其他吴势力角色数+1)。'; else str+='一次。你可以将所有手牌当【决斗】使用。'; return str; - } + }, + sbzhenliang:function(player){ + var storage=player.storage.sbzhenliang; + var str='转换技。'; + if(!storage) str+=''; + str+='阴:出牌阶段限一次,你可以弃置X张与“任”颜色相同的牌并对攻击范围内的一名角色造成1点伤害(X为你与其体力值值差且X至少为1)。'; + if(!storage) str+=''; + if(storage) str+=''; + str+='阳:你的回合外,一名角色使用或打出牌结算完成后,若此牌与“任”类别相同,则你可以令一名角色摸两张牌。'; + if(storage) str+=''; + return str; + }, }, translate:{ sb_zhanghe_prefix:'谋', @@ -5714,24 +5747,24 @@ game.import('character',function(lib,game,ui,get,ai,_status){ sb_yl_luzhi:'谋卢植', sb_yl_luzhi_prefix:'谋', sbzhenliang:'贞良', - sbzhenliang_info:'转换技。阴:出牌阶段限一次,你可以弃置X张与“任”颜色相同的牌并对攻击范围内的一名角色造成1点伤害(X为你与其体力值值差且X至少为1)。阳:你的回合外,一名角色使用或打出牌结算完成后,若此牌与“任”类别相同,则你可以令一名角色摸一张牌。', + sbzhenliang_info:'转换技。阴:出牌阶段限一次,你可以弃置X张与“任”颜色相同的牌并对攻击范围内的一名角色造成1点伤害(X为你与其体力值值差且X至少为1)。阳:你的回合外,一名角色使用或打出牌结算完成后,若此牌与“任”类别相同,则你可以令一名角色摸两张牌。', sb_xiaoqiao:'谋小乔', sb_xiaoqiao_prefix:'谋', sbtianxiang:'天香', sbtianxiang_info:'①出牌阶段限三次,你可以交给一名没有“天香”标记的其他角色一张红色牌,然后令其获得此牌花色的“天香”标记。②当你受到伤害时,你可以移去一名角色的“天香”标记,若此“天香”标记为:红桃,你防止此伤害,其受到伤害来源对其造成的1点伤害(若没有伤害来源则改为无来源伤害);方片,其交给你两张牌。③准备阶段,你移去场上所有的“天香”标记,然后摸等量的牌。', sbtianxiang_info_versus_two:'①出牌阶段限三次,你可以交给一名没有“天香”标记的其他角色一张红色牌,然后令其获得此牌花色的“天香”标记。②当你受到伤害时,你可以移去一名角色的“天香”标记,若此“天香”标记为:红桃,你防止此伤害,其受到伤害来源对其造成的1点伤害(若没有伤害来源则改为无来源伤害);方片,其交给你两张牌。③准备阶段,你移去场上所有的“天香”标记,然后摸X张牌(X为移去的“天香”标记数+2)。', - sb_sp_zhugeliang:'谋诸葛亮', + sb_sp_zhugeliang:'谋卧龙', sb_sp_zhugeliang_prefix:'谋', sb_zhugeliang:'谋诸葛亮', sb_zhugeliang_prefix:'谋', sbhuoji:'火计', sbhuoji_info:'使命技。①使命:出牌阶段限一次。你可以对一名其他角色造成1点火焰伤害,然后你对所有与其势力相同的不为其的其他角色各造成1点火焰伤害。②成功:准备阶段,若你本局游戏已造成的火焰伤害不小于本局游戏总角色数,则你失去〖火计〗和〖看破〗,然后获得〖观星〗和〖空城〗。③失败:使命成功前进入濒死状态。', sbkanpo:'看破', - sbkanpo_info:'①一轮游戏开始时,你清除〖看破①〗记录的牌名,然后你可以依次记录共计三个未于本次清除过的非装备牌牌名(对其他角色不可见)。②当其他角色使用你〖看破①〗记录过的牌名的牌时,你可以移去一个〖看破①〗中的此牌名的记录,令此牌无效。', + sbkanpo_info:'①一轮游戏开始时,你清除〖看破①〗记录的牌名,然后你可以依次记录任意个未于上次发动〖看破①〗记录清除过的非装备牌牌名(对其他角色不可见,每局游戏至多记录10个牌名)。②其他角色使用你〖看破①〗记录过的牌名的牌时,你可以移去一个〖看破①〗中的此牌名的记录令此牌无效,然后你摸一张牌。', sbguanxing:'观星', - sbguanxing_info:'①准备阶段,你将所有“星”置入弃牌堆,将牌堆顶的X张牌置于你的武将牌上,称为“星”。然后你可以将任意张“星”置于牌堆顶(X为你此次移去的“星”数+1且至多为7,若你此前未发动过〖观星①〗则X为7)。②结束阶段,若你未于本回合的准备阶段将“星”置于过牌堆顶,你可以将任意张“星”置于牌堆顶。③你可以如手牌般使用或打出“星”。', + sbguanxing_info:'①准备阶段,你将所有“星”置入弃牌堆,将牌堆顶的X张牌置于你的武将牌上,称为“星”(X为7-此前发动〖观星①〗次数的两倍,且X至少为0)。然后你可以将任意张“星”置于牌堆顶。②结束阶段,若你未于本回合的准备阶段将“星”置于过牌堆顶,你可以将任意张“星”置于牌堆顶。③你可以如手牌般使用或打出“星”。', sbkongcheng:'空城', - sbkongcheng_info:'锁定技。当你受到伤害时,若你有〖观星〗,且若你:有“星”,你判定,若结果点数不大于你的“星”数,此伤害-1;没有“星”,此伤害+1。', + sbkongcheng_info:'锁定技。当你受到伤害时,若你拥有技能〖观星〗,且若你:有“星”,你判定,若结果点数不大于你的“星”数,此伤害-1;没有“星”,此伤害+1。', sb_huangyueying:'谋黄月英', sb_huangyueying_prefix:'谋', sbqicai:'奇才', From ecbc1aecc45952336eefbefcb8986f330713cab6 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Sun, 24 Dec 2023 05:16:13 +0800 Subject: [PATCH 057/234] =?UTF-8?q?=E8=92=8B=E6=B5=8E=E3=80=81=E9=B2=8D?= =?UTF-8?q?=E4=BF=A1=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/mobile.js | 10 +++++----- character/sb.js | 8 ++++++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/character/mobile.js b/character/mobile.js index 877b0f648..9e5bfaea9 100644 --- a/character/mobile.js +++ b/character/mobile.js @@ -759,7 +759,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var target=get.translation(trigger.player); var choiceList=[ '令'+target+'获得牌堆里的一张【杀】', - '令'+target+'将一张牌交给另一名角色,然后'+target+'摸一张牌', + '令'+target+'将一张牌交给另一名角色,然后'+target+'摸两张牌', ]; var list=['选项一']; if(trigger.player.countCards('h')) list.push('选项二'); @@ -804,7 +804,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var target=result.targets[0]; trigger.player.line(target); trigger.player.give(result.cards,target); - trigger.player.draw(); + trigger.player.draw(2); }, }, //蒋济 @@ -816,7 +816,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, content:function(){ 'step 0' - var num=Math.min(Math.max(1,player.getStorage('twjichou').length),5); + var num=Math.min(Math.max(1,player.getStorage('twjichou').length),4); event.num=num; var choices=['选项一']; var choiceList=[ @@ -15762,10 +15762,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ mutao:'募讨', mutao_info:'出牌阶段限一次。你可以选择一名角色,令其将手牌中所有的【杀】置于武将牌上,然后将这些牌依次随机交给其下家开始的每一名角色。然后其对最后一名以此法获得【杀】的角色A造成X点伤害(X为A手牌中【杀】的数量且至多为3)。', yimou:'毅谋', - yimou_info:'当一名角色受到伤害后,若其存活且你至其的距离不大于1,你可以选择一项:1.令其从牌堆中获得一张【杀】;2.令其将一张手牌交给另一名角色,然后摸一张牌。', + yimou_info:'当一名角色受到伤害后,若其存活且你至其的距离不大于1,你可以选择一项:1.令其从牌堆中获得一张【杀】;2.令其将一张手牌交给另一名角色,然后摸两张牌。', jiangji:'蒋济', jilun:'机论', - jilun_info:'①当你受到伤害后,若你拥有技能〖急筹〗,则你可以一项:1.摸X张牌(X为〖急筹①〗记录数,且X且至少为1,至多为5)。2.获得1枚“机论”标记。②一名角色的结束阶段,若你拥有“机论”,则重复选择执行以下项直到你没有“机论”标记:1.失去1枚“机论”标记,视为使用一张〖急筹①〗记录过且未被〖机论②〗记录过的普通锦囊牌并记录此牌牌名。2.失去所有“机论”标记。', + jilun_info:'①当你受到伤害后,若你拥有技能〖急筹〗,则你可以一项:1.摸X张牌(X为〖急筹①〗记录数,且X且至少为1,至多为4)。2.获得1枚“机论”标记。②一名角色的结束阶段,若你拥有“机论”,则重复选择执行以下项直到你没有“机论”标记:1.失去1枚“机论”标记,视为使用一张〖急筹①〗记录过且未被〖机论②〗记录过的普通锦囊牌并记录此牌牌名。2.失去所有“机论”标记。', liwei:'李遗', jiaohua:'教化', jiaohua_backup:'教化', diff --git a/character/sb.js b/character/sb.js index ce6694b45..0bcb47525 100644 --- a/character/sb.js +++ b/character/sb.js @@ -496,6 +496,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }); if(result.bool){ var names=result.links.map(link=>link[2]); + storage[0]-=names.length; storage[1]=names; storage[2]=names; } @@ -509,10 +510,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return '?'; }, mark:function(dialog,content,player){ - const storage=player.getStorage('sbkanpo')[1]; if(player.isUnderControl(true)){ + const storage=player.getStorage('sbkanpo'); + const sum=storage[0]; + const names=storage[1]; + dialog.addText('剩余可记录'+sum+'次牌名'); dialog.addText('已记录牌名:'); - dialog.addSmall([storage,'vcard']); + dialog.addSmall([names,'vcard']); } }, }, From 89d3d64c89ad7b601a5abc0370f15b4a90171346 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Sun, 24 Dec 2023 05:34:30 +0800 Subject: [PATCH 058/234] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A7=82=E6=98=9F?= =?UTF-8?q?=E3=80=901=E3=80=91=E5=92=8C=E8=A7=82=E6=98=9F=E3=80=902?= =?UTF-8?q?=E3=80=91=E5=90=8C=E5=8D=A0=E7=94=A8=E8=A7=82=E6=98=9F=E3=80=90?= =?UTF-8?q?1=E3=80=91=E8=8E=B7=E5=BE=97=E6=98=9F=E6=95=B0=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/sb.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/character/sb.js b/character/sb.js index 0bcb47525..73a727070 100644 --- a/character/sb.js +++ b/character/sb.js @@ -566,10 +566,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, trigger:{player:['phaseZhunbeiBegin','phaseJieshuBegin']}, filter:function(event,player){ - var cards=player.countCards('s',card=>card.hasGaintag('sbguanxing')); - var num=player.getAllHistory('useSkill',evt=>evt.skill=='sbguanxing').length; - if(!cards.length&&num>3) return false; - return event.name=='phaseZhunbei'||(player.hasSkill('sbguanxing_on')); + var bool=player.hasCards(card=>card.hasGaintag('sbguanxing'),'s'); + if(event.name=='phaseZhunbei'){ + var num=player.countMark('sbguanxingx'); + return bool||num<=3; + } + return bool&&player.hasSkill('sbguanxing_on'); }, forced:true, locked:false, @@ -579,9 +581,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.goto(2); return; } + player.addMark('sbguanxingx',1,false); var cards=player.getCards('s',card=>card.hasGaintag('sbguanxing')); if(cards.length) player.loseToDiscardpile(cards); - var num=player.getAllHistory('useSkill',evt=>evt.skill=='sbguanxing').length-1; + var num=player.countMark('sbguanxingx')-1; event.num=Math.max(0,7-2*num); 'step 1' if(num){ @@ -591,7 +594,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.loseToSpecial(cards2,'sbguanxing').visible=true; player.markSkill('sbguanxing'); } - else if(!player.countCards('s',card=>card.hasGaintag('sbguanxing'))) event.finish(); 'step 2' var cards=player.getCards('s',card=>card.hasGaintag('sbguanxing')); if(cards.length){ From 602b14422d06b30916b0103a7b03248a01340356 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Sun, 24 Dec 2023 05:38:27 +0800 Subject: [PATCH 059/234] 1 --- character/sb.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/character/sb.js b/character/sb.js index 73a727070..f46d3e241 100644 --- a/character/sb.js +++ b/character/sb.js @@ -369,9 +369,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, }, - sbhuoji1:{audio:2}, - sbhuoji2:{audio:2}, - sbhuoji3:{audio:2}, + sbhuoji1:{audio:true}, + sbhuoji2:{audio:true}, + sbhuoji3:{audio:true}, sbkanpo:{ init:function(player){ if(!player.storage.sbkanpo){ From 6a03b3ac0414cee9cc20618d99dfc2e34e307eba Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Mon, 25 Dec 2023 11:03:23 +0800 Subject: [PATCH 060/234] =?UTF-8?q?=E6=95=B0=E5=80=BC=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E4=BB=8D=E5=9C=A8=E7=BB=A7=E7=BB=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/mobile.js | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/character/mobile.js b/character/mobile.js index 9e5bfaea9..be32a2efa 100644 --- a/character/mobile.js +++ b/character/mobile.js @@ -742,7 +742,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else{ target.line(event.togive); - event.togive.damage(Math.min(3,event.togive.countCards('h',{name:'sha'})),target); + event.togive.damage(Math.min(2,event.togive.countCards('h',{name:'sha'})),target); } }, intro:{ @@ -759,7 +759,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var target=get.translation(trigger.player); var choiceList=[ '令'+target+'获得牌堆里的一张【杀】', - '令'+target+'将一张牌交给另一名角色,然后'+target+'摸两张牌', + '令'+target+'将一张牌交给另一名角色,然后'+target+'摸一张牌', ]; var list=['选项一']; if(trigger.player.countCards('h')) list.push('选项二'); @@ -804,7 +804,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var target=result.targets[0]; trigger.player.line(target); trigger.player.give(result.cards,target); - trigger.player.draw(2); + trigger.player.draw(); }, }, //蒋济 @@ -816,30 +816,28 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, content:function(){ 'step 0' - var num=Math.min(Math.max(1,player.getStorage('twjichou').length),4); - event.num=num; var choices=['选项一']; var choiceList=[ - '摸'+get.cnNumber(num)+'张牌', + '摸两张牌', '获得一个“机论”标记', ]; if(!player.getStorage('twjichou').length||!player.getStorage('twjichou').filter(function(name){ - return !player.getStorage('jilun').contains(name)&&player.hasUseTarget({name:name}); + return !player.getStorage('jilun').includes(name)&&player.hasUseTarget({name:name}); }).length) choiceList[1]=''+choiceList[1]+''; else choices.push('选项二'); player.chooseControl(choices,'cancel2').set('choiceList',choiceList).set('prompt',get.prompt('jilun')).set('ai',()=>{ if(_status.event.choiceList.length==1||!player.getStorage('twjichou').length) return 0; - var val=_status.event.num>3?Math.min(1.5,1+(_status.event.num-3)*0.1):1; + var val=player.getUseValue({name:'wuzhong'}); for(var name of player.getStorage('twjichou')){ - if(player.getStorage('jilun').contains(name)) continue; - if(player.getUseValue({name:name})>4*val) return 1; + if(player.getStorage('jilun').includes(name)) continue; + if(player.getUseValue({name:name})>val) return 1; } return 0; - }).set('num',num); + }); 'step 1' if(result.control!='cancel2'){ player.logSkill('jilun'); - if(result.control=='选项一') player.draw(num); + if(result.control=='选项一') player.draw(2); else player.addMark('jilun_mark',1); } }, @@ -858,7 +856,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' if(!player.getStorage('twjichou').length||!player.getStorage('twjichou').filter(function(name){ - return !player.getStorage('jilun').contains(name)&&player.hasUseTarget({name:name}); + return !player.getStorage('jilun').includes(name)&&player.hasUseTarget({name:name}); }).length){ if(player.hasMark('jilun_mark')) player.removeMark('jilun_mark',player.countMark('jilun_mark')); event.finish(); @@ -866,7 +864,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } var list=[]; for(var name of player.getStorage('twjichou')){ - if(!player.getStorage('jilun').contains(name)){ + if(!player.getStorage('jilun').includes(name)){ list.push(['锦囊','',name]); } } @@ -15760,12 +15758,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ old_yuanshu_prefix:'手杀', baoxin:'鲍信', mutao:'募讨', - mutao_info:'出牌阶段限一次。你可以选择一名角色,令其将手牌中所有的【杀】置于武将牌上,然后将这些牌依次随机交给其下家开始的每一名角色。然后其对最后一名以此法获得【杀】的角色A造成X点伤害(X为A手牌中【杀】的数量且至多为3)。', + mutao_info:'出牌阶段限一次。你可以选择一名角色,令其将手牌中所有的【杀】置于武将牌上,然后将这些牌依次随机交给其下家开始的每一名角色。然后其对最后一名以此法获得【杀】的角色A造成X点伤害(X为A手牌中【杀】的数量且至多为2)。', yimou:'毅谋', - yimou_info:'当一名角色受到伤害后,若其存活且你至其的距离不大于1,你可以选择一项:1.令其从牌堆中获得一张【杀】;2.令其将一张手牌交给另一名角色,然后摸两张牌。', + yimou_info:'当一名角色受到伤害后,若其存活且你至其的距离不大于1,你可以选择一项:1.令其从牌堆中获得一张【杀】;2.令其将一张手牌交给另一名角色,然后摸一张牌。', jiangji:'蒋济', jilun:'机论', - jilun_info:'①当你受到伤害后,若你拥有技能〖急筹〗,则你可以一项:1.摸X张牌(X为〖急筹①〗记录数,且X且至少为1,至多为4)。2.获得1枚“机论”标记。②一名角色的结束阶段,若你拥有“机论”,则重复选择执行以下项直到你没有“机论”标记:1.失去1枚“机论”标记,视为使用一张〖急筹①〗记录过且未被〖机论②〗记录过的普通锦囊牌并记录此牌牌名。2.失去所有“机论”标记。', + jilun_info:'①当你受到伤害后,若你拥有技能〖急筹〗,则你可以一项:1.摸两张牌。2.获得1枚“机论”标记。②一名角色的结束阶段,若你拥有“机论”,则重复选择执行以下项直到你没有“机论”标记:1.失去1枚“机论”标记,视为使用一张〖急筹①〗记录过且未被〖机论②〗记录过的普通锦囊牌并记录此牌牌名。2.失去所有“机论”标记。', liwei:'李遗', jiaohua:'教化', jiaohua_backup:'教化', From cb14094876862103b7c3d76601c8ec425117d3cc Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Mon, 25 Dec 2023 14:59:47 +0800 Subject: [PATCH 061/234] =?UTF-8?q?=E5=8F=8A=E6=97=B6=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E3=80=90=E5=87=9D=E5=AF=92=E3=80=91=E5=85=A8=E5=B1=80=E6=95=88?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/jsrg.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/character/jsrg.js b/character/jsrg.js index adcc07082..87921e89f 100644 --- a/character/jsrg.js +++ b/character/jsrg.js @@ -678,13 +678,18 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, jsrgninghan:{ audio:2, + init:(player)=>{ + game.addGlobalSkill('jsrgninghan_frozen'); + }, + onremove:(player)=>{ + game.removeGlobalSkill('jsrgninghan_frozen'); + }, trigger:{global:'damageEnd'}, filter:function(event,player){ if(!event.hasNature('ice')) return false; return event.cards&&event.cards.filterInD().length; }, forced:true, - global:'jsrgninghan_frozen', content:function(){ var cards=trigger.cards.filterInD(); player.addToExpansion(cards,'gain2').gaintag.add('jsrgshacheng'); @@ -701,6 +706,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(lg) return num+0.15*Math.sign(get.attitude(player,lg)); } } + }, + trigger:{player:'dieAfter'}, + filter:(event,player)=>{ + return !game.hasPlayer(current=>!current.hasSkill('jsrgninghan')); + }, + silent:true, + forceDie:true, + content:()=>{ + game.removeGlobalSkill('jsrgninghan_frozen'); } }, }, From 0c57827800dceb7ce1431926a31072f39d4f007d Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Mon, 25 Dec 2023 15:28:20 +0800 Subject: [PATCH 062/234] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B0=8F=E6=A6=82?= =?UTF-8?q?=E7=8E=87=E8=BF=87=E6=97=A9=E7=A7=BB=E9=99=A4=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E6=8A=80=E8=83=BD=E7=9A=84bug(=E9=83=A8=E5=88=86)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/huicui.js | 12 +++--------- character/jsrg.js | 4 ++-- character/refresh.js | 4 ++-- character/shiji.js | 2 +- character/tw.js | 2 +- character/xianding.js | 6 +++--- character/yijiang.js | 4 ++-- 7 files changed, 14 insertions(+), 20 deletions(-) diff --git a/character/huicui.js b/character/huicui.js index af0e6172c..a17358c08 100644 --- a/character/huicui.js +++ b/character/huicui.js @@ -7974,9 +7974,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ init:function(player){ game.addGlobalSkill('huguan_all'); }, - onremove:function(player){ - game.removeGlobalSkill('huguan_all'); - }, trigger:{global:'useCard'}, direct:true, filter:function(event,player){ @@ -8052,7 +8049,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ let num = -157; game.countPlayer(function (current){ if(current.hasSkill('huguan')) num = Math.max(num, get.attitude(_status.event.player, current)); - }); + }, true); if(num === -157) game.removeGlobalSkill('huguan_all'); else if(num === 0) player.storage.huguan_all = 6; else if(num > 0) player.storage.huguan_all = 9; @@ -9168,7 +9165,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.addGlobalSkill('fengxiang_use'); }, onremove:function(player){ - game.removeGlobalSkill('fengxiang_use'); + if(!game.hasPlayer(current=>current.hasSkill('fengxiang'),true)) game.removeGlobalSkill('fengxiang_use'); }, trigger:{player:'damageEnd'}, forced:true, @@ -9210,10 +9207,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, trigger:{player:'dieAfter'}, filter:function(event,player){ - for(let i of game.players){ - if(i.hasSkill('fengxiang')) return false; - } - return true; + return !game.hasPlayer(current=>current.hasSkill('fengxiang'),true); }, silent:true, forceDie:true, diff --git a/character/jsrg.js b/character/jsrg.js index 87921e89f..4847fa1dd 100644 --- a/character/jsrg.js +++ b/character/jsrg.js @@ -682,7 +682,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.addGlobalSkill('jsrgninghan_frozen'); }, onremove:(player)=>{ - game.removeGlobalSkill('jsrgninghan_frozen'); + if(!game.hasPlayer(current=>current.hasSkill('jsrgninghan'),true)) game.removeGlobalSkill('jsrgninghan_frozen'); }, trigger:{global:'damageEnd'}, filter:function(event,player){ @@ -709,7 +709,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, trigger:{player:'dieAfter'}, filter:(event,player)=>{ - return !game.hasPlayer(current=>!current.hasSkill('jsrgninghan')); + return !game.hasPlayer(current=>!current.hasSkill('jsrgninghan'),true); }, silent:true, forceDie:true, diff --git a/character/refresh.js b/character/refresh.js index dbd13f0b4..00090875c 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -5828,7 +5828,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.addGlobalSkill('relongyin_order'); }, onremove:(player)=>{ - game.removeGlobalSkill('relongyin_order'); + if(!game.hasPlayer(current=>current.hasSkill('relongyin'),true)) game.removeGlobalSkill('relongyin_order'); }, trigger:{global:'useCard'}, direct:true, @@ -5917,7 +5917,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, trigger:{player:'dieAfter'}, filter:(event,player)=>{ - return !game.hasPlayer(current=>current.hasSkill('relongyin')); + return !game.hasPlayer(current=>current.hasSkill('relongyin'),true); }, silent:true, forceDie:true, diff --git a/character/shiji.js b/character/shiji.js index 93afe4dd4..94fe88ffd 100644 --- a/character/shiji.js +++ b/character/shiji.js @@ -5994,7 +5994,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.addGlobalSkill('spshanxi_bj'); }, onremove:function(player){ - game.removeGlobalSkill('spshanxi_bj'); + if(!game.hasPlayer(current=>current.hasSkill('spshanxi'),true)) game.removeGlobalSkill('spshanxi_bj'); }, trigger:{player:'phaseUseBegin'}, direct:true, diff --git a/character/tw.js b/character/tw.js index 42dd48fdf..45bbc0723 100644 --- a/character/tw.js +++ b/character/tw.js @@ -11909,7 +11909,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.addGlobalSkill('twzhian_ai'); }, onremove:function(player){ - game.removeGlobalSkill('twzhian_ai'); + if(!game.hasPlayer((current)=>current.hasSkill('twzhian'),true)) game.removeGlobalSkill('twzhian_ai'); }, usable:1, trigger:{global:'useCardAfter'}, diff --git a/character/xianding.js b/character/xianding.js index 70d2cbf03..e55242c72 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -4783,7 +4783,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.addGlobalSkill('dcaichen_hit'); }, onremove:function(player){ - game.removeGlobalSkill('dcaichen_hit'); + if(!game.hasPlayer(current=>current.hasSkill('dcaichen'),true)) game.removeGlobalSkill('dcaichen_hit'); }, trigger:{ player:['loseAfter','phaseDiscardBefore'], @@ -4813,7 +4813,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ hit:{ trigger:{player:'dieAfter'}, filter:function(event,player){ - return !game.hasPlayer(current=>current.hasSkill('dcaichen')); + return !game.hasPlayer(current=>current.hasSkill('dcaichen'),true); }, silent:true, forceDie:true, @@ -5526,7 +5526,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ all:{ trigger:{player:'dieAfter'}, filter:function(event,player){ - return !game.hasPlayer(current=>current.hasSkill('dcwumei_wake')); + return !game.hasPlayer(current=>current.hasSkill('dcwumei_wake'),true); }, silent:true, forceDie:true, diff --git a/character/yijiang.js b/character/yijiang.js index f91eecc10..7eef0fb8e 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -7558,7 +7558,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.addGlobalSkill('longyin_order'); }, onremove:(player)=>{ - game.removeGlobalSkill('longyin_order'); + if(!game.hasPlayer(current=>current.hasSkill('longyin'),true)) game.removeGlobalSkill('longyin_order'); }, trigger:{global:'useCard'}, direct:true, @@ -7647,7 +7647,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, trigger:{player:'dieAfter'}, filter:(event,player)=>{ - return !game.hasPlayer(current=>current.hasSkill('longyin')); + return !game.hasPlayer(current=>current.hasSkill('longyin'),true); }, silent:true, forceDie:true, From 475201527a3c9610f6d5cae501724b6579833ea0 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Mon, 25 Dec 2023 16:11:46 +0800 Subject: [PATCH 063/234] =?UTF-8?q?=E5=9B=9E=E6=BB=9A=E3=80=90=E6=9D=80?= =?UTF-8?q?=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/standard.js | 107 +++++++++++++---------------------------------- 1 file changed, 30 insertions(+), 77 deletions(-) diff --git a/card/standard.js b/card/standard.js index 356fd2d5c..e3265f4eb 100644 --- a/card/standard.js +++ b/card/standard.js @@ -260,89 +260,42 @@ game.import('card',function(lib,game,ui,get,ai,_status){ value:[5,3,1], }, order:function(item,player){ - let res=3.2; - if(player.hasSkillTag('presha',true,null,true)) res=10; - if(get.itemtype(player)!=='player') return res; - /*let uv=player.getUseValue(item,true); - if(uv<=0) return res;*/ - let ignore=get.copy(ui.selected.cards),used=player.getCardUsable('sha')-1.5,ph=player.getCards('hs'); - ignore.add(item); - if(typeof item==='object'&&item.cards) ignore.addArray(item.cards); - let na=get.natureList(item),number,natures=['thunder','fire','ice','kami'],nb; - if(typeof item==='object') number=get.number(item); - else number=0; - for(let i of ph){ - if(ignore.includes(i)||get.name(i)!=='sha'||!lib.filter.cardEnabled(i,player)) continue; - nb=get.natureList(i); - if(na.length===nb.length&&(!na.length||na[0]===nb[0])){ - if(number>get.number(i)) return res-0.15; - continue; - } - if(used*(na.length-nb.length)>0) return res-0.15; - if(na.length===nb.length){ - if(used*(natures.indexOf(na[0])-natures.indexOf(nb[0]))>0) return res-0.15; - } - /*usev=player.getUseValue(i,true); - if(usev>0&&used*(uv-usev)>0) return res-0.15;*/ + if(player.hasSkillTag('presha',true,null,true)) return 10; + if(item.hasNature('linked')){ + if(game.hasPlayer(function(current){ + return current!=player&¤t.isLinked()&&player.canUse(item,current,null,true)&&get.effect(current,item,player,player)>0&&lib.card.sha.ai.canLink(player,current,item); + })&&game.countPlayer(function(current){ + return current.isLinked()&&get.damageEffect(current,player,player,get.nature(item))>0; + })>1) return 3.1; + return 3; } - return res; + return 3.05; }, result:{ - target:(player,target,card,isLink)=>{ - if(target._sha_result_temp) return -1.5; - target._sha_result_temp=true; - let basic=1,eff=-1.5,zhu=target.isZhu&&target.identityShown; - if(!target.hasSkillTag('filterDamage',null,{ - player:player, - card:card, - jiu:player.hasSkill('jiu'), - })&&(player.hasSkill('jiu')||player.hasSkillTag('damageBonus',true,{ - target:target, - card:card - }))){ - if(target.hp<2) basic=5; - else if(target.hp===2) basic=3; - else basic=2; - } - else if(target.hp<2) basic*=3; - if(zhu) eff*=Math.max(1,9/target.hp/target.hp); - if(isLink){ - let rate=_status.event.getTempCache('sha_result','mayShan'); - if(rate&&rate.id===card.sha_ai_id) rate=rate.rate; - delete target._sha_result_temp; - if(typeof rate==='boolean'||typeof rate==='number'){ - if(rate>=1) return eff; - return basic*eff*(1.3-0.9*rate); + target:function(player,target,card,isLink){ + var eff=function(){ + if(!isLink&&player.hasSkill('jiu')){ + if(!target.hasSkillTag('filterDamage',null,{ + player:player, + card:card, + jiu:true, + })){ + if(get.attitude(player,target)>0){ + return -7; + } + else{ + return -4; + } + } + return -0.5; } - delete _status.event._tempCache['sha_result']['mayShan']; - return basic*eff; - } - let mayShan; - if(player.hasSkillTag('directHit_ai',true,{ + return -1.5; + }(); + if(!isLink&&target.mayHaveShan()&&!player.hasSkillTag('directHit_ai',true,{ target:target, card:card, - },true)||game.hasNature(card,'stab')&&target.countCards('he')<2&&!target.hasSkillTag('noh')) mayShan=false; - else{ - let temp=target.getKnownCards(player); - if(temp.some(i=>{ - let name=get.name(i,target); - if(name==='shan'||name==='hufu') return lib.filter.cardEnabled(i,target,'forceEnable'); - return false; - })) mayShan=true; - else mayShan=1-Math.pow(0.7,(target.hasSkillTag('respondShan',true,'use',true)?1:0)+target.countCards('hs')-temp.length); - } - if(game.hasNature(card,'linked',player)){ - if(!_status.sha_ai_id) _status.sha_ai_id=1; - else _status.sha_ai_id++; - card.sha_ai_id=_status.sha_ai_id; - _status.event.putTempCache('sha_result','mayShan',{ - id:_status.sha_ai_id, - rate:mayShan - }); - } - delete target._sha_result_temp; - if(mayShan>=1) return eff; - return basic*eff*(1.3-0.9*mayShan); + },true)) return eff/1.2; + return eff; }, }, tag:{ From 56a77baea18f668880660cfb568e033db84c8692 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Mon, 25 Dec 2023 16:40:24 +0800 Subject: [PATCH 064/234] =?UTF-8?q?=E7=94=A8=5FtrueMe=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E8=80=85=E6=98=AF=E5=90=A6=E6=80=81=E5=BA=A6?= =?UTF-8?q?=E4=B8=8D=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit isMad()已在attitude里检测,故移除 --- card/extra.js | 10 +++++----- card/standard.js | 17 ++++++----------- card/yingbian.js | 2 +- 3 files changed, 12 insertions(+), 17 deletions(-) diff --git a/card/extra.js b/card/extra.js index a02ea45bc..17ba4277d 100644 --- a/card/extra.js +++ b/card/extra.js @@ -230,10 +230,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){ value:[3,1], useful:1, }, - wuxie:function(target,card,player,viewer,state){ - let att=get.attitude(viewer,target), eff=get.effect(target,card,player,target); - if(status*get.attitude(viewer,player)>0&&!player.isMad() || status*eff*att>=0) return 0; - if(get.attitude(viewer,player)>=0 || _status.event.getRand('huogong_wuxie')*4>player.countCards('h')) return 0; + wuxie:function(target,card,player,viewer,status){ + if(get.attitude(viewer,player._trueMe||player)>0) return 0; + if(status*get.attitude(viewer,target)*get.effect(target,card,player,target)>=0) return 0; + if(_status.event.getRand('huogong_wuxie')*4>player.countCards('h')) return 0; }, result:{ player:function(player){ @@ -302,7 +302,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ recastable:true, ai:{ wuxie:(target,card,player,viewer, status)=>{ - if(status*get.attitude(viewer,player)>0&&!player.isMad() || target.hasSkillTag('nodamage') || target.hasSkillTag('nofire') || target.hasSkillTag('nothunder') || get.attitude(viewer,player)>0 || (1+target.countCards('hs'))*_status.event.getRand()>1.57) return 0; + if(status*get.attitude(viewer,player._trueMe||player)>0 || target.hasSkillTag('nodamage') || target.hasSkillTag('nofire') || target.hasSkillTag('nothunder') || get.attitude(viewer,player)>0 || (1+target.countCards('hs'))*_status.event.getRand()>1.57) return 0; }, basic:{ order:(item,player)=>{ diff --git a/card/standard.js b/card/standard.js index e3265f4eb..668a5c631 100644 --- a/card/standard.js +++ b/card/standard.js @@ -1228,10 +1228,9 @@ game.import('card',function(lib,game,ui,get,ai,_status){ event._result={}; }, ai:{ - wuxie:function(target,card,player,viewer){ - if(player==game.me&&get.attitude(viewer,player)>0){ - return 0; - } + wuxie:function(target,card,player,viewer,status){ + if(player===game.me&&get.attitude(viewer,player._trueMe||player)>0) return 0; + if(status*get.attitude(viewer,target)*get.effect(target,card,player,target)>=0) return 0; }, basic:{ order:5, @@ -1295,9 +1294,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }, ai:{ wuxie:function(target,card,player,viewer){ - if(get.attitude(viewer,player)>0&&get.attitude(viewer,target)>0){ - return 0; - } + if(get.attitude(viewer,player._trueMe||player)>0) return 0; }, basic:{ order:7.5, @@ -1574,7 +1571,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }, ai:{ wuxie:(target,card,player,viewer,status)=>{ - if(status*get.attitude(viewer,player)>0&&!player.isMad() || target.hp>2&&!target.hasCard(i=>{ + if(status*get.attitude(viewer,player._trueMe||player)>0 || target.hp>2&&!target.hasCard(i=>{ let val=get.value(i,target),subtypes=get.subtypes(i); if(val<8&&target.hp<2&&!subtypes.includes('equip2')&&!subtypes.includes('equip5')) return false; return val>3+Math.min(5,target.hp); @@ -1824,9 +1821,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }, ai:{ wuxie:function(target,card,player,viewer){ - if(player==game.me&&get.attitude(viewer,player)>0){ - return 0; - } + if(player==game.me&&get.attitude(viewer,player._trueMe||player)>0) return 0; }, basic:{ order:8, diff --git a/card/yingbian.js b/card/yingbian.js index f00b13dd4..885564123 100644 --- a/card/yingbian.js +++ b/card/yingbian.js @@ -28,7 +28,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }, ai:{ wuxie:function(target,card,player,viewer,status){ - if(status*get.attitude(viewer,player)>0&&!player.isMad()) return 0; + if(get.attitude(viewer,player._trueMe||player)>0) return 0; if(!card.yingbian_all&&get.distance(player,target)>1&&!target.hasCard(i=>{ let val=get.value(i,target),subtypes=get.subtypes(i); if(val<8&&target.hp<2&&!subtypes.includes('equip2')&&!subtypes.includes('equip5')) return false; From c9a8f3d6a3cc2cd89759103efc42da0c05a95373 Mon Sep 17 00:00:00 2001 From: Rintim Date: Mon, 25 Dec 2023 20:24:15 +0800 Subject: [PATCH 065/234] revert: damn it... --- noname/game/index.js | 38 ++++++++++++++--- noname/library/element/content.js | 3 ++ noname/library/element/contents.js | 65 ++++++++++++++++++++++++------ noname/library/index.js | 26 ++++++------ noname/util/index.js | 9 +++++ 5 files changed, 111 insertions(+), 30 deletions(-) diff --git a/noname/game/index.js b/noname/game/index.js index e3d71a8a3..c73b54bac 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -16,7 +16,7 @@ import { Library as lib } from '../library/index.js'; import { status as _status } from '../status/index.js'; import { UI as ui } from '../ui/index.js'; import { GNC as gnc } from '../gnc/index.js'; -import { userAgent, Uninstantable, GeneratorFunction, AsyncFunction } from "../util/index.js"; +import { userAgent, Uninstantable, GeneratorFunction, AsyncFunction, delay } from "../util/index.js"; export class Game extends Uninstantable { static online = false; @@ -5836,6 +5836,7 @@ export class Game extends Uninstantable { let { step, source, player, target, targets, card, cards, skill, forced, num, _trigger: trigger, _result: result, _storeEvent } = event; // 数组形式 if ("contents" in event && Array.isArray(event.contents)) { + /* event.contents[step](event, trigger, player, _storeEvent).then((evt) => { if (evt) event._storeEvent = evt; if (game.executingAsyncEventMap.has(event.toEvent())) { @@ -5847,7 +5848,36 @@ export class Game extends Uninstantable { if (event.step >= event.contents.length - 1) event.finish(); resolve(); } - }) + }); + */ + // 解决不了问题...就把问题统一 + const run = async (event) => { + if (typeof event.step !== "number") event.step = 0; + while (event.step < event.contents.length && !event.finished) { + const evt = await event.contents[event.step](event, event._trigger, event.player, event._tmpStoreEvent); + if (evt) event._tmpStoreEvent = evt; + + if (game.executingAsyncEventMap.has(event.toEvent())) { + await game.executingAsyncEventMap.get(_status.event.toEvent()); + await game.executingAsyncEventMap.get(event.toEvent()); + } + + ++event.step; + } + --event.step; + }; + + run(event).then(() => { + if (game.executingAsyncEventMap.has(event.toEvent())) { + game.executingAsyncEventMap.set(_status.event.toEvent(), game.executingAsyncEventMap.get(_status.event.toEvent()).then(() => { + event.finish(); + resolve(); + })); + } else { + event.finish(); + resolve(); + } + }); } else if (event.content instanceof GeneratorFunction) { if (!event.debugging) { @@ -5979,9 +6009,7 @@ export class Game extends Uninstantable { time = time * lib.config.duration + time2; if (lib.config.speed == 'vvfast') time /= 3; //_status.timeout=setTimeout(game.resume,time); - return new Promise(resolve => { - setTimeout(resolve, time); - }); + return delay(time); } /** * 在async content中对game.delayx的代替使用方法 diff --git a/noname/library/element/content.js b/noname/library/element/content.js index 709462864..d0b258254 100644 --- a/noname/library/element/content.js +++ b/noname/library/element/content.js @@ -2704,6 +2704,9 @@ export default { ui.clear(); event.goto(1); }, + /** + * @deprecated + */ phaseDraw: function () { "step 0"; game.log(player, '进入了摸牌阶段'); diff --git a/noname/library/element/contents.js b/noname/library/element/contents.js index 8c9654907..2a90d1f04 100644 --- a/noname/library/element/contents.js +++ b/noname/library/element/contents.js @@ -189,26 +189,29 @@ export default { if (player.isIn() && event.num < event.phaseList.length) { const phase = event.phaseList[event.num].split('|'); event.currentPhase = phase[0]; + if (event.currentPhase == 'phaseDraw' || event.currentPhase == 'phaseDiscard') { + if (!player.noPhaseDelay) { + // @ts-ignore + if (player == game.me) { + await game.asyncDelay(); + // game.delay(); + } + else { + await game.asyncDelayx(); + // game.delayx(); + } + } + } const next = player[event.currentPhase](); next.phaseIndex = event.num; if (phase.length > 1) { next._extraPhaseReason = phase[1]; } - if (event.currentPhase == 'phaseDraw' || event.currentPhase == 'phaseDiscard') { - if (!player.noPhaseDelay) { - // @ts-ignore - if (player == game.me) { - game.delay(); - } - else { - game.delayx(); - } - } - } + return await next; } }, async (event, _trigger, player) => { - if (event.currentPhase == 'phaseUse') { + if (event.currentPhase === 'phaseUse') { // @ts-ignore game.broadcastAll(() => { // @ts-ignore @@ -244,5 +247,43 @@ export default { delete _status.currentPhase; }, player); } + ], + phaseDraw: [ + async (event, _trigger, player) => { + game.log(player, '进入了摸牌阶段'); + event.trigger("phaseDrawBegin1"); + }, + async (event) => { + event.trigger("phaseDrawBegin2"); + }, + async (event, _trigger, player) => { + // @ts-ignore + if (game.modPhaseDraw) { + // @ts-ignore + return game.modPhaseDraw(player, event.num); + } + else { + if (event.num > 0) { + let num = event.num; + if (event.attachDraw) { + for (let i = 0; i < event.attachDraw.length; i++) { + // @ts-ignore + ui.cardPile.insertBefore(event.attachDraw[i], ui.cardPile.firstChild); + } + num += event.attachDraw.length; + } + const next = player.draw(num); + if (event.attachDraw) { + next.minnum = event.attachDraw.length; + } + return next; + } + } + }, + async (event, _trigger, _player, { result }) => { + if (Array.isArray(result)) { + event.cards = result; + } + } ] }; diff --git a/noname/library/index.js b/noname/library/index.js index e4c3f3e87..2f8a1d975 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -12388,7 +12388,7 @@ export class Library extends Uninstantable { next.forceDie = true; next.includeOut = true; next.skill = skill || _status.event.name; - next.setContents('phase'); + next.setContent('phase'); return next; } insertEvent(name, content, arg) { @@ -12410,7 +12410,7 @@ export class Library extends Uninstantable { phase(skill) { var next = game.createEvent('phase', false); next.player = this; - next.setContents('phase'); + next.setContent('phase'); if (!_status.roundStart) { _status.roundStart = this; } @@ -20492,17 +20492,6 @@ export class Library extends Uninstantable { if (!_status.event) return; // game.createEvent的时候还没立即push到next里 Promise.resolve().then(() => { - /* - // 事件自行处理skip情况 - if (event.player && event.player.skipList.includes(event.name)) { - _status.event.trigger(event.name + 'Skipped'); - event.player.skipList.remove(event.name); - if (lib.phaseName.includes(event.name)) event.player.getHistory('skipped').add(event.name); - const eventPromise = _status.event.next.find(e => e.toEvent() == event); - if (eventPromise) _status.event.next.remove(eventPromise); - return; - } - */ game.executingAsyncEventMap.set(_status.event.toEvent(), (game.executingAsyncEventMap.get(_status.event.toEvent()) || Promise.resolve()).then(() => { let eventPromise = _status.event.next.find(e => e.toEvent() == event); // 如果父级事件也是一个异步的话,那应该立即执行这个事件的 @@ -20513,6 +20502,17 @@ export class Library extends Uninstantable { // 再执行game.loop是因为原有的game.loop被await卡住了, // 得新执行一个只执行这个异步事件的game.loop + // 事件自行处理skip情况 + if (event.player && event.player.skipList.includes(event.name)) { + _status.event.trigger(event.name + 'Skipped'); + event.player.skipList.remove(event.name); + if (lib.phaseName.includes(event.name)) event.player.getHistory('skipped').add(event.name); + _status.event.next.remove(eventPromise); + event.finish(); + resolve(); + return eventPromise; + } + if (_status.event != eventPromise) { eventPromise.parent = _status.event; _status.event = eventPromise; diff --git a/noname/util/index.js b/noname/util/index.js index a2c229acc..8d351134f 100644 --- a/noname/util/index.js +++ b/noname/util/index.js @@ -11,3 +11,12 @@ export class Uninstantable { throw new TypeError(`${new.target.name} is not a constructor`); } } + +/** + * + * @param {number} ms + * @returns {Promise} + */ +export function delay(ms) { + return new Promise((resolve) => setTimeout(resolve, ms)); +} From 01c23586cf8f2f57e64a21bfb0a4bdf4ac7f1182 Mon Sep 17 00:00:00 2001 From: Rintim Date: Mon, 25 Dec 2023 21:05:19 +0800 Subject: [PATCH 066/234] pref: change init logic. --- game/game.js | 53 ++++++++++++++++++++++++-------------------- noname/init/index.js | 26 +++++++++++++--------- noname/init/node.js | 12 ++++++++-- 3 files changed, 54 insertions(+), 37 deletions(-) diff --git a/game/game.js b/game/game.js index d0f6d0515..6852cca3c 100644 --- a/game/game.js +++ b/game/game.js @@ -11,36 +11,41 @@ new Promise(resolve => { } }).then(() => { const userAgent = navigator.userAgent.toLowerCase(); + + const exit = () => { + const ios = userAgent.includes('iphone') || userAgent.includes('ipad') || userAgent.includes('macintosh'); + //electron + if (typeof window.process == 'object' && typeof window.require == 'function') { + const versions = window.process.versions; + // @ts-ignore + const electronVersion = parseFloat(versions.electron); + let remote; + if (electronVersion >= 14) { + // @ts-ignore + remote = require('@electron/remote'); + } else { + // @ts-ignore + remote = require('electron').remote; + } + const thisWindow = remote.getCurrentWindow(); + thisWindow.destroy(); + window.process.exit(); + } + //android-cordova环境 + //ios-cordova环境或ios浏览器环境 + //非ios的网页版 + else if (!ios) { + window.close(); + } + }; + if (!localStorage.getItem('gplv3_noname_alerted')) { if (confirm('①无名杀是一款基于GPLv3协议的开源软件!\n你可以在遵守GPLv3协议的基础上任意使用,修改并转发《无名杀》,以及所有基于《无名杀》开发的拓展。\n点击“确定”即代表您认可并接受GPLv3协议↓️\nhttps://www.gnu.org/licenses/gpl-3.0.html\n②无名杀官方发布地址仅有GitHub仓库!\n其他所有的所谓“无名杀”社群(包括但不限于绝大多数“官方”QQ群、QQ频道等)均为玩家自发组织,与无名杀官方无关!')) { // @ts-ignore localStorage.setItem('gplv3_noname_alerted', true); } else { - const ios = userAgent.includes('iphone') || userAgent.includes('ipad') || userAgent.includes('macintosh'); - //electron - if (typeof window.process == 'object' && typeof window.require == 'function') { - const versions = window.process.versions; - // @ts-ignore - const electronVersion = parseFloat(versions.electron); - let remote; - if (electronVersion >= 14) { - // @ts-ignore - remote = require('@electron/remote'); - } else { - // @ts-ignore - remote = require('electron').remote; - } - const thisWindow = remote.getCurrentWindow(); - thisWindow.destroy(); - window.process.exit(); - } - //android-cordova环境 - //ios-cordova环境或ios浏览器环境 - //非ios的网页版 - else if (!ios) { - window.close(); - } + exit(); } } window['b' + 'ann' + 'e' + 'dE' + 'x' + 'ten' + 's' + 'i' + 'o' + 'ns'] = ['\u4fa0\u4e49', '\u5168\u6559\u7a0b']; diff --git a/noname/init/index.js b/noname/init/index.js index f5049f3b8..95f1017dc 100644 --- a/noname/init/index.js +++ b/noname/init/index.js @@ -83,11 +83,12 @@ export async function boot() { } // 在dom加载完后执行相应的操作 - if (document.readyState !== 'complete') { - window.onload = onWindowReady; - } else { - onWindowReady.call(window); - } + const waitDomLoad = new Promise((resolve) => { + if (document.readyState !== 'complete') { + window.onload = resolve; + } else resolve(void 0) + }).then(onWindowReady.bind(window)); + // 闭源客户端检测并提醒 if (lib.assetURL.includes('com.widget.noname.qingyao') || lib.assetURL.includes('online.nonamekill.android')) { @@ -555,11 +556,8 @@ export async function boot() { delete _status.importing; } - if (_status.windowLoaded) { - delete _status.windowLoaded; - lib.init.onload(); - } - else _status.packLoaded = true; + await waitDomLoad; + lib.init.onload(); } /** @@ -744,16 +742,21 @@ async function loadCss() { }); } -function onWindowReady() { +async function onWindowReady() { if (Reflect.has(lib, 'device')) { var script = document.createElement('script'); script.src = 'cordova.js'; document.body.appendChild(script); + // @ts-ignore + const { promise, resolve } = Promise.withResolvers(); document.addEventListener('deviceready', async () => { const { cordovaReady } = await import('./cordova.js'); await cordovaReady(); + resolve() }); + await promise; } + /* if (_status.packLoaded) { delete _status.packLoaded; lib.init.onload(); @@ -761,6 +764,7 @@ function onWindowReady() { else { _status.windowLoaded = true; } + */ } function setBackground() { diff --git a/noname/init/node.js b/noname/init/node.js index 58e32ad1f..f365661c6 100644 --- a/noname/init/node.js +++ b/noname/init/node.js @@ -9,8 +9,16 @@ export function nodeReady() { lib.node = { fs: require('fs'), path: require("path"), - debug: function () { - require('electron').remote.getCurrentWindow().toggleDevTools(); + debug() { + let remote; + if (electronVersion >= 14) { + // @ts-ignore + remote = require('@electron/remote'); + } else { + // @ts-ignore + remote = require('electron').remote; + } + remote.getCurrentWindow().toggleDevTools(); } }; lib.path = lib.node.path; From 24c428a432ad8fa2915c55a6268d55ed7cf9ea56 Mon Sep 17 00:00:00 2001 From: Ansolve Date: Mon, 25 Dec 2023 21:30:26 +0800 Subject: [PATCH 067/234] pref: divide player. --- noname/library/element/player.js | 9502 ++++++++++++++++++++++++++++++ noname/library/index.js | 9497 +---------------------------- 2 files changed, 9504 insertions(+), 9495 deletions(-) create mode 100644 noname/library/element/player.js diff --git a/noname/library/element/player.js b/noname/library/element/player.js new file mode 100644 index 000000000..346dbdced --- /dev/null +++ b/noname/library/element/player.js @@ -0,0 +1,9502 @@ +import { AI as ai } from '../../ai/index.js'; +import { Get as get } from '../../get/index.js'; +import { Game as game } from '../../game/index.js'; +import { Library as lib } from "../index.js"; +import { status as _status } from '../../status/index.js'; +import { UI as ui } from '../../ui/index.js'; + +export default class extends HTMLDivElement { + /** + * @param {HTMLDivElement} [position] + * @param {true} [noclick] + */ + constructor(position, noclick) { + /** + * @type {Player} + */ + const player = ui.create.div('.player', position); + Object.setPrototypeOf(player, lib.element.Player.prototype); + player.build(noclick); + return player; + } + build(noclick) { + let player = this; + player.buildNode(); + player.buildProperty(); + player.buildExtra(); + player.buildEventListener(noclick); + } + buildNode() { + let player = this; + const node = player.node = { + avatar: ui.create.div('.avatar', player, ui.click.avatar).hide(), + avatar2: ui.create.div('.avatar2', player, ui.click.avatar2).hide(), + turnedover: ui.create.div('.turned', '
    翻面
    ', player), + framebg: ui.create.div('.framebg', player), + intro: ui.create.div('.intro', player), + identity: ui.create.div('.identity', player), + hp: ui.create.div('.hp', player), + name: ui.create.div('.name', player), + name2: ui.create.div('.name.name2', player), + nameol: ui.create.div('.nameol', player), + count: ui.create.div('.count', player).hide(), + equips: ui.create.div('.equips', player).hide(), + judges: ui.create.div('.judges', player), + marks: ui.create.div('.marks', player), + chain: ui.create.div('.chain', '
    ', player), + handcards1: ui.create.div('.handcards'), + handcards2: ui.create.div('.handcards'), + expansions: ui.create.div('.expansions') + }; + node.expansions.style.display = 'none'; + const chainLength = game.layout == 'default' ? 64 : 40; + for (let repetition = 0; repetition < chainLength; repetition++) { + ui.create.div(node.chain.firstChild, '.cardbg').style.transform = `translateX(${repetition * 5 - 5}px)`; + } + node.action = ui.create.div('.action', node.avatar); + } + buildExtra() { + let player = this; + let node = player.node; + node.link = player.mark(' ', { + mark: get.linkintro + }); + node.link.firstChild.setBackgroundImage('image/card/tiesuo_mark.png'); + node.link.firstChild.style.backgroundSize = 'cover'; + ui.create.div(node.identity); + } + buildProperty() { + let player = this; + player.phaseNumber = 0; + player.skipList = []; + player.skills = []; + player.invisibleSkills = []; + player.initedSkills = []; + player.additionalSkills = {}; + player.disabledSkills = {}; + player.hiddenSkills = []; + player.awakenedSkills = []; + player.forbiddenSkills = {}; + player.popups = []; + player.damagepopups = []; + player.judging = []; + player.stat = [{ + card: {}, + skill: {} + }]; + player.actionHistory = [{ + useCard: [], + respond: [], + skipped: [], + lose: [], + gain: [], + sourceDamage: [], + damage: [], + custom: [], + useSkill: [] + }]; + player.tempSkills = {}; + player.storage = {}; + player.marks = {}; + player.expandedSlots = {}; + player.disabledSlots = {}; + player.ai = { + friend: [], + enemy: [], + neutral: [], + handcards: { + global: [], + source: [], + viewed: [] + } + }; + player.queueCount = 0; + player.outCount = 0; + } + buildEventListener(noclick) { + let player = this; + let node = player.node; + if (noclick) player.noclick = true; + else { + player.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.target); + node.identity.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.identity); + if (lib.config.touchscreen) player.addEventListener('touchstart', ui.click.playertouchstart); + } + } + //新函数 + changeFury(amount, limit) { + if (typeof this.storage.stratagem_fury != 'number') this.storage.stratagem_fury = 0; + if (!amount) return; + const furyBefore = this.storage.stratagem_fury; + if (limit === true && typeof _status.stratagemFuryMax == 'number') this.storage.stratagem_fury = Math.min(Math.max(furyBefore + amount, 0), _status.stratagemFuryMax); + else this.storage.stratagem_fury = Math.max(furyBefore + amount, 0); + const difference = this.storage.stratagem_fury - furyBefore; + if (!difference) return; + game.log(this, difference > 0 ? '获得了' : '失去了', get.cnNumber(Math.abs(difference)), '点', '#r怒气'); + this.markSkill('stratagem_fury'); + } + /** + * version 1.7 + * + * 链式创建一次性技能的api。 + * + * 使用者只需要关注技能的效果,而不是技能的本身。 + * + * v1.7 可传递作用域 + * @example + * ```js + * (function () { + * let _var = 1; + * let me = player; + * player.when('drawAfter') + * .apply(code => eval(code)) + * .then(() => console.log(_var)) + * .then('me.gainMaxHp(5)'); + * })(); + * ``` + */ + when() { + if (!_status.postReconnect.player_when) _status.postReconnect.player_when = [ + function (map) { + "use strict"; + for (let i in map) { + lib.skill[i] = { + charlotte: true, + forced: true, + popup: false, + }; + if (typeof map[i] == 'string') lib.translate[i] = map[i]; + } + }, {} + ]; + let triggerNames = Array.from(arguments); + let trigger; + if (triggerNames.length == 0) throw 'player.when的参数数量应大于0'; + //add other triggerNames + //arguments.length = 1 + if (triggerNames.length == 1) { + //以下两种情况: + //triggerNames = [ ['xxAfter', ...args] ] + //triggerNames = [ 'xxAfter' ] + if (Array.isArray(triggerNames[0]) || typeof triggerNames[0] == 'string') trigger = { player: triggerNames[0] }; + //triggerNames = [ {player:'xxx'} ] + else if (get.is.object(triggerNames[0])) trigger = triggerNames[0]; + } + //arguments.length > 1 + else { + //triggerNames = [ 'xxAfter', 'yyBegin' ] + if (triggerNames.every(t => typeof t == 'string')) trigger = { player: triggerNames }; + //triggerNames = [ {player: 'xxAfter'}, {global: 'yyBegin'} ] + //此处不做特殊的合并处理,由使用者自行把握,同名属性后者覆盖前者 + else if (triggerNames.every(t => get.is.object(t))) trigger = triggerNames.reduce((pre, cur) => Object.assign(pre, cur)); + } + if (!trigger) throw 'player.when传参数类型错误:' + triggerNames; + let skillName; + do { + skillName = 'player_when_' + Math.random().toString(36).slice(-8); + } while (lib.skill[skillName] != null); + const after = `${skillName}After`; + if (!trigger.player) trigger.player = after; + else if (Array.isArray(trigger.player)) trigger.player.add(after); + else if (typeof trigger.player == 'string') trigger.player = [trigger.player, after]; + const vars = {}; + /** + * 作用域 + * @type { (code: string) => any } + */ + let scope; + let skill = { + trigger: trigger, + forced: true, + charlotte: true, + popup: false, + //必要条件 + filterFuns: [], + //充分条件 + filter2Funs: [], + contentFuns: [], + //外部变量 + get vars() { + return vars; + }, + get filter() { + return (event, player, name) => { + if (name == `${skillName}After`) { + skill.popup = false; + return true; + } + return skill.filterFuns.every(fun => Boolean(fun(event, player, name))) && + skill.filter2(event, player, name); + }; + }, + get filter2() { + return (event, player, name) => { + return skill.filter2Funs.length == 0 || + skill.filter2Funs.some(fun => Boolean(fun(event, player, name))); + }; + } + }; + const warnVars = ['event', 'step', 'source', 'player', 'target', 'targets', + 'card', 'cards', 'skill', 'forced', 'num', 'trigger', 'result']; + const errVars = ['_status', 'lib', 'game', 'ui', 'get', 'ai']; + const createContent = () => { + let varstr = ''; + for (const key in vars) { + if (warnVars.includes(key)) console.warn(`Variable '${key}' should not be referenced by vars objects`); + if (errVars.includes(key)) throw new Error(`Variable '${key}' should not be referenced by vars objects`); + varstr += `var ${key}=lib.skill['${skillName}'].vars['${key}'];\n`; + } + let str = ` + function content(){ + ${varstr}if(event.triggername=='${skillName}After'){ + player.removeSkill('${skillName}'); + delete lib.skill['${skillName}']; + delete lib.translate['${skillName}']; + return event.finish(); + } + `; + for (let i = 0; i < skill.contentFuns.length; i++) { + const fun2 = skill.contentFuns[i]; + const a = fun2.toString(); + //防止传入()=>xxx的情况 + const begin = a.indexOf("{") == a.indexOf("}") && a.indexOf("{") == -1 && a.indexOf("=>") > -1 ? a.indexOf("=>") + 2 : a.indexOf("{") + 1; + const str2 = a.slice(begin, a.lastIndexOf("}") != -1 ? a.lastIndexOf("}") : undefined).trim(); + str += `'step ${i}'\n\t${str2}\n\t`; + } + skill.content = lib.init.parsex((scope || eval)(str + `\n};content;`), scope); + skill.content._parsed = true; + }; + Object.defineProperty(lib.skill, skillName, { + configurable: true, + //这类技能不需要被遍历到 + enumerable: false, + writable: true, + value: skill + }); + game.broadcast(function (skillName) { + Object.defineProperty(lib.skill, skillName, { + configurable: true, + enumerable: false, + writable: true, + value: { + forced: true, + charlotte: true, + popup: false, + vars: {}, + } + }); + }, skillName); + this.addSkill(skillName); + _status.postReconnect.player_when[1][skillName] = true; + return { + filter(fun) { + if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; + skill.filterFuns.push(fun); + return this; + }, + removeFilter(fun) { + if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; + skill.filterFuns.remove(fun); + return this; + }, + filter2(fun) { + if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; + skill.filter2Funs.push(fun); + return this; + }, + removeFilter2(fun) { + if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; + skill.filter2Funs.remove(fun); + return this; + }, + then(fun) { + if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; + skill.contentFuns.push(fun); + createContent(); + return this; + }, + popup(str) { + if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; + if (typeof str == 'string') skill.popup = str; + return this; + }, + translation(translation) { + if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; + if (typeof translation == 'string') { + _status.postReconnect.player_when[1][skillName] = translation; + game.broadcastAll((skillName, translation) => lib.translate[skillName] = translation, skillName, translation); + } + return this; + }, + assign(obj) { + if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; + if (typeof obj == 'object' && obj !== null) Object.assign(skill, obj); + return this; + }, + vars(arg) { + if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; + if (!get.is.object(arg)) throw 'vars的第一个参数必须为对象'; + Object.assign(vars, arg); + createContent(); + return this; + }, + /** + * 传递外部作用域 + * + * 一般是传递一个 code=>eval(code) 函数 + * + * 传递后可在then中使用外部变量(vars的上位替代) + * + * @param {Function} _scope + */ + apply(_scope) { + if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; + scope = _scope; + if (skill.contentFuns.length > 0) createContent(); + return this; + } + }; + } + //让一名角色明置一些手牌 + addShownCards() { + const cards = [], tags = []; + for (const argument of arguments) { + const type = get.itemtype(argument); + if (type == 'cards') cards.addArray(argument); + else if (type == 'card') cards.add(argument); + else if (typeof argument == 'string' && argument.startsWith('visible_')) tags.add(argument); + } + if (!cards.length || !tags.length) return; + const next = game.createEvent('addShownCards', false); + next.player = this; + next._cards = cards; + next.gaintag = tags; + next.setContent('addShownCards'); + return next; + } + hideShownCards() { + const cards = [], tags = []; + for (const argument of arguments) { + const type = get.itemtype(argument); + if (type == 'cards') cards.addArray(argument); + else if (type == 'card') cards.add(argument); + else if (typeof argument == 'string' && argument.startsWith('visible_')) tags.add(argument); + } + if (!cards.length) return; + const next = game.createEvent('hideShownCards', false); + next.player = this; + next._cards = cards; + next.gaintag = tags; + next.setContent('hideShownCards'); + return next; + } + //获取角色所有的明置手牌 + getShownCards() { + return this.getCards('h', function (card) { + return get.is.shownCard(card); + }); + } + //获取该角色被other所知的牌。 + getKnownCards(other, filter) { + if (!other) other = _status.event.player; + if (!other) other = this; + if (!filter) filter = (card) => { return true; }; + return this.getCards('h', function (card) { + return card.isKnownBy(other) && filter(card); + }); + } + //判断此角色的手牌是否已经被看光了。 + isAllCardsKnown(other) { + if (!other) other = _status.event.player; + if (!other) other = this; + return this.countCards('h', function (card) { + return !card.isKnownBy(other); + }) == 0; + } + //判断此角色是否有被知的牌。 + hasKnownCards(other, filter) { + if (!other) other = _status.event.player; + if (!other) other = this; + if (!filter) filter = (card) => { return true; }; + return this.countCards('h', function (card) { + return card.isKnownBy(other) && filter(card); + }) > 0; + } + //数此角色被知道的牌。 + countKnownCards(other, filter) { + return this.getKnownCards(other, filter).length; + } + //Execute the delay card effect + //执行延时锦囊牌效果 + executeDelayCardEffect(card, target, judge, judge2) { + const executeDelayCardEffect = game.createEvent('executeDelayCardEffect'); + executeDelayCardEffect.player = this; + executeDelayCardEffect.target = target || this; + if (typeof card == 'string') { + const virtualCard = executeDelayCardEffect.card = ui.create.card(); + virtualCard._destroy = true; + virtualCard.expired = true; + const info = lib.card[card]; + virtualCard.init(['', '', card, info && info.cardnature]); + } + else if (get.itemtype(card) == 'card') executeDelayCardEffect.card = card; + else _status.event.next.remove(executeDelayCardEffect); + executeDelayCardEffect.judge = judge; + executeDelayCardEffect.judge2 = judge2; + executeDelayCardEffect.setContent('executeDelayCardEffect'); + executeDelayCardEffect._args = Array.from(arguments); + return executeDelayCardEffect; + } + //Check if the card does not count toward hand limit + //检测此牌是否不计入手牌上限 + canIgnoreHandcard(card) { + return lib.filter.ignoredHandcard(card, this); + } + //Gift + //赠予 + gift(cards, target) { + const gift = game.createEvent('gift'); + gift.player = this; + gift.target = target; + const isArray = Array.isArray(cards); + if (cards && !isArray) gift.cards = [cards]; + else if (isArray && cards.length) gift.cards = cards; + else _status.event.next.remove(gift); + gift.deniedGifts = []; + gift.setContent('gift'); + gift._args = Array.from(arguments); + return gift; + } + //Check if the player can gift the card + //检测角色是否能赠予此牌 + canGift(card, target, strict) { + return lib.filter.cardGiftable(card, this, target, strict); + } + //Check if the player refuses gifts + //检测角色是否拒绝赠予 + refuseGifts(card, player) { + return this.hasSkillTag('refuseGifts', null, { + player: player, + card: card + }); + } + //Gift AI related + //赠予AI相关 + getGiftAIResultTarget(card, target) { + if (!card || target.refuseGifts(card, this)) return 0; + if (get.type(card, false) == 'equip') return get.effect(target, card, target, target); + if (card.name == 'du') return this.hp > target.hp ? -1 : 0; + if (target.hasSkillTag('nogain')) return 0; + return Math.max(1, get.value(card, this) - get.value(card, target)); + } + getGiftEffect(card, target) { + return this.getGiftAIResultTarget(card, target) * get.attitude(this, target); + } + //Recast + //重铸 + recast(cards, recastingLose, recastingGain) { + const recast = game.createEvent('recast'); + recast.player = this; + const isArray = Array.isArray(cards); + if (cards && !isArray) recast.cards = [cards]; + else if (isArray && cards.length) recast.cards = cards; + else _status.event.next.remove(recast); + if (typeof recastingLose != 'function') recastingLose = (player, cards) => player.loseToDiscardpile(cards).log = false; + recast.recastingLose = recastingLose; + recast.recastingLosingEvents = []; + if (typeof recastingGain != 'function') recastingGain = (player, cards) => player.draw(cards.length).log = false; + recast.recastingGain = recastingGain; + recast.recastingGainingEvents = []; + recast.setContent('recast'); + recast._args = Array.from(arguments); + return recast; + } + //Check if the player can recast the card + //检测角色是否能重铸此牌 + canRecast(card, source, strict) { + return lib.filter.cardRecastable(card, this, source, strict); + } + //装备栏相关 + //判断一名角色的某个区域是否被废除 + //type为要判断的区域 若为空 则判断玩家是否有任意一个被废除的区域 + hasDisabledSlot(type) { + var player = this; + if (type == 'horse' || type == 'equip3_4') { + return player.hasDisabledSlot(3) && (get.is.mountCombined() || player.hasDisabledSlot(4)); + } + else if (get.is.mountCombined() && type == 'equip4') { + return false; + } + return player.countDisabledSlot(type) > 0; + } + //判断一名角色的某个区域被废除的数量 + //用法同上 + countDisabledSlot(type) { + var player = this; + var map = (player.disabledSlots || {}); + if (type == undefined) { + num = 0; + for (var i = 1; i <= 5; i++) { + num += player.countDisabledSlot(i); + } + return num; + } + else { + if (typeof type == 'number') type = ('equip' + type); + if (get.is.mountCombined() && type == 'equip4') { + return 0; + } + var num = map[type]; + if (typeof num == 'number' && num > 0) return num; + return 0; + } + } + //判断一名角色是否有某个装备栏空着 + hasEmptySlot(type) { + var player = this; + if (type == 'horse' || type == 'equip3_4') { + return player.hasEmptySlot(3) && (get.is.mountCombined() || player.hasEmptySlot(4)); + } + else if (get.is.mountCombined() && type == 'equip4') { + return false; + } + return player.countEmptySlot(type) > 0; + } + //判断一名角色的某个装备栏空位的数量 + countEmptySlot(type) { + if (!type) return 0; + var player = this; + if (typeof type == 'number') type = ('equip' + type); + else if (type == 'equip3_4') { + type = 'equip3'; + } + return Math.max(0, player.countEnabledSlot(type) - player.getEquips(type).reduce(function (num, card) { + var types = get.subtypes(card, false); + return num + get.numOf(types, type); + }, 0)); + } + //判断一名角色是否有可以用于装备新装备牌的区域(排除金箍棒和六龙等“不可被替换装备”) + //用法同下 + hasEquipableSlot(type) { + return this.countEquipableSlot(type) > 0; + } + //统计一名角色有多少个可以用于装备新的装备牌的区域 + //用法同下 + countEquipableSlot(type) { + if (!type) return 0; + var player = this; + if (typeof type == 'number') type = ('equip' + type); + else if (type == 'equip3_4') { + type = 'equip3'; + } + else if (get.is.mountCombined() && type == 'equip4') { + return 0; + } + return Math.max(0, player.countEnabledSlot(type) - player.getEquips(type).reduce(function (num, card) { + var types = get.subtypes(card, false); + if (!lib.filter.canBeReplaced(card, player)) num += get.numOf(types, type); + return num; + }, 0)); + } + //判断一名角色是否拥有未被废除的某个区域 + //type为要判断的区域 若为空 则判断玩家是否有任意一个未被废除的区域 + hasEnabledSlot(type) { + var player = this; + if (type == 'horse' || type == 'equip3_4') { + return player.hasEnabledSlot(3) && (get.is.mountCombined() || player.hasEnabledSlot(4)); + } + // else if(type=='equip3_4'){ + // type='equip3'; + // } + else if (get.is.mountCombined() && type == 'equip4') { + return false; + } + return player.countEnabledSlot(type) > 0; + } + //判断一名角色的某个区域未被废除的数量 + //用法同上 + countEnabledSlot(type) { + var player = this; + var map = (player.expandedSlots || {}); + if (!type) { + num = 0; + for (var i = 1; i <= 5; i++) { + num += player.countEnabledSlot(i); + } + return num; + } + else { + if (typeof type == 'number') type = ('equip' + type); + if (get.is.mountCombined() && type == 'equip4') { + return 0; + } + var slots = 1; + var num = map[type]; + if (typeof num == 'number' && num > 0) slots += num; + slots -= player.countDisabledSlot(type); + return slots; + } + } + //获取一名角色装备区内某种类型的装备牌 + //参数可以为数字/区域字符串/实体牌/虚拟牌/牌名 + getEquips(subtype) { + var type = (typeof subtype); + switch (type) { + case 'string': + if (subtype == 'equip3_4') { + const cards = []; + cards.addArray(this.getEquips(3)); + cards.addArray(this.getEquips(4)); + return cards; + } + else if (subtype.startsWith('equip') && parseInt(subtype.slice(5)) > 0) { + break; + } + else if (lib.card[subtype]) { + return this.getCards('e', card => card.name == subtype); + } + else return []; + case 'number': + subtype = 'equip' + subtype; + break; + case 'object': + subtype = get.subtype(subtype, false); + break; + default: + return []; + } + if (!subtype) return []; + return this.getCards('e', function (card) { + return get.subtypes(card, false).contains(subtype); + }); + } + //新的废除装备区/恢复装备区/扩展装备区 + //参数:废除来源角色(不写默认当前事件角色),废除区域(数字/区域字符串/数组,可以写多个,重复废除) + disableEquip() { + var next = game.createEvent('disableEquip'); + next.player = this; + next.slots = []; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'player') { + next.source = arguments[i]; + } + else if (Array.isArray(arguments[i])) { + for (var arg of arguments[i]) { + if (typeof arg == 'string') { + if (arg.startsWith('equip') && parseInt(arg.slice(5)) > 0) next.slots.push(arg); + } + else if (typeof arg == 'number') { + next.slots.push('equip' + arg); + } + } + } + else if (typeof arguments[i] == 'string') { + if (arguments[i].startsWith('equip') && parseInt(arguments[i].slice(5)) > 0) next.slots.push(arguments[i]); + } + else if (typeof arguments[i] == 'number') { + next.slots.push('equip' + arguments[i]); + } + } + if (!next.source) next.source = _status.event.player; + if (!next.slots.length) { + _status.event.next.remove(next); + } + next.setContent('disableEquip'); + return next; + } + enableEquip() { + var next = game.createEvent('enableEquip'); + next.player = this; + next.slots = []; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'player') { + next.source = arguments[i]; + } + else if (Array.isArray(arguments[i])) { + for (var arg of arguments[i]) { + if (typeof arg == 'string') { + if (arg.startsWith('equip') && parseInt(arg.slice(5)) > 0) next.slots.push(arg); + } + else if (typeof arg == 'number') { + next.slots.push('equip' + arg); + } + } + } + else if (typeof arguments[i] == 'string') { + if (arguments[i].startsWith('equip') && parseInt(arguments[i].slice(5)) > 0) next.slots.push(arguments[i]); + } + else if (typeof arguments[i] == 'number') { + next.slots.push('equip' + arguments[i]); + } + } + if (!next.source) next.source = _status.event.player; + if (!next.slots.length) { + _status.event.next.remove(next); + } + next.setContent('enableEquip'); + return next; + } + expandEquip() { + var next = game.createEvent('expandEquip'); + next.player = this; + next.slots = []; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'player') { + next.source = arguments[i]; + } + else if (Array.isArray(arguments[i])) { + for (var arg of arguments[i]) { + if (typeof arg == 'string') { + if (arg.startsWith('equip') && parseInt(arg.slice(5)) > 0) next.slots.push(arg); + } + else if (typeof arg == 'number') { + next.slots.push('equip' + arg); + } + } + } + else if (typeof arguments[i] == 'string') { + if (arguments[i].startsWith('equip') && parseInt(arguments[i].slice(5)) > 0) next.slots.push(arguments[i]); + } + else if (typeof arguments[i] == 'number') { + next.slots.push('equip' + arguments[i]); + } + } + if (!next.source) next.source = _status.event.player; + if (!next.slots.length) { + _status.event.next.remove(next); + } + next.setContent('expandEquip'); + return next; + } + //判断判定区是否被废除 + isDisabledJudge() { + return Boolean(this.storage._disableJudge); + } + //同步显示扩展装备区状态 + $syncExpand(map) { + var player = this; + if (!map) { + map = (player.expandedSlots || {}); + } + game.addVideo('$syncExpand', player, get.copy(map)); + game.broadcast(function (player, map) { + player.expandedSlots = map; + player.$syncExpand(map); + }, player, map); + player.markSkill('expandedSlots'); + } + //同步装备区废除牌显示状态 + $syncDisable(map) { + const player = this; + const suits = { equip3: '+1马栏', equip4: '-1马栏', equip6: '特殊栏' }; + if (get.is.mountCombined()) suits.equip3 = '坐骑栏'; + if (!map) { + map = (player.disabledSlots || {}); + } + game.addVideo('$syncDisable', player, get.copy(map)); + game.broadcast(function (player, map) { + player.disabledSlots = map; + player.$syncDisable(map); + }, player, map); + const map2 = get.copy(map); + const cards = Array.from(player.node.equips.childNodes); + for (const card of cards) { + if (card.name.startsWith('feichu_')) { + const index = card.name.slice(7); + if (!map2[index]) map2[index] = 0; + map2[index]--; + } + } + for (const index in map2) { + if (!index.startsWith('equip') || !(parseInt(index.slice(5)) > 0)) continue; + const num = map2[index]; + if (num > 0) { + for (let i = 0; i < num; i++) { + const card = game.createCard('feichu_' + index, (suits[index] || (get.translation(index) + '栏')), ''); + card.fix(); + card.style.transform = ''; + card.classList.remove('drawinghidden'); + card.classList.add('feichu'); + delete card._transform; + const equipNum = get.equipNum(card); + let equipped = false; + for (let j = 0; j < player.node.equips.childNodes.length; j++) { + if (get.equipNum(player.node.equips.childNodes[j]) >= equipNum) { + player.node.equips.insertBefore(card, player.node.equips.childNodes[j]); + equipped = true; + break; + } + } + if (!equipped) { + player.node.equips.appendChild(card); + if (_status.discarded) { + _status.discarded.remove(card); + } + } + } + } + else if (num < 0) { + for (let i = 0; i > num; i--) { + const card = cards.find(card => card.name == 'feichu_' + index); + if (card) { + player.node.equips.removeChild(card); + cards.remove(card); + } + } + } + } + } + //以下函数涉及到本次更新内容而进行修改 + canEquip(name, replace) { + const ranges = get.subtypes(name), rangex = [], player = this, combined = get.is.mountCombined(); + if (combined) { + ranges.forEach(type => { + if (type == 'equip3' || type == 'equip4') rangex.add('equip3_4'); + else rangex.add(type); + }); + } + else { + rangex.push(...new Set(ranges)); + } + for (let range of rangex) { + let num = this.countEquipableSlot(range); + let num2 = get.numOf(rangex, range); + if (!replace) num -= this.getEquips(range).filter(card => lib.filter.canBeReplaced(card, player)).length; + if (num < num2) return false; + } + return true; + } + //以下函数将不再进行后续维护 + countDisabled() { + return this.countDisabledSlot.apply(this, arguments); + } + isDisabled(arg) { + return this.hasDisabledSlot(arg) && !this.hasEnabledSlot(arg); + } + isEmpty(num) { + return this.countEnabledSlot(num) > this.getEquips(num).length; + } + //以下函数将被废弃 + $disableEquip() { } + $enableEquip() { } + //装备区End + chooseToDebate() { + var next = game.createEvent('chooseToDebate'); + next.player = this; + next._args = []; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'players') { + next.list = arguments[i].slice(0); + } + else { + next._args.push(arguments[i]); + } + } + next.setContent('chooseToDebate'); + return next; + } + cooperationWith(target, type, reason) { + var player = this; + if (!player.storage.cooperation) player.storage.cooperation = []; + var info = { + target: target, + type: type, + reason: reason, + }; + player.storage.cooperation.add(info); + player.addTempSkill('cooperation', { player: 'dieAfter' }); + player.addSkill('cooperation_' + type, { player: 'dieAfter' }); + game.log(player, '向', target, '发起了“协力”,合作类型是', '#g' + get.translation('cooperation_' + type)); + } + chooseCooperationFor() { + var next = game.createEvent('chooseCooperationFor'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'player') { + next.target = arguments[i]; + } + else if (Array.isArray(arguments[i])) { + next.cardlist = arguments[i]; + } + else if (typeof arguments[i] == 'string') { + next.reason = arguments[i]; + } + } + if (!next.cardlist) next.cardlist = ['cooperation_damage', 'cooperation_draw', 'cooperation_discard', 'cooperation_use']; + next.setContent('chooseCooperationFor'); + return next; + } + checkCooperationStatus(target, reason) { + var storage = this.getStorage('cooperation'); + for (var info of storage) { + if (info.target == target && info.reason == reason) { + var skill = lib.skill['cooperation_' + info.type]; + if (skill && skill.checkx && skill.checkx(info)) return true; + } + } + return false; + } + removeCooperation(info) { + var player = this; + var storage = player.getStorage('cooperation'); + if (!storage.contains(info)) return; + storage.remove(info); + var unmark = true, reason = info.type; + if (!storage.length) { + player.removeSkill('cooperation'); + } + else { + for (var i of storage) { + if (i.type == reason) { + unmark = false; + break; + } + } + } + if (unmark) player.removeSkill('cooperation_' + reason); + else player.markSkill('cooperation_' + reason); + } + hasClan(clan, unseen) { + if (unseen || !this.isUnseen(0)) { + var info = lib.character[this.name1]; + if (info && info[4]) { + for (var i of info[4]) { + if (typeof i == 'string' && i.startsWith('clan:') && i.slice(5) == clan) return true; + } + } + } + if (this.name2 && (unseen || !this.isUnseen(1))) { + var info = lib.character[this.name2]; + if (info && info[4]) { + for (var i of info[4]) { + if (typeof i == 'string' && i.startsWith('clan:') && i.slice(5) == clan) return true; + } + } + } + return false; + } + changeZhuanhuanji(skill) { + var player = this, info = get.info(skill), zhuanhuan = info.zhuanhuanji; + if (typeof zhuanhuan == 'function') zhuanhuan(player, skill); + else if (zhuanhuan == 'number') player.addMark(skill, 1, false); + else player.storage[skill] = !player.storage[skill]; + game.broadcastAll(function (player, skill) { + player.$changeZhuanhuanji(skill); + }, player, skill); + } + $changeZhuanhuanji(skill) { + var mark = this.marks[skill]; + if (mark) { + if (mark.firstChild.reversed) { + mark.firstChild.reversed = false; + mark.firstChild.style.transform = 'none'; + } + else { + mark.firstChild.reversed = true; + mark.firstChild.style.transform = 'rotate(180deg)'; + } + } + } + setSeatNum(num) { + _status.seatNumSettled = true; + game.broadcastAll(function (player, num) { + player.seatNum = num; + }, this, num); + } + getSeatNum() { + if (typeof this.seatNum == 'number') return this.seatNum; + return 0; + } + hasSex(sex) { + if (this.sex == 'unknown') return false; + if (this.sex == 'double') return true; + return this.sex == sex; + } + sameSexAs(target) { + var sex1 = this.sex, sex2 = target.sex; + if (sex1 == 'unknown' || sex2 == 'unknown') return false; + if (sex1 == 'double' || sex2 == 'double') return true; + return sex1 == sex2; + } + differentSexFrom(target) { + var sex1 = this.sex, sex2 = target.sex; + if (sex1 == 'unknown' || sex2 == 'unknown') return false; + if (sex1 == 'double' || sex2 == 'double') return true; + return sex1 != sex2; + } + addSkillBlocker(skill) { + if (!this.storage.skill_blocker) this.storage.skill_blocker = []; + this.storage.skill_blocker.push(skill); + } + removeSkillBlocker(skill) { + if (this.storage.skill_blocker) { + this.storage.skill_blocker.remove(skill); + if (!this.storage.skill_blocker.length) delete this.storage.skill_blocker; + } + } + loseToSpecial(cards, tag, target) { + var next = game.loseAsync({ + player: this, + cards: cards, + tag: tag, + toStorage: true, + target: target || this, + }); + next.setContent(function () { + "step 0"; + player.lose(cards, ui.special).set('getlx', false); + "step 1"; + var cards = event.cards.slice(0); + cards.removeArray(player.getCards('hejsx')); + if (cards.length) target.directgains(cards, null, event.tag); + }); + return next; + } + addGaintag(cards, tag) { + if (get.itemtype(cards) == 'card') cards = [cards]; + game.addVideo('addGaintag', this, [get.cardsInfo(cards), tag]); + game.broadcastAll(function (player, cards, tag) { + var hs = player.getCards('hejsx'); + for (var i of cards) { + if (hs.contains(i)) i.addGaintag(tag); + } + }, this, cards, tag); + } + removeGaintag(tag, cards) { + cards = cards || this.getCards('h'); + game.addVideo('removeGaintag', this, [tag, get.cardsInfo(cards)]); + game.broadcastAll(function (player, tag, cards) { + for (var i of cards) i.removeGaintag(tag); + }, this, tag, cards); + } + canSave(target) { + var player = this; + if (player.hasSkillTag('save', true, target, true)) return true; + var name = {}, hs = player.getCards('hs'); + for (var i of hs) name[get.name(i)] = true; + for (var i in lib.card) { + if (lib.card[i].savable && (lib.inpile.contains(i) || name[i])) { + if (lib.filter.cardSavable({ name: i }, player, target) && (_status.connectMode || player.hasUsableCard(i))) return true; + } + } + return false; + } + canSaveCard(card, target) { + var player = this; + var mod2 = game.checkMod(card, player, 'unchanged', 'cardEnabled2', player); + if (mod2 != 'unchanged') return mod2; + var mod = game.checkMod(card, player, target, 'unchanged', 'cardSavable', player); + if (mod != 'unchanged') return mod; + var savable = get.info(card).savable; + if (typeof savable == 'function') savable = savable(card, player, target); + return savable; + } + showCharacter(num, log) { + var toShow = []; + if ((num == 0 || num == 2) && this.isUnseen(0)) toShow.add(this.name1); + if ((num == 1 || num == 2) && this.isUnseen(1)) toShow.add(this.name2); + if (!toShow.length) return; + this.$showCharacter(num, log); + var next = game.createEvent('showCharacter', false); + next.player = this; + next.num = num; + next.toShow = toShow; + next._args = Array.from(arguments); + next.setContent('showCharacter'); + var evt = _status.event; + evt.next.remove(next); + if (evt.logSkill) evt = evt.getParent(); + evt.after.push(next); + return next; + } + $showCharacter(num, log) { + if (num == 0 && !this.isUnseen(0)) { + return; + } + if (num == 1 && (!this.name2 || !this.isUnseen(1))) { + return; + } + if (!this.isUnseen(2)) { + return; + } + game.addVideo('showCharacter', this, num); + var skills; + switch (num) { + case 0: + if (log !== false) game.log(this, '展示了主将', '#b' + this.name1); + this.name = this.name1; + skills = lib.character[this.name][3] || []; + this.sex = lib.character[this.name][0]; + if (this.group == 'unknown') this.group = lib.character[this.name][1]; + this.classList.remove('unseen'); + break; + case 1: + if (log !== false) game.log(this, '展示了副将', '#b' + this.name2); + skills = lib.character[this.name2][3] || []; + if (this.sex == 'unknown') this.sex = lib.character[this.name2][0]; + if (this.name.startsWith('unknown')) this.name = this.name2; + this.classList.remove('unseen2'); + break; + case 2: + if (log !== false) { + if (this.name2) game.log(this, '展示了主将', '#b' + this.name1, '、副将', '#b' + this.name2); + else game.log(this, '展示了主将', '#b' + this.name1); + } + this.name = this.name1; + var skills = (lib.character[this.name][3] || []); + if (this.name2) skills = skills.concat(lib.character[this.name2][3] || []); + this.sex = lib.character[this.name][0]; + if (this.group == 'unknown') this.group = lib.character[this.name][1]; + this.classList.remove('unseen'); + this.classList.remove('unseen2'); + break; + } + if (!this.isUnseen(2)) { + delete this.storage.nohp; + this.hp = this.storage.rawHp + this.maxHp - 1; + this.maxHp = this.storage.rawMaxHp + this.maxHp - 1; + this.node.hp.show(); + this.update(); + } + game.broadcast(function (player, name, sex, num, group) { + player.group = group; + player.name = name; + player.sex = sex; + switch (num) { + case 0: player.classList.remove('unseen'); break; + case 1: player.classList.remove('unseen2'); break; + case 2: player.classList.remove('unseen'); player.classList.remove('unseen2'); break; + } + if (!player.isUnseen(2)) { + delete player.storage.nohp; + player.node.hp.show(); + player.update(); + } + }, this, this.name, this.sex, num, this.group); + skills = skills.filter(skill => { + var info = get.info(skill); + if (info && info.zhuSkill && !this.isZhu2()) return false; + return true; + }); + for (var i = 0; i < skills.length; i++) { + if (this.hiddenSkills.contains(skills[i])) { + this.hiddenSkills.remove(skills[i]); + this.addSkill(skills[i]); + } + } + this.checkConflict(); + } + chooseToPlayBeatmap(beatmap) { + var next = game.createEvent('chooseToPlayBeatmap'); + next.player = this; + next.beatmap = beatmap; + next._args = Array.from(arguments); + next.setContent('chooseToPlayBeatmap'); + return next; + } + chooseToMove() { + var next = game.createEvent('chooseToMove'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'boolean') { + next.forced = arguments[i]; + } + else if (typeof arguments[i] == 'string') { + next.prompt = arguments[i]; + } + } + next.setContent('chooseToMove'); + next.filterOk = function () { return true; }; + next.filterMove = function () { return true; }; + return next; + } + chooseToGuanxing(num) { + var next = game.createEvent('chooseToGuanxing'); + next.num = num || 1; + next.player = this; + next.setContent('chooseToGuanxing'); + return next; + } + $throwEmotion(target, name, rotate) { + game.addVideo('throwEmotion', this, [target.dataset.position, name]); + var getLeft = function (player) { + if (player == game.me && !ui.fakeme && !ui.chess) return player.getLeft() + player.node.avatar.offsetWidth / 2; + return player.getLeft() + player.offsetWidth / 2; + }; + var player = this; + var emotion = ui.create.div('', '
    ', game.chess ? ui.chess : ui.window); + emotion.style.width = '60px'; + emotion.style.height = '60px'; + var width = emotion.offsetWidth / 2; + var height = emotion.offsetHeight / 2; + if (game.chess) width += 60; + var left = getLeft(player) - width; + var top = player.getTop() + player.offsetHeight / 3 - height; + emotion.style.left = left + 'px'; + emotion.style.top = top + 'px'; + var left2 = getLeft(target) - width; + var top2 = target.getTop() + target.offsetHeight / 3 - height; + if (['egg', 'flower', 'shoe'].contains(name) || rotate) { + var num1 = 0.95 + Math.random() * (1.1 - 0.95); + var num2 = 1 + Math.random() * (3 - 1); + var left2 = getLeft(target) / num1 - width; + var top2 = target.getTop() + target.offsetHeight / num2 - height; + } + else { + var left2 = getLeft(target) - width; + var top2 = target.getTop() + target.offsetHeight / 3 - height; + } + emotion.style['z-index'] = 10; + emotion.style.transform = 'translateY(' + (top2 - top) + 'px) translateX(' + (left2 - left) + 'px)'; + if (['egg', 'flower', 'shoe'].contains(name) || rotate) emotion.firstElementChild.style.transform = 'rotate(1440deg)'; + if (lib.config.background_audio) game.playAudio('effect', 'throw_' + name + get.rand(1, 2)); + setTimeout(function () { + emotion.innerHTML = ('
    '); + setTimeout(function () { + emotion.delete(); + }, 1200); + }, 600); + } + tryJudgeAnimate(bool) { + var player = this; + game.broadcast(function (player, bool) { + player.trySkillAnimate(bool); + }, player, bool); + if (bool) this.popup('判定生效', 'wood', false); + else this.popup('判定失效', 'fire', false); + } + trySkillAnimate(name, popname, checkShow) { + if (!game.online && lib.config.skill_animation_type != 'off' && lib.skill[name] && lib.skill[name].skillAnimation) { + if (lib.config.skill_animation_type == 'default') { + checkShow = checkShow || 'main'; + } + else { + checkShow = false; + } + if (lib.skill[name].textAnimation) { + checkShow = false; + } + this.$skill(lib.skill[name].animationStr || lib.translate[name], lib.skill[name].skillAnimation, lib.skill[name].animationColor, checkShow); + return; + } + var player = this; + game.broadcast(function (player, name, popname) { + player.trySkillAnimate(name, popname); + }, player, name, popname); + if (lib.animate.skill[name]) lib.animate.skill[name].apply(this, arguments); + else { + if (popname != name) this.popup(popname, 'water', false); + else this.popup(get.skillTranslation(name, this), 'water', false); + } + } + tryCardAnimate(card, name, nature, popname) { + var player = this; + game.broadcast(function (player, card, name, nature, popname) { + player.tryCardAnimate(card, name, nature, popname); + }, player, card, name, nature, popname); + if (lib.animate.card[card.name]) lib.animate.card[card.name].apply(this, arguments); + else { + if (!lib.config.show_card_prompt) return; + if (get.type(card) == 'equip' && lib.config.hide_card_prompt_equip) return; + if (get.type(card) == 'basic' && lib.config.hide_card_prompt_basic) return; + if (popname) player.popup({ name: card.name, nature: card.nature }, nature, false); + else player.popup(name, nature, false); + } + } + hasUsableCard(name) { + var player = this; + if (player.countCards('hs', name)) return true; + var skills = player.getSkills('invisible').concat(lib.skill.global); + game.expandSkills(skills); + for (var i = 0; i < skills.length; i++) { + var ifo = get.info(skills[i]); + if (ifo.viewAs && typeof ifo.viewAs != 'function' && ifo.viewAs.name == name) { + if (!ifo.viewAsFilter || ifo.viewAsFilter(player) !== false) { + return true; + } + } + else { + var hiddenCard = get.info(skills[i]).hiddenCard; + if (typeof hiddenCard == 'function' && hiddenCard(player, name)) { + return true; + } + } + } + } + inRange(to) { + var from = this; + if (from == to || from.hasSkill('undist') || to.hasSkill('undist')) return false; + if (!game.players.contains(from) && !game.dead.contains(from)) return false; + if (!game.players.contains(to) && !game.dead.contains(to)) return false; + var mod1 = game.checkMod(from, to, 'unchanged', 'inRange', from); + if (mod1 != 'unchanged') return mod1; + var mod2 = game.checkMod(from, to, 'unchanged', 'inRangeOf', to); + if (mod2 != 'unchanged') return mod2; + var range = from.getAttackRange(); + if (range < 1) return false; + var player = from, m, n = 1, i; + var fxy, txy; + if (game.chess) { + fxy = from.getXY(); + txy = to.getXY(); + n = Math.abs(fxy[0] - txy[0]) + Math.abs(fxy[1] - txy[1]); + } + else if (to.isMin(true) || from.isMin(true)) {/* empty */ } + else { + var length = game.players.length; + var totalPopulation = game.players.length + game.dead.length + 1; + for (var iwhile = 0; iwhile < totalPopulation; iwhile++) { + if (player.nextSeat != to) { + player = player.nextSeat; + if (player.isAlive() && !player.isOut() && !player.hasSkill('undist') && !player.isMin(true)) n++; + } + else { + break; + } + } + for (i = 0; i < game.players.length; i++) { + if (game.players[i].isOut() || game.players[i].hasSkill('undist') || game.players[i].isMin(true)) length--; + } + if (from.isDead()) length++; + if (to.isDead()) length++; + var left = from.hasSkillTag('left_hand'); + var right = from.hasSkillTag('right_hand'); + if (left === right) n = Math.min(n, length - n); + else if (left == true) n = length - n; + } + n = game.checkMod(from, to, n, 'globalFrom', from); + n = game.checkMod(from, to, n, 'globalTo', to); + m = n; + m = game.checkMod(from, to, m, 'attackFrom', from); + m = game.checkMod(from, to, m, 'attackTo', to); + var equips1 = from.getCards('e', function (card) { + return !ui.selected.cards || !ui.selected.cards.contains(card); + }), equips2 = to.getCards('e', function (card) { + return !ui.selected.cards || !ui.selected.cards.contains(card); + }); + for (i = 0; i < equips1.length; i++) { + var info = get.info(equips1[i]).distance; + if (!info) continue; + if (info.globalFrom) { + m += info.globalFrom; + n += info.globalFrom; + } + } + for (i = 0; i < equips2.length; i++) { + var info = get.info(equips2[i]).distance; + if (!info) continue; + if (info.globalTo) { + m += info.globalTo; + n += info.globalTo; + } + if (info.attaclTo) { + m += info.attaclTo; + } + } + return m <= range; + } + inRangeOf(source) { + return source.inRange(this); + } + //Get the player's HP not less than 0. Set “raw” to true to get the player's raw HP instead. + //获取角色的体力值。设置“raw”为true以获取角色的体力。 + getHp(raw) { + return raw ? this.hp : Math.max(0, this.hp); + } + //Set “raw” to true to get the player's raw damaged HP instead. + //设置“raw”为true以获取角色已损失的体力。 + getDamagedHp(raw) { + return this.maxHp - this.getHp(raw); + } + changeGroup(group, log, broadcast) { + var next = game.createEvent('changeGroup'); + next.player = this; + next.log = true; + for (var i = 0; i < arguments.length; i++) { + var arg = arguments[i]; + if (lib.group.contains(arg)) { + next.group = arg; + } + else if (typeof arg === 'boolean') { + next.log = arg; + } + else if (arg === 'nobroadcast') { + next.broadcast = false; + } + } + next.setContent('changeGroup'); + return next; + } + chooseToDuiben(target) { + var next = game.createEvent('chooseToDuiben'); + next.player = this; + next.target = target; + next.setContent('chooseToDuiben'); + return next; + } + chooseToPSS(target) { + var next = game.createEvent('chooseToPSS'); + next.player = this; + next.target = target; + next.setContent('chooseToPSS'); + return next; + } + chooseToEnable() { + var next = game.createEvent('chooseToEnable'); + next.player = this; + next.setContent('chooseToEnable'); + return next; + } + chooseToDisable(horse) { + var next = game.createEvent('chooseToDisable'); + next.player = this; + if (horse) next.horse = true; + next.setContent('chooseToDisable'); + return next; + } + isPhaseUsing(notmeisok) { + if (!notmeisok && _status.currentPhase != this) return false; + return _status.event.name == 'phaseUse' || _status.event.getParent('phaseUse').name == 'phaseUse'; + } + swapEquip(target) { + var next = game.createEvent('swapEquip'); + next.player = this; + next.target = target; + next.setContent('swapEquip'); + return next; + } + canCompare(target, goon, bool) { + if (this == target) return false; + if ((!this.countCards('h') && goon !== true) || (!target.countCards('h') && bool !== true)) return false; + if (this.hasSkillTag('noCompareSource') || target.hasSkillTag('noCompareTarget')) return false; + return true; + } + $disableJudge() { + var player = this; + game.addVideo('$disableJudge', player); + player.storage._disableJudge = true; + var card = game.createCard('disable_judge', '', ''); + card.fix(); + card.classList.add('feichu'); + card.style.transform = ''; + card.classList.add('drawinghidden'); + player.node.judges.insertBefore(card, player.node.judges.firstChild); + ui.updatej(player); + } + $enableJudge() { + var player = this; + game.addVideo('$enableJudge', player); + player.storage._disableJudge = false; + for (var i = 0; i < player.node.judges.childNodes.length; i++) { + if (player.node.judges.childNodes[i].name == 'disable_judge') { + player.node.judges.removeChild(player.node.judges.childNodes[i]); + break; + } + } + } + disableJudge() { + var next = game.createEvent('disableJudge'); + next.player = this; + next.source = _status.event.player; + next.setContent('disableJudge'); + return next; + } + enableJudge() { + var next = game.createEvent('enableJudge'); + next.player = this; + next.source = _status.event.player; + next.setContent('enableJudge'); + return next; + } + //原有函数 + init(character, character2, skill, update) { + if (typeof character == 'string' && !lib.character[character]) { + lib.character[character] = get.character(character); + } + if (typeof character2 == 'string' && !lib.character[character2]) { + lib.character[character2] = get.character(character2); + } + if (!lib.character[character]) return; + if (get.is.jun(character2)) { + var tmp = character; + character = character2; + character2 = tmp; + } + if (character2 == false) { + skill = false; + character2 = null; + } + var info = lib.character[character]; + if (!info) { + info = ['', '', 1, [], []]; + } + if (!info[4]) { + info[4] = []; + } + var skills = info[3].slice(0); + this.clearSkills(true); + + var hp1 = get.infoHp(info[2]); + var maxHp1 = get.infoMaxHp(info[2]); + var hujia1 = get.infoHujia(info[2]); + + this.name = character; + this.name1 = character; + this.tempname = []; + this.sex = info[0]; + this.group = info[1]; + this.hp = hp1; + this.maxHp = maxHp1; + this.hujia = hujia1; + this.node.intro.innerHTML = lib.config.intro; + this.node.name.dataset.nature = get.groupnature(this.group); + lib.setIntro(this); + this.node.name.innerHTML = get.slimName(character); + if (this.classList.contains('minskin') && this.node.name.querySelectorAll('br').length >= 4) { + this.node.name.classList.add('long'); + } + if (info[4].contains('hiddenSkill') && !this.noclick) { + if (!this.hiddenSkills) this.hiddenSkills = []; + this.hiddenSkills.addArray(skills); + skills = []; + this.name = 'unknown'; + this.sex = 'male'; + this.storage.nohp = true; + skills.add('g_hidden_ai'); + } + if (character2 && lib.character[character2]) { + var info2 = lib.character[character2]; + if (!info2) { + info2 = ['', '', 1, [], []]; + } + if (!info2[4]) { + info2[4] = []; + } + + this.name2 = character2; + var hp2 = get.infoHp(info2[2]); + var maxHp2 = get.infoMaxHp(info2[2]); + var hujia2 = get.infoHujia(info2[2]); + this.hujia += hujia2; + var double_hp; + if (_status.connectMode || get.mode() == 'single') { + double_hp = 'pingjun'; + } + else { + double_hp = get.config('double_hp'); + } + switch (double_hp) { + case 'pingjun': { + this.maxHp = Math.floor((maxHp1 + maxHp2) / 2); + this.hp = Math.floor((hp1 + hp2) / 2); + this.singleHp = ((maxHp1 + maxHp2) % 2 === 1); + break; + } + case 'zuidazhi': { + this.maxHp = Math.max(maxHp1, maxHp2); + this.hp = Math.max(hp1, hp2); + break; + } + case 'zuixiaozhi': { + this.maxHp = Math.min(maxHp1, maxHp2); + this.hp = Math.min(hp1, hp2); + break; + } + case 'zonghe': { + this.maxHp = maxHp1 + maxHp2; + this.hp = hp1 + hp2; + break; + } + default: { + this.maxHp = maxHp1 + maxHp2 - 3; + this.hp = hp1 + hp2 - 3; + } + } + if (info2[4].contains('hiddenSkill') && !this.noclick) { + if (!this.hiddenSkills) this.hiddenSkills = []; + this.hiddenSkills.addArray(info2[3]); + this.storage.nohp = true; + skills.add('g_hidden_ai'); + } + else skills = skills.concat(info2[3]); + } + if (this.storage.nohp) { + this.storage.rawHp = this.hp; + this.storage.rawMaxHp = this.maxHp; + this.hp = 1; + this.maxHp = 1; + this.node.hp.hide(); + } + if (skill != false) { + skills = skills.filter(skill => { + var info = get.info(skill); + if (info && info.zhuSkill && !this.isZhu2()) return false; + return true; + }); + for (var i = 0; i < skills.length; i++) { + this.addSkill(skills[i], null, true); + } + this.checkConflict(); + } + lib.group.add(this.group); + + this.$init(character, character2); + + if (this.inits) { + for (var i = 0; i < this.inits.length; i++) { + this.inits[i](this); + } + } + if (this._inits) { + for (var i = 0; i < this._inits.length; i++) { + this._inits[i](this); + } + } + if (update !== false) this.$update(); + return this; + } + $init(character, character2) { + this.classList.add('fullskin'); + var info = lib.character[character]; + if (!info) { + info = ['', '', 1, [], []]; + } + if (!info[4]) { + info[4] = []; + } + + if (!game.minskin && get.is.newLayout() && !info[4].contains('minskin')) { + this.classList.remove('minskin'); + this.node.avatar.setBackground(character, 'character'); + } + else { + this.node.avatar.setBackground(character, 'character'); + if (info[4].contains('minskin')) { + this.classList.add('minskin'); + } + else if (game.minskin) { + this.classList.add('minskin'); + } + else { + this.classList.remove('minskin'); + } + } + + this.node.avatar.show(); + this.node.count.show(); + this.node.equips.show(); + + this.node.intro.innerHTML = lib.config.intro; + this.node.name.dataset.nature = get.groupnature(this.group); + lib.setIntro(this); + this.node.name.innerHTML = get.slimName(character); + if (this.classList.contains('minskin') && this.node.name.querySelectorAll('br').length >= 4) { + this.node.name.classList.add('long'); + } + if (info[4].contains('hiddenSkill') && !this.noclick) { + this.classList.add(_status.video ? 'unseen_v' : 'unseen'); + if (!this.node.name_seat && !_status.video) { + this.node.name_seat = ui.create.div('.name.name_seat', get.verticalStr(get.translation(this.name)), this); + this.node.name_seat.dataset.nature = get.groupnature(this.group); + } + } + if (character2 && lib.character[character2]) { + var info2 = lib.character[character2]; + if (!info2) { + info2 = ['', '', 1, [], []]; + } + if (!info2[4]) { + info2[4] = []; + } + this.classList.add('fullskin2'); + this.node.avatar2.setBackground(character2, 'character'); + this.node.avatar2.show(); + this.name2 = character2; + + this.node.count.classList.add('p2'); + if (info2[4].contains('hiddenSkill') && !this.noclick) { + this.classList.add(_status.video ? 'unseen2_v' : 'unseen2'); + } + this.node.name2.innerHTML = get.slimName(character2); + } + if (this.storage.nohp) { + this.node.hp.hide(); + } + + return this; + } + initOL(name, character) { + this.node.avatar.setBackground(character, 'character'); + this.node.avatar.show(); + this.node.name.innerHTML = get.verticalStr(name); + this.nickname = name; + this.avatar = character; + this.node.nameol.innerHTML = ''; + if (lib.character[character]) this.sex = lib.character[character][0]; + } + uninitOL() { + this.node.avatar.hide(); + this.node.name.innerHTML = ''; + this.node.identity.firstChild.innerHTML = ''; + delete this.nickname; + delete this.avatar; + delete this.sex; + } + initRoom(info, info2) { + var str = ''; + this.serving = false; + if (!info || info == 'server') { + this.roomempty = true; + str = '空房间'; + this.roomfull = false; + this.roomgaming = false; + this.version = null; + if (info == 'server') { + this.serving = true; + } + } + else { + var config = info[2]; + this.key = info[4]; + this.roomempty = false; + str += get.modetrans(config); + str += ' 模式 '; + for (var i = str.length; i < 11; i++) str += ' '; + this.version = config.version; + if (config.gameStarted) { + str += '游戏中 '; + if (config.observe && config.observeReady && this.version == lib.versionOL) { + this.classList.remove('exclude'); + } + else { + this.classList.add('exclude'); + } + } + else { + str += '等待中 '; + if (this.version != lib.versionOL) { + this.classList.add('exclude'); + } + else { + this.classList.remove('exclude'); + } + } + this.maxHp = parseInt(config.number); + this.hp = Math.min(this.maxHp, info[3]); + if (this.hp < this.maxHp || config.gameStarted) str += ('人数:' + this.hp + '/' + this.maxHp); + else str += ('人数:' + this.hp + '/' + this.maxHp + ''); + + str += (' (' + info[0].slice(0, 12) + ' 的房间)'); + if (config.mode != 'guozhan' && (config.mode != 'doudizhu' || config.doudizhu_mode != 'online')) { + str += '【'; + for (var i = 0; i < config.cardPack.length; i++) { + str += (get.translation(config.cardPack[i] + '_card_config').slice(0, 2)); + if (i < config.cardPack.length - 1) str += '+'; + } + str += '】'; + } + this.config = config; + if (this.hp == this.maxHp && !config.gameStarted) { + this.roomfull = true; + } + else { + this.roomfull = false; + } + if (config.gameStarted && (!config.observe || !config.observeReady)) { + this.roomgaming = true; + } + else { + this.roomgaming = false; + } + } + this.firstChild.innerHTML = str; + return this; + } + reinit(from, to, maxHp, online) { + var info1 = lib.character[from]; + var info2 = lib.character[to]; + var smooth = true, replaced = null; + if (maxHp == 'nosmooth') { + smooth = false; + maxHp = null; + } + if (this.name2 == from) { + this.name2 = to; + } + else if (this.name == from || this.name1 == from) { + if (this.name1 == from) { + this.name1 = to; + } + if (!this.isUnseen(1)) { + this.name = to; + this.sex = info2[0]; + } + } + else { + return this; + } + if (online) { + return; + } + for (var i = 0; i < info1[3].length; i++) { + this.removeSkill(info1[3][i]); + } + for (var i = 0; i < info2[3].length; i++) { + var info = get.info(info2[3][i]); + if (info && info.zhuSkill && !this.isZhu2()) continue; + this.addSkill(info2[3][i]); + } + if (Array.isArray(maxHp)) { + this.maxHp = maxHp[1]; + this.hp = maxHp[0]; + } + else { + var num; + if (maxHp === false) { + num = 0; + } + else { + if (typeof maxHp != 'number') { + maxHp = get.infoMaxHp(info2[2]); + } + num = maxHp - get.infoMaxHp(info1[2]); + } + if (typeof this.singleHp == 'boolean') { + if (num % 2 != 0) { + if (this.singleHp) { + this.maxHp += (num + 1) / 2; + this.singleHp = false; + } + else { + this.maxHp += (num - 1) / 2; + this.singleHp = true; + if (!game.online) { + this.doubleDraw(); + } + } + } + else { + this.maxHp += num / 2; + } + } + else { + this.maxHp += num; + } + } + game.broadcast(function (player, from, to, skills) { + player.reinit(from, to, null, true); + player.applySkills(skills); + }, this, from, to, get.skillState(this)); + game.addVideo('reinit3', this, { + from: from, + to: to, + hp: this.maxHp, + avatar2: this.name2 == to + }); + + this.$reinit(from, to, maxHp, online); + this.update(); + } + $reinit(from, to, maxHp, online) { + var smooth = true; + if (maxHp == 'nosmooth') { + smooth = false; + maxHp = null; + } + if (this.name2 == to) { + if (smooth) this.smoothAvatar(true); + this.node.avatar2.setBackground(to, 'character'); + this.node.name2.innerHTML = get.slimName(to); + } + else if (this.name == to || this.name1 == to) { + if (smooth) this.smoothAvatar(false); + this.node.avatar.setBackground(to, 'character'); + this.node.name.innerHTML = get.slimName(to); + + if (this == game.me && ui.fakeme) { + ui.fakeme.style.backgroundImage = this.node.avatar.style.backgroundImage; + } + } + } + uninit() { + this.expandedSlots = {}; + this.disabledSlots = {}; + + delete this.name; + delete this.name1; + delete this.tempname; + delete this.sex; + delete this.group; + delete this.hp; + delete this.maxHp; + delete this.hujia; + this.clearSkills(true); + + if (this.name2) { + delete this.singleHp; + delete this.name2; + } + for (var mark in this.marks) { + this.marks[mark].remove(); + } + ui.updatem(this); + + this.skipList = []; + this.skills = this.skills.filter(skill => { + return lib.skill[skill] && lib.skill[skill].superCharlotte; + }); + this.initedSkills = []; + this.additionalSkills = {}; + this.disabledSkills = {}; + this.hiddenSkills = []; + this.awakenedSkills = []; + this.forbiddenSkills = {}; + this.phaseNumber = 0; + this.stat = [{ card: {}, skill: {} }]; + this.tempSkills = {}; + this.storage = {}; + this.marks = {}; + this.ai = { friend: [], enemy: [], neutral: [] }; + + this.$uninit(); + + return this; + } + $uninit() { + this.$syncDisable(); + if (this.isDisabledJudge()) { + game.broadcastAll(function (player) { + player.storage._disableJudge = false; + for (var i = 0; i < player.node.judges.childNodes.length; i++) { + if (player.node.judges.childNodes[i].name == 'disable_judge') { + player.node.judges.removeChild(player.node.judges.childNodes[i]); + break; + } + } + }, this); + } + this.node.avatar.hide(); + this.node.count.hide(); + if (this.node.wuxing) { + this.node.wuxing.hide(); + } + if (this.node.name_seat) { + this.node.name_seat.remove(); + delete this.node.name_seat; + } + this.node.hp.show(); + this.classList.remove('unseen'); + this.classList.remove('unseen2'); + + this.node.identity.style.backgroundColor = ''; + this.node.intro.innerHTML = ''; + this.node.name.innerHTML = ''; + this.node.hp.innerHTML = ''; + this.node.count.innerHTML = '0'; + + this.node.avatar2.hide(); + this.node.name2.innerHTML = ''; + this.classList.remove('fullskin2'); + this.node.count.classList.remove('p2'); + + for (var mark in this.marks) { + this.marks[mark].remove(); + } + ui.updatem(this); + } + getLeft() { + return this.offsetLeft; + } + getTop() { + return this.offsetTop; + } + smoothAvatar(vice, video) { + var div = ui.create.div('.fullsize'); + if (vice) { + div.style.background = getComputedStyle(this.node.avatar2).background; + this.node.avatar2.appendChild(div); + } + else { + div.style.background = getComputedStyle(this.node.avatar).background; + this.node.avatar.appendChild(div); + } + ui.refresh(div); + div.style.transition = 'all 1s'; + setTimeout(function () { + div.classList.add('removing'); + setTimeout(function () { + div.remove(); + }, 2000); + }, 100); + if (video != false) { + game.addVideo('smoothAvatar', this, vice); + } + } + changeSeat(position, video) { + var player = this; + if (video !== false) game.addVideo('changeSeat', player, position); + var rect1 = player.getBoundingClientRect(); + player.style.transition = 'all 0s'; + ui.refresh(player); + player.dataset.position = position; + var rect2 = player.getBoundingClientRect(); + var dx = rect1.left - rect2.left; + var dy = rect1.top - rect2.top; + if ((game.chess || (player.dataset.position != 0 && position != 0)) && player.classList.contains('linked')) { + player.style.transform = 'rotate(-90deg) translate(' + (-dy) + 'px,' + (dx) + 'px)'; + } + else { + player.style.transform = 'translate(' + (dx) + 'px,' + (dy) + 'px)'; + } + setTimeout(function () { + player.style.transition = ''; + ui.refresh(player); + player.style.transform = ''; + }, 100); + } + send() { + if (!this.ws || this.ws.closed) return this; + this.ws.send.apply(this.ws, arguments); + return this; + } + getId() { + if (_status.video || _status.connectMode) return this; + if (this.playerid) { + delete game.playerMap[this.playerid]; + } + this.playerid = get.id(); + game.playerMap[this.playerid] = this; + return this; + } + throwEmotion(target, emotion, rotate) { + game.broadcastAll(function (player, target, emotion, rotate) { + player.$throwEmotion(target, emotion, rotate); + }, this, target, emotion, rotate); + } + emotion(pack, id) { + var str = ''; + this.say(str); + game.broadcast(function (id, str) { + if (lib.playerOL[id]) { + lib.playerOL[id].say(str); + } + else if (game.connectPlayers) { + for (var i = 0; i < game.connectPlayers.length; i++) { + if (game.connectPlayers[i].playerid == id) { + game.connectPlayers[i].say(str); + return; + } + } + } + }, this.playerid, str); + } + chat(str) { + if (get.is.banWords(str)) return; + this.say(str); + game.broadcast(function (id, str) { + if (lib.playerOL[id]) { + lib.playerOL[id].say(str); + } + else if (game.connectPlayers) { + for (var i = 0; i < game.connectPlayers.length; i++) { + if (game.connectPlayers[i].playerid == id) { + game.connectPlayers[i].say(str); + return; + } + } + } + }, this.playerid, str); + } + say(str) { + str = str.replace(/##assetURL##/g, lib.assetURL); + var dialog = ui.create.dialog('hidden'); + dialog.classList.add('static'); + dialog.add('
    ' + str + '
    '); + dialog.classList.add('popped'); + ui.window.appendChild(dialog); + var width = dialog.content.firstChild.firstChild.offsetWidth; + if (width < 190) { + dialog._mod_height = -16; + } + else { + dialog.content.firstChild.style.textAlign = 'left'; + } + dialog.style.width = (width + 16) + 'px'; + var refnode; + if (this.node && this.node.avatar && this.parentNode == ui.arena) { + refnode = this.node.avatar; + } + if (refnode) { + lib.placePoppedDialog(dialog, { + clientX: (ui.arena.offsetLeft + this.getLeft() + refnode.offsetLeft + refnode.offsetWidth / 2) * game.documentZoom, + clientY: (ui.arena.offsetTop + this.getTop() + refnode.offsetTop + refnode.offsetHeight / 4) * game.documentZoom + }); + } + else { + lib.placePoppedDialog(dialog, { + clientX: (this.getLeft() + this.offsetWidth / 2) * game.documentZoom, + clientY: (this.getTop() + this.offsetHeight / 4) * game.documentZoom + }); + } + if (dialog._mod_height) { + dialog.content.firstChild.style.padding = 0; + } + setTimeout(function () { + dialog.delete(); + }, lib.quickVoice.includes(str) ? 3800 : 2000); + var name = get.translation(this.name); + var info = [name ? (name + '[' + this.nickname + ']') : this.nickname, str]; + lib.chatHistory.push(info); + if (_status.addChatEntry) { + if (_status.addChatEntry._origin.parentNode) { + _status.addChatEntry(info, false); + } + else { + delete _status.addChatEntry; + } + } + if (lib.config.background_speak && lib.quickVoice.includes(str)) { + game.playAudio('voice', (this.sex == 'female' ? 'female' : 'male'), lib.quickVoice.indexOf(str)); + } + } + showGiveup() { + this._giveUp = true; + if (this == game.me) { + ui.create.giveup(); + } + else if (this.isOnline2()) { + this.send(ui.create.giveup); + } + } + applySkills(skills) { + for (var i in skills) { + if (i == 'global') { + lib.skill.global = skills[i]; + } + //else if(i=='skillinfo'){ + // for(var j in skills[i]){ + // if(!lib.skill[j]){ + // lib.skill[j]={}; + // } + // lib.skill[j].chooseButton=skills[i][j]; + // } + //} + else if (i == 'stat') { + this.stat = [skills.stat]; + } + else if (lib.playerOL[i]) { + for (var j in skills[i]) { + lib.playerOL[i][j] = skills[i][j]; + } + } + } + } + getState() { + var state = { + hp: this.hp, + maxHp: this.maxHp, + nickname: this.nickname, + sex: this.sex, + group: this.group, + name: this.name, + name1: this.name1, + name2: this.name2, + handcards: this.getCards('hs'), + gaintag: [], + equips: this.getCards('e'), + judges: this.getCards('j'), + specials: this.getCards('s'), + expansions: this.getCards('x'), + expansion_gaintag: [], + disableJudge: this.isDisabledJudge(), + disabledSlots: this.disabledSlots, + expandedSlots: this.expandedSlots, + views: [], + position: parseInt(this.dataset.position), + hujia: this.hujia, + side: this.side, + identityShown: this.identityShown, + identityNode: [this.node.identity.innerHTML, this.node.identity.dataset.color], + identity: this.identity, + dead: this.isDead(), + linked: this.isLinked(), + turnedover: this.isTurnedOver(), + out: this.isOut(), + phaseNumber: this.phaseNumber, + unseen: this.isUnseen(0), + unseen2: this.isUnseen(1), + seatNum: this.seatNum, + }; + for (var i = 0; i < state.judges.length; i++) { + state.views[i] = state.judges[i].viewAs; + } + for (var i = 0; i < state.handcards.length; i++) { + state.gaintag[i] = state.handcards[i].gaintag; + } + for (var i = 0; i < state.expansions.length; i++) { + state.expansion_gaintag[i] = state.expansions[i].gaintag; + } + if (this.getModeState) { + state.mode = this.getModeState(); + } + return state; + } + setNickname(str) { + this.node.nameol.innerHTML = (str || this.nickname || '').slice(0, 12); + return this; + } + setAvatar(name, name2, video, fakeme) { + var node; + if (this.name2 == name) { + node = this.node.avatar2; + this.smoothAvatar(true, video); + } + else if (this.name == name) { + node = this.node.avatar; + this.smoothAvatar(false, video); + } + if (node) { + node.setBackground(name2, 'character'); + if (this == game.me && ui.fakeme && fakeme !== false) { + ui.fakeme.style.backgroundImage = node.style.backgroundImage; + } + if (video != false) { + game.addVideo('setAvatar', this, [name, name2]); + } + } + game.broadcast(function (player, name, name2) { + player.setAvatar(name, name2, false); + }, this, name, name2); + } + setAvatarQueue(name, list) { + var node; + var player = this; + if (player.name2 == name) { + node = player.node.avatar2; + } + else { + node = player.node.avatar; + } + if (node._avatarqueue) { + for (var i = 0; i < list.length; i++) { + node._avatarqueue.push(list[i]); + } + } + else { + var func = function () { + if (node._avatarqueue.length) { + player.setAvatar(name, node._avatarqueue.shift(), false, false); + } + else { + clearInterval(node._avatarqueueinterval); + delete node._avatarqueue; + delete node._avatarqueueinterval; + player.setAvatar(name, name, false, false); + } + }; + node._avatarqueue = list.slice(0); + node._avatarqueueinterval = setInterval(func, 1000); + func(); + } + game.addVideo('setAvatarQueue', this, [name, list]); + } + flashAvatar(skill, name) { + if (lib.skill[name] && !lib.character[name]) { + var stop = false; + var list = lib.config.all.characters.slice(0); + for (var i in lib.characterPack) { + list.add(i); + } + for (var i = 0; i < list.length; i++) { + for (var j in lib.characterPack[list[i]]) { + if (lib.characterPack[list[i]][j][3].contains(name)) { + name = j; + stop = true; + break; + } + } + if (stop) { + break; + } + } + } + if (lib.character[this.name2] && lib.character[this.name2][3].contains(skill)) { + this.setAvatarQueue(this.name2, [name]); + } + else { + this.setAvatarQueue(this.name, [name]); + } + } + update() { + if (_status.video && arguments.length == 0) return; + if (this.hp >= this.maxHp) this.hp = this.maxHp; + game.broadcast(function (player, hp, maxHp, hujia) { + player.hp = hp; + player.maxHp = maxHp; + player.hujia = hujia; + player.$update(); + }, this, this.hp, this.maxHp, this.hujia); + this.$update(...arguments); + } + $update() { + if (this.hp >= this.maxHp) this.hp = this.maxHp; + var hp = this.node.hp; + hp.style.transition = 'none'; + if (!_status.video) { + if (this.hujia) { + this.markSkill('ghujia'); + } + else { + this.unmarkSkill('ghujia'); + } + } + if (!this.storage.nohp) { + if (this.maxHp == Infinity) { + hp.innerHTML = '∞'; + } + else if (game.layout == 'default' && this.maxHp > 14) { + hp.innerHTML = this.hp + '/' + this.maxHp; + hp.classList.add('text'); + } + else if (get.is.newLayout() && + ( + this.maxHp > 9 || + (this.maxHp > 5 && this.classList.contains('minskin')) || + ((game.layout == 'mobile' || game.layout == 'long') && this.dataset.position == 0 && this.maxHp > 7) + )) { + hp.innerHTML = this.hp + '
    /
    ' + this.maxHp + '
    '; + if (this.hp == 0) { + hp.lastChild.classList.add('lost'); + } + hp.classList.add('textstyle'); + // hp.classList.remove('long'); + } + else { + hp.innerHTML = ''; + hp.classList.remove('text'); + hp.classList.remove('textstyle'); + while (this.maxHp > hp.childNodes.length) { + ui.create.div(hp); + } + while (Math.max(0, this.maxHp) < hp.childNodes.length) { + hp.removeChild(hp.lastChild); + } + for (var i = 0; i < this.maxHp; i++) { + var index = i; + if (get.is.newLayout()) { + index = this.maxHp - i - 1; + } + if (i < this.hp) { + hp.childNodes[index].classList.remove('lost'); + } + else { + hp.childNodes[index].classList.add('lost'); + } + } + // if(this.maxHp==9){ + // hp.classList.add('long'); + // } + // else{ + // hp.classList.remove('long'); + // } + } + if (hp.classList.contains('room')) { + hp.dataset.condition = 'high'; + } + else if (this.hp == 0) { + hp.dataset.condition = ''; + } + else if (this.hp > Math.round(this.maxHp / 2) || this.hp === this.maxHp) { + hp.dataset.condition = 'high'; + } + else if (this.hp > Math.floor(this.maxHp / 3)) { + hp.dataset.condition = 'mid'; + } + else { + hp.dataset.condition = 'low'; + } + + setTimeout(function () { + hp.style.transition = ''; + }); + } + var numh = this.countCards('h'); + if (_status.video) { + numh = arguments[0]; + } + if (numh >= 10) { + numh = numh.toString(); + this.node.count.dataset.condition = 'low'; + this.node.count.innerHTML = numh[0] + '
    ' + numh[1]; + } + else { + if (numh > 5) { + this.node.count.dataset.condition = 'higher'; + } + else if (numh > 2) { + this.node.count.dataset.condition = 'high'; + } + else if (numh > 0) { + this.node.count.dataset.condition = 'mid'; + } + else { + this.node.count.dataset.condition = 'none'; + } + this.node.count.innerHTML = numh; + } + if (this.updates) { + for (var i = 0; i < this.updates.length; i++) { + this.updates[i](this); + } + } + if (!_status.video) { + game.addVideo('update', this, [this.countCards('h'), this.hp, this.maxHp, this.hujia]); + } + this.updateMarks(); + return this; + } + clearMark(i, log) { + let num = this.countMark(i); + if (num > 0) this.removeMark(i, num, log); + } + removeMark(i, num, log) { + if (typeof num != 'number' || !num) num = 1; + if (typeof this.storage[i] != 'number' || !this.storage[i]) return; + if (num > this.storage[i]) num = this.storage[i]; + this.storage[i] -= num; + if (log !== false) { + var str = false; + var info = get.info(i); + if (info && info.intro && (info.intro.name || info.intro.name2)) str = info.intro.name2 || info.intro.name; + else str = lib.translate[i]; + if (str) game.log(this, '移去了', get.cnNumber(num), '个', '#g【' + str + '】'); + } + this.syncStorage(i); + this[(this.storage[i] || (lib.skill[i] && lib.skill[i].mark)) ? 'markSkill' : 'unmarkSkill'](i); + } + addMark(i, num, log) { + if (typeof num != 'number' || !num) num = 1; + if (typeof this.storage[i] != 'number') this.storage[i] = 0; + this.storage[i] += num; + if (log !== false) { + var str = false; + var info = get.info(i); + if (info && info.intro && (info.intro.name || info.intro.name2)) str = info.intro.name2 || info.intro.name; + else str = lib.translate[i]; + if (str) game.log(this, '获得了', get.cnNumber(num), '个', '#g【' + str + '】'); + } + this.syncStorage(i); + this.markSkill(i); + } + setMark(name, num, log) { + const count = this.countMark(name); + if (count > num) this.removeMark(name, count - num, log); + else if (count < num) this.addMark(name, num - count, log); + } + countMark(i) { + if (this.storage[i] == undefined) return 0; + if (typeof this.storage[i] == 'number') return this.storage[i]; + if (Array.isArray(this.storage[i])) return this.storage[i].length; + return 0; + } + hasMark(i) { + return this.countMark(i) > 0; + } + updateMark(i, storage) { + if (!this.marks[i]) { + if (lib.skill[i] && lib.skill[i].intro && (this.storage[i] || lib.skill[i].intro.markcount)) { + this.markSkill(i); + if (!this.marks[i]) return this; + } + else { + return this; + } + } + if (storage && this.storage[i]) { + this.syncStorage(i); + } + if (i == 'ghujia' || ((!this.marks[i].querySelector('.image') || this.storage[i + '_markcount']) && + lib.skill[i] && lib.skill[i].intro && !lib.skill[i].intro.nocount && + (this.storage[i] || this.storage[i + '_markcount'] || lib.skill[i].intro.markcount))) { + this.marks[i].classList.add('overflowmark'); + var num = 0; + if (typeof lib.skill[i].intro.markcount == 'function') { + num = lib.skill[i].intro.markcount(this.storage[i], this); + } + else if (lib.skill[i].intro.markcount == 'expansion') { + num = this.countCards('x', (card) => card.hasGaintag(i)); + } + else if (typeof this.storage[i + '_markcount'] == 'number') { + num = this.storage[i + '_markcount']; + } + else if (i == 'ghujia') { + num = this.hujia; + } + else if (typeof this.storage[i] == 'number') { + num = this.storage[i]; + } + else if (Array.isArray(this.storage[i])) { + num = this.storage[i].length; + } + if (num) { + if (!this.marks[i].markcount) { + this.marks[i].markcount = ui.create.div('.markcount.menubutton', this.marks[i]); + } + this.marks[i].markcount.innerHTML = num; + } + else if (this.marks[i].markcount) { + this.marks[i].markcount.delete(); + delete this.marks[i].markcount; + } + } + else { + if (this.marks[i].markcount) { + this.marks[i].markcount.delete(); + delete this.marks[i].markcount; + } + if (lib.skill[i].mark == 'auto') { + this.unmarkSkill(i); + } + } + return this; + } + updateMarks(connect) { + if (typeof connect == 'string' && _status.connectMode && !game.online) { + game.broadcast(function (player, storage, skill) { + player.storage[skill] = storage; + player.updateMarks(); + }, this, this.storage[connect], connect); + } + for (var i in this.marks) { + this.updateMark(i); + } + } + num(arg1, arg2, arg3) { + if (get.itemtype(arg1) == 'position') { + return this.get(arg1, arg2, arg3).length; + } + else if (arg1 == 's') { + if (typeof arg2 == 'boolean') { + return game.expandSkills(this.getSkills(arg2).concat(lib.skill.global)).contains(arg3); + } + else { + return game.expandSkills(this.getSkills().concat(lib.skill.global)).contains(arg2); + } + } + } + line(target, config) { + if (get.itemtype(target) == 'players') { + for (var i = 0; i < target.length; i++) { + this.line(target[i], config); + } + } + else if (get.itemtype(target) == 'player') { + if (target == this) return; + game.broadcast(function (player, target, config) { + player.line(target, config); + }, this, target, config); + game.addVideo('line', this, [target.dataset.position, config]); + game.linexy([ + this.getLeft() + this.offsetWidth / 2, + this.getTop() + this.offsetHeight / 2, + target.getLeft() + target.offsetWidth / 2, + target.getTop() + target.offsetHeight / 2 + ], config, true); + } + } + line2(targets, config) { + this.line(targets[0], config); + targets = targets.slice(0); + for (var i = 1; i < targets.length; i++) { + (function (j) { + setTimeout(function () { + targets[j - 1].line(targets[j], config); + }, lib.config.duration * i); + }(i)); + } + } + getNext() { + if (this.hasSkill('undist')) return null; + var target = this; + for (var i = 0; i < game.players.length - 1; i++) { + target = target.next; + if (!target.hasSkill('undist')) { + return target; + } + } + return null; + } + getPrevious() { + if (this.hasSkill('undist')) return null; + var target = this; + for (var i = 0; i < game.players.length - 1; i++) { + target = target.previous; + if (!target.hasSkill('undist')) { + return target; + } + } + return null; + } + countUsed(card, type) { + if (type === true) { + var num = 0; + var history = this.getHistory('useCard'); + for (var i = 0; i < history.length; i++) { + if (!card) num++; + else if (typeof card == 'string' && history[i].card && card == history[i].card.name) num++; + else if (typeof card == 'object' && history[i].card && card.name == history[i].card.name) num++; + } + return num; + } + var num; + var stat = this.getStat('card'); + if (!card) { + num = 0; + for (var i in stat) { + if (typeof stat[i] == 'number') num += stat[i]; + } + return num; + } + if (typeof card == 'object') { + card = card.name; + } + num = stat[card]; + if (typeof num != 'number') return 0; + return num; + } + countSkill(skill) { + var num = this.getStat('skill')[skill]; + if (num == undefined) return 0; + return num; + } + getStockSkills(unowned, unique, hidden) { + var list = []; + if (lib.character[this.name] && (hidden || !this.isUnseen(0))) { + list.addArray(lib.character[this.name][3]); + } + if (lib.character[this.name1] && (hidden || !this.isUnseen(0))) { + list.addArray(lib.character[this.name1][3]); + } + if (lib.character[this.name2] && (hidden || !this.isUnseen(1))) { + list.addArray(lib.character[this.name2][3]); + } + if (!unowned) { + for (var i = 0; i < list.length; i++) { + if (!this.hasSkill(list[i])) { + list.splice(i--, 1); + } + } + } + if (!unique) { + for (var i = 0; i < list.length; i++) { + var info = lib.skill[list[i]]; + if (!info || info.unique || info.temp || info.sub || info.charlotte) { + list.splice(i--, 1); + } + } + } + return list; + } + /** + * @param {string} [arg1='h'] + * @param {string | Record | (card: Card) => boolean} [arg2] + * @returns {Card[]} + */ + getCards(arg1, arg2) { + if (typeof arg1 != 'string') { + arg1 = 'h'; + } + var cards = [], cards1 = []; + var i, j; + for (i = 0; i < arg1.length; i++) { + if (arg1[i] == 'h') { + for (j = 0; j < this.node.handcards1.childElementCount; j++) { + if (!this.node.handcards1.childNodes[j].classList.contains('removing') && !this.node.handcards1.childNodes[j].classList.contains('glows')) { + cards.push(this.node.handcards1.childNodes[j]); + } + } + for (j = 0; j < this.node.handcards2.childElementCount; j++) { + if (!this.node.handcards2.childNodes[j].classList.contains('removing') && !this.node.handcards2.childNodes[j].classList.contains('glows')) { + cards.push(this.node.handcards2.childNodes[j]); + } + } + } + else if (arg1[i] == 's') { + for (j = 0; j < this.node.handcards1.childElementCount; j++) { + if (!this.node.handcards1.childNodes[j].classList.contains('removing') && this.node.handcards1.childNodes[j].classList.contains('glows')) { + cards.push(this.node.handcards1.childNodes[j]); + } + } + for (j = 0; j < this.node.handcards2.childElementCount; j++) { + if (!this.node.handcards2.childNodes[j].classList.contains('removing') && this.node.handcards2.childNodes[j].classList.contains('glows')) { + cards.push(this.node.handcards2.childNodes[j]); + } + } + } + else if (arg1[i] == 'e') { + for (j = 0; j < this.node.equips.childElementCount; j++) { + if (!this.node.equips.childNodes[j].classList.contains('removing') && !this.node.equips.childNodes[j].classList.contains('feichu')) { + cards.push(this.node.equips.childNodes[j]); + } + } + } + else if (arg1[i] == 'j') { + for (j = 0; j < this.node.judges.childElementCount; j++) { + if (!this.node.judges.childNodes[j].classList.contains('removing') && !this.node.judges.childNodes[j].classList.contains('feichu')) { + cards.push(this.node.judges.childNodes[j]); + if (this.node.judges.childNodes[j].viewAs && arguments.length > 1) { + this.node.judges.childNodes[j].tempJudge = this.node.judges.childNodes[j].name; + this.node.judges.childNodes[j].name = this.node.judges.childNodes[j].viewAs; + cards1.push(this.node.judges.childNodes[j]); + } + } + } + } + else if (arg1[i] == 'x') { + for (j = 0; j < this.node.expansions.childElementCount; j++) { + if (!this.node.expansions.childNodes[j].classList.contains('removing')) { + cards.push(this.node.expansions.childNodes[j]); + } + } + } + } + if (arguments.length == 1) { + return cards; + } + if (arg2) { + if (typeof arg2 == 'string') { + for (i = 0; i < cards.length; i++) { + if (get.name(cards[i]) != arg2) { + cards.splice(i, 1); i--; + } + } + } + else if (typeof arg2 == 'object') { + for (i = 0; i < cards.length; i++) { + for (j in arg2) { + var value; + if (j == 'type' || j == 'subtype' || j == 'color' || j == 'suit' || j == 'number') { + value = get[j](cards[i]); + } + else { + value = cards[i][j]; + } + if ((typeof arg2[j] == 'string' && value != arg2[j]) || + (Array.isArray(arg2[j]) && !arg2[j].contains(value))) { + cards.splice(i--, 1); break; + } + } + } + } + else if (typeof arg2 == 'function') { + for (i = 0; i < cards.length; i++) { + if (!arg2(cards[i])) { + cards.splice(i--, 1); + } + } + } + } + for (i = 0; i < cards1.length; i++) { + if (cards1[i].tempJudge) { + cards1[i].name = cards1[i].tempJudge; + delete cards1[i].tempJudge; + } + } + return cards; + } + getDiscardableCards(player, arg1, arg2) { + var cards = this.getCards(arg1, arg2); + for (var i = 0; i < cards.length; i++) { + if (!lib.filter.canBeDiscarded(cards[i], player, this)) { + cards.splice(i--, 1); + } + } + return cards; + } + getGainableCards(player, arg1, arg2) { + var cards = this.getCards(arg1, arg2); + for (var i = 0; i < cards.length; i++) { + if (!lib.filter.canBeGained(cards[i], player, this)) { + cards.splice(i--, 1); + } + } + return cards; + } + getGainableSkills(func) { + var list = []; + var names = [this.name, this.name1, this.name2]; + for (var i = 0; i < names.length; i++) { + list.addArray(get.gainableSkillsName(names[i], func)); + } + return list; + } + countCards(arg1, arg2) { + return this.getCards(arg1, arg2).length; + } + countDiscardableCards(player, arg1, arg2) { + return this.getDiscardableCards(player, arg1, arg2).length; + } + countGainableCards(player, arg1, arg2) { + return this.getGainableCards(player, arg1, arg2).length; + } + getOriginalSkills() { + var skills = []; + if (lib.character[this.name] && !this.isUnseen(0)) { + skills.addArray(lib.character[this.name][3]); + } + if (this.name2 && lib.character[this.name2] && !this.isUnseen(1)) { + skills.addArray(lib.character[this.name2][3]); + } + return skills; + } + getModableSkills(useCache) { + var func = function (player) { + var skills = player.getSkills().concat(lib.skill.global); + game.expandSkills(skills); + skills = skills.filter(function (skill) { + var info = get.info(skill); + return info && info.mod; + }); + skills.sort((a, b) => get.priority(a) - get.priority(b)); + return skills; + }; + if (!useCache) return func(this); + return game.callFuncUseStepCache("player.getModableSkills", func, [this]); + } + getSkills(arg2, arg3, arg4) { + var skills = this.skills.slice(0); + var es = []; + var i, j; + if (arg3 !== false) { + for (i = 0; i < this.node.equips.childElementCount; i++) { + if (!this.node.equips.childNodes[i].classList.contains('removing')) { + var equipskills = get.info(this.node.equips.childNodes[i], false).skills; + if (equipskills) { + es.addArray(equipskills); + } + } + } + if (arg2 == 'e') { + return es; + } + } + for (var i in this.additionalSkills) { + if (Array.isArray(this.additionalSkills[i]) && (arg2 || i.indexOf('hidden:') !== 0)) { + for (j = 0; j < this.additionalSkills[i].length; j++) { + if (this.additionalSkills[i][j]) { + skills.add(this.additionalSkills[i][j]); + } + } + } + else if (this.additionalSkills[i] && typeof this.additionalSkills[i] == 'string') { + skills.add(this.additionalSkills[i]); + } + } + for (var i in this.tempSkills) { + skills.add(i); + } + if (arg2) skills.addArray(this.hiddenSkills); + if (arg2 === false || arg2 == 'invisible') skills.addArray(this.invisibleSkills); + if (arg3 !== false) skills.addArray(es); + for (var i in this.forbiddenSkills) { + skills.remove(i); + } + if (arg4 !== false) { + skills = game.filterSkills(skills, this, es); + } + return skills; + } + get(arg1, arg2, arg3, arg4) { + var i, j; + if (arg1 == 's') { + var skills = this.skills.slice(0); + var es = []; + if (arg3 !== false) { + for (i = 0; i < this.node.equips.childElementCount; i++) { + if (!this.node.equips.childNodes[i].classList.contains('removing') && !this.node.equips.childNodes[i].classList.contains('feichu')) { + var equipskills = get.info(this.node.equips.childNodes[i]).skills; + if (equipskills) { + es.addArray(equipskills); + } + } + } + if (arg2 == 'e') { + return es; + } + } + for (var i in this.additionalSkills) { + if (Array.isArray(this.additionalSkills[i])) { + for (j = 0; j < this.additionalSkills[i].length; j++) { + if (this.additionalSkills[i][j]) { + skills.add(this.additionalSkills[i][j]); + } + } + } + else if (this.additionalSkills[i] && typeof this.additionalSkills[i] == 'string') { + skills.add(this.additionalSkills[i]); + } + } + for (var i in this.tempSkills) { + skills.add(i); + } + if (arg2) skills.addArray(this.hiddenSkills); + if (arg3 !== false) skills.addArray(es); + for (var i in this.forbiddenSkills) { + skills.remove(i); + } + if (arg4 !== false) { + skills = game.filterSkills(skills, this, es); + } + return skills; + } + else if (get.is.pos(arg1)) { + var cards = [], cards1 = []; + for (i = 0; i < arg1.length; i++) { + if (arg1[i] == 'h') { + for (j = 0; j < this.node.handcards1.childElementCount; j++) { + if (!this.node.handcards1.childNodes[j].classList.contains('removing') && !this.node.handcards1.childNodes[j].classList.contains('feichu') && !this.node.handcards1.childNodes[j].classList.contains('glows')) { + cards.push(this.node.handcards1.childNodes[j]); + } + } + for (j = 0; j < this.node.handcards2.childElementCount; j++) { + if (!this.node.handcards2.childNodes[j].classList.contains('removing') && !this.node.handcards2.childNodes[j].classList.contains('feichu') && !this.node.handcards2.childNodes[j].classList.contains('glows')) { + cards.push(this.node.handcards2.childNodes[j]); + } + } + } + else if (arg1[i] == 'e') { + for (j = 0; j < this.node.equips.childElementCount; j++) { + if (!this.node.equips.childNodes[j].classList.contains('removing') && !this.node.equips.childNodes[j].classList.contains('feichu')) { + cards.push(this.node.equips.childNodes[j]); + } + } + if (arguments.length == 2 && typeof arg2 == 'string' && /1|2|3|4|5/.test(arg2)) { + for (j = 0; j < cards.length; j++) { + if (get.subtype(cards[j]) == 'equip' + arg2) return cards[j]; + } + return; + } + } + else if (arg1[i] == 'j') { + for (j = 0; j < this.node.judges.childElementCount; j++) { + if (!this.node.judges.childNodes[j].classList.contains('removing') && !this.node.judges.childNodes[j].classList.contains('feichu')) { + cards.push(this.node.judges.childNodes[j]); + if (this.node.judges.childNodes[j].viewAs && arguments.length > 1) { + this.node.judges.childNodes[j].tempJudge = this.node.judges.childNodes[j].name; + this.node.judges.childNodes[j].name = this.node.judges.childNodes[j].viewAs; + cards1.push(this.node.judges.childNodes[j]); + } + } + } + } + } + if (arguments.length == 1) { + return cards; + } + if (arg2 != undefined) { + if (typeof arg3 == 'function') { + var cards2 = cards.slice(0); + cards.sort(function (a, b) { + return arg3(b, cards2) - arg3(a, cards2); + }); + } + if (typeof arg2 == 'string') { + for (i = 0; i < cards.length; i++) { + if (cards[i].name != arg2) { + cards.splice(i, 1); i--; + } + } + } + else if (typeof arg2 == 'object') { + for (i = 0; i < cards.length; i++) { + for (j in arg2) { + if (j == 'type') { + if (typeof arg2[j] == 'object') { + if (arg2[j].contains(get.type(cards[i])) == false) { + cards.splice(i, 1); i--; break; + } + } + else if (typeof arg2[j] == 'string') { + if (get.type(cards[i]) != arg2[j]) { + cards.splice(i, 1); i--; break; + } + } + } + else if (j == 'subtype') { + if (typeof arg2[j] == 'object') { + if (arg2[j].contains(get.subtype(cards[i])) == false) { + cards.splice(i, 1); i--; break; + } + } + else if (typeof arg2[j] == 'string') { + if (get.subtype(cards[i]) != arg2[j]) { + cards.splice(i, 1); i--; break; + } + } + } + else if (j == 'color') { + if (typeof arg2[j] == 'object') { + if (arg2[j].contains(get.color(cards[i])) == false) { + cards.splice(i, 1); i--; break; + } + } + else if (typeof arg2[j] == 'string') { + if (get.color(cards[i]) != arg2[j]) { + cards.splice(i, 1); i--; break; + } + } + } + else if (j == 'suit') { + if (typeof arg2[j] == 'object') { + if (arg2[j].contains(get.suit(cards[i])) == false) { + cards.splice(i, 1); i--; break; + } + } + else if (typeof arg2[j] == 'string') { + if (get.suit(cards[i]) != arg2[j]) { + cards.splice(i, 1); i--; break; + } + } + } + else if (j == 'number') { + if (typeof arg2[j] == 'object') { + if (arg2[j].contains(get.number(cards[i])) == false) { + cards.splice(i, 1); i--; break; + } + } + else if (typeof arg2[j] == 'string') { + if (get.number(cards[i]) != arg2[j]) { + cards.splice(i, 1); i--; break; + } + } + } + else if (typeof arg2[j] == 'object') { + if (arg2[j].contains(cards[i][j]) == false) { + cards.splice(i, 1); i--; break; + } + } + else if (typeof arg2[j] == 'string') { + if (cards[i][j] != arg2[j]) { + cards.splice(i, 1); i--; break; + } + } + } + } + } + else if (typeof arg2 == 'number' && arg2 > 0) { + cards.splice(arg2); + } + else if (typeof arg2 == 'function') { + for (i = 0; i < cards.length; i++) { + if (!arg2(cards[i])) { + cards.splice(i, 1); i--; + } + } + } + } + for (i = 0; i < cards1.length; i++) { + if (cards1[i].tempJudge) { + cards1[i].name = cards1[i].tempJudge; + delete cards1[i].tempJudge; + } + } + if (arg2 === 0) return cards[0]; + if (typeof arg3 == 'number') { + if (arg3 == 0) return cards[0]; + cards.splice(arg3); + } + if (typeof arg4 == 'number') { + if (arg4 == 0) return cards[0]; + cards.splice(arg4); + } + return cards; + } + } + syncStorage(skill) { + switch (get.itemtype(this.storage[skill])) { + case 'cards': game.addVideo('storage', this, [skill, get.cardsInfo(this.storage[skill]), 'cards']); break; + case 'card': game.addVideo('storage', this, [skill, get.cardInfo(this.storage[skill]), 'card']); break; + default: + try { + game.addVideo('storage', this, [skill, JSON.parse(JSON.stringify(this.storage[skill]))]); + } + catch (e) { + console.log(this.storage[skill]); + } + } + } + syncSkills() { + game.broadcast(function (player, skills) { + player.applySkills(skills); + }, this, get.skillState(this)); + } + playerfocus(time) { + time = time || 1000; + this.classList.add('playerfocus'); + ui.arena.classList.add('playerfocus'); + var that = this; + setTimeout(function () { + that.classList.remove('playerfocus'); + ui.arena.classList.remove('playerfocus'); + }, time); + game.addVideo('playerfocus', this, time); + game.broadcast(function (player, time) { + player.playerfocus(time); + }, this, time); + return this; + } + setIdentity(identity, nature) { + if (!identity) identity = this.identity; + if (get.is.jun(this)) { + this.node.identity.firstChild.innerHTML = '君'; + } + else { + this.node.identity.firstChild.innerHTML = get.translation(identity); + } + this.node.identity.dataset.color = nature || identity; + return this; + } + insertPhase(skill, insert) { + var evt = _status.event.getParent('phase'); + var next; + if (evt && evt.parent && evt.parent.next) { + evt = evt.parent; + next = game.createEvent('phase', false, evt); + } + else if (_status.event.parent && _status.event.parent.next) { + evt = _status.event.parent; + next = game.createEvent('phase', false, evt); + } + else { + evt = null; + next = game.createEvent('phase', false); + } + if (evt && insert && evt.next.contains(next)) { + evt.next.remove(next); + evt.next.unshift(next); + } + next.player = this; + next.forceDie = true; + next.includeOut = true; + next.skill = skill || _status.event.name; + next.setContent('phase'); + return next; + } + insertEvent(name, content, arg) { + var evt = _status.event.getParent('phase'); + var next; + if (evt && evt.parent && evt.parent.next) { + next = game.createEvent(name, null, evt.parent); + } + else { + next = game.createEvent(name); + } + for (var i in arg) { + next[i] = arg[i]; + } + next.player = this; + next.setContent(content); + return next; + } + phase(skill) { + var next = game.createEvent('phase', false); + next.player = this; + next.setContent('phase'); + if (!_status.roundStart) { + _status.roundStart = this; + } + if (skill) { + next.skill = skill; + } + next.forceDie = true; + next.includeOut = true; + return next; + } + phaseZhunbei() { + var next = game.createEvent('phaseZhunbei'); + next.player = this; + next.setContent('phaseZhunbei'); + return next; + } + phaseJudge() { + var next = game.createEvent('phaseJudge'); + next.player = this; + next.setContent('phaseJudge'); + return next; + } + phaseDraw() { + var next = game.createEvent('phaseDraw'); + next.player = this; + next.num = 2; + if ((get.config('first_less') || _status.connectMode || _status.first_less_forced) && game.phaseNumber == 1 && _status.first_less) { + next.num--; + } + next.setContent('phaseDraw'); + return next; + } + phaseUse() { + var next = game.createEvent('phaseUse'); + next.player = this; + next.setContent('phaseUse'); + return next; + } + phaseDiscard() { + var next = game.createEvent('phaseDiscard'); + next.player = this; + next.setContent('phaseDiscard'); + return next; + } + phaseJieshu() { + var next = game.createEvent('phaseJieshu'); + next.player = this; + next.setContent('phaseJieshu'); + return next; + } + chooseToUse(use) { + var next = game.createEvent('chooseToUse'); + next.player = this; + if (arguments.length == 1 && get.objtype(arguments[0]) == 'object') { + for (var i in use) { + next[i] = use[i]; + } + } + else { + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'number' || get.itemtype(arguments[i]) == 'select') { + next.selectTarget = arguments[i]; + } + else if ((typeof arguments[i] == 'object' && arguments[i]) || typeof arguments[i] == 'function') { + if (get.itemtype(arguments[i]) == 'player' || next.filterCard) { + next.filterTarget = arguments[i]; + } + else next.filterCard = arguments[i]; + } + else if (typeof arguments[i] == 'boolean') { + next.forced = arguments[i]; + } + else if (typeof arguments[i] == 'string') { + next.prompt = arguments[i]; + } + } + } + if (typeof next.filterCard == 'object') { + next.filterCard = get.filter(next.filterCard); + } + if (typeof next.filterTarget == 'object') { + next.filterTarget = get.filter(next.filterTarget, 2); + } + if (next.filterCard == undefined) { + next.filterCard = lib.filter.filterCard; + } + if (next.selectCard == undefined) { + next.selectCard = [1, 1]; + } + if (next.filterTarget == undefined) { + next.filterTarget = lib.filter.filterTarget; + } + if (next.selectTarget == undefined) { + next.selectTarget = lib.filter.selectTarget; + } + if (next.position == undefined) { + next.position = 'hs'; + } + if (next.ai1 == undefined) next.ai1 = get.order; + if (next.ai2 == undefined) next.ai2 = get.effect_use; + next.setContent('chooseToUse'); + next._args = Array.from(arguments); + return next; + } + chooseToRespond() { + var next = game.createEvent('chooseToRespond'); + next.player = this; + var filter; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'number') { + next.selectCard = [arguments[i], arguments[i]]; + } + else if (get.itemtype(arguments[i]) == 'select') { + next.selectCard = arguments[i]; + } + else if (typeof arguments[i] == 'boolean') { + next.forced = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'position') { + next.position = arguments[i]; + } + else if (typeof arguments[i] == 'function') { + if (next.filterCard) next.ai = arguments[i]; + else next.filterCard = arguments[i]; + } + else if (typeof arguments[i] == 'object' && arguments[i]) { + next.filterCard = get.filter(arguments[i]); + filter = arguments[i]; + } + else if (arguments[i] == 'nosource') { + next.nosource = true; + } + else if (typeof arguments[i] == 'string') { + next.prompt = arguments[i]; + } + } + if (next.filterCard == undefined) next.filterCard = lib.filter.all; + if (next.selectCard == undefined) next.selectCard = [1, 1]; + if (next.source == undefined && !next.nosource) next.source = _status.event.player; + if (next.ai == undefined) next.ai = get.unuseful2; + if (next.prompt != false) { + if (typeof next.prompt == 'string') { + //next.dialog=next.prompt; + } + else { + var str = '请打出' + get.cnNumber(next.selectCard[0]) + '张'; + if (filter) { + if (filter.name) { + str += get.translation(filter.name); + } + else { + str += '牌'; + } + } + else { + str += '牌'; + } + if (_status.event.getParent().name == 'useCard') { + var cardname = _status.event.name; + if (lib.card[cardname] && lib.translate[cardname]) { + str += '响应' + lib.translate[cardname]; + } + } + next.prompt = str; + } + } + next.position = 'hs'; + if (next.ai2 == undefined) next.ai2 = (() => 1); + next.setContent('chooseToRespond'); + next._args = Array.from(arguments); + return next; + } + chooseToGive(...args) { + const next = game.createEvent('chooseToGive'); + next.player = this; + if (args.length == 1 && get.is.object(args[0])) { + for (const i in args[0]) next[i] = args[0][i]; + } + else for (const arg of args) { + if (get.itemtype(arg) == 'player') { + next.target = arg; + } + else if (typeof arg == 'number') { + next.selectCard = [arg, arg]; + } + else if (get.itemtype(arg) == 'select') { + next.selectCard = arg; + } + else if (get.itemtype(arg) == 'dialog') { + next.dialog = arg; + next.prompt = false; + } + else if (typeof arg == 'boolean') { + next.forced = arg; + } + else if (get.itemtype(arg) == 'position') { + next.position = arg; + } + else if (typeof arg == 'function') { + if (next.filterCard) next.ai = arg; + else next.filterCard = arg; + } + else if (typeof arg == 'object' && arg) { + next.filterCard = get.filter(arg); + } + else if (typeof arg == 'string') { + get.evtprompt(next, arg); + } + if (arg === null) console.log(args); + } + if (next.isMine() == false && next.dialog) next.dialog.style.display = 'none'; + if (next.filterCard == undefined) next.filterCard = lib.filter.all; + if (next.selectCard == undefined) next.selectCard = [1, 1]; + if (next.position == undefined) next.position = 'h'; + if (next.ai == undefined) next.ai = get.unuseful; + next.setContent('chooseToGive'); + next._args = args; + return next; + } + chooseToDiscard() { + var next = game.createEvent('chooseToDiscard'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'number') { + next.selectCard = [arguments[i], arguments[i]]; + } + else if (get.itemtype(arguments[i]) == 'select') { + next.selectCard = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'dialog') { + next.dialog = arguments[i]; + next.prompt = false; + } + else if (typeof arguments[i] == 'boolean') { + next.forced = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'position') { + next.position = arguments[i]; + } + else if (typeof arguments[i] == 'function') { + if (next.filterCard) next.ai = arguments[i]; + else next.filterCard = arguments[i]; + } + else if (typeof arguments[i] == 'object' && arguments[i]) { + next.filterCard = get.filter(arguments[i]); + } + else if (typeof arguments[i] == 'string') { + get.evtprompt(next, arguments[i]); + } + if (arguments[i] === null) { + for (var i = 0; i < arguments.length; i++) { + console.log(arguments[i]); + } + } + } + if (next.isMine() == false && next.dialog) next.dialog.style.display = 'none'; + if (next.filterCard == undefined) next.filterCard = lib.filter.all; + if (next.selectCard == undefined) next.selectCard = [1, 1]; + if (next.ai == undefined) next.ai = get.unuseful; + next.autochoose = function () { + if (!this.forced) return false; + if (typeof this.selectCard == 'function') return false; + var cards = this.player.getCards(this.position); + var num = cards.length; + for (var i = 0; i < cards.length; i++) { + if (!lib.filter.cardDiscardable(cards[i], this.player, this)) num--; + } + return get.select(this.selectCard)[0] >= num; + }; + next.setContent('chooseToDiscard'); + next._args = Array.from(arguments); + return next; + } + chooseToCompare(target, check) { + var next = game.createEvent('chooseToCompare'); + next.player = this; + if (Array.isArray(target)) { + next.targets = target; + if (check) next.ai = check; + else next.ai = function (card) { + if (typeof card == 'string' && lib.skill[card]) { + var ais = lib.skill[card].check || function () { return 0; }; + return ais(); + } + var addi = (get.value(card) >= 8 && get.type(card) != 'equip') ? -3 : 0; + if (card.name == 'du') addi -= 3; + var source = _status.event.source; + var player = _status.event.player; + var event = _status.event.getParent(); + var getn = function (card) { + if (player.hasSkill('tianbian') && get.suit(card) == 'heart') return 13 * (Boolean(event.small) ? -1 : 1); + return get.number(card) * (Boolean(event.small) ? -1 : 1); + }; + if (source && source != player) { + if (get.attitude(player, source) > 1) { + if (Boolean(event.small)) return getn(card) - get.value(card) / 3 + addi; + return -getn(card) - get.value(card) / 3 + addi; + } + if (Boolean(event.small)) return -getn(card) - get.value(card) / 5 + addi; + return getn(card) - get.value(card) / 5 + addi; + } + else { + if (Boolean(event.small)) return -getn(card) - get.value(card) / 5 + addi; + return getn(card) - get.value(card) / 5 + addi; + } + }; + next.setContent('chooseToCompareMultiple'); + } + else { + next.target = target; + if (check) next.ai = check; + else next.ai = function (card) { + if (typeof card == 'string' && lib.skill[card]) { + var ais = lib.skill[card].check || function () { return 0; }; + return ais(); + } + var player = get.owner(card); + var getn = function (card) { + if (player.hasSkill('tianbian') && get.suit(card) == 'heart') return 13; + return get.number(card); + }; + var event = _status.event.getParent(); + var to = (player == event.player ? event.target : event.player); + var addi = (get.value(card) >= 8 && get.type(card) != 'equip') ? -6 : 0; + var friend = get.attitude(player, to) > 0; + if (card.name == 'du') addi -= 5; + if (player == event.player) { + if (Boolean(event.small)) return -getn(card) - get.value(card) / (friend ? 4 : 5) + addi; + return getn(card) - get.value(card) / (friend ? 4 : 5) + addi; + } + else { + if (friend == Boolean(event.small)) return getn(card) - get.value(card) / (friend ? 3 : 5) + addi; + return -getn(card) - get.value(card) / (friend ? 3 : 5) + addi; + } + }; + next.setContent('chooseToCompare'); + } + next.forceDie = true; + next._args = Array.from(arguments); + return next; + } + chooseSkill(target) { + var next = game.createEvent('chooseSkill'); + next.player = this; + next.setContent('chooseSkill'); + next.target = target; + for (var i = 1; i < arguments.length; i++) { + if (typeof arguments[i] == 'string') { + next.prompt = arguments[i]; + } + else if (typeof arguments[i] == 'function') { + next.func = arguments[i]; + } + } + } + discoverCard(list) { + var next = game.createEvent('discoverCard'); + next.player = this; + next.setContent('discoverCard'); + next.list = list || lib.inpile.slice(0); + next.forced = true; + for (var i = 1; i < arguments.length; i++) { + if (typeof arguments[i] == 'boolean') { + next.forced = arguments[i]; + } + else if (typeof arguments[i] == 'string') { + switch (arguments[i]) { + case 'use': next.use = true; break; + case 'nogain': next.nogain = true; break; + default: next.prompt = arguments[i]; + } + } + else if (typeof arguments[i] == 'number') { + next.num = arguments[i]; + } + else if (typeof arguments[i] === 'function') { + next.ai = arguments[i]; + } + } + return next; + } + chooseCardButton() { + var cards, prompt, forced, select; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'cards') cards = arguments[i]; + else if (typeof arguments[i] == 'boolean') forced = arguments[i]; + else if (typeof arguments[i] == 'string') prompt = arguments[i]; + else if (get.itemtype(arguments[i]) == 'select' || typeof arguments[i] == 'number') select = arguments[i]; + } + if (prompt == undefined) prompt = '请选择卡牌'; + return this.chooseButton(forced, select, 'hidden', [prompt, cards, 'hidden']); + } + chooseVCardButton() { + var list, prompt, forced, select, notype = false; + for (var i = 0; i < arguments.length; i++) { + if (Array.isArray(arguments[i])) { + list = arguments[i]; + } + else if (arguments[i] == 'notype') { + notype = true; + } + else if (typeof arguments[i] == 'boolean') forced = arguments[i]; + else if (typeof arguments[i] == 'string') prompt = arguments[i]; + else if (get.itemtype(arguments[i]) == 'select' || typeof arguments[i] == 'number') select = arguments[i]; + } + for (var i = 0; i < list.length; i++) { + list[i] = [notype ? '' : (get.subtype(list[i], false) || get.type(list[i])), '', list[i]]; + } + if (prompt == undefined) prompt = '请选择卡牌'; + return this.chooseButton(forced, select, 'hidden', [prompt, [list, 'vcard'], 'hidden']); + } + chooseButton() { + var next = game.createEvent('chooseButton'); + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'boolean') { + next.forced = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'dialog') { + next.dialog = arguments[i]; + next.closeDialog = true; + } + else if (get.itemtype(arguments[i]) == 'select') { + next.selectButton = arguments[i]; + } + else if (typeof arguments[i] == 'number') { + next.selectButton = [arguments[i], arguments[i]]; + } + else if (typeof arguments[i] == 'function') { + if (next.ai) next.filterButton = arguments[i]; + else next.ai = arguments[i]; + } + else if (Array.isArray(arguments[i])) { + next.createDialog = arguments[i]; + } + } + next.player = this; + if (typeof next.forced != 'boolean') next.forced = false; + if (next.isMine() == false && next.dialog) next.dialog.style.display = 'none'; + if (next.filterButton == undefined) next.filterButton = lib.filter.filterButton; + if (next.selectButton == undefined) next.selectButton = [1, 1]; + if (next.ai == undefined) next.ai = function () { return 1; }; + next.setContent('chooseButton'); + next._args = Array.from(arguments); + next.forceDie = true; + return next; + } + chooseButtonOL(list, callback, ai) { + var next = game.createEvent('chooseButtonOL'); + next.list = list; + next.setContent('chooseButtonOL'); + next.ai = ai; + next.callback = callback; + next._args = Array.from(arguments); + return next; + } + chooseCardOL() { + var next = game.createEvent('chooseCardOL'); + next._args = []; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'players') { + next.list = arguments[i].slice(0); + } + else { + next._args.push(arguments[i]); + } + } + next.setContent('chooseCardOL'); + next._args.add('glow_result'); + return next; + } + chooseCard(choose) { + var next = game.createEvent('chooseCard'); + next.player = this; + if (arguments.length == 1 && get.is.object(choose)) { + for (var i in choose) { + next[i] = choose[i]; + } + } + else { + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'number') { + next.selectCard = [arguments[i], arguments[i]]; + } + else if (get.itemtype(arguments[i]) == 'select') { + next.selectCard = arguments[i]; + } + else if (typeof arguments[i] == 'boolean') { + next.forced = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'position') { + next.position = arguments[i]; + } + else if (typeof arguments[i] == 'function') { + if (next.filterCard) next.ai = arguments[i]; + else next.filterCard = arguments[i]; + } + else if (typeof arguments[i] == 'object' && arguments[i]) { + next.filterCard = get.filter(arguments[i]); + } + else if (arguments[i] == 'glow_result') { + next.glow_result = true; + } + else if (typeof arguments[i] == 'string') { + get.evtprompt(next, arguments[i]); + } + } + } + if (next.filterCard == undefined) next.filterCard = lib.filter.all; + if (next.selectCard == undefined) next.selectCard = [1, 1]; + if (next.ai == undefined) next.ai = get.unuseful3; + next.setContent('chooseCard'); + next._args = Array.from(arguments); + return next; + } + chooseUseTarget() { + var next = game.createEvent('chooseUseTarget'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'cards') { + next.cards = arguments[i].slice(0); + } + else if (get.itemtype(arguments[i]) == 'card') { + next.card = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'players') { + next.targets = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'player') { + next.targets = [arguments[i]]; + } + else if (get.itemtype(arguments[i]) == 'select') { + next.selectTarget = arguments[i]; + } + else if (typeof arguments[i] == 'number') { + next.selectTarget = [arguments[i], arguments[i]]; + } + else if (get.is.object(arguments[i]) && arguments[i].name) { + next.card = arguments[i]; + } + else if (typeof arguments[i] == 'string') { + if (arguments[i] == 'nopopup') { + next.nopopup = true; + } + else if (arguments[i] == 'noanimate') { + next.animate = false; + } + else if (arguments[i] == 'nothrow') { + next.throw = false; + } + else if (arguments[i] == 'nodistance') { + next.nodistance = true; + } + else if (arguments[i] == 'noTargetDelay') { + next.noTargetDelay = true; + } + else if (arguments[i] == 'nodelayx') { + next.nodelayx = true; + } + else if (lib.card[arguments[i]] && !next.card) { + next.card = { name: arguments[i], isCard: true }; + } + else get.evtprompt(next, arguments[i]); + } + else if (arguments[i] === true) { + next.forced = true; + } + else if (arguments[i] === false) { + next.addCount = false; + } + } + if (!next.targets) next.targets = game.players.slice(0); + if (next.cards == undefined) { + if (get.itemtype(next.card) == 'card') { + next.cards = [next.card]; + } + else next.cards = []; + } + else if (next.card == undefined) { + if (next.cards) { + next.card = next.cards[0]; + } + } + next.setContent('chooseUseTarget'); + next._args = Array.from(arguments); + return next; + // Fully Online-Ready! Enjoy It! + } + chooseTarget() { + var next = game.createEvent('chooseTarget'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'number') { + next.selectTarget = [arguments[i], arguments[i]]; + } + else if (get.itemtype(arguments[i]) == 'select') { + next.selectTarget = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'dialog') { + next.dialog = arguments[i]; + next.prompt = false; + } + else if (typeof arguments[i] == 'boolean') { + next.forced = arguments[i]; + } + else if (typeof arguments[i] == 'function') { + if (next.filterTarget) next.ai = arguments[i]; + else next.filterTarget = arguments[i]; + } + else if (typeof arguments[i] == 'string') { + get.evtprompt(next, arguments[i]); + } + } + if (next.filterTarget == undefined) next.filterTarget = lib.filter.all; + if (next.selectTarget == undefined) next.selectTarget = [1, 1]; + if (next.ai == undefined) next.ai = get.attitude2; + next.setContent('chooseTarget'); + next._args = Array.from(arguments); + next.forceDie = true; + return next; + } + chooseCardTarget(choose) { + var next = game.createEvent('chooseCardTarget'); + next.player = this; + if (arguments.length == 1) { + for (var i in choose) { + next[i] = choose[i]; + } + } + if (typeof next.filterCard == 'object') { + next.filterCard = get.filter(next.filterCard); + } + if (typeof next.filterTarget == 'object') { + next.filterTarget = get.filter(next.filterTarget, 2); + } + if (next.filterCard == undefined || next.filterCard === true) { + next.filterCard = lib.filter.all; + } + if (next.selectCard == undefined) { + next.selectCard = 1; + } + if (next.filterTarget == undefined || next.filterTarget === true) { + next.filterTarget = lib.filter.all; + } + if (next.selectTarget == undefined) { + next.selectTarget = 1; + } + if (next.ai1 == undefined) next.ai1 = get.unuseful2; + if (next.ai2 == undefined) next.ai2 = get.attitude2; + next.setContent('chooseCardTarget'); + next._args = Array.from(arguments); + return next; + } + chooseControlList() { + var list = []; + var prompt = null; + var forced = 'cancel2'; + var func = null; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'string') { + if (!prompt) { + prompt = arguments[i]; + } + else { + list.push(arguments[i]); + } + } + else if (Array.isArray(arguments[i])) { + list = arguments[i]; + } + else if (arguments[i] === true) { + forced = null; + } + else if (typeof arguments[i] == 'function') { + func = arguments[i]; + } + } + return this.chooseControl(forced, func).set('choiceList', list).set('prompt', prompt); + } + chooseControl() { + var next = game.createEvent('chooseControl'); + next.controls = []; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'string') { + if (arguments[i] == 'dialogcontrol') { + next.dialogcontrol = true; + } + else if (arguments[i] == 'seperate') { + next.seperate = true; + } + else { + next.controls.push(arguments[i]); + } + } + else if (Array.isArray(arguments[i])) { + next.controls = next.controls.concat(arguments[i]); + } + else if (typeof arguments[i] == 'function') { + next.ai = arguments[i]; + } + else if (typeof arguments[i] == 'number') { + next.choice = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'dialog') { + next.dialog = arguments[i]; + } + } + next.player = this; + if (next.choice == undefined) next.choice = 0; + next.setContent('chooseControl'); + next._args = Array.from(arguments); + next.forceDie = true; + return next; + } + chooseBool() { + var next = game.createEvent('chooseBool'); + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'boolean') { + next.choice = arguments[i]; + } + else if (typeof arguments[i] == 'function') { + next.ai = arguments[i]; + } + else if (typeof arguments[i] == 'string') { + get.evtprompt(next, arguments[i]); + } + else if (get.itemtype(arguments[i]) == 'dialog') { + next.dialog = arguments[i]; + } + if (next.choice == undefined) next.choice = true; + } + next.player = this; + next.setContent('chooseBool'); + next._args = Array.from(arguments); + next.forceDie = true; + return next; + } + chooseDrawRecover() { + var next = game.createEvent('chooseDrawRecover', false); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'number') { + if (typeof next.num1 == 'number') { + next.num2 = arguments[i]; + } + else { + next.num1 = arguments[i]; + } + } + else if (typeof arguments[i] == 'boolean') { + next.forced = arguments[i]; + } + else if (typeof arguments[i] == 'string') { + next.prompt = arguments[i]; + } + else if (typeof arguments[i] == 'function') { + next.ai = arguments[i]; + } + } + if (typeof next.num1 != 'number') { + next.num1 = 1; + } + if (typeof next.num2 != 'number') { + next.num2 = 1; + } + next.setContent('chooseDrawRecover'); + return next; + } + choosePlayerCard() { + var next = game.createEvent('choosePlayerCard'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'player') { + next.target = arguments[i]; + } + else if (typeof arguments[i] == 'number') { + next.selectButton = [arguments[i], arguments[i]]; + } + else if (get.itemtype(arguments[i]) == 'select') { + next.selectButton = arguments[i]; + } + else if (typeof arguments[i] == 'boolean') { + next.forced = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'position') { + next.position = arguments[i]; + } + else if (arguments[i] == 'visible') { + next.visible = true; + } + else if (typeof arguments[i] == 'function') { + if (next.ai) next.filterButton = arguments[i]; + else next.ai = arguments[i]; + } + else if (typeof arguments[i] == 'object' && arguments[i]) { + next.filterButton = get.filter(arguments[i]); + } + else if (typeof arguments[i] == 'string') { + next.prompt = arguments[i]; + } + } + if (next.filterButton == undefined) next.filterButton = lib.filter.all; + if (next.position == undefined) next.position = 'he'; + if (next.selectButton == undefined) next.selectButton = [1, 1]; + if (next.ai == undefined) next.ai = function (button) { + var val = get.buttonValue(button); + if (get.attitude(_status.event.player, get.owner(button.link)) > 0) return -val; + return val; + }; + next.setContent('choosePlayerCard'); + next._args = Array.from(arguments); + return next; + } + discardPlayerCard() { + var next = game.createEvent('discardPlayerCard'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'player') { + next.target = arguments[i]; + } + else if (typeof arguments[i] == 'number') { + next.selectButton = [arguments[i], arguments[i]]; + } + else if (get.itemtype(arguments[i]) == 'select') { + next.selectButton = arguments[i]; + } + else if (typeof arguments[i] == 'boolean') { + next.forced = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'position') { + next.position = arguments[i]; + } + else if (arguments[i] == 'visible') { + next.visible = true; + } + else if (typeof arguments[i] == 'function') { + if (next.ai) next.filterButton = arguments[i]; + else next.ai = arguments[i]; + } + else if (typeof arguments[i] == 'object' && arguments[i]) { + next.filterButton = get.filter(arguments[i]); + } + else if (typeof arguments[i] == 'string') { + next.prompt = arguments[i]; + } + } + if (next.filterButton == undefined) next.filterButton = lib.filter.all; + if (next.position == undefined) next.position = 'he'; + if (next.selectButton == undefined) next.selectButton = [1, 1]; + if (next.ai == undefined) next.ai = function (button) { + var val = get.buttonValue(button); + if (get.attitude(_status.event.player, get.owner(button.link)) > 0) return -val; + return val; + }; + next.setContent('discardPlayerCard'); + next._args = Array.from(arguments); + return next; + } + gainPlayerCard() { + var next = game.createEvent('gainPlayerCard'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'player') { + next.target = arguments[i]; + } + else if (typeof arguments[i] == 'number') { + next.selectButton = [arguments[i], arguments[i]]; + } + else if (get.itemtype(arguments[i]) == 'select') { + next.selectButton = arguments[i]; + } + else if (typeof arguments[i] == 'boolean') { + next.forced = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'position') { + next.position = arguments[i]; + } + else if (arguments[i] == 'visible') { + next.visible = true; + } + else if (arguments[i] == 'visibleMove') { + next.visibleMove = true; + } + else if (typeof arguments[i] == 'function') { + if (next.ai) next.filterButton = arguments[i]; + else next.ai = arguments[i]; + } + else if (typeof arguments[i] == 'object' && arguments[i]) { + next.filterButton = get.filter(arguments[i]); + } + else if (typeof arguments[i] == 'string') { + next.prompt = arguments[i]; + } + } + if (next.filterButton == undefined) next.filterButton = lib.filter.all; + if (next.position == undefined) next.position = 'he'; + if (next.selectButton == undefined) next.selectButton = [1, 1]; + if (next.ai == undefined) next.ai = function (button) { + var val = get.buttonValue(button); + if (get.attitude(_status.event.player, get.owner(button.link)) > 0) return -val; + return val; + }; + next.setContent('gainPlayerCard'); + next._args = Array.from(arguments); + return next; + } + showHandcards(str) { + var next = game.createEvent('showHandcards'); + next.player = this; + if (typeof str == 'string') { + next.prompt = str; + } + next.setContent('showHandcards'); + next._args = Array.from(arguments); + return next; + } + showCards(cards, str) { + var next = game.createEvent('showCards'); + next.player = this; + next.str = str; + if (typeof cards == 'string') { + str = cards; + cards = next.str; + next.str = str; + } + if (get.itemtype(cards) == 'card') next.cards = [cards]; + else if (get.itemtype(cards) == 'cards') next.cards = cards.slice(0); + else _status.event.next.remove(next); + next.setContent('showCards'); + next._args = Array.from(arguments); + return next; + } + viewCards(str, cards) { + var next = game.createEvent('viewCards'); + next.player = this; + next.str = str; + next.cards = cards.slice(0); + next.setContent('viewCards'); + next._args = Array.from(arguments); + return next; + } + viewHandcards(target) { + var cards = target.getCards('h'); + if (cards.length) { + return this.viewCards(get.translation(target) + '的手牌', cards); + } + else { + return false; + } + } + canMoveCard(withatt, nojudge) { + const player = this; + const args = Array.from(arguments).slice(2); + let sourceTargets, aimTargets, filterCard, canReplace; + args.forEach(arg => { + if (get.itemtype(arg) == 'players') { + if (!sourceTargets) sourceTargets = arg; + else if (!aimTargets) aimTargets = arg; + } + else if (get.itemtype(arg) == 'player') { + if (!sourceTargets) sourceTargets = [arg]; + else if (!aimTargets) aimTargets = [arg]; + } + else if (typeof arg == 'function') { + filterCard = arg; + } + else if (typeof arg == 'object' && arg) { + filterCard = get.filter(arg); + } + else if (arg == 'canReplace') { + canReplace = true; + } + }); + if (!sourceTargets) sourceTargets = game.filterPlayer(); + if (!aimTargets) aimTargets = game.filterPlayer(); + return sourceTargets.some(current => { + const att = get.sgn(get.attitude(player, current)); + if (!withatt || att != 0) { + var es = current.getCards('e', filterCard); + for (var i = 0; i < es.length; i++) { + if (aimTargets.some(current2 => { + if (withatt) { + if (get.sgn(get.value(es[i], current)) != -att) return false; + var att2 = get.sgn(get.attitude(player, current2)); + if (!canReplace || att < 0 && current2.countEquipableSlot(get.subtype(es[i]))) { + if (att == att2 || att2 != get.sgn(get.effect(current2, es[i], player, current2))) return false; + } + } + return current != current2 && !current2.isMin() && current2.canEquip(es[i], canReplace); + })) { + return true; + } + } + } + if (!nojudge && (!withatt || att > 0)) { + var js = current.getCards('j', filterCard); + for (var i = 0; i < js.length; i++) { + if (game.hasPlayer(function (current2) { + if (withatt) { + var att2 = get.attitude(player, current2); + if (att2 >= 0) return false; + } + return current != current2 && current2.canAddJudge(js[i]); + })) { + return true; + } + } + } + }); + } + moveCard() { + var next = game.createEvent('moveCard'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'boolean') { + next.forced = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'players') { + if (!next.sourceTargets) next.sourceTargets = arguments[i]; + else if (!next.aimTargets) next.aimTargets = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'player') { + if (!next.sourceTargets) next.sourceTargets = [arguments[i]]; + else if (!next.aimTargets) next.aimTargets = [arguments[i]]; + } + else if (typeof arguments[i] == 'string') { + if (arguments[i] == 'canReplace') { + next.canReplace = true; + } + else { + get.evtprompt(next, arguments[i]); + } + } + else if (Array.isArray(arguments[i])) { + for (var j = 0; j < arguments[i].length; j++) { + if (typeof arguments[i][j] != 'string') break; + } + if (j == arguments[i].length) { + next.targetprompt = arguments[i]; + } + } + else if (typeof arguments[i] == 'function') { + next.filter = arguments[i]; + } + else if (typeof arguments[i] == 'object' && arguments[i]) { + next.filter = get.filter(arguments[i]); + } + } + if (!next.sourceTargets) next.sourceTargets = game.filterPlayer(); + if (!next.aimTargets) next.aimTargets = game.filterPlayer(); + if (next.filter == undefined) next.filter = lib.filter.all; + next.setContent('moveCard'); + next._args = Array.from(arguments); + return next; + } + useResult(result, event) { + event = event || _status.event; + if (result._sendskill) { + lib.skill[result._sendskill[0]] = result._sendskill[1]; + } + if (event.onresult) { + event.onresult(result); + } + if (result.skill) { + var info = get.info(result.skill); + if (info.onuse) { + info.onuse(result, this); + } + // if(info.direct&&!info.clearTime){ + // _status.noclearcountdown=true; + // } + } + if (event.logSkill) { + if (typeof event.logSkill == 'string') { + this.logSkill(event.logSkill); + } + else if (Array.isArray(event.logSkill)) { + this.logSkill.apply(this, event.logSkill); + } + } + if (result.card || !result.skill) { + result.used = result.card || result.cards[0]; + var next = this.useCard(result.used, result.cards, result.targets, result.skill); + next.oncard = event.oncard; + next.respondTo = event.respondTo; + if (event.addCount === false) { + next.addCount = false; + } + if (result._apply_args) { + for (var i in result._apply_args) { + next[i] = result._apply_args[i]; + } + } + return next; + } + else if (result.skill) { + result.used = result.skill; + return this.useSkill(result.skill, result.cards, result.targets); + } + } + useCard() { + var next = game.createEvent('useCard'); + next.player = this; + next.num = 0; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'cards') { + next.cards = arguments[i].slice(0); + } + else if (get.itemtype(arguments[i]) == 'players') { + next.targets = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'player') { + next.targets = [arguments[i]]; + } + else if (get.itemtype(arguments[i]) == 'card') { + next.card = arguments[i]; + } + else if (typeof arguments[i] == 'object' && arguments[i] && arguments[i].name) { + next.card = arguments[i]; + } + else if (typeof arguments[i] == 'string') { + if (arguments[i] == 'noai') { + next.noai = true; + } + else if (arguments[i] == 'nowuxie') { + next.nowuxie = true; + } + else { + next.skill = arguments[i]; + } + } + else if (typeof arguments[i] == 'boolean') { + next.addCount = arguments[i]; + } + } + if (next.cards == undefined) { + if (get.itemtype(next.card) == 'card') { + next.cards = [next.card]; + } + else next.cards = []; + } + else if (next.card == undefined) { + if (next.cards) { + next.card = next.cards[0]; + } + } + if (!next.targets) { + next.targets = []; + } + if (next.card) { + next.card = get.autoViewAs(next.card, next.cards); + var info = get.info(next.card); + if (info.changeTarget) { + info.changeTarget(next.player, next.targets); + } + if (info.singleCard) { + next._targets = next.targets.slice(0); + next.target = next.targets[0]; + next.addedTargets = next.targets.splice(1); + if (next.addedTargets.length) { + next.addedTarget = next.addedTargets[0]; + } + } + } + for (var i = 0; i < next.targets.length; i++) { + if (get.attitude(this, next.targets[i]) >= -1 && get.attitude(this, next.targets[i]) < 0) { + if (!this.ai.tempIgnore) this.ai.tempIgnore = []; + this.ai.tempIgnore.add(next.targets[i]); + } + } + if (typeof this.logAi == 'function' && !next.noai && !get.info(next.card).noai) { + var postAi = get.info(next.card).postAi; + if (postAi && postAi(next.targets)) { + next.postAi = true; + } + else { + this.logAi(next.targets, next.card); + } + } + next.stocktargets = next.targets.slice(0); + next.setContent('useCard'); + return next; + } + useSkill() { + var next = game.createEvent('useSkill'); + next.player = this; + next.num = 0; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'cards') { + next.cards = arguments[i].slice(0); + } + else if (get.itemtype(arguments[i]) == 'players') { + next.targets = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'card') { + next.card = arguments[i]; + } + else if (typeof arguments[i] == 'string') { + next.skill = arguments[i]; + } + else if (typeof arguments[i] == 'boolean') { + next.addCount = arguments[i]; + } + } + if (next.cards == undefined) { + next.cards = []; + } + if (next.skill && get.info(next.skill) && get.info(next.skill).changeTarget) { + get.info(next.skill).changeTarget(next.player, next.targets); + } + if (next.targets) { + for (var i = 0; i < next.targets.length; i++) { + if (get.attitude(this, next.targets[i]) >= -1 && get.attitude(this, next.targets[i]) < 0) { + if (!this.ai.tempIgnore) this.ai.tempIgnore = []; + this.ai.tempIgnore.add(next.targets[i]); + } + } + if (typeof this.logAi == 'function') { + this.logAi(next.targets, next.skill); + } + } + else { + next.targets = []; + } + next.setContent('useSkill'); + return next; + } + drawTo(num, args) { + var num2 = num - this.countCards('h'); + if (!num2) return; + var next = this.draw(num2); + if (Array.isArray(args)) { + for (var i = 0; i < args.length; i++) { + if (get.itemtype(args[i]) == 'player') { + next.source = args[i]; + } + else if (typeof args[i] == 'boolean') { + next.animate = args[i]; + } + else if (args[i] == 'nodelay') { + next.animate = false; + next.$draw = true; + } + else if (args[i] == 'visible') { + next.visible = true; + } + else if (args[i] == 'bottom') { + next.bottom = true; + } + else if (typeof args[i] == 'object' && args[i] && args[i].drawDeck != undefined) { + next.drawDeck = args[i].drawDeck; + } + } + } + return next; + } + draw() { + var next = game.createEvent('draw'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'player') { + next.source = arguments[i]; + } + else if (typeof arguments[i] == 'number') { + next.num = arguments[i]; + } + else if (typeof arguments[i] == 'boolean') { + next.animate = arguments[i]; + } + else if (arguments[i] == 'nodelay') { + next.animate = false; + next.$draw = true; + } + else if (arguments[i] == 'visible') { + next.visible = true; + } + else if (arguments[i] == 'bottom') { + next.bottom = true; + } + else if (typeof arguments[i] == 'object' && arguments[i] && arguments[i].drawDeck != undefined) { + next.drawDeck = arguments[i].drawDeck; + } + } + if (next.num == undefined) next.num = 1; + if (next.num <= 0) _status.event.next.remove(next); + next.setContent('draw'); + if (lib.config.mode == 'stone' && _status.mode == 'deck' && + next.drawDeck == undefined && !next.player.isMin() && next.num > 1) { + next.drawDeck = 1; + } + next.result = []; + return next; + } + randomDiscard() { + var position = 'he', num = 1, delay = null; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'number') { + num = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'position') { + position = arguments[i]; + } + else if (typeof arguments[i] == 'boolean') { + delay = arguments[i]; + } + } + var cards = this.getCards(position).randomGets(num); + if (cards.length) { + var next = this.discard(cards, 'notBySelf'); + if (typeof delay == 'boolean') { + next.delay = delay; + } + } + return cards; + } + randomGain() { + var position = 'he', num = 1, target = null, line = false; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'number') { + num = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'position') { + position = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'player') { + target = arguments[i]; + } + else if (typeof arguments[i] == 'boolean') { + line = arguments[i]; + } + } + if (target) { + var cards = target.getCards(position).randomGets(num); + if (cards.length) { + if (line) { + this.line(target, 'green'); + } + this.gain(cards, target, 'log', 'bySelf'); + target.$giveAuto(cards, this); + } + return cards; + } + return []; + } + discard() { + var next = game.createEvent('discard'); + next.player = this; + next.num = 0; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'player') { + next.source = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'cards') { + next.cards = arguments[i].slice(0); + } + else if (get.itemtype(arguments[i]) == 'card') { + next.cards = [arguments[i]]; + } + else if (typeof arguments[i] == 'boolean') { + next.animate = arguments[i]; + } + else if (['div', 'fragment'].includes(get.objtype(arguments[i]))) { + next.position = arguments[i]; + } + else if (arguments[i] == 'notBySelf') { + next.notBySelf = true; + } + } + if (next.cards == undefined) _status.event.next.remove(next); + next.setContent('discard'); + return next; + } + loseToDiscardpile() { + var next = game.createEvent('loseToDiscardpile'); + next.player = this; + next.num = 0; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'player') { + next.source = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'cards') { + next.cards = arguments[i].slice(0); + } + else if (get.itemtype(arguments[i]) == 'card') { + next.cards = [arguments[i]]; + } + else if (typeof arguments[i] == 'boolean') { + next.animate = arguments[i]; + } + else if (['div', 'fragment'].includes(get.objtype(arguments[i]))) { + next.position = arguments[i]; + } + else if (arguments[i] == 'notBySelf') { + next.notBySelf = true; + } + else if (arguments[i] == 'insert') { + next.insert_card = true; + } + else if (arguments[i] == 'blank') { + next.blank = true; + } + } + if (next.cards == undefined) _status.event.next.remove(next); + next.setContent('loseToDiscardpile'); + return next; + } + respond() { + var next = game.createEvent('respond'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'cards') { + next.cards = arguments[i].slice(0); + } + else if (get.itemtype(arguments[i]) == 'card') { + next.card = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'player') { + next.source = arguments[i]; + } + else if (typeof arguments[i] == 'object' && arguments[i] && arguments[i].name) { + next.card = arguments[i]; + } + else if (typeof arguments[i] == 'boolean') next.animate = arguments[i]; + else if (arguments[i] == 'highlight') next.highlight = true; + else if (arguments[i] == 'noOrdering') next.noOrdering = true; + else if (typeof arguments[i] == 'string') next.skill = arguments[i]; + } + if (next.cards == undefined) { + if (get.itemtype(next.card) == 'card') { + next.cards = [next.card]; + } + else { + next.cards = []; + } + } + else if (next.card == undefined) { + if (next.cards) { + next.card = next.cards[0]; + if (!next.skill) { + next.card = get.autoViewAs(next.card, next.cards); + } + } + } + next.setContent('respond'); + return next; + } + swapHandcards(target, cards1, cards2) { + var next = game.createEvent('swapHandcards', false); + next.player = this; + next.target = target; + if (cards1) next.cards1 = cards1; + if (cards2) next.cards2 = cards2; + next.setContent('swapHandcards'); + return next; + } + directequip(cards) { + for (var i = 0; i < cards.length; i++) { + this.$equip(cards[i]); + } + if (!_status.video) { + game.addVideo('directequip', this, get.cardsInfo(cards)); + } + } + $addToExpansion(cards, broadcast, gaintag) { + var hs = this.getCards('x'); + for (var i = 0; i < cards.length; i++) { + if (hs.contains(cards[i])) { + cards.splice(i--, 1); + } + } + for (var i = 0; i < cards.length; i++) { + cards[i].fix(); + if (gaintag) cards[i].addGaintag(gaintag); + var sort = lib.config.sort_card(cards[i]); + this.node.expansions.insertBefore(cards[i], this.node.expansions.firstChild); + } + if (broadcast !== false) game.broadcast(function (player, cards, gaintag) { + player.$addToExpansion(cards, null, gaintag); + }, this, cards, gaintag); + return this; + } + directgain(cards, broadcast, gaintag) { + var hs = this.getCards('hs'); + for (var i = 0; i < cards.length; i++) { + if (hs.contains(cards[i])) { + cards.splice(i--, 1); + } + } + for (var i = 0; i < cards.length; i++) { + cards[i].fix(); + if (gaintag) cards[i].addGaintag(gaintag); + var sort = lib.config.sort_card(cards[i]); + if (this == game.me) { + cards[i].classList.add('drawinghidden'); + } + if (get.is.singleHandcard() || sort > 0) { + this.node.handcards1.insertBefore(cards[i], this.node.handcards1.firstChild); + } + else { + this.node.handcards2.insertBefore(cards[i], this.node.handcards2.firstChild); + } + } + if (this == game.me || _status.video) ui.updatehl(); + if (!_status.video) { + game.addVideo('directgain', this, get.cardsInfo(cards)); + this.update(); + } + if (broadcast !== false) game.broadcast(function (player, cards) { + player.directgain(cards); + }, this, cards); + return this; + } + directgains(cards, broadcast, gaintag) { + var hs = this.getCards('hs'); + for (var i = 0; i < cards.length; i++) { + if (hs.contains(cards[i])) { + cards.splice(i--, 1); + } + } + var addLast = function (card, node) { + if (gaintag) { + for (var i = 0; i < node.childNodes.length; i++) { + var add = node.childNodes[node.childNodes.length - i - 1]; + if (!add.classList.contains('glows')) break; + if (add.hasGaintag(gaintag)) { + node.insertBefore(card, add.nextSibling); + return; + } + } + } + node.appendChild(card); + }; + for (var i = 0; i < cards.length; i++) { + cards[i].fix(); + cards[i].remove(); + if (gaintag) cards[i].addGaintag(gaintag); + cards[i].classList.add('glows'); + if (this == game.me) { + cards[i].classList.add('drawinghidden'); + } + if (get.is.singleHandcard()) { + addLast(cards[i], this.node.handcards1); + } + else { + addLast(cards[i], this.node.handcards2); + } + } + if (this == game.me || _status.video) ui.updatehl(); + if (!_status.video) { + game.addVideo('directgains', this, get.cardsInfo(cards)); + this.update(); + } + if (broadcast !== false) game.broadcast(function (player, cards, gaintag) { + player.directgains(cards, null, gaintag); + }, this, cards, gaintag); + return this; + } + gainMultiple(targets, position) { + var next = game.createEvent('gainMultiple', false); + next.setContent('gainMultiple'); + next.player = this; + next.targets = targets; + next.position = position || 'h'; + return next; + } + gain() { + var next = game.createEvent('gain'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'player') { + next.source = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'cards') { + next.cards = arguments[i].slice(0); + } + else if (get.itemtype(arguments[i]) == 'card') { + next.cards = [arguments[i]]; + } + else if (arguments[i] === 'log') { + next.log = true; + } + else if (arguments[i] == 'fromStorage') { + next.fromStorage = true; + } + else if (arguments[i] == 'fromRenku') { + next.fromStorage = true; + next.fromRenku = true; + } + else if (arguments[i] == 'bySelf') { + next.bySelf = true; + } + else if (typeof arguments[i] == 'string') { + next.animate = arguments[i]; + } + else if (typeof arguments[i] == 'boolean') { + next.delay = arguments[i]; + } + } + if (next.animate == 'gain2' || next.animate == 'draw2') { + if (!('log' in next)) { + next.log = true; + } + } + next.setContent('gain'); + next.getd = function (player, key, position) { + if (!position) position = ui.discardPile; + if (!key) key = 'cards'; + var cards = [], event = this; + game.checkGlobalHistory('cardMove', function (evt) { + if (evt.name != 'lose' || evt.position != position || evt.getParent() != event) return; + if (player && player != evt.player) return; + cards.addArray(evt[key]); + }); + return cards; + }; + next.getl = function (player) { + const that = this; + const map = { + player: player, + hs: [], + es: [], + js: [], + ss: [], + xs: [], + cards: [], + cards2: [], + gaintag_map: {}, + }; + player.checkHistory('lose', function (evt) { + if (evt.parent == that) { + map.hs.addArray(evt.hs); + map.es.addArray(evt.es); + map.js.addArray(evt.js); + map.ss.addArray(evt.ss); + map.xs.addArray(evt.xs); + map.cards.addArray(evt.cards); + map.cards2.addArray(evt.cards2); + for (let key in evt.gaintag_map) { + if (!map.gaintag_map[key]) map.gaintag_map[key] = []; + map.gaintag_map[key].addArray(evt.gaintag_map[key]); + } + } + }); + return map; + }; + next.getg = function (player) { + if (this.getlx === false || player != this.player || !this.cards) return []; + return this.cards.slice(0); + }; + next.gaintag = []; + return next; + } + addToExpansion() { + var next = game.createEvent('addToExpansion'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'player') { + next.source = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'cards') { + next.cards = arguments[i].slice(0); + } + else if (get.itemtype(arguments[i]) == 'card') { + next.cards = [arguments[i]]; + } + else if (arguments[i] === 'log') { + next.log = true; + } + else if (arguments[i] == 'fromStorage') { + next.fromStorage = true; + } + else if (arguments[i] == 'fromRenku') { + next.fromStorage = true; + next.fromRenku = true; + } + else if (arguments[i] == 'bySelf') { + next.bySelf = true; + } + else if (typeof arguments[i] == 'string') { + next.animate = arguments[i]; + } + else if (typeof arguments[i] == 'boolean') { + next.delay = arguments[i]; + } + } + if (next.animate == 'gain2' || next.animate == 'draw2' || next.animate == 'give') { + if (!('log' in next)) { + next.log = true; + } + } + next.setContent('addToExpansion'); + next.getd = function (player, key, position) { + if (!position) position = ui.discardPile; + if (!key) key = 'cards'; + var cards = [], event = this; + game.checkGlobalHistory('cardMove', function (evt) { + if (evt.name != 'lose' || evt.position != position || evt.getParent() != event) return; + if (player && player != evt.player) return; + cards.addArray(evt[key]); + }); + return cards; + }; + next.getl = function (player) { + const that = this; + const map = { + player: player, + hs: [], + es: [], + js: [], + ss: [], + xs: [], + cards: [], + cards2: [], + gaintag_map: {}, + }; + player.checkHistory('lose', function (evt) { + if (evt.parent == that) { + map.hs.addArray(evt.hs); + map.es.addArray(evt.es); + map.js.addArray(evt.js); + map.ss.addArray(evt.ss); + map.xs.addArray(evt.xs); + map.cards.addArray(evt.cards); + map.cards2.addArray(evt.cards2); + for (let key in evt.gaintag_map) { + if (!map.gaintag_map[key]) map.gaintag_map[key] = []; + map.gaintag_map[key].addArray(evt.gaintag_map[key]); + } + } + }); + return map; + }; + next.gaintag = []; + return next; + } + give(cards, target, visible) { + var next = target.gain(cards, this); + next.animate = visible ? 'give' : 'giveAuto'; + next.giver = this; + return next; + } + lose() { + var next = game.createEvent('lose'); + next.player = this; + next.forceDie = true; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'player') { + next.source = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'cards') { + next.cards = arguments[i].slice(0); + } + else if (get.itemtype(arguments[i]) == 'card') { + next.cards = [arguments[i]]; + } + else if (['div', 'fragment'].includes(get.objtype(arguments[i]))) { + next.position = arguments[i]; + } + else if (arguments[i] == 'toStorage') { + next.toStorage = true; + } + else if (arguments[i] == 'toRenku') { + next.toStorage = true; + next.toRenku = true; + } + else if (arguments[i] == 'visible') { + next.visible = true; + } + else if (arguments[i] == 'insert') { + next.insert_card = true; + } + } + if (next.cards) { + var hej = this.getCards('hejsx'); + for (var i = 0; i < next.cards.length; i++) { + if (!hej.contains(next.cards[i])) { + next.cards.splice(i--, 1); + } + } + } + if (!next.cards || !next.cards.length) { + _status.event.next.remove(next); + } + else { + if (next.position == undefined) next.position = ui.discardPile; + next.cards = next.cards.slice(0); + } + next.setContent('lose'); + next.getd = function (player, key, position) { + if (!position) position = ui.discardPile; + if (!key) key = 'cards'; + if (this.getlx === false || this.position != position || (player && this.player != player) || !Array.isArray(this[key])) return []; + return this[key].slice(0); + }; + next.getl = function (player) { + if (this.getlx !== false && this.player == player) return this; + return { + player: player, + hs: [], + es: [], + js: [], + ss: [], + xs: [], + cards: [], + cards2: [], + gaintag_map: {}, + }; + }; + return next; + } + damage() { + const next = game.createEvent('damage'); + //next.forceDie=true; + next.player = this; + let noCard, noSource; + const event = _status.event; + for (const argument of arguments) { + if (get.itemtype(argument) == 'cards') next.cards = argument.slice(); + else if (get.itemtype(argument) == 'card') next.card = argument; + else if (typeof argument == 'number') next.num = argument; + else if (get.itemtype(argument) == 'player') next.source = argument; + else if (argument && typeof argument == 'object' && argument.name) next.card = argument; + else if (argument == 'nocard') noCard = true; + else if (argument == 'nosource') noSource = true; + else if (argument == 'notrigger') { + next._triggered = null; + next.notrigger = true; + } + else if (argument == 'unreal') next.unreal = true; + else if (get.itemtype(argument) == 'nature' && argument != 'stab') next.nature = argument; + else if (get.itemtype(argument) == 'natures') { + const natures = argument.split(lib.natureSeparator).remove('stab'); + if (natures.length) next.nature = natures.join(lib.natureSeparator); + } + } + if (!next.card && !noCard) next.card = event.card; + if (!next.cards && !noCard) next.cards = event.cards; + if (!next.source && !noSource) { + const source = event.customSource || event.player; + if (source && !source.isDead()) next.source = source; + } + if (typeof next.num != 'number') next.num = (event.baseDamage || 1) + (event.extraDamage || 0); + next.original_num = next.num; + next.change_history = []; + next.hasNature = function (nature) { + if (!nature) return Boolean(this.nature && this.nature.length > 0); + let natures = get.natureList(nature), naturesx = get.natureList(this.nature); + if (nature == 'linked') return naturesx.some(n => lib.linked.includes(n)); + return get.is.sameNature(natures, naturesx); + }; + if (next.hasNature('poison')) delete next._triggered; + next.setContent('damage'); + next.filterStop = function () { + if (this.source && this.source.isDead()) delete this.source; + var num = this.original_num; + for (var i of this.change_history) num += i; + if (num != this.num) this.change_history.push(this.num - num); + if (this.num <= 0) { + delete this.filterStop; + this.trigger('damageZero'); + this.finish(); + this._triggered = null; + return true; + } + }; + return next; + } + recover() { + var next = game.createEvent('recover'); + next.player = this; + var nocard, nosource; + var event = _status.event; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'cards') { + next.cards = arguments[i].slice(0); + } + else if (get.itemtype(arguments[i]) == 'card') { + next.card = arguments[i]; + } + else if (get.itemtype(arguments[i]) == 'player') { + next.source = arguments[i]; + } + else if (typeof arguments[i] == 'object' && arguments[i] && arguments[i].name) { + next.card = arguments[i]; + } + else if (typeof arguments[i] == 'number') { + next.num = arguments[i]; + } + else if (arguments[i] == 'nocard') { + nocard = true; + } + else if (arguments[i] == 'nosource') { + nosource = true; + } + } + if (next.card == undefined && !nocard) next.card = event.card; + if (next.cards == undefined && !nocard) next.cards = event.cards; + if (next.source == undefined && !nosource) next.source = event.customSource || event.player; + if (next.num == undefined) next.num = (event.baseDamage || 1) + (event.extraDamage || 0); + if (next.num <= 0) _status.event.next.remove(next); + next.setContent('recover'); + return next; + } + doubleDraw() { + if (get.is.changban()) return; + var next = game.createEvent('doubleDraw'); + next.player = this; + next.setContent('doubleDraw'); + return next; + } + loseHp(num) { + var next = game.createEvent('loseHp'); + next.num = num; + next.player = this; + if (next.num == undefined) next.num = 1; + next.setContent('loseHp'); + return next; + } + loseMaxHp() { + var next = game.createEvent('loseMaxHp'); + next.player = this; + next.num = 1; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] === 'number') { + next.num = arguments[i]; + } + else if (typeof arguments[i] === 'boolean') { + next.forced = arguments[i]; + } + } + next.setContent('loseMaxHp'); + return next; + } + gainMaxHp() { + var next = game.createEvent('gainMaxHp'); + next.player = this; + next.num = 1; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] === 'number') { + next.num = arguments[i]; + } + else if (typeof arguments[i] === 'boolean') { + next.forced = arguments[i]; + } + } + next.setContent('gainMaxHp'); + return next; + } + changeHp(num, popup) { + var next = game.createEvent('changeHp'); + next.num = num; + if (popup != undefined) next.popup = popup; + next.player = this; + next.setContent('changeHp'); + return next; + } + + changeHujia(num, type, limit) { + var next = game.createEvent('changeHujia'); + if (typeof num != 'number') { + num = 1; + } + if (limit === true) limit = 5; + if (typeof limit == 'number' && this.hujia + num > parseInt(limit)) { + num = Math.max(0, parseInt(limit) - this.hujia); + } + if (typeof type != 'string') { + if (num > 0) type = 'gain'; + else if (num < 0) type = 'lose'; + else type = 'null'; + } + next.num = num; + next.player = this; + next.type = type; + next.setContent('changeHujia'); + return next; + } + getBuff() { + var list = [1, 2, 3, 4, 5, 6]; + var nodelay = false; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'number') { + list.remove(arguments[i]); + } + else if (arguments[i] === false) { + nodelay = true; + } + } + if (this.isHealthy()) { + list.remove(2); + } + if (!this.countCards('j')) { + list.remove(5); + } + if (!this.isLinked() && !this.isTurnedOver()) { + list.remove(6); + } + if (this.hasSkill('qianxing')) { + list.remove(4); + } + switch (list.randomGet()) { + case 1: this.draw(nodelay ? 'nodelay' : 1); break; + case 2: this.recover(); break; + case 3: this.changeHujia(); break; + case 4: this.tempHide(); break; + case 5: this.discard(this.getCards('j')).delay = (!nodelay); break; + case 6: { + if (this.isLinked()) this.link(); + if (this.isTurnedOver()) this.turnOver(); + break; + } + } + return this; + } + getDebuff() { + var list = [1, 2, 3, 4, 5, 6]; + var nodelay = false; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'number') { + list.remove(arguments[i]); + } + else if (arguments[i] === false) { + nodelay = true; + } + } + if (this.countCards('he') == 0) { + list.remove(1); + } + if (this.isLinked()) { + list.remove(4); + } + if (this.hasSkill('fengyin')) { + list.remove(5); + } + if (this.hp == 1) { + list.remove(3); + if (list.length > 1) list.remove(2); + } + if (!list.length) return this; + var num = list.randomGet(); + switch (list.randomGet()) { + case 1: this.randomDiscard(nodelay ? false : 'he'); break; + case 2: this.loseHp(); break; + case 3: this.damage(); break; + case 4: if (!this.isLinked()) this.link(); break; + case 5: this.addTempSkill('fengyin', { player: 'phaseAfter' }); break; + case 6: { + var list = []; + for (var i = 0; i < lib.inpile.length; i++) { + var info = lib.card[lib.inpile[i]]; + if (info.type == 'delay' && !info.cancel && !this.hasJudge(lib.inpile[i])) { + list.push(lib.inpile[i]); + } + } + if (list.length) { + var card = game.createCard(list.randomGet()); + this.addJudge(card); + this.$draw(card); + if (!nodelay) game.delay(); + } + else { + this.getDebuff(6); + } + break; + } + } + return this; + } + dying(reason) { + if (this.nodying || this.hp > 0 || this.isDying()) return; + var next = game.createEvent('dying'); + next.player = this; + next.reason = reason; + if (reason && reason.source) next.source = reason.source; + next.setContent('dying'); + next.filterStop = function () { + if (this.player.hp > 0 || this.nodying) { + delete this.filterStop; + return true; + } + }; + return next; + } + die(reason) { + var next = game.createEvent('die'); + next.player = this; + next.reason = reason; + if (reason) next.source = reason.source; + next.setContent('die'); + return next; + } + revive(hp, log) { + if (log !== false) game.log(this, '复活'); + if (this.maxHp < 1) this.maxHp = 1; + if (hp) this.hp = hp; + else { + this.hp = 1; + } + game.addVideo('revive', this); + this.classList.remove('dead'); + this.removeAttribute('style'); + this.node.avatar.style.transform = ''; + this.node.avatar2.style.transform = ''; + this.node.hp.show(); + this.node.equips.show(); + this.node.count.show(); + this.update(); + var player; + player = this.previousSeat; + while (player.isDead()) player = player.previousSeat; + player.next = this; + this.previous = player; + player = this.nextSeat; + while (player.isDead()) player = player.nextSeat; + player.previous = this; + this.next = player; + game.players.add(this); + game.dead.remove(this); + if (this == game.me) { + if (ui.auto) ui.auto.show(); + if (ui.wuxie) ui.wuxie.show(); + if (ui.revive) { + ui.revive.close(); + delete ui.revive; + } + if (ui.exit) { + ui.exit.close(); + delete ui.exit; + } + if (ui.swap) { + ui.swap.close(); + delete ui.swap; + } + if (ui.restart) { + ui.restart.close(); + delete ui.restart; + } + if (ui.continue_game) { + ui.continue_game.close(); + delete ui.continue_game; + } + } + } + isMad() { + return this.hasSkill('mad'); + } + goMad(end) { + if (end) { + this.addTempSkill('mad', end); + } + else { + this.addSkill('mad'); + } + game.log(this, '进入混乱状态'); + } + unMad() { + this.removeSkill('mad'); + } + tempHide() { + this.addTempSkill('qianxing', { player: 'phaseBeginStart' }); + } + addExpose(num) { + if (typeof this.ai.shown == 'number' && !this.identityShown && this.ai.shown < 1) { + this.ai.shown += num; + if (this.ai.shown > 0.95) { + this.ai.shown = 0.95; + } + } + return this; + } + equip(card, draw) { + var next = game.createEvent('equip'); + next.card = card; + next.player = this; + if (draw) { + next.draw = true; + } + next.setContent(lib.element.content.equip); + if (get.is.object(next.card) && next.card.cards) next.card = next.card.cards[0]; + next.cards = [next.card]; + next.getd = function (player, key, position) { + if (!position) position = ui.discardPile; + if (!key) key = 'cards'; + var cards = [], event = this; + game.checkGlobalHistory('cardMove', function (evt) { + if (evt.name != 'lose' || evt.position != position || evt.getParent() != event) return; + if (player && player != evt.player) return; + cards.addArray(evt[key]); + }); + return cards; + }; + next.getl = function (player) { + const that = this; + const map = { + player: player, + hs: [], + es: [], + js: [], + ss: [], + xs: [], + cards: [], + cards2: [], + gaintag_map: {}, + }; + player.checkHistory('lose', function (evt) { + if (evt.parent == that) { + map.hs.addArray(evt.hs); + map.es.addArray(evt.es); + map.js.addArray(evt.js); + map.ss.addArray(evt.ss); + map.xs.addArray(evt.xs); + map.cards.addArray(evt.cards); + map.cards2.addArray(evt.cards2); + for (let key in evt.gaintag_map) { + if (!map.gaintag_map[key]) map.gaintag_map[key] = []; + map.gaintag_map[key].addArray(evt.gaintag_map[key]); + } + } + }); + return map; + }; + return next; + } + addJudge(card, cards) { + var next = game.createEvent('addJudge'); + if (get.itemtype(card) == 'card') { + next.card = card; + next.cards = [card]; + } + else { + next.cards = cards; + if (get.itemtype(next.cards) == 'card') next.cards = [next.cards]; + if (typeof card == 'string') { + card = { name: card }; + } + next.card = get.autoViewAs(card, next.cards); + } + next.player = this; + next.setContent('addJudge'); + next.getd = function (player, key, position) { + if (!position) position = ui.discardPile; + if (!key) key = 'cards'; + var cards = [], event = this; + game.checkGlobalHistory('cardMove', function (evt) { + if (evt.name != 'lose' || evt.position != position || evt.getParent() != event) return; + if (player && player != evt.player) return; + cards.addArray(evt[key]); + }); + return cards; + }; + next.getl = function (player) { + const that = this; + const map = { + player: player, + hs: [], + es: [], + js: [], + ss: [], + xs: [], + cards: [], + cards2: [], + gaintag_map: {}, + }; + player.checkHistory('lose', function (evt) { + if (evt.parent == that) { + map.hs.addArray(evt.hs); + map.es.addArray(evt.es); + map.js.addArray(evt.js); + map.ss.addArray(evt.ss); + map.xs.addArray(evt.xs); + map.cards.addArray(evt.cards); + map.cards2.addArray(evt.cards2); + for (let key in evt.gaintag_map) { + if (!map.gaintag_map[key]) map.gaintag_map[key] = []; + map.gaintag_map[key].addArray(evt.gaintag_map[key]); + } + } + }); + return map; + }; + return next; + } + canAddJudge(card) { + if (this.isDisabledJudge()) return false; + var name; + if (typeof card == 'string') { + name = card; + } + else { + name = card.viewAs || card.name; + } + if (!name) return false; + if (this.hasJudge(name)) return false; + if (this.isOut()) return false; + var mod = game.checkMod(card, this, this, 'unchanged', 'targetEnabled', this); + if (mod != 'unchanged') return mod; + return true; + } + addJudgeNext(card, unlimited) { + if (!card.expired) { + let target = this.next; + const name = card.viewAs || card.name; + const cards = (get.itemtype(card) == 'card') ? [card] : card.cards; + if (get.itemtype(cards) != 'cards') return; + let bool = false; + if (!unlimited && cards.some(card => { + const position = get.position(card, true); + return position != 'j' && position != 'o'; + })) { + game.log(card, '已被移出处理区,无法置入判定区'); + return; + } + for (let iwhile = 0; iwhile < 20; iwhile++) { + if (target.canAddJudge(card)) { + bool = true; break; + } + target = target.next; + } + if (bool) { + if (card.cards && card.cards.length) { + target.addJudge(name, card.cards[0]); + } + else if (card.name != name) { + target.addJudge(name, card); + } + else { + target.addJudge(card); + } + } + } + else { + card.expired = false; + } + } + judge() { + var next = game.createEvent('judge'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (get.itemtype(arguments[i]) == 'card') { + next.card = arguments[i]; + } + else if (typeof arguments[i] == 'string') { + next.skill = arguments[i]; + } + else if (typeof arguments[i] == 'function') { + next.judge = arguments[i]; + } + else if (typeof arguments[i] == 'boolean') { + next.clearArena = arguments[i]; + } + else if (['div', 'fragment'].includes(get.objtype(arguments[i]))) { + next.position = arguments[i]; + } + } + if (next.card && next.judge == undefined) { + next.judge = get.judge(next.card); + next.judge2 = get.judge2(next.card); + } + if (next.judge == undefined) next.judge = function () { return 0; }; + if (next.position == undefined) next.position = ui.discardPile; + if (next.card) next.cardname = next.card.viewAs || next.card.name; + + var str = ''; + if (next.card) str = get.translation(next.card.viewAs || next.card.name); + else if (next.skill) str = get.translation(next.skill); + else str = get.translation(_status.event.name); + next.judgestr = str; + next.setContent('judge'); + return next; + } + turnOver(bool) { + if (typeof bool == 'boolean') { + if (bool) { + if (this.isTurnedOver()) return; + } + else { + if (!this.isTurnedOver()) return; + } + } + var next = game.createEvent('turnOver'); + next.player = this; + next.includeOut = true; + next.setContent('turnOver'); + return next; + } + out(skill) { + if (typeof skill == 'number') { + this.outCount += skill; + } + else if (typeof skill == 'string') { + if (!this.outSkills) { + this.outSkills = []; + } + this.outSkills.add(skill); + } + else { + this.outCount++; + } + if (!this.classList.contains('out')) { + this.classList.add('out'); + game.log(this, '离开游戏'); + } + if (!game.countPlayer()) { + game.over(); + } + } + in(skill) { + if (this.isOut()) { + if (typeof skill == 'string') { + if (this.outSkills) { + this.outSkills.remove(skill); + if (!this.outSkills.length) { + delete this.outSkills; + } + } + } + else if (typeof skill == 'number') { + this.outCount -= skill; + } + else { + if (skill === true) { + delete this.outSkills; + } + this.outCount = 0; + } + if (this.outCount <= 0 && !this.outSkills) { + this.outCount = 0; + this.classList.remove('out'); + game.log(this, '进入游戏'); + } + } + } + link(bool) { + if (typeof bool == 'boolean') { + if (bool) { + if (this.isLinked()) return; + } + else { + if (!this.isLinked()) return; + } + } + var next = game.createEvent('link'); + next.player = this; + next.setContent('link'); + return next; + } + skip(name) { + this.skipList.add(name); + } + wait(callback) { + if (lib.node) { + if (typeof callback == 'function') { + callback._noname_waiting = true; + lib.node.torespond[this.playerid] = callback; + } + else { + lib.node.torespond[this.playerid] = '_noname_waiting'; + } + clearTimeout(lib.node.torespondtimeout[this.playerid]); + if (this.ws && !this.ws.closed) { + var player = this; + var time = parseInt(lib.configOL.choose_timeout) * 1000; + if (_status.event._global_timer || _status.event.getParent().skillHidden) { + for (var i = 0; i < game.players.length; i++) { + game.players[i].showTimer(time); + } + player._hide_all_timer = true; + } + else if (!_status.event._global_waiting && _status.noclearcountdown !== 'direct') { + player.showTimer(time); + } + lib.node.torespondtimeout[this.playerid] = setTimeout(function () { + player.unwait('ai'); + player.ws.ws.close(); + }, time + 5000); + } + } + } + unwait(result) { + if (this._hide_all_timer) { + delete this._hide_all_timer; + for (var i = 0; i < game.players.length; i++) { + game.players[i].hideTimer(); + } + } + else if (!get.event('_global_waiting') && (_status.noclearcountdown !== 'direct' || result && result.bool) && !(result && result._noHidingTimer)) { + this.hideTimer(); + } + clearTimeout(lib.node.torespondtimeout[this.playerid]); + delete lib.node.torespondtimeout[this.playerid]; + if (!(this.playerid in lib.node.torespond)) return; + var noresume = false; + var proceed = null; + if (typeof lib.node.torespond[this.playerid] == 'function' && lib.node.torespond[this.playerid]._noname_waiting) { + proceed = lib.node.torespond[this.playerid](result, this); + if (proceed === false) { + noresume = true; + } + } + lib.node.torespond[this.playerid] = result; + for (var i in lib.node.torespond) { + if (lib.node.torespond[i] == '_noname_waiting') { + return; + } + else if (lib.node.torespond[i] && lib.node.torespond[i]._noname_waiting) { + return; + } + } + _status.event.result = result; + _status.event.resultOL = lib.node.torespond; + lib.node.torespond = {}; + if (typeof proceed == 'function') proceed(); + else if (_status.paused && !noresume) game.resume(); + } + tempUnwait(result) { + if (!(this.playerid in lib.node.torespond)) return; + var proceed; + if (typeof lib.node.torespond[this.playerid] == 'function' && lib.node.torespond[this.playerid]._noname_waiting) { + proceed = lib.node.torespond[this.playerid](result, this); + } + if (typeof proceed == 'function') proceed(); + } + logSkill(name, targets, nature, logv) { + if (get.itemtype(targets) == 'player') targets = [targets]; + var nopop = false; + var popname = name; + if (Array.isArray(name)) { + popname = name[1]; + name = name[0]; + } + var checkShow = this.checkShow(name); + if (lib.translate[name]) { + this.trySkillAnimate(name, popname, checkShow); + if (Array.isArray(targets) && targets.length) { + var str; + if (targets[0] == this) { + str = '#b自己'; + if (targets.length > 1) { + str += '、'; + str += get.translation(targets.slice(1)); + } + } + else str = targets; + game.log(this, '对', str, '发动了', '【' + get.skillTranslation(name, this) + '】'); + } + else { + game.log(this, '发动了', '【' + get.skillTranslation(name, this) + '】'); + } + } + if (nature != false) { + if (nature === undefined) { + nature = 'green'; + } + this.line(targets, nature); + } + var info = lib.skill[name]; + if (info && info.ai && info.ai.expose != undefined && + this.logAi && (!targets || targets.length != 1 || targets[0] != this)) { + this.logAi(lib.skill[name].ai.expose); + } + if (info && info.round) { + var roundname = name + '_roundcount'; + this.storage[roundname] = game.roundNumber; + this.syncStorage(roundname); + this.markSkill(roundname); + } + game.trySkillAudio(name, this, true); + if (game.chess) { + this.chessFocus(); + } + if (logv === true) { + game.logv(this, name, targets, null, true); + } + else if (info && info.logv !== false) { + game.logv(this, name, targets); + } + if (info) { + var player = this; + var players = player.getSkills(false, false, false); + var equips = player.getSkills('e'); + var global = lib.skill.global.slice(0); + var logInfo = { + skill: name, + targets: targets, + event: _status.event, + }; + if (info.sourceSkill) { + logInfo.sourceSkill = info.sourceSkill; + if (global.contains(info.sourceSkill)) { + logInfo.type = 'global'; + } + else if (players.contains(info.sourceSkill)) { + logInfo.type = 'player'; + } + else if (equips.contains(info.sourceSkill)) { + logInfo.type = 'equip'; + } + } + else { + if (global.contains(name)) { + logInfo.sourceSkill = name; + logInfo.type = 'global'; + } + else if (players.contains(name)) { + logInfo.sourceSkill = name; + logInfo.type = 'player'; + } + else if (equips.contains(name)) { + logInfo.sourceSkill = name; + logInfo.type = 'equip'; + } + else { + var bool = false; + for (var i of players) { + var expand = [i]; + game.expandSkills(expand); + if (expand.contains(name)) { + bool = true; + logInfo.sourceSkill = i; + logInfo.type = 'player'; + break; + } + } + if (!bool) { + for (var i of players) { + var expand = [i]; + game.expandSkills(expand); + if (expand.contains(name)) { + logInfo.sourceSkill = i; + logInfo.type = 'equip'; + break; + } + } + } + } + } + var next = game.createEvent('logSkill', false), evt = _status.event; + next.player = player; + next.forceDie = true; + next.includeOut = true; + evt.next.remove(next); + if (evt.logSkill) evt = evt.getParent(); + for (var i in logInfo) { + if (i == 'event') next.log_event = logInfo[i]; + else next[i] = logInfo[i]; + } + evt.after.push(next); + next.setContent('emptyEvent'); + player.getHistory('useSkill').push(logInfo); + //尽可能别往这写插入结算 + //不能用来终止技能发动!!! + var next2 = game.createEvent('logSkillBegin', false); + next2.player = player; + next2.forceDie = true; + next2.includeOut = true; + for (var i in logInfo) { + if (i == 'event') next2.log_event = logInfo[i]; + else next2[i] = logInfo[i]; + } + next2.setContent('emptyEvent'); + } + if (this._hookTrigger) { + for (var i = 0; i < this._hookTrigger.length; i++) { + var info = lib.skill[this._hookTrigger[i]].hookTrigger; + if (info && info.log) { + info.log(this, name, targets); + } + } + } + } + unprompt() { + if (this.node.prompt) { + this.node.prompt.delete(); + delete this.node.prompt; + } + } + prompt(str, nature) { + var node; + if (this.node.prompt) { + node = this.node.prompt; + node.innerHTML = ''; + node.className = 'damage normal-font damageadded'; + } + else { + node = ui.create.div('.damage.normal-font', this); + this.node.prompt = node; + ui.refresh(node); + node.classList.add('damageadded'); + } + node.innerHTML = str; + node.dataset.nature = nature || 'soil'; + } + prompt_old(name2, className) { + var node; + if (this.node.prompt) { + node = this.node.prompt; + node.innerHTML = ''; + node.className = 'popup'; + } + else { + node = ui.create.div('.popup', this.parentNode); + this.node.prompt = node; + } + node.dataset.position = this.dataset.position; + if (this.dataset.position == 0 || parseInt(this.dataset.position) == parseInt(ui.arena.dataset.number) / 2 || + typeof name2 == 'number' || this.classList.contains('minskin')) { + node.innerHTML = name2; + } + else { + for (var i = 0; i < name2.length; i++) { + node.innerHTML += name2[i] + '
    '; + } + } + if (className) { + node.classList.add(className); + } + } + popup(name, className, nobroadcast) { + var name2 = get.translation(name); + if (!name2) return; + this.$damagepop(name2, className || 'water', true, nobroadcast); + } + popup_old(name, className) { + var name2 = get.translation(name); + var node = ui.create.div('.popup', this.parentNode); + if (!name2) { + node.remove(); + return node; + } + game.addVideo('popup', this, [name, className]); + node.dataset.position = this.dataset.position; + if (this.dataset.position == 0 || parseInt(this.dataset.position) == parseInt(ui.arena.dataset.number) / 2 || + typeof name2 == 'number' || this.classList.contains('minskin')) { + node.innerHTML = name2; + } + else { + for (var i = 0; i < name2.length; i++) { + node.innerHTML += name2[i] + '
    '; + } + } + if (className) { + node.classList.add(className); + } + this.popups.push(node); + if (this.popups.length > 1) { + node.hide(); + } + else { + var that = this; + setTimeout(function () { that._popup(); }, 1000); + } + return node; + } + _popup() { + if (this.popups.length) { + this.popups.shift().delete(); + if (this.popups.length) { + this.popups[0].show(); + var that = this; + setTimeout(function () { that._popup(); }, 1000); + } + } + } + showTimer(time) { + if (!time && lib.configOL) { + time = parseInt(lib.configOL.choose_timeout) * 1000; + } + if (_status.connectMode && !game.online) { + game.broadcast(function (player, time) { + player.showTimer(time); + }, this, time); + } + if (this == game.me) { + return; + } + if (this.node.timer) { + this.node.timer.remove(); + } + var timer = ui.create.div('.timerbar', this); + this.node.timer = timer; + ui.create.div(this.node.timer); + var bar = ui.create.div(this.node.timer); + ui.refresh(bar); + bar.style.transitionDuration = (time / 1000) + 's'; + bar.style.transform = 'scale(0,1)'; + } + hideTimer() { + if (_status.connectMode && !game.online && this.playerid) { + game.broadcast(function (player) { + player.hideTimer(); + }, this); + } + if (this.node.timer) { + this.node.timer.delete(); + delete this.node.timer; + } + } + markAuto(name, info) { + if (typeof info != 'undefined') { + if (!Array.isArray(this.storage[name])) this.storage[name] = []; + if (Array.isArray(info)) { + this.storage[name].addArray(info); + } + else this.storage[name].add(info); + this.markSkill(name); + } + else { + var storage = this.storage[name]; + if (Array.isArray(storage)) { + this[storage.length > 0 ? 'markSkill' : 'unmarkSkill'](name); + } + else if (typeof storage == 'number') { + this[storage > 0 ? 'markSkill' : 'unmarkSkill'](name); + } + } + } + unmarkAuto(name, info) { + var storage = this.storage[name]; + if (Array.isArray(info) && Array.isArray(storage)) { + storage.removeArray(info.slice(0)); + this.markAuto(name); + } + } + getExpansions(tag) { + return this.getCards('x', (card) => card.hasGaintag(tag)); + } + countExpansions(tag) { + return this.getExpansions(tag).length; + } + hasExpansions(tag) { + return this.countExpansions(tag) > 0; + } + setStorage(name, value, mark) { + this.storage[name] = value; + if (mark) this.markAuto(name); + return value; + } + getStorage(name) { + return this.storage[name] || []; + } + hasStorage(name, value) { + if (!(name in this.storage)) return false; + if (typeof value == "undefined") return true; + const storage = this.storage[name]; + if (storage === value) return true; + return Array.isArray(storage) && storage.includes(value); + } + hasStorageAny(name, values) { + const storage = this.storage[name]; + if (!Array.isArray(values)) values = Array.from(arguments).slice(1); + if (!storage) return false; + if (!Array.isArray(storage)) return values.contains(storage); + return values.some(item => storage.contains(item)); + } + hasStorageAll(name, values) { + const storage = this.storage[name]; + if (!Array.isArray(values)) values = Array.from(arguments).slice(1); + if (!storage) return false; + if (!Array.isArray(storage)) return false; + return values.every(item => storage.contains(item)); + } + initStorage(name, value, mark) { + return this.hasStorage(name) ? this.getStorage(name) : this.setStorage(name, value, mark); + } + updateStorage(name, operation, mark) { + return this.setStorage(name, operation(this.getStorage(name)), mark); + } + updateStorageAsync(name, operation, mark) { + return Promise.resolve(this.getStorage(name)) + .then(value => operation(value)) + .then(value => this.setStorage(name, value, mark)); + } + removeStorage(name, mark) { + if (!this.hasStorage(name)) return false; + delete this.storage[name]; + if (mark) { + this.unmarkSkill(name); + } + return true; + } + markSkill(name, info, card, nobroadcast) { + if (info === true) { + this.syncStorage(name); + info = null; + } + if (get.itemtype(card) == 'card') { + game.addVideo('markSkill', this, [name, get.cardInfo(card)]); + } + else { + game.addVideo('markSkill', this, [name]); + } + const func = function (storage, player, name, info, card) { + player.storage[name] = storage; + if (!info) { + if (player.marks[name]) { + player.updateMarks(); + return; + } + if (lib.skill[name]) { + info = lib.skill[name].intro; + } + if (!info) { + return; + } + } + if (player.marks[name]) { + player.marks[name].info = info; + } + else { + if (card) { + player.marks[name] = player.mark(card, info, name); + } + else { + player.marks[name] = player.mark(name, info); + } + } + player.updateMarks(); + }; + func(this.storage[name], this, name, info, card); + if (!nobroadcast) game.broadcast(func, this.storage[name], this, name, info, card); + return this; + } + unmarkSkill(name, nobroadcast) { + game.addVideo('unmarkSkill', this, name); + if (!nobroadcast) game.broadcast(function (player, name) { + if (player.marks[name]) { + player.marks[name].delete(); + player.marks[name].style.transform += ' scale(0.2)'; + delete player.marks[name]; + ui.updatem(player); + } + }, this, name); + if (this.marks[name]) { + this.marks[name].delete(); + this.marks[name].style.transform += ' scale(0.2)'; + delete this.marks[name]; + ui.updatem(this); + var info = lib.skill[name]; + if (!game.online && info && info.intro && info.intro.onunmark) { + if (info.intro.onunmark == 'throw') { + if (get.itemtype(this.storage[name]) == 'cards') { + this.$throw(this.storage[name], 1000); + game.cardsDiscard(this.storage[name]); + game.log(this.storage[name], '进入了弃牌堆'); + this.storage[name].length = 0; + } + } + else if (typeof info.intro.onunmark == 'function') { + info.intro.onunmark(this.storage[name], this); + } + else delete this.storage[name]; + } + } + return this; + } + markSkillCharacter(id, target, name, content, nobroadcast) { + if (typeof target == 'object') { + target = target.name; + } + const func = function (player, target, name, content, id) { + if (player.marks[id]) { + player.marks[id].name = name + '_charactermark'; + player.marks[id]._name = target; + player.marks[id].info = { + name: name, + content: content, + id: id + }; + player.marks[id].setBackground(target, 'character'); + game.addVideo('changeMarkCharacter', player, { + id: id, + name: name, + content: content, + target: target + }); + } + else { + player.marks[id] = player.markCharacter(target, { + name: name, + content: content, + id: id + }); + player.marks[id]._name = target; + game.addVideo('markCharacter', player, { + name: name, + content: content, + id: id, + target: target + }); + } + }; + func(this, target, name, content, id); + if (!nobroadcast) game.broadcast(func, this, target, name, content, id); + return this; + } + markCharacter(name, info, learn, learn2) { + if (typeof name == 'object') { + name = name.name; + } + var node; + if (name.startsWith('unknown')) { + node = ui.create.div('.card.mark.drawinghidden'); + ui.create.div('.background.skillmark', node).innerHTML = get.translation(name)[0]; + } + else { + if (!lib.character[name]) return; + node = ui.create.div('.card.mark.drawinghidden').setBackground(name, 'character'); + } + this.node.marks.insertBefore(node, this.node.marks.childNodes[1]); + node.name = name + '_charactermark'; + if (!info) { + info = {}; + } + if (!info.name) { + info.name = get.translation(name); + } + if (!info.content) { + info.content = get.skillintro(name, learn, learn2); + } + node.info = info; + node.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.card); + if (!lib.config.touchscreen) { + if (lib.config.hover_all) { + lib.setHover(node, ui.click.hoverplayer); + } + if (lib.config.right_info) { + node.oncontextmenu = ui.click.rightplayer; + } + } + ui.updatem(this); + return node; + } + mark(name, info, skill) { + if (get.itemtype(name) == 'cards') { + var marks = []; + for (var i = 0; i < name.length; i++) { + marks.push(this.mark(name[i], info)); + } + return marks; + } + else { + var node; + if (get.itemtype(name) == 'card') { + node = name.copy('mark'); + node.classList.add('drawinghidden'); + this.node.marks.insertBefore(node, this.node.marks.childNodes[1]); + node.suit = name.suit; + node.number = name.number; + // if(name.name&&lib.card[name.name]&&lib.card[name.name].markimage){ + // node.node.image.style.left=lib.card[name.name].markimage; + // } + + if (name.classList.contains('fullborder')) { + node.classList.add('fakejudge'); + node.classList.add('fakemark'); + (node.querySelector('.background') || ui.create.div('.background', node)).innerHTML = lib.translate[name.name + '_bg'] || get.translation(name.name)[0]; + } + + name = name.name; + } + else { + node = ui.create.div('.card.mark.drawinghidden'); + this.node.marks.insertBefore(node, this.node.marks.childNodes[1]); + if (lib.skill[name] && lib.skill[name].markimage) { + node.setBackgroundImage(lib.skill[name].markimage); + node.style['box-shadow'] = 'none'; + node.style['background-size'] = 'contain'; + } + else if (lib.skill[name] && lib.skill[name].markimage2) { + let img = ui.create.div('.background.skillmark', node); + img.setBackgroundImage(lib.skill[name].markimage2); + img.style['background-size'] = 'contain'; + } + else { + var str = lib.translate[name + '_bg']; + if (!str || str[0] == '+' || str[0] == '-') { + str = get.translation(name)[0]; + } + ui.create.div('.background.skillmark', node).innerHTML = str; + } + } + node.name = name; + node.skill = skill || name; + if (typeof info == 'object') { + node.info = info; + } + else if (typeof info == 'string') { + node.markidentifer = info; + } + node.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.card); + if (!lib.config.touchscreen) { + if (lib.config.hover_all) { + lib.setHover(node, ui.click.hoverplayer); + } + if (lib.config.right_info) { + node.oncontextmenu = ui.click.rightplayer; + } + } + this.updateMarks(); + ui.updatem(this); + return node; + } + } + unmark(name, info) { + game.addVideo('unmarkname', this, name); + if (get.itemtype(name) == 'card') { + this.unmark(name.name, info); + } + else if (get.itemtype(name) == 'cards') { + for (var i = 0; i < name.length; i++) { + this.unmark(name[i].name, info); + } + } + else { + for (var i = 0; i < this.node.marks.childNodes.length; i++) { + if (this.node.marks.childNodes[i].name == name && + (!info || this.node.marks.childNodes[i].markidentifer == info)) { + this.node.marks.childNodes[i].delete(); + this.node.marks.childNodes[i].style.transform += ' scale(0.2)'; + ui.updatem(this); + return; + } + } + } + } + addLink() { + if (get.is.linked2(this)) { + this.classList.add('linked2'); + } + else { + this.classList.add('linked'); + } + } + removeLink() { + if (get.is.linked2(this)) { + this.classList.remove('linked2'); + } + else { + this.classList.remove('linked'); + } + } + canUse(card, target, distance, includecard) { + if (typeof card == 'string') card = { name: card, isCard: true }; + var info = get.info(card); + if (info.multicheck && !info.multicheck(card, this)) return false; + if (!lib.filter.cardEnabled(card, this)) return false; + if (includecard && !lib.filter.cardUsable(card, this)) return false; + if (distance !== false && !lib.filter.targetInRange(card, this, target)) return false; + return lib.filter[includecard ? 'targetEnabledx' : 'targetEnabled'](card, this, target); + } + hasUseTarget(card, distance, includecard) { + var player = this; + return game.hasPlayer(function (current) { + return player.canUse(card, current, distance, includecard); + }); + } + hasValueTarget() { + return this.getUseValue.apply(this, arguments) > 0; + } + getUseValue(card, distance, includecard) { + if (typeof (card) == 'string') { + card = { name: card, isCard: true }; + } + var player = this; + var targets = game.filterPlayer(); + var value = []; + var min = 0; + var info = get.info(card); + if (!info || info.notarget) return 0; + var range; + var select = get.copy(info.selectTarget); + if (select == undefined) { + if (info.filterTarget == undefined) return true; + range = [1, 1]; + } + else if (typeof select == 'number') range = [select, select]; + else if (get.itemtype(select) == 'select') range = select; + else if (typeof select == 'function') range = select(card, player); + if (info.singleCard) range = [1, 1]; + game.checkMod(card, player, range, 'selectTarget', player); + if (!range) return 0; + + for (var i = 0; i < targets.length; i++) { + if (player.canUse(card, targets[i], distance, includecard)) { + var eff = get.effect(targets[i], card, player, player); + value.push(eff); + } + } + value.sort(function (a, b) { + return b - a; + }); + for (var i = 0; i < value.length; i++) { + if (i == range[1] || range[1] != -1 && value[i] <= 0) break; + min += value[i]; + } + return min; + } + addSubPlayer(cfg) { + var skill = 'subplayer_' + cfg.name + '_' + get.id(); + game.log(this, '获得了随从', '#g' + get.translation(cfg.name)); + cfg.hs = cfg.hs || []; + cfg.es = cfg.es || []; + cfg.skills = cfg.skills || []; + cfg.hp = cfg.hp || 1; + cfg.maxHp = cfg.maxHp || 1; + cfg.sex = cfg.sex || 'male'; + cfg.group = cfg.group || 'qun'; + cfg.skill = cfg.skill || _status.event.name; + if (!cfg.source) { + if (this.hasSkill(_status.event.name) && this.name2 && lib.character[this.name2] && + lib.character[this.name2][3].contains(_status.event.name)) { + cfg.source = this.name2; + } + else { + cfg.source = this.name; + } + } + game.broadcastAll(function (player, skill, cfg) { + lib.skill[skill] = { + intro: { + content: cfg.intro || '' + }, + mark: 'character', + subplayer: cfg.skill, + ai: { + subplayer: true + } + }; + lib.character[skill] = [cfg.sex, cfg.group, cfg.maxHp, cfg.skills, []]; + if (Array.isArray(cfg.image)) { + cfg.image.forEach(image => lib.character[skill][4].push(image)); + } else if (typeof cfg.image == 'string') { + lib.character[skill][4].push(cfg.image); + } else { + lib.character[skill][4].push('character:' + cfg.name); + } + lib.translate[skill] = cfg.caption || get.rawName(cfg.name); + player.storage[skill] = cfg; + }, this, skill, cfg); + game.addVideo('addSubPlayer', this, [skill, lib.skill[skill], lib.character[skill], lib.translate[skill], { name: cfg.name }]); + this.addSkill(skill); + return skill; + } + removeSubPlayer(name) { + if (this.hasSkill('subplayer') && this.name == name) { + this.exitSubPlayer(true); + } + else { + if (player.storage[name].onremove) { + player.storage[name].onremove(player); + } + this.removeSkill(name); + delete this.storage[name]; + game.log(player, '牺牲了随从', '#g' + name); + _status.event.trigger('removeSubPlayer'); + } + } + callSubPlayer() { + if (this.hasSkill('subplayer')) return; + var next = game.createEvent('callSubPlayer'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'string') { + next.directresult = arguments[i]; + } + } + next.setContent('callSubPlayer'); + return next; + } + toggleSubPlayer() { + if (!this.hasSkill('subplayer')) return; + var next = game.createEvent('toggleSubPlayer'); + next.player = this; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'string') { + next.directresult = arguments[i]; + } + } + next.setContent('toggleSubPlayer'); + return next; + } + exitSubPlayer(remove) { + if (!this.hasSkill('subplayer')) return; + var next = game.createEvent('exitSubPlayer'); + next.player = this; + next.remove = remove; + next.setContent('exitSubPlayer'); + return next; + } + getSubPlayers(tag) { + var skills = this.getSkills(); + var list = []; + for (var i = 0; i < skills.length; i++) { + var name = skills[i]; + var info = lib.skill[name]; + if (tag && info.subplayer != tag) continue; + if (info.ai && info.ai.subplayer && this.storage[name] && this.storage[name].name) { + list.push(name); + } + } + return list; + } + addSkillTrigger(skills, hidden, triggeronly) { + if (typeof skills == 'string') skills = [skills]; + game.expandSkills(skills); + for (const skill of skills) { + const info = lib.skill[skill]; + if (!info) { + console.error(new ReferenceError(`Cannot find ${skill} in lib.skill, failed to add ${skill}'s trigger to ${this.name}`)); + continue; + } + if (!triggeronly) { + if (info.global && (!hidden || info.globalSilent)) { + let global = info.global; + if (!Array.isArray(global)) global = [global]; + global.forEach(skill => game.addGlobalSkill(skill, this)); + } + if (this.initedSkills.includes(skill)) continue; + this.initedSkills.push(skill); + if (info.init && !_status.video) info.init(this, skill); + } + if (info.trigger && this.playerid) { + const setTrigger = (role, evt) => { + const name = this.playerid + '_' + role + '_' + evt; + if (!lib.hook[name]) lib.hook[name] = []; + lib.hook[name].add(skill); + lib.hookmap[evt] = true; + }; + for (const role in info.trigger) { + let evts = info.trigger[role]; + if (!Array.isArray(evts)) evts = [evts]; + evts.forEach(evt => setTrigger(role, evt)); + } + } + if (info.hookTrigger) { + if (!this._hookTrigger) this._hookTrigger = []; + this._hookTrigger.add(skill); + } + if (_status.event && _status.event.addTrigger) _status.event.addTrigger(skill, this); + _status.event.clearStepCache(); + } + return this; + } + addSkillLog(skill) { + if (!skill) return this; + this.addSkill(skill); + if (!Array.isArray(skill)) skill = [skill]; + game.log(this, '获得了技能', ...skill.map(i => { + this.popup(i); + return '#g【' + get.translation(i) + '】'; + })); + } + removeSkillLog(skill, popup) { + if (!skill) return this; + this.removeSkill(skill); + if (!Array.isArray(skill)) skill = [skill]; + game.log(this, '失去了技能', ...skill.map(i => { + if (popup === true) this.popup(i); + return '#g【' + get.translation(i) + '】'; + })); + } + addInvisibleSkill(skill) { + if (Array.isArray(skill)) { + _status.event.clearStepCache(); + for (var i = 0; i < skill.length; i++) { + this.addInvisibleSkill(skill[i]); + } + } + else { + if (this.invisibleSkills.contains(skill)) return; + _status.event.clearStepCache(); + var info = lib.skill[skill]; + if (!info) return; + this.invisibleSkills.add(skill); + this.addSkillTrigger(skill); + if (this.awakenedSkills.contains(skill)) { + this.awakenSkill(skill); + return; + } + } + } + removeInvisibleSkill(skill) { + if (!skill) return; + if (Array.isArray(skill)) { + for (var i = 0; i < skill.length; i++) { + this.removeSkill(skill[i]); + } + } + else { + var info = lib.skill[skill]; + if (info && info.fixed && arguments[1] !== true) return skill; + game.broadcastAll(function (player, skill) { + player.invisibleSkills.remove(skill); + }, this, skill); + if (!player.hasSkill(skill, true)) player.removeSkill(skill); + } + return skill; + } + addSkill(skill, checkConflict, nobroadcast, addToSkills) { + if (Array.isArray(skill)) { + _status.event.clearStepCache(); + for (var i = 0; i < skill.length; i++) { + this.addSkill(skill[i]); + } + } + else { + if (this.skills.contains(skill)) return; + _status.event.clearStepCache(); + var info = lib.skill[skill]; + if (!info) return; + if (!addToSkills) { + this.skills.add(skill); + if (!nobroadcast) { + game.broadcast(function (player, skill) { + player.skills.add(skill); + }, this, skill); + } + } + this.addSkillTrigger(skill); + if (this.awakenedSkills.contains(skill)) { + this.awakenSkill(skill); + return; + } + if (info.init2 && !_status.video) { + info.init2(this, skill); + } + if (info.mark) { + if (info.mark == 'card' && + get.itemtype(this.storage[skill]) == 'card') { + this.markSkill(skill, null, this.storage[skill], nobroadcast); + } + else if (info.mark == 'card' && + get.itemtype(this.storage[skill]) == 'cards') { + this.markSkill(skill, null, this.storage[skill][0], nobroadcast); + } + else if (info.mark == 'image') { + this.markSkill(skill, null, ui.create.card(null, 'noclick').init([null, null, skill]), nobroadcast); + } + else if (info.mark == 'character') { + var intro = info.intro.content; + if (typeof intro == 'function') { + intro = intro(this.storage[skill], this); + } + else if (typeof intro == 'string') { + intro = intro.replace(/#/g, this.storage[skill]); + intro = intro.replace(/&/g, get.cnNumber(this.storage[skill])); + intro = intro.replace(/\$/g, get.translation(this.storage[skill])); + } + var caption; + if (typeof info.intro.name == 'function') { + caption = info.intro.name(this.storage[skill], this); + } + else if (typeof info.intro.name == 'string') { + caption = info.name; + } + else { + caption = get.translation(skill); + } + this.markSkillCharacter(skill, this.storage[skill], caption, intro, nobroadcast); + } + else { + this.markSkill(skill, null, null, nobroadcast); + } + } + } + if (checkConflict) this.checkConflict(); + return skill; + } + addAdditionalSkill(skill, skills, keep) { + if (this.additionalSkills[skill]) { + if (keep) { + if (typeof this.additionalSkills[skill] == 'string') { + this.additionalSkills[skill] = [this.additionalSkills[skill]]; + } + } + else { + this.removeAdditionalSkill(skill); + this.additionalSkills[skill] = []; + } + } + else { + this.additionalSkills[skill] = []; + } + if (typeof skills == 'string') { + skills = [skills]; + } + for (var i = 0; i < skills.length; i++) { + this.addSkill(skills[i], null, true, true); + //this.skills.remove(skills[i]); + this.additionalSkills[skill].push(skills[i]); + } + this.checkConflict(); + _status.event.clearStepCache(); + return this; + } + removeAdditionalSkill(skill, target) { + const player = this; + if (this.additionalSkills[skill]) { + const additionalSkills = this.additionalSkills[skill]; + const hasAnotherSKill = function (skillkey, skill) { + return (player.skills.contains(skill) || player.tempSkills[skill] || Object.keys(player.additionalSkills).some(key => { + if (key === skillkey) return false; + if (Array.isArray(player.additionalSkills[key])) return player.additionalSkills[key].includes(skill); + return player.additionalSkills[key] == skill; + })); + }; + if (Array.isArray(additionalSkills) && typeof target == 'string') { + if (additionalSkills.contains(target)) { + additionalSkills.remove(target); + if (!hasAnotherSKill(skill, target)) this.removeSkill(target); + } + } + else { + delete this.additionalSkills[skill]; + if (typeof additionalSkills == 'string') { + if (!hasAnotherSKill(skill, additionalSkills)) this.removeSkill(additionalSkills); + } + else if (Array.isArray(additionalSkills)) { + const skillsToRemove = additionalSkills.filter(target => !hasAnotherSKill(skill, target)); + this.removeSkill(skillsToRemove); + } + } + } + _status.event.clearStepCache(); + return this; + } + awakenSkill(skill, nounmark) { + if (!nounmark) this.unmarkSkill(skill); + this.disableSkill(skill + '_awake', skill); + this.awakenedSkills.add(skill); + if (this.storage[skill] === false) this.storage[skill] = true; + _status.event.clearStepCache(); + return this; + } + restoreSkill(skill, nomark) { + if (this.storage[skill] === true) this.storage[skill] = false; + this.awakenedSkills.remove(skill); + this.enableSkill(skill + '_awake', skill); + if (!nomark) this.markSkill(skill); + _status.event.clearStepCache(); + return this; + } + disableSkill(skill, skills) { + if (typeof skills == 'string') { + if (!this.disabledSkills[skills]) { + this.disabledSkills[skills] = []; + var info = get.info(skills); + if (info.ondisable && info.onremove) { + if (typeof info.onremove == 'function') { + info.onremove(this, skill); + } + else if (typeof info.onremove == 'string') { + if (info.onremove == 'storage') { + delete this.storage[skill]; + } + else { + var cards = this.storage[skill]; + if (get.itemtype(cards) == 'card') { + cards = [cards]; + } + if (get.itemtype(cards) == 'cards') { + if (this.onremove == 'discard') { + this.$throw(cards); + } + if (this.onremove == 'discard' || this.onremove == 'lose') { + game.cardsDiscard(cards); + delete this.storage[skill]; + } + } + } + } + else if (Array.isArray(info.onremove)) { + for (var i = 0; i < info.onremove.length; i++) { + delete this.storage[info.onremove[i]]; + } + } + else if (info.onremove === true) { + delete this.storage[skill]; + } + } + } + this.disabledSkills[skills].add(skill); + var group = lib.skill[skills].group; + if (typeof group == 'string' || Array.isArray(group)) { + this.disableSkill(skill, group); + } + } + else if (Array.isArray(skills)) { + for (var i = 0; i < skills.length; i++) { + this.disableSkill(skill, skills[i]); + } + } + _status.event.clearStepCache(); + return this; + } + enableSkill(skill) { + for (var i in this.disabledSkills) { + this.disabledSkills[i].remove(skill); + if (this.disabledSkills[i].length == 0) { + delete this.disabledSkills[i]; + } + } + _status.event.clearStepCache(); + return this; + } + checkMarks() { + var skills = this.getSkills(); + game.expandSkills(skills); + for (var i in this.marks) { + if (!skills.contains(i) && !this.marks[i].info.fixed) { + this.unmarkSkill(i); + } + } + return this; + } + addEquipTrigger(card) { + if (card) { + var info = get.info(card); + if (info.skills) { + for (var j = 0; j < info.skills.length; j++) { + this.addSkillTrigger(info.skills[j]); + } + } + } + else { + var es = this.getCards('e'); + for (var i = 0; i < es.length; i++) { + this.addEquipTrigger(es[i]); + } + } + _status.event.clearStepCache(); + return this; + } + removeEquipTrigger(card) { + if (card) { + var info = get.info(card); + var skills = this.getSkills(null, false); + if (info.skills) { + for (var j = 0; j < info.skills.length; j++) { + if (skills.contains(info.skills[j])) continue; + this.removeSkillTrigger(info.skills[j]); + } + } + if (info.clearLose && typeof info.onLose == 'function') { + var next = game.createEvent('lose_' + card.name); + next.setContent(info.onLose); + next.player = this; + next.card = card; + } + } + else { + var es = this.getCards('e'); + for (var i = 0; i < es.length; i++) { + this.removeEquipTrigger(es[i]); + } + } + _status.event.clearStepCache(); + return this; + } + removeSkillTrigger(skills, triggeronly) { + if (typeof skills == 'string') skills = [skills]; + game.expandSkills(skills); + for (const skill of skills) { + const info = lib.skill[skill]; + if (!info) { + console.error(new ReferenceError(`Cannot find ${skill} in lib.skill, failed to remove ${skill}'s trigger to ${this.name}`)); + continue; + } + if (!triggeronly) { + if (info.global) { + let global = info.global; + if (!Array.isArray(global)) global = [global]; + global.forEach(skill => game.removeGlobalSkill(skill, this)); + } + if (!this.initedSkills.includes(skill)) continue; + this.initedSkills.remove(skill); + // if(info.onremove&&!_status.video) info.onremove(this,skill); + } + if (info.trigger && this.playerid) { + const removeTrigger = (role, evt) => { + const name = this.playerid + '_' + role + '_' + evt; + if (!lib.hook[name]) return; + lib.hook[name].remove(skill); + if (lib.hook[name].length == 0) delete lib.hook[name]; + }; + for (const role in info.trigger) { + let evts = info.trigger[role]; + if (!Array.isArray(evts)) evts = [evts]; + evts.forEach(evt => removeTrigger(role, evt)); + } + } + if (info.hookTrigger && this._hookTrigger) { + this._hookTrigger.remove(skill); + if (!this._hookTrigger.length) delete this._hookTrigger; + } + if (_status.event && _status.event.removeTrigger) _status.event.removeTrigger(skill, this); + _status.event.clearStepCache(); + } + return this; + } + removeSkill(skill) { + if (!skill) return; + _status.event.clearStepCache(); + if (Array.isArray(skill)) { + for (var i = 0; i < skill.length; i++) { + this.removeSkill(skill[i]); + } + } + else { + var info = lib.skill[skill]; + if (info && info.fixed && arguments[1] !== true) return skill; + this.unmarkSkill(skill); + game.broadcastAll(function (player, skill) { + player.skills.remove(skill); + player.hiddenSkills.remove(skill); + player.invisibleSkills.remove(skill); + delete player.tempSkills[skill]; + for (var i in player.additionalSkills) { + player.additionalSkills[i].remove(skill); + } + }, this, skill); + this.checkConflict(skill); + if (info) { + if (info.onremove) { + if (typeof info.onremove == 'function') { + info.onremove(this, skill); + } + else if (typeof info.onremove == 'string') { + if (info.onremove == 'storage') { + delete this.storage[skill]; + } + else { + var cards = this.storage[skill]; + if (get.itemtype(cards) == 'card') { + cards = [cards]; + } + if (get.itemtype(cards) == 'cards') { + if (this.onremove == 'discard') { + this.$throw(cards); + } + if (this.onremove == 'discard' || this.onremove == 'lose') { + game.cardsDiscard(cards); + delete this.storage[skill]; + } + } + } + } + else if (Array.isArray(info.onremove)) { + for (var i = 0; i < info.onremove.length; i++) { + delete this.storage[info.onremove[i]]; + } + } + else if (info.onremove === true) { + delete this.storage[skill]; + } + } + this.removeSkillTrigger(skill); + if (!info.keepSkill) { + this.removeAdditionalSkill(skill); + } + } + this.enableSkill(skill + '_awake'); + } + return skill; + } + addTempSkill(skill, expire, checkConflict) { + if (this.hasSkill(skill) && this.tempSkills[skill] == undefined) return; + this.addSkill(skill, checkConflict, true, true); + + if (!expire) expire = { global: ['phaseAfter', 'phaseBeforeStart'] }; + else if (typeof expire == 'string' || Array.isArray(expire)) expire = { global: expire }; + this.tempSkills[skill] = expire; + + if (get.objtype(expire) == 'object') { + const roles = ['player', 'source', 'target', 'global']; + for (const i of roles) { + let triggers = expire[i]; + if (!Array.isArray(triggers)) triggers = [triggers]; + triggers.forEach(trigger => lib.hookmap[trigger] = true); + } + } + + return skill; + } + tempBanSkill(skill, expire, log) { + if (this.isTempBanned(skill)) return; + this.setStorage(`temp_ban_${skill}`, true); + + if (log !== false && this.hasSkill(skill)) game.log(this, '的技能', `#g【${get.translation(skill)}】`, '暂时失效了'); + + if (!expire) expire = { global: ['phaseAfter', 'phaseBeforeStart'] }; + else if (typeof expire == 'string' || Array.isArray(expire)) expire = { global: expire }; + this.when(expire).assign({ + firstDo: true, + }).vars({ + bannedSkill: skill, + }).then(() => { + delete player.storage[`temp_ban_${bannedSkill}`]; + }); + return skill; + } + isTempBanned(skill) { + return this.hasStorage(`temp_ban_${skill}`); + } + attitudeTo(target) { + if (typeof get.attitude == 'function') return get.attitude(this, target); + return 0; + } + clearSkills(all) { + var list = []; + var exclude = []; + for (var i = 0; i < arguments.length; i++) { + exclude.push(arguments[i]); + } + for (i = 0; i < this.skills.length; i++) { + if (lib.skill[this.skills[i]].superCharlotte) continue; + if (!all && (lib.skill[this.skills[i]].temp || lib.skill[this.skills[i]].charlotte)) continue; + if (!exclude.contains(this.skills[i])) { + list.push(this.skills[i]); + } + } + if (all) { + for (var i in this.additionalSkills) { + this.removeAdditionalSkill(i); + } + } + this[all ? 'removeSkill' : 'removeSkillLog'](list); + this.checkConflict(); + this.checkMarks(); + return list; + } + checkConflict(skill) { + if (skill) { + if (this.forbiddenSkills[skill]) { + delete this.forbiddenSkills[skill]; + } + else { + for (var i in this.forbiddenSkills) { + if (this.forbiddenSkills[i].includes(skill)) { + this.forbiddenSkills[i].remove(skill); + if (!this.forbiddenSkills[i].length) { + delete this.forbiddenSkills[i]; + } + } + } + } + } + else { + this.forbiddenSkills = {}; + var forbid = []; + var getName = function (arr) { + var str = ''; + for (var i = 0; i < arr.length; i++) { + str += arr[i] + '+'; + } + return str.slice(0, str.length - 1); + }; + var forbidlist = lib.config.forbid.concat(lib.config.customforbid); + var skills = this.getSkills(); + for (var i = 0; i < forbidlist.length; i++) { + if (lib.config.customforbid.contains(forbidlist[i]) || + !lib.config.forbidlist.contains(getName(forbidlist[i]))) { + for (var j = 0; j < forbidlist[i].length; j++) { + if (!skills.contains(forbidlist[i][j])) break; + } + if (j == forbidlist[i].length) { + forbid.push(forbidlist[i]); + } + } + } + for (var i = 0; i < forbid.length; i++) { + if (forbid[i][1] || this.name2) { + this.forbiddenSkills[forbid[i][0]] = this.forbiddenSkills[forbid[i][0]] || []; + if (forbid[i][1]) { + this.forbiddenSkills[forbid[i][0]].add(forbid[i][1]); + } + } + } + } + } + getHistory(key, filter, last) { + if (!key) return this.actionHistory[this.actionHistory.length - 1]; + if (!filter) return this.actionHistory[this.actionHistory.length - 1][key]; + else { + const history = this.getHistory(key); + if (last) { + const lastIndex = history.indexOf(last); + return history.filter((event, index) => { + if (index > lastIndex) return false; + return filter(event); + }); + } + return history.filter(filter); + } + } + checkHistory(key, filter, last) { + if (!key || !filter) return; + else { + const history = this.getHistory(key); + if (last) { + const lastIndex = history.indexOf(last); + history.forEach((event, index) => { + if (index > lastIndex) return false; + filter(event); + }); + } + else { + history.forEach(filter); + } + } + } + hasHistory(key, filter, last) { + const history = this.getHistory(key); + if (!filter || typeof filter != "function") filter = lib.filter.all; + if (last) { + const lastIndex = history.indexOf(last); + return history.some((event, index) => { + if (index > lastIndex) return false; + return filter(event); + }); + } + return history.some(filter); + } + getLastHistory(key, filter, last) { + let history = false; + for (let i = this.actionHistory.length - 1; i >= 0; i--) { + if (this.actionHistory[i].isMe) { + history = this.actionHistory[i]; break; + } + } + if (!history) return null; + if (!key) return history; + if (!filter) return history[key]; + else { + if (last) { + const lastIndex = history.indexOf(last); + return history.filter((event, index) => { + if (index > lastIndex) return false; + return filter(event); + }); + } + return history.filter(filter); + } + } + checkAllHistory(key, filter, last) { + if (!key || !filter) return; + this.actionHistory.forEach((value) => { + let history = value[key]; + if (last && history.includes(last)) { + const lastIndex = history.indexOf(last); + history.forEach((event, index) => { + if (index > lastIndex) return false; + return filter(event); + }); + } + else { + history.forEach(filter); + } + }); + } + getAllHistory(key, filter, last) { + const history = []; + this.actionHistory.forEach((value) => { + if (!key || !value[key]) { + history.push(value); + } + else { + history.push(...value[key]); + } + }); + if (filter) { + if (last) { + const lastIndex = history.indexOf(last); + return history.filter((event, index) => { + if (index > lastIndex) return false; + return filter(event); + }); + } + return history.filter(filter); + } + return history; + } + hasAllHistory(key, filter, last) { + return this.actionHistory.some((value) => { + let history = value[key]; + if (last && history.includes(last)) { + const lastIndex = history.indexOf(last); + if (history.some(function (event, index) { + if (index > lastIndex) return false; + return filter(event); + })) return true; + } + else { + if (history.some(filter)) return true; + } + return false; + }); + } + getLastUsed(num) { + if (typeof num != 'number') num = 0; + var history = this.getHistory('useCard'); + if (history.length <= num) return null; + return history[history.length - num - 1]; + } + getStat(key) { + if (!key) return this.stat[this.stat.length - 1]; + return this.stat[this.stat.length - 1][key]; + } + getLastStat(key) { + var stat = false; + for (var i = this.stat.length - 1; i >= 0; i--) { + if (this.stat[i].isMe) { + stat = this.stat[i]; break; + } + } + if (!stat) return null; + if (!key) return stat; + return stat[key]; + } + queue(time) { + if (time == false) { + clearTimeout(this.queueTimeout); + this.queueCount = 0; + return; + } + if (time == undefined) time = 500; + var player = this; + player.queueCount++; + this.queueTimeout = setTimeout(function () { + player.queueCount--; + if (player.queueCount == 0) { + player.style.transform = ''; + player.node.avatar.style.transform = ''; + player.node.avatar2.style.transform = ''; + if (game.chess) { + ui.placeChess(player, player.dataset.position); + } + if (player == game.me) ui.me.removeAttribute('style'); + } + }, time); + } + getCardUsable(card, pure) { + var player = this; + if (typeof card == 'string') { + card = { name: card }; + } + card = get.autoViewAs(card); + var num = get.info(card).usable; + if (typeof num == 'function') num = num(card, player); + num = game.checkMod(card, player, num, 'cardUsable', player); + if (typeof num != 'number') return Infinity; + if (!pure && _status.currentPhase == player) { + return num - player.countUsed(card); + } + return num; + } + getAttackRange(raw) { + const player = this; + let range = 0; + if (raw) { + range = game.checkMod(player, player, range, 'globalFrom', player); + range = game.checkMod(player, player, range, 'attackFrom', player); + const equips = player.getCards('e', function (card) { + return !ui.selected.cards || !ui.selected.cards.contains(card); + }); + equips.forEach(card => { + const info = get.info(card, false).distance; + if (info && info.globalFrom) { + range += info.globalFrom; + } + }); + return (player.getEquipRange() - range); + } + let base = game.checkMod(player, 'unchanged', 'attackRangeBase', player); + if (base != 'unchanged') { + range = base; + } + else { + range = player.getEquipRange(); + } + range = game.checkMod(player, range, 'attackRange', player); + return range; + } + getEquipRange(cards) { + const player = this; + if (!cards) cards = player.getCards('e', function (card) { + return !ui.selected.cards || !ui.selected.cards.contains(card); + }); + const range = cards.reduce((range, card) => { + let newRange = false; + const info = get.info(card, false); + if (info.distance) { + //如果存在attackRange 则通过attackRange动态获取攻击范围 + if (typeof info.distance.attackRange == 'function') { + newRange = info.distance.attackRange(card, player); + } + //否则采用祖宗之法 + else if (typeof info.distance.attackFrom == 'number') { + newRange = (1 - info.distance.attackFrom); + } + } + let isN1 = (typeof range == 'number'); + let isN2 = (typeof newRange == 'number'); + if (isN1 && isN2) return Math.max(range, newRange); + else return (isN1 ? range : newRange); + }, false); + return (typeof range == 'number') ? range : 1; + } + getGlobalFrom() { + var player = this; + var range = 0; + range = game.checkMod(player, player, range, 'globalFrom', player); + var equips = player.getCards('e', function (card) { + return !ui.selected.cards || !ui.selected.cards.contains(card); + }); + for (var i = 0; i < equips.length; i++) { + var info = get.info(equips[i]).distance; + if (!info) continue; + if (info.globalFrom) { + range += info.globalFrom; + } + } + return (-range); + } + getGlobalTo() { + var player = this; + var range = 0; + range = game.checkMod(player, player, range, 'globalTo', player); + var equips = player.getCards('e', function (card) { + return !ui.selected.cards || !ui.selected.cards.contains(card); + }); + for (var i = 0; i < equips.length; i++) { + var info = get.info(equips[i]).distance; + if (!info) continue; + if (info.globalTo) { + range += info.globalTo; + } + } + return (range); + } + getHandcardLimit() { + var num = Math.max(this.hp, 0); + num = game.checkMod(this, num, 'maxHandcardBase', this); + num = game.checkMod(this, num, 'maxHandcard', this); + num = game.checkMod(this, num, 'maxHandcardFinal', this); + return Math.max(0, num); + } + getEnemies(func) { + var player = this; + var targets; + var mode = get.mode(); + if (mode == 'identity') { + if (_status.mode == 'purple') { + switch (player.identity) { + case 'bZhu': case 'bZhong': case 'rNei': targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return ['rZhu', 'rZhong', 'bNei'].contains(target.identity); + }); break; + case 'rZhu': case 'rZhong': case 'bNei': targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return ['bZhu', 'bZhong', 'rNei'].contains(target.identity); + }); break; + case 'rYe': case 'bYe': targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return !['rYe', 'bYe'].contains(target.identity); + }); break; + } + } + else { + var num = get.population('fan'); + switch (player.identity) { + case 'zhu': case 'zhong': case 'mingzhong': targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + if (num >= 3) return target.identity == 'fan'; + return target.identity == 'nei' || target.identity == 'fan'; + }); break; + case 'nei': targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + if (num >= 3) return target.identity == 'fan'; + if (game.players.length == 2) return target != player; + return target.identity == 'zhong' || target.identity == 'mingzhong' || target.identity == 'fan'; + }); break; + case 'fan': targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return target.identity != 'fan'; + }); break; + case 'commoner': targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + if (num >= 3) return target.identity != 'fan'; + return target.identity == 'fan'; + }); break; + } + } + } + else if (mode == 'guozhan') { + if (player.identity == 'ye') { + targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return true; + }); + } + else { + var group = lib.character[player.name1][1]; + targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return target.identity == 'ye' || lib.character[target.name1][1] != group; + }); + } + } + else if (mode == 'doudizhu') { + targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return target.identity != player.identity; + }); + } + else { + targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return target.side != player.side; + }); + } + targets.remove(player); + return targets; + } + getFriends(func) { + var player = this; + var targets; + var mode = get.mode(); + var self = false; + if (func === true) { + func = null; + self = true; + } + if (mode == 'identity') { + if (_status.mode == 'purple') { + switch (player.identity) { + case 'rZhu': case 'rZhong': case 'bNei': targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return ['rZhu', 'rZhong', 'bNei'].contains(target.identity); + }); break; + case 'bZhu': case 'bZhong': case 'rNei': targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return ['bZhu', 'bZhong', 'rNei'].contains(target.identity); + }); break; + case 'rYe': case 'bYe': targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return ['rYe', 'bYe'].contains(target.identity); + }); break; + } + } + else { + switch (player.identity) { + case 'zhu': case 'zhong': case 'mingzhong': targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return ['zhu', 'zhong', 'mingzhong'].contains(target.identity); + }); break; + case 'nei': targets = []; break; + case 'fan': targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return target.identity == 'fan'; + }); break; + case 'commoner': targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return true; + }); break; + } + } + } + else if (mode == 'guozhan') { + if (player.identity == 'ye') { + targets = []; + } + else { + var group = lib.character[player.name1][1]; + targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return target.identity != 'ye' && lib.character[target.name1][1] == group; + }); + } + } + else if (mode == 'doudizhu') { + targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return target.identity == player.identity; + }); + } + else { + targets = game.filterPlayer(function (target) { + if (func && !func(target)) return false; + return target.side == player.side; + }); + } + if (self) { + targets.add(player); + } + else { + targets.remove(player); + } + return targets; + } + isEnemyOf() { + return !this.isFriendOf.apply(this, arguments); + } + isFriendOf(player) { + if (get.mode() == 'guozhan') { + if (this == player) return true; + if (this.getStorage('yexinjia_friend').includes(player) || player.getStorage('yexinjia_friend').includes(this)) return true; + if (this.identity == 'unknown' || this.identity == 'ye') return false; + if (player.identity == 'unknown' || player.identity == 'ye') return false; + return this.identity == player.identity; + } + if (get.mode() == 'doudizhu') { + return this.identity == player.identity; + } + if (this.side != undefined && typeof player.side == 'boolean') { + return this.side == player.side; + } + return this == player; + } + isFriendsOf(player) { + return player.getFriends(true).contains(this); + } + isEnemiesOf(player) { + return player.getEnemies().contains(this); + } + isAlive() { + return this.classList.contains('dead') == false; + } + isDead() { + return this.classList.contains('dead'); + } + isDying() { + return _status.dying.contains(this) && this.hp <= 0 && this.isAlive(); + } + isDamaged() { + return this.hp < this.maxHp && !this.storage.nohp; + } + isHealthy() { + return this.hp >= this.maxHp || this.storage.nohp; + } + isMaxHp(only, raw) { + return game.players.every(value => { + if (value.isOut() || value == this) return true; + return only ? value.getHp(raw) < this.getHp(raw) : value.getHp(raw) <= this.getHp(raw); + }); + } + isMinHp(only, raw) { + return game.players.every(value => { + if (value.isOut() || value == this) return true; + return only ? value.getHp(raw) > this.getHp(raw) : value.getHp(raw) >= this.getHp(raw); + }); + } + isMaxCard(only) { + const numberOfCards = this.countCards('he'); + return game.players.every(value => { + if (value.isOut() || value == this) return true; + return only ? value.countCards('he') < numberOfCards : value.countCards('he') <= numberOfCards; + }); + } + isMinCard(only) { + const numberOfCards = this.countCards('he'); + return game.players.every(value => { + if (value.isOut() || value == this) return true; + return only ? value.countCards('he') > numberOfCards : value.countCards('he') >= numberOfCards; + }); + } + isMaxHandcard(only) { + const numberOfHandCards = this.countCards('h'); + return game.players.every(value => { + if (value.isOut() || value == this) return true; + return only ? value.countCards('h') < numberOfHandCards : value.countCards('h') <= numberOfHandCards; + }); + } + isMinHandcard(only) { + const numberOfHandCards = this.countCards('h'); + return game.players.every(value => { + if (value.isOut() || value == this) return true; + return only ? value.countCards('h') > numberOfHandCards : value.countCards('h') >= numberOfHandCards; + }); + } + isMaxEquip(only) { + const numberOfEquipAreaCards = this.countCards('e'); + return game.players.every(value => { + if (value.isOut() || value == this) return true; + return only ? value.countCards('e') < numberOfEquipAreaCards : value.countCards('e') <= numberOfEquipAreaCards; + }); + } + isMinEquip(only) { + const numberOfEquipAreaCards = this.countCards('e'); + return game.players.every(value => { + if (value.isOut() || value == this) return true; + return only ? value.countCards('e') > numberOfEquipAreaCards : value.countCards('e') >= numberOfEquipAreaCards; + }); + } + isLinked() { + if (get.is.linked2(this)) { + return this.classList.contains('linked2'); + } + return this.classList.contains('linked'); + } + isTurnedOver() { + return this.classList.contains('turnedover'); + } + isOut() { + return this.classList.contains('out'); + } + isMin(distance) { + if (distance && lib.config.mode != 'stone') return false; + if (this.forcemin) return true; + return this.classList.contains('minskin') && !game.chess; + } + isIn() { + return this.classList.contains('dead') == false && this.classList.contains('out') == false && !this.removed; + } + isUnseen(num) { + switch (num) { + case 0: return this.classList.contains('unseen'); + case 1: return this.classList.contains('unseen2'); + case 2: return this.classList.contains('unseen') || this.classList.contains('unseen2'); + default: return this.classList.contains('unseen') && (!this.name2 || this.classList.contains('unseen2')); + } + } + isUnderControl(self, me) { + me = (me || game.me); + var that = this._trueMe || this; + if (that.isMad() || game.notMe) return false; + if (this === me) { + if (self) return true; + return false; + } + if (that === me || this == me._trueMe) return true; + if (_status.connectMode) return false; + if (lib.config.mode == 'versus') { + if (_status.mode == 'three') return this.side == me.side; + if (_status.mode == 'standard') return lib.storage.single_control && this.side == me.side; + if (_status.mode == 'four') return get.config('four_phaseswap') && this.side == me.side; + if (_status.mode == 'two') return get.config('two_phaseswap') && this.side == me.side; + return false; + } + else if (lib.config.mode == 'boss') { + if (me.side) return false; + return this.side == me.side && get.config('single_control'); + } + else if (game.chess) { + if (lib.config.mode == 'chess') { + if (_status.mode == 'combat' && !get.config('single_control')) return false; + } + return this.side == me.side; + } + return false; + } + isOnline() { + if (this.ws && lib.node && !this.ws.closed && this.ws.inited && !this.isAuto) { + return true; + } + return false; + } + isOnline2() { + if (this.ws && lib.node && !this.ws.closed) { + return true; + } + return false; + } + isOffline() { + if (this.ws && lib.node && this.ws.closed) { + return true; + } + return false; + } + checkShow(skill, showonly) { + var sourceSkill = get.info(skill); + var noshow = false; + if (sourceSkill && sourceSkill.sourceSkill) { + skill = sourceSkill.sourceSkill; + } + if (lib.skill.global.contains(skill)) return false; + if (get.mode() != 'guozhan' || game.expandSkills(this.getSkills()).contains(skill)) { + if (showonly) { + return false; + } + else { + noshow = true; + } + } + var unseen0 = this.isUnseen(0); + var name1 = this.name1 || this.name; + if (lib.character[name1] && (!showonly || unseen0)) { + var skills = game.expandSkills(lib.character[name1][3].slice(0)); + if (skills.contains(skill)) { + if (!noshow && this.isUnseen(0)) this.showCharacter(0); + return 'main'; + } + } + var unseen1 = this.isUnseen(1); + var name2 = this.name2; + if (lib.character[name2] && (!showonly || unseen1)) { + var skills = game.expandSkills(lib.character[name2][3].slice(0)); + if (skills.contains(skill)) { + if (!noshow && this.isUnseen(1)) this.showCharacter(1); + return 'vice'; + } + } + return false; + } + needsToDiscard(filter, add) { + /** + * filter: typeof 'number' -> 额外摸等量牌(逻辑上) + * typeof 'function' -> 只考虑符合函数筛选的牌 + * add: 额外获得这张/些牌(逻辑上) + */ + let cards = this.getCards('h', card => !this.canIgnoreHandcard(card)), num = 0; + if (get.itemtype(add) === 'cards') cards.addArray(add); + else if (get.itemtype(add) === 'card') cards.push(add); + if (typeof filter === 'number') num = filter; + else if (typeof filter === 'function') cards = cards.filter(card => { + return filter(card); + }); + return Math.max(0, num + cards.length - this.getHandcardLimit()); + } + distanceTo(target, method) { + return get.distance(this, target, method); + } + distanceFrom(target, method) { + return get.distance(target, this, method); + } + hasSkill(skill, arg2, arg3, arg4) { + return game.expandSkills(this.getSkills(arg2, arg3, arg4)).contains(skill); + } + hasStockSkill(skill, arg1, arg2, arg3) { + return game.expandSkills(this.getStockSkills(arg1, arg2, arg3)).contains(skill); + } + isZhu2() { + var player = this, mode = get.mode(); + if (!this.isZhu) return false; + if (mode == 'identity') { + if (_status.mode == 'stratagem' && !this.identityShown) return false; + return true; + } + if (mode == 'versus' && (_status.mode == 'four' || _status.mode == 'guandu')) return true; + return false; + } + hasZhuSkill(skill, player) { + if (!this.hasSkill(skill)) return false; + if (player) { + var mode = get.mode(); + if (mode == 'identity' && _status.mode == 'purple') { + if (this.identity.slice(0, 1) != player.identity.slice(0, 1)) return false; + } + if (mode == 'versus' && (_status.mode == 'four' || _status.mode == 'guandu')) { + if (this.side != player.side) return false; + } + } + return true; + } + hasGlobalTag(tag, arg) { + var skills = lib.skill.global.slice(0); + game.expandSkills(skills); + for (var i = 0; i < skills.length; i++) { + var info = lib.skill[skills[i]]; + if (info && info.ai) { + if (info.ai.skillTagFilter && info.ai[tag] && + info.ai.skillTagFilter(this, tag, arg) === false) continue; + if (typeof info.ai[tag] == 'string') { + if (info.ai[tag] == arg) return true; + } + else if (info.ai[tag]) { + return true; + } + } + } + return false; + } + hasSkillTag(tag, hidden, arg, globalskill) { + var skills = this.getSkills(hidden); + if (globalskill) { + skills.addArray(lib.skill.global); + } + game.expandSkills(skills); + for (var i = 0; i < skills.length; i++) { + var info = lib.skill[skills[i]]; + if (info && info.ai) { + if (info.ai.skillTagFilter && info.ai[tag] && + info.ai.skillTagFilter(this, tag, arg) === false) continue; + if (typeof info.ai[tag] == 'string') { + if (info.ai[tag] == arg) return true; + } + else if (info.ai[tag]) { + return true; + } + } + } + return false; + } + hasJudge(name) { + if (name && typeof name == 'object') { + name = name.viewAs || name.name; + } + var judges = this.getCards('j'); + for (var i = 0; i < judges.length; i++) { + if ((judges[i].viewAs || judges[i].name) == name) { + return true; + } + } + return false; + } + hasFriend() { + for (var i = 0; i < game.players.length; i++) { + if (game.players[i].isOut()) continue; + if (game.players[i] != this && get.attitude(game.players[i], this) > 0) { + return true; + } + } + return false; + } + hasUnknown(num) { + var mode = get.mode(); + if (typeof num != 'number') { + num = 0; + } + if (mode == 'identity' || mode == 'guozhan') { + for (var i = 0; i < game.players.length; i++) { + if (game.players[i].ai.shown == 0 && game.players[i] != this) { + num--; + if (num <= 0) { + return true; + } + } + } + } + return false; + } + isUnknown(player) { + var mode = get.mode(); + if (mode == 'identity' || mode == 'guozhan') { + if (this.ai.shown == 0 && this != player) { + return true; + } + } + return false; + } + hasWuxie(info) { + if (this.countCards('hs', 'wuxie')) return true; + var skills = this.getSkills('invisible').concat(lib.skill.global); + game.expandSkills(skills); + for (var i = 0; i < skills.length; i++) { + var ifo = get.info(skills[i]); + if (ifo.hiddenWuxie && info) { + if (typeof ifo.hiddenWuxie == 'function' && ifo.hiddenWuxie(this, info)) { + return true; + } + } + else if (ifo.viewAs && typeof ifo.viewAs != 'function' && ifo.viewAs.name == 'wuxie') { + if (!ifo.viewAsFilter || ifo.viewAsFilter(this)) { + return true; + } + } + else { + var hiddenCard = ifo.hiddenCard; + if (typeof hiddenCard == 'function' && hiddenCard(this, 'wuxie')) { + return true; + } + } + } + return false; + } + hasSha(respond, noauto) { + if (this.countCards('hs', 'sha')) return true; + if (this.countCards('hs', 'hufu')) return true; + if (!noauto && this.countCards('hs', 'yuchanqian')) return true; + if (this.hasSkillTag('respondSha', true, respond ? 'respond' : 'use', true)) return true; + return this.hasUsableCard('sha'); + } + hasShan() { + if (this.countCards('hs', 'shan')) return true; + if (this.countCards('hs', 'hufu')) return true; + if (this.hasSkillTag('respondShan', true, null, true)) return true; + return this.hasUsableCard('shan'); + } + mayHaveSha(viewer, type, ignore, rvt) { + /** + * type: skill tag type 'use', 'respond' + * ignore: ignore cards, ui.selected.cards added + * rvt: return value type 'count', 'odds', 'bool'(default) + */ + let count = 0; + if ((this.hp > 2 || !this.isZhu && this.hp > 1) && this.hasSkillTag('respondSha', true, type, true)) { + if (rvt === 'count') count++; + else return true; + } + if (get.itemtype(viewer) !== 'player') viewer = _status.event.player; + let cards, selected = get.copy(ui.selected.cards); + if (get.itemtype(ignore) === 'cards') selected.addArray(ignore); + else if (get.itemtype(ignore) === 'card') selected.add(ignore); + if (this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); + else cards = this.getShownCards(); + count += cards.filter(card => { + if (selected.includes(card)) return false; + let name = get.name(card, this); + if (name == 'sha' || name == 'hufu' || name == 'yuchanqian') { + if (type === 'use') return lib.filter.cardEnabled(card, this); + if (type === 'respond') return lib.filter.cardRespondable(card, this); + return true; + } + return false; + }).length; + if (count && rvt !== 'count') return true; + let hs = this.getCards('hs').filter(i => !cards.includes(i) && !selected.includes(i)).length; + if (!hs) { + if (rvt === 'count') return count; + return false; + } + if (rvt === 'count') { + if (this.isPhaseUsing()) return count + hs / 4; + return count + hs / 4.8; + } + if (this.isPhaseUsing()) count += Math.pow(2 + hs, 2) / 40; + else count += -1.5 * Math.log(1 - hs / 10); + if (rvt === 'odds') return Math.min(1, count); + return count > _status.event.getRand('mayHaveSha' + hs + this.playerid); + } + mayHaveShan(viewer, type, ignore, rvt) { + /** + * type: skill tag type 'use', 'respond' + * ignore: ignore cards, ui.selected.cards added + * rvt: return value type 'count', 'odds', 'bool'(default) + */ + let count = 0; + if ((this.hp > 2 || !this.isZhu && this.hp > 1) && this.hasSkillTag('respondShan', true, type, true)) { + if (rvt === 'count') count++; + else return true; + } + if (get.itemtype(viewer) !== 'player') viewer = _status.event.player; + let cards, selected = get.copy(ui.selected.cards); + if (get.itemtype(ignore) === 'cards') selected.addArray(ignore); + else if (get.itemtype(ignore) === 'card') selected.add(ignore); + if (this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); + else cards = this.getShownCards(); + count += cards.filter(card => { + if (selected.includes(card)) return false; + let name = get.name(card, this); + if (name === 'shan' || name === 'hufu') { + if (type === 'use') return lib.filter.cardEnabled(card, this, 'forceEnable'); + if (type === 'respond') return lib.filter.cardRespondable(card, this); + return true; + } + return false; + }).length; + if (count && rvt !== 'count') return true; + let hs = this.getCards('hs').filter(i => !cards.includes(i) && !selected.includes(i)).length; + if (!hs) { + if (rvt === 'count') return count; + return false; + } + if (rvt === 'count') { + if (this.isPhaseUsing()) return count + hs / 6; + return count + hs / 3.5; + } + if (this.isPhaseUsing()) count += -1.5 * Math.log(1 - hs / 10); + else count += 2 * hs / (5 + hs); + if (rvt === 'odds') return Math.min(1, count); + return count > _status.event.getRand('mayHaveShan' + hs + this.playerid); + } + hasCard(name, position) { + if (typeof name == 'function') { + var hs = this.getCards(position); + for (var i = 0; i < hs.length; i++) { + if (name(hs[i])) return true; + } + } + else { + if (this.countCards(position, name)) return true; + } + return false; + } + getEquip(name) { + var es = this.getCards('e'); + if (typeof name == 'object' && get.info(name)) { + name = get.info(name).subtype; + if (name) { + name = parseInt(name[5]); + } + } + else if (typeof name == 'string' && name.startsWith('equip') && name.length == 6) { + name = parseInt(name[5]); + } + if (!name) { + return null; + } + for (var i = 0; i < es.length; i++) { + if (typeof name === 'number') { + if (get.info(es[i]).subtype === 'equip' + name) { + return es[i]; + } + } + else { + if (es[i].name === name) return es[i]; + var source = get.info(es[i]).source; + if (Array.isArray(source) && source.contains(name)) { + return es[i]; + } + } + } + return null; + } + getJudge(name) { + var judges = this.node.judges.childNodes; + for (var i = 0; i < judges.length; i++) { + if (judges[i].classList.contains('removing')) continue; + if ((judges[i].viewAs || judges[i].name) == name) { + return judges[i]; + } + } + return null; + } + $drawAuto(cards, target) { + if (this.isUnderControl(true, target)) { + this.$draw(cards); + } + else { + this.$draw(cards.length); + } + } + $draw(num, init, config) { + if (init !== false && init !== 'nobroadcast') { + game.broadcast(function (player, num, init, config) { + player.$draw(num, init, config); + }, this, num, init, config); + } + var cards, node; + if (get.itemtype(num) == 'cards') { + cards = num; + num = cards.length; + } + else if (get.itemtype(num) == 'card') { + cards = [num]; + num = 1; + } + if (init !== false) { + if (cards) { + game.addVideo('drawCard', this, get.cardsInfo(cards)); + } + else { + game.addVideo('draw', this, num); + } + } + if (cards) { + cards = cards.slice(0); + node = cards.shift().copy('thrown', 'drawingcard'); + } + else { + node = ui.create.div('.card.thrown.drawingcard'); + } + node.fixed = true; + node.hide(); + + var dx, dy; + if (game.chess) { + var rect = this.getBoundingClientRect(); + + if (rect.left <= 80) { + dx = -10; + if (rect.top <= 80) { + dy = -10; + } + else if (rect.top + rect.height + 80 >= ui.chessContainer.offsetHeight) { + dy = 10; + } + else { + dy = 0; + } + } + else if (rect.left + rect.width + 80 >= ui.chessContainer.offsetWidth) { + dx = 10; + if (rect.top <= 80) { + dy = -10; + } + else if (rect.top + rect.height + 80 >= ui.chessContainer.offsetHeight) { + dy = 10; + } + else { + dy = 0; + } + } + else if (rect.top <= 80) { + dx = 0; + dy = -10; + } + else if (rect.top + rect.height + 80 >= ui.chessContainer.offsetHeight) { + dx = 0; + dy = 10; + } + else { + dx = rect.left + this.offsetWidth / 2 - ui.arena.offsetWidth / 2; + dy = rect.top + this.offsetHeight / 2 - ui.arena.offsetHeight / 2; + } + + var coeff = 240 / Math.sqrt(dx * dx + dy * dy); + dx *= coeff; + dy *= coeff; + + node.style.left = (this.getLeft() + this.offsetWidth / 2 - 52 - dx) + 'px'; + node.style.top = (this.getTop() + this.offsetHeight / 2 - 52 - dy) + 'px'; + this.parentNode.appendChild(node); + } + else { + this.parentNode.appendChild(node); + node.style.left = 'calc(50% - 52px)'; + node.style.top = 'calc(50% - 52px)'; + + dx = this.getLeft() + this.offsetWidth / 2 - 52 - node.offsetLeft; + dy = this.getTop() + this.offsetHeight / 2 - 52 - node.offsetTop; + + if (get.is.mobileMe(this)) { + dx += get.cardOffset(); + if (ui.arena.classList.contains('oblongcard')) { + dy -= 16; + } + } + } + node.style.transitionDuration = '0.8s'; + ui.refresh(node); + if (typeof num == 'number' && init !== false) { + config = { + total: num, + current: 1 + }; + } + if (config && config.total > 1) { + var total = config.total, current = config.current; + var dxtotal; + if (total <= 5) { + dxtotal = Math.min(80, (total - 1) * 20); + dx += -dxtotal + 2 * dxtotal * (current - 1) / (total - 1); + } + else { + var total2 = Math.floor(total / 2); + if (current <= total2) { + total = total2; + dy -= 20; + } + else { + current -= total2; + total -= total2; + dy += 20; + } + dxtotal = Math.min(80, (total - 1) * 20); + dx += -dxtotal + 2 * dxtotal * (current - 1) / (total - 1); + } + config.current++; + } + if (node.style.transform && node.style.transform != 'none' && node.style.transform.indexOf('translate') == -1) { + node.style.transform += ' translate(' + dx + 'px,' + dy + 'px)'; + } + else { + node.style.transform = 'translate(' + dx + 'px,' + dy + 'px)'; + } + node.show(); + + node.listenTransition(function () { + node.style.transitionDuration = '0.5s'; + ui.refresh(node); + node.delete(); + }); + var that = this; + if (num && num > 1) { + if (config && config.total > 1) { + setTimeout(function () { + if (cards) { + that.$draw(cards, false, config); + } + else { + that.$draw(num - 1, false, config); + } + }, 50); + } + else { + setTimeout(function () { + if (cards) { + that.$draw(cards, false, config); + } + else { + that.$draw(num - 1, false, config); + } + }, 200); + } + } + } + $compareMultiple(card1, targets, cards) { + game.broadcast(function (player, card1, targets, cards) { + player.$compareMultiple(card1, targets, cards); + }, this, card1, targets, cards); + game.addVideo('compareMultiple', this, [get.cardInfo(card1), get.targetsInfo(targets), get.cardsInfo(cards)]); + var player = this; + var node1 = player.$throwxy2(card1, + 'calc(50% - 52px)', 'calc(50% + 10px)', 'perspective(600px) rotateY(180deg)', true + ); + if (lib.config.cardback_style != 'default') { + node1.style.transitionProperty = 'none'; + ui.refresh(node1); + node1.classList.add('infohidden'); + ui.refresh(node1); + node1.style.transitionProperty = ''; + } + else { + node1.classList.add('infohidden'); + } + + node1.style.transform = 'perspective(600px) rotateY(180deg) translateX(0)'; + var onEnd01 = function () { + //node1.removeEventListener('webkitTransitionEnd',onEnd01); + setTimeout(function () { + node1.style.transition = 'all ease-in 0.3s'; + node1.style.transform = 'perspective(600px) rotateY(270deg) translateX(52px)'; + var onEnd = function () { + node1.classList.remove('infohidden'); + node1.style.transition = 'all 0s'; + ui.refresh(node1); + node1.style.transform = 'perspective(600px) rotateY(-90deg) translateX(52px)'; + ui.refresh(node1); + node1.style.transition = ''; + ui.refresh(node1); + node1.style.transform = ''; + //node1.removeEventListener('webkitTransitionEnd',onEnd); + }; + node1.listenTransition(onEnd); + }, 300); + }; + node1.listenTransition(onEnd01); + + setTimeout(function () { + var left0 = -targets.length * 52 - (targets.length - 1) * 8; + for (var i = 0; i < targets.length; i++) { + (function (target, card2, i) { + var left = left0 + i * 120; + var node2; + if (left < 0) { + node2 = target.$throwxy2(card2, + 'calc(50% - ' + (-left) + 'px)', 'calc(50% - 114px)', 'perspective(600px) rotateY(180deg)', true + ); + } + else { + node2 = target.$throwxy2(card2, + 'calc(50% + ' + left + 'px)', 'calc(50% - 114px)', 'perspective(600px) rotateY(180deg)', true + ); + } + if (lib.config.cardback_style != 'default') { + node2.style.transitionProperty = 'none'; + ui.refresh(node2); + node2.classList.add('infohidden'); + ui.refresh(node2); + node2.style.transitionProperty = ''; + } + else { + node2.classList.add('infohidden'); + } + node2.style.transform = 'perspective(600px) rotateY(180deg) translateX(0)'; + var onEnd02 = function () { + //node2.removeEventListener('webkitTransitionEnd',onEnd02); + setTimeout(function () { + node2.style.transition = 'all ease-in 0.3s'; + node2.style.transform = 'perspective(600px) rotateY(270deg) translateX(52px)'; + var onEnd = function () { + node2.classList.remove('infohidden'); + node2.style.transition = 'all 0s'; + ui.refresh(node2); + node2.style.transform = 'perspective(600px) rotateY(-90deg) translateX(52px)'; + ui.refresh(node2); + node2.style.transition = ''; + ui.refresh(node2); + node2.style.transform = ''; + //node2.removeEventListener('webkitTransitionEnd',onEnd); + }; + node2.listenTransition(onEnd); + }, 200); + }; + node2.listenTransition(onEnd02); + }(targets[i], cards[i], i)); + } + }, 200); + } + $compare(card1, target, card2) { + game.broadcast(function (player, target, card1, card2) { + player.$compare(card1, target, card2); + }, this, target, card1, card2); + game.addVideo('compare', this, [get.cardInfo(card1), target.dataset.position, get.cardInfo(card2)]); + var player = this; + var node1 = player.$throwxy2(card1, + 'calc(50% - 114px)', 'calc(50% - 52px)', 'perspective(600px) rotateY(180deg)', true + ); + if (lib.config.cardback_style != 'default') { + node1.style.transitionProperty = 'none'; + ui.refresh(node1); + node1.classList.add('infohidden'); + ui.refresh(node1); + node1.style.transitionProperty = ''; + } + else { + node1.classList.add('infohidden'); + } + + node1.style.transform = 'perspective(600px) rotateY(180deg) translateX(0)'; + var onEnd01 = function () { + //node1.removeEventListener('webkitTransitionEnd',onEnd01); + setTimeout(function () { + node1.style.transition = 'all ease-in 0.3s'; + node1.style.transform = 'perspective(600px) rotateY(270deg) translateX(52px)'; + var onEnd = function () { + node1.classList.remove('infohidden'); + node1.style.transition = 'all 0s'; + ui.refresh(node1); + node1.style.transform = 'perspective(600px) rotateY(-90deg) translateX(52px)'; + ui.refresh(node1); + node1.style.transition = ''; + ui.refresh(node1); + node1.style.transform = ''; + //node1.removeEventListener('webkitTransitionEnd',onEnd); + }; + node1.listenTransition(onEnd); + }, 300); + }; + node1.listenTransition(onEnd01); + setTimeout(function () { + var node2 = target.$throwxy2(card2, + 'calc(50% + 10px)', 'calc(50% - 52px)', 'perspective(600px) rotateY(180deg)', true + ); + if (lib.config.cardback_style != 'default') { + node2.style.transitionProperty = 'none'; + ui.refresh(node2); + node2.classList.add('infohidden'); + ui.refresh(node2); + node2.style.transitionProperty = ''; + } + else { + node2.classList.add('infohidden'); + } + node2.style.transform = 'perspective(600px) rotateY(180deg) translateX(0)'; + var onEnd02 = function () { + //node2.removeEventListener('webkitTransitionEnd',onEnd02); + setTimeout(function () { + node2.style.transition = 'all ease-in 0.3s'; + node2.style.transform = 'perspective(600px) rotateY(270deg) translateX(52px)'; + var onEnd = function () { + node2.classList.remove('infohidden'); + node2.style.transition = 'all 0s'; + ui.refresh(node2); + node2.style.transform = 'perspective(600px) rotateY(-90deg) translateX(52px)'; + ui.refresh(node2); + node2.style.transition = ''; + ui.refresh(node2); + node2.style.transform = ''; + //node2.removeEventListener('webkitTransitionEnd',onEnd); + }; + node2.listenTransition(onEnd); + }, 200); + }; + node2.listenTransition(onEnd02); + }, 200); + } + $throw(card, time, init, nosource) { + if (typeof card == 'number') { + var tmp = card; + card = []; + while (tmp--) { + var cardx = ui.create.card(); + cardx.classList.add('infohidden'); + cardx.classList.add('infoflip'); + card.push(cardx); + } + } + if (init !== false) { + if (init !== 'nobroadcast') { + game.broadcast(function (player, card, time, init, nosource) { + player.$throw(card, time, init, nosource); + }, this, card, time, init); + } + if (get.itemtype(card) != 'cards') { + if (get.itemtype(card) == 'card') { + card = [card]; + } + else { + return; + } + } + game.addVideo('throw', this, [get.cardsInfo(card), time, nosource]); + } + if (game.chess) { + this.chessFocus(); + } + if (get.itemtype(card) == 'cards') { + var node; + for (var i = 0; i < card.length; i++) { + node = this.$throw(card[i], time, false, nosource); + } + return node; + } + else { + var node; + if (card == undefined || card.length == 0) return; + node = this.$throwordered(card.copy('thrown'), nosource); + if (time != undefined) { + node.fixed = true; + setTimeout(function () { node.delete(); }, time); + } + lib.listenEnd(node); + return node; + } + } + $throwordered() { + return this.$throwordered2.apply(this, arguments); + // if(lib.config.low_performance){ + // return this.$throwordered2.apply(this,arguments); + // } + // else{ + // return this.$throwordered1.apply(this,arguments); + // } + } + $throwordered1(node, nosource) { + node.classList.add('thrown'); + node.hide(); + node.style.transitionProperty = 'left,top,opacity,transform'; + for (var i = 0; i < ui.thrown.length; i++) { + if (ui.thrown[i].parentNode != ui.arena || + ui.thrown[i].classList.contains('removing')) { + ui.thrown.splice(i--, 1); + } + } + ui.thrown.push(node); + var uithrowns = ui.thrown.slice(0); + var tops; + if (game.chess) { + switch (Math.floor((ui.thrown.length - 1) / 4)) { + case 0: + tops = ['calc(50% - 82px)']; + break; + case 1: + tops = ['calc(50% - 139px)', 'calc(50% - 25px)']; + break; + case 2: + tops = ['calc(50% - 196px)', 'calc(50% - 82px)', 'calc(50% + 32px)']; + break; + default: + tops = ['calc(50% - 253px)', 'calc(50% - 139px)', + 'calc(50% - 25px)', 'calc(50% + 89px)']; + } + } + else { + switch (Math.floor((ui.thrown.length - 1) / 4)) { + case 0: + tops = ['calc(50% - 52px)']; + break; + case 1: + tops = ['calc(50% - 109px)', 'calc(50% + 5px)']; + break; + case 2: + tops = ['calc(50% - 166px)', 'calc(50% - 52px)', 'calc(50% + 62px)']; + break; + default: + tops = ['calc(50% - 223px)', 'calc(50% - 109px)', + 'calc(50% + 5px)', 'calc(50% + 119px)']; + } + } + while (uithrowns.length) { + var throwns = uithrowns.splice(0, Math.min(uithrowns.length, 4)); + switch (throwns.length) { + case 1: + throwns[0].style.left = 'calc(50% - 52px)'; + break; + case 2: + throwns[0].style.left = 'calc(50% - 109px)'; + throwns[1].style.left = 'calc(50% + 5px)'; + break; + case 3: + throwns[0].style.left = 'calc(50% - 166px)'; + throwns[1].style.left = 'calc(50% - 52px)'; + throwns[2].style.left = 'calc(50% + 62px)'; + break; + case 4: + throwns[0].style.left = 'calc(50% - 223px)'; + throwns[1].style.left = 'calc(50% - 109px)'; + throwns[2].style.left = 'calc(50% + 5px)'; + throwns[3].style.left = 'calc(50% + 119px)'; + break; + } + var top; + if (tops.length) { + top = tops.shift(); + } + else { + if (game.chess) { + top = 'calc(50% - 82px)'; + } + else { + top = 'calc(50% - 52px)'; + } + } + for (var i = 0; i < throwns.length; i++) { + throwns[i].style.top = top; + } + } + if (nosource) { + node.style.transform = 'scale(0)'; + node.classList.add('center'); + } + else { + var parseCalc = function (str) { + var per = str.slice(str.indexOf('calc(') + 5, str.indexOf('%')); + var add = str.slice(str.indexOf('%') + 1, str.indexOf('px')).replace(/\s/g, ''); + return [parseInt(per), parseInt(add)]; + }; + var nx = parseCalc(node.style.left); + var ny = parseCalc(node.style.top); + nx = nx[0] * ui.arena.offsetWidth / 100 + nx[1]; + ny = ny[0] * ui.arena.offsetHeight / 100 + ny[1]; + var dx, dy; + if (game.chess) { + var rect = this.getBoundingClientRect(); + dx = rect.left + this.offsetWidth / 2 - 52 - nx; + dy = rect.top + this.offsetHeight / 2 - 52 - ny; + } + else { + dx = this.getLeft() + this.offsetWidth / 2 - 52 - nx; + dy = this.getTop() + this.offsetHeight / 2 - 52 - ny; + if (get.is.mobileMe(this)) { + dx += get.cardOffset(); + if (ui.arena.classList.contains('oblongcard')) { + dy -= 16; + } + } + } + if (node.style.transform && node.style.transform != 'none' && node.style.transform.indexOf('translate') == -1) { + node.style.transform += ' translate(' + dx + 'px,' + dy + 'px)'; + } + else { + node.style.transform = 'translate(' + dx + 'px,' + dy + 'px)'; + } + } + ui.arena.appendChild(node); + ui.refresh(node); + node.style.transform = ''; + node.show(); + lib.listenEnd(node); + return node; + } + $throwordered2(node, nosource) { + node.classList.add('thrown'); + node.classList.add('center'); + node.hide(); + node.style.transitionProperty = 'left,top,opacity,transform'; + + if (nosource) { + // node.style.transform='scale(0)'; + } + else { + var nx = [50, -52]; + var ny = [50, -52]; + nx = nx[0] * ui.arena.offsetWidth / 100 + nx[1]; + ny = ny[0] * ui.arena.offsetHeight / 100 + ny[1]; + var dx, dy; + if (game.chess) { + var rect = this.getBoundingClientRect(); + dx = rect.left + this.offsetWidth / 2 - 52 - nx; + dy = rect.top + this.offsetHeight / 2 - 52 - ny; + } + else { + dx = this.getLeft() + this.offsetWidth / 2 - 52 - nx; + dy = this.getTop() + this.offsetHeight / 2 - 52 - ny; + if (get.is.mobileMe(this)) { + dx += get.cardOffset(); + if (ui.arena.classList.contains('oblongcard')) { + dy -= 16; + } + } + } + if (node.style.transform && node.style.transform != 'none' && node.style.transform.indexOf('translate') == -1) { + node.style.transform += ' translate(' + dx + 'px,' + dy + 'px)'; + } + else { + node.style.transform = 'translate(' + dx + 'px,' + dy + 'px)'; + } + } + ui.arena.appendChild(node); + ui.refresh(node); + + for (var i = 0; i < ui.thrown.length; i++) { + if (ui.thrown[i].parentNode != ui.arena || + ui.thrown[i].classList.contains('removing')) { + ui.thrown.splice(i--, 1); + } + } + ui.thrown.push(node); + var uithrowns = ui.thrown.slice(0); + var tops; + switch (Math.floor((ui.thrown.length - 1) / 4)) { + case 0: + tops = [0]; + break; + case 1: + tops = [-57, 57]; + break; + case 2: + tops = [-114, 0, 114]; + break; + default: + tops = [-171, -57, 57, 171]; + } + while (uithrowns.length) { + var throwns = uithrowns.splice(0, Math.min(uithrowns.length, 4)); + switch (throwns.length) { + case 1: + throwns[0]._transthrown = 'translate(0px,'; + break; + case 2: + throwns[0]._transthrown = 'translate(-57px,'; + throwns[1]._transthrown = 'translate(57px,'; + break; + case 3: + throwns[0]._transthrown = 'translate(-114px,'; + throwns[1]._transthrown = 'translate(0,'; + throwns[2]._transthrown = 'translate(114px,'; + break; + case 4: + throwns[0]._transthrown = 'translate(-171px,'; + throwns[1]._transthrown = 'translate(-57px,'; + throwns[2]._transthrown = 'translate(57px,'; + throwns[3]._transthrown = 'translate(171px,'; + break; + } + var top; + if (tops.length) { + top = tops.shift(); + } + else { + top = 0; + } + if (game.chess) { + top -= 30; + } + for (var i = 0; i < throwns.length; i++) { + throwns[i].style.transform = throwns[i]._transthrown + top + 'px)'; + delete throwns[i]._transthrown; + } + } + + node.show(); + lib.listenEnd(node); + return node; + } + $throwxy(card, left, top) { + var node = card.copy('thrown', 'thrownhighlight'); + node.dataset.position = this.dataset.position; + node.hide(); + node.style.transitionProperty = 'left,top,opacity'; + + ui.arena.appendChild(node); + ui.refresh(node); + node.show(); + node.style.left = left; + node.style.top = top; + lib.listenEnd(node); + return node; + } + $throwxy2(card, left, top, trans, flipx, flipy) { + if (game.chess) { + return this.$throwxy.apply(this, arguments); + } + var node = card.copy('thrown', 'thrownhighlight'); + node.style.left = left; + node.style.top = top; + node.hide(); + // node.style.transitionProperty='left,top,opacity,transform'; + + var parseCalc = function (str) { + var per = str.slice(str.indexOf('calc(') + 5, str.indexOf('%')); + var add = str.slice(str.indexOf('%') + 1, str.indexOf('px')).replace(/\s/g, ''); + return [parseInt(per), parseInt(add)]; + }; + var nx = parseCalc(node.style.left); + var ny = parseCalc(node.style.top); + nx = nx[0] * ui.arena.offsetWidth / 100 + nx[1]; + ny = ny[0] * ui.arena.offsetHeight / 100 + ny[1]; + var dx = this.getLeft() + this.offsetWidth / 2 - 52 - nx; + var dy = this.getTop() + this.offsetHeight / 2 - 52 - ny; + if (flipx) dx = -dx; + if (flipy) dy = -dy; + if (trans) { + node.style.transform = trans + ' translate(' + dx + 'px,' + dy + 'px)'; + } + else { + node.style.transform = 'translate(' + dx + 'px,' + dy + 'px)'; + } + + ui.arena.appendChild(node); + ui.refresh(node); + node.show(); + // node.style.transform=trans||''; + lib.listenEnd(node); + return node; + } + throwDice(num) { + if (typeof num != 'number') { + num = get.rand(6) + 1; + _status.event.num = num; + } + if (!game.online) { + game.pause(); + } + game.broadcastAll(function (num) { + var diceContainer = ui.create.div('.fullsize.dice-container', ui.window); + ui.window.classList.add('dicepaused'); + var dice = ui.create.div('.dice'); + var side; + + side = ui.create.div('.side.front', dice); + ui.create.div('.dot.center', side); + ui.create.div('.side.front.inner', dice); + + side = ui.create.div('.side.top', dice); + ui.create.div('.dot.dtop.dleft', side); + ui.create.div('.dot.dbottom.dright', side); + ui.create.div('.side.top.inner', dice); + + side = ui.create.div('.side.right', dice); + ui.create.div('.dot.dtop.dleft', side); + ui.create.div('.dot.center', side); + ui.create.div('.dot.dbottom.dright', side); + ui.create.div('.side.right.inner', dice); + + side = ui.create.div('.side.left', dice); + ui.create.div('.dot.dtop.dleft', side); + ui.create.div('.dot.dtop.dright', side); + ui.create.div('.dot.dbottom.dleft', side); + ui.create.div('.dot.dbottom.dright', side); + ui.create.div('.side.left.inner', dice); + + side = ui.create.div('.side.bottom', dice); + ui.create.div('.dot.center', side); + ui.create.div('.dot.dtop.dleft', side); + ui.create.div('.dot.dtop.dright', side); + ui.create.div('.dot.dbottom.dleft', side); + ui.create.div('.dot.dbottom.dright', side); + ui.create.div('.side.bottom.inner', dice); + + side = ui.create.div('.side.back', dice); + ui.create.div('.dot.dtop.dleft', side); + ui.create.div('.dot.dtop.dright', side); + ui.create.div('.dot.dbottom.dleft', side); + ui.create.div('.dot.dbottom.dright', side); + ui.create.div('.dot.center dleft', side); + ui.create.div('.dot.center dright', side); + ui.create.div('.side.back.inner', dice); + + ui.create.div('.side.cover.x', dice); + ui.create.div('.side.cover.y', dice); + ui.create.div('.side.cover.z', dice); + + var map = { + 1: [75, 0, 45], + 2: [-15, 45, 0], + 3: [165, -45, 90], + 4: [345, -45, 90], + 5: [345, -45, 180], + 6: [255, 0, 135] + }; + dice.roll = function (deg) { + if (typeof deg == 'number') { + dice.current[0] += deg; + deg = dice.current; + } + deg = deg.slice(0); + dice.current = deg; + this.style.transform = 'rotateX(' + deg[0] + 'deg) rotateY(' + deg[1] + 'deg) rotateZ(' + deg[2] + 'deg)'; + }; + dice.roll(map[num]); + diceContainer.appendChild(dice); + ui.refresh(dice); + dice.roll(1025); + + dice.addEventListener('webkitTransitionEnd', function () { + if (!dice.over) { + dice.style.transition = 'transform 0.8s ease'; + dice.roll(-20); + dice.over = true; + } + else if (!dice.resumed) { + setTimeout(function () { + diceContainer.delete(); + ui.window.classList.remove('dicepaused'); + }, 300); + if (!game.online) { + setTimeout(game.resume, 800); + } + dice.resumed = true; + } + }); + }, num); + } + $giveAuto(card, player) { + if (Array.isArray(card) && card.length == 0) return; + var args = Array.from(arguments); + if (_status.connectMode || (!this.isUnderControl(true) && !player.isUnderControl(true))) { + if (Array.isArray(card)) { + card = card.length; + } + else { + card = 1; + } + args[0] = card; + } + return this.$give.apply(this, args); + } + $give(card, player, log, init) { + if (init !== false) { + game.broadcast(function (source, card, player, init) { + source.$give(card, player, false, init); + }, this, card, player, init); + if (typeof card == 'number' && card >= 0) { + game.addVideo('give', this, [card, player.dataset.position]); + } + else { + if (get.itemtype(card) == 'card') { + card = [card]; + } + if (get.itemtype(card) == 'cards') { + game.addVideo('giveCard', this, [get.cardsInfo(card), player.dataset.position]); + } + } + } + if (get.itemtype(card) == 'cards') { + if (log != false && !_status.video) { + game.log(player, '从', this, '获得了', card); + } + if (this.$givemod) { + this.$givemod(card, player); + } + else { + for (var i = 0; i < card.length; i++) { + this.$give(card[i], player, false, false); + } + } + } + else if (typeof card == 'number' && card >= 0) { + if (log != false && !_status.video) { + game.log(player, '从', this, '获得了' + get.cnNumber(card) + '张牌'); + } + if (this.$givemod) { + this.$givemod(card, player); + } + else { + while (card--) this.$give('', player, false, false); + } + } + else { + if (log != false && !_status.video) { + if (get.itemtype(card) == 'card' && log != false) { + game.log(player, '从', this, '获得了', card); + } + else { + game.log(player, '从', this, '获得了一张牌'); + } + } + if (this.$givemod) { + this.$givemod(card, player); + } + else { + var node; + if (get.itemtype(card) == 'card') { + node = card.copy('card', 'thrown', false); + } + else { + node = ui.create.div('.card.thrown'); + } + // node.dataset.position=this.dataset.position; + node.fixed = true; + this.$throwordered(node); + // lib.listenEnd(node); + // node.hide(); + // node.style.transitionProperty='left,top,opacity'; + // + // node.style.transform='rotate('+(Math.random()*16-8)+'deg)'; + // + // ui.arena.appendChild(node); + // ui.refresh(node); + // node.show(); + // node.style.left='calc(50% - 52px '+((Math.random()-0.5<0)?'+':'-')+' '+Math.random()*100+'px)'; + // node.style.top='calc(50% - 52px '+((Math.random()-0.5<0)?'+':'-')+' '+Math.random()*80+'px)'; + + node.listenTransition(function () { + var dx = player.getLeft() + player.offsetWidth / 2 - 52 - node.offsetLeft; + var dy = player.getTop() + player.offsetHeight / 2 - 52 - node.offsetTop; + if (node.style.transform && node.style.transform != 'none' && node.style.transform.indexOf('translate') == -1) { + node.style.transform += ' translate(' + dx + 'px,' + dy + 'px)'; + } + else { + node.style.transform = 'translate(' + dx + 'px,' + dy + 'px)'; + } + + node.delete(); + }); + // setTimeout(function(){ + // // node.removeAttribute('style'); + // // node.dataset.position=player.dataset.position; + // var dx=player.offsetLeft+player.offsetWidth/2-52-node.offsetLeft; + // var dy=player.offsetTop+player.offsetHeight/2-52-node.offsetTop; + // if(node.style.transform&&node.style.transform!='none'&&node.style.transform.indexOf('translate')==-1){ + // node.style.transform+=' translate('+dx+'px,'+dy+'px)'; + // } + // else{ + // node.style.transform='translate('+dx+'px,'+dy+'px)'; + // } + // + // node.delete(); + // },700); + } + } + } + $equip(card) { + game.broadcast(function (player, card) { + player.$equip(card); + }, this, card); + card.fix(); + card.style.transform = ''; + card.classList.remove('drawinghidden'); + delete card._transform; + var player = this; + var equipNum = get.equipNum(card); + var equipped = false; + for (var i = 0; i < player.node.equips.childNodes.length; i++) { + if (get.equipNum(player.node.equips.childNodes[i]) >= equipNum) { + player.node.equips.insertBefore(card, player.node.equips.childNodes[i]); + equipped = true; + break; + } + } + if (!equipped) { + player.node.equips.appendChild(card); + if (_status.discarded) { + _status.discarded.remove(card); + } + } + var info = get.info(card); + if (info.skills) { + for (var i = 0; i < info.skills.length; i++) { + player.addSkillTrigger(info.skills[i]); + } + } + return player; + } + $gain(card, log, init) { + if (init !== false) { + game.broadcast(function (player, card, init) { + player.$gain(card, false, init); + }, this, card, init); + if (typeof card == 'number' && card >= 0) { + game.addVideo('gain', this, card); + } + else { + if (get.itemtype(card) == 'card') { + card = [card]; + } + if (get.itemtype(card) == 'cards') { + game.addVideo('gainCard', this, get.cardsInfo(card)); + } + else { + game.addVideo('gain', this, 1); + } + } + } + if (get.itemtype(card) == 'cards') { + if (log != false && !_status.video) { + game.log(this, '获得了', card); + } + if (this.$gainmod) { + this.$gainmod(card); + } + else { + for (var i = 0; i < card.length; i++) { + this.$gain(card[i], false, false); + } + } + } + else if (typeof card == 'number' && card > 1) { + if (log != false && !_status.video) { + game.log(this, '获得了' + get.cnNumber(card) + '张牌'); + } + if (this.$gainmod) { + this.$gainmod(card); + } + else { + for (var i = 0; i < card; i++) { + this.$gain(1, false, false); + } + } + } + else { + if (get.itemtype(card) == 'card' && log != false && !_status.video) { + game.log(this, '获得了', card); + } + if (this.$gainmod) { + this.$gainmod(card); + } + else { + var node; + if (get.itemtype(card) == 'card') { + // node=this.$throwordered(card.copy(),true); + node = card.copy('thrown', false); + } + else { + // node=this.$throwordered(ui.create.div('.card.thrown'),true); + node = ui.create.div('.card.thrown'); + node.moveTo = lib.element.Card.prototype.moveTo; + node.moveDelete = lib.element.Card.prototype.moveDelete; + } + node.fixed = true; + node.style.left = 'calc(50% - 52px ' + ((Math.random() - 0.5 < 0) ? '+' : '-') + ' ' + Math.random() * 100 + 'px)'; + node.style.top = 'calc(50% - 52px ' + ((Math.random() - 0.5 < 0) ? '+' : '-') + ' ' + Math.random() * 100 + 'px)'; + node.style.transform = 'scale(0)'; + node.hide(); + ui.arena.appendChild(node); + ui.refresh(node); + node.show(); + node.style.transform = ''; + + lib.listenEnd(node); + var player = this; + setTimeout(function () { + node.moveDelete(player); + }, 700); + } + } + } + $gain2(cards, log) { + if (log === true) { + game.log(this, '获得了', cards); + } + game.broadcast(function (player, cards) { + player.$gain2(cards); + }, this, cards); + if (get.itemtype(cards) == 'card') cards = [cards]; + else if (get.itemtype(cards) != 'cards') return; + var list = [], list2 = []; + for (var i = 0; i < cards.length; i++) { + if (cards[i].clone && + (cards[i].clone.parentNode == this.parentNode || + cards[i].clone.parentNode == ui.arena) && + parseFloat(getComputedStyle(cards[i].clone).opacity) > 0.3) { + cards[i].clone.moveDelete(this); + list2.push(cards[i].clone); + } + else { + list.push(cards[i]); + } + } + if (list2.length) { + game.addVideo('gain2', this, get.cardsInfo(list2)); + } + if (list.length) { + this.$draw(list, 'nobroadcast'); + return true; + } + } + $skill(name, type, color, avatar) { + if (typeof type != 'string') type = 'legend'; + if (!avatar) { + this.playerfocus(1500); + game.delay(2); + } + else { + game.addVideo('playerfocus2'); + game.broadcastAll(function () { + ui.arena.classList.add('playerfocus'); + setTimeout(function () { + ui.arena.classList.remove('playerfocus'); + }, 1800); + }); + game.delay(3); + } + var that = this; + setTimeout(function () { + game.broadcastAll(function (that, type, name, color, avatar) { + if (lib.config.animation && !lib.config.low_performance) { + if (game.chess) { + that['$' + type + '2'](1200); + } + else { + that['$' + type](1200); + } + } + if (name) { + that.$fullscreenpop(name, color, avatar); + } + }, that, type, name, color, avatar); + }, avatar ? 0 : 300); + } + $fire() { + game.addVideo('flame', this, 'fire'); + var left, top; + if (game.chess) { + var rect = this.getBoundingClientRect(); + left = rect.left; + top = rect.top; + } + else { + left = this.getLeft(); + top = this.getTop(); + } + game.animate.flame(left + this.offsetWidth / 2, + top + this.offsetHeight - 20, 700, 'fire'); + } + $thunder() { + game.addVideo('flame', this, 'thunder'); + var left, top; + if (game.chess) { + var rect = this.getBoundingClientRect(); + left = rect.left; + top = rect.top; + } + else { + left = this.getLeft(); + top = this.getTop(); + } + game.animate.flame(left + this.offsetWidth / 2, + top + this.offsetHeight - 30, 700, 'thunder'); + } + $rare2() { + game.addVideo('flame', this, 'rare2'); + var rect = this.getBoundingClientRect(); + var left = rect.left; + var top = rect.top + 15; + game.animate.flame(left + this.offsetWidth / 2, + top + this.offsetHeight - 30, 700, 'rare'); + } + $epic2() { + game.addVideo('flame', this, 'epic2'); + var rect = this.getBoundingClientRect(); + var left = rect.left; + var top = rect.top + 15; + game.animate.flame(left + this.offsetWidth / 2, + top + this.offsetHeight - 30, 700, 'epic'); + } + $legend2() { + game.addVideo('flame', this, 'legend2'); + var rect = this.getBoundingClientRect(); + var left = rect.left; + var top = rect.top + 15; + game.animate.flame(left + this.offsetWidth / 2, + top + this.offsetHeight - 30, 700, 'legend'); + } + $rare(time) { + time = time || 700; + game.addVideo('flame', this, 'rare'); + var left, top; + if (game.chess) { + left = this.getLeft() - ui.arena.offsetLeft; + top = this.getTop() - ui.arena.offsetTop; + } + else { + left = this.getLeft(); + top = this.getTop(); + } + if (this.classList.contains('minskin')) { + top += 15; + } + game.animate.flame(left + this.offsetWidth / 2, + top + this.offsetHeight - 30, time, 'rare'); + } + $epic(time) { + time = time || 700; + game.addVideo('flame', this, 'epic'); + var left, top; + if (game.chess) { + left = this.getLeft() - ui.arena.offsetLeft; + top = this.getTop() - ui.arena.offsetTop; + } + else { + left = this.getLeft(); + top = this.getTop(); + } + if (this.classList.contains('minskin')) { + top += 15; + } + game.animate.flame(left + this.offsetWidth / 2, + top + this.offsetHeight - 30, time, 'epic'); + } + $legend(time) { + time = time || 700; + game.addVideo('flame', this, 'legend'); + var left, top; + if (game.chess) { + left = this.getLeft() - ui.arena.offsetLeft; + top = this.getTop() - ui.arena.offsetTop; + } + else { + left = this.getLeft(); + top = this.getTop(); + } + if (this.classList.contains('minskin')) { + top += 15; + } + game.animate.flame(left + this.offsetWidth / 2, + top + this.offsetHeight - 30, time, 'legend'); + } + $coin() { + game.broadcast(function (player) { + if (!lib.config.low_performance) { + player.$coin(); + } + }, this); + game.addVideo('flame', this, 'coin'); + var left = this.getLeft() - ui.arena.offsetLeft; + var top = this.getTop() - ui.arena.offsetTop; + if (this.classList.contains('minskin')) { + top += 15; + } + top -= 25; + game.animate.flame(left + this.offsetWidth / 2, + top + this.offsetHeight - 30, 700, 'coin'); + } + $dust() { + game.broadcast(function (player) { + if (!lib.config.low_performance) { + player.$dust(); + } + }, this); + game.addVideo('flame', this, 'dust'); + var left = this.getLeft() - ui.arena.offsetLeft; + var top = this.getTop() - ui.arena.offsetTop; + if (this.classList.contains('minskin')) { + top += 15; + } + top -= 25; + game.animate.flame(left + this.offsetWidth / 2, + top + this.offsetHeight - 30, 700, 'dust'); + } + $recover() { + game.addVideo('flame', this, 'recover'); + var left, top; + if (game.chess) { + var rect = this.getBoundingClientRect(); + left = rect.left; + top = rect.top; + } + else { + left = this.getLeft(); + top = this.getTop(); + } + game.animate.flame(left + this.offsetWidth / 2, + top + this.offsetHeight - 30, 700, 'recover'); + } + $fullscreenpop(str, nature, avatar, broadcast) { + if (broadcast !== false) game.broadcast(function (player, str, nature, avatar) { + player.$fullscreenpop(str, nature, avatar); + }, this, str, nature, avatar); + game.addVideo('fullscreenpop', this, [str, nature, avatar]); + var node = ui.create.div('.damage'); + if (avatar && this.node) { + if (avatar == 'vice') { + if (lib.character[this.name2]) { + avatar = this.node.avatar2; + } + } + else { + if (lib.character[this.name]) { + avatar = this.node.avatar; + } + } + if (!get.is.div(avatar)) { + avatar = false; + } + } + else { + avatar = false; + } + if (avatar) { + node.classList.add('fullscreenavatar'); + ui.create.div('', ui.create.div(node)); + // ui.create.div('',str.split('').join('
    '),ui.create.div('.text.textbg',node)); + ui.create.div('', '
    ' + str.split('').join('

    ') + '
    ', ui.create.div('.text', node)); + node.firstChild.firstChild.style.backgroundImage = avatar.style.backgroundImage; + node.dataset.nature = nature || 'unknown'; + var num = 0; + var nodes = node.lastChild.firstChild.querySelectorAll('div'); + var interval = setInterval(function () { + if (num < nodes.length) { + nodes[num].classList.add('flashtext'); + num++; + } + else { + clearInterval(interval); + } + }, 100); + } + else { + avatar = false; + node.innerHTML = str; + node.dataset.nature = nature || 'soil'; + } + if (avatar) { + var rect1 = ui.window.getBoundingClientRect(); + var rect2 = this.getBoundingClientRect(); + var dx = Math.round(2 * rect2.left + rect2.width - rect1.width); + var dy = Math.round(2 * rect2.top + rect2.height - rect1.height); + node.style.transform = 'scale(0.5) translate(' + dx + 'px,' + dy + 'px)'; + } + ui.window.appendChild(node); + ui.refresh(node); + if (avatar) { + node.style.transform = 'scale(1)'; + node.style.opacity = 1; + } + else { + node.classList.add('damageadded'); + } + setTimeout(function () { + node.delete(); + node.style.transform = 'scale(1.5)'; + }, avatar ? 1600 : 1000); + } + $damagepop(num, nature, font, nobroadcast) { + if (typeof num == 'number' || typeof num == 'string') { + game.addVideo('damagepop', this, [num, nature, font]); + if (nobroadcast !== false) game.broadcast(function (player, num, nature, font) { + player.$damagepop(num, nature, font); + }, this, num, nature, font); + var node = ui.create.div('.damage'); + if (font) { + node.classList.add('normal-font'); + } + if (typeof num == 'number' && num > 0) { + if (num == Infinity) num = '+∞'; + else num = '+' + num; + } + else if (num == -Infinity) num = '-∞'; + node.innerHTML = num; + this.damagepopups.push(node); + node.dataset.nature = nature || 'soil'; + if (this.damagepopups.length == 1) { + this.$damagepop(); + } + } + else if (this.damagepopups.length) { + var node = this.damagepopups[0]; + this.appendChild(node); + ui.refresh(node); + node.classList.add('damageadded'); + node.listenTransition(function () { + setTimeout(function () { + node.delete(); + }, 200); + }); + // setTimeout(function(){ + // node.delete(); + // },500); + var that = this; + setTimeout(function () { + that.damagepopups.shift(); + that.$damagepop(); + }, 500); + } + } + $damage(source) { + if (get.itemtype(source) == 'player') { + game.addVideo('damage', this, source.dataset.position); + } + else { + game.addVideo('damage', this); + } + game.broadcast(function (player, source) { + player.$damage(source); + }, this, source); + if (source && source != this && lib.config.damage_shake) { + var left, top; + if (source.getTop() == this.getTop()) { + left = 20; + top = 0; + } + else { + var ratio = (source.getLeft() - this.getLeft()) / (source.getTop() - this.getTop()); + left = Math.abs(20 * ratio / Math.sqrt(1 + ratio * ratio)); + top = Math.abs(20 / Math.sqrt(1 + ratio * ratio)); + } + if (source.getLeft() - this.getLeft() > 0) left = -left; + if (source.getTop() - this.getTop() > 0) top = -top; + if (get.is.mobileMe(this)) { + if (this.classList.contains('linked')) { + this.node.avatar.style.transform = 'translate(' + left + 'px,' + top + 'px) rotate(-90deg)'; + this.node.avatar2.style.transform = 'translate(' + left + 'px,' + top + 'px) rotate(-90deg)'; + } + else { + this.node.avatar.style.transform = 'translate(' + left + 'px,' + top + 'px)'; + this.node.avatar2.style.transform = 'translate(' + left + 'px,' + top + 'px)'; + } + } + else if (this.classList.contains('linked') && get.is.newLayout()) { + this.style.transform = 'translate(' + left + 'px,' + top + 'px) rotate(-90deg)'; + } + else if (this._chesstransform) { + this.style.transform = 'translate(' + (left + this._chesstransform[0]) + 'px,' + (top + this._chesstransform[1]) + 'px)'; + } + else { + this.style.transform = 'translate(' + left + 'px,' + top + 'px)'; + } + } + else { + var zoom1 = 0.9, zoom2 = 0.95; + if (arguments[1] == 'phase') { + zoom1 = 1.05; + zoom2 = 1.05; + } + if (get.is.mobileMe(this)) { + if (this.classList.contains('linked')) { + this.node.avatar.style.transform = 'scale(' + zoom1 + ') rotate(-90deg)'; + this.node.avatar2.style.transform = 'scale(' + zoom1 + ') rotate(-90deg)'; + } + else { + this.node.avatar.style.transform = 'scale(' + zoom1 + ')'; + this.node.avatar2.style.transform = 'scale(' + zoom1 + ')'; + } + } + else if (this.classList.contains('linked') && get.is.newLayout()) { + this.style.transform = 'scale(' + zoom2 + ') rotate(-90deg)'; + } + else if (game.chess && this._chesstransform) { + this.style.transform = 'translate(' + this._chesstransform[0] + 'px,' + this._chesstransform[1] + 'px) scale(' + zoom2 + ')'; + } + else { + this.style.transform = 'scale(' + zoom2 + ')'; + } + } + this.queue(); + } + $die() { + game.addVideo('die', this); + game.broadcast(function (player) { + player.$die(); + }, this); + if (lib.config.die_move != 'off') { + this.$dieflip(lib.config.die_move); + } + if (this.$dieAfter) { + this.$dieAfter(); + } + } + $dieflip(type) { + var top0 = ui.window.offsetHeight / 2; + var left0 = ui.window.offsetWidth / 2; + var ratio = (left0 - this.getLeft()) / (top0 - this.getTop()); + var left = Math.abs(50 * ratio / Math.sqrt(1 + ratio * ratio)); + var top = Math.abs(50 / Math.sqrt(1 + ratio * ratio)); + if (left0 - this.getLeft() > 0) left = -left; + if (top0 - this.getTop() > 0) top = -top; + if (get.is.mobileMe(this)) { + left = -Math.random() * 5 - 10; + top = Math.random() * 5 + 10; + } + if (this._chesstransform) { + left += this._chesstransform[0]; + top += this._chesstransform[1]; + } + var transform = 'translate(' + left + 'px,' + top + 'px) ' + + 'rotate(' + (Math.random() * 20 - 10) + 'deg) '; + if (type == 'flip') { + if (game.layout == 'long' || game.layout == 'long2') { + transform += 'rotateY(180deg)'; + } + else { + transform += ((Math.random() - 0.5 < 0) ? 'rotateX(180deg)' : 'rotateY(180deg)'); + } + } + if (get.is.mobileMe(this)) { + this.node.avatar.style.transform = transform; + this.node.avatar2.style.transform = transform; + this.style.transform = ''; + } + else { + this.node.avatar.style.transform = ''; + this.node.avatar2.style.transform = ''; + this.style.transform = transform; + } + this.queue(false); + } + $phaseJudge(card) { + game.addVideo('phaseJudge', this, get.cardInfo(card)); + var player = this; + var clone = player.$throw(card); + if (lib.config.low_performance && card && card.clone) { + var waitingForTransition = get.time(); + _status.waitingForTransition = waitingForTransition; + card.clone.listenTransition(function () { + if (_status.waitingForTransition == waitingForTransition && _status.paused) { + game.resume(); + } + }); + game.pause(); + } + else { + game.delay(); + } + } +} diff --git a/noname/library/index.js b/noname/library/index.js index 2f8a1d975..36d2f83d5 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -22,6 +22,7 @@ import { LibInit } from "./init/index.js"; import { Announce } from "./announce/index.js"; import Content from "./element/content.js"; import Contents from "./element/contents.js"; +import Player from "./element/player.js"; export class Library extends Uninstantable { static configprefix = 'noname_0.9_'; @@ -9214,9501 +9215,7 @@ export class Library extends Uninstantable { static element = { content: Content, contents: Contents, - Player: class extends HTMLDivElement { - /** - * @param {HTMLDivElement} [position] - * @param {true} [noclick] - */ - constructor(position, noclick) { - /** - * @type {Player} - */ - const player = ui.create.div('.player', position); - Object.setPrototypeOf(player, lib.element.Player.prototype); - player.build(noclick); - return player; - } - build(noclick) { - let player = this; - player.buildNode(); - player.buildProperty(); - player.buildExtra(); - player.buildEventListener(noclick); - } - buildNode() { - let player = this; - const node = player.node = { - avatar: ui.create.div('.avatar', player, ui.click.avatar).hide(), - avatar2: ui.create.div('.avatar2', player, ui.click.avatar2).hide(), - turnedover: ui.create.div('.turned', '
    翻面
    ', player), - framebg: ui.create.div('.framebg', player), - intro: ui.create.div('.intro', player), - identity: ui.create.div('.identity', player), - hp: ui.create.div('.hp', player), - name: ui.create.div('.name', player), - name2: ui.create.div('.name.name2', player), - nameol: ui.create.div('.nameol', player), - count: ui.create.div('.count', player).hide(), - equips: ui.create.div('.equips', player).hide(), - judges: ui.create.div('.judges', player), - marks: ui.create.div('.marks', player), - chain: ui.create.div('.chain', '
    ', player), - handcards1: ui.create.div('.handcards'), - handcards2: ui.create.div('.handcards'), - expansions: ui.create.div('.expansions') - }; - node.expansions.style.display = 'none'; - const chainLength = game.layout == 'default' ? 64 : 40; - for (let repetition = 0; repetition < chainLength; repetition++) { - ui.create.div(node.chain.firstChild, '.cardbg').style.transform = `translateX(${repetition * 5 - 5}px)`; - } - node.action = ui.create.div('.action', node.avatar); - } - buildExtra() { - let player = this; - let node = player.node; - node.link = player.mark(' ', { - mark: get.linkintro - }); - node.link.firstChild.setBackgroundImage('image/card/tiesuo_mark.png'); - node.link.firstChild.style.backgroundSize = 'cover'; - ui.create.div(node.identity); - } - buildProperty() { - let player = this; - player.phaseNumber = 0; - player.skipList = []; - player.skills = []; - player.invisibleSkills = []; - player.initedSkills = []; - player.additionalSkills = {}; - player.disabledSkills = {}; - player.hiddenSkills = []; - player.awakenedSkills = []; - player.forbiddenSkills = {}; - player.popups = []; - player.damagepopups = []; - player.judging = []; - player.stat = [{ - card: {}, - skill: {} - }]; - player.actionHistory = [{ - useCard: [], - respond: [], - skipped: [], - lose: [], - gain: [], - sourceDamage: [], - damage: [], - custom: [], - useSkill: [] - }]; - player.tempSkills = {}; - player.storage = {}; - player.marks = {}; - player.expandedSlots = {}; - player.disabledSlots = {}; - player.ai = { - friend: [], - enemy: [], - neutral: [], - handcards: { - global: [], - source: [], - viewed: [] - } - }; - player.queueCount = 0; - player.outCount = 0; - } - buildEventListener(noclick) { - let player = this; - let node = player.node; - if (noclick) player.noclick = true; - else { - player.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.target); - node.identity.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.identity); - if (lib.config.touchscreen) player.addEventListener('touchstart', ui.click.playertouchstart); - } - } - //新函数 - changeFury(amount, limit) { - if (typeof this.storage.stratagem_fury != 'number') this.storage.stratagem_fury = 0; - if (!amount) return; - const furyBefore = this.storage.stratagem_fury; - if (limit === true && typeof _status.stratagemFuryMax == 'number') this.storage.stratagem_fury = Math.min(Math.max(furyBefore + amount, 0), _status.stratagemFuryMax); - else this.storage.stratagem_fury = Math.max(furyBefore + amount, 0); - const difference = this.storage.stratagem_fury - furyBefore; - if (!difference) return; - game.log(this, difference > 0 ? '获得了' : '失去了', get.cnNumber(Math.abs(difference)), '点', '#r怒气'); - this.markSkill('stratagem_fury'); - } - /** - * version 1.7 - * - * 链式创建一次性技能的api。 - * - * 使用者只需要关注技能的效果,而不是技能的本身。 - * - * v1.7 可传递作用域 - * @example - * ```js - * (function () { - * let _var = 1; - * let me = player; - * player.when('drawAfter') - * .apply(code => eval(code)) - * .then(() => console.log(_var)) - * .then('me.gainMaxHp(5)'); - * })(); - * ``` - */ - when() { - if (!_status.postReconnect.player_when) _status.postReconnect.player_when = [ - function (map) { - "use strict"; - for (let i in map) { - lib.skill[i] = { - charlotte: true, - forced: true, - popup: false, - }; - if (typeof map[i] == 'string') lib.translate[i] = map[i]; - } - }, {} - ]; - let triggerNames = Array.from(arguments); - let trigger; - if (triggerNames.length == 0) throw 'player.when的参数数量应大于0'; - //add other triggerNames - //arguments.length = 1 - if (triggerNames.length == 1) { - //以下两种情况: - //triggerNames = [ ['xxAfter', ...args] ] - //triggerNames = [ 'xxAfter' ] - if (Array.isArray(triggerNames[0]) || typeof triggerNames[0] == 'string') trigger = { player: triggerNames[0] }; - //triggerNames = [ {player:'xxx'} ] - else if (get.is.object(triggerNames[0])) trigger = triggerNames[0]; - } - //arguments.length > 1 - else { - //triggerNames = [ 'xxAfter', 'yyBegin' ] - if (triggerNames.every(t => typeof t == 'string')) trigger = { player: triggerNames }; - //triggerNames = [ {player: 'xxAfter'}, {global: 'yyBegin'} ] - //此处不做特殊的合并处理,由使用者自行把握,同名属性后者覆盖前者 - else if (triggerNames.every(t => get.is.object(t))) trigger = triggerNames.reduce((pre, cur) => Object.assign(pre, cur)); - } - if (!trigger) throw 'player.when传参数类型错误:' + triggerNames; - let skillName; - do { - skillName = 'player_when_' + Math.random().toString(36).slice(-8); - } while (lib.skill[skillName] != null); - const after = `${skillName}After`; - if (!trigger.player) trigger.player = after; - else if (Array.isArray(trigger.player)) trigger.player.add(after); - else if (typeof trigger.player == 'string') trigger.player = [trigger.player, after]; - const vars = {}; - /** - * 作用域 - * @type { (code: string) => any } - */ - let scope; - let skill = { - trigger: trigger, - forced: true, - charlotte: true, - popup: false, - //必要条件 - filterFuns: [], - //充分条件 - filter2Funs: [], - contentFuns: [], - //外部变量 - get vars() { - return vars; - }, - get filter() { - return (event, player, name) => { - if (name == `${skillName}After`) { - skill.popup = false; - return true; - } - return skill.filterFuns.every(fun => Boolean(fun(event, player, name))) && - skill.filter2(event, player, name); - }; - }, - get filter2() { - return (event, player, name) => { - return skill.filter2Funs.length == 0 || - skill.filter2Funs.some(fun => Boolean(fun(event, player, name))); - }; - } - }; - const warnVars = ['event', 'step', 'source', 'player', 'target', 'targets', - 'card', 'cards', 'skill', 'forced', 'num', 'trigger', 'result']; - const errVars = ['_status', 'lib', 'game', 'ui', 'get', 'ai']; - const createContent = () => { - let varstr = ''; - for (const key in vars) { - if (warnVars.includes(key)) console.warn(`Variable '${key}' should not be referenced by vars objects`); - if (errVars.includes(key)) throw new Error(`Variable '${key}' should not be referenced by vars objects`); - varstr += `var ${key}=lib.skill['${skillName}'].vars['${key}'];\n`; - } - let str = ` - function content(){ - ${varstr}if(event.triggername=='${skillName}After'){ - player.removeSkill('${skillName}'); - delete lib.skill['${skillName}']; - delete lib.translate['${skillName}']; - return event.finish(); - } - `; - for (let i = 0; i < skill.contentFuns.length; i++) { - const fun2 = skill.contentFuns[i]; - const a = fun2.toString(); - //防止传入()=>xxx的情况 - const begin = a.indexOf("{") == a.indexOf("}") && a.indexOf("{") == -1 && a.indexOf("=>") > -1 ? a.indexOf("=>") + 2 : a.indexOf("{") + 1; - const str2 = a.slice(begin, a.lastIndexOf("}") != -1 ? a.lastIndexOf("}") : undefined).trim(); - str += `'step ${i}'\n\t${str2}\n\t`; - } - skill.content = lib.init.parsex((scope || eval)(str + `\n};content;`), scope); - skill.content._parsed = true; - }; - Object.defineProperty(lib.skill, skillName, { - configurable: true, - //这类技能不需要被遍历到 - enumerable: false, - writable: true, - value: skill - }); - game.broadcast(function (skillName) { - Object.defineProperty(lib.skill, skillName, { - configurable: true, - enumerable: false, - writable: true, - value: { - forced: true, - charlotte: true, - popup: false, - vars: {}, - } - }); - }, skillName); - this.addSkill(skillName); - _status.postReconnect.player_when[1][skillName] = true; - return { - filter(fun) { - if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; - skill.filterFuns.push(fun); - return this; - }, - removeFilter(fun) { - if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; - skill.filterFuns.remove(fun); - return this; - }, - filter2(fun) { - if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; - skill.filter2Funs.push(fun); - return this; - }, - removeFilter2(fun) { - if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; - skill.filter2Funs.remove(fun); - return this; - }, - then(fun) { - if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; - skill.contentFuns.push(fun); - createContent(); - return this; - }, - popup(str) { - if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; - if (typeof str == 'string') skill.popup = str; - return this; - }, - translation(translation) { - if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; - if (typeof translation == 'string') { - _status.postReconnect.player_when[1][skillName] = translation; - game.broadcastAll((skillName, translation) => lib.translate[skillName] = translation, skillName, translation); - } - return this; - }, - assign(obj) { - if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; - if (typeof obj == 'object' && obj !== null) Object.assign(skill, obj); - return this; - }, - vars(arg) { - if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; - if (!get.is.object(arg)) throw 'vars的第一个参数必须为对象'; - Object.assign(vars, arg); - createContent(); - return this; - }, - /** - * 传递外部作用域 - * - * 一般是传递一个 code=>eval(code) 函数 - * - * 传递后可在then中使用外部变量(vars的上位替代) - * - * @param {Function} _scope - */ - apply(_scope) { - if (lib.skill[skillName] != skill) throw `This skill has been destroyed`; - scope = _scope; - if (skill.contentFuns.length > 0) createContent(); - return this; - } - }; - } - //让一名角色明置一些手牌 - addShownCards() { - const cards = [], tags = []; - for (const argument of arguments) { - const type = get.itemtype(argument); - if (type == 'cards') cards.addArray(argument); - else if (type == 'card') cards.add(argument); - else if (typeof argument == 'string' && argument.startsWith('visible_')) tags.add(argument); - } - if (!cards.length || !tags.length) return; - const next = game.createEvent('addShownCards', false); - next.player = this; - next._cards = cards; - next.gaintag = tags; - next.setContent('addShownCards'); - return next; - } - hideShownCards() { - const cards = [], tags = []; - for (const argument of arguments) { - const type = get.itemtype(argument); - if (type == 'cards') cards.addArray(argument); - else if (type == 'card') cards.add(argument); - else if (typeof argument == 'string' && argument.startsWith('visible_')) tags.add(argument); - } - if (!cards.length) return; - const next = game.createEvent('hideShownCards', false); - next.player = this; - next._cards = cards; - next.gaintag = tags; - next.setContent('hideShownCards'); - return next; - } - //获取角色所有的明置手牌 - getShownCards() { - return this.getCards('h', function (card) { - return get.is.shownCard(card); - }); - } - //获取该角色被other所知的牌。 - getKnownCards(other, filter) { - if (!other) other = _status.event.player; - if (!other) other = this; - if (!filter) filter = (card) => { return true; }; - return this.getCards('h', function (card) { - return card.isKnownBy(other) && filter(card); - }); - } - //判断此角色的手牌是否已经被看光了。 - isAllCardsKnown(other) { - if (!other) other = _status.event.player; - if (!other) other = this; - return this.countCards('h', function (card) { - return !card.isKnownBy(other); - }) == 0; - } - //判断此角色是否有被知的牌。 - hasKnownCards(other, filter) { - if (!other) other = _status.event.player; - if (!other) other = this; - if (!filter) filter = (card) => { return true; }; - return this.countCards('h', function (card) { - return card.isKnownBy(other) && filter(card); - }) > 0; - } - //数此角色被知道的牌。 - countKnownCards(other, filter) { - return this.getKnownCards(other, filter).length; - } - //Execute the delay card effect - //执行延时锦囊牌效果 - executeDelayCardEffect(card, target, judge, judge2) { - const executeDelayCardEffect = game.createEvent('executeDelayCardEffect'); - executeDelayCardEffect.player = this; - executeDelayCardEffect.target = target || this; - if (typeof card == 'string') { - const virtualCard = executeDelayCardEffect.card = ui.create.card(); - virtualCard._destroy = true; - virtualCard.expired = true; - const info = lib.card[card]; - virtualCard.init(['', '', card, info && info.cardnature]); - } - else if (get.itemtype(card) == 'card') executeDelayCardEffect.card = card; - else _status.event.next.remove(executeDelayCardEffect); - executeDelayCardEffect.judge = judge; - executeDelayCardEffect.judge2 = judge2; - executeDelayCardEffect.setContent('executeDelayCardEffect'); - executeDelayCardEffect._args = Array.from(arguments); - return executeDelayCardEffect; - } - //Check if the card does not count toward hand limit - //检测此牌是否不计入手牌上限 - canIgnoreHandcard(card) { - return lib.filter.ignoredHandcard(card, this); - } - //Gift - //赠予 - gift(cards, target) { - const gift = game.createEvent('gift'); - gift.player = this; - gift.target = target; - const isArray = Array.isArray(cards); - if (cards && !isArray) gift.cards = [cards]; - else if (isArray && cards.length) gift.cards = cards; - else _status.event.next.remove(gift); - gift.deniedGifts = []; - gift.setContent('gift'); - gift._args = Array.from(arguments); - return gift; - } - //Check if the player can gift the card - //检测角色是否能赠予此牌 - canGift(card, target, strict) { - return lib.filter.cardGiftable(card, this, target, strict); - } - //Check if the player refuses gifts - //检测角色是否拒绝赠予 - refuseGifts(card, player) { - return this.hasSkillTag('refuseGifts', null, { - player: player, - card: card - }); - } - //Gift AI related - //赠予AI相关 - getGiftAIResultTarget(card, target) { - if (!card || target.refuseGifts(card, this)) return 0; - if (get.type(card, false) == 'equip') return get.effect(target, card, target, target); - if (card.name == 'du') return this.hp > target.hp ? -1 : 0; - if (target.hasSkillTag('nogain')) return 0; - return Math.max(1, get.value(card, this) - get.value(card, target)); - } - getGiftEffect(card, target) { - return this.getGiftAIResultTarget(card, target) * get.attitude(this, target); - } - //Recast - //重铸 - recast(cards, recastingLose, recastingGain) { - const recast = game.createEvent('recast'); - recast.player = this; - const isArray = Array.isArray(cards); - if (cards && !isArray) recast.cards = [cards]; - else if (isArray && cards.length) recast.cards = cards; - else _status.event.next.remove(recast); - if (typeof recastingLose != 'function') recastingLose = (player, cards) => player.loseToDiscardpile(cards).log = false; - recast.recastingLose = recastingLose; - recast.recastingLosingEvents = []; - if (typeof recastingGain != 'function') recastingGain = (player, cards) => player.draw(cards.length).log = false; - recast.recastingGain = recastingGain; - recast.recastingGainingEvents = []; - recast.setContent('recast'); - recast._args = Array.from(arguments); - return recast; - } - //Check if the player can recast the card - //检测角色是否能重铸此牌 - canRecast(card, source, strict) { - return lib.filter.cardRecastable(card, this, source, strict); - } - //装备栏相关 - //判断一名角色的某个区域是否被废除 - //type为要判断的区域 若为空 则判断玩家是否有任意一个被废除的区域 - hasDisabledSlot(type) { - var player = this; - if (type == 'horse' || type == 'equip3_4') { - return player.hasDisabledSlot(3) && (get.is.mountCombined() || player.hasDisabledSlot(4)); - } - else if (get.is.mountCombined() && type == 'equip4') { - return false; - } - return player.countDisabledSlot(type) > 0; - } - //判断一名角色的某个区域被废除的数量 - //用法同上 - countDisabledSlot(type) { - var player = this; - var map = (player.disabledSlots || {}); - if (type == undefined) { - num = 0; - for (var i = 1; i <= 5; i++) { - num += player.countDisabledSlot(i); - } - return num; - } - else { - if (typeof type == 'number') type = ('equip' + type); - if (get.is.mountCombined() && type == 'equip4') { - return 0; - } - var num = map[type]; - if (typeof num == 'number' && num > 0) return num; - return 0; - } - } - //判断一名角色是否有某个装备栏空着 - hasEmptySlot(type) { - var player = this; - if (type == 'horse' || type == 'equip3_4') { - return player.hasEmptySlot(3) && (get.is.mountCombined() || player.hasEmptySlot(4)); - } - else if (get.is.mountCombined() && type == 'equip4') { - return false; - } - return player.countEmptySlot(type) > 0; - } - //判断一名角色的某个装备栏空位的数量 - countEmptySlot(type) { - if (!type) return 0; - var player = this; - if (typeof type == 'number') type = ('equip' + type); - else if (type == 'equip3_4') { - type = 'equip3'; - } - return Math.max(0, player.countEnabledSlot(type) - player.getEquips(type).reduce(function (num, card) { - var types = get.subtypes(card, false); - return num + get.numOf(types, type); - }, 0)); - } - //判断一名角色是否有可以用于装备新装备牌的区域(排除金箍棒和六龙等“不可被替换装备”) - //用法同下 - hasEquipableSlot(type) { - return this.countEquipableSlot(type) > 0; - } - //统计一名角色有多少个可以用于装备新的装备牌的区域 - //用法同下 - countEquipableSlot(type) { - if (!type) return 0; - var player = this; - if (typeof type == 'number') type = ('equip' + type); - else if (type == 'equip3_4') { - type = 'equip3'; - } - else if (get.is.mountCombined() && type == 'equip4') { - return 0; - } - return Math.max(0, player.countEnabledSlot(type) - player.getEquips(type).reduce(function (num, card) { - var types = get.subtypes(card, false); - if (!lib.filter.canBeReplaced(card, player)) num += get.numOf(types, type); - return num; - }, 0)); - } - //判断一名角色是否拥有未被废除的某个区域 - //type为要判断的区域 若为空 则判断玩家是否有任意一个未被废除的区域 - hasEnabledSlot(type) { - var player = this; - if (type == 'horse' || type == 'equip3_4') { - return player.hasEnabledSlot(3) && (get.is.mountCombined() || player.hasEnabledSlot(4)); - } - // else if(type=='equip3_4'){ - // type='equip3'; - // } - else if (get.is.mountCombined() && type == 'equip4') { - return false; - } - return player.countEnabledSlot(type) > 0; - } - //判断一名角色的某个区域未被废除的数量 - //用法同上 - countEnabledSlot(type) { - var player = this; - var map = (player.expandedSlots || {}); - if (!type) { - num = 0; - for (var i = 1; i <= 5; i++) { - num += player.countEnabledSlot(i); - } - return num; - } - else { - if (typeof type == 'number') type = ('equip' + type); - if (get.is.mountCombined() && type == 'equip4') { - return 0; - } - var slots = 1; - var num = map[type]; - if (typeof num == 'number' && num > 0) slots += num; - slots -= player.countDisabledSlot(type); - return slots; - } - } - //获取一名角色装备区内某种类型的装备牌 - //参数可以为数字/区域字符串/实体牌/虚拟牌/牌名 - getEquips(subtype) { - var type = (typeof subtype); - switch (type) { - case 'string': - if (subtype == 'equip3_4') { - const cards = []; - cards.addArray(this.getEquips(3)); - cards.addArray(this.getEquips(4)); - return cards; - } - else if (subtype.startsWith('equip') && parseInt(subtype.slice(5)) > 0) { - break; - } - else if (lib.card[subtype]) { - return this.getCards('e', card => card.name == subtype); - } - else return []; - case 'number': - subtype = 'equip' + subtype; - break; - case 'object': - subtype = get.subtype(subtype, false); - break; - default: - return []; - } - if (!subtype) return []; - return this.getCards('e', function (card) { - return get.subtypes(card, false).contains(subtype); - }); - } - //新的废除装备区/恢复装备区/扩展装备区 - //参数:废除来源角色(不写默认当前事件角色),废除区域(数字/区域字符串/数组,可以写多个,重复废除) - disableEquip() { - var next = game.createEvent('disableEquip'); - next.player = this; - next.slots = []; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'player') { - next.source = arguments[i]; - } - else if (Array.isArray(arguments[i])) { - for (var arg of arguments[i]) { - if (typeof arg == 'string') { - if (arg.startsWith('equip') && parseInt(arg.slice(5)) > 0) next.slots.push(arg); - } - else if (typeof arg == 'number') { - next.slots.push('equip' + arg); - } - } - } - else if (typeof arguments[i] == 'string') { - if (arguments[i].startsWith('equip') && parseInt(arguments[i].slice(5)) > 0) next.slots.push(arguments[i]); - } - else if (typeof arguments[i] == 'number') { - next.slots.push('equip' + arguments[i]); - } - } - if (!next.source) next.source = _status.event.player; - if (!next.slots.length) { - _status.event.next.remove(next); - } - next.setContent('disableEquip'); - return next; - } - enableEquip() { - var next = game.createEvent('enableEquip'); - next.player = this; - next.slots = []; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'player') { - next.source = arguments[i]; - } - else if (Array.isArray(arguments[i])) { - for (var arg of arguments[i]) { - if (typeof arg == 'string') { - if (arg.startsWith('equip') && parseInt(arg.slice(5)) > 0) next.slots.push(arg); - } - else if (typeof arg == 'number') { - next.slots.push('equip' + arg); - } - } - } - else if (typeof arguments[i] == 'string') { - if (arguments[i].startsWith('equip') && parseInt(arguments[i].slice(5)) > 0) next.slots.push(arguments[i]); - } - else if (typeof arguments[i] == 'number') { - next.slots.push('equip' + arguments[i]); - } - } - if (!next.source) next.source = _status.event.player; - if (!next.slots.length) { - _status.event.next.remove(next); - } - next.setContent('enableEquip'); - return next; - } - expandEquip() { - var next = game.createEvent('expandEquip'); - next.player = this; - next.slots = []; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'player') { - next.source = arguments[i]; - } - else if (Array.isArray(arguments[i])) { - for (var arg of arguments[i]) { - if (typeof arg == 'string') { - if (arg.startsWith('equip') && parseInt(arg.slice(5)) > 0) next.slots.push(arg); - } - else if (typeof arg == 'number') { - next.slots.push('equip' + arg); - } - } - } - else if (typeof arguments[i] == 'string') { - if (arguments[i].startsWith('equip') && parseInt(arguments[i].slice(5)) > 0) next.slots.push(arguments[i]); - } - else if (typeof arguments[i] == 'number') { - next.slots.push('equip' + arguments[i]); - } - } - if (!next.source) next.source = _status.event.player; - if (!next.slots.length) { - _status.event.next.remove(next); - } - next.setContent('expandEquip'); - return next; - } - //判断判定区是否被废除 - isDisabledJudge() { - return Boolean(this.storage._disableJudge); - } - //同步显示扩展装备区状态 - $syncExpand(map) { - var player = this; - if (!map) { - map = (player.expandedSlots || {}); - } - game.addVideo('$syncExpand', player, get.copy(map)); - game.broadcast(function (player, map) { - player.expandedSlots = map; - player.$syncExpand(map); - }, player, map); - player.markSkill('expandedSlots'); - } - //同步装备区废除牌显示状态 - $syncDisable(map) { - const player = this; - const suits = { equip3: '+1马栏', equip4: '-1马栏', equip6: '特殊栏' }; - if (get.is.mountCombined()) suits.equip3 = '坐骑栏'; - if (!map) { - map = (player.disabledSlots || {}); - } - game.addVideo('$syncDisable', player, get.copy(map)); - game.broadcast(function (player, map) { - player.disabledSlots = map; - player.$syncDisable(map); - }, player, map); - const map2 = get.copy(map); - const cards = Array.from(player.node.equips.childNodes); - for (const card of cards) { - if (card.name.startsWith('feichu_')) { - const index = card.name.slice(7); - if (!map2[index]) map2[index] = 0; - map2[index]--; - } - } - for (const index in map2) { - if (!index.startsWith('equip') || !(parseInt(index.slice(5)) > 0)) continue; - const num = map2[index]; - if (num > 0) { - for (let i = 0; i < num; i++) { - const card = game.createCard('feichu_' + index, (suits[index] || (get.translation(index) + '栏')), ''); - card.fix(); - card.style.transform = ''; - card.classList.remove('drawinghidden'); - card.classList.add('feichu'); - delete card._transform; - const equipNum = get.equipNum(card); - let equipped = false; - for (let j = 0; j < player.node.equips.childNodes.length; j++) { - if (get.equipNum(player.node.equips.childNodes[j]) >= equipNum) { - player.node.equips.insertBefore(card, player.node.equips.childNodes[j]); - equipped = true; - break; - } - } - if (!equipped) { - player.node.equips.appendChild(card); - if (_status.discarded) { - _status.discarded.remove(card); - } - } - } - } - else if (num < 0) { - for (let i = 0; i > num; i--) { - const card = cards.find(card => card.name == 'feichu_' + index); - if (card) { - player.node.equips.removeChild(card); - cards.remove(card); - } - } - } - } - } - //以下函数涉及到本次更新内容而进行修改 - canEquip(name, replace) { - const ranges = get.subtypes(name), rangex = [], player = this, combined = get.is.mountCombined(); - if (combined) { - ranges.forEach(type => { - if (type == 'equip3' || type == 'equip4') rangex.add('equip3_4'); - else rangex.add(type); - }); - } - else { - rangex.push(...new Set(ranges)); - } - for (let range of rangex) { - let num = this.countEquipableSlot(range); - let num2 = get.numOf(rangex, range); - if (!replace) num -= this.getEquips(range).filter(card => lib.filter.canBeReplaced(card, player)).length; - if (num < num2) return false; - } - return true; - } - //以下函数将不再进行后续维护 - countDisabled() { - return this.countDisabledSlot.apply(this, arguments); - } - isDisabled(arg) { - return this.hasDisabledSlot(arg) && !this.hasEnabledSlot(arg); - } - isEmpty(num) { - return this.countEnabledSlot(num) > this.getEquips(num).length; - } - //以下函数将被废弃 - $disableEquip() { } - $enableEquip() { } - //装备区End - chooseToDebate() { - var next = game.createEvent('chooseToDebate'); - next.player = this; - next._args = []; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'players') { - next.list = arguments[i].slice(0); - } - else { - next._args.push(arguments[i]); - } - } - next.setContent('chooseToDebate'); - return next; - } - cooperationWith(target, type, reason) { - var player = this; - if (!player.storage.cooperation) player.storage.cooperation = []; - var info = { - target: target, - type: type, - reason: reason, - }; - player.storage.cooperation.add(info); - player.addTempSkill('cooperation', { player: 'dieAfter' }); - player.addSkill('cooperation_' + type, { player: 'dieAfter' }); - game.log(player, '向', target, '发起了“协力”,合作类型是', '#g' + get.translation('cooperation_' + type)); - } - chooseCooperationFor() { - var next = game.createEvent('chooseCooperationFor'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'player') { - next.target = arguments[i]; - } - else if (Array.isArray(arguments[i])) { - next.cardlist = arguments[i]; - } - else if (typeof arguments[i] == 'string') { - next.reason = arguments[i]; - } - } - if (!next.cardlist) next.cardlist = ['cooperation_damage', 'cooperation_draw', 'cooperation_discard', 'cooperation_use']; - next.setContent('chooseCooperationFor'); - return next; - } - checkCooperationStatus(target, reason) { - var storage = this.getStorage('cooperation'); - for (var info of storage) { - if (info.target == target && info.reason == reason) { - var skill = lib.skill['cooperation_' + info.type]; - if (skill && skill.checkx && skill.checkx(info)) return true; - } - } - return false; - } - removeCooperation(info) { - var player = this; - var storage = player.getStorage('cooperation'); - if (!storage.contains(info)) return; - storage.remove(info); - var unmark = true, reason = info.type; - if (!storage.length) { - player.removeSkill('cooperation'); - } - else { - for (var i of storage) { - if (i.type == reason) { - unmark = false; - break; - } - } - } - if (unmark) player.removeSkill('cooperation_' + reason); - else player.markSkill('cooperation_' + reason); - } - hasClan(clan, unseen) { - if (unseen || !this.isUnseen(0)) { - var info = lib.character[this.name1]; - if (info && info[4]) { - for (var i of info[4]) { - if (typeof i == 'string' && i.startsWith('clan:') && i.slice(5) == clan) return true; - } - } - } - if (this.name2 && (unseen || !this.isUnseen(1))) { - var info = lib.character[this.name2]; - if (info && info[4]) { - for (var i of info[4]) { - if (typeof i == 'string' && i.startsWith('clan:') && i.slice(5) == clan) return true; - } - } - } - return false; - } - changeZhuanhuanji(skill) { - var player = this, info = get.info(skill), zhuanhuan = info.zhuanhuanji; - if (typeof zhuanhuan == 'function') zhuanhuan(player, skill); - else if (zhuanhuan == 'number') player.addMark(skill, 1, false); - else player.storage[skill] = !player.storage[skill]; - game.broadcastAll(function (player, skill) { - player.$changeZhuanhuanji(skill); - }, player, skill); - } - $changeZhuanhuanji(skill) { - var mark = this.marks[skill]; - if (mark) { - if (mark.firstChild.reversed) { - mark.firstChild.reversed = false; - mark.firstChild.style.transform = 'none'; - } - else { - mark.firstChild.reversed = true; - mark.firstChild.style.transform = 'rotate(180deg)'; - } - } - } - setSeatNum(num) { - _status.seatNumSettled = true; - game.broadcastAll(function (player, num) { - player.seatNum = num; - }, this, num); - } - getSeatNum() { - if (typeof this.seatNum == 'number') return this.seatNum; - return 0; - } - hasSex(sex) { - if (this.sex == 'unknown') return false; - if (this.sex == 'double') return true; - return this.sex == sex; - } - sameSexAs(target) { - var sex1 = this.sex, sex2 = target.sex; - if (sex1 == 'unknown' || sex2 == 'unknown') return false; - if (sex1 == 'double' || sex2 == 'double') return true; - return sex1 == sex2; - } - differentSexFrom(target) { - var sex1 = this.sex, sex2 = target.sex; - if (sex1 == 'unknown' || sex2 == 'unknown') return false; - if (sex1 == 'double' || sex2 == 'double') return true; - return sex1 != sex2; - } - addSkillBlocker(skill) { - if (!this.storage.skill_blocker) this.storage.skill_blocker = []; - this.storage.skill_blocker.push(skill); - } - removeSkillBlocker(skill) { - if (this.storage.skill_blocker) { - this.storage.skill_blocker.remove(skill); - if (!this.storage.skill_blocker.length) delete this.storage.skill_blocker; - } - } - loseToSpecial(cards, tag, target) { - var next = game.loseAsync({ - player: this, - cards: cards, - tag: tag, - toStorage: true, - target: target || this, - }); - next.setContent(function () { - "step 0"; - player.lose(cards, ui.special).set('getlx', false); - "step 1"; - var cards = event.cards.slice(0); - cards.removeArray(player.getCards('hejsx')); - if (cards.length) target.directgains(cards, null, event.tag); - }); - return next; - } - addGaintag(cards, tag) { - if (get.itemtype(cards) == 'card') cards = [cards]; - game.addVideo('addGaintag', this, [get.cardsInfo(cards), tag]); - game.broadcastAll(function (player, cards, tag) { - var hs = player.getCards('hejsx'); - for (var i of cards) { - if (hs.contains(i)) i.addGaintag(tag); - } - }, this, cards, tag); - } - removeGaintag(tag, cards) { - cards = cards || this.getCards('h'); - game.addVideo('removeGaintag', this, [tag, get.cardsInfo(cards)]); - game.broadcastAll(function (player, tag, cards) { - for (var i of cards) i.removeGaintag(tag); - }, this, tag, cards); - } - canSave(target) { - var player = this; - if (player.hasSkillTag('save', true, target, true)) return true; - var name = {}, hs = player.getCards('hs'); - for (var i of hs) name[get.name(i)] = true; - for (var i in lib.card) { - if (lib.card[i].savable && (lib.inpile.contains(i) || name[i])) { - if (lib.filter.cardSavable({ name: i }, player, target) && (_status.connectMode || player.hasUsableCard(i))) return true; - } - } - return false; - } - canSaveCard(card, target) { - var player = this; - var mod2 = game.checkMod(card, player, 'unchanged', 'cardEnabled2', player); - if (mod2 != 'unchanged') return mod2; - var mod = game.checkMod(card, player, target, 'unchanged', 'cardSavable', player); - if (mod != 'unchanged') return mod; - var savable = get.info(card).savable; - if (typeof savable == 'function') savable = savable(card, player, target); - return savable; - } - showCharacter(num, log) { - var toShow = []; - if ((num == 0 || num == 2) && this.isUnseen(0)) toShow.add(this.name1); - if ((num == 1 || num == 2) && this.isUnseen(1)) toShow.add(this.name2); - if (!toShow.length) return; - this.$showCharacter(num, log); - var next = game.createEvent('showCharacter', false); - next.player = this; - next.num = num; - next.toShow = toShow; - next._args = Array.from(arguments); - next.setContent('showCharacter'); - var evt = _status.event; - evt.next.remove(next); - if (evt.logSkill) evt = evt.getParent(); - evt.after.push(next); - return next; - } - $showCharacter(num, log) { - if (num == 0 && !this.isUnseen(0)) { - return; - } - if (num == 1 && (!this.name2 || !this.isUnseen(1))) { - return; - } - if (!this.isUnseen(2)) { - return; - } - game.addVideo('showCharacter', this, num); - var skills; - switch (num) { - case 0: - if (log !== false) game.log(this, '展示了主将', '#b' + this.name1); - this.name = this.name1; - skills = lib.character[this.name][3] || []; - this.sex = lib.character[this.name][0]; - if (this.group == 'unknown') this.group = lib.character[this.name][1]; - this.classList.remove('unseen'); - break; - case 1: - if (log !== false) game.log(this, '展示了副将', '#b' + this.name2); - skills = lib.character[this.name2][3] || []; - if (this.sex == 'unknown') this.sex = lib.character[this.name2][0]; - if (this.name.startsWith('unknown')) this.name = this.name2; - this.classList.remove('unseen2'); - break; - case 2: - if (log !== false) { - if (this.name2) game.log(this, '展示了主将', '#b' + this.name1, '、副将', '#b' + this.name2); - else game.log(this, '展示了主将', '#b' + this.name1); - } - this.name = this.name1; - var skills = (lib.character[this.name][3] || []); - if (this.name2) skills = skills.concat(lib.character[this.name2][3] || []); - this.sex = lib.character[this.name][0]; - if (this.group == 'unknown') this.group = lib.character[this.name][1]; - this.classList.remove('unseen'); - this.classList.remove('unseen2'); - break; - } - if (!this.isUnseen(2)) { - delete this.storage.nohp; - this.hp = this.storage.rawHp + this.maxHp - 1; - this.maxHp = this.storage.rawMaxHp + this.maxHp - 1; - this.node.hp.show(); - this.update(); - } - game.broadcast(function (player, name, sex, num, group) { - player.group = group; - player.name = name; - player.sex = sex; - switch (num) { - case 0: player.classList.remove('unseen'); break; - case 1: player.classList.remove('unseen2'); break; - case 2: player.classList.remove('unseen'); player.classList.remove('unseen2'); break; - } - if (!player.isUnseen(2)) { - delete player.storage.nohp; - player.node.hp.show(); - player.update(); - } - }, this, this.name, this.sex, num, this.group); - skills = skills.filter(skill => { - var info = get.info(skill); - if (info && info.zhuSkill && !this.isZhu2()) return false; - return true; - }); - for (var i = 0; i < skills.length; i++) { - if (this.hiddenSkills.contains(skills[i])) { - this.hiddenSkills.remove(skills[i]); - this.addSkill(skills[i]); - } - } - this.checkConflict(); - } - chooseToPlayBeatmap(beatmap) { - var next = game.createEvent('chooseToPlayBeatmap'); - next.player = this; - next.beatmap = beatmap; - next._args = Array.from(arguments); - next.setContent('chooseToPlayBeatmap'); - return next; - } - chooseToMove() { - var next = game.createEvent('chooseToMove'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'boolean') { - next.forced = arguments[i]; - } - else if (typeof arguments[i] == 'string') { - next.prompt = arguments[i]; - } - } - next.setContent('chooseToMove'); - next.filterOk = function () { return true; }; - next.filterMove = function () { return true; }; - return next; - } - chooseToGuanxing(num) { - var next = game.createEvent('chooseToGuanxing'); - next.num = num || 1; - next.player = this; - next.setContent('chooseToGuanxing'); - return next; - } - $throwEmotion(target, name, rotate) { - game.addVideo('throwEmotion', this, [target.dataset.position, name]); - var getLeft = function (player) { - if (player == game.me && !ui.fakeme && !ui.chess) return player.getLeft() + player.node.avatar.offsetWidth / 2; - return player.getLeft() + player.offsetWidth / 2; - }; - var player = this; - var emotion = ui.create.div('', '
    ', game.chess ? ui.chess : ui.window); - emotion.style.width = '60px'; - emotion.style.height = '60px'; - var width = emotion.offsetWidth / 2; - var height = emotion.offsetHeight / 2; - if (game.chess) width += 60; - var left = getLeft(player) - width; - var top = player.getTop() + player.offsetHeight / 3 - height; - emotion.style.left = left + 'px'; - emotion.style.top = top + 'px'; - var left2 = getLeft(target) - width; - var top2 = target.getTop() + target.offsetHeight / 3 - height; - if (['egg', 'flower', 'shoe'].contains(name) || rotate) { - var num1 = 0.95 + Math.random() * (1.1 - 0.95); - var num2 = 1 + Math.random() * (3 - 1); - var left2 = getLeft(target) / num1 - width; - var top2 = target.getTop() + target.offsetHeight / num2 - height; - } - else { - var left2 = getLeft(target) - width; - var top2 = target.getTop() + target.offsetHeight / 3 - height; - } - emotion.style['z-index'] = 10; - emotion.style.transform = 'translateY(' + (top2 - top) + 'px) translateX(' + (left2 - left) + 'px)'; - if (['egg', 'flower', 'shoe'].contains(name) || rotate) emotion.firstElementChild.style.transform = 'rotate(1440deg)'; - if (lib.config.background_audio) game.playAudio('effect', 'throw_' + name + get.rand(1, 2)); - setTimeout(function () { - emotion.innerHTML = ('
    '); - setTimeout(function () { - emotion.delete(); - }, 1200); - }, 600); - } - tryJudgeAnimate(bool) { - var player = this; - game.broadcast(function (player, bool) { - player.trySkillAnimate(bool); - }, player, bool); - if (bool) this.popup('判定生效', 'wood', false); - else this.popup('判定失效', 'fire', false); - } - trySkillAnimate(name, popname, checkShow) { - if (!game.online && lib.config.skill_animation_type != 'off' && lib.skill[name] && lib.skill[name].skillAnimation) { - if (lib.config.skill_animation_type == 'default') { - checkShow = checkShow || 'main'; - } - else { - checkShow = false; - } - if (lib.skill[name].textAnimation) { - checkShow = false; - } - this.$skill(lib.skill[name].animationStr || lib.translate[name], lib.skill[name].skillAnimation, lib.skill[name].animationColor, checkShow); - return; - } - var player = this; - game.broadcast(function (player, name, popname) { - player.trySkillAnimate(name, popname); - }, player, name, popname); - if (lib.animate.skill[name]) lib.animate.skill[name].apply(this, arguments); - else { - if (popname != name) this.popup(popname, 'water', false); - else this.popup(get.skillTranslation(name, this), 'water', false); - } - } - tryCardAnimate(card, name, nature, popname) { - var player = this; - game.broadcast(function (player, card, name, nature, popname) { - player.tryCardAnimate(card, name, nature, popname); - }, player, card, name, nature, popname); - if (lib.animate.card[card.name]) lib.animate.card[card.name].apply(this, arguments); - else { - if (!lib.config.show_card_prompt) return; - if (get.type(card) == 'equip' && lib.config.hide_card_prompt_equip) return; - if (get.type(card) == 'basic' && lib.config.hide_card_prompt_basic) return; - if (popname) player.popup({ name: card.name, nature: card.nature }, nature, false); - else player.popup(name, nature, false); - } - } - hasUsableCard(name) { - var player = this; - if (player.countCards('hs', name)) return true; - var skills = player.getSkills('invisible').concat(lib.skill.global); - game.expandSkills(skills); - for (var i = 0; i < skills.length; i++) { - var ifo = get.info(skills[i]); - if (ifo.viewAs && typeof ifo.viewAs != 'function' && ifo.viewAs.name == name) { - if (!ifo.viewAsFilter || ifo.viewAsFilter(player) !== false) { - return true; - } - } - else { - var hiddenCard = get.info(skills[i]).hiddenCard; - if (typeof hiddenCard == 'function' && hiddenCard(player, name)) { - return true; - } - } - } - } - inRange(to) { - var from = this; - if (from == to || from.hasSkill('undist') || to.hasSkill('undist')) return false; - if (!game.players.contains(from) && !game.dead.contains(from)) return false; - if (!game.players.contains(to) && !game.dead.contains(to)) return false; - var mod1 = game.checkMod(from, to, 'unchanged', 'inRange', from); - if (mod1 != 'unchanged') return mod1; - var mod2 = game.checkMod(from, to, 'unchanged', 'inRangeOf', to); - if (mod2 != 'unchanged') return mod2; - var range = from.getAttackRange(); - if (range < 1) return false; - var player = from, m, n = 1, i; - var fxy, txy; - if (game.chess) { - fxy = from.getXY(); - txy = to.getXY(); - n = Math.abs(fxy[0] - txy[0]) + Math.abs(fxy[1] - txy[1]); - } - else if (to.isMin(true) || from.isMin(true)) {/* empty */ } - else { - var length = game.players.length; - var totalPopulation = game.players.length + game.dead.length + 1; - for (var iwhile = 0; iwhile < totalPopulation; iwhile++) { - if (player.nextSeat != to) { - player = player.nextSeat; - if (player.isAlive() && !player.isOut() && !player.hasSkill('undist') && !player.isMin(true)) n++; - } - else { - break; - } - } - for (i = 0; i < game.players.length; i++) { - if (game.players[i].isOut() || game.players[i].hasSkill('undist') || game.players[i].isMin(true)) length--; - } - if (from.isDead()) length++; - if (to.isDead()) length++; - var left = from.hasSkillTag('left_hand'); - var right = from.hasSkillTag('right_hand'); - if (left === right) n = Math.min(n, length - n); - else if (left == true) n = length - n; - } - n = game.checkMod(from, to, n, 'globalFrom', from); - n = game.checkMod(from, to, n, 'globalTo', to); - m = n; - m = game.checkMod(from, to, m, 'attackFrom', from); - m = game.checkMod(from, to, m, 'attackTo', to); - var equips1 = from.getCards('e', function (card) { - return !ui.selected.cards || !ui.selected.cards.contains(card); - }), equips2 = to.getCards('e', function (card) { - return !ui.selected.cards || !ui.selected.cards.contains(card); - }); - for (i = 0; i < equips1.length; i++) { - var info = get.info(equips1[i]).distance; - if (!info) continue; - if (info.globalFrom) { - m += info.globalFrom; - n += info.globalFrom; - } - } - for (i = 0; i < equips2.length; i++) { - var info = get.info(equips2[i]).distance; - if (!info) continue; - if (info.globalTo) { - m += info.globalTo; - n += info.globalTo; - } - if (info.attaclTo) { - m += info.attaclTo; - } - } - return m <= range; - } - inRangeOf(source) { - return source.inRange(this); - } - //Get the player's HP not less than 0. Set “raw” to true to get the player's raw HP instead. - //获取角色的体力值。设置“raw”为true以获取角色的体力。 - getHp(raw) { - return raw ? this.hp : Math.max(0, this.hp); - } - //Set “raw” to true to get the player's raw damaged HP instead. - //设置“raw”为true以获取角色已损失的体力。 - getDamagedHp(raw) { - return this.maxHp - this.getHp(raw); - } - changeGroup(group, log, broadcast) { - var next = game.createEvent('changeGroup'); - next.player = this; - next.log = true; - for (var i = 0; i < arguments.length; i++) { - var arg = arguments[i]; - if (lib.group.contains(arg)) { - next.group = arg; - } - else if (typeof arg === 'boolean') { - next.log = arg; - } - else if (arg === 'nobroadcast') { - next.broadcast = false; - } - } - next.setContent('changeGroup'); - return next; - } - chooseToDuiben(target) { - var next = game.createEvent('chooseToDuiben'); - next.player = this; - next.target = target; - next.setContent('chooseToDuiben'); - return next; - } - chooseToPSS(target) { - var next = game.createEvent('chooseToPSS'); - next.player = this; - next.target = target; - next.setContent('chooseToPSS'); - return next; - } - chooseToEnable() { - var next = game.createEvent('chooseToEnable'); - next.player = this; - next.setContent('chooseToEnable'); - return next; - } - chooseToDisable(horse) { - var next = game.createEvent('chooseToDisable'); - next.player = this; - if (horse) next.horse = true; - next.setContent('chooseToDisable'); - return next; - } - isPhaseUsing(notmeisok) { - if (!notmeisok && _status.currentPhase != this) return false; - return _status.event.name == 'phaseUse' || _status.event.getParent('phaseUse').name == 'phaseUse'; - } - swapEquip(target) { - var next = game.createEvent('swapEquip'); - next.player = this; - next.target = target; - next.setContent('swapEquip'); - return next; - } - canCompare(target, goon, bool) { - if (this == target) return false; - if ((!this.countCards('h') && goon !== true) || (!target.countCards('h') && bool !== true)) return false; - if (this.hasSkillTag('noCompareSource') || target.hasSkillTag('noCompareTarget')) return false; - return true; - } - $disableJudge() { - var player = this; - game.addVideo('$disableJudge', player); - player.storage._disableJudge = true; - var card = game.createCard('disable_judge', '', ''); - card.fix(); - card.classList.add('feichu'); - card.style.transform = ''; - card.classList.add('drawinghidden'); - player.node.judges.insertBefore(card, player.node.judges.firstChild); - ui.updatej(player); - } - $enableJudge() { - var player = this; - game.addVideo('$enableJudge', player); - player.storage._disableJudge = false; - for (var i = 0; i < player.node.judges.childNodes.length; i++) { - if (player.node.judges.childNodes[i].name == 'disable_judge') { - player.node.judges.removeChild(player.node.judges.childNodes[i]); - break; - } - } - } - disableJudge() { - var next = game.createEvent('disableJudge'); - next.player = this; - next.source = _status.event.player; - next.setContent('disableJudge'); - return next; - } - enableJudge() { - var next = game.createEvent('enableJudge'); - next.player = this; - next.source = _status.event.player; - next.setContent('enableJudge'); - return next; - } - //原有函数 - init(character, character2, skill, update) { - if (typeof character == 'string' && !lib.character[character]) { - lib.character[character] = get.character(character); - } - if (typeof character2 == 'string' && !lib.character[character2]) { - lib.character[character2] = get.character(character2); - } - if (!lib.character[character]) return; - if (get.is.jun(character2)) { - var tmp = character; - character = character2; - character2 = tmp; - } - if (character2 == false) { - skill = false; - character2 = null; - } - var info = lib.character[character]; - if (!info) { - info = ['', '', 1, [], []]; - } - if (!info[4]) { - info[4] = []; - } - var skills = info[3].slice(0); - this.clearSkills(true); - - var hp1 = get.infoHp(info[2]); - var maxHp1 = get.infoMaxHp(info[2]); - var hujia1 = get.infoHujia(info[2]); - - this.name = character; - this.name1 = character; - this.tempname = []; - this.sex = info[0]; - this.group = info[1]; - this.hp = hp1; - this.maxHp = maxHp1; - this.hujia = hujia1; - this.node.intro.innerHTML = lib.config.intro; - this.node.name.dataset.nature = get.groupnature(this.group); - lib.setIntro(this); - this.node.name.innerHTML = get.slimName(character); - if (this.classList.contains('minskin') && this.node.name.querySelectorAll('br').length >= 4) { - this.node.name.classList.add('long'); - } - if (info[4].contains('hiddenSkill') && !this.noclick) { - if (!this.hiddenSkills) this.hiddenSkills = []; - this.hiddenSkills.addArray(skills); - skills = []; - this.name = 'unknown'; - this.sex = 'male'; - this.storage.nohp = true; - skills.add('g_hidden_ai'); - } - if (character2 && lib.character[character2]) { - var info2 = lib.character[character2]; - if (!info2) { - info2 = ['', '', 1, [], []]; - } - if (!info2[4]) { - info2[4] = []; - } - - this.name2 = character2; - var hp2 = get.infoHp(info2[2]); - var maxHp2 = get.infoMaxHp(info2[2]); - var hujia2 = get.infoHujia(info2[2]); - this.hujia += hujia2; - var double_hp; - if (_status.connectMode || get.mode() == 'single') { - double_hp = 'pingjun'; - } - else { - double_hp = get.config('double_hp'); - } - switch (double_hp) { - case 'pingjun': { - this.maxHp = Math.floor((maxHp1 + maxHp2) / 2); - this.hp = Math.floor((hp1 + hp2) / 2); - this.singleHp = ((maxHp1 + maxHp2) % 2 === 1); - break; - } - case 'zuidazhi': { - this.maxHp = Math.max(maxHp1, maxHp2); - this.hp = Math.max(hp1, hp2); - break; - } - case 'zuixiaozhi': { - this.maxHp = Math.min(maxHp1, maxHp2); - this.hp = Math.min(hp1, hp2); - break; - } - case 'zonghe': { - this.maxHp = maxHp1 + maxHp2; - this.hp = hp1 + hp2; - break; - } - default: { - this.maxHp = maxHp1 + maxHp2 - 3; - this.hp = hp1 + hp2 - 3; - } - } - if (info2[4].contains('hiddenSkill') && !this.noclick) { - if (!this.hiddenSkills) this.hiddenSkills = []; - this.hiddenSkills.addArray(info2[3]); - this.storage.nohp = true; - skills.add('g_hidden_ai'); - } - else skills = skills.concat(info2[3]); - } - if (this.storage.nohp) { - this.storage.rawHp = this.hp; - this.storage.rawMaxHp = this.maxHp; - this.hp = 1; - this.maxHp = 1; - this.node.hp.hide(); - } - if (skill != false) { - skills = skills.filter(skill => { - var info = get.info(skill); - if (info && info.zhuSkill && !this.isZhu2()) return false; - return true; - }); - for (var i = 0; i < skills.length; i++) { - this.addSkill(skills[i], null, true); - } - this.checkConflict(); - } - lib.group.add(this.group); - - this.$init(character, character2); - - if (this.inits) { - for (var i = 0; i < this.inits.length; i++) { - this.inits[i](this); - } - } - if (this._inits) { - for (var i = 0; i < this._inits.length; i++) { - this._inits[i](this); - } - } - if (update !== false) this.$update(); - return this; - } - $init(character, character2) { - this.classList.add('fullskin'); - var info = lib.character[character]; - if (!info) { - info = ['', '', 1, [], []]; - } - if (!info[4]) { - info[4] = []; - } - - if (!game.minskin && get.is.newLayout() && !info[4].contains('minskin')) { - this.classList.remove('minskin'); - this.node.avatar.setBackground(character, 'character'); - } - else { - this.node.avatar.setBackground(character, 'character'); - if (info[4].contains('minskin')) { - this.classList.add('minskin'); - } - else if (game.minskin) { - this.classList.add('minskin'); - } - else { - this.classList.remove('minskin'); - } - } - - this.node.avatar.show(); - this.node.count.show(); - this.node.equips.show(); - - this.node.intro.innerHTML = lib.config.intro; - this.node.name.dataset.nature = get.groupnature(this.group); - lib.setIntro(this); - this.node.name.innerHTML = get.slimName(character); - if (this.classList.contains('minskin') && this.node.name.querySelectorAll('br').length >= 4) { - this.node.name.classList.add('long'); - } - if (info[4].contains('hiddenSkill') && !this.noclick) { - this.classList.add(_status.video ? 'unseen_v' : 'unseen'); - if (!this.node.name_seat && !_status.video) { - this.node.name_seat = ui.create.div('.name.name_seat', get.verticalStr(get.translation(this.name)), this); - this.node.name_seat.dataset.nature = get.groupnature(this.group); - } - } - if (character2 && lib.character[character2]) { - var info2 = lib.character[character2]; - if (!info2) { - info2 = ['', '', 1, [], []]; - } - if (!info2[4]) { - info2[4] = []; - } - this.classList.add('fullskin2'); - this.node.avatar2.setBackground(character2, 'character'); - this.node.avatar2.show(); - this.name2 = character2; - - this.node.count.classList.add('p2'); - if (info2[4].contains('hiddenSkill') && !this.noclick) { - this.classList.add(_status.video ? 'unseen2_v' : 'unseen2'); - } - this.node.name2.innerHTML = get.slimName(character2); - } - if (this.storage.nohp) { - this.node.hp.hide(); - } - - return this; - } - initOL(name, character) { - this.node.avatar.setBackground(character, 'character'); - this.node.avatar.show(); - this.node.name.innerHTML = get.verticalStr(name); - this.nickname = name; - this.avatar = character; - this.node.nameol.innerHTML = ''; - if (lib.character[character]) this.sex = lib.character[character][0]; - } - uninitOL() { - this.node.avatar.hide(); - this.node.name.innerHTML = ''; - this.node.identity.firstChild.innerHTML = ''; - delete this.nickname; - delete this.avatar; - delete this.sex; - } - initRoom(info, info2) { - var str = ''; - this.serving = false; - if (!info || info == 'server') { - this.roomempty = true; - str = '空房间'; - this.roomfull = false; - this.roomgaming = false; - this.version = null; - if (info == 'server') { - this.serving = true; - } - } - else { - var config = info[2]; - this.key = info[4]; - this.roomempty = false; - str += get.modetrans(config); - str += ' 模式 '; - for (var i = str.length; i < 11; i++) str += ' '; - this.version = config.version; - if (config.gameStarted) { - str += '游戏中 '; - if (config.observe && config.observeReady && this.version == lib.versionOL) { - this.classList.remove('exclude'); - } - else { - this.classList.add('exclude'); - } - } - else { - str += '等待中 '; - if (this.version != lib.versionOL) { - this.classList.add('exclude'); - } - else { - this.classList.remove('exclude'); - } - } - this.maxHp = parseInt(config.number); - this.hp = Math.min(this.maxHp, info[3]); - if (this.hp < this.maxHp || config.gameStarted) str += ('人数:' + this.hp + '/' + this.maxHp); - else str += ('人数:' + this.hp + '/' + this.maxHp + ''); - - str += (' (' + info[0].slice(0, 12) + ' 的房间)'); - if (config.mode != 'guozhan' && (config.mode != 'doudizhu' || config.doudizhu_mode != 'online')) { - str += '【'; - for (var i = 0; i < config.cardPack.length; i++) { - str += (get.translation(config.cardPack[i] + '_card_config').slice(0, 2)); - if (i < config.cardPack.length - 1) str += '+'; - } - str += '】'; - } - this.config = config; - if (this.hp == this.maxHp && !config.gameStarted) { - this.roomfull = true; - } - else { - this.roomfull = false; - } - if (config.gameStarted && (!config.observe || !config.observeReady)) { - this.roomgaming = true; - } - else { - this.roomgaming = false; - } - } - this.firstChild.innerHTML = str; - return this; - } - reinit(from, to, maxHp, online) { - var info1 = lib.character[from]; - var info2 = lib.character[to]; - var smooth = true, replaced = null; - if (maxHp == 'nosmooth') { - smooth = false; - maxHp = null; - } - if (this.name2 == from) { - this.name2 = to; - } - else if (this.name == from || this.name1 == from) { - if (this.name1 == from) { - this.name1 = to; - } - if (!this.isUnseen(1)) { - this.name = to; - this.sex = info2[0]; - } - } - else { - return this; - } - if (online) { - return; - } - for (var i = 0; i < info1[3].length; i++) { - this.removeSkill(info1[3][i]); - } - for (var i = 0; i < info2[3].length; i++) { - var info = get.info(info2[3][i]); - if (info && info.zhuSkill && !this.isZhu2()) continue; - this.addSkill(info2[3][i]); - } - if (Array.isArray(maxHp)) { - this.maxHp = maxHp[1]; - this.hp = maxHp[0]; - } - else { - var num; - if (maxHp === false) { - num = 0; - } - else { - if (typeof maxHp != 'number') { - maxHp = get.infoMaxHp(info2[2]); - } - num = maxHp - get.infoMaxHp(info1[2]); - } - if (typeof this.singleHp == 'boolean') { - if (num % 2 != 0) { - if (this.singleHp) { - this.maxHp += (num + 1) / 2; - this.singleHp = false; - } - else { - this.maxHp += (num - 1) / 2; - this.singleHp = true; - if (!game.online) { - this.doubleDraw(); - } - } - } - else { - this.maxHp += num / 2; - } - } - else { - this.maxHp += num; - } - } - game.broadcast(function (player, from, to, skills) { - player.reinit(from, to, null, true); - player.applySkills(skills); - }, this, from, to, get.skillState(this)); - game.addVideo('reinit3', this, { - from: from, - to: to, - hp: this.maxHp, - avatar2: this.name2 == to - }); - - this.$reinit(from, to, maxHp, online); - this.update(); - } - $reinit(from, to, maxHp, online) { - var smooth = true; - if (maxHp == 'nosmooth') { - smooth = false; - maxHp = null; - } - if (this.name2 == to) { - if (smooth) this.smoothAvatar(true); - this.node.avatar2.setBackground(to, 'character'); - this.node.name2.innerHTML = get.slimName(to); - } - else if (this.name == to || this.name1 == to) { - if (smooth) this.smoothAvatar(false); - this.node.avatar.setBackground(to, 'character'); - this.node.name.innerHTML = get.slimName(to); - - if (this == game.me && ui.fakeme) { - ui.fakeme.style.backgroundImage = this.node.avatar.style.backgroundImage; - } - } - } - uninit() { - this.expandedSlots = {}; - this.disabledSlots = {}; - - delete this.name; - delete this.name1; - delete this.tempname; - delete this.sex; - delete this.group; - delete this.hp; - delete this.maxHp; - delete this.hujia; - this.clearSkills(true); - - if (this.name2) { - delete this.singleHp; - delete this.name2; - } - for (var mark in this.marks) { - this.marks[mark].remove(); - } - ui.updatem(this); - - this.skipList = []; - this.skills = this.skills.filter(skill => { - return lib.skill[skill] && lib.skill[skill].superCharlotte; - }); - this.initedSkills = []; - this.additionalSkills = {}; - this.disabledSkills = {}; - this.hiddenSkills = []; - this.awakenedSkills = []; - this.forbiddenSkills = {}; - this.phaseNumber = 0; - this.stat = [{ card: {}, skill: {} }]; - this.tempSkills = {}; - this.storage = {}; - this.marks = {}; - this.ai = { friend: [], enemy: [], neutral: [] }; - - this.$uninit(); - - return this; - } - $uninit() { - this.$syncDisable(); - if (this.isDisabledJudge()) { - game.broadcastAll(function (player) { - player.storage._disableJudge = false; - for (var i = 0; i < player.node.judges.childNodes.length; i++) { - if (player.node.judges.childNodes[i].name == 'disable_judge') { - player.node.judges.removeChild(player.node.judges.childNodes[i]); - break; - } - } - }, this); - } - this.node.avatar.hide(); - this.node.count.hide(); - if (this.node.wuxing) { - this.node.wuxing.hide(); - } - if (this.node.name_seat) { - this.node.name_seat.remove(); - delete this.node.name_seat; - } - this.node.hp.show(); - this.classList.remove('unseen'); - this.classList.remove('unseen2'); - - this.node.identity.style.backgroundColor = ''; - this.node.intro.innerHTML = ''; - this.node.name.innerHTML = ''; - this.node.hp.innerHTML = ''; - this.node.count.innerHTML = '0'; - - this.node.avatar2.hide(); - this.node.name2.innerHTML = ''; - this.classList.remove('fullskin2'); - this.node.count.classList.remove('p2'); - - for (var mark in this.marks) { - this.marks[mark].remove(); - } - ui.updatem(this); - } - getLeft() { - return this.offsetLeft; - } - getTop() { - return this.offsetTop; - } - smoothAvatar(vice, video) { - var div = ui.create.div('.fullsize'); - if (vice) { - div.style.background = getComputedStyle(this.node.avatar2).background; - this.node.avatar2.appendChild(div); - } - else { - div.style.background = getComputedStyle(this.node.avatar).background; - this.node.avatar.appendChild(div); - } - ui.refresh(div); - div.style.transition = 'all 1s'; - setTimeout(function () { - div.classList.add('removing'); - setTimeout(function () { - div.remove(); - }, 2000); - }, 100); - if (video != false) { - game.addVideo('smoothAvatar', this, vice); - } - } - changeSeat(position, video) { - var player = this; - if (video !== false) game.addVideo('changeSeat', player, position); - var rect1 = player.getBoundingClientRect(); - player.style.transition = 'all 0s'; - ui.refresh(player); - player.dataset.position = position; - var rect2 = player.getBoundingClientRect(); - var dx = rect1.left - rect2.left; - var dy = rect1.top - rect2.top; - if ((game.chess || (player.dataset.position != 0 && position != 0)) && player.classList.contains('linked')) { - player.style.transform = 'rotate(-90deg) translate(' + (-dy) + 'px,' + (dx) + 'px)'; - } - else { - player.style.transform = 'translate(' + (dx) + 'px,' + (dy) + 'px)'; - } - setTimeout(function () { - player.style.transition = ''; - ui.refresh(player); - player.style.transform = ''; - }, 100); - } - send() { - if (!this.ws || this.ws.closed) return this; - this.ws.send.apply(this.ws, arguments); - return this; - } - getId() { - if (_status.video || _status.connectMode) return this; - if (this.playerid) { - delete game.playerMap[this.playerid]; - } - this.playerid = get.id(); - game.playerMap[this.playerid] = this; - return this; - } - throwEmotion(target, emotion, rotate) { - game.broadcastAll(function (player, target, emotion, rotate) { - player.$throwEmotion(target, emotion, rotate); - }, this, target, emotion, rotate); - } - emotion(pack, id) { - var str = ''; - this.say(str); - game.broadcast(function (id, str) { - if (lib.playerOL[id]) { - lib.playerOL[id].say(str); - } - else if (game.connectPlayers) { - for (var i = 0; i < game.connectPlayers.length; i++) { - if (game.connectPlayers[i].playerid == id) { - game.connectPlayers[i].say(str); - return; - } - } - } - }, this.playerid, str); - } - chat(str) { - if (get.is.banWords(str)) return; - this.say(str); - game.broadcast(function (id, str) { - if (lib.playerOL[id]) { - lib.playerOL[id].say(str); - } - else if (game.connectPlayers) { - for (var i = 0; i < game.connectPlayers.length; i++) { - if (game.connectPlayers[i].playerid == id) { - game.connectPlayers[i].say(str); - return; - } - } - } - }, this.playerid, str); - } - say(str) { - str = str.replace(/##assetURL##/g, lib.assetURL); - var dialog = ui.create.dialog('hidden'); - dialog.classList.add('static'); - dialog.add('
    ' + str + '
    '); - dialog.classList.add('popped'); - ui.window.appendChild(dialog); - var width = dialog.content.firstChild.firstChild.offsetWidth; - if (width < 190) { - dialog._mod_height = -16; - } - else { - dialog.content.firstChild.style.textAlign = 'left'; - } - dialog.style.width = (width + 16) + 'px'; - var refnode; - if (this.node && this.node.avatar && this.parentNode == ui.arena) { - refnode = this.node.avatar; - } - if (refnode) { - lib.placePoppedDialog(dialog, { - clientX: (ui.arena.offsetLeft + this.getLeft() + refnode.offsetLeft + refnode.offsetWidth / 2) * game.documentZoom, - clientY: (ui.arena.offsetTop + this.getTop() + refnode.offsetTop + refnode.offsetHeight / 4) * game.documentZoom - }); - } - else { - lib.placePoppedDialog(dialog, { - clientX: (this.getLeft() + this.offsetWidth / 2) * game.documentZoom, - clientY: (this.getTop() + this.offsetHeight / 4) * game.documentZoom - }); - } - if (dialog._mod_height) { - dialog.content.firstChild.style.padding = 0; - } - setTimeout(function () { - dialog.delete(); - }, lib.quickVoice.includes(str) ? 3800 : 2000); - var name = get.translation(this.name); - var info = [name ? (name + '[' + this.nickname + ']') : this.nickname, str]; - lib.chatHistory.push(info); - if (_status.addChatEntry) { - if (_status.addChatEntry._origin.parentNode) { - _status.addChatEntry(info, false); - } - else { - delete _status.addChatEntry; - } - } - if (lib.config.background_speak && lib.quickVoice.includes(str)) { - game.playAudio('voice', (this.sex == 'female' ? 'female' : 'male'), lib.quickVoice.indexOf(str)); - } - } - showGiveup() { - this._giveUp = true; - if (this == game.me) { - ui.create.giveup(); - } - else if (this.isOnline2()) { - this.send(ui.create.giveup); - } - } - applySkills(skills) { - for (var i in skills) { - if (i == 'global') { - lib.skill.global = skills[i]; - } - //else if(i=='skillinfo'){ - // for(var j in skills[i]){ - // if(!lib.skill[j]){ - // lib.skill[j]={}; - // } - // lib.skill[j].chooseButton=skills[i][j]; - // } - //} - else if (i == 'stat') { - this.stat = [skills.stat]; - } - else if (lib.playerOL[i]) { - for (var j in skills[i]) { - lib.playerOL[i][j] = skills[i][j]; - } - } - } - } - getState() { - var state = { - hp: this.hp, - maxHp: this.maxHp, - nickname: this.nickname, - sex: this.sex, - group: this.group, - name: this.name, - name1: this.name1, - name2: this.name2, - handcards: this.getCards('hs'), - gaintag: [], - equips: this.getCards('e'), - judges: this.getCards('j'), - specials: this.getCards('s'), - expansions: this.getCards('x'), - expansion_gaintag: [], - disableJudge: this.isDisabledJudge(), - disabledSlots: this.disabledSlots, - expandedSlots: this.expandedSlots, - views: [], - position: parseInt(this.dataset.position), - hujia: this.hujia, - side: this.side, - identityShown: this.identityShown, - identityNode: [this.node.identity.innerHTML, this.node.identity.dataset.color], - identity: this.identity, - dead: this.isDead(), - linked: this.isLinked(), - turnedover: this.isTurnedOver(), - out: this.isOut(), - phaseNumber: this.phaseNumber, - unseen: this.isUnseen(0), - unseen2: this.isUnseen(1), - seatNum: this.seatNum, - }; - for (var i = 0; i < state.judges.length; i++) { - state.views[i] = state.judges[i].viewAs; - } - for (var i = 0; i < state.handcards.length; i++) { - state.gaintag[i] = state.handcards[i].gaintag; - } - for (var i = 0; i < state.expansions.length; i++) { - state.expansion_gaintag[i] = state.expansions[i].gaintag; - } - if (this.getModeState) { - state.mode = this.getModeState(); - } - return state; - } - setNickname(str) { - this.node.nameol.innerHTML = (str || this.nickname || '').slice(0, 12); - return this; - } - setAvatar(name, name2, video, fakeme) { - var node; - if (this.name2 == name) { - node = this.node.avatar2; - this.smoothAvatar(true, video); - } - else if (this.name == name) { - node = this.node.avatar; - this.smoothAvatar(false, video); - } - if (node) { - node.setBackground(name2, 'character'); - if (this == game.me && ui.fakeme && fakeme !== false) { - ui.fakeme.style.backgroundImage = node.style.backgroundImage; - } - if (video != false) { - game.addVideo('setAvatar', this, [name, name2]); - } - } - game.broadcast(function (player, name, name2) { - player.setAvatar(name, name2, false); - }, this, name, name2); - } - setAvatarQueue(name, list) { - var node; - var player = this; - if (player.name2 == name) { - node = player.node.avatar2; - } - else { - node = player.node.avatar; - } - if (node._avatarqueue) { - for (var i = 0; i < list.length; i++) { - node._avatarqueue.push(list[i]); - } - } - else { - var func = function () { - if (node._avatarqueue.length) { - player.setAvatar(name, node._avatarqueue.shift(), false, false); - } - else { - clearInterval(node._avatarqueueinterval); - delete node._avatarqueue; - delete node._avatarqueueinterval; - player.setAvatar(name, name, false, false); - } - }; - node._avatarqueue = list.slice(0); - node._avatarqueueinterval = setInterval(func, 1000); - func(); - } - game.addVideo('setAvatarQueue', this, [name, list]); - } - flashAvatar(skill, name) { - if (lib.skill[name] && !lib.character[name]) { - var stop = false; - var list = lib.config.all.characters.slice(0); - for (var i in lib.characterPack) { - list.add(i); - } - for (var i = 0; i < list.length; i++) { - for (var j in lib.characterPack[list[i]]) { - if (lib.characterPack[list[i]][j][3].contains(name)) { - name = j; - stop = true; - break; - } - } - if (stop) { - break; - } - } - } - if (lib.character[this.name2] && lib.character[this.name2][3].contains(skill)) { - this.setAvatarQueue(this.name2, [name]); - } - else { - this.setAvatarQueue(this.name, [name]); - } - } - update() { - if (_status.video && arguments.length == 0) return; - if (this.hp >= this.maxHp) this.hp = this.maxHp; - game.broadcast(function (player, hp, maxHp, hujia) { - player.hp = hp; - player.maxHp = maxHp; - player.hujia = hujia; - player.$update(); - }, this, this.hp, this.maxHp, this.hujia); - this.$update(...arguments); - } - $update() { - if (this.hp >= this.maxHp) this.hp = this.maxHp; - var hp = this.node.hp; - hp.style.transition = 'none'; - if (!_status.video) { - if (this.hujia) { - this.markSkill('ghujia'); - } - else { - this.unmarkSkill('ghujia'); - } - } - if (!this.storage.nohp) { - if (this.maxHp == Infinity) { - hp.innerHTML = '∞'; - } - else if (game.layout == 'default' && this.maxHp > 14) { - hp.innerHTML = this.hp + '/' + this.maxHp; - hp.classList.add('text'); - } - else if (get.is.newLayout() && - ( - this.maxHp > 9 || - (this.maxHp > 5 && this.classList.contains('minskin')) || - ((game.layout == 'mobile' || game.layout == 'long') && this.dataset.position == 0 && this.maxHp > 7) - )) { - hp.innerHTML = this.hp + '
    /
    ' + this.maxHp + '
    '; - if (this.hp == 0) { - hp.lastChild.classList.add('lost'); - } - hp.classList.add('textstyle'); - // hp.classList.remove('long'); - } - else { - hp.innerHTML = ''; - hp.classList.remove('text'); - hp.classList.remove('textstyle'); - while (this.maxHp > hp.childNodes.length) { - ui.create.div(hp); - } - while (Math.max(0, this.maxHp) < hp.childNodes.length) { - hp.removeChild(hp.lastChild); - } - for (var i = 0; i < this.maxHp; i++) { - var index = i; - if (get.is.newLayout()) { - index = this.maxHp - i - 1; - } - if (i < this.hp) { - hp.childNodes[index].classList.remove('lost'); - } - else { - hp.childNodes[index].classList.add('lost'); - } - } - // if(this.maxHp==9){ - // hp.classList.add('long'); - // } - // else{ - // hp.classList.remove('long'); - // } - } - if (hp.classList.contains('room')) { - hp.dataset.condition = 'high'; - } - else if (this.hp == 0) { - hp.dataset.condition = ''; - } - else if (this.hp > Math.round(this.maxHp / 2) || this.hp === this.maxHp) { - hp.dataset.condition = 'high'; - } - else if (this.hp > Math.floor(this.maxHp / 3)) { - hp.dataset.condition = 'mid'; - } - else { - hp.dataset.condition = 'low'; - } - - setTimeout(function () { - hp.style.transition = ''; - }); - } - var numh = this.countCards('h'); - if (_status.video) { - numh = arguments[0]; - } - if (numh >= 10) { - numh = numh.toString(); - this.node.count.dataset.condition = 'low'; - this.node.count.innerHTML = numh[0] + '
    ' + numh[1]; - } - else { - if (numh > 5) { - this.node.count.dataset.condition = 'higher'; - } - else if (numh > 2) { - this.node.count.dataset.condition = 'high'; - } - else if (numh > 0) { - this.node.count.dataset.condition = 'mid'; - } - else { - this.node.count.dataset.condition = 'none'; - } - this.node.count.innerHTML = numh; - } - if (this.updates) { - for (var i = 0; i < this.updates.length; i++) { - this.updates[i](this); - } - } - if (!_status.video) { - game.addVideo('update', this, [this.countCards('h'), this.hp, this.maxHp, this.hujia]); - } - this.updateMarks(); - return this; - } - clearMark(i, log) { - let num = this.countMark(i); - if (num > 0) this.removeMark(i, num, log); - } - removeMark(i, num, log) { - if (typeof num != 'number' || !num) num = 1; - if (typeof this.storage[i] != 'number' || !this.storage[i]) return; - if (num > this.storage[i]) num = this.storage[i]; - this.storage[i] -= num; - if (log !== false) { - var str = false; - var info = get.info(i); - if (info && info.intro && (info.intro.name || info.intro.name2)) str = info.intro.name2 || info.intro.name; - else str = lib.translate[i]; - if (str) game.log(this, '移去了', get.cnNumber(num), '个', '#g【' + str + '】'); - } - this.syncStorage(i); - this[(this.storage[i] || (lib.skill[i] && lib.skill[i].mark)) ? 'markSkill' : 'unmarkSkill'](i); - } - addMark(i, num, log) { - if (typeof num != 'number' || !num) num = 1; - if (typeof this.storage[i] != 'number') this.storage[i] = 0; - this.storage[i] += num; - if (log !== false) { - var str = false; - var info = get.info(i); - if (info && info.intro && (info.intro.name || info.intro.name2)) str = info.intro.name2 || info.intro.name; - else str = lib.translate[i]; - if (str) game.log(this, '获得了', get.cnNumber(num), '个', '#g【' + str + '】'); - } - this.syncStorage(i); - this.markSkill(i); - } - setMark(name, num, log) { - const count = this.countMark(name); - if (count > num) this.removeMark(name, count - num, log); - else if (count < num) this.addMark(name, num - count, log); - } - countMark(i) { - if (this.storage[i] == undefined) return 0; - if (typeof this.storage[i] == 'number') return this.storage[i]; - if (Array.isArray(this.storage[i])) return this.storage[i].length; - return 0; - } - hasMark(i) { - return this.countMark(i) > 0; - } - updateMark(i, storage) { - if (!this.marks[i]) { - if (lib.skill[i] && lib.skill[i].intro && (this.storage[i] || lib.skill[i].intro.markcount)) { - this.markSkill(i); - if (!this.marks[i]) return this; - } - else { - return this; - } - } - if (storage && this.storage[i]) { - this.syncStorage(i); - } - if (i == 'ghujia' || ((!this.marks[i].querySelector('.image') || this.storage[i + '_markcount']) && - lib.skill[i] && lib.skill[i].intro && !lib.skill[i].intro.nocount && - (this.storage[i] || this.storage[i + '_markcount'] || lib.skill[i].intro.markcount))) { - this.marks[i].classList.add('overflowmark'); - var num = 0; - if (typeof lib.skill[i].intro.markcount == 'function') { - num = lib.skill[i].intro.markcount(this.storage[i], this); - } - else if (lib.skill[i].intro.markcount == 'expansion') { - num = this.countCards('x', (card) => card.hasGaintag(i)); - } - else if (typeof this.storage[i + '_markcount'] == 'number') { - num = this.storage[i + '_markcount']; - } - else if (i == 'ghujia') { - num = this.hujia; - } - else if (typeof this.storage[i] == 'number') { - num = this.storage[i]; - } - else if (Array.isArray(this.storage[i])) { - num = this.storage[i].length; - } - if (num) { - if (!this.marks[i].markcount) { - this.marks[i].markcount = ui.create.div('.markcount.menubutton', this.marks[i]); - } - this.marks[i].markcount.innerHTML = num; - } - else if (this.marks[i].markcount) { - this.marks[i].markcount.delete(); - delete this.marks[i].markcount; - } - } - else { - if (this.marks[i].markcount) { - this.marks[i].markcount.delete(); - delete this.marks[i].markcount; - } - if (lib.skill[i].mark == 'auto') { - this.unmarkSkill(i); - } - } - return this; - } - updateMarks(connect) { - if (typeof connect == 'string' && _status.connectMode && !game.online) { - game.broadcast(function (player, storage, skill) { - player.storage[skill] = storage; - player.updateMarks(); - }, this, this.storage[connect], connect); - } - for (var i in this.marks) { - this.updateMark(i); - } - } - num(arg1, arg2, arg3) { - if (get.itemtype(arg1) == 'position') { - return this.get(arg1, arg2, arg3).length; - } - else if (arg1 == 's') { - if (typeof arg2 == 'boolean') { - return game.expandSkills(this.getSkills(arg2).concat(lib.skill.global)).contains(arg3); - } - else { - return game.expandSkills(this.getSkills().concat(lib.skill.global)).contains(arg2); - } - } - } - line(target, config) { - if (get.itemtype(target) == 'players') { - for (var i = 0; i < target.length; i++) { - this.line(target[i], config); - } - } - else if (get.itemtype(target) == 'player') { - if (target == this) return; - game.broadcast(function (player, target, config) { - player.line(target, config); - }, this, target, config); - game.addVideo('line', this, [target.dataset.position, config]); - game.linexy([ - this.getLeft() + this.offsetWidth / 2, - this.getTop() + this.offsetHeight / 2, - target.getLeft() + target.offsetWidth / 2, - target.getTop() + target.offsetHeight / 2 - ], config, true); - } - } - line2(targets, config) { - this.line(targets[0], config); - targets = targets.slice(0); - for (var i = 1; i < targets.length; i++) { - (function (j) { - setTimeout(function () { - targets[j - 1].line(targets[j], config); - }, lib.config.duration * i); - }(i)); - } - } - getNext() { - if (this.hasSkill('undist')) return null; - var target = this; - for (var i = 0; i < game.players.length - 1; i++) { - target = target.next; - if (!target.hasSkill('undist')) { - return target; - } - } - return null; - } - getPrevious() { - if (this.hasSkill('undist')) return null; - var target = this; - for (var i = 0; i < game.players.length - 1; i++) { - target = target.previous; - if (!target.hasSkill('undist')) { - return target; - } - } - return null; - } - countUsed(card, type) { - if (type === true) { - var num = 0; - var history = this.getHistory('useCard'); - for (var i = 0; i < history.length; i++) { - if (!card) num++; - else if (typeof card == 'string' && history[i].card && card == history[i].card.name) num++; - else if (typeof card == 'object' && history[i].card && card.name == history[i].card.name) num++; - } - return num; - } - var num; - var stat = this.getStat('card'); - if (!card) { - num = 0; - for (var i in stat) { - if (typeof stat[i] == 'number') num += stat[i]; - } - return num; - } - if (typeof card == 'object') { - card = card.name; - } - num = stat[card]; - if (typeof num != 'number') return 0; - return num; - } - countSkill(skill) { - var num = this.getStat('skill')[skill]; - if (num == undefined) return 0; - return num; - } - getStockSkills(unowned, unique, hidden) { - var list = []; - if (lib.character[this.name] && (hidden || !this.isUnseen(0))) { - list.addArray(lib.character[this.name][3]); - } - if (lib.character[this.name1] && (hidden || !this.isUnseen(0))) { - list.addArray(lib.character[this.name1][3]); - } - if (lib.character[this.name2] && (hidden || !this.isUnseen(1))) { - list.addArray(lib.character[this.name2][3]); - } - if (!unowned) { - for (var i = 0; i < list.length; i++) { - if (!this.hasSkill(list[i])) { - list.splice(i--, 1); - } - } - } - if (!unique) { - for (var i = 0; i < list.length; i++) { - var info = lib.skill[list[i]]; - if (!info || info.unique || info.temp || info.sub || info.charlotte) { - list.splice(i--, 1); - } - } - } - return list; - } - /** - * @param {string} [arg1='h'] - * @param {string | Record | (card: Card) => boolean} [arg2] - * @returns {Card[]} - */ - getCards(arg1, arg2) { - if (typeof arg1 != 'string') { - arg1 = 'h'; - } - var cards = [], cards1 = []; - var i, j; - for (i = 0; i < arg1.length; i++) { - if (arg1[i] == 'h') { - for (j = 0; j < this.node.handcards1.childElementCount; j++) { - if (!this.node.handcards1.childNodes[j].classList.contains('removing') && !this.node.handcards1.childNodes[j].classList.contains('glows')) { - cards.push(this.node.handcards1.childNodes[j]); - } - } - for (j = 0; j < this.node.handcards2.childElementCount; j++) { - if (!this.node.handcards2.childNodes[j].classList.contains('removing') && !this.node.handcards2.childNodes[j].classList.contains('glows')) { - cards.push(this.node.handcards2.childNodes[j]); - } - } - } - else if (arg1[i] == 's') { - for (j = 0; j < this.node.handcards1.childElementCount; j++) { - if (!this.node.handcards1.childNodes[j].classList.contains('removing') && this.node.handcards1.childNodes[j].classList.contains('glows')) { - cards.push(this.node.handcards1.childNodes[j]); - } - } - for (j = 0; j < this.node.handcards2.childElementCount; j++) { - if (!this.node.handcards2.childNodes[j].classList.contains('removing') && this.node.handcards2.childNodes[j].classList.contains('glows')) { - cards.push(this.node.handcards2.childNodes[j]); - } - } - } - else if (arg1[i] == 'e') { - for (j = 0; j < this.node.equips.childElementCount; j++) { - if (!this.node.equips.childNodes[j].classList.contains('removing') && !this.node.equips.childNodes[j].classList.contains('feichu')) { - cards.push(this.node.equips.childNodes[j]); - } - } - } - else if (arg1[i] == 'j') { - for (j = 0; j < this.node.judges.childElementCount; j++) { - if (!this.node.judges.childNodes[j].classList.contains('removing') && !this.node.judges.childNodes[j].classList.contains('feichu')) { - cards.push(this.node.judges.childNodes[j]); - if (this.node.judges.childNodes[j].viewAs && arguments.length > 1) { - this.node.judges.childNodes[j].tempJudge = this.node.judges.childNodes[j].name; - this.node.judges.childNodes[j].name = this.node.judges.childNodes[j].viewAs; - cards1.push(this.node.judges.childNodes[j]); - } - } - } - } - else if (arg1[i] == 'x') { - for (j = 0; j < this.node.expansions.childElementCount; j++) { - if (!this.node.expansions.childNodes[j].classList.contains('removing')) { - cards.push(this.node.expansions.childNodes[j]); - } - } - } - } - if (arguments.length == 1) { - return cards; - } - if (arg2) { - if (typeof arg2 == 'string') { - for (i = 0; i < cards.length; i++) { - if (get.name(cards[i]) != arg2) { - cards.splice(i, 1); i--; - } - } - } - else if (typeof arg2 == 'object') { - for (i = 0; i < cards.length; i++) { - for (j in arg2) { - var value; - if (j == 'type' || j == 'subtype' || j == 'color' || j == 'suit' || j == 'number') { - value = get[j](cards[i]); - } - else { - value = cards[i][j]; - } - if ((typeof arg2[j] == 'string' && value != arg2[j]) || - (Array.isArray(arg2[j]) && !arg2[j].contains(value))) { - cards.splice(i--, 1); break; - } - } - } - } - else if (typeof arg2 == 'function') { - for (i = 0; i < cards.length; i++) { - if (!arg2(cards[i])) { - cards.splice(i--, 1); - } - } - } - } - for (i = 0; i < cards1.length; i++) { - if (cards1[i].tempJudge) { - cards1[i].name = cards1[i].tempJudge; - delete cards1[i].tempJudge; - } - } - return cards; - } - getDiscardableCards(player, arg1, arg2) { - var cards = this.getCards(arg1, arg2); - for (var i = 0; i < cards.length; i++) { - if (!lib.filter.canBeDiscarded(cards[i], player, this)) { - cards.splice(i--, 1); - } - } - return cards; - } - getGainableCards(player, arg1, arg2) { - var cards = this.getCards(arg1, arg2); - for (var i = 0; i < cards.length; i++) { - if (!lib.filter.canBeGained(cards[i], player, this)) { - cards.splice(i--, 1); - } - } - return cards; - } - getGainableSkills(func) { - var list = []; - var names = [this.name, this.name1, this.name2]; - for (var i = 0; i < names.length; i++) { - list.addArray(get.gainableSkillsName(names[i], func)); - } - return list; - } - countCards(arg1, arg2) { - return this.getCards(arg1, arg2).length; - } - countDiscardableCards(player, arg1, arg2) { - return this.getDiscardableCards(player, arg1, arg2).length; - } - countGainableCards(player, arg1, arg2) { - return this.getGainableCards(player, arg1, arg2).length; - } - getOriginalSkills() { - var skills = []; - if (lib.character[this.name] && !this.isUnseen(0)) { - skills.addArray(lib.character[this.name][3]); - } - if (this.name2 && lib.character[this.name2] && !this.isUnseen(1)) { - skills.addArray(lib.character[this.name2][3]); - } - return skills; - } - getModableSkills(useCache) { - var func = function (player) { - var skills = player.getSkills().concat(lib.skill.global); - game.expandSkills(skills); - skills = skills.filter(function (skill) { - var info = get.info(skill); - return info && info.mod; - }); - skills.sort((a, b) => get.priority(a) - get.priority(b)); - return skills; - }; - if (!useCache) return func(this); - return game.callFuncUseStepCache("player.getModableSkills", func, [this]); - } - getSkills(arg2, arg3, arg4) { - var skills = this.skills.slice(0); - var es = []; - var i, j; - if (arg3 !== false) { - for (i = 0; i < this.node.equips.childElementCount; i++) { - if (!this.node.equips.childNodes[i].classList.contains('removing')) { - var equipskills = get.info(this.node.equips.childNodes[i], false).skills; - if (equipskills) { - es.addArray(equipskills); - } - } - } - if (arg2 == 'e') { - return es; - } - } - for (var i in this.additionalSkills) { - if (Array.isArray(this.additionalSkills[i]) && (arg2 || i.indexOf('hidden:') !== 0)) { - for (j = 0; j < this.additionalSkills[i].length; j++) { - if (this.additionalSkills[i][j]) { - skills.add(this.additionalSkills[i][j]); - } - } - } - else if (this.additionalSkills[i] && typeof this.additionalSkills[i] == 'string') { - skills.add(this.additionalSkills[i]); - } - } - for (var i in this.tempSkills) { - skills.add(i); - } - if (arg2) skills.addArray(this.hiddenSkills); - if (arg2 === false || arg2 == 'invisible') skills.addArray(this.invisibleSkills); - if (arg3 !== false) skills.addArray(es); - for (var i in this.forbiddenSkills) { - skills.remove(i); - } - if (arg4 !== false) { - skills = game.filterSkills(skills, this, es); - } - return skills; - } - get(arg1, arg2, arg3, arg4) { - var i, j; - if (arg1 == 's') { - var skills = this.skills.slice(0); - var es = []; - if (arg3 !== false) { - for (i = 0; i < this.node.equips.childElementCount; i++) { - if (!this.node.equips.childNodes[i].classList.contains('removing') && !this.node.equips.childNodes[i].classList.contains('feichu')) { - var equipskills = get.info(this.node.equips.childNodes[i]).skills; - if (equipskills) { - es.addArray(equipskills); - } - } - } - if (arg2 == 'e') { - return es; - } - } - for (var i in this.additionalSkills) { - if (Array.isArray(this.additionalSkills[i])) { - for (j = 0; j < this.additionalSkills[i].length; j++) { - if (this.additionalSkills[i][j]) { - skills.add(this.additionalSkills[i][j]); - } - } - } - else if (this.additionalSkills[i] && typeof this.additionalSkills[i] == 'string') { - skills.add(this.additionalSkills[i]); - } - } - for (var i in this.tempSkills) { - skills.add(i); - } - if (arg2) skills.addArray(this.hiddenSkills); - if (arg3 !== false) skills.addArray(es); - for (var i in this.forbiddenSkills) { - skills.remove(i); - } - if (arg4 !== false) { - skills = game.filterSkills(skills, this, es); - } - return skills; - } - else if (get.is.pos(arg1)) { - var cards = [], cards1 = []; - for (i = 0; i < arg1.length; i++) { - if (arg1[i] == 'h') { - for (j = 0; j < this.node.handcards1.childElementCount; j++) { - if (!this.node.handcards1.childNodes[j].classList.contains('removing') && !this.node.handcards1.childNodes[j].classList.contains('feichu') && !this.node.handcards1.childNodes[j].classList.contains('glows')) { - cards.push(this.node.handcards1.childNodes[j]); - } - } - for (j = 0; j < this.node.handcards2.childElementCount; j++) { - if (!this.node.handcards2.childNodes[j].classList.contains('removing') && !this.node.handcards2.childNodes[j].classList.contains('feichu') && !this.node.handcards2.childNodes[j].classList.contains('glows')) { - cards.push(this.node.handcards2.childNodes[j]); - } - } - } - else if (arg1[i] == 'e') { - for (j = 0; j < this.node.equips.childElementCount; j++) { - if (!this.node.equips.childNodes[j].classList.contains('removing') && !this.node.equips.childNodes[j].classList.contains('feichu')) { - cards.push(this.node.equips.childNodes[j]); - } - } - if (arguments.length == 2 && typeof arg2 == 'string' && /1|2|3|4|5/.test(arg2)) { - for (j = 0; j < cards.length; j++) { - if (get.subtype(cards[j]) == 'equip' + arg2) return cards[j]; - } - return; - } - } - else if (arg1[i] == 'j') { - for (j = 0; j < this.node.judges.childElementCount; j++) { - if (!this.node.judges.childNodes[j].classList.contains('removing') && !this.node.judges.childNodes[j].classList.contains('feichu')) { - cards.push(this.node.judges.childNodes[j]); - if (this.node.judges.childNodes[j].viewAs && arguments.length > 1) { - this.node.judges.childNodes[j].tempJudge = this.node.judges.childNodes[j].name; - this.node.judges.childNodes[j].name = this.node.judges.childNodes[j].viewAs; - cards1.push(this.node.judges.childNodes[j]); - } - } - } - } - } - if (arguments.length == 1) { - return cards; - } - if (arg2 != undefined) { - if (typeof arg3 == 'function') { - var cards2 = cards.slice(0); - cards.sort(function (a, b) { - return arg3(b, cards2) - arg3(a, cards2); - }); - } - if (typeof arg2 == 'string') { - for (i = 0; i < cards.length; i++) { - if (cards[i].name != arg2) { - cards.splice(i, 1); i--; - } - } - } - else if (typeof arg2 == 'object') { - for (i = 0; i < cards.length; i++) { - for (j in arg2) { - if (j == 'type') { - if (typeof arg2[j] == 'object') { - if (arg2[j].contains(get.type(cards[i])) == false) { - cards.splice(i, 1); i--; break; - } - } - else if (typeof arg2[j] == 'string') { - if (get.type(cards[i]) != arg2[j]) { - cards.splice(i, 1); i--; break; - } - } - } - else if (j == 'subtype') { - if (typeof arg2[j] == 'object') { - if (arg2[j].contains(get.subtype(cards[i])) == false) { - cards.splice(i, 1); i--; break; - } - } - else if (typeof arg2[j] == 'string') { - if (get.subtype(cards[i]) != arg2[j]) { - cards.splice(i, 1); i--; break; - } - } - } - else if (j == 'color') { - if (typeof arg2[j] == 'object') { - if (arg2[j].contains(get.color(cards[i])) == false) { - cards.splice(i, 1); i--; break; - } - } - else if (typeof arg2[j] == 'string') { - if (get.color(cards[i]) != arg2[j]) { - cards.splice(i, 1); i--; break; - } - } - } - else if (j == 'suit') { - if (typeof arg2[j] == 'object') { - if (arg2[j].contains(get.suit(cards[i])) == false) { - cards.splice(i, 1); i--; break; - } - } - else if (typeof arg2[j] == 'string') { - if (get.suit(cards[i]) != arg2[j]) { - cards.splice(i, 1); i--; break; - } - } - } - else if (j == 'number') { - if (typeof arg2[j] == 'object') { - if (arg2[j].contains(get.number(cards[i])) == false) { - cards.splice(i, 1); i--; break; - } - } - else if (typeof arg2[j] == 'string') { - if (get.number(cards[i]) != arg2[j]) { - cards.splice(i, 1); i--; break; - } - } - } - else if (typeof arg2[j] == 'object') { - if (arg2[j].contains(cards[i][j]) == false) { - cards.splice(i, 1); i--; break; - } - } - else if (typeof arg2[j] == 'string') { - if (cards[i][j] != arg2[j]) { - cards.splice(i, 1); i--; break; - } - } - } - } - } - else if (typeof arg2 == 'number' && arg2 > 0) { - cards.splice(arg2); - } - else if (typeof arg2 == 'function') { - for (i = 0; i < cards.length; i++) { - if (!arg2(cards[i])) { - cards.splice(i, 1); i--; - } - } - } - } - for (i = 0; i < cards1.length; i++) { - if (cards1[i].tempJudge) { - cards1[i].name = cards1[i].tempJudge; - delete cards1[i].tempJudge; - } - } - if (arg2 === 0) return cards[0]; - if (typeof arg3 == 'number') { - if (arg3 == 0) return cards[0]; - cards.splice(arg3); - } - if (typeof arg4 == 'number') { - if (arg4 == 0) return cards[0]; - cards.splice(arg4); - } - return cards; - } - } - syncStorage(skill) { - switch (get.itemtype(this.storage[skill])) { - case 'cards': game.addVideo('storage', this, [skill, get.cardsInfo(this.storage[skill]), 'cards']); break; - case 'card': game.addVideo('storage', this, [skill, get.cardInfo(this.storage[skill]), 'card']); break; - default: - try { - game.addVideo('storage', this, [skill, JSON.parse(JSON.stringify(this.storage[skill]))]); - } - catch (e) { - console.log(this.storage[skill]); - } - } - } - syncSkills() { - game.broadcast(function (player, skills) { - player.applySkills(skills); - }, this, get.skillState(this)); - } - playerfocus(time) { - time = time || 1000; - this.classList.add('playerfocus'); - ui.arena.classList.add('playerfocus'); - var that = this; - setTimeout(function () { - that.classList.remove('playerfocus'); - ui.arena.classList.remove('playerfocus'); - }, time); - game.addVideo('playerfocus', this, time); - game.broadcast(function (player, time) { - player.playerfocus(time); - }, this, time); - return this; - } - setIdentity(identity, nature) { - if (!identity) identity = this.identity; - if (get.is.jun(this)) { - this.node.identity.firstChild.innerHTML = '君'; - } - else { - this.node.identity.firstChild.innerHTML = get.translation(identity); - } - this.node.identity.dataset.color = nature || identity; - return this; - } - insertPhase(skill, insert) { - var evt = _status.event.getParent('phase'); - var next; - if (evt && evt.parent && evt.parent.next) { - evt = evt.parent; - next = game.createEvent('phase', false, evt); - } - else if (_status.event.parent && _status.event.parent.next) { - evt = _status.event.parent; - next = game.createEvent('phase', false, evt); - } - else { - evt = null; - next = game.createEvent('phase', false); - } - if (evt && insert && evt.next.contains(next)) { - evt.next.remove(next); - evt.next.unshift(next); - } - next.player = this; - next.forceDie = true; - next.includeOut = true; - next.skill = skill || _status.event.name; - next.setContent('phase'); - return next; - } - insertEvent(name, content, arg) { - var evt = _status.event.getParent('phase'); - var next; - if (evt && evt.parent && evt.parent.next) { - next = game.createEvent(name, null, evt.parent); - } - else { - next = game.createEvent(name); - } - for (var i in arg) { - next[i] = arg[i]; - } - next.player = this; - next.setContent(content); - return next; - } - phase(skill) { - var next = game.createEvent('phase', false); - next.player = this; - next.setContent('phase'); - if (!_status.roundStart) { - _status.roundStart = this; - } - if (skill) { - next.skill = skill; - } - next.forceDie = true; - next.includeOut = true; - return next; - } - phaseZhunbei() { - var next = game.createEvent('phaseZhunbei'); - next.player = this; - next.setContent('phaseZhunbei'); - return next; - } - phaseJudge() { - var next = game.createEvent('phaseJudge'); - next.player = this; - next.setContent('phaseJudge'); - return next; - } - phaseDraw() { - var next = game.createEvent('phaseDraw'); - next.player = this; - next.num = 2; - if ((get.config('first_less') || _status.connectMode || _status.first_less_forced) && game.phaseNumber == 1 && _status.first_less) { - next.num--; - } - next.setContent('phaseDraw'); - return next; - } - phaseUse() { - var next = game.createEvent('phaseUse'); - next.player = this; - next.setContent('phaseUse'); - return next; - } - phaseDiscard() { - var next = game.createEvent('phaseDiscard'); - next.player = this; - next.setContent('phaseDiscard'); - return next; - } - phaseJieshu() { - var next = game.createEvent('phaseJieshu'); - next.player = this; - next.setContent('phaseJieshu'); - return next; - } - chooseToUse(use) { - var next = game.createEvent('chooseToUse'); - next.player = this; - if (arguments.length == 1 && get.objtype(arguments[0]) == 'object') { - for (var i in use) { - next[i] = use[i]; - } - } - else { - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'number' || get.itemtype(arguments[i]) == 'select') { - next.selectTarget = arguments[i]; - } - else if ((typeof arguments[i] == 'object' && arguments[i]) || typeof arguments[i] == 'function') { - if (get.itemtype(arguments[i]) == 'player' || next.filterCard) { - next.filterTarget = arguments[i]; - } - else next.filterCard = arguments[i]; - } - else if (typeof arguments[i] == 'boolean') { - next.forced = arguments[i]; - } - else if (typeof arguments[i] == 'string') { - next.prompt = arguments[i]; - } - } - } - if (typeof next.filterCard == 'object') { - next.filterCard = get.filter(next.filterCard); - } - if (typeof next.filterTarget == 'object') { - next.filterTarget = get.filter(next.filterTarget, 2); - } - if (next.filterCard == undefined) { - next.filterCard = lib.filter.filterCard; - } - if (next.selectCard == undefined) { - next.selectCard = [1, 1]; - } - if (next.filterTarget == undefined) { - next.filterTarget = lib.filter.filterTarget; - } - if (next.selectTarget == undefined) { - next.selectTarget = lib.filter.selectTarget; - } - if (next.position == undefined) { - next.position = 'hs'; - } - if (next.ai1 == undefined) next.ai1 = get.order; - if (next.ai2 == undefined) next.ai2 = get.effect_use; - next.setContent('chooseToUse'); - next._args = Array.from(arguments); - return next; - } - chooseToRespond() { - var next = game.createEvent('chooseToRespond'); - next.player = this; - var filter; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'number') { - next.selectCard = [arguments[i], arguments[i]]; - } - else if (get.itemtype(arguments[i]) == 'select') { - next.selectCard = arguments[i]; - } - else if (typeof arguments[i] == 'boolean') { - next.forced = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'position') { - next.position = arguments[i]; - } - else if (typeof arguments[i] == 'function') { - if (next.filterCard) next.ai = arguments[i]; - else next.filterCard = arguments[i]; - } - else if (typeof arguments[i] == 'object' && arguments[i]) { - next.filterCard = get.filter(arguments[i]); - filter = arguments[i]; - } - else if (arguments[i] == 'nosource') { - next.nosource = true; - } - else if (typeof arguments[i] == 'string') { - next.prompt = arguments[i]; - } - } - if (next.filterCard == undefined) next.filterCard = lib.filter.all; - if (next.selectCard == undefined) next.selectCard = [1, 1]; - if (next.source == undefined && !next.nosource) next.source = _status.event.player; - if (next.ai == undefined) next.ai = get.unuseful2; - if (next.prompt != false) { - if (typeof next.prompt == 'string') { - //next.dialog=next.prompt; - } - else { - var str = '请打出' + get.cnNumber(next.selectCard[0]) + '张'; - if (filter) { - if (filter.name) { - str += get.translation(filter.name); - } - else { - str += '牌'; - } - } - else { - str += '牌'; - } - if (_status.event.getParent().name == 'useCard') { - var cardname = _status.event.name; - if (lib.card[cardname] && lib.translate[cardname]) { - str += '响应' + lib.translate[cardname]; - } - } - next.prompt = str; - } - } - next.position = 'hs'; - if (next.ai2 == undefined) next.ai2 = (() => 1); - next.setContent('chooseToRespond'); - next._args = Array.from(arguments); - return next; - } - chooseToGive(...args) { - const next = game.createEvent('chooseToGive'); - next.player = this; - if (args.length == 1 && get.is.object(args[0])) { - for (const i in args[0]) next[i] = args[0][i]; - } - else for (const arg of args) { - if (get.itemtype(arg) == 'player') { - next.target = arg; - } - else if (typeof arg == 'number') { - next.selectCard = [arg, arg]; - } - else if (get.itemtype(arg) == 'select') { - next.selectCard = arg; - } - else if (get.itemtype(arg) == 'dialog') { - next.dialog = arg; - next.prompt = false; - } - else if (typeof arg == 'boolean') { - next.forced = arg; - } - else if (get.itemtype(arg) == 'position') { - next.position = arg; - } - else if (typeof arg == 'function') { - if (next.filterCard) next.ai = arg; - else next.filterCard = arg; - } - else if (typeof arg == 'object' && arg) { - next.filterCard = get.filter(arg); - } - else if (typeof arg == 'string') { - get.evtprompt(next, arg); - } - if (arg === null) console.log(args); - } - if (next.isMine() == false && next.dialog) next.dialog.style.display = 'none'; - if (next.filterCard == undefined) next.filterCard = lib.filter.all; - if (next.selectCard == undefined) next.selectCard = [1, 1]; - if (next.position == undefined) next.position = 'h'; - if (next.ai == undefined) next.ai = get.unuseful; - next.setContent('chooseToGive'); - next._args = args; - return next; - } - chooseToDiscard() { - var next = game.createEvent('chooseToDiscard'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'number') { - next.selectCard = [arguments[i], arguments[i]]; - } - else if (get.itemtype(arguments[i]) == 'select') { - next.selectCard = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'dialog') { - next.dialog = arguments[i]; - next.prompt = false; - } - else if (typeof arguments[i] == 'boolean') { - next.forced = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'position') { - next.position = arguments[i]; - } - else if (typeof arguments[i] == 'function') { - if (next.filterCard) next.ai = arguments[i]; - else next.filterCard = arguments[i]; - } - else if (typeof arguments[i] == 'object' && arguments[i]) { - next.filterCard = get.filter(arguments[i]); - } - else if (typeof arguments[i] == 'string') { - get.evtprompt(next, arguments[i]); - } - if (arguments[i] === null) { - for (var i = 0; i < arguments.length; i++) { - console.log(arguments[i]); - } - } - } - if (next.isMine() == false && next.dialog) next.dialog.style.display = 'none'; - if (next.filterCard == undefined) next.filterCard = lib.filter.all; - if (next.selectCard == undefined) next.selectCard = [1, 1]; - if (next.ai == undefined) next.ai = get.unuseful; - next.autochoose = function () { - if (!this.forced) return false; - if (typeof this.selectCard == 'function') return false; - var cards = this.player.getCards(this.position); - var num = cards.length; - for (var i = 0; i < cards.length; i++) { - if (!lib.filter.cardDiscardable(cards[i], this.player, this)) num--; - } - return get.select(this.selectCard)[0] >= num; - }; - next.setContent('chooseToDiscard'); - next._args = Array.from(arguments); - return next; - } - chooseToCompare(target, check) { - var next = game.createEvent('chooseToCompare'); - next.player = this; - if (Array.isArray(target)) { - next.targets = target; - if (check) next.ai = check; - else next.ai = function (card) { - if (typeof card == 'string' && lib.skill[card]) { - var ais = lib.skill[card].check || function () { return 0; }; - return ais(); - } - var addi = (get.value(card) >= 8 && get.type(card) != 'equip') ? -3 : 0; - if (card.name == 'du') addi -= 3; - var source = _status.event.source; - var player = _status.event.player; - var event = _status.event.getParent(); - var getn = function (card) { - if (player.hasSkill('tianbian') && get.suit(card) == 'heart') return 13 * (Boolean(event.small) ? -1 : 1); - return get.number(card) * (Boolean(event.small) ? -1 : 1); - }; - if (source && source != player) { - if (get.attitude(player, source) > 1) { - if (Boolean(event.small)) return getn(card) - get.value(card) / 3 + addi; - return -getn(card) - get.value(card) / 3 + addi; - } - if (Boolean(event.small)) return -getn(card) - get.value(card) / 5 + addi; - return getn(card) - get.value(card) / 5 + addi; - } - else { - if (Boolean(event.small)) return -getn(card) - get.value(card) / 5 + addi; - return getn(card) - get.value(card) / 5 + addi; - } - }; - next.setContent('chooseToCompareMultiple'); - } - else { - next.target = target; - if (check) next.ai = check; - else next.ai = function (card) { - if (typeof card == 'string' && lib.skill[card]) { - var ais = lib.skill[card].check || function () { return 0; }; - return ais(); - } - var player = get.owner(card); - var getn = function (card) { - if (player.hasSkill('tianbian') && get.suit(card) == 'heart') return 13; - return get.number(card); - }; - var event = _status.event.getParent(); - var to = (player == event.player ? event.target : event.player); - var addi = (get.value(card) >= 8 && get.type(card) != 'equip') ? -6 : 0; - var friend = get.attitude(player, to) > 0; - if (card.name == 'du') addi -= 5; - if (player == event.player) { - if (Boolean(event.small)) return -getn(card) - get.value(card) / (friend ? 4 : 5) + addi; - return getn(card) - get.value(card) / (friend ? 4 : 5) + addi; - } - else { - if (friend == Boolean(event.small)) return getn(card) - get.value(card) / (friend ? 3 : 5) + addi; - return -getn(card) - get.value(card) / (friend ? 3 : 5) + addi; - } - }; - next.setContent('chooseToCompare'); - } - next.forceDie = true; - next._args = Array.from(arguments); - return next; - } - chooseSkill(target) { - var next = game.createEvent('chooseSkill'); - next.player = this; - next.setContent('chooseSkill'); - next.target = target; - for (var i = 1; i < arguments.length; i++) { - if (typeof arguments[i] == 'string') { - next.prompt = arguments[i]; - } - else if (typeof arguments[i] == 'function') { - next.func = arguments[i]; - } - } - } - discoverCard(list) { - var next = game.createEvent('discoverCard'); - next.player = this; - next.setContent('discoverCard'); - next.list = list || lib.inpile.slice(0); - next.forced = true; - for (var i = 1; i < arguments.length; i++) { - if (typeof arguments[i] == 'boolean') { - next.forced = arguments[i]; - } - else if (typeof arguments[i] == 'string') { - switch (arguments[i]) { - case 'use': next.use = true; break; - case 'nogain': next.nogain = true; break; - default: next.prompt = arguments[i]; - } - } - else if (typeof arguments[i] == 'number') { - next.num = arguments[i]; - } - else if (typeof arguments[i] === 'function') { - next.ai = arguments[i]; - } - } - return next; - } - chooseCardButton() { - var cards, prompt, forced, select; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'cards') cards = arguments[i]; - else if (typeof arguments[i] == 'boolean') forced = arguments[i]; - else if (typeof arguments[i] == 'string') prompt = arguments[i]; - else if (get.itemtype(arguments[i]) == 'select' || typeof arguments[i] == 'number') select = arguments[i]; - } - if (prompt == undefined) prompt = '请选择卡牌'; - return this.chooseButton(forced, select, 'hidden', [prompt, cards, 'hidden']); - } - chooseVCardButton() { - var list, prompt, forced, select, notype = false; - for (var i = 0; i < arguments.length; i++) { - if (Array.isArray(arguments[i])) { - list = arguments[i]; - } - else if (arguments[i] == 'notype') { - notype = true; - } - else if (typeof arguments[i] == 'boolean') forced = arguments[i]; - else if (typeof arguments[i] == 'string') prompt = arguments[i]; - else if (get.itemtype(arguments[i]) == 'select' || typeof arguments[i] == 'number') select = arguments[i]; - } - for (var i = 0; i < list.length; i++) { - list[i] = [notype ? '' : (get.subtype(list[i], false) || get.type(list[i])), '', list[i]]; - } - if (prompt == undefined) prompt = '请选择卡牌'; - return this.chooseButton(forced, select, 'hidden', [prompt, [list, 'vcard'], 'hidden']); - } - chooseButton() { - var next = game.createEvent('chooseButton'); - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'boolean') { - next.forced = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'dialog') { - next.dialog = arguments[i]; - next.closeDialog = true; - } - else if (get.itemtype(arguments[i]) == 'select') { - next.selectButton = arguments[i]; - } - else if (typeof arguments[i] == 'number') { - next.selectButton = [arguments[i], arguments[i]]; - } - else if (typeof arguments[i] == 'function') { - if (next.ai) next.filterButton = arguments[i]; - else next.ai = arguments[i]; - } - else if (Array.isArray(arguments[i])) { - next.createDialog = arguments[i]; - } - } - next.player = this; - if (typeof next.forced != 'boolean') next.forced = false; - if (next.isMine() == false && next.dialog) next.dialog.style.display = 'none'; - if (next.filterButton == undefined) next.filterButton = lib.filter.filterButton; - if (next.selectButton == undefined) next.selectButton = [1, 1]; - if (next.ai == undefined) next.ai = function () { return 1; }; - next.setContent('chooseButton'); - next._args = Array.from(arguments); - next.forceDie = true; - return next; - } - chooseButtonOL(list, callback, ai) { - var next = game.createEvent('chooseButtonOL'); - next.list = list; - next.setContent('chooseButtonOL'); - next.ai = ai; - next.callback = callback; - next._args = Array.from(arguments); - return next; - } - chooseCardOL() { - var next = game.createEvent('chooseCardOL'); - next._args = []; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'players') { - next.list = arguments[i].slice(0); - } - else { - next._args.push(arguments[i]); - } - } - next.setContent('chooseCardOL'); - next._args.add('glow_result'); - return next; - } - chooseCard(choose) { - var next = game.createEvent('chooseCard'); - next.player = this; - if (arguments.length == 1 && get.is.object(choose)) { - for (var i in choose) { - next[i] = choose[i]; - } - } - else { - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'number') { - next.selectCard = [arguments[i], arguments[i]]; - } - else if (get.itemtype(arguments[i]) == 'select') { - next.selectCard = arguments[i]; - } - else if (typeof arguments[i] == 'boolean') { - next.forced = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'position') { - next.position = arguments[i]; - } - else if (typeof arguments[i] == 'function') { - if (next.filterCard) next.ai = arguments[i]; - else next.filterCard = arguments[i]; - } - else if (typeof arguments[i] == 'object' && arguments[i]) { - next.filterCard = get.filter(arguments[i]); - } - else if (arguments[i] == 'glow_result') { - next.glow_result = true; - } - else if (typeof arguments[i] == 'string') { - get.evtprompt(next, arguments[i]); - } - } - } - if (next.filterCard == undefined) next.filterCard = lib.filter.all; - if (next.selectCard == undefined) next.selectCard = [1, 1]; - if (next.ai == undefined) next.ai = get.unuseful3; - next.setContent('chooseCard'); - next._args = Array.from(arguments); - return next; - } - chooseUseTarget() { - var next = game.createEvent('chooseUseTarget'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'cards') { - next.cards = arguments[i].slice(0); - } - else if (get.itemtype(arguments[i]) == 'card') { - next.card = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'players') { - next.targets = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'player') { - next.targets = [arguments[i]]; - } - else if (get.itemtype(arguments[i]) == 'select') { - next.selectTarget = arguments[i]; - } - else if (typeof arguments[i] == 'number') { - next.selectTarget = [arguments[i], arguments[i]]; - } - else if (get.is.object(arguments[i]) && arguments[i].name) { - next.card = arguments[i]; - } - else if (typeof arguments[i] == 'string') { - if (arguments[i] == 'nopopup') { - next.nopopup = true; - } - else if (arguments[i] == 'noanimate') { - next.animate = false; - } - else if (arguments[i] == 'nothrow') { - next.throw = false; - } - else if (arguments[i] == 'nodistance') { - next.nodistance = true; - } - else if (arguments[i] == 'noTargetDelay') { - next.noTargetDelay = true; - } - else if (arguments[i] == 'nodelayx') { - next.nodelayx = true; - } - else if (lib.card[arguments[i]] && !next.card) { - next.card = { name: arguments[i], isCard: true }; - } - else get.evtprompt(next, arguments[i]); - } - else if (arguments[i] === true) { - next.forced = true; - } - else if (arguments[i] === false) { - next.addCount = false; - } - } - if (!next.targets) next.targets = game.players.slice(0); - if (next.cards == undefined) { - if (get.itemtype(next.card) == 'card') { - next.cards = [next.card]; - } - else next.cards = []; - } - else if (next.card == undefined) { - if (next.cards) { - next.card = next.cards[0]; - } - } - next.setContent('chooseUseTarget'); - next._args = Array.from(arguments); - return next; - // Fully Online-Ready! Enjoy It! - } - chooseTarget() { - var next = game.createEvent('chooseTarget'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'number') { - next.selectTarget = [arguments[i], arguments[i]]; - } - else if (get.itemtype(arguments[i]) == 'select') { - next.selectTarget = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'dialog') { - next.dialog = arguments[i]; - next.prompt = false; - } - else if (typeof arguments[i] == 'boolean') { - next.forced = arguments[i]; - } - else if (typeof arguments[i] == 'function') { - if (next.filterTarget) next.ai = arguments[i]; - else next.filterTarget = arguments[i]; - } - else if (typeof arguments[i] == 'string') { - get.evtprompt(next, arguments[i]); - } - } - if (next.filterTarget == undefined) next.filterTarget = lib.filter.all; - if (next.selectTarget == undefined) next.selectTarget = [1, 1]; - if (next.ai == undefined) next.ai = get.attitude2; - next.setContent('chooseTarget'); - next._args = Array.from(arguments); - next.forceDie = true; - return next; - } - chooseCardTarget(choose) { - var next = game.createEvent('chooseCardTarget'); - next.player = this; - if (arguments.length == 1) { - for (var i in choose) { - next[i] = choose[i]; - } - } - if (typeof next.filterCard == 'object') { - next.filterCard = get.filter(next.filterCard); - } - if (typeof next.filterTarget == 'object') { - next.filterTarget = get.filter(next.filterTarget, 2); - } - if (next.filterCard == undefined || next.filterCard === true) { - next.filterCard = lib.filter.all; - } - if (next.selectCard == undefined) { - next.selectCard = 1; - } - if (next.filterTarget == undefined || next.filterTarget === true) { - next.filterTarget = lib.filter.all; - } - if (next.selectTarget == undefined) { - next.selectTarget = 1; - } - if (next.ai1 == undefined) next.ai1 = get.unuseful2; - if (next.ai2 == undefined) next.ai2 = get.attitude2; - next.setContent('chooseCardTarget'); - next._args = Array.from(arguments); - return next; - } - chooseControlList() { - var list = []; - var prompt = null; - var forced = 'cancel2'; - var func = null; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'string') { - if (!prompt) { - prompt = arguments[i]; - } - else { - list.push(arguments[i]); - } - } - else if (Array.isArray(arguments[i])) { - list = arguments[i]; - } - else if (arguments[i] === true) { - forced = null; - } - else if (typeof arguments[i] == 'function') { - func = arguments[i]; - } - } - return this.chooseControl(forced, func).set('choiceList', list).set('prompt', prompt); - } - chooseControl() { - var next = game.createEvent('chooseControl'); - next.controls = []; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'string') { - if (arguments[i] == 'dialogcontrol') { - next.dialogcontrol = true; - } - else if (arguments[i] == 'seperate') { - next.seperate = true; - } - else { - next.controls.push(arguments[i]); - } - } - else if (Array.isArray(arguments[i])) { - next.controls = next.controls.concat(arguments[i]); - } - else if (typeof arguments[i] == 'function') { - next.ai = arguments[i]; - } - else if (typeof arguments[i] == 'number') { - next.choice = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'dialog') { - next.dialog = arguments[i]; - } - } - next.player = this; - if (next.choice == undefined) next.choice = 0; - next.setContent('chooseControl'); - next._args = Array.from(arguments); - next.forceDie = true; - return next; - } - chooseBool() { - var next = game.createEvent('chooseBool'); - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'boolean') { - next.choice = arguments[i]; - } - else if (typeof arguments[i] == 'function') { - next.ai = arguments[i]; - } - else if (typeof arguments[i] == 'string') { - get.evtprompt(next, arguments[i]); - } - else if (get.itemtype(arguments[i]) == 'dialog') { - next.dialog = arguments[i]; - } - if (next.choice == undefined) next.choice = true; - } - next.player = this; - next.setContent('chooseBool'); - next._args = Array.from(arguments); - next.forceDie = true; - return next; - } - chooseDrawRecover() { - var next = game.createEvent('chooseDrawRecover', false); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'number') { - if (typeof next.num1 == 'number') { - next.num2 = arguments[i]; - } - else { - next.num1 = arguments[i]; - } - } - else if (typeof arguments[i] == 'boolean') { - next.forced = arguments[i]; - } - else if (typeof arguments[i] == 'string') { - next.prompt = arguments[i]; - } - else if (typeof arguments[i] == 'function') { - next.ai = arguments[i]; - } - } - if (typeof next.num1 != 'number') { - next.num1 = 1; - } - if (typeof next.num2 != 'number') { - next.num2 = 1; - } - next.setContent('chooseDrawRecover'); - return next; - } - choosePlayerCard() { - var next = game.createEvent('choosePlayerCard'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'player') { - next.target = arguments[i]; - } - else if (typeof arguments[i] == 'number') { - next.selectButton = [arguments[i], arguments[i]]; - } - else if (get.itemtype(arguments[i]) == 'select') { - next.selectButton = arguments[i]; - } - else if (typeof arguments[i] == 'boolean') { - next.forced = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'position') { - next.position = arguments[i]; - } - else if (arguments[i] == 'visible') { - next.visible = true; - } - else if (typeof arguments[i] == 'function') { - if (next.ai) next.filterButton = arguments[i]; - else next.ai = arguments[i]; - } - else if (typeof arguments[i] == 'object' && arguments[i]) { - next.filterButton = get.filter(arguments[i]); - } - else if (typeof arguments[i] == 'string') { - next.prompt = arguments[i]; - } - } - if (next.filterButton == undefined) next.filterButton = lib.filter.all; - if (next.position == undefined) next.position = 'he'; - if (next.selectButton == undefined) next.selectButton = [1, 1]; - if (next.ai == undefined) next.ai = function (button) { - var val = get.buttonValue(button); - if (get.attitude(_status.event.player, get.owner(button.link)) > 0) return -val; - return val; - }; - next.setContent('choosePlayerCard'); - next._args = Array.from(arguments); - return next; - } - discardPlayerCard() { - var next = game.createEvent('discardPlayerCard'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'player') { - next.target = arguments[i]; - } - else if (typeof arguments[i] == 'number') { - next.selectButton = [arguments[i], arguments[i]]; - } - else if (get.itemtype(arguments[i]) == 'select') { - next.selectButton = arguments[i]; - } - else if (typeof arguments[i] == 'boolean') { - next.forced = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'position') { - next.position = arguments[i]; - } - else if (arguments[i] == 'visible') { - next.visible = true; - } - else if (typeof arguments[i] == 'function') { - if (next.ai) next.filterButton = arguments[i]; - else next.ai = arguments[i]; - } - else if (typeof arguments[i] == 'object' && arguments[i]) { - next.filterButton = get.filter(arguments[i]); - } - else if (typeof arguments[i] == 'string') { - next.prompt = arguments[i]; - } - } - if (next.filterButton == undefined) next.filterButton = lib.filter.all; - if (next.position == undefined) next.position = 'he'; - if (next.selectButton == undefined) next.selectButton = [1, 1]; - if (next.ai == undefined) next.ai = function (button) { - var val = get.buttonValue(button); - if (get.attitude(_status.event.player, get.owner(button.link)) > 0) return -val; - return val; - }; - next.setContent('discardPlayerCard'); - next._args = Array.from(arguments); - return next; - } - gainPlayerCard() { - var next = game.createEvent('gainPlayerCard'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'player') { - next.target = arguments[i]; - } - else if (typeof arguments[i] == 'number') { - next.selectButton = [arguments[i], arguments[i]]; - } - else if (get.itemtype(arguments[i]) == 'select') { - next.selectButton = arguments[i]; - } - else if (typeof arguments[i] == 'boolean') { - next.forced = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'position') { - next.position = arguments[i]; - } - else if (arguments[i] == 'visible') { - next.visible = true; - } - else if (arguments[i] == 'visibleMove') { - next.visibleMove = true; - } - else if (typeof arguments[i] == 'function') { - if (next.ai) next.filterButton = arguments[i]; - else next.ai = arguments[i]; - } - else if (typeof arguments[i] == 'object' && arguments[i]) { - next.filterButton = get.filter(arguments[i]); - } - else if (typeof arguments[i] == 'string') { - next.prompt = arguments[i]; - } - } - if (next.filterButton == undefined) next.filterButton = lib.filter.all; - if (next.position == undefined) next.position = 'he'; - if (next.selectButton == undefined) next.selectButton = [1, 1]; - if (next.ai == undefined) next.ai = function (button) { - var val = get.buttonValue(button); - if (get.attitude(_status.event.player, get.owner(button.link)) > 0) return -val; - return val; - }; - next.setContent('gainPlayerCard'); - next._args = Array.from(arguments); - return next; - } - showHandcards(str) { - var next = game.createEvent('showHandcards'); - next.player = this; - if (typeof str == 'string') { - next.prompt = str; - } - next.setContent('showHandcards'); - next._args = Array.from(arguments); - return next; - } - showCards(cards, str) { - var next = game.createEvent('showCards'); - next.player = this; - next.str = str; - if (typeof cards == 'string') { - str = cards; - cards = next.str; - next.str = str; - } - if (get.itemtype(cards) == 'card') next.cards = [cards]; - else if (get.itemtype(cards) == 'cards') next.cards = cards.slice(0); - else _status.event.next.remove(next); - next.setContent('showCards'); - next._args = Array.from(arguments); - return next; - } - viewCards(str, cards) { - var next = game.createEvent('viewCards'); - next.player = this; - next.str = str; - next.cards = cards.slice(0); - next.setContent('viewCards'); - next._args = Array.from(arguments); - return next; - } - viewHandcards(target) { - var cards = target.getCards('h'); - if (cards.length) { - return this.viewCards(get.translation(target) + '的手牌', cards); - } - else { - return false; - } - } - canMoveCard(withatt, nojudge) { - const player = this; - const args = Array.from(arguments).slice(2); - let sourceTargets, aimTargets, filterCard, canReplace; - args.forEach(arg => { - if (get.itemtype(arg) == 'players') { - if (!sourceTargets) sourceTargets = arg; - else if (!aimTargets) aimTargets = arg; - } - else if (get.itemtype(arg) == 'player') { - if (!sourceTargets) sourceTargets = [arg]; - else if (!aimTargets) aimTargets = [arg]; - } - else if (typeof arg == 'function') { - filterCard = arg; - } - else if (typeof arg == 'object' && arg) { - filterCard = get.filter(arg); - } - else if (arg == 'canReplace') { - canReplace = true; - } - }); - if (!sourceTargets) sourceTargets = game.filterPlayer(); - if (!aimTargets) aimTargets = game.filterPlayer(); - return sourceTargets.some(current => { - const att = get.sgn(get.attitude(player, current)); - if (!withatt || att != 0) { - var es = current.getCards('e', filterCard); - for (var i = 0; i < es.length; i++) { - if (aimTargets.some(current2 => { - if (withatt) { - if (get.sgn(get.value(es[i], current)) != -att) return false; - var att2 = get.sgn(get.attitude(player, current2)); - if (!canReplace || att < 0 && current2.countEquipableSlot(get.subtype(es[i]))) { - if (att == att2 || att2 != get.sgn(get.effect(current2, es[i], player, current2))) return false; - } - } - return current != current2 && !current2.isMin() && current2.canEquip(es[i], canReplace); - })) { - return true; - } - } - } - if (!nojudge && (!withatt || att > 0)) { - var js = current.getCards('j', filterCard); - for (var i = 0; i < js.length; i++) { - if (game.hasPlayer(function (current2) { - if (withatt) { - var att2 = get.attitude(player, current2); - if (att2 >= 0) return false; - } - return current != current2 && current2.canAddJudge(js[i]); - })) { - return true; - } - } - } - }); - } - moveCard() { - var next = game.createEvent('moveCard'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'boolean') { - next.forced = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'players') { - if (!next.sourceTargets) next.sourceTargets = arguments[i]; - else if (!next.aimTargets) next.aimTargets = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'player') { - if (!next.sourceTargets) next.sourceTargets = [arguments[i]]; - else if (!next.aimTargets) next.aimTargets = [arguments[i]]; - } - else if (typeof arguments[i] == 'string') { - if (arguments[i] == 'canReplace') { - next.canReplace = true; - } - else { - get.evtprompt(next, arguments[i]); - } - } - else if (Array.isArray(arguments[i])) { - for (var j = 0; j < arguments[i].length; j++) { - if (typeof arguments[i][j] != 'string') break; - } - if (j == arguments[i].length) { - next.targetprompt = arguments[i]; - } - } - else if (typeof arguments[i] == 'function') { - next.filter = arguments[i]; - } - else if (typeof arguments[i] == 'object' && arguments[i]) { - next.filter = get.filter(arguments[i]); - } - } - if (!next.sourceTargets) next.sourceTargets = game.filterPlayer(); - if (!next.aimTargets) next.aimTargets = game.filterPlayer(); - if (next.filter == undefined) next.filter = lib.filter.all; - next.setContent('moveCard'); - next._args = Array.from(arguments); - return next; - } - useResult(result, event) { - event = event || _status.event; - if (result._sendskill) { - lib.skill[result._sendskill[0]] = result._sendskill[1]; - } - if (event.onresult) { - event.onresult(result); - } - if (result.skill) { - var info = get.info(result.skill); - if (info.onuse) { - info.onuse(result, this); - } - // if(info.direct&&!info.clearTime){ - // _status.noclearcountdown=true; - // } - } - if (event.logSkill) { - if (typeof event.logSkill == 'string') { - this.logSkill(event.logSkill); - } - else if (Array.isArray(event.logSkill)) { - this.logSkill.apply(this, event.logSkill); - } - } - if (result.card || !result.skill) { - result.used = result.card || result.cards[0]; - var next = this.useCard(result.used, result.cards, result.targets, result.skill); - next.oncard = event.oncard; - next.respondTo = event.respondTo; - if (event.addCount === false) { - next.addCount = false; - } - if (result._apply_args) { - for (var i in result._apply_args) { - next[i] = result._apply_args[i]; - } - } - return next; - } - else if (result.skill) { - result.used = result.skill; - return this.useSkill(result.skill, result.cards, result.targets); - } - } - useCard() { - var next = game.createEvent('useCard'); - next.player = this; - next.num = 0; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'cards') { - next.cards = arguments[i].slice(0); - } - else if (get.itemtype(arguments[i]) == 'players') { - next.targets = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'player') { - next.targets = [arguments[i]]; - } - else if (get.itemtype(arguments[i]) == 'card') { - next.card = arguments[i]; - } - else if (typeof arguments[i] == 'object' && arguments[i] && arguments[i].name) { - next.card = arguments[i]; - } - else if (typeof arguments[i] == 'string') { - if (arguments[i] == 'noai') { - next.noai = true; - } - else if (arguments[i] == 'nowuxie') { - next.nowuxie = true; - } - else { - next.skill = arguments[i]; - } - } - else if (typeof arguments[i] == 'boolean') { - next.addCount = arguments[i]; - } - } - if (next.cards == undefined) { - if (get.itemtype(next.card) == 'card') { - next.cards = [next.card]; - } - else next.cards = []; - } - else if (next.card == undefined) { - if (next.cards) { - next.card = next.cards[0]; - } - } - if (!next.targets) { - next.targets = []; - } - if (next.card) { - next.card = get.autoViewAs(next.card, next.cards); - var info = get.info(next.card); - if (info.changeTarget) { - info.changeTarget(next.player, next.targets); - } - if (info.singleCard) { - next._targets = next.targets.slice(0); - next.target = next.targets[0]; - next.addedTargets = next.targets.splice(1); - if (next.addedTargets.length) { - next.addedTarget = next.addedTargets[0]; - } - } - } - for (var i = 0; i < next.targets.length; i++) { - if (get.attitude(this, next.targets[i]) >= -1 && get.attitude(this, next.targets[i]) < 0) { - if (!this.ai.tempIgnore) this.ai.tempIgnore = []; - this.ai.tempIgnore.add(next.targets[i]); - } - } - if (typeof this.logAi == 'function' && !next.noai && !get.info(next.card).noai) { - var postAi = get.info(next.card).postAi; - if (postAi && postAi(next.targets)) { - next.postAi = true; - } - else { - this.logAi(next.targets, next.card); - } - } - next.stocktargets = next.targets.slice(0); - next.setContent('useCard'); - return next; - } - useSkill() { - var next = game.createEvent('useSkill'); - next.player = this; - next.num = 0; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'cards') { - next.cards = arguments[i].slice(0); - } - else if (get.itemtype(arguments[i]) == 'players') { - next.targets = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'card') { - next.card = arguments[i]; - } - else if (typeof arguments[i] == 'string') { - next.skill = arguments[i]; - } - else if (typeof arguments[i] == 'boolean') { - next.addCount = arguments[i]; - } - } - if (next.cards == undefined) { - next.cards = []; - } - if (next.skill && get.info(next.skill) && get.info(next.skill).changeTarget) { - get.info(next.skill).changeTarget(next.player, next.targets); - } - if (next.targets) { - for (var i = 0; i < next.targets.length; i++) { - if (get.attitude(this, next.targets[i]) >= -1 && get.attitude(this, next.targets[i]) < 0) { - if (!this.ai.tempIgnore) this.ai.tempIgnore = []; - this.ai.tempIgnore.add(next.targets[i]); - } - } - if (typeof this.logAi == 'function') { - this.logAi(next.targets, next.skill); - } - } - else { - next.targets = []; - } - next.setContent('useSkill'); - return next; - } - drawTo(num, args) { - var num2 = num - this.countCards('h'); - if (!num2) return; - var next = this.draw(num2); - if (Array.isArray(args)) { - for (var i = 0; i < args.length; i++) { - if (get.itemtype(args[i]) == 'player') { - next.source = args[i]; - } - else if (typeof args[i] == 'boolean') { - next.animate = args[i]; - } - else if (args[i] == 'nodelay') { - next.animate = false; - next.$draw = true; - } - else if (args[i] == 'visible') { - next.visible = true; - } - else if (args[i] == 'bottom') { - next.bottom = true; - } - else if (typeof args[i] == 'object' && args[i] && args[i].drawDeck != undefined) { - next.drawDeck = args[i].drawDeck; - } - } - } - return next; - } - draw() { - var next = game.createEvent('draw'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'player') { - next.source = arguments[i]; - } - else if (typeof arguments[i] == 'number') { - next.num = arguments[i]; - } - else if (typeof arguments[i] == 'boolean') { - next.animate = arguments[i]; - } - else if (arguments[i] == 'nodelay') { - next.animate = false; - next.$draw = true; - } - else if (arguments[i] == 'visible') { - next.visible = true; - } - else if (arguments[i] == 'bottom') { - next.bottom = true; - } - else if (typeof arguments[i] == 'object' && arguments[i] && arguments[i].drawDeck != undefined) { - next.drawDeck = arguments[i].drawDeck; - } - } - if (next.num == undefined) next.num = 1; - if (next.num <= 0) _status.event.next.remove(next); - next.setContent('draw'); - if (lib.config.mode == 'stone' && _status.mode == 'deck' && - next.drawDeck == undefined && !next.player.isMin() && next.num > 1) { - next.drawDeck = 1; - } - next.result = []; - return next; - } - randomDiscard() { - var position = 'he', num = 1, delay = null; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'number') { - num = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'position') { - position = arguments[i]; - } - else if (typeof arguments[i] == 'boolean') { - delay = arguments[i]; - } - } - var cards = this.getCards(position).randomGets(num); - if (cards.length) { - var next = this.discard(cards, 'notBySelf'); - if (typeof delay == 'boolean') { - next.delay = delay; - } - } - return cards; - } - randomGain() { - var position = 'he', num = 1, target = null, line = false; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'number') { - num = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'position') { - position = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'player') { - target = arguments[i]; - } - else if (typeof arguments[i] == 'boolean') { - line = arguments[i]; - } - } - if (target) { - var cards = target.getCards(position).randomGets(num); - if (cards.length) { - if (line) { - this.line(target, 'green'); - } - this.gain(cards, target, 'log', 'bySelf'); - target.$giveAuto(cards, this); - } - return cards; - } - return []; - } - discard() { - var next = game.createEvent('discard'); - next.player = this; - next.num = 0; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'player') { - next.source = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'cards') { - next.cards = arguments[i].slice(0); - } - else if (get.itemtype(arguments[i]) == 'card') { - next.cards = [arguments[i]]; - } - else if (typeof arguments[i] == 'boolean') { - next.animate = arguments[i]; - } - else if (['div', 'fragment'].includes(get.objtype(arguments[i]))) { - next.position = arguments[i]; - } - else if (arguments[i] == 'notBySelf') { - next.notBySelf = true; - } - } - if (next.cards == undefined) _status.event.next.remove(next); - next.setContent('discard'); - return next; - } - loseToDiscardpile() { - var next = game.createEvent('loseToDiscardpile'); - next.player = this; - next.num = 0; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'player') { - next.source = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'cards') { - next.cards = arguments[i].slice(0); - } - else if (get.itemtype(arguments[i]) == 'card') { - next.cards = [arguments[i]]; - } - else if (typeof arguments[i] == 'boolean') { - next.animate = arguments[i]; - } - else if (['div', 'fragment'].includes(get.objtype(arguments[i]))) { - next.position = arguments[i]; - } - else if (arguments[i] == 'notBySelf') { - next.notBySelf = true; - } - else if (arguments[i] == 'insert') { - next.insert_card = true; - } - else if (arguments[i] == 'blank') { - next.blank = true; - } - } - if (next.cards == undefined) _status.event.next.remove(next); - next.setContent('loseToDiscardpile'); - return next; - } - respond() { - var next = game.createEvent('respond'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'cards') { - next.cards = arguments[i].slice(0); - } - else if (get.itemtype(arguments[i]) == 'card') { - next.card = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'player') { - next.source = arguments[i]; - } - else if (typeof arguments[i] == 'object' && arguments[i] && arguments[i].name) { - next.card = arguments[i]; - } - else if (typeof arguments[i] == 'boolean') next.animate = arguments[i]; - else if (arguments[i] == 'highlight') next.highlight = true; - else if (arguments[i] == 'noOrdering') next.noOrdering = true; - else if (typeof arguments[i] == 'string') next.skill = arguments[i]; - } - if (next.cards == undefined) { - if (get.itemtype(next.card) == 'card') { - next.cards = [next.card]; - } - else { - next.cards = []; - } - } - else if (next.card == undefined) { - if (next.cards) { - next.card = next.cards[0]; - if (!next.skill) { - next.card = get.autoViewAs(next.card, next.cards); - } - } - } - next.setContent('respond'); - return next; - } - swapHandcards(target, cards1, cards2) { - var next = game.createEvent('swapHandcards', false); - next.player = this; - next.target = target; - if (cards1) next.cards1 = cards1; - if (cards2) next.cards2 = cards2; - next.setContent('swapHandcards'); - return next; - } - directequip(cards) { - for (var i = 0; i < cards.length; i++) { - this.$equip(cards[i]); - } - if (!_status.video) { - game.addVideo('directequip', this, get.cardsInfo(cards)); - } - } - $addToExpansion(cards, broadcast, gaintag) { - var hs = this.getCards('x'); - for (var i = 0; i < cards.length; i++) { - if (hs.contains(cards[i])) { - cards.splice(i--, 1); - } - } - for (var i = 0; i < cards.length; i++) { - cards[i].fix(); - if (gaintag) cards[i].addGaintag(gaintag); - var sort = lib.config.sort_card(cards[i]); - this.node.expansions.insertBefore(cards[i], this.node.expansions.firstChild); - } - if (broadcast !== false) game.broadcast(function (player, cards, gaintag) { - player.$addToExpansion(cards, null, gaintag); - }, this, cards, gaintag); - return this; - } - directgain(cards, broadcast, gaintag) { - var hs = this.getCards('hs'); - for (var i = 0; i < cards.length; i++) { - if (hs.contains(cards[i])) { - cards.splice(i--, 1); - } - } - for (var i = 0; i < cards.length; i++) { - cards[i].fix(); - if (gaintag) cards[i].addGaintag(gaintag); - var sort = lib.config.sort_card(cards[i]); - if (this == game.me) { - cards[i].classList.add('drawinghidden'); - } - if (get.is.singleHandcard() || sort > 0) { - this.node.handcards1.insertBefore(cards[i], this.node.handcards1.firstChild); - } - else { - this.node.handcards2.insertBefore(cards[i], this.node.handcards2.firstChild); - } - } - if (this == game.me || _status.video) ui.updatehl(); - if (!_status.video) { - game.addVideo('directgain', this, get.cardsInfo(cards)); - this.update(); - } - if (broadcast !== false) game.broadcast(function (player, cards) { - player.directgain(cards); - }, this, cards); - return this; - } - directgains(cards, broadcast, gaintag) { - var hs = this.getCards('hs'); - for (var i = 0; i < cards.length; i++) { - if (hs.contains(cards[i])) { - cards.splice(i--, 1); - } - } - var addLast = function (card, node) { - if (gaintag) { - for (var i = 0; i < node.childNodes.length; i++) { - var add = node.childNodes[node.childNodes.length - i - 1]; - if (!add.classList.contains('glows')) break; - if (add.hasGaintag(gaintag)) { - node.insertBefore(card, add.nextSibling); - return; - } - } - } - node.appendChild(card); - }; - for (var i = 0; i < cards.length; i++) { - cards[i].fix(); - cards[i].remove(); - if (gaintag) cards[i].addGaintag(gaintag); - cards[i].classList.add('glows'); - if (this == game.me) { - cards[i].classList.add('drawinghidden'); - } - if (get.is.singleHandcard()) { - addLast(cards[i], this.node.handcards1); - } - else { - addLast(cards[i], this.node.handcards2); - } - } - if (this == game.me || _status.video) ui.updatehl(); - if (!_status.video) { - game.addVideo('directgains', this, get.cardsInfo(cards)); - this.update(); - } - if (broadcast !== false) game.broadcast(function (player, cards, gaintag) { - player.directgains(cards, null, gaintag); - }, this, cards, gaintag); - return this; - } - gainMultiple(targets, position) { - var next = game.createEvent('gainMultiple', false); - next.setContent('gainMultiple'); - next.player = this; - next.targets = targets; - next.position = position || 'h'; - return next; - } - gain() { - var next = game.createEvent('gain'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'player') { - next.source = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'cards') { - next.cards = arguments[i].slice(0); - } - else if (get.itemtype(arguments[i]) == 'card') { - next.cards = [arguments[i]]; - } - else if (arguments[i] === 'log') { - next.log = true; - } - else if (arguments[i] == 'fromStorage') { - next.fromStorage = true; - } - else if (arguments[i] == 'fromRenku') { - next.fromStorage = true; - next.fromRenku = true; - } - else if (arguments[i] == 'bySelf') { - next.bySelf = true; - } - else if (typeof arguments[i] == 'string') { - next.animate = arguments[i]; - } - else if (typeof arguments[i] == 'boolean') { - next.delay = arguments[i]; - } - } - if (next.animate == 'gain2' || next.animate == 'draw2') { - if (!('log' in next)) { - next.log = true; - } - } - next.setContent('gain'); - next.getd = function (player, key, position) { - if (!position) position = ui.discardPile; - if (!key) key = 'cards'; - var cards = [], event = this; - game.checkGlobalHistory('cardMove', function (evt) { - if (evt.name != 'lose' || evt.position != position || evt.getParent() != event) return; - if (player && player != evt.player) return; - cards.addArray(evt[key]); - }); - return cards; - }; - next.getl = function (player) { - const that = this; - const map = { - player: player, - hs: [], - es: [], - js: [], - ss: [], - xs: [], - cards: [], - cards2: [], - gaintag_map: {}, - }; - player.checkHistory('lose', function (evt) { - if (evt.parent == that) { - map.hs.addArray(evt.hs); - map.es.addArray(evt.es); - map.js.addArray(evt.js); - map.ss.addArray(evt.ss); - map.xs.addArray(evt.xs); - map.cards.addArray(evt.cards); - map.cards2.addArray(evt.cards2); - for (let key in evt.gaintag_map) { - if (!map.gaintag_map[key]) map.gaintag_map[key] = []; - map.gaintag_map[key].addArray(evt.gaintag_map[key]); - } - } - }); - return map; - }; - next.getg = function (player) { - if (this.getlx === false || player != this.player || !this.cards) return []; - return this.cards.slice(0); - }; - next.gaintag = []; - return next; - } - addToExpansion() { - var next = game.createEvent('addToExpansion'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'player') { - next.source = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'cards') { - next.cards = arguments[i].slice(0); - } - else if (get.itemtype(arguments[i]) == 'card') { - next.cards = [arguments[i]]; - } - else if (arguments[i] === 'log') { - next.log = true; - } - else if (arguments[i] == 'fromStorage') { - next.fromStorage = true; - } - else if (arguments[i] == 'fromRenku') { - next.fromStorage = true; - next.fromRenku = true; - } - else if (arguments[i] == 'bySelf') { - next.bySelf = true; - } - else if (typeof arguments[i] == 'string') { - next.animate = arguments[i]; - } - else if (typeof arguments[i] == 'boolean') { - next.delay = arguments[i]; - } - } - if (next.animate == 'gain2' || next.animate == 'draw2' || next.animate == 'give') { - if (!('log' in next)) { - next.log = true; - } - } - next.setContent('addToExpansion'); - next.getd = function (player, key, position) { - if (!position) position = ui.discardPile; - if (!key) key = 'cards'; - var cards = [], event = this; - game.checkGlobalHistory('cardMove', function (evt) { - if (evt.name != 'lose' || evt.position != position || evt.getParent() != event) return; - if (player && player != evt.player) return; - cards.addArray(evt[key]); - }); - return cards; - }; - next.getl = function (player) { - const that = this; - const map = { - player: player, - hs: [], - es: [], - js: [], - ss: [], - xs: [], - cards: [], - cards2: [], - gaintag_map: {}, - }; - player.checkHistory('lose', function (evt) { - if (evt.parent == that) { - map.hs.addArray(evt.hs); - map.es.addArray(evt.es); - map.js.addArray(evt.js); - map.ss.addArray(evt.ss); - map.xs.addArray(evt.xs); - map.cards.addArray(evt.cards); - map.cards2.addArray(evt.cards2); - for (let key in evt.gaintag_map) { - if (!map.gaintag_map[key]) map.gaintag_map[key] = []; - map.gaintag_map[key].addArray(evt.gaintag_map[key]); - } - } - }); - return map; - }; - next.gaintag = []; - return next; - } - give(cards, target, visible) { - var next = target.gain(cards, this); - next.animate = visible ? 'give' : 'giveAuto'; - next.giver = this; - return next; - } - lose() { - var next = game.createEvent('lose'); - next.player = this; - next.forceDie = true; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'player') { - next.source = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'cards') { - next.cards = arguments[i].slice(0); - } - else if (get.itemtype(arguments[i]) == 'card') { - next.cards = [arguments[i]]; - } - else if (['div', 'fragment'].includes(get.objtype(arguments[i]))) { - next.position = arguments[i]; - } - else if (arguments[i] == 'toStorage') { - next.toStorage = true; - } - else if (arguments[i] == 'toRenku') { - next.toStorage = true; - next.toRenku = true; - } - else if (arguments[i] == 'visible') { - next.visible = true; - } - else if (arguments[i] == 'insert') { - next.insert_card = true; - } - } - if (next.cards) { - var hej = this.getCards('hejsx'); - for (var i = 0; i < next.cards.length; i++) { - if (!hej.contains(next.cards[i])) { - next.cards.splice(i--, 1); - } - } - } - if (!next.cards || !next.cards.length) { - _status.event.next.remove(next); - } - else { - if (next.position == undefined) next.position = ui.discardPile; - next.cards = next.cards.slice(0); - } - next.setContent('lose'); - next.getd = function (player, key, position) { - if (!position) position = ui.discardPile; - if (!key) key = 'cards'; - if (this.getlx === false || this.position != position || (player && this.player != player) || !Array.isArray(this[key])) return []; - return this[key].slice(0); - }; - next.getl = function (player) { - if (this.getlx !== false && this.player == player) return this; - return { - player: player, - hs: [], - es: [], - js: [], - ss: [], - xs: [], - cards: [], - cards2: [], - gaintag_map: {}, - }; - }; - return next; - } - damage() { - const next = game.createEvent('damage'); - //next.forceDie=true; - next.player = this; - let noCard, noSource; - const event = _status.event; - for (const argument of arguments) { - if (get.itemtype(argument) == 'cards') next.cards = argument.slice(); - else if (get.itemtype(argument) == 'card') next.card = argument; - else if (typeof argument == 'number') next.num = argument; - else if (get.itemtype(argument) == 'player') next.source = argument; - else if (argument && typeof argument == 'object' && argument.name) next.card = argument; - else if (argument == 'nocard') noCard = true; - else if (argument == 'nosource') noSource = true; - else if (argument == 'notrigger') { - next._triggered = null; - next.notrigger = true; - } - else if (argument == 'unreal') next.unreal = true; - else if (get.itemtype(argument) == 'nature' && argument != 'stab') next.nature = argument; - else if (get.itemtype(argument) == 'natures') { - const natures = argument.split(lib.natureSeparator).remove('stab'); - if (natures.length) next.nature = natures.join(lib.natureSeparator); - } - } - if (!next.card && !noCard) next.card = event.card; - if (!next.cards && !noCard) next.cards = event.cards; - if (!next.source && !noSource) { - const source = event.customSource || event.player; - if (source && !source.isDead()) next.source = source; - } - if (typeof next.num != 'number') next.num = (event.baseDamage || 1) + (event.extraDamage || 0); - next.original_num = next.num; - next.change_history = []; - next.hasNature = function (nature) { - if (!nature) return Boolean(this.nature && this.nature.length > 0); - let natures = get.natureList(nature), naturesx = get.natureList(this.nature); - if (nature == 'linked') return naturesx.some(n => lib.linked.includes(n)); - return get.is.sameNature(natures, naturesx); - }; - if (next.hasNature('poison')) delete next._triggered; - next.setContent('damage'); - next.filterStop = function () { - if (this.source && this.source.isDead()) delete this.source; - var num = this.original_num; - for (var i of this.change_history) num += i; - if (num != this.num) this.change_history.push(this.num - num); - if (this.num <= 0) { - delete this.filterStop; - this.trigger('damageZero'); - this.finish(); - this._triggered = null; - return true; - } - }; - return next; - } - recover() { - var next = game.createEvent('recover'); - next.player = this; - var nocard, nosource; - var event = _status.event; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'cards') { - next.cards = arguments[i].slice(0); - } - else if (get.itemtype(arguments[i]) == 'card') { - next.card = arguments[i]; - } - else if (get.itemtype(arguments[i]) == 'player') { - next.source = arguments[i]; - } - else if (typeof arguments[i] == 'object' && arguments[i] && arguments[i].name) { - next.card = arguments[i]; - } - else if (typeof arguments[i] == 'number') { - next.num = arguments[i]; - } - else if (arguments[i] == 'nocard') { - nocard = true; - } - else if (arguments[i] == 'nosource') { - nosource = true; - } - } - if (next.card == undefined && !nocard) next.card = event.card; - if (next.cards == undefined && !nocard) next.cards = event.cards; - if (next.source == undefined && !nosource) next.source = event.customSource || event.player; - if (next.num == undefined) next.num = (event.baseDamage || 1) + (event.extraDamage || 0); - if (next.num <= 0) _status.event.next.remove(next); - next.setContent('recover'); - return next; - } - doubleDraw() { - if (get.is.changban()) return; - var next = game.createEvent('doubleDraw'); - next.player = this; - next.setContent('doubleDraw'); - return next; - } - loseHp(num) { - var next = game.createEvent('loseHp'); - next.num = num; - next.player = this; - if (next.num == undefined) next.num = 1; - next.setContent('loseHp'); - return next; - } - loseMaxHp() { - var next = game.createEvent('loseMaxHp'); - next.player = this; - next.num = 1; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] === 'number') { - next.num = arguments[i]; - } - else if (typeof arguments[i] === 'boolean') { - next.forced = arguments[i]; - } - } - next.setContent('loseMaxHp'); - return next; - } - gainMaxHp() { - var next = game.createEvent('gainMaxHp'); - next.player = this; - next.num = 1; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] === 'number') { - next.num = arguments[i]; - } - else if (typeof arguments[i] === 'boolean') { - next.forced = arguments[i]; - } - } - next.setContent('gainMaxHp'); - return next; - } - changeHp(num, popup) { - var next = game.createEvent('changeHp'); - next.num = num; - if (popup != undefined) next.popup = popup; - next.player = this; - next.setContent('changeHp'); - return next; - } - - changeHujia(num, type, limit) { - var next = game.createEvent('changeHujia'); - if (typeof num != 'number') { - num = 1; - } - if (limit === true) limit = 5; - if (typeof limit == 'number' && this.hujia + num > parseInt(limit)) { - num = Math.max(0, parseInt(limit) - this.hujia); - } - if (typeof type != 'string') { - if (num > 0) type = 'gain'; - else if (num < 0) type = 'lose'; - else type = 'null'; - } - next.num = num; - next.player = this; - next.type = type; - next.setContent('changeHujia'); - return next; - } - getBuff() { - var list = [1, 2, 3, 4, 5, 6]; - var nodelay = false; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'number') { - list.remove(arguments[i]); - } - else if (arguments[i] === false) { - nodelay = true; - } - } - if (this.isHealthy()) { - list.remove(2); - } - if (!this.countCards('j')) { - list.remove(5); - } - if (!this.isLinked() && !this.isTurnedOver()) { - list.remove(6); - } - if (this.hasSkill('qianxing')) { - list.remove(4); - } - switch (list.randomGet()) { - case 1: this.draw(nodelay ? 'nodelay' : 1); break; - case 2: this.recover(); break; - case 3: this.changeHujia(); break; - case 4: this.tempHide(); break; - case 5: this.discard(this.getCards('j')).delay = (!nodelay); break; - case 6: { - if (this.isLinked()) this.link(); - if (this.isTurnedOver()) this.turnOver(); - break; - } - } - return this; - } - getDebuff() { - var list = [1, 2, 3, 4, 5, 6]; - var nodelay = false; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'number') { - list.remove(arguments[i]); - } - else if (arguments[i] === false) { - nodelay = true; - } - } - if (this.countCards('he') == 0) { - list.remove(1); - } - if (this.isLinked()) { - list.remove(4); - } - if (this.hasSkill('fengyin')) { - list.remove(5); - } - if (this.hp == 1) { - list.remove(3); - if (list.length > 1) list.remove(2); - } - if (!list.length) return this; - var num = list.randomGet(); - switch (list.randomGet()) { - case 1: this.randomDiscard(nodelay ? false : 'he'); break; - case 2: this.loseHp(); break; - case 3: this.damage(); break; - case 4: if (!this.isLinked()) this.link(); break; - case 5: this.addTempSkill('fengyin', { player: 'phaseAfter' }); break; - case 6: { - var list = []; - for (var i = 0; i < lib.inpile.length; i++) { - var info = lib.card[lib.inpile[i]]; - if (info.type == 'delay' && !info.cancel && !this.hasJudge(lib.inpile[i])) { - list.push(lib.inpile[i]); - } - } - if (list.length) { - var card = game.createCard(list.randomGet()); - this.addJudge(card); - this.$draw(card); - if (!nodelay) game.delay(); - } - else { - this.getDebuff(6); - } - break; - } - } - return this; - } - dying(reason) { - if (this.nodying || this.hp > 0 || this.isDying()) return; - var next = game.createEvent('dying'); - next.player = this; - next.reason = reason; - if (reason && reason.source) next.source = reason.source; - next.setContent('dying'); - next.filterStop = function () { - if (this.player.hp > 0 || this.nodying) { - delete this.filterStop; - return true; - } - }; - return next; - } - die(reason) { - var next = game.createEvent('die'); - next.player = this; - next.reason = reason; - if (reason) next.source = reason.source; - next.setContent('die'); - return next; - } - revive(hp, log) { - if (log !== false) game.log(this, '复活'); - if (this.maxHp < 1) this.maxHp = 1; - if (hp) this.hp = hp; - else { - this.hp = 1; - } - game.addVideo('revive', this); - this.classList.remove('dead'); - this.removeAttribute('style'); - this.node.avatar.style.transform = ''; - this.node.avatar2.style.transform = ''; - this.node.hp.show(); - this.node.equips.show(); - this.node.count.show(); - this.update(); - var player; - player = this.previousSeat; - while (player.isDead()) player = player.previousSeat; - player.next = this; - this.previous = player; - player = this.nextSeat; - while (player.isDead()) player = player.nextSeat; - player.previous = this; - this.next = player; - game.players.add(this); - game.dead.remove(this); - if (this == game.me) { - if (ui.auto) ui.auto.show(); - if (ui.wuxie) ui.wuxie.show(); - if (ui.revive) { - ui.revive.close(); - delete ui.revive; - } - if (ui.exit) { - ui.exit.close(); - delete ui.exit; - } - if (ui.swap) { - ui.swap.close(); - delete ui.swap; - } - if (ui.restart) { - ui.restart.close(); - delete ui.restart; - } - if (ui.continue_game) { - ui.continue_game.close(); - delete ui.continue_game; - } - } - } - isMad() { - return this.hasSkill('mad'); - } - goMad(end) { - if (end) { - this.addTempSkill('mad', end); - } - else { - this.addSkill('mad'); - } - game.log(this, '进入混乱状态'); - } - unMad() { - this.removeSkill('mad'); - } - tempHide() { - this.addTempSkill('qianxing', { player: 'phaseBeginStart' }); - } - addExpose(num) { - if (typeof this.ai.shown == 'number' && !this.identityShown && this.ai.shown < 1) { - this.ai.shown += num; - if (this.ai.shown > 0.95) { - this.ai.shown = 0.95; - } - } - return this; - } - equip(card, draw) { - var next = game.createEvent('equip'); - next.card = card; - next.player = this; - if (draw) { - next.draw = true; - } - next.setContent(lib.element.content.equip); - if (get.is.object(next.card) && next.card.cards) next.card = next.card.cards[0]; - next.cards = [next.card]; - next.getd = function (player, key, position) { - if (!position) position = ui.discardPile; - if (!key) key = 'cards'; - var cards = [], event = this; - game.checkGlobalHistory('cardMove', function (evt) { - if (evt.name != 'lose' || evt.position != position || evt.getParent() != event) return; - if (player && player != evt.player) return; - cards.addArray(evt[key]); - }); - return cards; - }; - next.getl = function (player) { - const that = this; - const map = { - player: player, - hs: [], - es: [], - js: [], - ss: [], - xs: [], - cards: [], - cards2: [], - gaintag_map: {}, - }; - player.checkHistory('lose', function (evt) { - if (evt.parent == that) { - map.hs.addArray(evt.hs); - map.es.addArray(evt.es); - map.js.addArray(evt.js); - map.ss.addArray(evt.ss); - map.xs.addArray(evt.xs); - map.cards.addArray(evt.cards); - map.cards2.addArray(evt.cards2); - for (let key in evt.gaintag_map) { - if (!map.gaintag_map[key]) map.gaintag_map[key] = []; - map.gaintag_map[key].addArray(evt.gaintag_map[key]); - } - } - }); - return map; - }; - return next; - } - addJudge(card, cards) { - var next = game.createEvent('addJudge'); - if (get.itemtype(card) == 'card') { - next.card = card; - next.cards = [card]; - } - else { - next.cards = cards; - if (get.itemtype(next.cards) == 'card') next.cards = [next.cards]; - if (typeof card == 'string') { - card = { name: card }; - } - next.card = get.autoViewAs(card, next.cards); - } - next.player = this; - next.setContent('addJudge'); - next.getd = function (player, key, position) { - if (!position) position = ui.discardPile; - if (!key) key = 'cards'; - var cards = [], event = this; - game.checkGlobalHistory('cardMove', function (evt) { - if (evt.name != 'lose' || evt.position != position || evt.getParent() != event) return; - if (player && player != evt.player) return; - cards.addArray(evt[key]); - }); - return cards; - }; - next.getl = function (player) { - const that = this; - const map = { - player: player, - hs: [], - es: [], - js: [], - ss: [], - xs: [], - cards: [], - cards2: [], - gaintag_map: {}, - }; - player.checkHistory('lose', function (evt) { - if (evt.parent == that) { - map.hs.addArray(evt.hs); - map.es.addArray(evt.es); - map.js.addArray(evt.js); - map.ss.addArray(evt.ss); - map.xs.addArray(evt.xs); - map.cards.addArray(evt.cards); - map.cards2.addArray(evt.cards2); - for (let key in evt.gaintag_map) { - if (!map.gaintag_map[key]) map.gaintag_map[key] = []; - map.gaintag_map[key].addArray(evt.gaintag_map[key]); - } - } - }); - return map; - }; - return next; - } - canAddJudge(card) { - if (this.isDisabledJudge()) return false; - var name; - if (typeof card == 'string') { - name = card; - } - else { - name = card.viewAs || card.name; - } - if (!name) return false; - if (this.hasJudge(name)) return false; - if (this.isOut()) return false; - var mod = game.checkMod(card, this, this, 'unchanged', 'targetEnabled', this); - if (mod != 'unchanged') return mod; - return true; - } - addJudgeNext(card, unlimited) { - if (!card.expired) { - let target = this.next; - const name = card.viewAs || card.name; - const cards = (get.itemtype(card) == 'card') ? [card] : card.cards; - if (get.itemtype(cards) != 'cards') return; - let bool = false; - if (!unlimited && cards.some(card => { - const position = get.position(card, true); - return position != 'j' && position != 'o'; - })) { - game.log(card, '已被移出处理区,无法置入判定区'); - return; - } - for (let iwhile = 0; iwhile < 20; iwhile++) { - if (target.canAddJudge(card)) { - bool = true; break; - } - target = target.next; - } - if (bool) { - if (card.cards && card.cards.length) { - target.addJudge(name, card.cards[0]); - } - else if (card.name != name) { - target.addJudge(name, card); - } - else { - target.addJudge(card); - } - } - } - else { - card.expired = false; - } - } - judge() { - var next = game.createEvent('judge'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'card') { - next.card = arguments[i]; - } - else if (typeof arguments[i] == 'string') { - next.skill = arguments[i]; - } - else if (typeof arguments[i] == 'function') { - next.judge = arguments[i]; - } - else if (typeof arguments[i] == 'boolean') { - next.clearArena = arguments[i]; - } - else if (['div', 'fragment'].includes(get.objtype(arguments[i]))) { - next.position = arguments[i]; - } - } - if (next.card && next.judge == undefined) { - next.judge = get.judge(next.card); - next.judge2 = get.judge2(next.card); - } - if (next.judge == undefined) next.judge = function () { return 0; }; - if (next.position == undefined) next.position = ui.discardPile; - if (next.card) next.cardname = next.card.viewAs || next.card.name; - - var str = ''; - if (next.card) str = get.translation(next.card.viewAs || next.card.name); - else if (next.skill) str = get.translation(next.skill); - else str = get.translation(_status.event.name); - next.judgestr = str; - next.setContent('judge'); - return next; - } - turnOver(bool) { - if (typeof bool == 'boolean') { - if (bool) { - if (this.isTurnedOver()) return; - } - else { - if (!this.isTurnedOver()) return; - } - } - var next = game.createEvent('turnOver'); - next.player = this; - next.includeOut = true; - next.setContent('turnOver'); - return next; - } - out(skill) { - if (typeof skill == 'number') { - this.outCount += skill; - } - else if (typeof skill == 'string') { - if (!this.outSkills) { - this.outSkills = []; - } - this.outSkills.add(skill); - } - else { - this.outCount++; - } - if (!this.classList.contains('out')) { - this.classList.add('out'); - game.log(this, '离开游戏'); - } - if (!game.countPlayer()) { - game.over(); - } - } - in(skill) { - if (this.isOut()) { - if (typeof skill == 'string') { - if (this.outSkills) { - this.outSkills.remove(skill); - if (!this.outSkills.length) { - delete this.outSkills; - } - } - } - else if (typeof skill == 'number') { - this.outCount -= skill; - } - else { - if (skill === true) { - delete this.outSkills; - } - this.outCount = 0; - } - if (this.outCount <= 0 && !this.outSkills) { - this.outCount = 0; - this.classList.remove('out'); - game.log(this, '进入游戏'); - } - } - } - link(bool) { - if (typeof bool == 'boolean') { - if (bool) { - if (this.isLinked()) return; - } - else { - if (!this.isLinked()) return; - } - } - var next = game.createEvent('link'); - next.player = this; - next.setContent('link'); - return next; - } - skip(name) { - this.skipList.add(name); - } - wait(callback) { - if (lib.node) { - if (typeof callback == 'function') { - callback._noname_waiting = true; - lib.node.torespond[this.playerid] = callback; - } - else { - lib.node.torespond[this.playerid] = '_noname_waiting'; - } - clearTimeout(lib.node.torespondtimeout[this.playerid]); - if (this.ws && !this.ws.closed) { - var player = this; - var time = parseInt(lib.configOL.choose_timeout) * 1000; - if (_status.event._global_timer || _status.event.getParent().skillHidden) { - for (var i = 0; i < game.players.length; i++) { - game.players[i].showTimer(time); - } - player._hide_all_timer = true; - } - else if (!_status.event._global_waiting && _status.noclearcountdown !== 'direct') { - player.showTimer(time); - } - lib.node.torespondtimeout[this.playerid] = setTimeout(function () { - player.unwait('ai'); - player.ws.ws.close(); - }, time + 5000); - } - } - } - unwait(result) { - if (this._hide_all_timer) { - delete this._hide_all_timer; - for (var i = 0; i < game.players.length; i++) { - game.players[i].hideTimer(); - } - } - else if (!get.event('_global_waiting') && (_status.noclearcountdown !== 'direct' || result && result.bool) && !(result && result._noHidingTimer)) { - this.hideTimer(); - } - clearTimeout(lib.node.torespondtimeout[this.playerid]); - delete lib.node.torespondtimeout[this.playerid]; - if (!(this.playerid in lib.node.torespond)) return; - var noresume = false; - var proceed = null; - if (typeof lib.node.torespond[this.playerid] == 'function' && lib.node.torespond[this.playerid]._noname_waiting) { - proceed = lib.node.torespond[this.playerid](result, this); - if (proceed === false) { - noresume = true; - } - } - lib.node.torespond[this.playerid] = result; - for (var i in lib.node.torespond) { - if (lib.node.torespond[i] == '_noname_waiting') { - return; - } - else if (lib.node.torespond[i] && lib.node.torespond[i]._noname_waiting) { - return; - } - } - _status.event.result = result; - _status.event.resultOL = lib.node.torespond; - lib.node.torespond = {}; - if (typeof proceed == 'function') proceed(); - else if (_status.paused && !noresume) game.resume(); - } - tempUnwait(result) { - if (!(this.playerid in lib.node.torespond)) return; - var proceed; - if (typeof lib.node.torespond[this.playerid] == 'function' && lib.node.torespond[this.playerid]._noname_waiting) { - proceed = lib.node.torespond[this.playerid](result, this); - } - if (typeof proceed == 'function') proceed(); - } - logSkill(name, targets, nature, logv) { - if (get.itemtype(targets) == 'player') targets = [targets]; - var nopop = false; - var popname = name; - if (Array.isArray(name)) { - popname = name[1]; - name = name[0]; - } - var checkShow = this.checkShow(name); - if (lib.translate[name]) { - this.trySkillAnimate(name, popname, checkShow); - if (Array.isArray(targets) && targets.length) { - var str; - if (targets[0] == this) { - str = '#b自己'; - if (targets.length > 1) { - str += '、'; - str += get.translation(targets.slice(1)); - } - } - else str = targets; - game.log(this, '对', str, '发动了', '【' + get.skillTranslation(name, this) + '】'); - } - else { - game.log(this, '发动了', '【' + get.skillTranslation(name, this) + '】'); - } - } - if (nature != false) { - if (nature === undefined) { - nature = 'green'; - } - this.line(targets, nature); - } - var info = lib.skill[name]; - if (info && info.ai && info.ai.expose != undefined && - this.logAi && (!targets || targets.length != 1 || targets[0] != this)) { - this.logAi(lib.skill[name].ai.expose); - } - if (info && info.round) { - var roundname = name + '_roundcount'; - this.storage[roundname] = game.roundNumber; - this.syncStorage(roundname); - this.markSkill(roundname); - } - game.trySkillAudio(name, this, true); - if (game.chess) { - this.chessFocus(); - } - if (logv === true) { - game.logv(this, name, targets, null, true); - } - else if (info && info.logv !== false) { - game.logv(this, name, targets); - } - if (info) { - var player = this; - var players = player.getSkills(false, false, false); - var equips = player.getSkills('e'); - var global = lib.skill.global.slice(0); - var logInfo = { - skill: name, - targets: targets, - event: _status.event, - }; - if (info.sourceSkill) { - logInfo.sourceSkill = info.sourceSkill; - if (global.contains(info.sourceSkill)) { - logInfo.type = 'global'; - } - else if (players.contains(info.sourceSkill)) { - logInfo.type = 'player'; - } - else if (equips.contains(info.sourceSkill)) { - logInfo.type = 'equip'; - } - } - else { - if (global.contains(name)) { - logInfo.sourceSkill = name; - logInfo.type = 'global'; - } - else if (players.contains(name)) { - logInfo.sourceSkill = name; - logInfo.type = 'player'; - } - else if (equips.contains(name)) { - logInfo.sourceSkill = name; - logInfo.type = 'equip'; - } - else { - var bool = false; - for (var i of players) { - var expand = [i]; - game.expandSkills(expand); - if (expand.contains(name)) { - bool = true; - logInfo.sourceSkill = i; - logInfo.type = 'player'; - break; - } - } - if (!bool) { - for (var i of players) { - var expand = [i]; - game.expandSkills(expand); - if (expand.contains(name)) { - logInfo.sourceSkill = i; - logInfo.type = 'equip'; - break; - } - } - } - } - } - var next = game.createEvent('logSkill', false), evt = _status.event; - next.player = player; - next.forceDie = true; - next.includeOut = true; - evt.next.remove(next); - if (evt.logSkill) evt = evt.getParent(); - for (var i in logInfo) { - if (i == 'event') next.log_event = logInfo[i]; - else next[i] = logInfo[i]; - } - evt.after.push(next); - next.setContent('emptyEvent'); - player.getHistory('useSkill').push(logInfo); - //尽可能别往这写插入结算 - //不能用来终止技能发动!!! - var next2 = game.createEvent('logSkillBegin', false); - next2.player = player; - next2.forceDie = true; - next2.includeOut = true; - for (var i in logInfo) { - if (i == 'event') next2.log_event = logInfo[i]; - else next2[i] = logInfo[i]; - } - next2.setContent('emptyEvent'); - } - if (this._hookTrigger) { - for (var i = 0; i < this._hookTrigger.length; i++) { - var info = lib.skill[this._hookTrigger[i]].hookTrigger; - if (info && info.log) { - info.log(this, name, targets); - } - } - } - } - unprompt() { - if (this.node.prompt) { - this.node.prompt.delete(); - delete this.node.prompt; - } - } - prompt(str, nature) { - var node; - if (this.node.prompt) { - node = this.node.prompt; - node.innerHTML = ''; - node.className = 'damage normal-font damageadded'; - } - else { - node = ui.create.div('.damage.normal-font', this); - this.node.prompt = node; - ui.refresh(node); - node.classList.add('damageadded'); - } - node.innerHTML = str; - node.dataset.nature = nature || 'soil'; - } - prompt_old(name2, className) { - var node; - if (this.node.prompt) { - node = this.node.prompt; - node.innerHTML = ''; - node.className = 'popup'; - } - else { - node = ui.create.div('.popup', this.parentNode); - this.node.prompt = node; - } - node.dataset.position = this.dataset.position; - if (this.dataset.position == 0 || parseInt(this.dataset.position) == parseInt(ui.arena.dataset.number) / 2 || - typeof name2 == 'number' || this.classList.contains('minskin')) { - node.innerHTML = name2; - } - else { - for (var i = 0; i < name2.length; i++) { - node.innerHTML += name2[i] + '
    '; - } - } - if (className) { - node.classList.add(className); - } - } - popup(name, className, nobroadcast) { - var name2 = get.translation(name); - if (!name2) return; - this.$damagepop(name2, className || 'water', true, nobroadcast); - } - popup_old(name, className) { - var name2 = get.translation(name); - var node = ui.create.div('.popup', this.parentNode); - if (!name2) { - node.remove(); - return node; - } - game.addVideo('popup', this, [name, className]); - node.dataset.position = this.dataset.position; - if (this.dataset.position == 0 || parseInt(this.dataset.position) == parseInt(ui.arena.dataset.number) / 2 || - typeof name2 == 'number' || this.classList.contains('minskin')) { - node.innerHTML = name2; - } - else { - for (var i = 0; i < name2.length; i++) { - node.innerHTML += name2[i] + '
    '; - } - } - if (className) { - node.classList.add(className); - } - this.popups.push(node); - if (this.popups.length > 1) { - node.hide(); - } - else { - var that = this; - setTimeout(function () { that._popup(); }, 1000); - } - return node; - } - _popup() { - if (this.popups.length) { - this.popups.shift().delete(); - if (this.popups.length) { - this.popups[0].show(); - var that = this; - setTimeout(function () { that._popup(); }, 1000); - } - } - } - showTimer(time) { - if (!time && lib.configOL) { - time = parseInt(lib.configOL.choose_timeout) * 1000; - } - if (_status.connectMode && !game.online) { - game.broadcast(function (player, time) { - player.showTimer(time); - }, this, time); - } - if (this == game.me) { - return; - } - if (this.node.timer) { - this.node.timer.remove(); - } - var timer = ui.create.div('.timerbar', this); - this.node.timer = timer; - ui.create.div(this.node.timer); - var bar = ui.create.div(this.node.timer); - ui.refresh(bar); - bar.style.transitionDuration = (time / 1000) + 's'; - bar.style.transform = 'scale(0,1)'; - } - hideTimer() { - if (_status.connectMode && !game.online && this.playerid) { - game.broadcast(function (player) { - player.hideTimer(); - }, this); - } - if (this.node.timer) { - this.node.timer.delete(); - delete this.node.timer; - } - } - markAuto(name, info) { - if (typeof info != 'undefined') { - if (!Array.isArray(this.storage[name])) this.storage[name] = []; - if (Array.isArray(info)) { - this.storage[name].addArray(info); - } - else this.storage[name].add(info); - this.markSkill(name); - } - else { - var storage = this.storage[name]; - if (Array.isArray(storage)) { - this[storage.length > 0 ? 'markSkill' : 'unmarkSkill'](name); - } - else if (typeof storage == 'number') { - this[storage > 0 ? 'markSkill' : 'unmarkSkill'](name); - } - } - } - unmarkAuto(name, info) { - var storage = this.storage[name]; - if (Array.isArray(info) && Array.isArray(storage)) { - storage.removeArray(info.slice(0)); - this.markAuto(name); - } - } - getExpansions(tag) { - return this.getCards('x', (card) => card.hasGaintag(tag)); - } - countExpansions(tag) { - return this.getExpansions(tag).length; - } - hasExpansions(tag) { - return this.countExpansions(tag) > 0; - } - setStorage(name, value, mark) { - this.storage[name] = value; - if (mark) this.markAuto(name); - return value; - } - getStorage(name) { - return this.storage[name] || []; - } - hasStorage(name, value) { - if (!(name in this.storage)) return false; - if (typeof value == "undefined") return true; - const storage = this.storage[name]; - if (storage === value) return true; - return Array.isArray(storage) && storage.includes(value); - } - hasStorageAny(name, values) { - const storage = this.storage[name]; - if (!Array.isArray(values)) values = Array.from(arguments).slice(1); - if (!storage) return false; - if (!Array.isArray(storage)) return values.contains(storage); - return values.some(item => storage.contains(item)); - } - hasStorageAll(name, values) { - const storage = this.storage[name]; - if (!Array.isArray(values)) values = Array.from(arguments).slice(1); - if (!storage) return false; - if (!Array.isArray(storage)) return false; - return values.every(item => storage.contains(item)); - } - initStorage(name, value, mark) { - return this.hasStorage(name) ? this.getStorage(name) : this.setStorage(name, value, mark); - } - updateStorage(name, operation, mark) { - return this.setStorage(name, operation(this.getStorage(name)), mark); - } - updateStorageAsync(name, operation, mark) { - return Promise.resolve(this.getStorage(name)) - .then(value => operation(value)) - .then(value => this.setStorage(name, value, mark)); - } - removeStorage(name, mark) { - if (!this.hasStorage(name)) return false; - delete this.storage[name]; - if (mark) { - this.unmarkSkill(name); - } - return true; - } - markSkill(name, info, card, nobroadcast) { - if (info === true) { - this.syncStorage(name); - info = null; - } - if (get.itemtype(card) == 'card') { - game.addVideo('markSkill', this, [name, get.cardInfo(card)]); - } - else { - game.addVideo('markSkill', this, [name]); - } - const func = function (storage, player, name, info, card) { - player.storage[name] = storage; - if (!info) { - if (player.marks[name]) { - player.updateMarks(); - return; - } - if (lib.skill[name]) { - info = lib.skill[name].intro; - } - if (!info) { - return; - } - } - if (player.marks[name]) { - player.marks[name].info = info; - } - else { - if (card) { - player.marks[name] = player.mark(card, info, name); - } - else { - player.marks[name] = player.mark(name, info); - } - } - player.updateMarks(); - }; - func(this.storage[name], this, name, info, card); - if (!nobroadcast) game.broadcast(func, this.storage[name], this, name, info, card); - return this; - } - unmarkSkill(name, nobroadcast) { - game.addVideo('unmarkSkill', this, name); - if (!nobroadcast) game.broadcast(function (player, name) { - if (player.marks[name]) { - player.marks[name].delete(); - player.marks[name].style.transform += ' scale(0.2)'; - delete player.marks[name]; - ui.updatem(player); - } - }, this, name); - if (this.marks[name]) { - this.marks[name].delete(); - this.marks[name].style.transform += ' scale(0.2)'; - delete this.marks[name]; - ui.updatem(this); - var info = lib.skill[name]; - if (!game.online && info && info.intro && info.intro.onunmark) { - if (info.intro.onunmark == 'throw') { - if (get.itemtype(this.storage[name]) == 'cards') { - this.$throw(this.storage[name], 1000); - game.cardsDiscard(this.storage[name]); - game.log(this.storage[name], '进入了弃牌堆'); - this.storage[name].length = 0; - } - } - else if (typeof info.intro.onunmark == 'function') { - info.intro.onunmark(this.storage[name], this); - } - else delete this.storage[name]; - } - } - return this; - } - markSkillCharacter(id, target, name, content, nobroadcast) { - if (typeof target == 'object') { - target = target.name; - } - const func = function (player, target, name, content, id) { - if (player.marks[id]) { - player.marks[id].name = name + '_charactermark'; - player.marks[id]._name = target; - player.marks[id].info = { - name: name, - content: content, - id: id - }; - player.marks[id].setBackground(target, 'character'); - game.addVideo('changeMarkCharacter', player, { - id: id, - name: name, - content: content, - target: target - }); - } - else { - player.marks[id] = player.markCharacter(target, { - name: name, - content: content, - id: id - }); - player.marks[id]._name = target; - game.addVideo('markCharacter', player, { - name: name, - content: content, - id: id, - target: target - }); - } - }; - func(this, target, name, content, id); - if (!nobroadcast) game.broadcast(func, this, target, name, content, id); - return this; - } - markCharacter(name, info, learn, learn2) { - if (typeof name == 'object') { - name = name.name; - } - var node; - if (name.startsWith('unknown')) { - node = ui.create.div('.card.mark.drawinghidden'); - ui.create.div('.background.skillmark', node).innerHTML = get.translation(name)[0]; - } - else { - if (!lib.character[name]) return; - node = ui.create.div('.card.mark.drawinghidden').setBackground(name, 'character'); - } - this.node.marks.insertBefore(node, this.node.marks.childNodes[1]); - node.name = name + '_charactermark'; - if (!info) { - info = {}; - } - if (!info.name) { - info.name = get.translation(name); - } - if (!info.content) { - info.content = get.skillintro(name, learn, learn2); - } - node.info = info; - node.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.card); - if (!lib.config.touchscreen) { - if (lib.config.hover_all) { - lib.setHover(node, ui.click.hoverplayer); - } - if (lib.config.right_info) { - node.oncontextmenu = ui.click.rightplayer; - } - } - ui.updatem(this); - return node; - } - mark(name, info, skill) { - if (get.itemtype(name) == 'cards') { - var marks = []; - for (var i = 0; i < name.length; i++) { - marks.push(this.mark(name[i], info)); - } - return marks; - } - else { - var node; - if (get.itemtype(name) == 'card') { - node = name.copy('mark'); - node.classList.add('drawinghidden'); - this.node.marks.insertBefore(node, this.node.marks.childNodes[1]); - node.suit = name.suit; - node.number = name.number; - // if(name.name&&lib.card[name.name]&&lib.card[name.name].markimage){ - // node.node.image.style.left=lib.card[name.name].markimage; - // } - - if (name.classList.contains('fullborder')) { - node.classList.add('fakejudge'); - node.classList.add('fakemark'); - (node.querySelector('.background') || ui.create.div('.background', node)).innerHTML = lib.translate[name.name + '_bg'] || get.translation(name.name)[0]; - } - - name = name.name; - } - else { - node = ui.create.div('.card.mark.drawinghidden'); - this.node.marks.insertBefore(node, this.node.marks.childNodes[1]); - if (lib.skill[name] && lib.skill[name].markimage) { - node.setBackgroundImage(lib.skill[name].markimage); - node.style['box-shadow'] = 'none'; - node.style['background-size'] = 'contain'; - } - else if (lib.skill[name] && lib.skill[name].markimage2) { - let img = ui.create.div('.background.skillmark', node); - img.setBackgroundImage(lib.skill[name].markimage2); - img.style['background-size'] = 'contain'; - } - else { - var str = lib.translate[name + '_bg']; - if (!str || str[0] == '+' || str[0] == '-') { - str = get.translation(name)[0]; - } - ui.create.div('.background.skillmark', node).innerHTML = str; - } - } - node.name = name; - node.skill = skill || name; - if (typeof info == 'object') { - node.info = info; - } - else if (typeof info == 'string') { - node.markidentifer = info; - } - node.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.card); - if (!lib.config.touchscreen) { - if (lib.config.hover_all) { - lib.setHover(node, ui.click.hoverplayer); - } - if (lib.config.right_info) { - node.oncontextmenu = ui.click.rightplayer; - } - } - this.updateMarks(); - ui.updatem(this); - return node; - } - } - unmark(name, info) { - game.addVideo('unmarkname', this, name); - if (get.itemtype(name) == 'card') { - this.unmark(name.name, info); - } - else if (get.itemtype(name) == 'cards') { - for (var i = 0; i < name.length; i++) { - this.unmark(name[i].name, info); - } - } - else { - for (var i = 0; i < this.node.marks.childNodes.length; i++) { - if (this.node.marks.childNodes[i].name == name && - (!info || this.node.marks.childNodes[i].markidentifer == info)) { - this.node.marks.childNodes[i].delete(); - this.node.marks.childNodes[i].style.transform += ' scale(0.2)'; - ui.updatem(this); - return; - } - } - } - } - addLink() { - if (get.is.linked2(this)) { - this.classList.add('linked2'); - } - else { - this.classList.add('linked'); - } - } - removeLink() { - if (get.is.linked2(this)) { - this.classList.remove('linked2'); - } - else { - this.classList.remove('linked'); - } - } - canUse(card, target, distance, includecard) { - if (typeof card == 'string') card = { name: card, isCard: true }; - var info = get.info(card); - if (info.multicheck && !info.multicheck(card, this)) return false; - if (!lib.filter.cardEnabled(card, this)) return false; - if (includecard && !lib.filter.cardUsable(card, this)) return false; - if (distance !== false && !lib.filter.targetInRange(card, this, target)) return false; - return lib.filter[includecard ? 'targetEnabledx' : 'targetEnabled'](card, this, target); - } - hasUseTarget(card, distance, includecard) { - var player = this; - return game.hasPlayer(function (current) { - return player.canUse(card, current, distance, includecard); - }); - } - hasValueTarget() { - return this.getUseValue.apply(this, arguments) > 0; - } - getUseValue(card, distance, includecard) { - if (typeof (card) == 'string') { - card = { name: card, isCard: true }; - } - var player = this; - var targets = game.filterPlayer(); - var value = []; - var min = 0; - var info = get.info(card); - if (!info || info.notarget) return 0; - var range; - var select = get.copy(info.selectTarget); - if (select == undefined) { - if (info.filterTarget == undefined) return true; - range = [1, 1]; - } - else if (typeof select == 'number') range = [select, select]; - else if (get.itemtype(select) == 'select') range = select; - else if (typeof select == 'function') range = select(card, player); - if (info.singleCard) range = [1, 1]; - game.checkMod(card, player, range, 'selectTarget', player); - if (!range) return 0; - - for (var i = 0; i < targets.length; i++) { - if (player.canUse(card, targets[i], distance, includecard)) { - var eff = get.effect(targets[i], card, player, player); - value.push(eff); - } - } - value.sort(function (a, b) { - return b - a; - }); - for (var i = 0; i < value.length; i++) { - if (i == range[1] || range[1] != -1 && value[i] <= 0) break; - min += value[i]; - } - return min; - } - addSubPlayer(cfg) { - var skill = 'subplayer_' + cfg.name + '_' + get.id(); - game.log(this, '获得了随从', '#g' + get.translation(cfg.name)); - cfg.hs = cfg.hs || []; - cfg.es = cfg.es || []; - cfg.skills = cfg.skills || []; - cfg.hp = cfg.hp || 1; - cfg.maxHp = cfg.maxHp || 1; - cfg.sex = cfg.sex || 'male'; - cfg.group = cfg.group || 'qun'; - cfg.skill = cfg.skill || _status.event.name; - if (!cfg.source) { - if (this.hasSkill(_status.event.name) && this.name2 && lib.character[this.name2] && - lib.character[this.name2][3].contains(_status.event.name)) { - cfg.source = this.name2; - } - else { - cfg.source = this.name; - } - } - game.broadcastAll(function (player, skill, cfg) { - lib.skill[skill] = { - intro: { - content: cfg.intro || '' - }, - mark: 'character', - subplayer: cfg.skill, - ai: { - subplayer: true - } - }; - lib.character[skill] = [cfg.sex, cfg.group, cfg.maxHp, cfg.skills, []]; - if (Array.isArray(cfg.image)) { - cfg.image.forEach(image => lib.character[skill][4].push(image)); - } else if (typeof cfg.image == 'string') { - lib.character[skill][4].push(cfg.image); - } else { - lib.character[skill][4].push('character:' + cfg.name); - } - lib.translate[skill] = cfg.caption || get.rawName(cfg.name); - player.storage[skill] = cfg; - }, this, skill, cfg); - game.addVideo('addSubPlayer', this, [skill, lib.skill[skill], lib.character[skill], lib.translate[skill], { name: cfg.name }]); - this.addSkill(skill); - return skill; - } - removeSubPlayer(name) { - if (this.hasSkill('subplayer') && this.name == name) { - this.exitSubPlayer(true); - } - else { - if (player.storage[name].onremove) { - player.storage[name].onremove(player); - } - this.removeSkill(name); - delete this.storage[name]; - game.log(player, '牺牲了随从', '#g' + name); - _status.event.trigger('removeSubPlayer'); - } - } - callSubPlayer() { - if (this.hasSkill('subplayer')) return; - var next = game.createEvent('callSubPlayer'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'string') { - next.directresult = arguments[i]; - } - } - next.setContent('callSubPlayer'); - return next; - } - toggleSubPlayer() { - if (!this.hasSkill('subplayer')) return; - var next = game.createEvent('toggleSubPlayer'); - next.player = this; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'string') { - next.directresult = arguments[i]; - } - } - next.setContent('toggleSubPlayer'); - return next; - } - exitSubPlayer(remove) { - if (!this.hasSkill('subplayer')) return; - var next = game.createEvent('exitSubPlayer'); - next.player = this; - next.remove = remove; - next.setContent('exitSubPlayer'); - return next; - } - getSubPlayers(tag) { - var skills = this.getSkills(); - var list = []; - for (var i = 0; i < skills.length; i++) { - var name = skills[i]; - var info = lib.skill[name]; - if (tag && info.subplayer != tag) continue; - if (info.ai && info.ai.subplayer && this.storage[name] && this.storage[name].name) { - list.push(name); - } - } - return list; - } - addSkillTrigger(skills, hidden, triggeronly) { - if (typeof skills == 'string') skills = [skills]; - game.expandSkills(skills); - for (const skill of skills) { - const info = lib.skill[skill]; - if (!info) { - console.error(new ReferenceError(`Cannot find ${skill} in lib.skill, failed to add ${skill}'s trigger to ${this.name}`)); - continue; - } - if (!triggeronly) { - if (info.global && (!hidden || info.globalSilent)) { - let global = info.global; - if (!Array.isArray(global)) global = [global]; - global.forEach(skill => game.addGlobalSkill(skill, this)); - } - if (this.initedSkills.includes(skill)) continue; - this.initedSkills.push(skill); - if (info.init && !_status.video) info.init(this, skill); - } - if (info.trigger && this.playerid) { - const setTrigger = (role, evt) => { - const name = this.playerid + '_' + role + '_' + evt; - if (!lib.hook[name]) lib.hook[name] = []; - lib.hook[name].add(skill); - lib.hookmap[evt] = true; - }; - for (const role in info.trigger) { - let evts = info.trigger[role]; - if (!Array.isArray(evts)) evts = [evts]; - evts.forEach(evt => setTrigger(role, evt)); - } - } - if (info.hookTrigger) { - if (!this._hookTrigger) this._hookTrigger = []; - this._hookTrigger.add(skill); - } - if (_status.event && _status.event.addTrigger) _status.event.addTrigger(skill, this); - _status.event.clearStepCache(); - } - return this; - } - addSkillLog(skill) { - if (!skill) return this; - this.addSkill(skill); - if (!Array.isArray(skill)) skill = [skill]; - game.log(this, '获得了技能', ...skill.map(i => { - this.popup(i); - return '#g【' + get.translation(i) + '】'; - })); - } - removeSkillLog(skill, popup) { - if (!skill) return this; - this.removeSkill(skill); - if (!Array.isArray(skill)) skill = [skill]; - game.log(this, '失去了技能', ...skill.map(i => { - if (popup === true) this.popup(i); - return '#g【' + get.translation(i) + '】'; - })); - } - addInvisibleSkill(skill) { - if (Array.isArray(skill)) { - _status.event.clearStepCache(); - for (var i = 0; i < skill.length; i++) { - this.addInvisibleSkill(skill[i]); - } - } - else { - if (this.invisibleSkills.contains(skill)) return; - _status.event.clearStepCache(); - var info = lib.skill[skill]; - if (!info) return; - this.invisibleSkills.add(skill); - this.addSkillTrigger(skill); - if (this.awakenedSkills.contains(skill)) { - this.awakenSkill(skill); - return; - } - } - } - removeInvisibleSkill(skill) { - if (!skill) return; - if (Array.isArray(skill)) { - for (var i = 0; i < skill.length; i++) { - this.removeSkill(skill[i]); - } - } - else { - var info = lib.skill[skill]; - if (info && info.fixed && arguments[1] !== true) return skill; - game.broadcastAll(function (player, skill) { - player.invisibleSkills.remove(skill); - }, this, skill); - if (!player.hasSkill(skill, true)) player.removeSkill(skill); - } - return skill; - } - addSkill(skill, checkConflict, nobroadcast, addToSkills) { - if (Array.isArray(skill)) { - _status.event.clearStepCache(); - for (var i = 0; i < skill.length; i++) { - this.addSkill(skill[i]); - } - } - else { - if (this.skills.contains(skill)) return; - _status.event.clearStepCache(); - var info = lib.skill[skill]; - if (!info) return; - if (!addToSkills) { - this.skills.add(skill); - if (!nobroadcast) { - game.broadcast(function (player, skill) { - player.skills.add(skill); - }, this, skill); - } - } - this.addSkillTrigger(skill); - if (this.awakenedSkills.contains(skill)) { - this.awakenSkill(skill); - return; - } - if (info.init2 && !_status.video) { - info.init2(this, skill); - } - if (info.mark) { - if (info.mark == 'card' && - get.itemtype(this.storage[skill]) == 'card') { - this.markSkill(skill, null, this.storage[skill], nobroadcast); - } - else if (info.mark == 'card' && - get.itemtype(this.storage[skill]) == 'cards') { - this.markSkill(skill, null, this.storage[skill][0], nobroadcast); - } - else if (info.mark == 'image') { - this.markSkill(skill, null, ui.create.card(null, 'noclick').init([null, null, skill]), nobroadcast); - } - else if (info.mark == 'character') { - var intro = info.intro.content; - if (typeof intro == 'function') { - intro = intro(this.storage[skill], this); - } - else if (typeof intro == 'string') { - intro = intro.replace(/#/g, this.storage[skill]); - intro = intro.replace(/&/g, get.cnNumber(this.storage[skill])); - intro = intro.replace(/\$/g, get.translation(this.storage[skill])); - } - var caption; - if (typeof info.intro.name == 'function') { - caption = info.intro.name(this.storage[skill], this); - } - else if (typeof info.intro.name == 'string') { - caption = info.name; - } - else { - caption = get.translation(skill); - } - this.markSkillCharacter(skill, this.storage[skill], caption, intro, nobroadcast); - } - else { - this.markSkill(skill, null, null, nobroadcast); - } - } - } - if (checkConflict) this.checkConflict(); - return skill; - } - addAdditionalSkill(skill, skills, keep) { - if (this.additionalSkills[skill]) { - if (keep) { - if (typeof this.additionalSkills[skill] == 'string') { - this.additionalSkills[skill] = [this.additionalSkills[skill]]; - } - } - else { - this.removeAdditionalSkill(skill); - this.additionalSkills[skill] = []; - } - } - else { - this.additionalSkills[skill] = []; - } - if (typeof skills == 'string') { - skills = [skills]; - } - for (var i = 0; i < skills.length; i++) { - this.addSkill(skills[i], null, true, true); - //this.skills.remove(skills[i]); - this.additionalSkills[skill].push(skills[i]); - } - this.checkConflict(); - _status.event.clearStepCache(); - return this; - } - removeAdditionalSkill(skill, target) { - const player = this; - if (this.additionalSkills[skill]) { - const additionalSkills = this.additionalSkills[skill]; - const hasAnotherSKill = function (skillkey, skill) { - return (player.skills.contains(skill) || player.tempSkills[skill] || Object.keys(player.additionalSkills).some(key => { - if (key === skillkey) return false; - if (Array.isArray(player.additionalSkills[key])) return player.additionalSkills[key].includes(skill); - return player.additionalSkills[key] == skill; - })); - }; - if (Array.isArray(additionalSkills) && typeof target == 'string') { - if (additionalSkills.contains(target)) { - additionalSkills.remove(target); - if (!hasAnotherSKill(skill, target)) this.removeSkill(target); - } - } - else { - delete this.additionalSkills[skill]; - if (typeof additionalSkills == 'string') { - if (!hasAnotherSKill(skill, additionalSkills)) this.removeSkill(additionalSkills); - } - else if (Array.isArray(additionalSkills)) { - const skillsToRemove = additionalSkills.filter(target => !hasAnotherSKill(skill, target)); - this.removeSkill(skillsToRemove); - } - } - } - _status.event.clearStepCache(); - return this; - } - awakenSkill(skill, nounmark) { - if (!nounmark) this.unmarkSkill(skill); - this.disableSkill(skill + '_awake', skill); - this.awakenedSkills.add(skill); - if (this.storage[skill] === false) this.storage[skill] = true; - _status.event.clearStepCache(); - return this; - } - restoreSkill(skill, nomark) { - if (this.storage[skill] === true) this.storage[skill] = false; - this.awakenedSkills.remove(skill); - this.enableSkill(skill + '_awake', skill); - if (!nomark) this.markSkill(skill); - _status.event.clearStepCache(); - return this; - } - disableSkill(skill, skills) { - if (typeof skills == 'string') { - if (!this.disabledSkills[skills]) { - this.disabledSkills[skills] = []; - var info = get.info(skills); - if (info.ondisable && info.onremove) { - if (typeof info.onremove == 'function') { - info.onremove(this, skill); - } - else if (typeof info.onremove == 'string') { - if (info.onremove == 'storage') { - delete this.storage[skill]; - } - else { - var cards = this.storage[skill]; - if (get.itemtype(cards) == 'card') { - cards = [cards]; - } - if (get.itemtype(cards) == 'cards') { - if (this.onremove == 'discard') { - this.$throw(cards); - } - if (this.onremove == 'discard' || this.onremove == 'lose') { - game.cardsDiscard(cards); - delete this.storage[skill]; - } - } - } - } - else if (Array.isArray(info.onremove)) { - for (var i = 0; i < info.onremove.length; i++) { - delete this.storage[info.onremove[i]]; - } - } - else if (info.onremove === true) { - delete this.storage[skill]; - } - } - } - this.disabledSkills[skills].add(skill); - var group = lib.skill[skills].group; - if (typeof group == 'string' || Array.isArray(group)) { - this.disableSkill(skill, group); - } - } - else if (Array.isArray(skills)) { - for (var i = 0; i < skills.length; i++) { - this.disableSkill(skill, skills[i]); - } - } - _status.event.clearStepCache(); - return this; - } - enableSkill(skill) { - for (var i in this.disabledSkills) { - this.disabledSkills[i].remove(skill); - if (this.disabledSkills[i].length == 0) { - delete this.disabledSkills[i]; - } - } - _status.event.clearStepCache(); - return this; - } - checkMarks() { - var skills = this.getSkills(); - game.expandSkills(skills); - for (var i in this.marks) { - if (!skills.contains(i) && !this.marks[i].info.fixed) { - this.unmarkSkill(i); - } - } - return this; - } - addEquipTrigger(card) { - if (card) { - var info = get.info(card); - if (info.skills) { - for (var j = 0; j < info.skills.length; j++) { - this.addSkillTrigger(info.skills[j]); - } - } - } - else { - var es = this.getCards('e'); - for (var i = 0; i < es.length; i++) { - this.addEquipTrigger(es[i]); - } - } - _status.event.clearStepCache(); - return this; - } - removeEquipTrigger(card) { - if (card) { - var info = get.info(card); - var skills = this.getSkills(null, false); - if (info.skills) { - for (var j = 0; j < info.skills.length; j++) { - if (skills.contains(info.skills[j])) continue; - this.removeSkillTrigger(info.skills[j]); - } - } - if (info.clearLose && typeof info.onLose == 'function') { - var next = game.createEvent('lose_' + card.name); - next.setContent(info.onLose); - next.player = this; - next.card = card; - } - } - else { - var es = this.getCards('e'); - for (var i = 0; i < es.length; i++) { - this.removeEquipTrigger(es[i]); - } - } - _status.event.clearStepCache(); - return this; - } - removeSkillTrigger(skills, triggeronly) { - if (typeof skills == 'string') skills = [skills]; - game.expandSkills(skills); - for (const skill of skills) { - const info = lib.skill[skill]; - if (!info) { - console.error(new ReferenceError(`Cannot find ${skill} in lib.skill, failed to remove ${skill}'s trigger to ${this.name}`)); - continue; - } - if (!triggeronly) { - if (info.global) { - let global = info.global; - if (!Array.isArray(global)) global = [global]; - global.forEach(skill => game.removeGlobalSkill(skill, this)); - } - if (!this.initedSkills.includes(skill)) continue; - this.initedSkills.remove(skill); - // if(info.onremove&&!_status.video) info.onremove(this,skill); - } - if (info.trigger && this.playerid) { - const removeTrigger = (role, evt) => { - const name = this.playerid + '_' + role + '_' + evt; - if (!lib.hook[name]) return; - lib.hook[name].remove(skill); - if (lib.hook[name].length == 0) delete lib.hook[name]; - }; - for (const role in info.trigger) { - let evts = info.trigger[role]; - if (!Array.isArray(evts)) evts = [evts]; - evts.forEach(evt => removeTrigger(role, evt)); - } - } - if (info.hookTrigger && this._hookTrigger) { - this._hookTrigger.remove(skill); - if (!this._hookTrigger.length) delete this._hookTrigger; - } - if (_status.event && _status.event.removeTrigger) _status.event.removeTrigger(skill, this); - _status.event.clearStepCache(); - } - return this; - } - removeSkill(skill) { - if (!skill) return; - _status.event.clearStepCache(); - if (Array.isArray(skill)) { - for (var i = 0; i < skill.length; i++) { - this.removeSkill(skill[i]); - } - } - else { - var info = lib.skill[skill]; - if (info && info.fixed && arguments[1] !== true) return skill; - this.unmarkSkill(skill); - game.broadcastAll(function (player, skill) { - player.skills.remove(skill); - player.hiddenSkills.remove(skill); - player.invisibleSkills.remove(skill); - delete player.tempSkills[skill]; - for (var i in player.additionalSkills) { - player.additionalSkills[i].remove(skill); - } - }, this, skill); - this.checkConflict(skill); - if (info) { - if (info.onremove) { - if (typeof info.onremove == 'function') { - info.onremove(this, skill); - } - else if (typeof info.onremove == 'string') { - if (info.onremove == 'storage') { - delete this.storage[skill]; - } - else { - var cards = this.storage[skill]; - if (get.itemtype(cards) == 'card') { - cards = [cards]; - } - if (get.itemtype(cards) == 'cards') { - if (this.onremove == 'discard') { - this.$throw(cards); - } - if (this.onremove == 'discard' || this.onremove == 'lose') { - game.cardsDiscard(cards); - delete this.storage[skill]; - } - } - } - } - else if (Array.isArray(info.onremove)) { - for (var i = 0; i < info.onremove.length; i++) { - delete this.storage[info.onremove[i]]; - } - } - else if (info.onremove === true) { - delete this.storage[skill]; - } - } - this.removeSkillTrigger(skill); - if (!info.keepSkill) { - this.removeAdditionalSkill(skill); - } - } - this.enableSkill(skill + '_awake'); - } - return skill; - } - addTempSkill(skill, expire, checkConflict) { - if (this.hasSkill(skill) && this.tempSkills[skill] == undefined) return; - this.addSkill(skill, checkConflict, true, true); - - if (!expire) expire = { global: ['phaseAfter', 'phaseBeforeStart'] }; - else if (typeof expire == 'string' || Array.isArray(expire)) expire = { global: expire }; - this.tempSkills[skill] = expire; - - if (get.objtype(expire) == 'object') { - const roles = ['player', 'source', 'target', 'global']; - for (const i of roles) { - let triggers = expire[i]; - if (!Array.isArray(triggers)) triggers = [triggers]; - triggers.forEach(trigger => lib.hookmap[trigger] = true); - } - } - - return skill; - } - tempBanSkill(skill, expire, log) { - if (this.isTempBanned(skill)) return; - this.setStorage(`temp_ban_${skill}`, true); - - if (log !== false && this.hasSkill(skill)) game.log(this, '的技能', `#g【${get.translation(skill)}】`, '暂时失效了'); - - if (!expire) expire = { global: ['phaseAfter', 'phaseBeforeStart'] }; - else if (typeof expire == 'string' || Array.isArray(expire)) expire = { global: expire }; - this.when(expire).assign({ - firstDo: true, - }).vars({ - bannedSkill: skill, - }).then(() => { - delete player.storage[`temp_ban_${bannedSkill}`]; - }); - return skill; - } - isTempBanned(skill) { - return this.hasStorage(`temp_ban_${skill}`); - } - attitudeTo(target) { - if (typeof get.attitude == 'function') return get.attitude(this, target); - return 0; - } - clearSkills(all) { - var list = []; - var exclude = []; - for (var i = 0; i < arguments.length; i++) { - exclude.push(arguments[i]); - } - for (i = 0; i < this.skills.length; i++) { - if (lib.skill[this.skills[i]].superCharlotte) continue; - if (!all && (lib.skill[this.skills[i]].temp || lib.skill[this.skills[i]].charlotte)) continue; - if (!exclude.contains(this.skills[i])) { - list.push(this.skills[i]); - } - } - if (all) { - for (var i in this.additionalSkills) { - this.removeAdditionalSkill(i); - } - } - this[all ? 'removeSkill' : 'removeSkillLog'](list); - this.checkConflict(); - this.checkMarks(); - return list; - } - checkConflict(skill) { - if (skill) { - if (this.forbiddenSkills[skill]) { - delete this.forbiddenSkills[skill]; - } - else { - for (var i in this.forbiddenSkills) { - if (this.forbiddenSkills[i].includes(skill)) { - this.forbiddenSkills[i].remove(skill); - if (!this.forbiddenSkills[i].length) { - delete this.forbiddenSkills[i]; - } - } - } - } - } - else { - this.forbiddenSkills = {}; - var forbid = []; - var getName = function (arr) { - var str = ''; - for (var i = 0; i < arr.length; i++) { - str += arr[i] + '+'; - } - return str.slice(0, str.length - 1); - }; - var forbidlist = lib.config.forbid.concat(lib.config.customforbid); - var skills = this.getSkills(); - for (var i = 0; i < forbidlist.length; i++) { - if (lib.config.customforbid.contains(forbidlist[i]) || - !lib.config.forbidlist.contains(getName(forbidlist[i]))) { - for (var j = 0; j < forbidlist[i].length; j++) { - if (!skills.contains(forbidlist[i][j])) break; - } - if (j == forbidlist[i].length) { - forbid.push(forbidlist[i]); - } - } - } - for (var i = 0; i < forbid.length; i++) { - if (forbid[i][1] || this.name2) { - this.forbiddenSkills[forbid[i][0]] = this.forbiddenSkills[forbid[i][0]] || []; - if (forbid[i][1]) { - this.forbiddenSkills[forbid[i][0]].add(forbid[i][1]); - } - } - } - } - } - getHistory(key, filter, last) { - if (!key) return this.actionHistory[this.actionHistory.length - 1]; - if (!filter) return this.actionHistory[this.actionHistory.length - 1][key]; - else { - const history = this.getHistory(key); - if (last) { - const lastIndex = history.indexOf(last); - return history.filter((event, index) => { - if (index > lastIndex) return false; - return filter(event); - }); - } - return history.filter(filter); - } - } - checkHistory(key, filter, last) { - if (!key || !filter) return; - else { - const history = this.getHistory(key); - if (last) { - const lastIndex = history.indexOf(last); - history.forEach((event, index) => { - if (index > lastIndex) return false; - filter(event); - }); - } - else { - history.forEach(filter); - } - } - } - hasHistory(key, filter, last) { - const history = this.getHistory(key); - if (!filter || typeof filter != "function") filter = lib.filter.all; - if (last) { - const lastIndex = history.indexOf(last); - return history.some((event, index) => { - if (index > lastIndex) return false; - return filter(event); - }); - } - return history.some(filter); - } - getLastHistory(key, filter, last) { - let history = false; - for (let i = this.actionHistory.length - 1; i >= 0; i--) { - if (this.actionHistory[i].isMe) { - history = this.actionHistory[i]; break; - } - } - if (!history) return null; - if (!key) return history; - if (!filter) return history[key]; - else { - if (last) { - const lastIndex = history.indexOf(last); - return history.filter((event, index) => { - if (index > lastIndex) return false; - return filter(event); - }); - } - return history.filter(filter); - } - } - checkAllHistory(key, filter, last) { - if (!key || !filter) return; - this.actionHistory.forEach((value) => { - let history = value[key]; - if (last && history.includes(last)) { - const lastIndex = history.indexOf(last); - history.forEach((event, index) => { - if (index > lastIndex) return false; - return filter(event); - }); - } - else { - history.forEach(filter); - } - }); - } - getAllHistory(key, filter, last) { - const history = []; - this.actionHistory.forEach((value) => { - if (!key || !value[key]) { - history.push(value); - } - else { - history.push(...value[key]); - } - }); - if (filter) { - if (last) { - const lastIndex = history.indexOf(last); - return history.filter((event, index) => { - if (index > lastIndex) return false; - return filter(event); - }); - } - return history.filter(filter); - } - return history; - } - hasAllHistory(key, filter, last) { - return this.actionHistory.some((value) => { - let history = value[key]; - if (last && history.includes(last)) { - const lastIndex = history.indexOf(last); - if (history.some(function (event, index) { - if (index > lastIndex) return false; - return filter(event); - })) return true; - } - else { - if (history.some(filter)) return true; - } - return false; - }); - } - getLastUsed(num) { - if (typeof num != 'number') num = 0; - var history = this.getHistory('useCard'); - if (history.length <= num) return null; - return history[history.length - num - 1]; - } - getStat(key) { - if (!key) return this.stat[this.stat.length - 1]; - return this.stat[this.stat.length - 1][key]; - } - getLastStat(key) { - var stat = false; - for (var i = this.stat.length - 1; i >= 0; i--) { - if (this.stat[i].isMe) { - stat = this.stat[i]; break; - } - } - if (!stat) return null; - if (!key) return stat; - return stat[key]; - } - queue(time) { - if (time == false) { - clearTimeout(this.queueTimeout); - this.queueCount = 0; - return; - } - if (time == undefined) time = 500; - var player = this; - player.queueCount++; - this.queueTimeout = setTimeout(function () { - player.queueCount--; - if (player.queueCount == 0) { - player.style.transform = ''; - player.node.avatar.style.transform = ''; - player.node.avatar2.style.transform = ''; - if (game.chess) { - ui.placeChess(player, player.dataset.position); - } - if (player == game.me) ui.me.removeAttribute('style'); - } - }, time); - } - getCardUsable(card, pure) { - var player = this; - if (typeof card == 'string') { - card = { name: card }; - } - card = get.autoViewAs(card); - var num = get.info(card).usable; - if (typeof num == 'function') num = num(card, player); - num = game.checkMod(card, player, num, 'cardUsable', player); - if (typeof num != 'number') return Infinity; - if (!pure && _status.currentPhase == player) { - return num - player.countUsed(card); - } - return num; - } - getAttackRange(raw) { - const player = this; - let range = 0; - if (raw) { - range = game.checkMod(player, player, range, 'globalFrom', player); - range = game.checkMod(player, player, range, 'attackFrom', player); - const equips = player.getCards('e', function (card) { - return !ui.selected.cards || !ui.selected.cards.contains(card); - }); - equips.forEach(card => { - const info = get.info(card, false).distance; - if (info && info.globalFrom) { - range += info.globalFrom; - } - }); - return (player.getEquipRange() - range); - } - let base = game.checkMod(player, 'unchanged', 'attackRangeBase', player); - if (base != 'unchanged') { - range = base; - } - else { - range = player.getEquipRange(); - } - range = game.checkMod(player, range, 'attackRange', player); - return range; - } - getEquipRange(cards) { - const player = this; - if (!cards) cards = player.getCards('e', function (card) { - return !ui.selected.cards || !ui.selected.cards.contains(card); - }); - const range = cards.reduce((range, card) => { - let newRange = false; - const info = get.info(card, false); - if (info.distance) { - //如果存在attackRange 则通过attackRange动态获取攻击范围 - if (typeof info.distance.attackRange == 'function') { - newRange = info.distance.attackRange(card, player); - } - //否则采用祖宗之法 - else if (typeof info.distance.attackFrom == 'number') { - newRange = (1 - info.distance.attackFrom); - } - } - let isN1 = (typeof range == 'number'); - let isN2 = (typeof newRange == 'number'); - if (isN1 && isN2) return Math.max(range, newRange); - else return (isN1 ? range : newRange); - }, false); - return (typeof range == 'number') ? range : 1; - } - getGlobalFrom() { - var player = this; - var range = 0; - range = game.checkMod(player, player, range, 'globalFrom', player); - var equips = player.getCards('e', function (card) { - return !ui.selected.cards || !ui.selected.cards.contains(card); - }); - for (var i = 0; i < equips.length; i++) { - var info = get.info(equips[i]).distance; - if (!info) continue; - if (info.globalFrom) { - range += info.globalFrom; - } - } - return (-range); - } - getGlobalTo() { - var player = this; - var range = 0; - range = game.checkMod(player, player, range, 'globalTo', player); - var equips = player.getCards('e', function (card) { - return !ui.selected.cards || !ui.selected.cards.contains(card); - }); - for (var i = 0; i < equips.length; i++) { - var info = get.info(equips[i]).distance; - if (!info) continue; - if (info.globalTo) { - range += info.globalTo; - } - } - return (range); - } - getHandcardLimit() { - var num = Math.max(this.hp, 0); - num = game.checkMod(this, num, 'maxHandcardBase', this); - num = game.checkMod(this, num, 'maxHandcard', this); - num = game.checkMod(this, num, 'maxHandcardFinal', this); - return Math.max(0, num); - } - getEnemies(func) { - var player = this; - var targets; - var mode = get.mode(); - if (mode == 'identity') { - if (_status.mode == 'purple') { - switch (player.identity) { - case 'bZhu': case 'bZhong': case 'rNei': targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return ['rZhu', 'rZhong', 'bNei'].contains(target.identity); - }); break; - case 'rZhu': case 'rZhong': case 'bNei': targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return ['bZhu', 'bZhong', 'rNei'].contains(target.identity); - }); break; - case 'rYe': case 'bYe': targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return !['rYe', 'bYe'].contains(target.identity); - }); break; - } - } - else { - var num = get.population('fan'); - switch (player.identity) { - case 'zhu': case 'zhong': case 'mingzhong': targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - if (num >= 3) return target.identity == 'fan'; - return target.identity == 'nei' || target.identity == 'fan'; - }); break; - case 'nei': targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - if (num >= 3) return target.identity == 'fan'; - if (game.players.length == 2) return target != player; - return target.identity == 'zhong' || target.identity == 'mingzhong' || target.identity == 'fan'; - }); break; - case 'fan': targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return target.identity != 'fan'; - }); break; - case 'commoner': targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - if (num >= 3) return target.identity != 'fan'; - return target.identity == 'fan'; - }); break; - } - } - } - else if (mode == 'guozhan') { - if (player.identity == 'ye') { - targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return true; - }); - } - else { - var group = lib.character[player.name1][1]; - targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return target.identity == 'ye' || lib.character[target.name1][1] != group; - }); - } - } - else if (mode == 'doudizhu') { - targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return target.identity != player.identity; - }); - } - else { - targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return target.side != player.side; - }); - } - targets.remove(player); - return targets; - } - getFriends(func) { - var player = this; - var targets; - var mode = get.mode(); - var self = false; - if (func === true) { - func = null; - self = true; - } - if (mode == 'identity') { - if (_status.mode == 'purple') { - switch (player.identity) { - case 'rZhu': case 'rZhong': case 'bNei': targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return ['rZhu', 'rZhong', 'bNei'].contains(target.identity); - }); break; - case 'bZhu': case 'bZhong': case 'rNei': targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return ['bZhu', 'bZhong', 'rNei'].contains(target.identity); - }); break; - case 'rYe': case 'bYe': targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return ['rYe', 'bYe'].contains(target.identity); - }); break; - } - } - else { - switch (player.identity) { - case 'zhu': case 'zhong': case 'mingzhong': targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return ['zhu', 'zhong', 'mingzhong'].contains(target.identity); - }); break; - case 'nei': targets = []; break; - case 'fan': targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return target.identity == 'fan'; - }); break; - case 'commoner': targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return true; - }); break; - } - } - } - else if (mode == 'guozhan') { - if (player.identity == 'ye') { - targets = []; - } - else { - var group = lib.character[player.name1][1]; - targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return target.identity != 'ye' && lib.character[target.name1][1] == group; - }); - } - } - else if (mode == 'doudizhu') { - targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return target.identity == player.identity; - }); - } - else { - targets = game.filterPlayer(function (target) { - if (func && !func(target)) return false; - return target.side == player.side; - }); - } - if (self) { - targets.add(player); - } - else { - targets.remove(player); - } - return targets; - } - isEnemyOf() { - return !this.isFriendOf.apply(this, arguments); - } - isFriendOf(player) { - if (get.mode() == 'guozhan') { - if (this == player) return true; - if (this.getStorage('yexinjia_friend').includes(player) || player.getStorage('yexinjia_friend').includes(this)) return true; - if (this.identity == 'unknown' || this.identity == 'ye') return false; - if (player.identity == 'unknown' || player.identity == 'ye') return false; - return this.identity == player.identity; - } - if (get.mode() == 'doudizhu') { - return this.identity == player.identity; - } - if (this.side != undefined && typeof player.side == 'boolean') { - return this.side == player.side; - } - return this == player; - } - isFriendsOf(player) { - return player.getFriends(true).contains(this); - } - isEnemiesOf(player) { - return player.getEnemies().contains(this); - } - isAlive() { - return this.classList.contains('dead') == false; - } - isDead() { - return this.classList.contains('dead'); - } - isDying() { - return _status.dying.contains(this) && this.hp <= 0 && this.isAlive(); - } - isDamaged() { - return this.hp < this.maxHp && !this.storage.nohp; - } - isHealthy() { - return this.hp >= this.maxHp || this.storage.nohp; - } - isMaxHp(only, raw) { - return game.players.every(value => { - if (value.isOut() || value == this) return true; - return only ? value.getHp(raw) < this.getHp(raw) : value.getHp(raw) <= this.getHp(raw); - }); - } - isMinHp(only, raw) { - return game.players.every(value => { - if (value.isOut() || value == this) return true; - return only ? value.getHp(raw) > this.getHp(raw) : value.getHp(raw) >= this.getHp(raw); - }); - } - isMaxCard(only) { - const numberOfCards = this.countCards('he'); - return game.players.every(value => { - if (value.isOut() || value == this) return true; - return only ? value.countCards('he') < numberOfCards : value.countCards('he') <= numberOfCards; - }); - } - isMinCard(only) { - const numberOfCards = this.countCards('he'); - return game.players.every(value => { - if (value.isOut() || value == this) return true; - return only ? value.countCards('he') > numberOfCards : value.countCards('he') >= numberOfCards; - }); - } - isMaxHandcard(only) { - const numberOfHandCards = this.countCards('h'); - return game.players.every(value => { - if (value.isOut() || value == this) return true; - return only ? value.countCards('h') < numberOfHandCards : value.countCards('h') <= numberOfHandCards; - }); - } - isMinHandcard(only) { - const numberOfHandCards = this.countCards('h'); - return game.players.every(value => { - if (value.isOut() || value == this) return true; - return only ? value.countCards('h') > numberOfHandCards : value.countCards('h') >= numberOfHandCards; - }); - } - isMaxEquip(only) { - const numberOfEquipAreaCards = this.countCards('e'); - return game.players.every(value => { - if (value.isOut() || value == this) return true; - return only ? value.countCards('e') < numberOfEquipAreaCards : value.countCards('e') <= numberOfEquipAreaCards; - }); - } - isMinEquip(only) { - const numberOfEquipAreaCards = this.countCards('e'); - return game.players.every(value => { - if (value.isOut() || value == this) return true; - return only ? value.countCards('e') > numberOfEquipAreaCards : value.countCards('e') >= numberOfEquipAreaCards; - }); - } - isLinked() { - if (get.is.linked2(this)) { - return this.classList.contains('linked2'); - } - return this.classList.contains('linked'); - } - isTurnedOver() { - return this.classList.contains('turnedover'); - } - isOut() { - return this.classList.contains('out'); - } - isMin(distance) { - if (distance && lib.config.mode != 'stone') return false; - if (this.forcemin) return true; - return this.classList.contains('minskin') && !game.chess; - } - isIn() { - return this.classList.contains('dead') == false && this.classList.contains('out') == false && !this.removed; - } - isUnseen(num) { - switch (num) { - case 0: return this.classList.contains('unseen'); - case 1: return this.classList.contains('unseen2'); - case 2: return this.classList.contains('unseen') || this.classList.contains('unseen2'); - default: return this.classList.contains('unseen') && (!this.name2 || this.classList.contains('unseen2')); - } - } - isUnderControl(self, me) { - me = (me || game.me); - var that = this._trueMe || this; - if (that.isMad() || game.notMe) return false; - if (this === me) { - if (self) return true; - return false; - } - if (that === me || this == me._trueMe) return true; - if (_status.connectMode) return false; - if (lib.config.mode == 'versus') { - if (_status.mode == 'three') return this.side == me.side; - if (_status.mode == 'standard') return lib.storage.single_control && this.side == me.side; - if (_status.mode == 'four') return get.config('four_phaseswap') && this.side == me.side; - if (_status.mode == 'two') return get.config('two_phaseswap') && this.side == me.side; - return false; - } - else if (lib.config.mode == 'boss') { - if (me.side) return false; - return this.side == me.side && get.config('single_control'); - } - else if (game.chess) { - if (lib.config.mode == 'chess') { - if (_status.mode == 'combat' && !get.config('single_control')) return false; - } - return this.side == me.side; - } - return false; - } - isOnline() { - if (this.ws && lib.node && !this.ws.closed && this.ws.inited && !this.isAuto) { - return true; - } - return false; - } - isOnline2() { - if (this.ws && lib.node && !this.ws.closed) { - return true; - } - return false; - } - isOffline() { - if (this.ws && lib.node && this.ws.closed) { - return true; - } - return false; - } - checkShow(skill, showonly) { - var sourceSkill = get.info(skill); - var noshow = false; - if (sourceSkill && sourceSkill.sourceSkill) { - skill = sourceSkill.sourceSkill; - } - if (lib.skill.global.contains(skill)) return false; - if (get.mode() != 'guozhan' || game.expandSkills(this.getSkills()).contains(skill)) { - if (showonly) { - return false; - } - else { - noshow = true; - } - } - var unseen0 = this.isUnseen(0); - var name1 = this.name1 || this.name; - if (lib.character[name1] && (!showonly || unseen0)) { - var skills = game.expandSkills(lib.character[name1][3].slice(0)); - if (skills.contains(skill)) { - if (!noshow && this.isUnseen(0)) this.showCharacter(0); - return 'main'; - } - } - var unseen1 = this.isUnseen(1); - var name2 = this.name2; - if (lib.character[name2] && (!showonly || unseen1)) { - var skills = game.expandSkills(lib.character[name2][3].slice(0)); - if (skills.contains(skill)) { - if (!noshow && this.isUnseen(1)) this.showCharacter(1); - return 'vice'; - } - } - return false; - } - needsToDiscard(filter, add) { - /** - * filter: typeof 'number' -> 额外摸等量牌(逻辑上) - * typeof 'function' -> 只考虑符合函数筛选的牌 - * add: 额外获得这张/些牌(逻辑上) - */ - let cards = this.getCards('h', card => !this.canIgnoreHandcard(card)), num = 0; - if (get.itemtype(add) === 'cards') cards.addArray(add); - else if (get.itemtype(add) === 'card') cards.push(add); - if (typeof filter === 'number') num = filter; - else if (typeof filter === 'function') cards = cards.filter(card => { - return filter(card); - }); - return Math.max(0, num + cards.length - this.getHandcardLimit()); - } - distanceTo(target, method) { - return get.distance(this, target, method); - } - distanceFrom(target, method) { - return get.distance(target, this, method); - } - hasSkill(skill, arg2, arg3, arg4) { - return game.expandSkills(this.getSkills(arg2, arg3, arg4)).contains(skill); - } - hasStockSkill(skill, arg1, arg2, arg3) { - return game.expandSkills(this.getStockSkills(arg1, arg2, arg3)).contains(skill); - } - isZhu2() { - var player = this, mode = get.mode(); - if (!this.isZhu) return false; - if (mode == 'identity') { - if (_status.mode == 'stratagem' && !this.identityShown) return false; - return true; - } - if (mode == 'versus' && (_status.mode == 'four' || _status.mode == 'guandu')) return true; - return false; - } - hasZhuSkill(skill, player) { - if (!this.hasSkill(skill)) return false; - if (player) { - var mode = get.mode(); - if (mode == 'identity' && _status.mode == 'purple') { - if (this.identity.slice(0, 1) != player.identity.slice(0, 1)) return false; - } - if (mode == 'versus' && (_status.mode == 'four' || _status.mode == 'guandu')) { - if (this.side != player.side) return false; - } - } - return true; - } - hasGlobalTag(tag, arg) { - var skills = lib.skill.global.slice(0); - game.expandSkills(skills); - for (var i = 0; i < skills.length; i++) { - var info = lib.skill[skills[i]]; - if (info && info.ai) { - if (info.ai.skillTagFilter && info.ai[tag] && - info.ai.skillTagFilter(this, tag, arg) === false) continue; - if (typeof info.ai[tag] == 'string') { - if (info.ai[tag] == arg) return true; - } - else if (info.ai[tag]) { - return true; - } - } - } - return false; - } - hasSkillTag(tag, hidden, arg, globalskill) { - var skills = this.getSkills(hidden); - if (globalskill) { - skills.addArray(lib.skill.global); - } - game.expandSkills(skills); - for (var i = 0; i < skills.length; i++) { - var info = lib.skill[skills[i]]; - if (info && info.ai) { - if (info.ai.skillTagFilter && info.ai[tag] && - info.ai.skillTagFilter(this, tag, arg) === false) continue; - if (typeof info.ai[tag] == 'string') { - if (info.ai[tag] == arg) return true; - } - else if (info.ai[tag]) { - return true; - } - } - } - return false; - } - hasJudge(name) { - if (name && typeof name == 'object') { - name = name.viewAs || name.name; - } - var judges = this.getCards('j'); - for (var i = 0; i < judges.length; i++) { - if ((judges[i].viewAs || judges[i].name) == name) { - return true; - } - } - return false; - } - hasFriend() { - for (var i = 0; i < game.players.length; i++) { - if (game.players[i].isOut()) continue; - if (game.players[i] != this && get.attitude(game.players[i], this) > 0) { - return true; - } - } - return false; - } - hasUnknown(num) { - var mode = get.mode(); - if (typeof num != 'number') { - num = 0; - } - if (mode == 'identity' || mode == 'guozhan') { - for (var i = 0; i < game.players.length; i++) { - if (game.players[i].ai.shown == 0 && game.players[i] != this) { - num--; - if (num <= 0) { - return true; - } - } - } - } - return false; - } - isUnknown(player) { - var mode = get.mode(); - if (mode == 'identity' || mode == 'guozhan') { - if (this.ai.shown == 0 && this != player) { - return true; - } - } - return false; - } - hasWuxie(info) { - if (this.countCards('hs', 'wuxie')) return true; - var skills = this.getSkills('invisible').concat(lib.skill.global); - game.expandSkills(skills); - for (var i = 0; i < skills.length; i++) { - var ifo = get.info(skills[i]); - if (ifo.hiddenWuxie && info) { - if (typeof ifo.hiddenWuxie == 'function' && ifo.hiddenWuxie(this, info)) { - return true; - } - } - else if (ifo.viewAs && typeof ifo.viewAs != 'function' && ifo.viewAs.name == 'wuxie') { - if (!ifo.viewAsFilter || ifo.viewAsFilter(this)) { - return true; - } - } - else { - var hiddenCard = ifo.hiddenCard; - if (typeof hiddenCard == 'function' && hiddenCard(this, 'wuxie')) { - return true; - } - } - } - return false; - } - hasSha(respond, noauto) { - if (this.countCards('hs', 'sha')) return true; - if (this.countCards('hs', 'hufu')) return true; - if (!noauto && this.countCards('hs', 'yuchanqian')) return true; - if (this.hasSkillTag('respondSha', true, respond ? 'respond' : 'use', true)) return true; - return this.hasUsableCard('sha'); - } - hasShan() { - if (this.countCards('hs', 'shan')) return true; - if (this.countCards('hs', 'hufu')) return true; - if (this.hasSkillTag('respondShan', true, null, true)) return true; - return this.hasUsableCard('shan'); - } - mayHaveSha(viewer, type, ignore, rvt) { - /** - * type: skill tag type 'use', 'respond' - * ignore: ignore cards, ui.selected.cards added - * rvt: return value type 'count', 'odds', 'bool'(default) - */ - let count = 0; - if ((this.hp > 2 || !this.isZhu && this.hp > 1) && this.hasSkillTag('respondSha', true, type, true)) { - if (rvt === 'count') count++; - else return true; - } - if (get.itemtype(viewer) !== 'player') viewer = _status.event.player; - let cards, selected = get.copy(ui.selected.cards); - if (get.itemtype(ignore) === 'cards') selected.addArray(ignore); - else if (get.itemtype(ignore) === 'card') selected.add(ignore); - if (this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); - else cards = this.getShownCards(); - count += cards.filter(card => { - if (selected.includes(card)) return false; - let name = get.name(card, this); - if (name == 'sha' || name == 'hufu' || name == 'yuchanqian') { - if (type === 'use') return lib.filter.cardEnabled(card, this); - if (type === 'respond') return lib.filter.cardRespondable(card, this); - return true; - } - return false; - }).length; - if (count && rvt !== 'count') return true; - let hs = this.getCards('hs').filter(i => !cards.includes(i) && !selected.includes(i)).length; - if (!hs) { - if (rvt === 'count') return count; - return false; - } - if (rvt === 'count') { - if (this.isPhaseUsing()) return count + hs / 4; - return count + hs / 4.8; - } - if (this.isPhaseUsing()) count += Math.pow(2 + hs, 2) / 40; - else count += -1.5 * Math.log(1 - hs / 10); - if (rvt === 'odds') return Math.min(1, count); - return count > _status.event.getRand('mayHaveSha' + hs + this.playerid); - } - mayHaveShan(viewer, type, ignore, rvt) { - /** - * type: skill tag type 'use', 'respond' - * ignore: ignore cards, ui.selected.cards added - * rvt: return value type 'count', 'odds', 'bool'(default) - */ - let count = 0; - if ((this.hp > 2 || !this.isZhu && this.hp > 1) && this.hasSkillTag('respondShan', true, type, true)) { - if (rvt === 'count') count++; - else return true; - } - if (get.itemtype(viewer) !== 'player') viewer = _status.event.player; - let cards, selected = get.copy(ui.selected.cards); - if (get.itemtype(ignore) === 'cards') selected.addArray(ignore); - else if (get.itemtype(ignore) === 'card') selected.add(ignore); - if (this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); - else cards = this.getShownCards(); - count += cards.filter(card => { - if (selected.includes(card)) return false; - let name = get.name(card, this); - if (name === 'shan' || name === 'hufu') { - if (type === 'use') return lib.filter.cardEnabled(card, this, 'forceEnable'); - if (type === 'respond') return lib.filter.cardRespondable(card, this); - return true; - } - return false; - }).length; - if (count && rvt !== 'count') return true; - let hs = this.getCards('hs').filter(i => !cards.includes(i) && !selected.includes(i)).length; - if (!hs) { - if (rvt === 'count') return count; - return false; - } - if (rvt === 'count') { - if (this.isPhaseUsing()) return count + hs / 6; - return count + hs / 3.5; - } - if (this.isPhaseUsing()) count += -1.5 * Math.log(1 - hs / 10); - else count += 2 * hs / (5 + hs); - if (rvt === 'odds') return Math.min(1, count); - return count > _status.event.getRand('mayHaveShan' + hs + this.playerid); - } - hasCard(name, position) { - if (typeof name == 'function') { - var hs = this.getCards(position); - for (var i = 0; i < hs.length; i++) { - if (name(hs[i])) return true; - } - } - else { - if (this.countCards(position, name)) return true; - } - return false; - } - getEquip(name) { - var es = this.getCards('e'); - if (typeof name == 'object' && get.info(name)) { - name = get.info(name).subtype; - if (name) { - name = parseInt(name[5]); - } - } - else if (typeof name == 'string' && name.startsWith('equip') && name.length == 6) { - name = parseInt(name[5]); - } - if (!name) { - return null; - } - for (var i = 0; i < es.length; i++) { - if (typeof name === 'number') { - if (get.info(es[i]).subtype === 'equip' + name) { - return es[i]; - } - } - else { - if (es[i].name === name) return es[i]; - var source = get.info(es[i]).source; - if (Array.isArray(source) && source.contains(name)) { - return es[i]; - } - } - } - return null; - } - getJudge(name) { - var judges = this.node.judges.childNodes; - for (var i = 0; i < judges.length; i++) { - if (judges[i].classList.contains('removing')) continue; - if ((judges[i].viewAs || judges[i].name) == name) { - return judges[i]; - } - } - return null; - } - $drawAuto(cards, target) { - if (this.isUnderControl(true, target)) { - this.$draw(cards); - } - else { - this.$draw(cards.length); - } - } - $draw(num, init, config) { - if (init !== false && init !== 'nobroadcast') { - game.broadcast(function (player, num, init, config) { - player.$draw(num, init, config); - }, this, num, init, config); - } - var cards, node; - if (get.itemtype(num) == 'cards') { - cards = num; - num = cards.length; - } - else if (get.itemtype(num) == 'card') { - cards = [num]; - num = 1; - } - if (init !== false) { - if (cards) { - game.addVideo('drawCard', this, get.cardsInfo(cards)); - } - else { - game.addVideo('draw', this, num); - } - } - if (cards) { - cards = cards.slice(0); - node = cards.shift().copy('thrown', 'drawingcard'); - } - else { - node = ui.create.div('.card.thrown.drawingcard'); - } - node.fixed = true; - node.hide(); - - var dx, dy; - if (game.chess) { - var rect = this.getBoundingClientRect(); - - if (rect.left <= 80) { - dx = -10; - if (rect.top <= 80) { - dy = -10; - } - else if (rect.top + rect.height + 80 >= ui.chessContainer.offsetHeight) { - dy = 10; - } - else { - dy = 0; - } - } - else if (rect.left + rect.width + 80 >= ui.chessContainer.offsetWidth) { - dx = 10; - if (rect.top <= 80) { - dy = -10; - } - else if (rect.top + rect.height + 80 >= ui.chessContainer.offsetHeight) { - dy = 10; - } - else { - dy = 0; - } - } - else if (rect.top <= 80) { - dx = 0; - dy = -10; - } - else if (rect.top + rect.height + 80 >= ui.chessContainer.offsetHeight) { - dx = 0; - dy = 10; - } - else { - dx = rect.left + this.offsetWidth / 2 - ui.arena.offsetWidth / 2; - dy = rect.top + this.offsetHeight / 2 - ui.arena.offsetHeight / 2; - } - - var coeff = 240 / Math.sqrt(dx * dx + dy * dy); - dx *= coeff; - dy *= coeff; - - node.style.left = (this.getLeft() + this.offsetWidth / 2 - 52 - dx) + 'px'; - node.style.top = (this.getTop() + this.offsetHeight / 2 - 52 - dy) + 'px'; - this.parentNode.appendChild(node); - } - else { - this.parentNode.appendChild(node); - node.style.left = 'calc(50% - 52px)'; - node.style.top = 'calc(50% - 52px)'; - - dx = this.getLeft() + this.offsetWidth / 2 - 52 - node.offsetLeft; - dy = this.getTop() + this.offsetHeight / 2 - 52 - node.offsetTop; - - if (get.is.mobileMe(this)) { - dx += get.cardOffset(); - if (ui.arena.classList.contains('oblongcard')) { - dy -= 16; - } - } - } - node.style.transitionDuration = '0.8s'; - ui.refresh(node); - if (typeof num == 'number' && init !== false) { - config = { - total: num, - current: 1 - }; - } - if (config && config.total > 1) { - var total = config.total, current = config.current; - var dxtotal; - if (total <= 5) { - dxtotal = Math.min(80, (total - 1) * 20); - dx += -dxtotal + 2 * dxtotal * (current - 1) / (total - 1); - } - else { - var total2 = Math.floor(total / 2); - if (current <= total2) { - total = total2; - dy -= 20; - } - else { - current -= total2; - total -= total2; - dy += 20; - } - dxtotal = Math.min(80, (total - 1) * 20); - dx += -dxtotal + 2 * dxtotal * (current - 1) / (total - 1); - } - config.current++; - } - if (node.style.transform && node.style.transform != 'none' && node.style.transform.indexOf('translate') == -1) { - node.style.transform += ' translate(' + dx + 'px,' + dy + 'px)'; - } - else { - node.style.transform = 'translate(' + dx + 'px,' + dy + 'px)'; - } - node.show(); - - node.listenTransition(function () { - node.style.transitionDuration = '0.5s'; - ui.refresh(node); - node.delete(); - }); - var that = this; - if (num && num > 1) { - if (config && config.total > 1) { - setTimeout(function () { - if (cards) { - that.$draw(cards, false, config); - } - else { - that.$draw(num - 1, false, config); - } - }, 50); - } - else { - setTimeout(function () { - if (cards) { - that.$draw(cards, false, config); - } - else { - that.$draw(num - 1, false, config); - } - }, 200); - } - } - } - $compareMultiple(card1, targets, cards) { - game.broadcast(function (player, card1, targets, cards) { - player.$compareMultiple(card1, targets, cards); - }, this, card1, targets, cards); - game.addVideo('compareMultiple', this, [get.cardInfo(card1), get.targetsInfo(targets), get.cardsInfo(cards)]); - var player = this; - var node1 = player.$throwxy2(card1, - 'calc(50% - 52px)', 'calc(50% + 10px)', 'perspective(600px) rotateY(180deg)', true - ); - if (lib.config.cardback_style != 'default') { - node1.style.transitionProperty = 'none'; - ui.refresh(node1); - node1.classList.add('infohidden'); - ui.refresh(node1); - node1.style.transitionProperty = ''; - } - else { - node1.classList.add('infohidden'); - } - - node1.style.transform = 'perspective(600px) rotateY(180deg) translateX(0)'; - var onEnd01 = function () { - //node1.removeEventListener('webkitTransitionEnd',onEnd01); - setTimeout(function () { - node1.style.transition = 'all ease-in 0.3s'; - node1.style.transform = 'perspective(600px) rotateY(270deg) translateX(52px)'; - var onEnd = function () { - node1.classList.remove('infohidden'); - node1.style.transition = 'all 0s'; - ui.refresh(node1); - node1.style.transform = 'perspective(600px) rotateY(-90deg) translateX(52px)'; - ui.refresh(node1); - node1.style.transition = ''; - ui.refresh(node1); - node1.style.transform = ''; - //node1.removeEventListener('webkitTransitionEnd',onEnd); - }; - node1.listenTransition(onEnd); - }, 300); - }; - node1.listenTransition(onEnd01); - - setTimeout(function () { - var left0 = -targets.length * 52 - (targets.length - 1) * 8; - for (var i = 0; i < targets.length; i++) { - (function (target, card2, i) { - var left = left0 + i * 120; - var node2; - if (left < 0) { - node2 = target.$throwxy2(card2, - 'calc(50% - ' + (-left) + 'px)', 'calc(50% - 114px)', 'perspective(600px) rotateY(180deg)', true - ); - } - else { - node2 = target.$throwxy2(card2, - 'calc(50% + ' + left + 'px)', 'calc(50% - 114px)', 'perspective(600px) rotateY(180deg)', true - ); - } - if (lib.config.cardback_style != 'default') { - node2.style.transitionProperty = 'none'; - ui.refresh(node2); - node2.classList.add('infohidden'); - ui.refresh(node2); - node2.style.transitionProperty = ''; - } - else { - node2.classList.add('infohidden'); - } - node2.style.transform = 'perspective(600px) rotateY(180deg) translateX(0)'; - var onEnd02 = function () { - //node2.removeEventListener('webkitTransitionEnd',onEnd02); - setTimeout(function () { - node2.style.transition = 'all ease-in 0.3s'; - node2.style.transform = 'perspective(600px) rotateY(270deg) translateX(52px)'; - var onEnd = function () { - node2.classList.remove('infohidden'); - node2.style.transition = 'all 0s'; - ui.refresh(node2); - node2.style.transform = 'perspective(600px) rotateY(-90deg) translateX(52px)'; - ui.refresh(node2); - node2.style.transition = ''; - ui.refresh(node2); - node2.style.transform = ''; - //node2.removeEventListener('webkitTransitionEnd',onEnd); - }; - node2.listenTransition(onEnd); - }, 200); - }; - node2.listenTransition(onEnd02); - }(targets[i], cards[i], i)); - } - }, 200); - } - $compare(card1, target, card2) { - game.broadcast(function (player, target, card1, card2) { - player.$compare(card1, target, card2); - }, this, target, card1, card2); - game.addVideo('compare', this, [get.cardInfo(card1), target.dataset.position, get.cardInfo(card2)]); - var player = this; - var node1 = player.$throwxy2(card1, - 'calc(50% - 114px)', 'calc(50% - 52px)', 'perspective(600px) rotateY(180deg)', true - ); - if (lib.config.cardback_style != 'default') { - node1.style.transitionProperty = 'none'; - ui.refresh(node1); - node1.classList.add('infohidden'); - ui.refresh(node1); - node1.style.transitionProperty = ''; - } - else { - node1.classList.add('infohidden'); - } - - node1.style.transform = 'perspective(600px) rotateY(180deg) translateX(0)'; - var onEnd01 = function () { - //node1.removeEventListener('webkitTransitionEnd',onEnd01); - setTimeout(function () { - node1.style.transition = 'all ease-in 0.3s'; - node1.style.transform = 'perspective(600px) rotateY(270deg) translateX(52px)'; - var onEnd = function () { - node1.classList.remove('infohidden'); - node1.style.transition = 'all 0s'; - ui.refresh(node1); - node1.style.transform = 'perspective(600px) rotateY(-90deg) translateX(52px)'; - ui.refresh(node1); - node1.style.transition = ''; - ui.refresh(node1); - node1.style.transform = ''; - //node1.removeEventListener('webkitTransitionEnd',onEnd); - }; - node1.listenTransition(onEnd); - }, 300); - }; - node1.listenTransition(onEnd01); - setTimeout(function () { - var node2 = target.$throwxy2(card2, - 'calc(50% + 10px)', 'calc(50% - 52px)', 'perspective(600px) rotateY(180deg)', true - ); - if (lib.config.cardback_style != 'default') { - node2.style.transitionProperty = 'none'; - ui.refresh(node2); - node2.classList.add('infohidden'); - ui.refresh(node2); - node2.style.transitionProperty = ''; - } - else { - node2.classList.add('infohidden'); - } - node2.style.transform = 'perspective(600px) rotateY(180deg) translateX(0)'; - var onEnd02 = function () { - //node2.removeEventListener('webkitTransitionEnd',onEnd02); - setTimeout(function () { - node2.style.transition = 'all ease-in 0.3s'; - node2.style.transform = 'perspective(600px) rotateY(270deg) translateX(52px)'; - var onEnd = function () { - node2.classList.remove('infohidden'); - node2.style.transition = 'all 0s'; - ui.refresh(node2); - node2.style.transform = 'perspective(600px) rotateY(-90deg) translateX(52px)'; - ui.refresh(node2); - node2.style.transition = ''; - ui.refresh(node2); - node2.style.transform = ''; - //node2.removeEventListener('webkitTransitionEnd',onEnd); - }; - node2.listenTransition(onEnd); - }, 200); - }; - node2.listenTransition(onEnd02); - }, 200); - } - $throw(card, time, init, nosource) { - if (typeof card == 'number') { - var tmp = card; - card = []; - while (tmp--) { - var cardx = ui.create.card(); - cardx.classList.add('infohidden'); - cardx.classList.add('infoflip'); - card.push(cardx); - } - } - if (init !== false) { - if (init !== 'nobroadcast') { - game.broadcast(function (player, card, time, init, nosource) { - player.$throw(card, time, init, nosource); - }, this, card, time, init); - } - if (get.itemtype(card) != 'cards') { - if (get.itemtype(card) == 'card') { - card = [card]; - } - else { - return; - } - } - game.addVideo('throw', this, [get.cardsInfo(card), time, nosource]); - } - if (game.chess) { - this.chessFocus(); - } - if (get.itemtype(card) == 'cards') { - var node; - for (var i = 0; i < card.length; i++) { - node = this.$throw(card[i], time, false, nosource); - } - return node; - } - else { - var node; - if (card == undefined || card.length == 0) return; - node = this.$throwordered(card.copy('thrown'), nosource); - if (time != undefined) { - node.fixed = true; - setTimeout(function () { node.delete(); }, time); - } - lib.listenEnd(node); - return node; - } - } - $throwordered() { - return this.$throwordered2.apply(this, arguments); - // if(lib.config.low_performance){ - // return this.$throwordered2.apply(this,arguments); - // } - // else{ - // return this.$throwordered1.apply(this,arguments); - // } - } - $throwordered1(node, nosource) { - node.classList.add('thrown'); - node.hide(); - node.style.transitionProperty = 'left,top,opacity,transform'; - for (var i = 0; i < ui.thrown.length; i++) { - if (ui.thrown[i].parentNode != ui.arena || - ui.thrown[i].classList.contains('removing')) { - ui.thrown.splice(i--, 1); - } - } - ui.thrown.push(node); - var uithrowns = ui.thrown.slice(0); - var tops; - if (game.chess) { - switch (Math.floor((ui.thrown.length - 1) / 4)) { - case 0: - tops = ['calc(50% - 82px)']; - break; - case 1: - tops = ['calc(50% - 139px)', 'calc(50% - 25px)']; - break; - case 2: - tops = ['calc(50% - 196px)', 'calc(50% - 82px)', 'calc(50% + 32px)']; - break; - default: - tops = ['calc(50% - 253px)', 'calc(50% - 139px)', - 'calc(50% - 25px)', 'calc(50% + 89px)']; - } - } - else { - switch (Math.floor((ui.thrown.length - 1) / 4)) { - case 0: - tops = ['calc(50% - 52px)']; - break; - case 1: - tops = ['calc(50% - 109px)', 'calc(50% + 5px)']; - break; - case 2: - tops = ['calc(50% - 166px)', 'calc(50% - 52px)', 'calc(50% + 62px)']; - break; - default: - tops = ['calc(50% - 223px)', 'calc(50% - 109px)', - 'calc(50% + 5px)', 'calc(50% + 119px)']; - } - } - while (uithrowns.length) { - var throwns = uithrowns.splice(0, Math.min(uithrowns.length, 4)); - switch (throwns.length) { - case 1: - throwns[0].style.left = 'calc(50% - 52px)'; - break; - case 2: - throwns[0].style.left = 'calc(50% - 109px)'; - throwns[1].style.left = 'calc(50% + 5px)'; - break; - case 3: - throwns[0].style.left = 'calc(50% - 166px)'; - throwns[1].style.left = 'calc(50% - 52px)'; - throwns[2].style.left = 'calc(50% + 62px)'; - break; - case 4: - throwns[0].style.left = 'calc(50% - 223px)'; - throwns[1].style.left = 'calc(50% - 109px)'; - throwns[2].style.left = 'calc(50% + 5px)'; - throwns[3].style.left = 'calc(50% + 119px)'; - break; - } - var top; - if (tops.length) { - top = tops.shift(); - } - else { - if (game.chess) { - top = 'calc(50% - 82px)'; - } - else { - top = 'calc(50% - 52px)'; - } - } - for (var i = 0; i < throwns.length; i++) { - throwns[i].style.top = top; - } - } - if (nosource) { - node.style.transform = 'scale(0)'; - node.classList.add('center'); - } - else { - var parseCalc = function (str) { - var per = str.slice(str.indexOf('calc(') + 5, str.indexOf('%')); - var add = str.slice(str.indexOf('%') + 1, str.indexOf('px')).replace(/\s/g, ''); - return [parseInt(per), parseInt(add)]; - }; - var nx = parseCalc(node.style.left); - var ny = parseCalc(node.style.top); - nx = nx[0] * ui.arena.offsetWidth / 100 + nx[1]; - ny = ny[0] * ui.arena.offsetHeight / 100 + ny[1]; - var dx, dy; - if (game.chess) { - var rect = this.getBoundingClientRect(); - dx = rect.left + this.offsetWidth / 2 - 52 - nx; - dy = rect.top + this.offsetHeight / 2 - 52 - ny; - } - else { - dx = this.getLeft() + this.offsetWidth / 2 - 52 - nx; - dy = this.getTop() + this.offsetHeight / 2 - 52 - ny; - if (get.is.mobileMe(this)) { - dx += get.cardOffset(); - if (ui.arena.classList.contains('oblongcard')) { - dy -= 16; - } - } - } - if (node.style.transform && node.style.transform != 'none' && node.style.transform.indexOf('translate') == -1) { - node.style.transform += ' translate(' + dx + 'px,' + dy + 'px)'; - } - else { - node.style.transform = 'translate(' + dx + 'px,' + dy + 'px)'; - } - } - ui.arena.appendChild(node); - ui.refresh(node); - node.style.transform = ''; - node.show(); - lib.listenEnd(node); - return node; - } - $throwordered2(node, nosource) { - node.classList.add('thrown'); - node.classList.add('center'); - node.hide(); - node.style.transitionProperty = 'left,top,opacity,transform'; - - if (nosource) { - // node.style.transform='scale(0)'; - } - else { - var nx = [50, -52]; - var ny = [50, -52]; - nx = nx[0] * ui.arena.offsetWidth / 100 + nx[1]; - ny = ny[0] * ui.arena.offsetHeight / 100 + ny[1]; - var dx, dy; - if (game.chess) { - var rect = this.getBoundingClientRect(); - dx = rect.left + this.offsetWidth / 2 - 52 - nx; - dy = rect.top + this.offsetHeight / 2 - 52 - ny; - } - else { - dx = this.getLeft() + this.offsetWidth / 2 - 52 - nx; - dy = this.getTop() + this.offsetHeight / 2 - 52 - ny; - if (get.is.mobileMe(this)) { - dx += get.cardOffset(); - if (ui.arena.classList.contains('oblongcard')) { - dy -= 16; - } - } - } - if (node.style.transform && node.style.transform != 'none' && node.style.transform.indexOf('translate') == -1) { - node.style.transform += ' translate(' + dx + 'px,' + dy + 'px)'; - } - else { - node.style.transform = 'translate(' + dx + 'px,' + dy + 'px)'; - } - } - ui.arena.appendChild(node); - ui.refresh(node); - - for (var i = 0; i < ui.thrown.length; i++) { - if (ui.thrown[i].parentNode != ui.arena || - ui.thrown[i].classList.contains('removing')) { - ui.thrown.splice(i--, 1); - } - } - ui.thrown.push(node); - var uithrowns = ui.thrown.slice(0); - var tops; - switch (Math.floor((ui.thrown.length - 1) / 4)) { - case 0: - tops = [0]; - break; - case 1: - tops = [-57, 57]; - break; - case 2: - tops = [-114, 0, 114]; - break; - default: - tops = [-171, -57, 57, 171]; - } - while (uithrowns.length) { - var throwns = uithrowns.splice(0, Math.min(uithrowns.length, 4)); - switch (throwns.length) { - case 1: - throwns[0]._transthrown = 'translate(0px,'; - break; - case 2: - throwns[0]._transthrown = 'translate(-57px,'; - throwns[1]._transthrown = 'translate(57px,'; - break; - case 3: - throwns[0]._transthrown = 'translate(-114px,'; - throwns[1]._transthrown = 'translate(0,'; - throwns[2]._transthrown = 'translate(114px,'; - break; - case 4: - throwns[0]._transthrown = 'translate(-171px,'; - throwns[1]._transthrown = 'translate(-57px,'; - throwns[2]._transthrown = 'translate(57px,'; - throwns[3]._transthrown = 'translate(171px,'; - break; - } - var top; - if (tops.length) { - top = tops.shift(); - } - else { - top = 0; - } - if (game.chess) { - top -= 30; - } - for (var i = 0; i < throwns.length; i++) { - throwns[i].style.transform = throwns[i]._transthrown + top + 'px)'; - delete throwns[i]._transthrown; - } - } - - node.show(); - lib.listenEnd(node); - return node; - } - $throwxy(card, left, top) { - var node = card.copy('thrown', 'thrownhighlight'); - node.dataset.position = this.dataset.position; - node.hide(); - node.style.transitionProperty = 'left,top,opacity'; - - ui.arena.appendChild(node); - ui.refresh(node); - node.show(); - node.style.left = left; - node.style.top = top; - lib.listenEnd(node); - return node; - } - $throwxy2(card, left, top, trans, flipx, flipy) { - if (game.chess) { - return this.$throwxy.apply(this, arguments); - } - var node = card.copy('thrown', 'thrownhighlight'); - node.style.left = left; - node.style.top = top; - node.hide(); - // node.style.transitionProperty='left,top,opacity,transform'; - - var parseCalc = function (str) { - var per = str.slice(str.indexOf('calc(') + 5, str.indexOf('%')); - var add = str.slice(str.indexOf('%') + 1, str.indexOf('px')).replace(/\s/g, ''); - return [parseInt(per), parseInt(add)]; - }; - var nx = parseCalc(node.style.left); - var ny = parseCalc(node.style.top); - nx = nx[0] * ui.arena.offsetWidth / 100 + nx[1]; - ny = ny[0] * ui.arena.offsetHeight / 100 + ny[1]; - var dx = this.getLeft() + this.offsetWidth / 2 - 52 - nx; - var dy = this.getTop() + this.offsetHeight / 2 - 52 - ny; - if (flipx) dx = -dx; - if (flipy) dy = -dy; - if (trans) { - node.style.transform = trans + ' translate(' + dx + 'px,' + dy + 'px)'; - } - else { - node.style.transform = 'translate(' + dx + 'px,' + dy + 'px)'; - } - - ui.arena.appendChild(node); - ui.refresh(node); - node.show(); - // node.style.transform=trans||''; - lib.listenEnd(node); - return node; - } - throwDice(num) { - if (typeof num != 'number') { - num = get.rand(6) + 1; - _status.event.num = num; - } - if (!game.online) { - game.pause(); - } - game.broadcastAll(function (num) { - var diceContainer = ui.create.div('.fullsize.dice-container', ui.window); - ui.window.classList.add('dicepaused'); - var dice = ui.create.div('.dice'); - var side; - - side = ui.create.div('.side.front', dice); - ui.create.div('.dot.center', side); - ui.create.div('.side.front.inner', dice); - - side = ui.create.div('.side.top', dice); - ui.create.div('.dot.dtop.dleft', side); - ui.create.div('.dot.dbottom.dright', side); - ui.create.div('.side.top.inner', dice); - - side = ui.create.div('.side.right', dice); - ui.create.div('.dot.dtop.dleft', side); - ui.create.div('.dot.center', side); - ui.create.div('.dot.dbottom.dright', side); - ui.create.div('.side.right.inner', dice); - - side = ui.create.div('.side.left', dice); - ui.create.div('.dot.dtop.dleft', side); - ui.create.div('.dot.dtop.dright', side); - ui.create.div('.dot.dbottom.dleft', side); - ui.create.div('.dot.dbottom.dright', side); - ui.create.div('.side.left.inner', dice); - - side = ui.create.div('.side.bottom', dice); - ui.create.div('.dot.center', side); - ui.create.div('.dot.dtop.dleft', side); - ui.create.div('.dot.dtop.dright', side); - ui.create.div('.dot.dbottom.dleft', side); - ui.create.div('.dot.dbottom.dright', side); - ui.create.div('.side.bottom.inner', dice); - - side = ui.create.div('.side.back', dice); - ui.create.div('.dot.dtop.dleft', side); - ui.create.div('.dot.dtop.dright', side); - ui.create.div('.dot.dbottom.dleft', side); - ui.create.div('.dot.dbottom.dright', side); - ui.create.div('.dot.center dleft', side); - ui.create.div('.dot.center dright', side); - ui.create.div('.side.back.inner', dice); - - ui.create.div('.side.cover.x', dice); - ui.create.div('.side.cover.y', dice); - ui.create.div('.side.cover.z', dice); - - var map = { - 1: [75, 0, 45], - 2: [-15, 45, 0], - 3: [165, -45, 90], - 4: [345, -45, 90], - 5: [345, -45, 180], - 6: [255, 0, 135] - }; - dice.roll = function (deg) { - if (typeof deg == 'number') { - dice.current[0] += deg; - deg = dice.current; - } - deg = deg.slice(0); - dice.current = deg; - this.style.transform = 'rotateX(' + deg[0] + 'deg) rotateY(' + deg[1] + 'deg) rotateZ(' + deg[2] + 'deg)'; - }; - dice.roll(map[num]); - diceContainer.appendChild(dice); - ui.refresh(dice); - dice.roll(1025); - - dice.addEventListener('webkitTransitionEnd', function () { - if (!dice.over) { - dice.style.transition = 'transform 0.8s ease'; - dice.roll(-20); - dice.over = true; - } - else if (!dice.resumed) { - setTimeout(function () { - diceContainer.delete(); - ui.window.classList.remove('dicepaused'); - }, 300); - if (!game.online) { - setTimeout(game.resume, 800); - } - dice.resumed = true; - } - }); - }, num); - } - $giveAuto(card, player) { - if (Array.isArray(card) && card.length == 0) return; - var args = Array.from(arguments); - if (_status.connectMode || (!this.isUnderControl(true) && !player.isUnderControl(true))) { - if (Array.isArray(card)) { - card = card.length; - } - else { - card = 1; - } - args[0] = card; - } - return this.$give.apply(this, args); - } - $give(card, player, log, init) { - if (init !== false) { - game.broadcast(function (source, card, player, init) { - source.$give(card, player, false, init); - }, this, card, player, init); - if (typeof card == 'number' && card >= 0) { - game.addVideo('give', this, [card, player.dataset.position]); - } - else { - if (get.itemtype(card) == 'card') { - card = [card]; - } - if (get.itemtype(card) == 'cards') { - game.addVideo('giveCard', this, [get.cardsInfo(card), player.dataset.position]); - } - } - } - if (get.itemtype(card) == 'cards') { - if (log != false && !_status.video) { - game.log(player, '从', this, '获得了', card); - } - if (this.$givemod) { - this.$givemod(card, player); - } - else { - for (var i = 0; i < card.length; i++) { - this.$give(card[i], player, false, false); - } - } - } - else if (typeof card == 'number' && card >= 0) { - if (log != false && !_status.video) { - game.log(player, '从', this, '获得了' + get.cnNumber(card) + '张牌'); - } - if (this.$givemod) { - this.$givemod(card, player); - } - else { - while (card--) this.$give('', player, false, false); - } - } - else { - if (log != false && !_status.video) { - if (get.itemtype(card) == 'card' && log != false) { - game.log(player, '从', this, '获得了', card); - } - else { - game.log(player, '从', this, '获得了一张牌'); - } - } - if (this.$givemod) { - this.$givemod(card, player); - } - else { - var node; - if (get.itemtype(card) == 'card') { - node = card.copy('card', 'thrown', false); - } - else { - node = ui.create.div('.card.thrown'); - } - // node.dataset.position=this.dataset.position; - node.fixed = true; - this.$throwordered(node); - // lib.listenEnd(node); - // node.hide(); - // node.style.transitionProperty='left,top,opacity'; - // - // node.style.transform='rotate('+(Math.random()*16-8)+'deg)'; - // - // ui.arena.appendChild(node); - // ui.refresh(node); - // node.show(); - // node.style.left='calc(50% - 52px '+((Math.random()-0.5<0)?'+':'-')+' '+Math.random()*100+'px)'; - // node.style.top='calc(50% - 52px '+((Math.random()-0.5<0)?'+':'-')+' '+Math.random()*80+'px)'; - - node.listenTransition(function () { - var dx = player.getLeft() + player.offsetWidth / 2 - 52 - node.offsetLeft; - var dy = player.getTop() + player.offsetHeight / 2 - 52 - node.offsetTop; - if (node.style.transform && node.style.transform != 'none' && node.style.transform.indexOf('translate') == -1) { - node.style.transform += ' translate(' + dx + 'px,' + dy + 'px)'; - } - else { - node.style.transform = 'translate(' + dx + 'px,' + dy + 'px)'; - } - - node.delete(); - }); - // setTimeout(function(){ - // // node.removeAttribute('style'); - // // node.dataset.position=player.dataset.position; - // var dx=player.offsetLeft+player.offsetWidth/2-52-node.offsetLeft; - // var dy=player.offsetTop+player.offsetHeight/2-52-node.offsetTop; - // if(node.style.transform&&node.style.transform!='none'&&node.style.transform.indexOf('translate')==-1){ - // node.style.transform+=' translate('+dx+'px,'+dy+'px)'; - // } - // else{ - // node.style.transform='translate('+dx+'px,'+dy+'px)'; - // } - // - // node.delete(); - // },700); - } - } - } - $equip(card) { - game.broadcast(function (player, card) { - player.$equip(card); - }, this, card); - card.fix(); - card.style.transform = ''; - card.classList.remove('drawinghidden'); - delete card._transform; - var player = this; - var equipNum = get.equipNum(card); - var equipped = false; - for (var i = 0; i < player.node.equips.childNodes.length; i++) { - if (get.equipNum(player.node.equips.childNodes[i]) >= equipNum) { - player.node.equips.insertBefore(card, player.node.equips.childNodes[i]); - equipped = true; - break; - } - } - if (!equipped) { - player.node.equips.appendChild(card); - if (_status.discarded) { - _status.discarded.remove(card); - } - } - var info = get.info(card); - if (info.skills) { - for (var i = 0; i < info.skills.length; i++) { - player.addSkillTrigger(info.skills[i]); - } - } - return player; - } - $gain(card, log, init) { - if (init !== false) { - game.broadcast(function (player, card, init) { - player.$gain(card, false, init); - }, this, card, init); - if (typeof card == 'number' && card >= 0) { - game.addVideo('gain', this, card); - } - else { - if (get.itemtype(card) == 'card') { - card = [card]; - } - if (get.itemtype(card) == 'cards') { - game.addVideo('gainCard', this, get.cardsInfo(card)); - } - else { - game.addVideo('gain', this, 1); - } - } - } - if (get.itemtype(card) == 'cards') { - if (log != false && !_status.video) { - game.log(this, '获得了', card); - } - if (this.$gainmod) { - this.$gainmod(card); - } - else { - for (var i = 0; i < card.length; i++) { - this.$gain(card[i], false, false); - } - } - } - else if (typeof card == 'number' && card > 1) { - if (log != false && !_status.video) { - game.log(this, '获得了' + get.cnNumber(card) + '张牌'); - } - if (this.$gainmod) { - this.$gainmod(card); - } - else { - for (var i = 0; i < card; i++) { - this.$gain(1, false, false); - } - } - } - else { - if (get.itemtype(card) == 'card' && log != false && !_status.video) { - game.log(this, '获得了', card); - } - if (this.$gainmod) { - this.$gainmod(card); - } - else { - var node; - if (get.itemtype(card) == 'card') { - // node=this.$throwordered(card.copy(),true); - node = card.copy('thrown', false); - } - else { - // node=this.$throwordered(ui.create.div('.card.thrown'),true); - node = ui.create.div('.card.thrown'); - node.moveTo = lib.element.Card.prototype.moveTo; - node.moveDelete = lib.element.Card.prototype.moveDelete; - } - node.fixed = true; - node.style.left = 'calc(50% - 52px ' + ((Math.random() - 0.5 < 0) ? '+' : '-') + ' ' + Math.random() * 100 + 'px)'; - node.style.top = 'calc(50% - 52px ' + ((Math.random() - 0.5 < 0) ? '+' : '-') + ' ' + Math.random() * 100 + 'px)'; - node.style.transform = 'scale(0)'; - node.hide(); - ui.arena.appendChild(node); - ui.refresh(node); - node.show(); - node.style.transform = ''; - - lib.listenEnd(node); - var player = this; - setTimeout(function () { - node.moveDelete(player); - }, 700); - } - } - } - $gain2(cards, log) { - if (log === true) { - game.log(this, '获得了', cards); - } - game.broadcast(function (player, cards) { - player.$gain2(cards); - }, this, cards); - if (get.itemtype(cards) == 'card') cards = [cards]; - else if (get.itemtype(cards) != 'cards') return; - var list = [], list2 = []; - for (var i = 0; i < cards.length; i++) { - if (cards[i].clone && - (cards[i].clone.parentNode == this.parentNode || - cards[i].clone.parentNode == ui.arena) && - parseFloat(getComputedStyle(cards[i].clone).opacity) > 0.3) { - cards[i].clone.moveDelete(this); - list2.push(cards[i].clone); - } - else { - list.push(cards[i]); - } - } - if (list2.length) { - game.addVideo('gain2', this, get.cardsInfo(list2)); - } - if (list.length) { - this.$draw(list, 'nobroadcast'); - return true; - } - } - $skill(name, type, color, avatar) { - if (typeof type != 'string') type = 'legend'; - if (!avatar) { - this.playerfocus(1500); - game.delay(2); - } - else { - game.addVideo('playerfocus2'); - game.broadcastAll(function () { - ui.arena.classList.add('playerfocus'); - setTimeout(function () { - ui.arena.classList.remove('playerfocus'); - }, 1800); - }); - game.delay(3); - } - var that = this; - setTimeout(function () { - game.broadcastAll(function (that, type, name, color, avatar) { - if (lib.config.animation && !lib.config.low_performance) { - if (game.chess) { - that['$' + type + '2'](1200); - } - else { - that['$' + type](1200); - } - } - if (name) { - that.$fullscreenpop(name, color, avatar); - } - }, that, type, name, color, avatar); - }, avatar ? 0 : 300); - } - $fire() { - game.addVideo('flame', this, 'fire'); - var left, top; - if (game.chess) { - var rect = this.getBoundingClientRect(); - left = rect.left; - top = rect.top; - } - else { - left = this.getLeft(); - top = this.getTop(); - } - game.animate.flame(left + this.offsetWidth / 2, - top + this.offsetHeight - 20, 700, 'fire'); - } - $thunder() { - game.addVideo('flame', this, 'thunder'); - var left, top; - if (game.chess) { - var rect = this.getBoundingClientRect(); - left = rect.left; - top = rect.top; - } - else { - left = this.getLeft(); - top = this.getTop(); - } - game.animate.flame(left + this.offsetWidth / 2, - top + this.offsetHeight - 30, 700, 'thunder'); - } - $rare2() { - game.addVideo('flame', this, 'rare2'); - var rect = this.getBoundingClientRect(); - var left = rect.left; - var top = rect.top + 15; - game.animate.flame(left + this.offsetWidth / 2, - top + this.offsetHeight - 30, 700, 'rare'); - } - $epic2() { - game.addVideo('flame', this, 'epic2'); - var rect = this.getBoundingClientRect(); - var left = rect.left; - var top = rect.top + 15; - game.animate.flame(left + this.offsetWidth / 2, - top + this.offsetHeight - 30, 700, 'epic'); - } - $legend2() { - game.addVideo('flame', this, 'legend2'); - var rect = this.getBoundingClientRect(); - var left = rect.left; - var top = rect.top + 15; - game.animate.flame(left + this.offsetWidth / 2, - top + this.offsetHeight - 30, 700, 'legend'); - } - $rare(time) { - time = time || 700; - game.addVideo('flame', this, 'rare'); - var left, top; - if (game.chess) { - left = this.getLeft() - ui.arena.offsetLeft; - top = this.getTop() - ui.arena.offsetTop; - } - else { - left = this.getLeft(); - top = this.getTop(); - } - if (this.classList.contains('minskin')) { - top += 15; - } - game.animate.flame(left + this.offsetWidth / 2, - top + this.offsetHeight - 30, time, 'rare'); - } - $epic(time) { - time = time || 700; - game.addVideo('flame', this, 'epic'); - var left, top; - if (game.chess) { - left = this.getLeft() - ui.arena.offsetLeft; - top = this.getTop() - ui.arena.offsetTop; - } - else { - left = this.getLeft(); - top = this.getTop(); - } - if (this.classList.contains('minskin')) { - top += 15; - } - game.animate.flame(left + this.offsetWidth / 2, - top + this.offsetHeight - 30, time, 'epic'); - } - $legend(time) { - time = time || 700; - game.addVideo('flame', this, 'legend'); - var left, top; - if (game.chess) { - left = this.getLeft() - ui.arena.offsetLeft; - top = this.getTop() - ui.arena.offsetTop; - } - else { - left = this.getLeft(); - top = this.getTop(); - } - if (this.classList.contains('minskin')) { - top += 15; - } - game.animate.flame(left + this.offsetWidth / 2, - top + this.offsetHeight - 30, time, 'legend'); - } - $coin() { - game.broadcast(function (player) { - if (!lib.config.low_performance) { - player.$coin(); - } - }, this); - game.addVideo('flame', this, 'coin'); - var left = this.getLeft() - ui.arena.offsetLeft; - var top = this.getTop() - ui.arena.offsetTop; - if (this.classList.contains('minskin')) { - top += 15; - } - top -= 25; - game.animate.flame(left + this.offsetWidth / 2, - top + this.offsetHeight - 30, 700, 'coin'); - } - $dust() { - game.broadcast(function (player) { - if (!lib.config.low_performance) { - player.$dust(); - } - }, this); - game.addVideo('flame', this, 'dust'); - var left = this.getLeft() - ui.arena.offsetLeft; - var top = this.getTop() - ui.arena.offsetTop; - if (this.classList.contains('minskin')) { - top += 15; - } - top -= 25; - game.animate.flame(left + this.offsetWidth / 2, - top + this.offsetHeight - 30, 700, 'dust'); - } - $recover() { - game.addVideo('flame', this, 'recover'); - var left, top; - if (game.chess) { - var rect = this.getBoundingClientRect(); - left = rect.left; - top = rect.top; - } - else { - left = this.getLeft(); - top = this.getTop(); - } - game.animate.flame(left + this.offsetWidth / 2, - top + this.offsetHeight - 30, 700, 'recover'); - } - $fullscreenpop(str, nature, avatar, broadcast) { - if (broadcast !== false) game.broadcast(function (player, str, nature, avatar) { - player.$fullscreenpop(str, nature, avatar); - }, this, str, nature, avatar); - game.addVideo('fullscreenpop', this, [str, nature, avatar]); - var node = ui.create.div('.damage'); - if (avatar && this.node) { - if (avatar == 'vice') { - if (lib.character[this.name2]) { - avatar = this.node.avatar2; - } - } - else { - if (lib.character[this.name]) { - avatar = this.node.avatar; - } - } - if (!get.is.div(avatar)) { - avatar = false; - } - } - else { - avatar = false; - } - if (avatar) { - node.classList.add('fullscreenavatar'); - ui.create.div('', ui.create.div(node)); - // ui.create.div('',str.split('').join('
    '),ui.create.div('.text.textbg',node)); - ui.create.div('', '
    ' + str.split('').join('

    ') + '
    ', ui.create.div('.text', node)); - node.firstChild.firstChild.style.backgroundImage = avatar.style.backgroundImage; - node.dataset.nature = nature || 'unknown'; - var num = 0; - var nodes = node.lastChild.firstChild.querySelectorAll('div'); - var interval = setInterval(function () { - if (num < nodes.length) { - nodes[num].classList.add('flashtext'); - num++; - } - else { - clearInterval(interval); - } - }, 100); - } - else { - avatar = false; - node.innerHTML = str; - node.dataset.nature = nature || 'soil'; - } - if (avatar) { - var rect1 = ui.window.getBoundingClientRect(); - var rect2 = this.getBoundingClientRect(); - var dx = Math.round(2 * rect2.left + rect2.width - rect1.width); - var dy = Math.round(2 * rect2.top + rect2.height - rect1.height); - node.style.transform = 'scale(0.5) translate(' + dx + 'px,' + dy + 'px)'; - } - ui.window.appendChild(node); - ui.refresh(node); - if (avatar) { - node.style.transform = 'scale(1)'; - node.style.opacity = 1; - } - else { - node.classList.add('damageadded'); - } - setTimeout(function () { - node.delete(); - node.style.transform = 'scale(1.5)'; - }, avatar ? 1600 : 1000); - } - $damagepop(num, nature, font, nobroadcast) { - if (typeof num == 'number' || typeof num == 'string') { - game.addVideo('damagepop', this, [num, nature, font]); - if (nobroadcast !== false) game.broadcast(function (player, num, nature, font) { - player.$damagepop(num, nature, font); - }, this, num, nature, font); - var node = ui.create.div('.damage'); - if (font) { - node.classList.add('normal-font'); - } - if (typeof num == 'number' && num > 0) { - if (num == Infinity) num = '+∞'; - else num = '+' + num; - } - else if (num == -Infinity) num = '-∞'; - node.innerHTML = num; - this.damagepopups.push(node); - node.dataset.nature = nature || 'soil'; - if (this.damagepopups.length == 1) { - this.$damagepop(); - } - } - else if (this.damagepopups.length) { - var node = this.damagepopups[0]; - this.appendChild(node); - ui.refresh(node); - node.classList.add('damageadded'); - node.listenTransition(function () { - setTimeout(function () { - node.delete(); - }, 200); - }); - // setTimeout(function(){ - // node.delete(); - // },500); - var that = this; - setTimeout(function () { - that.damagepopups.shift(); - that.$damagepop(); - }, 500); - } - } - $damage(source) { - if (get.itemtype(source) == 'player') { - game.addVideo('damage', this, source.dataset.position); - } - else { - game.addVideo('damage', this); - } - game.broadcast(function (player, source) { - player.$damage(source); - }, this, source); - if (source && source != this && lib.config.damage_shake) { - var left, top; - if (source.getTop() == this.getTop()) { - left = 20; - top = 0; - } - else { - var ratio = (source.getLeft() - this.getLeft()) / (source.getTop() - this.getTop()); - left = Math.abs(20 * ratio / Math.sqrt(1 + ratio * ratio)); - top = Math.abs(20 / Math.sqrt(1 + ratio * ratio)); - } - if (source.getLeft() - this.getLeft() > 0) left = -left; - if (source.getTop() - this.getTop() > 0) top = -top; - if (get.is.mobileMe(this)) { - if (this.classList.contains('linked')) { - this.node.avatar.style.transform = 'translate(' + left + 'px,' + top + 'px) rotate(-90deg)'; - this.node.avatar2.style.transform = 'translate(' + left + 'px,' + top + 'px) rotate(-90deg)'; - } - else { - this.node.avatar.style.transform = 'translate(' + left + 'px,' + top + 'px)'; - this.node.avatar2.style.transform = 'translate(' + left + 'px,' + top + 'px)'; - } - } - else if (this.classList.contains('linked') && get.is.newLayout()) { - this.style.transform = 'translate(' + left + 'px,' + top + 'px) rotate(-90deg)'; - } - else if (this._chesstransform) { - this.style.transform = 'translate(' + (left + this._chesstransform[0]) + 'px,' + (top + this._chesstransform[1]) + 'px)'; - } - else { - this.style.transform = 'translate(' + left + 'px,' + top + 'px)'; - } - } - else { - var zoom1 = 0.9, zoom2 = 0.95; - if (arguments[1] == 'phase') { - zoom1 = 1.05; - zoom2 = 1.05; - } - if (get.is.mobileMe(this)) { - if (this.classList.contains('linked')) { - this.node.avatar.style.transform = 'scale(' + zoom1 + ') rotate(-90deg)'; - this.node.avatar2.style.transform = 'scale(' + zoom1 + ') rotate(-90deg)'; - } - else { - this.node.avatar.style.transform = 'scale(' + zoom1 + ')'; - this.node.avatar2.style.transform = 'scale(' + zoom1 + ')'; - } - } - else if (this.classList.contains('linked') && get.is.newLayout()) { - this.style.transform = 'scale(' + zoom2 + ') rotate(-90deg)'; - } - else if (game.chess && this._chesstransform) { - this.style.transform = 'translate(' + this._chesstransform[0] + 'px,' + this._chesstransform[1] + 'px) scale(' + zoom2 + ')'; - } - else { - this.style.transform = 'scale(' + zoom2 + ')'; - } - } - this.queue(); - } - $die() { - game.addVideo('die', this); - game.broadcast(function (player) { - player.$die(); - }, this); - if (lib.config.die_move != 'off') { - this.$dieflip(lib.config.die_move); - } - if (this.$dieAfter) { - this.$dieAfter(); - } - } - $dieflip(type) { - var top0 = ui.window.offsetHeight / 2; - var left0 = ui.window.offsetWidth / 2; - var ratio = (left0 - this.getLeft()) / (top0 - this.getTop()); - var left = Math.abs(50 * ratio / Math.sqrt(1 + ratio * ratio)); - var top = Math.abs(50 / Math.sqrt(1 + ratio * ratio)); - if (left0 - this.getLeft() > 0) left = -left; - if (top0 - this.getTop() > 0) top = -top; - if (get.is.mobileMe(this)) { - left = -Math.random() * 5 - 10; - top = Math.random() * 5 + 10; - } - if (this._chesstransform) { - left += this._chesstransform[0]; - top += this._chesstransform[1]; - } - var transform = 'translate(' + left + 'px,' + top + 'px) ' + - 'rotate(' + (Math.random() * 20 - 10) + 'deg) '; - if (type == 'flip') { - if (game.layout == 'long' || game.layout == 'long2') { - transform += 'rotateY(180deg)'; - } - else { - transform += ((Math.random() - 0.5 < 0) ? 'rotateX(180deg)' : 'rotateY(180deg)'); - } - } - if (get.is.mobileMe(this)) { - this.node.avatar.style.transform = transform; - this.node.avatar2.style.transform = transform; - this.style.transform = ''; - } - else { - this.node.avatar.style.transform = ''; - this.node.avatar2.style.transform = ''; - this.style.transform = transform; - } - this.queue(false); - } - $phaseJudge(card) { - game.addVideo('phaseJudge', this, get.cardInfo(card)); - var player = this; - var clone = player.$throw(card); - if (lib.config.low_performance && card && card.clone) { - var waitingForTransition = get.time(); - _status.waitingForTransition = waitingForTransition; - card.clone.listenTransition(function () { - if (_status.waitingForTransition == waitingForTransition && _status.paused) { - game.resume(); - } - }); - game.pause(); - } - else { - game.delay(); - } - } - }, + Player: Player, Card: class extends HTMLDivElement { /** * @param {HTMLDivElement} [position] From f45dfd3126e7b201afe9efe79b637cb57f228127 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Mon, 25 Dec 2023 21:54:13 +0800 Subject: [PATCH 068/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E3=80=90=E6=AD=A6?= =?UTF-8?q?=E9=AD=82=E3=80=91=E3=80=90=E6=96=AD=E8=82=A0=E3=80=91=E3=80=90?= =?UTF-8?q?=E4=B8=9A=E4=BB=87=E3=80=91=E3=80=90=E5=A4=A9=E4=BD=90=E3=80=91?= =?UTF-8?q?=E3=80=90=E7=81=B5=E7=AD=96=E3=80=91=E3=80=90=E6=94=BE=E6=9D=83?= =?UTF-8?q?=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/extra.js | 74 +++++++++++++++++++++++++++++++++++++++++--- character/refresh.js | 4 +-- character/shenhua.js | 13 ++++---- character/sp2.js | 6 ++-- 4 files changed, 83 insertions(+), 14 deletions(-) diff --git a/character/extra.js b/character/extra.js index 7352440b5..e1b1490ea 100755 --- a/character/extra.js +++ b/character/extra.js @@ -1992,6 +1992,30 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, }, + ai:{ + notemp:true, + maixie_defend:true, + effect:{ + target:(card,player,target)=>{ + if(!get.tag(card,'damage')||!target.hasFriend()) return; + let die=[],extra=[null,0],temp; + game.filterPlayer(i=>{ + if(!i.hasMark('twwuhun')) return false; + temp=get.attitude(target,i); + if(temp<0) die.push(i); + else{ + temp=Math.sqrt(att)*i.countMark('twwuhun'); + if(!extra[0]||temp1&&(!die.length||get.attitude(player,target)<=0)) die.add(player); + if(die.length) return [1,0,1,die.reduce((num,i)=>{ + return num-=2*get.sgnAttitude(player,i); + },0)]; + } + } + } }, shouli:{ audio:2, @@ -3214,7 +3238,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ effect:{ target:function(card,player,target){ - if(card&&card.name=='qizhengxiangsheng') return 'zerotarget'; + if(card&&card.name=='qizhengxiangsheng') return 'zeroplayertarget'; }, } }, @@ -3293,18 +3317,42 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!map[id]) map[id]={}; map[id].qizheng_name=result.control; map[id].qizheng_aibuff=get.attitude(player,target)>0; - }, + } }, }, }, lingce:{ audio:2, + init:(player)=>{ + game.addGlobalSkill('lingce_global'); + }, trigger:{global:'useCard'}, forced:true, filter:function(event,player){ return (event.card.name=='qizhengxiangsheng'||get.zhinangs().contains(event.card.name)||player.getStorage('dinghan').contains(event.card.name))&&event.card.isCard&&event.cards.length==1; }, - content:function(){player.draw()}, + content:function(){ + player.draw(); + }, + subSkill:{ + global:{ + ai:{ + effect:{ + player:(card,player,target)=>{ + let num=0,nohave=true; + game.countPlayer(i=>{ + if(i.hasSkill('lingce')){ + nohave=false; + if(i.isIn()&&lib.skill.lingce.filter({card:card},i)) num+=get.sgnAttitude(player,i); + } + },true); + if(nohave) game.removeGlobalSkill('lingce_global'); + else return [1,0.8*num]; + } + } + } + } + } }, dinghan:{ audio:2, @@ -4710,8 +4758,26 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, group:'new_wuhun_die', ai:{ - threaten:0.01, notemp:true, + effect:{ + target:(card,player,target)=>{ + if(!get.tag(card,'damage')||!target.hasFriend()) return; + if(player.hasSkillTag('jueqing',null,target)) return 1.7; + let die=[null,1],temp; + game.filterPlayer(i=>{ + temp=i.countMark('new_wuhun'); + if(i===player&&target.hp+target.hujia>1) temp++; + if(temp>=die[1]){ + if(!die[0]) die=[i,temp]; + else{ + let att=get.attitude(player,i); + if(att=2&&player.countCards('h')<=player.hp+1; + var fang=player.countMark('olfangquan2')==0&&player.hp>=2&&player.countCards('h')<=player.hp+2; player.chooseBool(get.prompt2('olfangquan')).set('ai',function(){ if(!_status.event.fang) return false; return game.hasPlayer(function(target){ @@ -14298,7 +14298,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ direct:true, content:function(){ "step 0" - var fang=player.countMark('fangquan2')==0&&player.hp>=2&&player.countCards('h')<=player.hp+1; + var fang=player.countMark('fangquan2')==0&&player.hp>=2&&player.countCards('h')<=player.maxHp+1; player.chooseBool(get.prompt2('refangquan')).set('ai',function(){ if(!_status.event.fang) return false; return game.hasPlayer(function(target){ diff --git a/character/shenhua.js b/character/shenhua.js index 013010448..4b3c9295f 100755 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -3439,11 +3439,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "step 2" if(result.bool){ player.chooseTarget(true,'请选择进行额外回合的目标角色',lib.filter.notMe).ai=function(target){ - if(target.hasJudge('lebu')) return -1; - if(get.attitude(player,target)>4){ - return get.threaten(target)/Math.sqrt(target.hp+1)/Math.sqrt(target.countCards('h')+1); - } - return -1; + if(target.hasJudge('lebu')||get.attitude(player,target)<=0) return -1; + if(target.isTurnedOver()) return 0.18; + return get.threaten(target)/Math.sqrt(target.hp+1)/Math.sqrt(target.countCards('h')+1); }; } else event.finish(); @@ -4154,7 +4152,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ effect:{ target:function(card,player,target,current){ if(!target.hasFriend()) return; - if(target.hp<=1&&get.tag(card,'damage')) return [1,0,0,-2]; + if(target.hp<=1&&get.tag(card,'damage')){ + if(player.hasSkillTag('jueqing',false,target)) return 3; + return [1,0,0,-3*get.threaten(player)]; + } } } } diff --git a/character/sp2.js b/character/sp2.js index 8407714b7..586c6f156 100644 --- a/character/sp2.js +++ b/character/sp2.js @@ -8238,8 +8238,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseTarget(get.prompt2('yechou'),function(card,player,target){ return player!=target&&target.getDamagedHp()>1 }).set('forceDie',true).set('ai',function(target){ - var num=get.attitude(_status.event.player,target); - return -num; + let att=get.attitude(_status.event.player,target); + if(att>0) return 0; + att=Math.sqrt(0.01-att); + return att*(get.distance(_status.currentPhase,target,'absolute')||game.players.length); }); "step 1" if(result.bool){ From cfad17964ca56d0b5b8c8b3179f81c26c4d8c749 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Tue, 26 Dec 2023 00:03:08 +0800 Subject: [PATCH 069/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E3=80=90=E5=86=B3?= =?UTF-8?q?=E8=AE=A8=E3=80=91=E3=80=90=E5=B1=AF=E7=94=B0=E3=80=91=E3=80=90?= =?UTF-8?q?=E5=89=91=E5=90=88=E3=80=91=E3=80=90=E6=82=B2=E6=AD=8C=E3=80=91?= =?UTF-8?q?=E3=80=90=E7=8B=82=E6=96=A7=E3=80=91=E3=80=90=E8=90=BD=E5=AE=A0?= =?UTF-8?q?=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/huicui.js | 9 ++++++++- character/refresh.js | 21 ++++++++++----------- character/shenhua.js | 1 + character/sp.js | 36 +++++++++++++++++++++++++++++++++++- character/xianding.js | 23 +++++++++++++++-------- 5 files changed, 69 insertions(+), 21 deletions(-) diff --git a/character/huicui.js b/character/huicui.js index a17358c08..7b89af868 100644 --- a/character/huicui.js +++ b/character/huicui.js @@ -10824,10 +10824,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(val0&&min<=0) return target.hasSkillTag('noe')?3:1; - if(att<0&&max>0){ + if(att<=0&&max>0){ if(target.hasSkillTag('noe')) return max>6?(-max/3):0; return -max; } + if(player===target&&!player.hasSha()){ + let ph=player.countCards('h'); + if(game.hasPlayer(i=>{ + if(!player.canUse('sha',i,true,true)||get.effect(i,{name:'sha'},player,player)<=0) return false; + return !ph||!i.mayHaveShan(player,'use'); + })) return 1; + } return 0; }, }, diff --git a/character/refresh.js b/character/refresh.js index 8037a5ace..a6687ca52 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -3453,8 +3453,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return event.card&&event.card.name=='sha'&&event.player.isIn()&&player.countCards('he')>0; }, check:function(event,player){ - if(event.player.hasSkill('xinleiji')) return get.attitude(player,event.player)>0; - return true; + let att=get.attitude(player,event.player); + if(event.player.hasSkill('xinleiji')) return att>0; + if(att>0||event.player.isHealthy()) return true; + if(!event.source) return true; + att=get.attitude(player,event.source); + return att<=0||event.source.isTurnedOver(); }, prompt2:'令其进行判定,然后你可根据判定结果,弃置一张牌并令其执行对应效果。', content:function(){ @@ -13309,21 +13313,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, ai:{ effect:function(card,player,target){ - if(!target.hasFriend()) return; - if(player==target) return; + if(player==target||!target.hasFriend()) return; var type=get.type(card); - var nh=target.countCards(); + var nh=Math.min(target.countCards(),game.countPlayer(i=>get.attitude(target,i)>0)); if(type=='trick'){ if(!get.tag(card,'multitarget')||get.info(card).singleCard){ - if(get.tag(card,'damage')){ - if(nh<3||target.hp<=2) return 0.8; - } + if(get.tag(card,'damage')) return [1.5,nh-1]; return [1,nh]; } } - else if(type=='delay'){ - return [0.5,0.5]; - } + else if(type=='delay') return [0.5,0.5]; }, } }, diff --git a/character/shenhua.js b/character/shenhua.js index 4b3c9295f..4823e0452 100755 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -3663,6 +3663,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ effect:{ target:function(card,player,target,current){ + if(typeof card==='object'&&get.name(card)==='sha'&&target.mayHaveShan(player,'use')) return [0.6,0.75]; if(!target.hasFriend()&&!player.hasUnknown()) return; if(_status.currentPhase==target) return; if(card.name!='shuiyanqijunx'&&get.tag(card,'loseCard')&&target.countCards('he')){ diff --git a/character/sp.js b/character/sp.js index bfb7f3d3e..37abe21ea 100755 --- a/character/sp.js +++ b/character/sp.js @@ -5427,7 +5427,41 @@ game.import('character',function(lib,game,ui,get,ai,_status){ effect:{ player:function(card,player,target){ if((!card.isCard||!card.cards)&&get.itemtype(card)!='card') return; - if(target&&player!=target&&player.countCards('h')>player.getHandcardLimit()) return [0,0,0,0.5]; + let cs=0; + if(target&&player!=target&&player.countCards('h',i=>{ + if(card===i||card.cards&&card.cards.includes(i)){ + cs++; + return false; + } + return true; + })>player.getHandcardLimit()){ + let targets=[],evt=_status.event.getParent('useCard'); + targets.addArray(ui.selected.targets); + if(evt&&evt.card==card) targets.addArray(evt.targets); + if(targets.length){ + if(targets.length>1||!targets.includes(target)) return 'zeroplayertarget'; + return; + } + let info=get.info(card); + if(!info||info.notarget||!info.filterTarget) return; + let range,select=get.copy(info.selectTarget),filter; + if(select===undefined) range=[1,1]; + else if(typeof select==='number') range=[select,select]; + else if(get.itemtype(select)==='select') range=select; + else if(typeof select==='function') range=select(card,player); + if(info.singleCard) range=[1,1]; + game.checkMod(card,player,range,'selectTarget',player); + if(range[1]<-1) range=[1, 1]; + else if(range[0]<0){ + if(info.filterTarget===true) filter=game.players.length; + else filter=game.countPlayer(current=>{ + return info.filterTarget(card,player,current); + }); + range=[filter,filter]; + } + if(range&&range[0]>1&&range[1]>1) return 'zeroplayertarget'; + return [0,0,0,1]; + } }, }, }, diff --git a/character/xianding.js b/character/xianding.js index e55242c72..e99e01378 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -4725,16 +4725,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseButton([1,num]).set('createDialog',dialog).set('filterButton',button=>{ return lib.filter.canBeDiscarded(button.link,_status.event.player,get.owner(button.link)); }).set('ai',button=>{ - var card=button.link; - var player=_status.event.player,target=get.owner(card); - if(target==player&&ui.cardPile.childNodes.length>80){ - if(ui.selected.buttons.some(i=>get.owner(i.link)==player)) return 0; - if(get.value(card,player)<6) return 60-get.value(card,player); + var player=_status.event.player, + target=get.owner(button.link), + num=ui.selected.buttons.filter(i=>get.owner(i.link)==target).length; + if(num>1&&player.hp+player.hujia>2) return 0; + if(target==player){ + if(num) return -get.value(button.link,target); + if(ui.cardPile.childNodes.length>80) return 6-get.value(card,player); return 0; } - var num=ui.selected.buttons.filter(i=>get.owner(i.link)==target).length; var val=get.buttonValue(button); - if(num>2) val/=Math.sqrt(num); + if(num===2) val/=4; if(get.attitude(player,target)>0) return -val; return val; //return -(get.position(card)!='h'?get.value(card,target):(4.5+Math.random()-0.2*(num>2?1:0)))*get.attitude(player,target); @@ -9184,7 +9185,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget(get.prompt2('juetao'),lib.filter.notMe).set('ai',function(target){ - return -get.attitude(_status.event.player,target); + let att=-get.attitude(_status.event.player,target); + if(att<=0) return -att; + if(target.hasSkillTag('nodamage')) return 0.01*att; + if(target.getEquip('tengjia')||target.getEquip('renwang')) return 0.2*att; + if(target.getEquip('bugua')) return 0.3*att; + if(target.getEquip(2)) return att/2; + return 1.2*att; }); 'step 1' if(result.bool){ From 413e4e2848567643b5f392068e5a9f8dab563398 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Tue, 26 Dec 2023 09:59:11 +0800 Subject: [PATCH 070/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E3=80=90=E8=B4=9E?= =?UTF-8?q?=E7=83=88=E3=80=91=E3=80=90=E6=A8=AA=E9=AA=9B=E3=80=91=E3=80=90?= =?UTF-8?q?=E9=A3=9E=E6=89=AC=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/sp.js | 5 +++++ card/standard.js | 8 ++++---- character/extra.js | 16 ++++++++++++++++ character/jsrg.js | 14 ++++++++++++-- character/yijiang.js | 14 +++++++++++++- mode/doudizhu.js | 16 ++++++++++------ 6 files changed, 60 insertions(+), 13 deletions(-) diff --git a/card/sp.js b/card/sp.js index 2a00dc468..396e64816 100644 --- a/card/sp.js +++ b/card/sp.js @@ -197,6 +197,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return lib.card.shandian.ai.result.target(player,target); } }, + tag:{ + damage:0.25, + natureDamage:0.25, + thunderDamage:0.25, + } } }, qibaodao:{ diff --git a/card/standard.js b/card/standard.js index 668a5c631..182ec7c5f 100644 --- a/card/standard.js +++ b/card/standard.js @@ -2032,7 +2032,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ result:{ target:function(player,target){ var num=game.countPlayer(function(current){ - var skills=current.getSkills(); + //var skills=current.getSkills(); for(var j=0;j{ + if(typeof card!=='object') return; + let suit=get.suit(card); + if(!lib.suit.contains(suit)||player.hasCard(function(i){ + return get.suit(i,player)==suit; + },'h')) return; + return [1,0.8*game.countPlayer(current=>{ + return current.countCards('e',card=>{ + return get.suit(card,current)==suit; + }); + })]; + } + } + } }, changandajian_equip5:{ equipSkill:true, diff --git a/character/jsrg.js b/character/jsrg.js index 4847fa1dd..f34c6bbb1 100644 --- a/character/jsrg.js +++ b/character/jsrg.js @@ -4039,8 +4039,18 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseToDiscard('h',2,get.prompt('jsrgfeiyang'),'弃置两张手牌并弃置判定区里的一张牌').set('logSkill','jsrgfeiyang').set('ai',function(card){ - return 6-get.value(card); - }); + if(_status.event.goon) return 6-get.value(card); + return 0; + }).set('goon',(()=>{ + if(player.hasSkillTag('rejudge')&&player.countCards('j')<2) return false; + return player.hasCard(function(card){ + if(get.tag(card,'damage')&&get.damageEffect(player,player,_status.event.player,get.natureList(card))>=0) return false; + return get.effect(player,{ + name:card.viewAs||card.name, + cards:[card], + },player,player)<0; + },'j'); + })()); 'step 1' if(result.bool){ player.discardPlayerCard(player,'j',true); diff --git a/character/yijiang.js b/character/yijiang.js index 7eef0fb8e..1644392a3 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -11907,16 +11907,28 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{target:'useCardToTargeted'}, content:function(){ "step 0" + if(get.attitude(player,trigger.player)<0&&trigger.player.countDiscardableCards(player,'he')) player.addTempSkill('zhenlie_lose'); player.loseHp(); "step 1" + player.removeSkill('zhenlie_lose'); trigger.getParent().excluded.add(player); "step 2" if(trigger.player.countCards('he')){ + if(get.mode()!=='identity'||player.identity!=='nei') player.addExpose(0.12); player.discardPlayerCard(trigger.player,'he',true); } }, + subSkill:{ + lose:{ + charlotte:true + } + }, ai:{ - expose:0.3 + effect:{ + target:(card,player,target)=>{ + if(target.hp<=0&&target.hasSkill('zhenlie_lose')&&get.tag(card,'recover')) return [1,1.2]; + } + } } }, //吾彦... diff --git a/mode/doudizhu.js b/mode/doudizhu.js index 1cecbb59b..43ff0d49e 100644 --- a/mode/doudizhu.js +++ b/mode/doudizhu.js @@ -2256,12 +2256,16 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ player.chooseToDiscard('h',2,get.prompt('feiyang'),'弃置两张手牌,然后弃置判定区里的一张牌').set('logSkill','feiyang').set('ai',function(card){ if(_status.event.goon) return 6-get.value(card); return 0; - }).set('goon',player.hasCard(function(card){ - return get.effect(player,{ - name:card.viewAs||card.name, - cards:[card], - },player,player)<0; - },'j')); + }).set('goon',(()=>{ + if(player.hasSkillTag('rejudge')&&player.countCards('j')<2) return false; + return player.hasCard(function(card){ + if(get.tag(card,'damage')&&get.damageEffect(player,player,_status.event.player,get.natureList(card))>=0) return false; + return get.effect(player,{ + name:card.viewAs||card.name, + cards:[card], + },player,player)<0; + },'j'); + })()); "step 1" if(result.bool){ player.discardPlayerCard(player,'j',true); From 3f4b30a1e8114300cbf8b40cb40165128dac5d5d Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Tue, 26 Dec 2023 22:15:32 +0800 Subject: [PATCH 071/234] =?UTF-8?q?bugfix,=20ai=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/standard.js | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/card/standard.js b/card/standard.js index 182ec7c5f..e4bf4f355 100644 --- a/card/standard.js +++ b/card/standard.js @@ -138,25 +138,18 @@ game.import('card',function(lib,game,ui,get,ai,_status){ next.set('prompt2','(在此之后仍需弃置一张手牌)'); } next.set('ai1',function(card){ - var target=_status.event.player; - var evt=_status.event.getParent(); - var bool=true; - if(_status.event.shanRequired>1&&!get.is.object(card)&&target.countCards('h','shan')<_status.event.shanRequired-(_status.event.shanIgnored||0)){ - bool=false; - } - else if(target.hasSkillTag('useShan')){ - bool=true; - } - else if(target.hasSkillTag('noShan')){ - bool=false; - } - else if(get.damageEffect(target,evt.player,target,evt.card.nature)>=0) bool=false; - if(bool){ - return get.order(card); - } + if(_status.event.useShan) return get.order(card); return 0; }).set('shanRequired',event.shanRequired); next.set('respondTo',[player,card]); + next.set('useShan',(()=>{ + if(target.hasSkillTag('noShan',null,event)) return false; + if(target.hasSkillTag('useShan',null,event)) return true; + if(event.baseDamage+event.extraDamage<=0 || get.attitude(target,player._trueMe||player)>0) bool=false; + if(event.shanRequired>1&&target.countCards('h','shan')=0) return false; + return true; + })()); //next.autochoose=lib.filter.autoRespondShan; } "step 2" @@ -261,7 +254,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }, order:function(item,player){ if(player.hasSkillTag('presha',true,null,true)) return 10; - if(item.hasNature('linked')){ + if(typeof item==='object'&&item.hasNature('linked')){ if(game.hasPlayer(function(current){ return current!=player&¤t.isLinked()&&player.canUse(item,current,null,true)&&get.effect(current,item,player,player)>0&&lib.card.sha.ai.canLink(player,current,item); })&&game.countPlayer(function(current){ From cc5dcff07d6f5c5225e826ae00860d3b3d599c47 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Tue, 26 Dec 2023 23:22:54 +0800 Subject: [PATCH 072/234] =?UTF-8?q?=E3=80=90=E6=8C=AF=E9=9E=98=E3=80=91ai?= =?UTF-8?q?=E5=86=99=E5=8F=8D=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/jsrg.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/character/jsrg.js b/character/jsrg.js index f34c6bbb1..2d8838604 100644 --- a/character/jsrg.js +++ b/character/jsrg.js @@ -5455,12 +5455,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ effect:{ target:function(card,player,target){ - if(player._jsrgzhenqiao_aiChecking) return; if(target===player&&get.subtype(card)==='equip1'&&!player.getEquip(1)){ - if(card.name!=='zhuge'||target.getCardUsable('sha')||!target.needsToDiscard()) return; - if(target.countCards('hs',i=>{ + if(card.name!=='zhuge'||target.getCardUsable('sha')||!target.needsToDiscard()||target.countCards('hs',i=>{ return get.name(i)==='sha'&&lib.filter.cardEnabled(i,target); - })>1) return 'zeroplayertarget'; + })<2) return 'zeroplayertarget'; } } } From b40817bc681bdafe74419457cbab200f94918ce5 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Wed, 27 Dec 2023 08:33:20 +0800 Subject: [PATCH 073/234] bugfix --- card/standard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/card/standard.js b/card/standard.js index e4bf4f355..bfb5fa286 100644 --- a/card/standard.js +++ b/card/standard.js @@ -254,7 +254,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }, order:function(item,player){ if(player.hasSkillTag('presha',true,null,true)) return 10; - if(typeof item==='object'&&item.hasNature('linked')){ + if(typeof item==='object'&&game.hasNature(item,'linked')){ if(game.hasPlayer(function(current){ return current!=player&¤t.isLinked()&&player.canUse(item,current,null,true)&&get.effect(current,item,player,player)>0&&lib.card.sha.ai.canLink(player,current,item); })&&game.countPlayer(function(current){ From a81c5c5c9f1e017eb6ca73e48187d52380b027db Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Wed, 27 Dec 2023 08:53:29 +0800 Subject: [PATCH 074/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E3=80=90=E6=96=87?= =?UTF-8?q?=E5=92=8C=E4=B9=B1=E6=AD=A6=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/guozhan.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/card/guozhan.js b/card/guozhan.js index a3ef0eda2..55f3d28c2 100644 --- a/card/guozhan.js +++ b/card/guozhan.js @@ -225,7 +225,20 @@ game.import('card',function(lib,game,ui,get,ai,_status){ player.chooseControl().set('prompt','文和乱武:请选择一项').set('choiceList',[ '令'+str+'弃置两张类型不同的手牌', '弃置'+str+'的一张手牌', - ]); + ]).set('ai',()=>{ + let target=_status.event.getParent().target,hs=target.getCards('h'),type=[]; + if(hs.length<2) return 0; + hs.forEach(i=>{ + type.add(get.type2(i,target)); + }); + if(target.identity!=='qun'){ + if(type.length>1) return 0; + return 1; + } + if(type.length<2||target.hp<3) return 1; + if(hs.length===2) return 0; + return 1; + }); 'step 2' if(result.index==0){ var list=[],hs=target.getCards('h'); From f6a70ee22338aeb69e8a25c2bf15a5591054c45b Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Wed, 27 Dec 2023 10:24:53 +0800 Subject: [PATCH 075/234] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=A5=9E=E9=A9=AC=E8=B6=85ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/extra.js | 26 ++++++++++++++++++++++++++ character/offline.js | 42 ++++++++++++++++++++++++++++++++++++++++++ character/shenhua.js | 1 + character/sp2.js | 1 + 4 files changed, 70 insertions(+) diff --git a/character/extra.js b/character/extra.js index 3c02885bb..063ea3147 100755 --- a/character/extra.js +++ b/character/extra.js @@ -2193,6 +2193,22 @@ game.import('character',function(lib,game,ui,get,ai,_status){ intro:{ content:'受到的伤害+1且改为雷属性', }, + ai:{ + effect:{ + target:(card,player,target)=>{ + if(!get.tag(card,'damage')) return; + if(target.hasSkillTag('nodamage')||target.hasSkillTag('nothunder')) return 'zeroplayertarget'; + if(target.hasSkillTag('filterDamage',null,{ + player:player, + card:lib.element.VCard({ + name:card.name, + nature:'thunder' + },[card]) + })) return; + return 2; + } + } + } }, init:{ audio:'shouli', @@ -2286,6 +2302,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return get.suit(card,current)==suit; }); })]; + }, + target:(card,player,target)=>{ + if(card.name==='sha'&&!player.hasSkillTag('directHit_ai',true,{ + target:target, + card:card + },true)&&game.hasPlayer(current=>{ + return current.hasCard(cardx=>{ + return get.subtype(cardx)==='equip3'; + },'e'); + })) return [0, -0.5]; } } } diff --git a/character/offline.js b/character/offline.js index bb48350bc..148ded2f2 100644 --- a/character/offline.js +++ b/character/offline.js @@ -758,6 +758,22 @@ game.import('character',function(lib,game,ui,get,ai,_status){ intro:{ content:'受到的伤害+1且改为雷属性', }, + ai:{ + effect:{ + target:(card,player,target)=>{ + if(!get.tag(card,'damage')) return; + if(target.hasSkillTag('nodamage')||target.hasSkillTag('nothunder')) return 'zeroplayertarget'; + if(target.hasSkillTag('filterDamage',null,{ + player:player, + card:lib.element.VCard({ + name:card.name, + nature:'thunder' + },[card]) + })) return; + return 2; + } + } + } }, init:{ audio:'psshouli', @@ -900,6 +916,32 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ threaten:100, reverseEquip:true, + ai:{ + effect:{ + player:(card,player,target)=>{ + if(typeof card!=='object') return; + let suit=get.suit(card); + if(!lib.suit.contains(suit)||player.hasCard(function(i){ + return get.suit(i,player)==suit; + },'h')) return; + return [1,game.countPlayer(current=>{ + return current.countCards('e',card=>{ + return get.suit(card,current)==suit; + }); + })]; + }, + target:(card,player,target)=>{ + if(card.name==='sha'&&!player.hasSkillTag('directHit_ai',true,{ + target:target, + card:card + },true)&&game.hasPlayer(current=>{ + return current.hasCard(cardx=>{ + return get.subtype(cardx)==='equip3'; + },'e'); + })) return [0, -0.5]; + } + } + } } }, //战役篇田丰 diff --git a/character/shenhua.js b/character/shenhua.js index 4823e0452..dab254745 100755 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -4146,6 +4146,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, logTarget:'source', ai:{ + maixie_defend:true, threaten:function(player,target){ if(target.hp==1) return 0.2; return 1.5; diff --git a/character/sp2.js b/character/sp2.js index 586c6f156..e6b5679a8 100644 --- a/character/sp2.js +++ b/character/sp2.js @@ -8253,6 +8253,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, ai:{ expose:0.5, + maixie_defend:true }, }, "yechou2":{ From 6c2128805e4728cc1dbbb1455636750cd037eda5 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Wed, 27 Dec 2023 15:34:21 +0800 Subject: [PATCH 076/234] =?UTF-8?q?=E5=87=8C=E6=93=8D=E3=80=81=E5=BE=90?= =?UTF-8?q?=E8=8D=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/mobile.js | 4 ++-- character/sb.js | 6 ++++-- character/sp.js | 21 +++++++++------------ 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/character/mobile.js b/character/mobile.js index be32a2efa..510082732 100644 --- a/character/mobile.js +++ b/character/mobile.js @@ -14164,7 +14164,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return !event.numFixed; }, content:function(){ - trigger.num+=1+Math.floor(player.countCards('e')/2); + trigger.num+=1+Math.ceil(player.countCards('e')/2); } }, yingjian:{ @@ -14989,7 +14989,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ fenyin_info:'你的回合内,当你使用牌时,若此牌与你于此回合内使用的上一张牌的颜色不同,则你可以摸一张牌。', yingjian_info:'准备阶段开始时,你可以视为使用一张无距离限制的【杀】。', dujin:'独进', - dujin_info:'摸牌阶段,你可以多摸X+1张牌。(X为你装备区里牌数的一半且向下取整)', + dujin_info:'摸牌阶段,你可以多摸X+1张牌(X为你装备区里牌数的一半且向上取整)。', shixin:'释衅', shixin_info:'锁定技,当你受到火属性伤害时,你防止此伤害。', zhaohuo:'招祸', diff --git a/character/sb.js b/character/sb.js index f46d3e241..a34b077d4 100644 --- a/character/sb.js +++ b/character/sb.js @@ -515,8 +515,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ const sum=storage[0]; const names=storage[1]; dialog.addText('剩余可记录'+sum+'次牌名'); - dialog.addText('已记录牌名:'); - dialog.addSmall([names,'vcard']); + if(names.length){ + dialog.addText('已记录牌名:'); + dialog.addSmall([names,'vcard']); + } } }, }, diff --git a/character/sp.js b/character/sp.js index 37abe21ea..4807eb369 100755 --- a/character/sp.js +++ b/character/sp.js @@ -24530,21 +24530,18 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:"本回合内手牌上限-#", }, }, - "xinfu_shajue":{ + xinfu_shajue:{ audio:2, - trigger:{ - global:"dying", - }, - filter:function (event,player){ - return event.player.hp<0&&event.player!=player; + trigger:{global:'dying'}, + filter:function(event,player){ + return event.player!=player; }, forced:true, - //priority:7, - content:function (){ - if(trigger.parent.name=='damage'&&get.itemtype(trigger.parent.cards)=='cards'&&get.position(trigger.parent.cards[0],true)=='o'){ - player.gain(trigger.parent.cards,"gain2"); - } + content:function(){ player.addMark('xionghuo',1); + if(trigger.player.hp<0&&trigger.parent.name=='damage'&&get.itemtype(trigger.parent.cards)=='cards'&&get.position(trigger.parent.cards[0],true)=='o'){ + player.gain(trigger.parent.cards,'gain2'); + } }, }, xinfu_jianjie:{ @@ -25533,7 +25530,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "xionghuo_low":"凶镬", "xionghuo_low_info":"", "xinfu_shajue":"杀绝", - "xinfu_shajue_info":"锁定技,其他角色进入濒死状态时,若其体力值小于0,则你获得一个“暴戾”标记,并获得使其进入濒死状态的牌。", + "xinfu_shajue_info":"锁定技,其他角色进入濒死状态时,你获得一个“暴戾”标记。然后若其体力值小于0,你获得使其进入濒死状态的牌。", xinfu_jianjie:"荐杰", jianjie:'荐杰', jianjie_info:'①你的第一个准备阶段开始时,你令一名其他角色获得“龙印”,然后令另一名其他角色获得“凤印”。②出牌阶段限一次。若当前回合不是你的第一个回合,则你可以移动场上的“龙印”或“凤印”。③拥有“龙印”或“凤印”的其他角色死亡时,你转移该角色的“龙印”和“凤印”。④拥有“龙印”/“凤印”的角色视为拥有〖火计〗/〖连环〗,且同时拥有这两种标记的角色视为拥有〖业炎〗。', From b69f5fa7e65ca406d93a4bbc54f063c7953ee850 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Wed, 27 Dec 2023 15:53:07 +0800 Subject: [PATCH 077/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E3=80=90=E5=A4=AA?= =?UTF-8?q?=E5=B9=B3=E8=A6=81=E6=9C=AF=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/guozhan.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/card/guozhan.js b/card/guozhan.js index 55f3d28c2..cd3455a41 100644 --- a/card/guozhan.js +++ b/card/guozhan.js @@ -1344,6 +1344,18 @@ game.import('card',function(lib,game,ui,get,ai,_status){ })){ return [0,0,0,0]; } + }, + target:(card,player,target)=>{ + if(target._g_taipingyaoshu_temp) return; + if(get.subtype(card)==='equip2'&&target.getEquip('taipingyaoshu')&&!target.countEmpty(2)){ + target._g_taipingyaoshu_temp=true; + let lose=get.effect(target,{name:'losehp'},target,target), + draw=get.effect(target,{name:'wuzhong'},target,target); + if(lose<0&&target.hp<=1&&!target.hasCard(i=>{ + return get.name(i)==='tao'&&lib.filter.cardEnabled(i,target,'forceEnable'); + })) draw=0; + return [1,(lose+draw)/get.attitude(target,target)]; + } } } } From 936831fec4e5ee5c74bfc196adee2b41661cac5d Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Wed, 27 Dec 2023 15:54:50 +0800 Subject: [PATCH 078/234] =?UTF-8?q?=E5=B7=AE=E7=82=B9=E5=84=BF=E5=BF=98?= =?UTF-8?q?=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/guozhan.js | 1 + 1 file changed, 1 insertion(+) diff --git a/card/guozhan.js b/card/guozhan.js index cd3455a41..a8b7d4397 100644 --- a/card/guozhan.js +++ b/card/guozhan.js @@ -1351,6 +1351,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ target._g_taipingyaoshu_temp=true; let lose=get.effect(target,{name:'losehp'},target,target), draw=get.effect(target,{name:'wuzhong'},target,target); + delete target._g_taipingyaoshu_temp; if(lose<0&&target.hp<=1&&!target.hasCard(i=>{ return get.name(i)==='tao'&&lib.filter.cardEnabled(i,target,'forceEnable'); })) draw=0; From d0a3222339a62869ba14b0a95e75662b911e4de1 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Wed, 27 Dec 2023 16:56:34 +0800 Subject: [PATCH 079/234] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E2=80=9C=E5=8D=A1?= =?UTF-8?q?=E7=89=8C=E2=80=9Ddraw=E5=B9=B6=E6=9B=B4=E6=96=B0=E6=9C=AC?= =?UTF-8?q?=E4=BD=93=E7=9B=B8=E5=85=B3ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/guozhan.js | 2 +- card/standard.js | 10 ++++++++++ character/clan.js | 6 +++--- character/ddd.js | 10 +++++----- character/diy.js | 8 ++++---- character/huicui.js | 4 ++-- character/jsrg.js | 7 ++++--- character/mobile.js | 8 ++++---- character/offline.js | 2 +- character/onlyOL.js | 2 +- character/refresh.js | 2 +- character/sb.js | 6 +++--- character/shenhua.js | 2 +- character/shiji.js | 6 +++--- character/sp.js | 8 ++++---- character/sp2.js | 2 +- character/tw.js | 6 +++--- character/xianding.js | 4 ++-- character/yijiang.js | 6 +++--- 19 files changed, 56 insertions(+), 45 deletions(-) diff --git a/card/guozhan.js b/card/guozhan.js index a8b7d4397..51465fd24 100644 --- a/card/guozhan.js +++ b/card/guozhan.js @@ -1350,7 +1350,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(get.subtype(card)==='equip2'&&target.getEquip('taipingyaoshu')&&!target.countEmpty(2)){ target._g_taipingyaoshu_temp=true; let lose=get.effect(target,{name:'losehp'},target,target), - draw=get.effect(target,{name:'wuzhong'},target,target); + draw=2*get.effect(target,{name:'draw'},target,target); delete target._g_taipingyaoshu_temp; if(lose<0&&target.hp<=1&&!target.hasCard(i=>{ return get.name(i)==='tao'&&lib.filter.cardEnabled(i,target,'forceEnable'); diff --git a/card/standard.js b/card/standard.js index bfb5fa286..67710990c 100644 --- a/card/standard.js +++ b/card/standard.js @@ -14,6 +14,16 @@ game.import('card',function(lib,game,ui,get,ai,_status){ } } }, + draw:{ + ai:{ + result:{ + target:1 + }, + tag:{ + draw:1 + } + } + }, losehp:{ ai:{ result:{ diff --git a/character/clan.js b/character/clan.js index ecfcd46e3..f6f58f610 100644 --- a/character/clan.js +++ b/character/clan.js @@ -1398,9 +1398,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ target.classList.remove('linked2'); var eff=cards[0][1]; if(eff>0) return eff; - return Math.max((get.effect(target,{name:'wuzhong'},player,player)+get.effect(player,{name:'wuzhong'},player,player)/3),get.recoverEffect(target,player,player)); + return Math.max((2*get.effect(target,{name:'draw'},player,player)+0.6*get.effect(player,{name:'draw'},player,player)),get.recoverEffect(target,player,player)); } - return Math.max((get.effect(target,{name:'wuzhong'},player,player)+get.effect(player,{name:'wuzhong'},player,player)/3),get.recoverEffect(target,player,player)); + return Math.max((2*get.effect(target,{name:'draw'},player,player)+0.6*get.effect(player,{name:'draw'},player,player)),get.recoverEffect(target,player,player)); }).set('goon',player.countCards('hs',card=>{ return get.name(card)=='jiu'&&player.hasUseTarget(card); })&&player.countCards('hs',card=>{ @@ -1425,7 +1425,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=_status.event.player,target=_status.event.getParent().target; if(!target.isDamaged()) return 0; if(get.attitude(player,target)<=0&&player.countCards('he',card=>get.value(card)<0)>=2) return 0; - return (get.effect(target,{name:'wuzhong'},player,player)+get.effect(player,{name:'wuzhong'},player,player)/3)>get.recoverEffect(target,player,player)?0:1; + return (2*get.effect(target,{name:'draw'},player,player)+0.6*get.effect(player,{name:'draw'},player,player))>get.recoverEffect(target,player,player)?0:1; }); } else event.finish(); diff --git a/character/ddd.js b/character/ddd.js index cbbdf2f66..fce068fcd 100644 --- a/character/ddd.js +++ b/character/ddd.js @@ -794,7 +794,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return get.color(card)==color; },'h')){ if(color=='red') return get.recoverEffect(player,player,player)+2/Math.max(2,get.value(button.link)); - if(color=='black') return get.effect(target,{name:'wuzhong'},target,player)+2/Math.max(2,get.value(button.link)); + if(color=='black') return 2*get.effect(target,{name:'draw'},target,player)+2/Math.max(2,get.value(button.link)); } return get.value(button.link)/3; }) @@ -828,7 +828,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='用'+get.translation(event.card1)+'交换对方的'+get.translation(event.card2); if(color=='black'){ prompt2+=',然后对方摸两张牌'; - next.set('goon',get.effect(target,{name:'wuzhong'},target,player)>0); + next.set('goon',2*get.effect(target,{name:'draw'},target,player)>0); } else if(color=='red'&&player.isDamaged()){ prompt2+=',然后你回复1点体力'; @@ -1105,7 +1105,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' player.chooseTarget('是否令一名其他角色摸等量的牌?',lib.filter.notMe).set('ai',target=>{ var player=get.player(); - return get.effect(target,{name:'wuzhong'},player,player); + return get.effect(target,{name:'draw'},player,player); }); 'step 2' if(result.bool){ @@ -1676,7 +1676,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player.countCards('h')==target.countCards('h')&&player!=target; }).set('ai',target=>{ var player=get.player(); - return Math.max(get.effect(target,{name:'wuzhong'},player,player),get.effect(target,{name:'guohe'},player,player)/2); + return Math.max(get.effect(target,{name:'draw'},player,player),get.effect(target,{name:'guohe'},player,player)/2); }); if(result.bool){ var target=result.targets[0]; @@ -1729,7 +1729,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ })){ player.chooseTarget('整军:是否令一名角色摸一张牌?').set('ai',function(target){ var player=_status.event.player; - return get.effect(target,{name:'wuzhong'},player,player); + return get.effect(target,{name:'draw'},player,player); }); } else event.goto(2); diff --git a/character/diy.js b/character/diy.js index 535752670..03b87777a 100755 --- a/character/diy.js +++ b/character/diy.js @@ -1414,7 +1414,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=_status.event.player,target=_status.event.getParent().target; switch(button.link){ case 'damage':return get.damageEffect(target,player,player); - case 'draw':return get.effect(player,{name:'wuzhong'},player,player) + case 'draw':return 2*get.effect(player,{name:'draw'},player,player) case 'discard':return get.effect(target,{name:'guohe_copy2'},player,player)*Math.min(1.6,target.countCards('he')); case 'use':return _status.event.getRand('minagi_peiquan')*4; } @@ -1447,7 +1447,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return baseEffect+Math.max(...choices.map(choice=>{ switch(choice){ case 'damage':return get.damageEffect(target,player,player); - case 'draw':return get.effect(player,{name:'wuzhong'},player,player); + case 'draw':return 2*get.effect(player,{name:'draw'},player,player); case 'discard':return get.effect(target,{name:'guohe_copy2'},player,player)*Math.min(1.6,target.countCards('he')); case 'use':return _status.event.getRand('minagi_peiquan')*4; } @@ -2643,7 +2643,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseTarget('退论:是否令一名角色摸一张牌或弃置一张牌?').set('ai',function(target){ var player=_status.event.player; var att=get.attitude(player,target); - if(att>0||target.countCards('he')==0) return get.effect(target,{name:'wuzhong'},player,player)/2; + if(att>0||target.countCards('he')==0) return get.effect(target,{name:'draw'},player,player); return get.effect(target,{name:'guohe_copy2'},target,player); }); } @@ -12458,7 +12458,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ choicex=choices.slice(0); var getx=function(a){ switch(a){ - case 'draw':return get.effect(player,{name:'wuzhong'},player,player); + case 'draw':return 2*get.effect(player,{name:'draw'},player,player); case 'damage':return get.damageEffect(_status.event.getParent().target,player,player); default:return 0; } diff --git a/character/huicui.js b/character/huicui.js index 7b89af868..89f1fdbd2 100644 --- a/character/huicui.js +++ b/character/huicui.js @@ -6164,7 +6164,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, logTarget:'player', check:function(event,player){ - var eff=get.effect(player,{name:'wuzhong'},player,player)/2; + var eff=get.effect(player,{name:'draw'},player,player); if(player.countCards('h')+1<=event.player.countCards('h')&&event.player.countCards('he')>0) eff+=get.effect(event.player,{name:'guohe_copy2'},player,player); return eff; }, @@ -7513,7 +7513,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ result:{ player:function(player,target){ var eff=get.recoverEffect(target,player,player); - if(target.getDamagedHp()>1) eff+=get.effect(target,{name:'wuzhong'},player,player)/2; + if(target.getDamagedHp()>1) eff+=get.effect(target,{name:'draw'},player,player); return eff; }, }, diff --git a/character/jsrg.js b/character/jsrg.js index 2d8838604..0967d627e 100644 --- a/character/jsrg.js +++ b/character/jsrg.js @@ -1583,8 +1583,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return false; })&&(player.hp>2||get.damageEffect(player,player,player)>=0)) return player; var info=game.filterPlayer().map(current=>{ - let damage=undamaged.includes(current),card={name:damage?'damage':'wuzhong'}; - return [current,get.effect(current,card,player,player)/(damage?1.5:1)]; + let damage=undamaged.includes(current),card={name:damage?'damage':'draw'}; + return [current,get.effect(current,card,player,player)*(damage?0.7:2)]; }).sort((a,b)=>b[1]-a[1])[0]; if(info[1]>0) return info[0]; return null; @@ -5392,7 +5392,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ onremove:true, prompt2:'失去1点体力并防止此伤害,然后你与其各摸一张牌', check:function(event,player){ - return get.damageEffect(event.player,event.source,player,event.nature)*Math.sqrt(event.num)<=get.effect(player,{name:'losehp'},player,player); + return get.damageEffect(event.player,event.source,_status.event.player,event.nature)*event.num < + get.effect(player,{name:'losehp'},player,_status.event.player)+get.effect(player,{name:'draw'},player,_status.event.player)+get.effect(event.player,{name:'draw'},player,_status.event.player)/2; }, group:'jsrgjishan_recover', content:function(){ diff --git a/character/mobile.js b/character/mobile.js index be32a2efa..aae191b5d 100644 --- a/character/mobile.js +++ b/character/mobile.js @@ -1193,7 +1193,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ]).set('prompt','雀颂:请选择一项').set('ai',()=>{ var player=_status.event.player; var len=_status.event.len; - return get.effect(player,{name:'wuzhong'},player,player)*len/2>=get.recoverEffect(player,player,player)?0:1; + return get.effect(player,{name:'draw'},player,player)*len>=get.recoverEffect(player,player,player)?0:1; }).set('len',len); } } @@ -3588,7 +3588,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var card of cards){ var num=i+1; if(cards2.slice(0,num).contains(card)) continue; - if(get.tag(card,'damage')&&i>0) count+=get.effect(player,{name:'wuzhong'},player)/2; + if(get.tag(card,'damage')&&i>0) count+=get.effect(player,{name:'draw'},player); var targets2=targets.filter(current=>{ return player.canUse(card,current,false)&&get.distance(player,current)<=num&&get.effect(current,card,player,player)>0; }); @@ -3827,7 +3827,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ getValue:function(player,mark,target){ let dis=Math.sqrt(get.distance(player,target,'absolute')); if(target.isTurnedOver()) dis++; - let draw=get.effect(target,{name:'wuzhong'},target,target)/2; + let draw=get.effect(target,{name:'draw'},target,target); switch(mark.slice(6)){ case 'wushi': if(target.hasJudge('bingliang')) return 12/(1+target.getCardUsable('sha',true)); @@ -4486,7 +4486,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var att=get.attitude(player,target),eff=[0,0]; var hs=player.countCards('h'),ht=target.countCards('h'); if(hs>=ht){ - eff[0]=get.effect(target,{name:'wuzhong'},player,player)/2; + eff[0]=get.effect(target,{name:'draw'},player,player); if(player.storage.sbyaoming_status==0) eff[0]*=1.2; } if(hs<=ht){ diff --git a/character/offline.js b/character/offline.js index 148ded2f2..bdd90d992 100644 --- a/character/offline.js +++ b/character/offline.js @@ -3088,7 +3088,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseTarget(get.prompt('zylianji'),'令一名角色摸一张牌').set('ai',target=>{ var player=_status.event.player; if(target==player&&player.needsToDiscard(1)) return 1; - return get.effect(target,{name:'wuzhong'},player,player); + return get.effect(target,{name:'draw'},player,player); }); 'step 1' if(result.bool){ diff --git a/character/onlyOL.js b/character/onlyOL.js index 1f1c6a63b..e6efb8eef 100644 --- a/character/onlyOL.js +++ b/character/onlyOL.js @@ -139,7 +139,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ]).set('ai',()=>{ var player=_status.event.player; var list=_status.event.list; - var num1=get.effect(player,{name:'wuzhong'},player,player)/2; + var num1=get.effect(player,{name:'draw'},player,player); var num2=get.recoverEffect(player,player,player); return num1*list[0]>num2*list[1]?0:1; }).set('list',[-num1,player.getDamagedHp()]); diff --git a/character/refresh.js b/character/refresh.js index a6687ca52..ed6967418 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -3479,7 +3479,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ case 'diamond': if(target.isIn()){ str+=(',令'+strt+'摸两张牌'); - goon=get.effect(target,{name:'wuzhong'},player,player); + goon=2*get.effect(target,{name:'draw'},player,player); } break; case 'spade': diff --git a/character/sb.js b/character/sb.js index f46d3e241..0264eaca3 100644 --- a/character/sb.js +++ b/character/sb.js @@ -3992,7 +3992,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' trigger.source.chooseBool('樵拾:是否令'+get.translation(player)+'回复'+trigger.num+'点体力,然后你摸两张牌?').set('ai',()=>{ return _status.event.bool; - }).set('bool',get.recoverEffect(player,trigger.source,trigger.source)+get.effect(trigger.source,{name:'wuzhong'},trigger.source)>5); + }).set('bool',get.recoverEffect(player,trigger.source,trigger.source)+2*get.effect(trigger.source,{name:'draw'},trigger.source)>5); 'step 1' if(result.bool){ player.logSkill('sbqiaoshi'); @@ -4047,7 +4047,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }).length; player.chooseTarget(get.prompt('sbyanyu'),'令一名其他角色摸'+get.cnNumber(event.num)+'张牌',lib.filter.notMe).set('ai',target=>{ var player=_status.event.player; - return get.effect(target,{name:'wuzhong'},player,player); + return get.effect(target,{name:'draw'},player,player); }); 'step 1' if(result.bool){ @@ -4842,7 +4842,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player:function(player){ var num=0,targets=game.filterPlayer(current=>current.hasMark('sbjieyin_mark')); for(var current of targets){ - num+=get.effect(current,{name:'wuzhong'},player,player); + num+=2*get.effect(current,{name:'draw'},player,player); } if(num>0) return 3; return 1; diff --git a/character/shenhua.js b/character/shenhua.js index dab254745..bd12c7d04 100755 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -3536,7 +3536,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player.countCards('h')>player.hp+1){ check=false; } - else if(player.countCards('h',{name:['wuzhong']})){ + else if(player.countCards('h',{name:'wuzhong'})){ check=false; } else{ diff --git a/character/shiji.js b/character/shiji.js index 94fe88ffd..239376ddf 100644 --- a/character/shiji.js +++ b/character/shiji.js @@ -364,7 +364,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.list=list; var num1=0,num2=0,num3=0; for(var target of list){ - num1+=get.effect(target,{name:'wuzhong'},player,player); + num1+=2*get.effect(target,{name:'draw'},player,player); num2+=get.recoverEffect(target,player,player); } trigger.player.chooseControl('摸两张牌','回复体力','cancel2').set('prompt','整肃奖励:请选择'+get.translation(list)+'的整肃奖励').set('ai',function(){ @@ -437,13 +437,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(result.control=='cancel2'){event.finish();return;} player.chooseTarget('整军:是否令一名其他角色也回复1点体力或摸两张牌?',lib.filter.notMe).set('ai',function(target){ var player=_status.event.player; - return Math.max(get.effect(target,{name:'wuzhong'},target,player),get.recoverEffect(target,target,player)); + return Math.max(2*get.effect(target,{name:'draw'},target,player),get.recoverEffect(target,target,player)); }); 'step 2' if(result.bool){ var target=result.targets[0]; event.target=target; - var num1=get.effect(target,{name:'wuzhong'},target,player); + var num1=2*get.effect(target,{name:'draw'},target,player); var num2=get.recoverEffect(target,target,player); player.line(target); if(target.isHealthy()) result.index=0; diff --git a/character/sp.js b/character/sp.js index 37abe21ea..aed481ceb 100755 --- a/character/sp.js +++ b/character/sp.js @@ -3848,7 +3848,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var fn=function(control){ switch(control){ case '选项一': - return player.getUseValue({name:'wuzhong'})/2; + return player.getUseValue({name:'draw'}); case '选项二': return Math.max.apply(Math,game.filterPlayer().map(current=>{ if(current.hasSkillTag('noh')) return -1; @@ -9252,7 +9252,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=_status.event.player,target=_status.event.getTrigger().player; if(target.hasCard(function(card){ return lib.filter.canBeDiscarded(card,player,target); - },'he')&&get.effect(target,{name:'guohe_copy2'},player,player)>get.effect(player,{name:'wuzhong'},player,player)/2) return 1; + },'he')&&get.effect(target,{name:'guohe_copy2'},player,player)>get.effect(player,{name:'draw'},player,player)) return 1; return 0; }); 'step 1' @@ -9640,7 +9640,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(num>0) max=Math.max(max,Math.sqrt(Math.min(2,num))*get.effect(target,{name:'guohe_copy2'},player,player)); }, 选项四:function(target){ - max=Math.max(max,get.effect(target,{name:'wuzhong'},player,player)); + max=Math.max(max,2*get.effect(target,{name:'draw'},player,player)); }, }[choice]; game.countPlayer(function(current){ @@ -9671,7 +9671,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }], ['选择一名角色,令其摸两张牌',function(target){ var player=_status.event.player; - return get.effect(target,{name:'wuzhong'},player,player); + return 2*get.effect(target,{name:'draw'},player,player); }] ][index]; var targets=game.filterPlayer(function(current){ diff --git a/character/sp2.js b/character/sp2.js index e6b5679a8..6b1600a71 100644 --- a/character/sp2.js +++ b/character/sp2.js @@ -923,7 +923,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }).set('ai',function(button){ var target=_status.event.target; return [ - get.effect(target,{name:'wuzhong'},player,player)/2, + get.effect(target,{name:'draw'},player,player), get.effect(target,{name:'shunshou_copy2'},player,player), get.recoverEffect(target,player,player), ][button.link]; diff --git a/character/tw.js b/character/tw.js index 45bbc0723..f5e84a661 100644 --- a/character/tw.js +++ b/character/tw.js @@ -3151,7 +3151,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var eff=list.map(target=>{ if(target==player) return 0; return get.effect(target,{name:'sha'},player,player); - }).reduce((p,c)=>p+c,0),eff2=list2.map(target=>get.effect(target,{name:'wuzhong'},player,player)).reduce((p,c)=>p+c,0); + }).reduce((p,c)=>p+c,0),eff2=list2.map(target=>2*get.effect(target,{name:'draw'},player,player)).reduce((p,c)=>p+c,0); if(_status.event.controls.contains('选项二')&&eff2>eff) return '选项二'; if(eff>0) return 0; return 'cancel2'; @@ -3173,7 +3173,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return _status.event.getParent().list.contains(target); }).set('ai',function(target){ var player=_status.event.player; - return get.effect(target,{name:'wuzhong'},player,player); + return get.effect(target,{name:'draw'},player,player); }); else event.finish(); } @@ -12668,7 +12668,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!ui.selected.cards.length) return 0; var sub=get.subtype(ui.selected.cards[0],false); var eff=get.effect(target,ui.selected.cards[0],player,target); - if(sub=='equip2') eff+=(get.effect(target,{name:'wuzhong'},target,target)/2); + if(sub=='equip2') eff+=(get.effect(target,{name:'draw'},target,target)); if(target.isDamaged()&&(sub=='equip3'||sub=='equip4'||sub=='equip5')) eff+=get.recoverEffect(target,player,player); return eff; }, diff --git a/character/xianding.js b/character/xianding.js index 498908f87..69e3f3554 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -5089,7 +5089,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ targetsx.removeArray(targets); return targetsx.reduce((p,c)=>{ return p+Math.max(0,get.effect(c,{name:'shunshou_copy2'},player,player)); - },0)>get.effect(player,{name:'wuzhong'},player,player)/1.5?'选项一':'选项二'; + },0)>get.effect(player,{name:'draw'},player,player)*1.3?'选项一':'选项二'; }()); 'step 1' if(result.control=='cancel2'){ @@ -8521,7 +8521,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ max=get.recoverEffect(current,player,player)*Math.min(evt.getParent().num,player.getDamagedHp()); }, 选项二:function(target){ - max=get.effect(target,{name:'wuzhong'},player,player)/2*evt.getParent().num; + max=get.effect(target,{name:'draw'},player,player)*evt.getParent().num; }, 选项三:function(target){ if(player.isTurnedOver()) max+=25; diff --git a/character/yijiang.js b/character/yijiang.js index 1644392a3..657eaad49 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -995,7 +995,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var user=trigger.player,target=previous; event.user=user;event.target=target; if(user){ - user.chooseBool('是否对'+get.translation(target)+'发动【联对】?','令'+get.translation(target)+'摸两张牌').set('ai',()=>_status.event.bool).set('bool',get.effect(target,{name:'wuzhong'},user,user)>0); + user.chooseBool('是否对'+get.translation(target)+'发动【联对】?','令'+get.translation(target)+'摸两张牌').set('ai',()=>_status.event.bool).set('bool',get.effect(target,{name:'draw'},user,user)>0); } 'step 1' if(result.bool){ @@ -2387,7 +2387,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }).set('ai',function(target){ var player=_status.event.player; var storage=player.getStorage('xinyaoming_kanon'); - if(get.attitude(player,target)>0&&!storage.contains('摸牌')&&target!=player) return get.effect(target,{name:'wuzhong'},player,player)/2; + if(get.attitude(player,target)>0&&!storage.contains('摸牌')&&target!=player) return get.effect(target,{name:'draw'},player,player); if(get.attitude(player,target)<0&&!storage.contains('弃牌')&&target!=player&&target.countCards('h')) return get.effect(target,{name:'guohe_copy2'},player,player); if(get.attitude(player,target)>0&&!storage.contains('制衡')) return get.effect(target,{name:'kaihua'},player,player); return 0; @@ -2424,7 +2424,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var target=_status.event.target; var controls=_status.event.controls.slice(); var map={ - '摸牌':get.effect(target,{name:'wuzhong'},player,player)/2, + '摸牌':get.effect(target,{name:'draw'},player,player), '弃牌':get.effect(target,{name:'guohe_copy2'},player,player), '制衡':get.effect(target,{name:'kaihua'},player,player), }; From 419ef865df7f182c33e63109ff3847b138537cd2 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Wed, 27 Dec 2023 21:08:01 +0800 Subject: [PATCH 080/234] bugfix --- character/refresh.js | 59 ++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 32 deletions(-) diff --git a/character/refresh.js b/character/refresh.js index ed6967418..e9dd2a57d 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -11588,45 +11588,40 @@ game.import('character',function(lib,game,ui,get,ai,_status){ direct:true, content:function (){ 'step 0' - player.gainPlayerCard(get.prompt('new_liyu',trigger.player),trigger.player,'hej','visibleMove').set('ai',function(card){ - var player=_status.event.player; - var evt=_status.event.target; - if(get.attitude(player,evt)>0&&get.position(card)=='j') return 4+get.value(card); - if(get.type(card)=='equip'){ - if(get.attitude(player,evt)>0&&game.hasPlayer(function(current){ - return (player.canUse({name:'juedou'},current)&¤t!=evt.target&&get.effect(current,{name:'juedou'},player,player)>2); - })){ - return 5; - } - else if(game.hasPlayer(function(current){ - return (player.canUse({name:'juedou'},current)&¤t!=evt&¤t!=player&&get.effect(current,{name:'juedou'},player,player)<0); - })){ - return 1; - } - else return 4; - } + player.gainPlayerCard(get.prompt('new_liyu',trigger.player),trigger.player,'hej','visibleMove').set('ai',function(button){ + var player=_status.event.player,target=_status.event.target; + if(get.attitude(player,target)>0&&get.position(button.link)==='j') return 4+get.value(button.link); + if(get.type(button.link)==='equip') return _status.event.juedou; return 3; - }).set('logSkill',['new_liyu',trigger.player]); + }).set('juedou',(()=>{ + if(get.attitude(player,trigger.player)>0&&game.hasPlayer(function(current){ + return (player.canUse({name:'juedou'},current)&¤t!=trigger.player&¤t!=player&&get.effect(current,{name:'juedou'},player,_status.event.player)>2); + })) return 5; + if(game.hasPlayer(function(current){ + return (player.canUse({name:'juedou'},current)&¤t!=trigger.player&¤t!=player&&get.effect(current,{name:'juedou'},player,_status.event.player)<0); + })) return 1; + return 4; + })()).set('logSkill',['new_liyu',trigger.player]); 'step 1' if(result.bool){ if(get.type(result.cards[0])!='equip'){ trigger.player.draw(); event.finish(); } - else{ - if(!game.hasPlayer(function(current){ - return current!=player&¤t!=trigger.player&&player.canUse('juedou',current); - })){ - event.finish(); - return; - } - trigger.player.chooseTarget(true,function(card,player,target){ - var evt=_status.event.getParent(); - return evt.player.canUse({name:'juedou'},target)&&target!=_status.event.player; - },'请选择一名角色,视为'+get.translation(player)+'对其使用【决斗】').set('ai',function(target){ - var evt=_status.event.getParent(); - return get.effect(target,{name:'juedou'},evt.player,_status.event.player)-2; - }); + else{ + if(!game.hasPlayer(function(current){ + return current!=player&¤t!=trigger.player&&player.canUse('juedou',current); + })){ + event.finish(); + return; + } + trigger.player.chooseTarget(true,function(card,player,target){ + var evt=_status.event.getParent(); + return evt.player.canUse({name:'juedou'},target)&&target!=_status.event.player; + },'请选择一名角色,视为'+get.translation(player)+'对其使用【决斗】').set('ai',function(target){ + var evt=_status.event.getParent(); + return get.effect(target,{name:'juedou'},evt.player,_status.event.player)-2; + }); } } else event.finish(); From b1598996f2e5bea587f606c5cb8b7e052bf12c5b Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Wed, 27 Dec 2023 21:13:16 +0800 Subject: [PATCH 081/234] =?UTF-8?q?=E3=80=90=E6=8C=AF=E9=9E=98=E3=80=91ai?= =?UTF-8?q?=E6=94=B9mod?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/jsrg.js | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/character/jsrg.js b/character/jsrg.js index 0967d627e..94f5a61fb 100644 --- a/character/jsrg.js +++ b/character/jsrg.js @@ -5453,21 +5453,23 @@ game.import('character',function(lib,game,ui,get,ai,_status){ // trigger.getParent().triggeredTargets4=trigger.getParent().triggeredTargets4.concat(trigger.targets); trigger.getParent().effectCount++; }, - ai:{ - effect:{ - target:function(card,player,target){ - if(target===player&&get.subtype(card)==='equip1'&&!player.getEquip(1)){ - if(card.name!=='zhuge'||target.getCardUsable('sha')||!target.needsToDiscard()||target.countCards('hs',i=>{ - return get.name(i)==='sha'&&lib.filter.cardEnabled(i,target); - })<2) return 'zeroplayertarget'; - } - } - } - }, mod:{ attackRange:function(player,num){ return num+1; }, + aiOrder:(player,card,num)=>{ + if(num>0&&get.itemtype(card)==='card'&&get.subtype(card)==='equip1'&&!player.getEquip(1)){ + if(card.name!=='zhuge'||player.getCardUsable('sha')||!player.needsToDiscard()||player.countCards('hs',i=>{ + return get.name(i)==='sha'&&lib.filter.cardEnabled(i,target); + })<2) return 0; + } + }, + aiValue:(player,card,num)=>{ + if(num>0&&get.itemtype(card)==='card'&&card.name!=='zhuge'&&get.subtype(card)==='equip1'&&!player.getEquip(1)) return 0.01*num; + }, + aiUseful:()=>{ + return lib.skill.jsrgzhenqiao.mod.aiValue.apply(this,arguments); + } } }, //王允 From 201336225d97c8b05b808f04e1a6b29ec2b097b4 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Wed, 27 Dec 2023 21:35:01 +0800 Subject: [PATCH 082/234] bugfix --- mode/boss.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mode/boss.js b/mode/boss.js index dcaf37e59..0394b7485 100644 --- a/mode/boss.js +++ b/mode/boss.js @@ -8366,6 +8366,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } }, boss_wuxin:{ + audio:2, + mod:{ + targetEnabled:function(card,player,target){ + if(get.type(card)=='delay'&&player!=target) return false; + } + }, trigger:{player:'damageBefore'}, forced:true, priority:10, @@ -8373,7 +8379,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ trigger.cancel(); player.loseHp(); }, - audio:2, }, shenwei:{ audio:2, From 4d982b73f49b4b6ce5a81ff72f6ac200c90a0271 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Wed, 27 Dec 2023 22:07:35 +0800 Subject: [PATCH 083/234] =?UTF-8?q?=E3=80=90=E7=82=BC=E9=AD=84=E3=80=91bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/extra.js | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/character/extra.js b/character/extra.js index 063ea3147..860f5b11c 100755 --- a/character/extra.js +++ b/character/extra.js @@ -374,6 +374,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ //神贾诩 jxlianpo:{ audio:2, + init:()=>{ + game.addGlobalSkill('jxlianpo_global'); + }, + onremove:()=>{ + if(!game.hasPlayer(i=>i.hasSkill('jxlianpo'),true)) game.removeGlobalSkill('jxlianpo_global'); + }, trigger:{global:'dieAfter'}, filter:function(event,player){ if(lib.skill.jxlianpo.getMax().length<=1) return false; @@ -381,7 +387,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, forced:true, logTarget:'source', - global:'jxlianpo_global', getMax:()=>{ const map={ zhu:game.countPlayer(current=>{ @@ -521,20 +526,29 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }); }, cardSavable:function(card,player,target){ - if(card.name=='tao'){ + if(card.name=='tao'&&!player.hasSkill('jxlianpo')){ if(!lib.skill.jxlianpo.getMax().includes('zhu')) return; if(player==target) return; return false; } }, playerEnabled:function(card,player,target){ - if(card.name=='tao'){ + if(card.name=='tao'&&!player.hasSkill('jxlianpo')){ if(!lib.skill.jxlianpo.getMax().includes('zhu')) return; if(player==target) return; return false; } } }, + trigger:{player:'dieAfter'}, + filter:()=>{ + return !game.hasPlayer(i=>i.hasSkill('jxlianpo'),true); + }, + silent:true, + forceDie:true, + content:()=>{ + game.removeGlobalSkill('jxlianpo_global'); + } }, }, }, From cb8d95c61731e1a8cd240f21da447a55e9bb29d7 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Wed, 27 Dec 2023 23:04:22 +0800 Subject: [PATCH 084/234] =?UTF-8?q?noname.js=E7=BB=9F=E4=B8=80=E5=AF=BC?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/game.js | 3 --- noname.js | 27 ++++++++------------------- 2 files changed, 8 insertions(+), 22 deletions(-) diff --git a/game/game.js b/game/game.js index 6852cca3c..76596539d 100644 --- a/game/game.js +++ b/game/game.js @@ -50,9 +50,6 @@ new Promise(resolve => { } window['b' + 'ann' + 'e' + 'dE' + 'x' + 'ten' + 's' + 'i' + 'o' + 'ns'] = ['\u4fa0\u4e49', '\u5168\u6559\u7a0b']; - /** - * @type { Promise } - */ const module = import('../noname.js'); module.then(({ ai, game, get, lib, _status, ui, boot }) => { diff --git a/noname.js b/noname.js index fc5037fe2..944ce9d63 100644 --- a/noname.js +++ b/noname.js @@ -1,19 +1,8 @@ -import { GNC as gnc } from './noname/gnc/index.js'; -import { AI as ai } from './noname/ai/index.js'; -import { Game as game } from './noname/game/index.js'; -import { Get as get } from './noname/get/index.js'; -import { Library as lib } from './noname/library/index.js'; -import { status as _status } from './noname/status/index.js'; -import { UI as ui } from './noname/ui/index.js'; - -export { boot } from './noname/init/index.js'; - -export { - gnc, - ai, - game, - get, - lib, - _status, - ui, -} +export { GNC as gnc } from './noname/gnc/index.js'; +export { AI as ai } from './noname/ai/index.js'; +export { Game as game } from './noname/game/index.js'; +export { Get as get } from './noname/get/index.js'; +export { Library as lib } from './noname/library/index.js'; +export { status as _status } from './noname/status/index.js'; +export { UI as ui } from './noname/ui/index.js'; +export { boot } from './noname/init/index.js'; \ No newline at end of file From 8588174be681fae3be22aa9511bf02f514df2188 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Wed, 27 Dec 2023 23:07:16 +0800 Subject: [PATCH 085/234] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E7=9A=84window.onerror?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index bc7f25e21..ffa1fcf2b 100755 --- a/index.html +++ b/index.html @@ -1,13 +1,23 @@ - - - - - - 无名杀 - - - - + + + + + 无名杀 + + + + + \ No newline at end of file From e891b683effeec12b8c815e1a038fd5c37554305 Mon Sep 17 00:00:00 2001 From: kuangshen04 <2832899707@qq.com> Date: Wed, 27 Dec 2023 23:12:13 +0800 Subject: [PATCH 086/234] =?UTF-8?q?revert=20.skill=E6=94=B9=E5=BC=B9?= =?UTF-8?q?=E6=80=A7=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layout/default/layout.css | 14 +-- noname/get/index.js | 240 ++++++++++++++++---------------------- 2 files changed, 102 insertions(+), 152 deletions(-) diff --git a/layout/default/layout.css b/layout/default/layout.css index 52519f4b0..0058030b0 100644 --- a/layout/default/layout.css +++ b/layout/default/layout.css @@ -1935,20 +1935,10 @@ div:not(.handcards)>.card>.info>span, padding: 0; } -div:has(>div.skill):only-child { - display: flex; - flex-wrap: nowrap; -} .skill { left: 0 !important; - flex: 0 0 70px !important; - word-break: break-word; - /* width: 70px !important; - white-space: nowrap; */ -} -.skill+div { - flex: 1; - word-break: break-word; + width: 70px !important; + white-space: nowrap; } .skilln { left: 0 !important; diff --git a/noname/get/index.js b/noname/get/index.js index 2fdde3581..781bfed29 100644 --- a/noname/get/index.js +++ b/noname/get/index.js @@ -3061,143 +3061,106 @@ export class Get extends Uninstantable { skills.add(i); } } - skills.forEach(skill => { - if (lib.skill[skill] && (lib.skill[skill].nopop || lib.skill[skill].equipSkill)) return; - if (!lib.translate[skill + '_info']) return; - let translation; - if (lib.translate[skill + '_ab']) translation = lib.translate[skill + '_ab']; - else { - translation = get.translation(skill); - if (!lib.skill[skill].nobracket) translation = `【${translation.slice(0, 2)}】`; - } - - if (node.forbiddenSkills[skill]) uiintro.add(` -
    -
    ${translation}
    -
    - ${node.forbiddenSkills[skill].length ? `(与${get.translation(node.forbiddenSkills[skill])}冲突)` : `(双将禁用)`}
    - ${get.skillInfoTranslation(skill, node)} -
    -
    - `); - else if (!skills2.contains(skill)) { - if (lib.skill[skill].preHidden && get.mode() == 'guozhan') { - uiintro.add(` -
    -
    ${translation}
    -
    - ${get.skillInfoTranslation(skill, node)}
    -
    预亮技能
    -
    -
    - `); - const underlinenode = uiintro.content.lastChild.querySelector('.underlinenode'); - if (_status.prehidden_skills.contains(skill)) { - underlinenode.classList.remove('on'); - } - underlinenode.link = skill; - underlinenode.listen(ui.click.hiddenskill); + for (i = 0; i < skills.length; i++) { + if (lib.skill[skills[i]] && (lib.skill[skills[i]].nopop || lib.skill[skills[i]].equipSkill)) continue; + if (lib.translate[skills[i] + '_info']) { + if (lib.translate[skills[i] + '_ab']) translation = lib.translate[skills[i] + '_ab']; + else { + translation = get.translation(skills[i]); + if (!lib.skill[skills[i]].nobracket) translation = `【${translation.slice(0, 2)}】`; } - else uiintro.add(` -
    -
    ${translation}
    -
    ${get.skillInfoTranslation(skill, node)}
    -
    - `); - } - else if (lib.skill[skill].temp || !node.skills.contains(skill) || lib.skill[skill].thundertext) { - if (lib.skill[skill].frequent || lib.skill[skill].subfrequent) { - uiintro.add(` -
    -
    ${translation}
    -
    - ${get.skillInfoTranslation(skill, node)}
    -
    自动发动
    -
    -
    - `); - const underlinenode = uiintro.content.lastChild.querySelector('.underlinenode'); - if (lib.skill[skill].frequent) { - if (lib.config.autoskilllist.contains(skill)) { + + if (node.forbiddenSkills[skills[i]]) { + var forbidstr = '
    ' + translation + '
    '; + if (node.forbiddenSkills[skills[i]].length) { + forbidstr += '(与' + get.translation(node.forbiddenSkills[skills[i]]) + '冲突)
    '; + } + else { + forbidstr += '(双将禁用)
    '; + } + forbidstr += get.skillInfoTranslation(skills[i], node) + '
    ' + uiintro.add(forbidstr); + } + else if (!skills2.contains(skills[i])) { + if (lib.skill[skills[i]].preHidden && get.mode() == 'guozhan') { + uiintro.add('
    ' + translation + '
    ' + get.skillInfoTranslation(skills[i], node) + '
    预亮技能
    '); + var underlinenode = uiintro.content.lastChild.querySelector('.underlinenode'); + if (_status.prehidden_skills.contains(skills[i])) { + underlinenode.classList.remove('on'); + } + underlinenode.link = skills[i]; + underlinenode.listen(ui.click.hiddenskill); + } + else uiintro.add('
    ' + translation + '
    ' + get.skillInfoTranslation(skills[i], node) + '
    '); + } + else if (lib.skill[skills[i]].temp || !node.skills.contains(skills[i]) || lib.skill[skills[i]].thundertext) { + if (lib.skill[skills[i]].frequent || lib.skill[skills[i]].subfrequent) { + uiintro.add('
    ' + translation + '
    ' + get.skillInfoTranslation(skills[i], node) + '
    自动发动
    '); + var underlinenode = uiintro.content.lastChild.querySelector('.underlinenode'); + if (lib.skill[skills[i]].frequent) { + if (lib.config.autoskilllist.contains(skills[i])) { + underlinenode.classList.remove('on'); + } + } + if (lib.skill[skills[i]].subfrequent) { + for (var j = 0; j < lib.skill[skills[i]].subfrequent.length; j++) { + if (lib.config.autoskilllist.contains(skills[i] + '_' + lib.skill[skills[i]].subfrequent[j])) { + underlinenode.classList.remove('on'); + } + } + } + if (lib.config.autoskilllist.contains(skills[i])) { + underlinenode.classList.remove('on'); + } + underlinenode.link = skills[i]; + underlinenode.listen(ui.click.autoskill2); + } + else { + uiintro.add('
    ' + translation + '
    ' + get.skillInfoTranslation(skills[i], node) + '
    '); + } + } + else if (lib.skill[skills[i]].frequent || lib.skill[skills[i]].subfrequent) { + uiintro.add('
    ' + translation + '
    ' + get.skillInfoTranslation(skills[i], node) + '
    自动发动
    '); + var underlinenode = uiintro.content.lastChild.querySelector('.underlinenode'); + if (lib.skill[skills[i]].frequent) { + if (lib.config.autoskilllist.contains(skills[i])) { underlinenode.classList.remove('on'); } } - if (lib.skill[skill].subfrequent) lib.skill[skill].subfrequent.forEach(i => { - if (lib.config.autoskilllist.contains(skill + '_' + i)) { - underlinenode.classList.remove('on'); + if (lib.skill[skills[i]].subfrequent) { + for (var j = 0; j < lib.skill[skills[i]].subfrequent.length; j++) { + if (lib.config.autoskilllist.contains(skills[i] + '_' + lib.skill[skills[i]].subfrequent[j])) { + underlinenode.classList.remove('on'); + } } - }); - if (lib.config.autoskilllist.contains(skill)) { + } + if (lib.config.autoskilllist.contains(skills[i])) { underlinenode.classList.remove('on'); } - underlinenode.link = skill; + underlinenode.link = skills[i]; underlinenode.listen(ui.click.autoskill2); } - else uiintro.add(` -
    -
    ${translation}
    -
    ${get.skillInfoTranslation(skill, node)}
    -
    - `); - } - else if (lib.skill[skill].frequent || lib.skill[skill].subfrequent) { - uiintro.add(` -
    -
    ${translation}
    -
    - ${get.skillInfoTranslation(skill, node)}
    -
    自动发动
    -
    -
    - `); - const underlinenode = uiintro.content.lastChild.querySelector('.underlinenode'); - if (lib.skill[skill].frequent) { - if (lib.config.autoskilllist.contains(skill)) { - underlinenode.classList.remove('on'); + else if (lib.skill[skills[i]].clickable && node.isIn() && node.isUnderControl(true)) { + var intronode = uiintro.add('
    ' + translation + '
    ' + get.skillInfoTranslation(skills[i], node) + '
    ').querySelector('.skillbutton'); + if (!_status.gameStarted || (lib.skill[skills[i]].clickableFilter && !lib.skill[skills[i]].clickableFilter(node))) { + intronode.classList.add('disabled'); + intronode.style.opacity = 0.5; } - } - if (lib.skill[skill].subfrequent) lib.skill[skill].subfrequent.forEach(i => { - if (lib.config.autoskilllist.contains(skill + '_' + i)) { - underlinenode.classList.remove('on'); + else { + intronode.link = node; + intronode.func = lib.skill[skills[i]].clickable; + intronode.classList.add('pointerdiv'); + intronode.listen(ui.click.skillbutton); } - }); - if (lib.config.autoskilllist.contains(skill)) { - underlinenode.classList.remove('on'); - } - underlinenode.link = skill; - underlinenode.listen(ui.click.autoskill2); - } - else if (lib.skill[skill].clickable && node.isIn() && node.isUnderControl(true)) { - const intronode = uiintro.add(` -
    -
    ${translation}
    -
    - ${get.skillInfoTranslation(skill, node)}
    - -
    -
    - `).querySelector('.skillbutton'); - if (!_status.gameStarted || (lib.skill[skill].clickableFilter && !lib.skill[skill].clickableFilter(node))) { - intronode.classList.add('disabled'); - intronode.style.opacity = 0.5; } else { - intronode.link = node; - intronode.func = lib.skill[skill].clickable; - intronode.classList.add('pointerdiv'); - intronode.listen(ui.click.skillbutton); + uiintro.add('
    ' + translation + '
    ' + get.skillInfoTranslation(skills[i], node) + '
    '); + } + if (lib.translate[skills[i] + '_append']) { + uiintro._place_text = uiintro.add('
    ' + lib.translate[skills[i] + '_append'] + '
    ') } } - else uiintro.add(` -
    -
    ${translation}
    -
    ${get.skillInfoTranslation(skill, node)}
    -
    - `); - if (lib.translate[skill + '_append']) { - uiintro._place_text = uiintro.add(`
    ${lib.translate[skill + '_append']}
    `) - } - }); + } // if(get.is.phoneLayout()){ // var storage=node.storage; // for(i in storage){ @@ -3704,10 +3667,10 @@ export class Get extends Uninstantable { } } let typeinfo = ''; - if (lib.card[name].unique) { + if (lib.card[name] && lib.card[name].unique) { typeinfo += ('特殊' + get.translation(lib.card[name].type) + '牌'); } - else if (lib.card[name].type && lib.translate[lib.card[name].type]) { + else if (lib.card[name] && lib.card[name].type && lib.translate[lib.card[name].type]) { typeinfo += (get.translation(lib.card[name].type) + '牌'); } if (get.subtype(name, false)) { @@ -3884,25 +3847,22 @@ export class Get extends Uninstantable { } else { var infoitem = get.character(character); - var skills = infoitem[3]; get.character(character, 3).forEach(skill => { - if (!lib.translate[skill + '_info']) return; - if (lib.translate[skill + '_ab']) translation = lib.translate[skill + '_ab']; - else { - translation = get.translation(skill); - if (!lib.skill[skill].nobracket) translation = `【${translation.slice(0, 2)}】`; - } + var skills = infoitem[3]; + for (i = 0; i < skills.length; i++) { + if (lib.translate[skills[i] + '_info']) { + if (lib.translate[skills[i] + '_ab']) translation = lib.translate[skills[i] + '_ab']; + else { + translation = get.translation(skills[i]); + if (!lib.skill[skills[i]].nobracket) translation = `【${translation.slice(0, 2)}】`; + } - uiintro.add(` -
    -
    ${translation}
    -
    ${get.skillInfoTranslation(skill)}
    -
    - `); + uiintro.add('
    ' + translation + '
    ' + get.skillInfoTranslation(skills[i]) + '
    '); - if (lib.translate[skill + '_append']) { - uiintro._place_text = uiintro.add(`
    ${lib.translate[skill + '_append']}
    `) + if (lib.translate[skills[i] + '_append']) { + uiintro._place_text = uiintro.add('
    ' + lib.translate[skills[i] + '_append'] + '
    ') + } } - }); + } var modepack = lib.characterPack['mode_' + get.mode()]; if (lib.config.show_favourite && lib.character[node.link] && (!modepack || !modepack[node.link]) && (!simple || get.is.phoneLayout())) { From 14cbfdc843d3e1b4d3d82c7a03a18e1f44cc34f9 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Wed, 27 Dec 2023 23:22:26 +0800 Subject: [PATCH 087/234] =?UTF-8?q?=E4=BF=AE=E6=94=B9get.copy,=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E4=B8=80=E4=B8=AAconfig=E5=8F=AA=E6=9C=89getter?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/get/index.js | 18 ++++-------------- noname/library/index.js | 14 +++++++++++++- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/noname/get/index.js b/noname/get/index.js index 2fdde3581..97a2943ea 100644 --- a/noname/get/index.js +++ b/noname/get/index.js @@ -1118,21 +1118,11 @@ export class Get extends Uninstantable { * @returns {T} */ static copy(obj) { - if (get.objtype(obj) == 'object') { - var copy = {}; - for (var i in obj) { - copy[i] = get.copy(obj[i]); - } - return copy; + try { + return structuredClone(obj); } - else if (Array.isArray(obj)) { - var copy = []; - for (var i = 0; i < obj.length; i++) { - copy.push(get.copy(obj[i])); - } - return copy; - } - else { + catch { + // obj不可序列化时 return obj; } } diff --git a/noname/library/index.js b/noname/library/index.js index 36d2f83d5..73c445fc1 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -4272,15 +4272,27 @@ export class Library extends Uninstantable { get init() { return lib.configMenu.view.config.show_characternamepinyin.init; }, + set init(newVal) { + lib.configMenu.view.config.show_characternamepinyin.init = newVal; + }, get unfrequent() { return lib.configMenu.view.config.show_characternamepinyin.unfrequent; }, + set unfrequent(newVal) { + lib.configMenu.view.config.show_characternamepinyin.unfrequent = newVal; + }, get item() { return lib.configMenu.view.config.show_characternamepinyin.item; }, + set item(newVal) { + lib.configMenu.view.config.show_characternamepinyin.item = newVal; + }, get visualMenu() { return lib.configMenu.view.config.show_characternamepinyin.visualMenu; - } + }, + set visualMenu(newVal) { + lib.configMenu.view.config.show_characternamepinyin.visualMenu = newVal; + }, } } }, From ea754c964259677036513310016383d266cad51c Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Wed, 27 Dec 2023 23:33:07 +0800 Subject: [PATCH 088/234] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=B8=8Ejsdoc?= =?UTF-8?q?=E7=9A=84=E5=91=BD=E5=90=8D=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/library/element/player.js | 4 +++- noname/library/index.js | 12 ++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/noname/library/element/player.js b/noname/library/element/player.js index 346dbdced..5b6f97fab 100644 --- a/noname/library/element/player.js +++ b/noname/library/element/player.js @@ -10,10 +10,12 @@ export default class extends HTMLDivElement { * @param {HTMLDivElement} [position] * @param {true} [noclick] */ + // @ts-ignore constructor(position, noclick) { /** - * @type {Player} + * @type {this} */ + // @ts-ignore const player = ui.create.div('.player', position); Object.setPrototypeOf(player, lib.element.Player.prototype); player.build(noclick); diff --git a/noname/library/index.js b/noname/library/index.js index 73c445fc1..97162e6c8 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -20,9 +20,9 @@ import { GNC as gnc } from '../gnc/index.js'; import { LibInit } from "./init/index.js"; import { Announce } from "./announce/index.js"; -import Content from "./element/content.js"; -import Contents from "./element/contents.js"; -import Player from "./element/player.js"; +import LibElementContent from "./element/content.js"; +import LibElementContents from "./element/contents.js"; +import LibElementPlayer from "./element/player.js"; export class Library extends Uninstantable { static configprefix = 'noname_0.9_'; @@ -9225,9 +9225,9 @@ export class Library extends Uninstantable { _stratagem_add_buff: '强化' }; static element = { - content: Content, - contents: Contents, - Player: Player, + content: LibElementContent, + contents: LibElementContents, + Player: LibElementPlayer, Card: class extends HTMLDivElement { /** * @param {HTMLDivElement} [position] From a9cef4859c2d67df8ddf814f7e2d7c2b3eaab409 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Wed, 27 Dec 2023 23:59:16 +0800 Subject: [PATCH 089/234] =?UTF-8?q?=E7=A5=9E=E5=8D=8E=E4=BD=97=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/extra.js | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/character/extra.js b/character/extra.js index 860f5b11c..22b3b8589 100755 --- a/character/extra.js +++ b/character/extra.js @@ -100,7 +100,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filterTarget:function(card,player,target){ return !target.hasSkill('wuling_wuqinxi'); }, - usable:1, + usable:2, prompt:'选择一名角色,向其传授“五禽戏”', group:'wuling_die', content:function(){ @@ -154,9 +154,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ wuqinxiMap:[ '虎:当你使用指定唯一目标的牌对目标角色造成伤害时,此伤害+1。', '鹿:①当你获得此效果时,你回复1点体力并弃置判定区的所有牌。②你不能成为延时锦囊牌的目标。', - '熊:当你受到伤害时,此伤害-1。', + '熊:每回合限一次,当你受到伤害时,此伤害-1。', '猿:出牌阶段开始时,你选择一名角色,随机获得其装备区里的一张牌。', - '鹤:出牌阶段开始时,你摸两张牌。', + '鹤:出牌阶段开始时,你摸三张牌。', ], updateMark:function(player){ var wuqinxi=player.storage.wuling_wuqinxi; @@ -226,7 +226,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var evt=event.getParent('useCard'); return evt.targets&&evt.targets.length==1&&evt.targets.includes(event.player); case 'damageBegin4': - return wuqinxi=='熊'; + return wuqinxi=='熊'&&!player.hasSkill('wuling_xiong'); default: if(wuqinxi=='鹤') return true; if(wuqinxi!='猿') return false; @@ -251,12 +251,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.finish(); break; case 'damageBegin4': + player.addTempSkill('wuling_xiong'); trigger.num--; event.finish(); break; default: if(wuqinxi=='鹤'){ - player.draw(2); + player.draw(3); event.finish(); } else{ @@ -290,7 +291,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ const curWuqinxi=wuqinxi[0]; const nextWuqinxi=wuqinxi[1]; if(nextWuqinxi=='鹿'&&get.type(card)=='delay') return 'zerotarget'; - if(curWuqinxi!='熊') return; + if(curWuqinxi!='熊'||player.hasSkill('wuling_xiong')) return; if(player.hasSkillTag('jueqing',false,target)) return; var num=get.tag(card,'damage'); if(num){ @@ -301,6 +302,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, }, + xiong:{charlotte:true}, die:{ trigger:{player:'die'}, filter:function(event,player){ @@ -7997,14 +7999,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ shen_huatuo:'神华佗', shen_huatuo_prefix:'神', wuling:'五灵', - wuling_info:'①出牌阶段限一次。你可以选择一名没有“五禽戏”的角色,按照你选择的顺序向其传授“五禽戏”,且其获得如下效果:其获得你选择的第一种“五禽戏”的效果,并在其每个准备阶段移除当前“五禽戏”的效果并切换为下一种。②当你死亡时,你令场上的角色失去你传授的“五禽戏”。', + wuling_info:'①出牌阶段限两次。你可以选择一名没有“五禽戏”的角色,按照你选择的顺序向其传授“五禽戏”,且其获得如下效果:其获得你选择的第一种“五禽戏”的效果,并在其每个准备阶段移除当前“五禽戏”的效果并切换为下一种。②当你死亡时,你令场上的角色失去你传授的“五禽戏”。', wuling_wuqinxi:'五禽戏', wuling_wuqinxi_info:'
  • “五禽戏”分为“虎、鹿、熊、猿、鹤”五个不同的效果:'+ '
  • 虎:当你使用指定唯一目标的牌对目标角色造成伤害时,此伤害+1。'+ '
  • 鹿:①当你获得此效果时,你回复1点体力并弃置判定区的所有牌。②你不能成为延时锦囊牌的目标。'+ - '
  • 熊:当你受到伤害时,此伤害-1。'+ + '
  • 熊:每回合限一次,当你受到伤害时,此伤害-1。'+ '
  • 猿:出牌阶段开始时,你选择一名角色,随机获得其装备区里的一张牌。'+ - '
  • 鹤:出牌阶段开始时,你摸两张牌。', + '
  • 鹤:出牌阶段开始时,你摸三张牌。', youyi:'游医', youyi_info:'①弃牌阶段结束时,你可以将所有于此阶段弃置的牌置入仁区。②出牌阶段限一次。你可以将仁区的所有牌置入弃牌堆,令所有角色各回复1点体力。', From 21542e7cfb806d539d7a08a55e2a6c668fe6c76f Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Thu, 28 Dec 2023 00:30:09 +0800 Subject: [PATCH 090/234] =?UTF-8?q?=E5=BE=90=E8=8D=A3=E6=8A=80=E8=83=BD?= =?UTF-8?q?=E5=86=99=E6=B3=95=E7=AE=80=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/sp.js | 249 ++++++++++++++++++++++-------------------------- 1 file changed, 115 insertions(+), 134 deletions(-) diff --git a/character/sp.js b/character/sp.js index 4d28bcab6..997fd1cb4 100755 --- a/character/sp.js +++ b/character/sp.js @@ -24371,102 +24371,25 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, }, - "xinfu_xionghuo":{ - group:["xinfu_xionghuo_damage","xinfu_xionghuo_begin","xinfu_xionghuo_init"], - subSkill:{ - begin:{ - audio:'xinfu_xionghuo', - logTarget:'player', - line:false, - forced:true, - trigger:{ - global:"phaseUseBegin", - }, - filter:function (event,player){ - return event.player.countMark('xionghuo')>0&&event.player!=player; - }, - content:function (){ - 'step 0' - trigger.player.removeMark('xionghuo',trigger.player.countMark('xionghuo')); - var list=[1,2,3]; - var num=list.randomGet(); - event.goto(num); - 'step 1' - player.line(trigger.player,'fire'); - trigger.player.damage('fire'); - if(!trigger.player.storage.xionghuo_disable) trigger.player.storage.xionghuo_disable=[]; - trigger.player.storage.xionghuo_disable.push(player); - trigger.player.addTempSkill('xionghuo_disable','phaseAfter'); - event.goto(4); - 'step 2' - player.line(trigger.player,'water'); - trigger.player.loseHp(); - trigger.player.addMark('xionghuo_low',1,false); - trigger.player.addTempSkill('xionghuo_low','phaseAfter'); - event.goto(4); - 'step 3' - player.line(trigger.player,'green'); - var card1=trigger.player.getCards('h').randomGet(); - var card2=trigger.player.getCards('e').randomGet(); - var list=[]; - if(card1) list.push(card1); - if(card2) list.push(card2); - if(list.length>0){ - player.gain(list,trigger.player,'giveAuto','bySelf'); - } - 'step 4' - game.delay(); - }, - }, - damage:{ - audio:"xinfu_xionghuo", - sub:true, - forced:true, - trigger:{ - source:"damageBegin1", - }, - filter:function (event,player){ - return event.player.countMark('xionghuo')>0&&event.player!=player; - }, - content:function (){ - trigger.num++; - }, - }, - init:{ - audio:'xinfu_xionghuo', - trigger:{ - global:"phaseBefore", - player:"enterGame", - }, - forced:true, - locked:false, - filter:function(event,player){ - return (event.name!='phase'||game.phaseNumber==0); - }, - content:function(){ - player.addMark("xionghuo",3); - }, - }, - }, + xinfu_xionghuo:{ audio:2, - enable:"phaseUse", + enable:'phaseUse', filter:function(event,player){ - return player.countMark('xionghuo')>0; + return player.countMark('xinfu_xionghuo')>0; }, - filterTarget:function (card,player,target){ - if(target.hasMark('xionghuo')) return false; - return player!=target>0; + filterTarget:function(card,player,target){ + return player!=target&&!target.hasMark('xinfu_xionghuo'); }, - content:function (){ - player.removeMark('xionghuo',1); - target.addMark('xionghuo',1); + content:function(){ + player.removeMark('xinfu_xionghuo',1); + target.addMark('xinfu_xionghuo',1); }, ai:{ order:11, result:{ target:function(player,target){ - if((player.countMark('xionghuo')>=2||!game.hasPlayer(function(current){ - return current!=player&&get.attitude(player,current)<0&¤t.hasMark('xionghuo'); + if((player.countMark('xinfu_xionghuo')>=2||!game.hasPlayer(function(current){ + return current!=player&&get.attitude(player,current)<0&¤t.hasMark('xinfu_xionghuo'); }))&&player.countCards('h',function(card){ return get.tag(card,'damage')&&player.canUse(card,target,null,true) &&player.getUseValue(card)>0&&get.effect_use(target,card,player)>0 @@ -24477,7 +24400,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ })) return 3/Math.max(1,target.hp); if((!player.hasUnknown()&&game.countPlayer(function(current){ return get.attitude(player,current)<0; - })<=1)||player.countMark('xionghuo')>=2){ + })<=1)||player.countMark('xinfu_xionghuo')>=2){ return -1; } return 0; @@ -24485,7 +24408,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, effect:{ player:function(card,player,target){ - if(player!=target&&get.tag(card,'damage')&&target&&target.hasMark('xionghuo')&&!target.hasSkillTag('filterDamage',null,{ + if(player!=target&&get.tag(card,'damage')&&target&&target.hasMark('xinfu_xionghuo')&&!target.hasSkillTag('filterDamage',null,{ player:player, card:card, })) return [1,0,1,-2]; @@ -24493,41 +24416,107 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, threaten:1.6, }, - }, - xionghuo:{ - marktext:"戾", + marktext:'戾', intro:{ name:'暴戾', - content:"mark", + content:'mark', }, - locked:true, - }, - "xionghuo_disable":{ - mod:{ - playerEnabled:function (card,player,target){ - if(card.name=='sha'&&(player.storage.xionghuo_disable&&player.storage.xionghuo_disable.contains(target))) return false; + group:['xinfu_xionghuo_init','xinfu_xionghuo_damage','xinfu_xionghuo_effect'], + subSkill:{ + init:{ + audio:'xinfu_xionghuo', + trigger:{ + global:"phaseBefore", + player:'enterGame', + }, + filter:function(event,player){ + return event.name!='phase'||game.phaseNumber==0; + }, + forced:true, + locked:false, + content:function(){ + player.addMark('xinfu_xionghuo',3); + }, }, - }, - onremove:true, - charlotte:true, - mark:true, - marktext:"禁", - intro:{ - content:"本回合内不能对$使用【杀】", - }, - }, - "xionghuo_low":{ - mod:{ - maxHandcard:function (player,num){ - return num-player.countMark('xionghuo_low'); + damage:{ + audio:"xinfu_xionghuo", + trigger:{source:'damageBegin1'}, + filter:function(event,player){ + return event.player.countMark('xinfu_xionghuo')>0&&event.player!=player; + }, + forced:true, + locked:false, + logTarget:'player', + content:function(){ + trigger.num++; + }, + }, + effect:{ + audio:'xinfu_xionghuo', + trigger:{global:'phaseUseBegin'}, + filter:function(event,player){ + return event.player.countMark('xinfu_xionghuo')>0&&event.player!=player; + }, + line:false, + forced:true, + locked:false, + logTarget:'player', + content:function(){ + 'step 0' + trigger.player.removeMark('xinfu_xionghuo',trigger.player.countMark('xinfu_xionghuo')); + 'step 1' + var num=get.rand(0,2); + switch(num){ + case 0: + player.line(trigger.player,'fire'); + trigger.player.damage('fire'); + trigger.player.addTempSkill('xinfu_xionghuo_disable'); + trigger.player.markAuto('xinfu_xionghuo_disable',[player]); + break; + case 1: + player.line(trigger.player,'water'); + trigger.player.loseHp(); + trigger.player.addMark('xinfu_xionghuo_low',1,false); + trigger.player.addTempSkill('xinfu_xionghuo_low'); + break; + case 2: + player.line(trigger.player,'green'); + var card1=trigger.player.getCards('h').randomGet(); + var card2=trigger.player.getCards('e').randomGet(); + var list=[]; + if(card1) list.push(card1); + if(card2) list.push(card2); + if(list.length) player.gain(list,trigger.player,'giveAuto','bySelf'); + break; + } + 'step 2' + game.delay(); + }, + }, + disable:{ + mod:{ + playerEnabled:function (card,player,target){ + if(card.name=='sha'&&player.getStorage('xinfu_xionghuo_disable').includes(target)) return false; + }, + }, + charlotte:true, + onremove:true, + mark:true, + marktext:'禁', + intro:{content:'不能对$使用【杀】'}, + }, + low:{ + mod:{ + maxHandcard:function (player,num){ + return num-player.countMark('xinfu_xionghuo_low'); + }, + }, + charlotte:true, + onremove:true, + mark:true, + marktext:'减', + intro:{content:'手牌上限-#'}, }, - }, - marktext:"减", - mark:true, - onremove:true, - charlotte:true, - intro:{ - content:"本回合内手牌上限-#", }, }, xinfu_shajue:{ @@ -24538,15 +24527,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, forced:true, content:function(){ - player.addMark('xionghuo',1); - if(trigger.player.hp<0&&trigger.parent.name=='damage'&&get.itemtype(trigger.parent.cards)=='cards'&&get.position(trigger.parent.cards[0],true)=='o'){ + player.addMark('xinfu_xionghuo',1); + if(trigger.player.hp<0&&get.itemtype(trigger.parent.cards)=='cards'&&get.position(trigger.parent.cards[0],true)=='o'){ player.gain(trigger.parent.cards,'gain2'); } }, }, - xinfu_jianjie:{ - audio:3, - }, + xinfu_jianjie:{audio:3}, jianjie:{ group:["jianjie_use","jianjie_die"], derivation:['jianjie_huoji','jianjie_lianhuan','jianjie_yeyan'], @@ -25521,16 +25508,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "lingren_xingshang_info":"当有角色死亡后,你可以选择一项:1.回复1点体力。2.获得该角色的所有牌。", "xinfu_fujian":"伏间", "xinfu_fujian_info":"锁定技,结束阶段开始时,你观看一名随机的其他角色的随机X张手牌。(X为场上手牌最少的角色的手牌数)", - "xinfu_xionghuo":"凶镬", - "xinfu_xionghuo_info":"游戏开始时,你获得3个“暴戾”标记。出牌阶段,你可以交给一名其他角色一个“暴戾”标记,你对有“暴戾”标记的其他角色造成伤害时,此伤害+1。有“暴戾”的其他角色的出牌阶段开始时,其移去所有“暴戾”标记并随机执行一项:1.受到1点火焰伤害且本回合不能对你使用【杀】;2.失去1点体力且本回合手牌上限-1;3.你随机获得其一张手牌和一张装备区的牌。", - xionghuo:"凶镬", - "xionghuo_info":"", - "xionghuo_disable":"凶镬", - "xionghuo_disable_info":"", - "xionghuo_low":"凶镬", - "xionghuo_low_info":"", - "xinfu_shajue":"杀绝", - "xinfu_shajue_info":"锁定技,其他角色进入濒死状态时,你获得一个“暴戾”标记。然后若其体力值小于0,你获得使其进入濒死状态的牌。", + xinfu_xionghuo:'凶镬', + xinfu_xionghuo_info:'游戏开始时,你获得3个“暴戾”标记。出牌阶段,你可以交给一名其他角色一个“暴戾”标记。当你对有“暴戾”标记的其他角色造成伤害时,此伤害+1。有“暴戾”标记的其他角色的出牌阶段开始时,其移去所有“暴戾”标记并随机执行一项:1.受到1点火焰伤害且本回合不能对你使用【杀】;2.失去1点体力且本回合手牌上限-1;3.你随机获得其一张手牌和一张装备区的牌。', + xinfu_shajue:'杀绝', + xinfu_shajue_info:'锁定技,其他角色进入濒死状态时,你获得一个“暴戾”标记。然后若其体力值小于0,你获得使其进入濒死状态的牌。', xinfu_jianjie:"荐杰", jianjie:'荐杰', jianjie_info:'①你的第一个准备阶段开始时,你令一名其他角色获得“龙印”,然后令另一名其他角色获得“凤印”。②出牌阶段限一次。若当前回合不是你的第一个回合,则你可以移动场上的“龙印”或“凤印”。③拥有“龙印”或“凤印”的其他角色死亡时,你转移该角色的“龙印”和“凤印”。④拥有“龙印”/“凤印”的角色视为拥有〖火计〗/〖连环〗,且同时拥有这两种标记的角色视为拥有〖业炎〗。', From ba438ef817f5d517b8d5804a1af9916222a064fe Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Thu, 28 Dec 2023 00:43:55 +0800 Subject: [PATCH 091/234] =?UTF-8?q?=E9=87=8D=E6=96=B0=E6=8B=86=E5=88=86lib?= =?UTF-8?q?.element?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/get/index.js | 11 +- noname/library/element/button.js | 42 + noname/library/element/card.js | 787 +++++++ noname/library/element/client.js | 75 + noname/library/element/content.js | 2 +- noname/library/element/contents.js | 2 +- noname/library/element/control.js | 132 ++ noname/library/element/dialog.js | 178 ++ noname/library/element/gameEvent.js | 855 ++++++++ noname/library/element/gameEventPromise.js | 161 ++ noname/library/element/index.js | 12 + noname/library/element/nodeWS.js | 25 + noname/library/element/player.js | 6 +- noname/library/element/vcard.js | 114 + noname/library/index.js | 2300 +------------------- noname/util/index.js | 4 +- 16 files changed, 2429 insertions(+), 2277 deletions(-) create mode 100644 noname/library/element/button.js create mode 100644 noname/library/element/card.js create mode 100644 noname/library/element/client.js create mode 100644 noname/library/element/control.js create mode 100644 noname/library/element/dialog.js create mode 100644 noname/library/element/gameEvent.js create mode 100644 noname/library/element/gameEventPromise.js create mode 100644 noname/library/element/index.js create mode 100644 noname/library/element/nodeWS.js create mode 100644 noname/library/element/vcard.js diff --git a/noname/get/index.js b/noname/get/index.js index 97a2943ea..6940135d4 100644 --- a/noname/get/index.js +++ b/noname/get/index.js @@ -2229,10 +2229,13 @@ export class Get extends Uninstantable { } /** * @template T - * @type {{ - * (key: T) => GameEvent[T]; - * () => GameEvent; - * }} + * @overload + * @param {T} key + * @returns {import("../library/index.js").GameEvent[T]} + */ + /** + * @overload + * @returns {import("../library/index.js").GameEvent} */ static event(key) { return key ? _status.event[key] : _status.event } static player() { return _status.event.player } diff --git a/noname/library/element/button.js b/noname/library/element/button.js new file mode 100644 index 000000000..b497eda7f --- /dev/null +++ b/noname/library/element/button.js @@ -0,0 +1,42 @@ +import { AI as ai } from '../../ai/index.js'; +import { Get as get } from '../../get/index.js'; +import { Game as game } from '../../game/index.js'; +import { Library as lib } from "../index.js"; +import { status as _status } from '../../status/index.js'; +import { UI as ui } from '../../ui/index.js'; + +export class Button extends HTMLDivElement { + /** + * @param {{}} item + * @param {keyof typeof ui.create.buttonPresets | ((item: {}, type: Function, position?: HTMLDivElement | DocumentFragment, noClick?: true, button?: typeof Button) => typeof Button)} type + * @param {HTMLDivElement|DocumentFragment} [position] + * @param {true} [noClick] + * @param { typeof Button } [button] + */ + // @ts-ignore + constructor(item, type, position, noClick, button) { + if (ui.create.buttonPresets[type]) button = ui.create.buttonPresets[type](item, type, position, noClick, button); + else if (typeof type == 'function') button = type(item, type, position, noClick, button); + Object.setPrototypeOf(button, Button.prototype); + // @ts-ignore + if (!noClick) button.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.button); + else { + // @ts-ignore + button.classList.add('noclick'); + // @ts-ignore + const intro = button.querySelector('.intro'); + if (intro) intro.remove(); + } + // @ts-ignore + return button; + } + exclude() { + if (_status.event.excludeButton == undefined) { + _status.event.excludeButton = []; + } + _status.event.excludeButton.add(this); + } + get updateTransform() { + return lib.element.Card.prototype.updateTransform; + } +} \ No newline at end of file diff --git a/noname/library/element/card.js b/noname/library/element/card.js new file mode 100644 index 000000000..f75be62db --- /dev/null +++ b/noname/library/element/card.js @@ -0,0 +1,787 @@ +import { AI as ai } from '../../ai/index.js'; +import { Get as get } from '../../get/index.js'; +import { Game as game } from '../../game/index.js'; +import { Library as lib } from "../index.js"; +import { status as _status } from '../../status/index.js'; +import { UI as ui } from '../../ui/index.js'; + +export class Card extends HTMLDivElement { + /** + * @param {HTMLDivElement|DocumentFragment} [position] + * @param {'noclick'} [info] + * @param {true} [noclick] + */ + // @ts-ignore + constructor(position, info, noclick) { + /** + * @type {this} + */ + // @ts-ignore + const card = ui.create.div('.card', position); + Object.setPrototypeOf(card, Card.prototype); + card.build(info, noclick); + return card; + } + build(info, noclick) { + let card = this; + card.buildNode(); + card.buildIntro(noclick); + card.buildProperty(); + card.buildEventListener(info); + } + buildEventListener(info) { + let card = this; + if (info != 'noclick') { + card.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.card); + if (lib.config.touchscreen) { + card.addEventListener('touchstart', ui.click.cardtouchstart); + card.addEventListener('touchmove', ui.click.cardtouchmove); + } + if (lib.cardSelectObserver) lib.cardSelectObserver.observe(card, { + attributes: true + }); + } + } + buildProperty() { + let card = this; + card.storage = {}; + card.vanishtag = []; + card.gaintag = []; + card._uncheck = []; + } + buildNode() { + this.node = { + image: ui.create.div('.image', this), + info: ui.create.div('.info', this), + name: ui.create.div('.name', this), + name2: ui.create.div('.name2', this), + background: ui.create.div('.background', this), + intro: ui.create.div('.intro', this), + range: ui.create.div('.range', this), + gaintag: ui.create.div('.gaintag', this), + }; + this.node.intro.innerHTML = lib.config.intro; + } + buildIntro(noclick) { + if (!noclick) lib.setIntro(this); + } + //执行销毁一张牌的钩子函数 + selfDestroy(event) { + if (this._selfDestroyed) return; + this._selfDestroyed = true; + this.fix(); + this.delete(); + const info = get.info(this, false); + if (!info) return; + if (info.destroyLog !== false) game.log(this, '被销毁了'); + if (info.onDestroy) info.onDestroy(this, event); + } + //判断一张牌进入某个区域后是否会被销毁 + willBeDestroyed(targetPosition, player, event) { + const destroyed = this.destroyed; + if (typeof destroyed == 'function') { + return destroyed(this, targetPosition, player, event); + } + else if (lib.skill[destroyed]) { + if (player) { + if (player.hasSkill(destroyed)) { + delete this.destroyed; + return false; + } + } + return true; + } + else if (typeof destroyed == 'string') { + return (destroyed == targetPosition); + } + return destroyed; + } + hasNature(nature, player) { + return game.hasNature(this, nature, player); + } + //只针对【杀】起效果 + addNature(nature) { + let natures = []; + if (!this.nature) this.nature = ''; + else { + natures.addArray(get.natureList(this.nature)); + } + natures.addArray(get.natureList(nature)); + this.nature = get.nature(natures); + this.classList.add(nature); + let str = get.translation(this.nature) + '杀'; + this.node.name.innerText = str; + let name = get.name(this, false); + do { + if (name == 'sha') { + let _bg; + for (const n of natures) if (lib.natureBg.has(n)) _bg = n; + if (_bg) { + this.node.image.setBackgroundImage(lib.natureBg.get(_bg)); + break; + } + } + this.node.image.setBackgroundImage('image/card/' + name + '.png'); + } + while (0); + return this.nature; + } + removeNature(nature) { + if (!this.nature) return; + let natures = get.natureList(this.nature); + natures.remove(nature); + if (!natures.length) delete this.nature; + else this.nature = get.nature(natures); + this.classList.remove(nature); + let str = get.translation(this.nature) + '杀'; + this.node.name.innerText = str; + let name = get.name(this, false); + do { + if (name == 'sha') { + let _bg; + for (const n of natures) if (lib.natureBg.has(n)) _bg = n; + if (_bg) { + this.node.image.setBackgroundImage(lib.natureBg.get(_bg)); + break; + } + } + this.node.image.setBackgroundImage('image/card/' + name + '.png'); + } + while (0); + return this.nature; + } + addGaintag(gaintag) { + if (Array.isArray(gaintag)) this.gaintag = gaintag.slice(0); + else this.gaintag.add(gaintag); + var str = ''; + for (var gi = 0; gi < this.gaintag.length; gi++) { + var translate = get.translation(this.gaintag[gi]); + if (translate != 'invisible') { + str += translate; + if (gi < this.gaintag.length - 1) str += ' '; + } + } + this.node.gaintag.innerHTML = str; + } + removeGaintag(tag) { + if (tag === true) { + if (this.gaintag && this.gaintag.length || this.node.gaintag.innerHTML.length) this.addGaintag([]); + } + else if (this.hasGaintag(tag)) { + this.gaintag.remove(tag); + this.addGaintag(this.gaintag); + } + } + hasGaintag(tag) { + return this.gaintag && this.gaintag.contains(tag); + } + /** + * @param {[string, number, string, string] | { + * suit: string; + * number: number; + * name: string; + * nature: string; + * }} card + */ + init(card) { + if (Array.isArray(card)) { + if (card[2] == 'huosha') { + card[2] = 'sha'; + card[3] = 'fire'; + } + else if (card[2] == 'leisha') { + card[2] = 'sha'; + card[3] = 'thunder'; + } + else if (card[2] == 'cisha') { + card[2] = 'sha'; + card[3] = 'stab'; + } + else if (card[2].length > 3) { + let prefix = card[2].slice(0, card[2].lastIndexOf('sha')); + if (lib.nature.has(prefix)) { + if (prefix.length + 3 == card[2].length) { + card[2] = 'sha'; + card[3] = prefix; + } + } + if (card[2].startsWith('sha_')) { + let suffix = card[2].slice(4); + let natureList = suffix.split('_'); + card[2] = 'sha'; + card[3] = get.nature(natureList); + } + } + } + else if (typeof card == 'object') { + card = [card.suit, card.number, card.name, card.nature]; + } + var cardnum = card[1] || ''; + if (parseInt(cardnum) == cardnum) cardnum = parseInt(cardnum); + + if (!lib.card[card[2]]) { + lib.card[card[2]] = {}; + } + var info = lib.card[card[2]]; + if (info.global && !this.classList.contains('button')) { + if (Array.isArray(info.global)) { + while (info.global.length) { + game.addGlobalSkill(info.global.shift()); + } + } + else if (typeof info.global == 'string') { + game.addGlobalSkill(info.global); + } + delete info.global; + } + this.suit = card[0]; + this.number = parseInt(card[1]) || 0; + this.name = card[2]; + + if (info.destroy && (typeof info.destroy != 'boolean' && !lib.skill[info.destroy])) { + this.destroyed = info.destroy; + } + + if (_status.connectMode && !game.online && lib.cardOL && !this.cardid) { + this.cardid = get.id(); + lib.cardOL[this.cardid] = this; + } + if (!_status.connectMode && !_status.video) { + this.cardid = get.id(); + } + + this.$init(card); + + if (this.inits) { + for (var i = 0; i < this.inits.length; i++) { + this.inits[i](this); + } + } + if (typeof info.init == 'function') info.init(); + + return this; + } + /** + * @param {[string, number, string, string]} card + */ + $init(card) { + var info = lib.card[card[2]]; + var cardnum = card[1] || ''; + if (parseInt(cardnum) == cardnum) cardnum = parseInt(cardnum); + if (cardnum > 0 && cardnum < 14) { + cardnum = ['A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K'][cardnum - 1]; + } + if (this.name) { + this.classList.remove('epic'); + this.classList.remove('legend'); + this.classList.remove('gold'); + this.classList.remove('unique'); + this.style.background = ''; + var subtype = get.subtype(this, false); + if (subtype) { + this.classList.remove(subtype); + } + } + if (info.epic) { + this.classList.add('epic'); + } + else if (info.legend) { + this.classList.add('legend'); + } + else if (info.gold) { + this.classList.add('gold'); + } + else if (info.unique) { + this.classList.add('unique'); + } + var bg = card[2]; + if (info.cardimage) { + bg = info.cardimage; + } + var img = lib.card[bg].image; + if (img) { + if (img.startsWith('db:')) { + img = img.slice(3); + } + else if (!img.startsWith('ext:')) { + img = null; + } + } + this.classList.remove('fullskin'); + this.classList.remove('fullimage'); + this.classList.remove('fullborder'); + this.dataset.cardName = card[2]; + this.dataset.cardType = info.type || ''; + this.dataset.cardSubype = info.subtype || ''; + this.dataset.cardMultitarget = info.multitarget ? '1' : '0'; + this.node.name.dataset.nature = ''; + this.node.info.classList.remove('red'); + if (!lib.config.hide_card_image && lib.card[bg].fullskin) { + this.classList.add('fullskin'); + if (img) { + if (img.startsWith('ext:')) { + this.node.image.setBackgroundImage(img.replace(/^ext:/, 'extension/')); + } + else { + this.node.image.setBackgroundDB(img); + } + } + else { + if (lib.card[bg].modeimage) { + this.node.image.setBackgroundImage('image/mode/' + lib.card[bg].modeimage + '/card/' + bg + '.png'); + } + else { + do { + let nature = card[3]; + if (bg == 'sha' && typeof nature == 'string') { + let natures = get.natureList(nature), _bg; + for (const n of natures) if (lib.natureBg.has(n)) _bg = n; + if (_bg) { + this.node.image.setBackgroundImage(lib.natureBg.get(_bg)); + break; + } + } + this.node.image.setBackgroundImage('image/card/' + bg + '.png'); + } + while (0); + } + } + } + else if (lib.card[bg].image == 'background') { + if (card[3]) this.node.background.setBackground(bg + '_' + get.natureList(card[3])[0], 'card'); + else this.node.background.setBackground(bg, 'card'); + } + else if (lib.card[bg].fullimage) { + this.classList.add('fullimage'); + if (img) { + if (img.startsWith('ext:')) { + this.setBackgroundImage(img.replace(/^ext:/, 'extension/')); + this.style.backgroundSize = 'cover'; + } + else { + this.setBackgroundDB(img); + } + } + else if (lib.card[bg].image) { + if (lib.card[bg].image.startsWith('character:')) { + this.setBackground(lib.card[bg].image.slice(10), 'character'); + } + else { + this.setBackground(lib.card[bg].image); + } + } + else { + var cardPack = lib.cardPack['mode_' + get.mode()]; + if (Array.isArray(cardPack) && cardPack.contains(bg)) { + this.setBackground('mode/' + get.mode() + '/card/' + bg); + } + else { + this.setBackground('card/' + bg); + } + } + } + else if (lib.card[bg].fullborder) { + this.classList.add('fullborder'); + if (lib.card[bg].fullborder == 'gold') { + this.node.name.dataset.nature = 'metalmm'; + } + else if (lib.card[bg].fullborder == 'silver') { + this.node.name.dataset.nature = 'watermm'; + } + if (!this.node.avatar) { + this.node.avatar = ui.create.div('.cardavatar'); + this.insertBefore(this.node.avatar, this.firstChild); + } + if (!this.node.framebg) { + this.node.framebg = ui.create.div('.cardframebg'); + this.node.framebg.dataset.auto = lib.card[bg].fullborder; + this.insertBefore(this.node.framebg, this.firstChild); + } + if (img) { + if (img.startsWith('ext:')) { + this.node.avatar.setBackgroundImage(img.replace(/^ext:/, 'extension/')); + this.node.avatar.style.backgroundSize = 'cover'; + } + else { + this.node.avatar.setBackgroundDB(img); + } + } + else if (lib.card[bg].image) { + if (lib.card[bg].image.startsWith('character:')) { + this.node.avatar.setBackground(lib.card[bg].image.slice(10), 'character'); + } + else { + this.node.avatar.setBackground(lib.card[bg].image); + } + } + else { + var cardPack = lib.cardPack['mode_' + get.mode()]; + if (Array.isArray(cardPack) && cardPack.contains(bg)) { + this.node.avatar.setBackground('mode/' + get.mode() + '/card/' + bg); + } + else { + this.node.avatar.setBackground('card/' + bg); + } + } + } + else if (lib.card[bg].image == 'card') { + if (card[3]) this.setBackground(bg + '_' + get.natureList(card[3])[0], 'card'); + else this.setBackground(bg, 'card'); + } + else if (typeof lib.card[bg].image == 'string' && !lib.card[bg].fullskin) { + if (img) { + if (img.startsWith('ext:')) { + this.setBackgroundImage(img.replace(/^ext:/, 'extension/')); + this.style.backgroundSize = 'cover'; + } + else { + this.setBackgroundDB(img); + } + } + else { + this.setBackground(lib.card[bg].image); + } + } + else { + this.node.background.innerHTML = lib.translate[bg + '_cbg'] || lib.translate[bg + '_bg'] || get.translation(bg)[0]; + // this.node.background.style.fontFamily=lib.config.card_font; + if (this.node.background.innerHTML.length > 1) this.node.background.classList.add('tight'); + else this.node.background.classList.remove('tight'); + } + if (!lib.card[bg].fullborder && this.node.avatar && this.node.framebg) { + this.node.avatar.remove(); + this.node.framebg.remove(); + delete this.node.avatar; + delete this.node.framebg; + } + if (info.noname && !this.classList.contains('button')) { + this.node.name.style.display = 'none'; + } + if (info.color) { + this.style.color = info.color; + } + if (info.textShadow) { + this.style.textShadow = info.textShadow; + } + if (info.opacity) { + this.node.info.style.opacity = info.opacity; + this.node.name.style.opacity = info.opacity; + } + if (info.modinfo) { + this.node.info.innerHTML = info.modinfo; + } + else { + this.node.info.innerHTML = get.translation(card[0]) + ' ' + cardnum + ''; + } + if (info.addinfo) { + if (!this.node.addinfo) { + this.node.addinfo = ui.create.div('.range', this); + } + this.node.addinfo.innerHTML = info.addinfo; + } + else if (this.node.addinfo) { + this.node.addinfo.remove(); + delete this.node.addinfo; + } + if (card[0] == 'heart' || card[0] == 'diamond') { + this.node.info.classList.add('red'); + } + this.node.image.className = 'image'; + var name = get.translation(card[2]); + if (card[2] == 'sha') { + name = ''; + let nature = card[3]; + if (nature) { + let natures = get.natureList(nature); + natures.sort(lib.sort.nature); + for (let nature of natures) { + name += lib.translate['nature_' + nature] || lib.translate[nature] || ''; + if (nature != 'stab') this.node.image.classList.add(nature); + } + } + name += '杀'; + } + this.node.name.innerHTML = name; + if (name.length >= 5) { + this.node.name.classList.add('long'); + if (name.length >= 7) { + this.node.name.classList.add('longlong'); + } + } + this.node.name2.innerHTML = get.translation(card[0]) + cardnum + ' ' + name; + this.classList.add('card'); + if (card[3]) { + let natures = get.natureList(card[3]); + natures.forEach(n => { if (n) this.classList.add(n); }); + this.nature = natures.filter(n => lib.nature.has(n)).sort(lib.sort.nature).join(lib.natureSeparator); + } + else if (this.nature) { + this.classList.remove(this.nature); + delete this.nature; + } + if (info.subtype) this.classList.add(info.subtype); + this.node.range.innerHTML = ''; + switch (get.subtype(this, false)) { + case 'equip1': + var added = false; + if (lib.card[this.name] && lib.card[this.name].distance) { + var dist = lib.card[this.name].distance; + if (dist.attackFrom) { + added = true; + this.node.range.innerHTML = '范围: ' + (-dist.attackFrom + 1); + } + } + if (!added) { + this.node.range.innerHTML = '范围: 1'; + } + break; + case 'equip3': + if (info.distance && info.distance.globalTo) { + this.node.range.innerHTML = '防御: ' + info.distance.globalTo; + this.node.name2.innerHTML += '+'; + } + break; + case 'equip4': + if (info.distance && info.distance.globalFrom) { + this.node.range.innerHTML = '进攻: ' + (-info.distance.globalFrom); + this.node.name2.innerHTML += '-'; + } + break; + } + var tags = []; + if (Array.isArray(card[4])) { + tags.addArray(card[4]); + } + if (this.cardid) { + if (!_status.cardtag) { + _status.cardtag = {}; + } + for (var i in _status.cardtag) { + if (_status.cardtag[i].contains(this.cardid)) { + tags.add(i); + } + } + if (tags.length) { + var tagstr = ' '; + for (var i = 0; i < tags.length; i++) { + var tag = tags[i]; + if (!_status.cardtag[tag]) { + _status.cardtag[tag] = []; + } + _status.cardtag[tag].add(this.cardid); + tagstr += lib.translate[tag + '_tag']; + //if(i this._knowers.add(p.playerid)); + } + } + } + removeKnower(player) { + if (!this._knowers) { + return; + } + if (typeof player == 'string') { + this._knowers.remove(player); + } else { + let type = get.itemtype(player); + if (type == 'player') { + this._knowers.remove(player.playerid); + } else if (type == 'players') { + player.forEach(p => this._knowers.remove(p.playerid)); + } + } + } + //清除此牌的知情者。 + clearKnowers() { + if (this._knowers) delete this._knowers; + } + //判断玩家对此牌是否知情。 + isKnownBy(player) { + if (['e', 'j'].includes(get.position(this))) return true;//装备区或者判定区的牌,必知情。 + let owner = get.owner(this); + if (owner) { + if (owner == player) return true;//是牌主,必知情。 + if (player.hasSkillTag('viewHandcard', null, owner, true)) return true;//有viewHandcard标签,必知情。 + if (owner.isUnderControl(true, player)) return true;//被操控,必知情。 + } + if (get.is.shownCard(this)) return true;//此牌是明置牌,必知情。 + if (this._knowers) { + return this._knowers.includes('everyone') || this._knowers.includes(player.playerid); + } + return false; + } + getSource(name) { + if (this.name == name) return true; + var info = lib.card[this.name]; + if (info && Array.isArray(info.source)) { + return info.source.contains(name); + } + return false; + } + moveDelete(player) { + this.fixed = true; + if (!this._listeningEnd || this._transitionEnded) { + this.moveTo(player); + var that = this; + setTimeout(function () { + that.delete(); + }, 200); + } + else { + this._onEndMoveDelete = player; + } + } + moveTo(player) { + this.fixed = true; + var dx, dy; + if (this.classList.contains('center')) { + var nx = [50, -52]; + var ny = [50, -52]; + nx = nx[0] * ui.arena.offsetWidth / 100 + nx[1]; + ny = ny[0] * ui.arena.offsetHeight / 100 + ny[1]; + dx = player.getLeft() + player.offsetWidth / 2 - 52 - nx; + dy = player.getTop() + player.offsetHeight / 2 - 52 - ny; + } + else { + this.style.left = this.offsetLeft + 'px'; + this.style.top = this.offsetTop + 'px'; + + dx = player.getLeft() + player.offsetWidth / 2 - 52 - this.offsetLeft; + dy = player.getTop() + player.offsetHeight / 2 - 52 - this.offsetTop; + } + if (get.is.mobileMe(player)) { + dx += get.cardOffset(); + if (ui.arena.classList.contains('oblongcard')) { + dy -= 16; + } + } + + + if (this.style.transform && this.style.transform != 'none' && this.style.transform.indexOf('translate') == -1) { + this.style.transform += ' translate(' + dx + 'px,' + dy + 'px)'; + } + else { + this.style.transform = 'translate(' + dx + 'px,' + dy + 'px)'; + } + return this; + } + copy() { + /** + * @type {Card} + */ + var node = this.cloneNode(true); + node.style.transform = ''; + node.name = this.name; + node.suit = this.suit; + node.number = this.number; + node.nature = this.nature; + node.classList.remove('hidden'); + node.classList.remove('start'); + node.classList.remove('thrown'); + node.classList.remove('selectable'); + node.classList.remove('selected'); + node.classList.remove('removing'); + node.classList.remove('drawinghidden'); + node.classList.remove('glows'); + node.node = { + name: node.querySelector('.name'), + info: node.querySelector('.info'), + intro: node.querySelector('.intro'), + background: node.querySelector('.background'), + image: node.querySelector('.image'), + gaintag: node.querySelector('.gaintag'), + }; + node.node.gaintag.innerHTML = ''; + var clone = true; + var position; + for (var i = 0; i < arguments.length; i++) { + if (typeof arguments[i] == 'string') node.classList.add(arguments[i]); + else if (['div', 'fragment'].includes(get.objtype(arguments[i]))) position = arguments[i]; + else if (typeof arguments[i] == 'boolean') clone = arguments[i]; + } + node.moveTo = lib.element.Card.prototype.moveTo; + node.moveDelete = lib.element.Card.prototype.moveDelete; + if (clone) this.clone = node; + if (position) position.appendChild(node); + return node; + } + uncheck(skill) { + if (skill) this._uncheck.add(skill); + this.classList.add('uncheck'); + } + recheck(skill) { + if (skill) this._uncheck.remove(skill); + else this._uncheck.length = 0; + if (this._uncheck.length == 0) this.classList.remove('uncheck'); + } + discard(bool) { + if (!this._selfDestroyed) { + this.fix(); + ui.discardPile.appendChild(this); + } + this.classList.remove('glow'); + if (bool === false) { + ui.cardPile.insertBefore(this, ui.cardPile.childNodes[Math.floor(Math.random() * ui.cardPile.childNodes.length)]); + } + else { + if (_status.discarded) { + _status.discarded.add(this); + } + } + } + hasTag(tag) { + if (this.cardid && _status.cardtag && _status.cardtag[tag] && _status.cardtag[tag].contains(this.cardid)) { + return true; + } + return false; + } + hasPosition() { + return ['h', 'e', 'j', 's', 'x'].contains(get.position(this)); + } + isInPile() { + return ['c', 'd'].contains(get.position(this)); + } +} \ No newline at end of file diff --git a/noname/library/element/client.js b/noname/library/element/client.js new file mode 100644 index 000000000..6aa0649d4 --- /dev/null +++ b/noname/library/element/client.js @@ -0,0 +1,75 @@ +import { AI as ai } from '../../ai/index.js'; +import { Get as get } from '../../get/index.js'; +import { Game as game } from '../../game/index.js'; +import { Library as lib } from "../index.js"; +import { status as _status } from '../../status/index.js'; +import { UI as ui } from '../../ui/index.js'; +import { GNC as gnc } from '../../gnc/index.js'; + +export class Client { + /** + * @param {import('../index.js').NodeWS | InstanceType} ws + */ + constructor(ws) { + this.ws = ws; + /** + * @type { string } + */ + // @ts-ignore + this.id = ws.wsid || get.id(); + this.closed = false; + } + send() { + if (this.closed) return this; + var args = Array.from(arguments); + if (typeof args[0] == 'function') { + args.unshift('exec'); + } + for (var i = 1; i < args.length; i++) { + args[i] = get.stringifiedResult(args[i]); + } + try { + this.ws.send(JSON.stringify(args)); + } + catch (e) { + this.ws.close(); + } + return this; + } + close() { + lib.node.clients.remove(this); + lib.node.observing.remove(this); + if (ui.removeObserve && !lib.node.observing.length) { + ui.removeObserve.remove(); + delete ui.removeObserve; + } + this.closed = true; + if (_status.waitingForPlayer) { + for (var i = 0; i < game.connectPlayers.length; i++) { + if (game.connectPlayers[i].playerid == this.id) { + game.connectPlayers[i].uninitOL(); + delete game.connectPlayers[i].playerid; + } + } + if (game.onlinezhu == this.id) { + game.onlinezhu = null; + } + game.updateWaiting(); + } + else if (lib.playerOL[this.id]) { + var player = lib.playerOL[this.id]; + player.setNickname(player.nickname + ' - 离线'); + // @ts-ignore + game.broadcast(function (player) { + player.setNickname(player.nickname + ' - 离线'); + }, player); + player.unwait('ai'); + } + + if (window.isNonameServer) { + // @ts-ignore + document.querySelector('#server_count').innerHTML = lib.node.clients.length; + } + return this; + } +} \ No newline at end of file diff --git a/noname/library/element/content.js b/noname/library/element/content.js index d0b258254..5de904b7e 100644 --- a/noname/library/element/content.js +++ b/noname/library/element/content.js @@ -7,7 +7,7 @@ import { UI as ui } from '../../ui/index.js'; import { GNC as gnc } from '../../gnc/index.js'; // 未来再改 -export default { +export const Content = { emptyEvent: async (event) => { event.trigger(event.name); }, diff --git a/noname/library/element/contents.js b/noname/library/element/contents.js index 2a90d1f04..ec9d5f332 100644 --- a/noname/library/element/contents.js +++ b/noname/library/element/contents.js @@ -6,7 +6,7 @@ import { status as _status } from '../../status/index.js'; import { UI as ui } from '../../ui/index.js'; import { GNC as gnc } from '../../gnc/index.js'; -export default { +export const Contents = { phase: [ async (event, _trigger, player) => { // 初始化阶段列表 diff --git a/noname/library/element/control.js b/noname/library/element/control.js new file mode 100644 index 000000000..b3d4252dd --- /dev/null +++ b/noname/library/element/control.js @@ -0,0 +1,132 @@ +import { AI as ai } from '../../ai/index.js'; +import { Get as get } from '../../get/index.js'; +import { Game as game } from '../../game/index.js'; +import { Library as lib } from "../index.js"; +import { status as _status } from '../../status/index.js'; +import { UI as ui } from '../../ui/index.js'; +import { GNC as gnc } from '../../gnc/index.js'; + +export class Control extends HTMLDivElement { + // @ts-ignore + constructor() { + const nc = !ui.control.querySelector('div:not(.removing):not(.stayleft)'); + const controls = Array.isArray(arguments[0]) ? arguments[0] : Array.from(arguments); + /** + * @type {this} + */ + // @ts-ignore + const control = ui.create.div('.control'); + Object.setPrototypeOf(control, Control.prototype); + ui.control.insertBefore(control, _status.createControl || ui.confirm); + controls.forEach(argument => { + if (argument == 'nozoom') return; + if (typeof argument == 'function') control.custom = argument; + else if (argument == 'stayleft') { + control.stayleft = true; + control.classList.add('stayleft'); + } + else control.add(argument); + }); + ui.controls.unshift(control); + if (nc) ui.control.animate('nozoom', 100); + if (control.childNodes.length) { + control.style.transition = 'opacity 0.5s'; + control.animate('controlpressdownx', 500); + ui.refresh(control); + if (!control.stayleft) control.style.transform = `translateX(-${control.offsetWidth / 2}px)`; + control.style.opacity = 1; + ui.refresh(control); + control.style.transition = ''; + } + + control.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.control2); + + if (lib.config.button_press) { + control.addEventListener(lib.config.touchscreen ? 'touchstart' : 'mousedown', function () { + if (this.classList.contains('disabled')) return; + this.classList.add('controlpressdown'); + if (typeof this._offset == 'number') this.style.transform = `translateX(${this._offset}px) scale(0.97)`; + }); + control.addEventListener(lib.config.touchscreen ? 'touchend' : 'mouseup', function () { + this.classList.remove('controlpressdown'); + if (typeof this._offset == 'number') this.style.transform = `translateX(${this._offset}px)`; + }); + } + + ui.updatec(); + return control; + } + open() { + ui.control.insertBefore(this, _status.createControl || ui.confirm); + ui.controls.unshift(this); + if (this.childNodes.length) { + this.style.transition = 'opacity 0.5s'; + ui.refresh(this); + this.style.transform = 'translateX(-' + (this.offsetWidth / 2) + 'px)'; + this.style.opacity = 1; + ui.refresh(this); + this.style.transition = ''; + } + else { + this.animate('controlpressdownx', 500); + } + ui.updatec(); + return this; + } + add(item) { + var node = document.createElement('div'); + this.appendChild(node); + node.link = item; + node.innerHTML = get.translation(item); + node.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.control); + } + close() { + this.animate('controlpressdownx', 500); + + ui.controls.remove(this); + this.delete(); + + setTimeout(ui.updatec, 100); + + + if (ui.confirm == this) delete ui.confirm; + if (ui.skills == this) delete ui.skills; + if (ui.skills2 == this) delete ui.skills2; + if (ui.skills3 == this) delete ui.skills3; + } + replace() { + // this.animate('controlpressdownx',500); + if (this.replaceTransition === false) { + this.style.transitionProperty = 'none'; + ui.refresh(this); + } + + while (this.childNodes.length) this.firstChild.remove(); + var i, controls; + if (Array.isArray(arguments[0])) controls = arguments[0]; + else controls = arguments; + delete this.custom; + for (i = 0; i < controls.length; i++) { + if (typeof controls[i] == 'function') { + this.custom = controls[i]; + } + else { + this.add(controls[i]); + } + } + if (this.childNodes.length) { + var width = 0; + for (i = 0; i < this.childNodes.length; i++) width += this.childNodes[i].offsetWidth; + ui.refresh(this); + this.style.width = width + 'px'; + } + ui.updatec(); + if (this.replaceTransition === false) { + var that = this; + setTimeout(function () { + that.style.transitionProperty = ''; + }, 200); + } + return this; + } +} \ No newline at end of file diff --git a/noname/library/element/dialog.js b/noname/library/element/dialog.js new file mode 100644 index 000000000..647ec8fb9 --- /dev/null +++ b/noname/library/element/dialog.js @@ -0,0 +1,178 @@ +import { AI as ai } from '../../ai/index.js'; +import { Get as get } from '../../get/index.js'; +import { Game as game } from '../../game/index.js'; +import { Library as lib } from "../index.js"; +import { status as _status } from '../../status/index.js'; +import { UI as ui } from '../../ui/index.js'; + +export class Dialog extends HTMLDivElement { + // @ts-ignore + constructor() { + let hidden = false; + let noTouchScroll = false; + let forceButton = false; + let noForceButton = false; + /** @type {this} */ + // @ts-ignore + const dialog = ui.create.div('.dialog'); + Object.setPrototypeOf(dialog, Dialog.prototype); + dialog.contentContainer = ui.create.div('.content-container', dialog); + dialog.content = ui.create.div('.content', dialog.contentContainer); + dialog.bar1 = ui.create.div('.bar.top', dialog); + dialog.bar2 = ui.create.div('.bar.bottom', dialog); + dialog.buttons = []; + Array.from(arguments).forEach(argument => { + if (typeof argument == 'boolean') dialog.static = argument; + else if (argument == 'hidden') hidden = true; + else if (argument == 'notouchscroll') noTouchScroll = true; + else if (argument == 'forcebutton') forceButton = true; + else if (argument == 'noforcebutton') noForceButton = true; + else dialog.add(argument); + }); + if (!hidden) dialog.open(); + if (!lib.config.touchscreen) dialog.contentContainer.onscroll = ui.update; + if (!noTouchScroll) { + dialog.contentContainer.ontouchstart = ui.click.dialogtouchStart; + dialog.contentContainer.ontouchmove = ui.click.touchScroll; + dialog.contentContainer.style.webkitOverflowScrolling = 'touch'; + dialog.ontouchstart = ui.click.dragtouchdialog; + } + if (noForceButton) dialog.noforcebutton = true; + else if (forceButton) { + dialog.forcebutton = true; + dialog.classList.add('forcebutton'); + } + return dialog; + } + add(item, noclick, zoom) { + if (typeof item == 'string') { + if (item.startsWith('###')) { + var items = item.slice(3).split('###'); + this.add(items[0], noclick, zoom); + this.addText(items[1], items[1].length <= 20, zoom); + } + else if (noclick) { + var strstr = item; + item = ui.create.div('', this.content); + item.innerHTML = strstr; + } + else { + item = ui.create.caption(item, this.content); + } + } + else if (['div', 'fragment'].includes(get.objtype(item))) { + this.content.appendChild(item); + } + else if (get.itemtype(item) == 'cards') { + var buttons = ui.create.div('.buttons', this.content); + if (zoom) buttons.classList.add('smallzoom'); + this.buttons = this.buttons.concat(ui.create.buttons(item, 'card', buttons, noclick)); + } + else if (get.itemtype(item) == 'players') { + var buttons = ui.create.div('.buttons', this.content); + if (zoom) buttons.classList.add('smallzoom'); + this.buttons = this.buttons.concat(ui.create.buttons(item, 'player', buttons, noclick)); + } + else if (item[1] == 'textbutton') { + ui.create.textbuttons(item[0], this, noclick); + } + else { + var buttons = ui.create.div('.buttons', this.content); + if (zoom) buttons.classList.add('smallzoom'); + this.buttons = this.buttons.concat(ui.create.buttons(item[0], item[1], buttons, noclick)); + } + if (this.buttons.length) { + if (this.forcebutton !== false) this.forcebutton = true; + if (this.buttons.length > 3 || (zoom && this.buttons.length > 5)) { + this.classList.remove('forcebutton-auto'); + } + else if (!this.noforcebutton) { + this.classList.add('forcebutton-auto'); + } + } + ui.update(); + return item; + } + addText(str, center) { + if (str && str.startsWith('' + str + ''); + } + else { + this.add('
    ' + str + '
    '); + } + return this; + } + addSmall(item, noclick) { + return this.add(item, noclick, true); + } + addAuto(content) { + if (content && content.length > 4 && !this._hovercustomed) { + this.addSmall(content); + } + else { + this.add(content); + } + } + open() { + if (this.noopen) return; + for (var i = 0; i < ui.dialogs.length; i++) { + if (ui.dialogs[i] == this) { + this.show(); + this.refocus(); + ui.dialogs.remove(this); + ui.dialogs.unshift(this); + ui.update(); + return this; + } + if (ui.dialogs[i].static) ui.dialogs[i].unfocus(); + else ui.dialogs[i].hide(); + } + ui.dialog = this; + var translate; + if (lib.config.remember_dialog && lib.config.dialog_transform && !this.classList.contains('fixed')) { + translate = lib.config.dialog_transform; + this._dragtransform = translate; + this.style.transform = 'translate(' + translate[0] + 'px,' + translate[1] + 'px) scale(0.8)'; + } + else { + this.style.transform = 'scale(0.8)'; + } + this.style.transitionProperty = 'opacity,transform'; + this.style.opacity = 0; + ui.arena.appendChild(this); + ui.dialogs.unshift(this); + ui.update(); + ui.refresh(this); + if (lib.config.remember_dialog && lib.config.dialog_transform && !this.classList.contains('fixed')) { + this.style.transform = 'translate(' + translate[0] + 'px,' + translate[1] + 'px) scale(1)'; + } + else { + this.style.transform = 'scale(1)'; + } + this.style.opacity = 1; + var that = this; + setTimeout(function () { + that.style.transitionProperty = ''; + }, 500); + return this; + } + close() { + ui.dialogs.remove(this); + this.delete(); + if (ui.dialogs.length > 0) { + ui.dialog = ui.dialogs[0]; + ui.dialog.show(); + ui.dialog.refocus(); + ui.update(); + } + // if(ui.arenalog){ + // ui.arenalog.classList.remove('withdialog'); + // } + return this; + } + setCaption(str) { + this.querySelector('.caption').innerHTML = str; + return this; + } +} \ No newline at end of file diff --git a/noname/library/element/gameEvent.js b/noname/library/element/gameEvent.js new file mode 100644 index 000000000..4715597c9 --- /dev/null +++ b/noname/library/element/gameEvent.js @@ -0,0 +1,855 @@ +import { AI as ai } from '../../ai/index.js'; +import { Get as get } from '../../get/index.js'; +import { Game as game } from '../../game/index.js'; +import { Library as lib } from "../index.js"; +import { status as _status } from '../../status/index.js'; +import { UI as ui } from '../../ui/index.js'; +import { AsyncFunction } from '../../util/index.js'; + +export class GameEvent { + /** @type { import('./gameEventPromise.js').default } */ + #promise; + /** + * @param {string} [name] + * @param {false} [trigger] + */ + constructor(name, trigger) { + if (typeof name == 'string') { + this.name = name; + const gameEvent = get.event(); + if (gameEvent) { + const type = `onNext${name[0].toUpperCase()}${name.slice(1)}`; + if (gameEvent.hasHandler(type)) this.pushHandler(...gameEvent.getHandler(type)); + } + game.globalEventHandlers.addHandlerToEvent(this); + } + this.step = 0; + this.finished = false; + /** + * @type {(import('./GameEventPromise.js').default)[]} + */ + this.next = []; + /** + * @type {(import('./GameEventPromise.js').default)[]} + */ + this.after = []; + this.custom = { + add: {}, + replace: {} + }; + this._aiexclude = []; + this._notrigger = []; + this._result = {}; + this._set = []; + /** + * @type {boolean} 这个事件是否使用异步函数处理 + **/ + this.async = false; + /** + * @type {null|(event: GameEvent)=>any} 这个异步事件对应Promise的resolve函数 + **/ + this.resolve = null; + if (trigger !== false && !game.online) this._triggered = 0; + } + static initialGameEvent() { + return new GameEvent().finish().toPromise(); + } + /** + * @param {keyof this} key + * @param {number} [value] + * @param {number} [baseValue] + */ + addNumber(key, value, baseValue) { + if (typeof value != 'number') value = 0; + if (typeof this[key] == 'number') this[key] += value; + else { + if (typeof baseValue != 'number') baseValue = 0; + this[key] = baseValue + value; + } + return this; + } + /** + * @param {keyof this} key + * @param {number} [baseValue] + */ + decrease(key, baseValue) { + if (typeof this[key] == 'number') this[key]--; + else this.subtractNumber(key, 1, baseValue); + return this; + } + /** + * @param {keyof this} key + * @param {number} [baseValue] + */ + increase(key, baseValue) { + if (typeof this[key] == 'number') this[key]++; + else this.addNumber(key, 1, baseValue); + return this; + } + /** + * @param {keyof this} key + * @param {number} [value] + * @param {number} [baseValue] + */ + subtractNumber(key, value, baseValue) { + if (typeof value != 'number') value = 0; + if (typeof this[key] == 'number') this[key] -= value; + else { + if (typeof baseValue != 'number') baseValue = 0; + this[key] = baseValue - value; + } + return this; + } + /** + * @param {Parameters[0]} type + * @param {GameEvent} event + * @param {{ + * state?: 'begin' | 'end'; + * }} option + * @returns {this} + */ + callHandler(type, event, option) { + if (this.hasHandler(type)) this.getHandler(type).forEach(handler => { + if (typeof handler == 'function') handler(event, option); + }); + return this; + } + getDefaultHandlerType() { + const eventName = this.name; + if (eventName) return `on${eventName[0].toUpperCase()}${eventName.slice(1)}`; + } + /** + * @param {Parameters[0]} [type] + * @returns {((event: GameEvent, option: { + * state?: 'begin' | 'end'; + * }) => void)[]} + */ + getHandler(type) { + if (!type) type = this.getDefaultHandlerType(); + const currentHandler = this[type]; + if (!currentHandler) this[type] = []; + else if (!Array.isArray(currentHandler)) this[type] = [currentHandler]; + return this[type]; + } + /** + * @param {`on${Capitalize}`} [type] + */ + hasHandler(type) { + if (!type) type = this.getDefaultHandlerType(); + return Boolean(this[type] && this.getHandler(type).length); + } + /** + * @overload + * @param {...((event: GameEvent, option: { + * state?: 'begin' | 'end'; + * }) => void)[]} handlers + * @returns {number} + */ + /** + * @overload + * @param {Parameters[0]} type + * @param {...((event: GameEvent, option: { + * state?: 'begin' | 'end'; + * }) => void)[]} handlers + * @returns {number} + */ + pushHandler(type) { + return typeof type == 'string' ? this.getHandler(type).push(...Array.from(arguments).slice(1)) : this.getHandler().push(...arguments); + } + changeToZero() { + this.num = 0; + this.numFixed = true; + return this; + } + finish() { + this.finished = true; + return this; + } + putStepCache(key, value) { + if (!this._stepCache) { + this._stepCache = {}; + } + this._stepCache[key] = value; + return this; + } + getStepCache(key) { + if (!this._stepCache) return undefined; + return this._stepCache[key]; + } + clearStepCache(key) { + if (key !== undefined && key !== null) { + delete this._stepCache[key]; + } + delete this._stepCache; + return this; + } + callFuncUseStepCache(prefix, func, params) { + if (typeof func != 'function') return; + if (_status.closeStepCache) return func.apply(null, params); + var cacheKey = "[" + prefix + "]" + get.paramToCacheKey.apply(null, params); + var ret = this.getStepCache(cacheKey); + if (ret === undefined || ret === null) { + ret = func.apply(null, params); + this.putStepCache(cacheKey, ret); + } + return ret; + } + putTempCache(key1, key2, value) { + if (!this._tempCache) { + this._tempCache = {}; + } + if (!this._tempCache[key1]) { + this._tempCache[key1] = {}; + } + this._tempCache[key1][key2] = value; + return value; + } + getTempCache(key1, key2) { + if (!this._tempCache) { + return undefined; + } + if (!this._tempCache[key1]) { + return undefined; + } + return this._tempCache[key1][key2]; + } + cancel(arg1, arg2, notrigger) { + this.untrigger(arg1, arg2); + this.finish(); + if (notrigger != 'notrigger') { + this.trigger(this.name + 'Cancelled'); + if (this.player && lib.phaseName.contains(this.name)) this.player.getHistory('skipped').add(this.name); + } + return this; + } + neutralize(event) { + this.untrigger(); + this.finish(); + this._neutralized = true; + this.trigger('eventNeutralized'); + this._neutralize_event = event || _status.event; + return this; + } + unneutralize() { + this.untrigger(); + delete this._neutralized; + delete this.finished; + if (this.type == 'card' && this.card && this.name == 'sha') this.directHit = true; + return this; + } + goto(step) { + this.step = step - 1; + return this; + } + redo() { + this.step--; + return this; + } + setHiddenSkill(skill) { + if (!this.player) return this; + var hidden = this.player.hiddenSkills.slice(0); + game.expandSkills(hidden); + if (hidden.contains(skill)) this.set('hsskill', skill); + return this; + } + set(key, value) { + if (arguments.length == 1 && Array.isArray(arguments[0])) { + for (var i = 0; i < arguments[0].length; i++) { + if (Array.isArray(arguments[0][i])) { + this.set(arguments[0][i][0], arguments[0][i][1]); + } + } + } + else { + if (typeof key != 'string') { + console.log('warning: using non-string object as event key'); + console.log(key, value); + console.log(_status.event); + } + this[key] = value; + this._set.push([key, value]); + } + return this; + } + /** + * @param {ArrayLike | Function | keyof typeof lib.element.content} item + */ + setContent(item) { + switch (typeof item) { + case "object": + case "function": + if (item instanceof AsyncFunction) { + this.content = item; + } + else this.content = lib.init.parsex(item); + break; + default: + try { + if (!(lib.element.content[item] instanceof AsyncFunction) && !lib.element.content[item]._parsed) { + lib.element.content[item] = lib.init.parsex(lib.element.content[item]); + lib.element.content[item]._parsed = true; + } + } + catch { + throw new Error(`Content ${item} may not exist.\nlib.element.content[${item}] = ${lib.element.content[item]}`); + } + this.content = lib.element.content[item]; + break; + } + return this; + } + + /** + * + * @param {import("../util/index.js").AsyncFunction[] | keyof typeof lib.element.contents} contents + * @returns {GameEvent} + */ + setContents(contents) { + if (Array.isArray(contents)) this.contents = contents; + else if (contents in lib.element.contents) return this.setContents(lib.element.contents[contents]); + else throw new Error('not supported value.'); + return this; + } + + getLogv() { + for (var i = 1; i <= 3; i++) { + var event = this.getParent(i); + if (event && event.logvid) return event.logvid; + } + return null; + } + send() { + this.player.send(function (name, args, set, event, skills) { + game.me.applySkills(skills); + var next = game.me[name].apply(game.me, args); + for (var i = 0; i < set.length; i++) { + next.set(set[i][0], set[i][1]); + } + if (next._backupevent) { + next.backup(next._backupevent); + } + next._modparent = event; + game.resume(); + }, this.name, this._args || [], this._set, + get.stringifiedResult(this.parent), get.skillState(this.player)); + this.player.wait(); + game.pause(); + return this; + } + resume() { + delete this._cardChoice; + delete this._targetChoice; + delete this._skillChoice; + return this; + } + /** + * 获取事件的父节点。 + * 获取事件链上的指定事件。 + * 默认获取上一个父节点(核心)。 + * @param {number|string|(evt:gameEvent)=>boolean} [level=1] 获取深度(number)/指定名字(string)/指定特征(function) + * @param {boolean} [forced] 若获取不到节点,默认返回{},若forced为true则返回null + * @param {boolean} [includeSelf] 若level不是数字,指定搜索时是否包含事件本身 + * @returns {GameEvent|{}|null} + */ + getParent(level = 1, forced, includeSelf) { + let event = this; + const toreturn = forced ? null : {}; + if (!includeSelf || typeof level === 'number') { + if (event._modparent && game.online) event = event._modparent; + else event = this.parent; + } + if (typeof level === 'number') { + for (let i = 1; i < level; i++) { + if (!event) return toreturn; + event = event.parent; + } + return event; + } + const historys = []; + const filter = typeof level === 'function' ? level : evt => evt.name === level; + while (true) { + if (!event) return toreturn; + historys.push(event); + if (filter(event)) return event; + event = event.parent; + if (historys.includes(event)) return toreturn; + } + } + getTrigger() { + return this.getParent('arrangeTrigger')._trigger; + } + getRand(name) { + if (name) { + if (!this._rand_map) this._rand_map = {}; + if (!this._rand_map[name]) this._rand_map[name] = Math.random(); + return this._rand_map[name]; + } + if (!this._rand) this._rand = Math.random(); + return this._rand; + } + insert(content, map) { + const next = (new lib.element.GameEvent(`${this.name}Inserted`, false)).toPromise(); + this.next.push(next); + next.setContent(content); + Object.entries(map).forEach(entry => next.set(entry[0], entry[1])); + return next; + } + insertAfter(content, map) { + const next = (new lib.element.GameEvent(`${this.name}Inserted`, false)).toPromise(); + this.after.push(next); + next.setContent(content); + Object.entries(map).forEach(entry => next.set(entry[0], entry[1])); + return next; + } + backup(skill) { + this._backup = { + filterButton: this.filterButton, + selectButton: this.selectButton, + filterTarget: this.filterTarget, + selectTarget: this.selectTarget, + filterCard: this.filterCard, + selectCard: this.selectCard, + position: this.position, + forced: this.forced, + fakeforce: this.fakeforce, + _aiexclude: this._aiexclude, + complexSelect: this.complexSelect, + complexCard: this.complexCard, + complexTarget: this.complexTarget, + _cardChoice: this._cardChoice, + _targetChoice: this._targetChoice, + _skillChoice: this._skillChoice, + ai1: this.ai1, + ai2: this.ai2, + filterOk: this.filterOk, + }; + if (skill) { + var info = get.info(skill); + this.skill = skill; + this._aiexclude = []; + if (typeof info.viewAs == 'function') { + if (info.filterButton != undefined) this.filterButton = get.filter(info.filterButton); + if (info.selectButton != undefined) this.selectButton = info.selectButton; + if (info.filterTarget != undefined) this.filterTarget = get.filter(info.filterTarget); + if (info.selectTarget != undefined) this.selectTarget = info.selectTarget; + if (info.filterCard != undefined) { + if (info.ignoreMod) this.ignoreMod = true; + this.filterCard2 = get.filter(info.filterCard); + this.filterCard = function (card, player, event) { + var evt = event || _status.event; + if (!evt.ignoreMod && player) { + var mod = game.checkMod(card, player, 'unchanged', 'cardEnabled2', player); + if (mod != 'unchanged') return mod; + } + return get.filter(evt.filterCard2).apply(this, arguments); + }; + } + if (info.filterOk == undefined) { + this.filterOk = function () { + var evt = _status.event; + var card = get.card(), player = get.player(); + var filter = evt._backup.filterCard; + if (filter && !filter(card, player, evt)) return false; + if (evt._backup.filterOk) return evt._backup.filterOk(); + return true; + }; + } + else this.filterOk = info.filterOk; + if (info.selectCard != undefined) this.selectCard = info.selectCard; + if (info.position != undefined) this.position = info.position; + //if(info.forced!=undefined) this.forced=info.forced; + if (info.complexSelect != undefined) this.complexSelect = info.complexSelect; + if (info.complexCard != undefined) this.complexCard = info.complexCard; + if (info.complexTarget != undefined) this.complexTarget = info.complexTarget; + if (info.ai1 != undefined) this.ai1 = info.ai1; + if (info.ai2 != undefined) this.ai2 = info.ai2; + } + else if (info.viewAs) { + if (info.filterButton != undefined) this.filterButton = get.filter(info.filterButton); + if (info.selectButton != undefined) this.selectButton = info.selectButton; + if (info.filterTarget != undefined) this.filterTarget = get.filter(info.filterTarget); + if (info.selectTarget != undefined) this.selectTarget = info.selectTarget; + if (info.filterCard != undefined) { + if (info.ignoreMod) this.ignoreMod = true; + this.filterCard2 = get.filter(info.filterCard); + this.filterCard = function (card, player, event) { + var evt = event || _status.event; + if (!evt.ignoreMod && player) { + var mod = game.checkMod(card, player, 'unchanged', 'cardEnabled2', player); + if (mod != 'unchanged') return mod; + } + return get.filter(evt.filterCard2).apply(this, arguments); + }; + } + if (info.filterOk == undefined) { + this.filterOk = function () { + var evt = _status.event; + var card = get.card(), player = get.player(); + var filter = evt._backup.filterCard; + if (filter && !filter(card, player, evt)) return false; + if (evt._backup.filterOk) return evt._backup.filterOk(); + return true; + }; + } + else this.filterOk = info.filterOk; + if (info.selectCard != undefined) this.selectCard = info.selectCard; + if (info.position != undefined) this.position = info.position; + //if(info.forced!=undefined) this.forced=info.forced; + if (info.complexSelect != undefined) this.complexSelect = info.complexSelect; + if (info.complexCard != undefined) this.complexCard = info.complexCard; + if (info.complexTarget != undefined) this.complexTarget = info.complexTarget; + if (info.ai1 != undefined) this.ai1 = info.ai1; + if (info.ai2 != undefined) this.ai2 = info.ai2; + } + else { + this.filterButton = info.filterButton ? get.filter(info.filterButton) : undefined; + this.selectButton = info.selectButton; + this.filterTarget = info.filterTarget ? get.filter(info.filterTarget) : undefined; + this.selectTarget = info.selectTarget; + this.filterCard = info.filterCard ? get.filter(info.filterCard) : undefined; + this.selectCard = info.selectCard; + this.position = info.position; + //this.forced=info.forced; + this.complexSelect = info.complexSelect; + this.complexCard = info.complexCard; + this.complexTarget = info.complexTarget; + if (info.ai1 != undefined) this.ai1 = info.ai1; + if (info.ai2 != undefined) this.ai2 = info.ai2; + this.filterOk = info.filterOk; + } + delete this.fakeforce; + } + delete this._cardChoice; + delete this._targetChoice; + delete this._skillChoice; + return this; + } + restore() { + if (this._backup) { + this.filterButton = this._backup.filterButton; + this.selectButton = this._backup.selectButton; + this.filterTarget = this._backup.filterTarget; + this.selectTarget = this._backup.selectTarget; + this.filterCard = this._backup.filterCard; + this.selectCard = this._backup.selectCard; + this.position = this._backup.position; + this.forced = this._backup.forced; + this.fakeforce = this._backup.fakeforce; + this._aiexclude = this._backup._aiexclude; + this.complexSelect = this._backup.complexSelect; + this.complexCard = this._backup.complexCard; + this.complexTarget = this._backup.complexTarget; + this.ai1 = this._backup.ai1; + this.ai2 = this._backup.ai2; + this._cardChoice = this._backup._cardChoice; + this._targetChoice = this._backup._targetChoice; + this._skillChoice = this._backup._skillChoice; + this.filterOk = this._backup.filterOk; + } + delete this.skill; + delete this.ignoreMod; + delete this.filterCard2; + return this; + } + isMine() { + return (this.player && this.player == game.me && !_status.auto && !this.player.isMad() && !game.notMe); + } + isOnline() { + return (this.player && this.player.isOnline()); + } + notLink() { + return this.getParent().name != '_lianhuan' && this.getParent().name != '_lianhuan2'; + } + isPhaseUsing(player) { + var evt = this.getParent('phaseUse'); + if (!evt || evt.name != 'phaseUse') return false; + return !player || player == evt.player; + } + addTrigger(skills, player) { + if (!player || !skills) return this; + let evt = this; + if (typeof skills == 'string') skills = [skills]; + game.expandSkills(skills); + while (true) { + evt = evt.getParent('arrangeTrigger'); + if (!evt || evt.name != 'arrangeTrigger' || !evt.doingList) return this; + const doing = evt.doingList.find(i => i.player === player); + const firstDo = evt.doingList.find(i => i.player === "firstDo"); + const lastDo = evt.doingList.find(i => i.player === "lastDo"); + + skills.forEach(skill => { + const info = lib.skill[skill]; + if (!info.trigger) return; + if (!Object.keys(info.trigger).some(i => { + if (Array.isArray(info.trigger[i])) return info.trigger[i].includes(evt.triggername); + return info.trigger[i] === evt.triggername; + })) return; + + const toadd = { + skill: skill, + player: player, + priority: get.priority(skill), + }; + const map = info.firstDo ? firstDo : info.lastDo ? lastDo : doing; + if (!map) return; + if (map.doneList.some(i => i.skill === toadd.skill && i.player === toadd.player)) return; + if (map.todoList.some(i => i.skill === toadd.skill && i.player === toadd.player)) return; + map.todoList.add(toadd); + if (typeof map.player === 'string') map.todoList.sort((a, b) => (b.priority - a.priority) || (evt.playerMap.indexOf(a) - evt.playerMap.indexOf(b))); + else map.todoList.sort((a, b) => b.priority - a.priority); + }); + } + } + removeTrigger(skills, player) { + if (!player || !skills) return this; + let evt = this; + if (typeof skills == 'string') skills = [skills]; + game.expandSkills(skills); + while (true) { + evt = evt.getParent('arrangeTrigger'); + if (!evt || evt.name != 'arrangeTrigger' || !evt.doingList) return this; + const doing = evt.doingList.find(i => i.player == player); + const firstDo = evt.doingList.find(i => i.player == "firstDo"); + const lastDo = evt.doingList.find(i => i.player == "lastDo"); + + skills.forEach(skill => [doing, firstDo, lastDo].forEach(map => { + if (!map) return; + const toremove = map.todoList.filter(i => i.skill == skill && i.player == player); + if (toremove.length > 0) map.todoList.removeArray(toremove); + })); + } + } + trigger(name) { + if (_status.video) return this; + if ((this.name === 'gain' || this.name === 'lose') && !_status.gameDrawed) return this; + if (name === 'gameDrawEnd') _status.gameDrawed = true; + if (name === 'gameStart') { + lib.announce.publish('gameStart', {}); + if (_status.brawl && _status.brawl.gameStart) _status.brawl.gameStart(); + if (lib.config.show_cardpile) ui.cardPileButton.style.display = ''; + _status.gameStarted = true; + game.showHistory(); + } + if (!lib.hookmap[name] && !lib.config.compatiblemode) return this; + if (!game.players || !game.players.length) return this; + const event = this; + let start = [_status.currentPhase, event.source, event.player, game.me, game.players[0]].find(i => get.itemtype(i) == 'player'); + if (!start) return this; + if (!game.players.includes(start) && !game.dead.includes(start)) start = game.findNext(start); + const firstDo = { + player: "firstDo", + todoList: [], + doneList: [], + }; + const lastDo = { + player: "lastDo", + todoList: [], + doneList: [], + }; + const doingList = []; + const roles = ['player', 'source', 'target', 'global']; + const playerMap = game.players.concat(game.dead).sortBySeat(start); + let player = start; + let allbool = false; + do { + const doing = { + player: player, + todoList: [], + doneList: [], + listAdded: {}, + addList(skill) { + if (!skill) return; + if (Array.isArray(skill)) return skill.forEach(i => this.addList(i)); + if (this.listAdded[skill]) return; + this.listAdded[skill] = true; + + const info = lib.skill[skill]; + const list = info.firstDo ? firstDo.todoList : info.lastDo ? lastDo.todoList : this.todoList; + list.push({ + skill: skill, + player: this.player, + priority: get.priority(skill), + }); + if (typeof list.player == 'string') list.sort((a, b) => (b.priority - a.priority) || (playerMap.indexOf(a) - playerMap.indexOf(b))); + else list.sort((a, b) => b.priority - a.priority); + allbool = true; + } + }; + + const notemp = player.skills.slice(); + for (const j in player.additionalSkills) { + if (!j.startsWith('hidden:')) notemp.addArray(player.additionalSkills[j]); + } + Object.keys(player.tempSkills).filter(skill => { + if (notemp.includes(skill)) return false; + const expire = player.tempSkills[skill]; + if (typeof expire === 'function') return expire(event, player, name); + if (get.objtype(expire) === 'object') return roles.some(role => { + if (role !== 'global' && player !== event[role]) return false; + if (Array.isArray(expire[role])) return expire[role].includes(name); + return expire[role] === name; + }); + }).forEach(skill => { + delete player.tempSkills[skill]; + player.removeSkill(skill); + }); + + if (lib.config.compatiblemode) { + doing.addList(game.expandSkills(player.getSkills('invisible').concat(lib.skill.global)).filter(skill => { + const info = get.info(skill); + if (!info || !info.trigger) return false; + return roles.some(role => { + if (info.trigger[role] === name) return true; + if (Array.isArray(info.trigger[role]) && info.trigger[role].includes(name)) return true; + }); + })); + } + else roles.forEach(role => { + doing.addList(lib.hook.globalskill[role + '_' + name]); + doing.addList(lib.hook[player.playerid + '_' + role + '_' + name]); + }); + delete doing.listAdded; + delete doing.addList; + doingList.push(doing); + player = player.nextSeat; + } while (player && player !== start); + doingList.unshift(firstDo); + doingList.push(lastDo); + // console.log(name,event.player,doingList.map(i=>({player:i.player,todoList:i.todoList.slice(),doneList:i.doneList.slice()}))) + + if (allbool) { + const next = game.createEvent('arrangeTrigger', false, event); + next.setContent('arrangeTrigger'); + next.doingList = doingList; + next._trigger = event; + next.triggername = name; + next.playerMap = playerMap; + event._triggering = next; + } + return this; + } + untrigger(all = true, player) { + const evt = this._triggering; + if (all) { + this._triggered = 5; + if (evt && evt.doingList) { + evt.doingList.forEach(doing => doing.todoList = []); + } + } + else if (player) { + this._notrigger.add(player); + // if(!evt||!evt.doingList) return this; + // const doing=evt.doingList.find(doing=>doing.player==player); + // if(doing) doing.todoList=[]; + } + return this; + } + /** + * 事件转为Promise化 + * + * @returns { import('../index.js').GameEventPromise } + */ + toPromise() { + if (!this.#promise) { + this.#promise = new lib.element.GameEventPromise(this); + } + return this.#promise; + } + /** + * @returns {never} + */ + typeAnnotation() { + /** + * @type {import('../index.js').Player} + */ + // @ts-ignore + this.source; + /** + * @type {import('../index.js').Player} + */ + // @ts-ignore + this.player; + /** + * @type {import('../index.js').Player} + */ + // @ts-ignore + this.target; + /** + * @type {import('../index.js').Player[]} + */ + // @ts-ignore + this.targets; + /** + * @type {import('../index.js').Card} + */ + // @ts-ignore + this.card; + /** + * @type {import('../index.js').Card[]} + */ + // @ts-ignore + this.cards; + /** + * @type {string} + */ + this.skill; + /** + * @type {boolean} + */ + this.forced; + /** + * @type {number} + */ + this.num; + /** + * @type {GameEvent} + */ + // @ts-ignore + this._trigger; + /** + * @type {Record} + */ + this._result; + /** + * @type {number} + */ + // @ts-ignore + this.baseDamage; + /** + * @type {import('../index.js').Player} + */ + // @ts-ignore + this.customSource; + /** + * @type {number} + */ + // @ts-ignore + this.extraDamage; + /** + * @type {string} + */ + // @ts-ignore + this.nature; + /** + * @type {boolean} + */ + // @ts-ignore + this.notrigger; + /** + * @type {number} + */ + // @ts-ignore + this.original_num; + /** + * @type {boolean} + */ + // @ts-ignore + this.unreal; + /** + * @type { import('../index.js').Button[] } + */ + // @ts-ignore + this.excludeButton; + throw new Error('Do not call this method'); + } +} \ No newline at end of file diff --git a/noname/library/element/gameEventPromise.js b/noname/library/element/gameEventPromise.js new file mode 100644 index 000000000..30d0ac8cd --- /dev/null +++ b/noname/library/element/gameEventPromise.js @@ -0,0 +1,161 @@ +import { AI as ai } from '../../ai/index.js'; +import { Get as get } from '../../get/index.js'; +import { Game as game } from '../../game/index.js'; +import { Library as lib } from "../index.js"; +import { status as _status } from '../../status/index.js'; +import { UI as ui } from '../../ui/index.js'; +import { AsyncFunction } from '../../util/index.js'; + +/** + * 将事件Promise化以使用async异步函数来执行事件。 + * + * 事件Promise化后,需要既能使用await等待事件完成, + * 又需要在执行之前对事件进行配置。 + * + * 所以这个类的实例集成了事件和Promise二者的所有属性, + * 且Promise的原有属性无法被修改,一切对这个类实例的属性修改,删除, + * 再配置等操作都会转发到事件对应的属性中。 + * + * @todo 需要完成异步事件的debugger方法 + * + * @example + * 使用await xx()等待异步事件执行: + * ```js + * await game.xxx().setContent('yyy').set(zzz, 'i'); + * ``` + * 使用await player.xxx()等待异步事件执行: + * ```js + * await player.draw(2); + * game.log('等待', player, '摸牌完成执行log'); + * ``` + */ +export class GameEventPromise extends Promise { + // 我谢谢你,这里是必须有的 + // 否则Promise的方法对其子类无效 + static get [Symbol.species]() { + return Promise; + } + #event; + /** + * @param { import('./gameEvent.js').default } event + * @returns { Promise & import('./gameEvent.js').default } + */ + constructor(event) { + super(resolve => { + // 设置为异步事件 + event.async = true; + // 事件结束后触发resolve + event.resolve = resolve; + if (!_status.event) return; + // game.createEvent的时候还没立即push到next里 + Promise.resolve().then(() => { + game.executingAsyncEventMap.set(_status.event.toEvent(), (game.executingAsyncEventMap.get(_status.event.toEvent()) || Promise.resolve()).then(() => { + let eventPromise = _status.event.next.find(e => e.toEvent() == event); + // 如果父级事件也是一个异步的话,那应该立即执行这个事件的 + // 如果在AsyncFunction执行过程中在别的位置新建了一个异步事件,那也直接(等会set配置完)执行 + if (eventPromise && (_status.event.content instanceof AsyncFunction || Array.isArray(_status.event.contents))) { + // 异步执行game.loop + // 不直接game.loop(event)是因为需要让别人可以手动set()和setContent() + // 再执行game.loop是因为原有的game.loop被await卡住了, + // 得新执行一个只执行这个异步事件的game.loop + + // 事件自行处理skip情况 + if (event.player && event.player.skipList.includes(event.name)) { + _status.event.trigger(event.name + 'Skipped'); + event.player.skipList.remove(event.name); + if (lib.phaseName.includes(event.name)) event.player.getHistory('skipped').add(event.name); + _status.event.next.remove(eventPromise); + event.finish(); + resolve(); + return eventPromise; + } + + if (_status.event != eventPromise) { + eventPromise.parent = _status.event; + _status.event = eventPromise; + game.getGlobalHistory('everything').push(eventPromise); + } + return game.loop(eventPromise).then(() => { + // 有时候event.finished还是false + return eventPromise; + }); + } + })); + }); + }); + this.#event = event; + return new Proxy(this, { + get(target, prop, receiver) { + const thisValue = Reflect.get(target, prop); + if (thisValue) { + if (typeof thisValue == 'function') { + return thisValue.bind(target); + } + return thisValue; + } + const eventValue = Reflect.get(event, prop); + return eventValue == event ? receiver : eventValue; + }, + set(target, prop, newValue) { + return Reflect.set(event, prop, newValue); + }, + deleteProperty(target, prop) { + return Reflect.deleteProperty(event, prop); + }, + defineProperty(target, prop, attributes) { + return Reflect.defineProperty(event, prop, attributes); + }, + has(target, prop) { + return Reflect.has(event, prop); + }, + ownKeys(target) { + return Reflect.ownKeys(event); + }, + getOwnPropertyDescriptor(target, prop) { + return Reflect.getOwnPropertyDescriptor(event, prop); + }, + }); + } + /** 获取原事件对象 */ + toEvent() { + return this.#event; + } + /** + * 在某个异步事件中调试变量信息 + * + * 注: 在调试步骤中`定义的变量只在当前输入的语句有效` + * + * @example + * 在技能中调试技能content相关的信息 + * ```js + * await event.debugger(); + * ``` + * 在技能中调试触发此技能事件的相关的信息 + * ```js + * await trigger.debugger(); + * ``` + */ + async debugger() { + return new Promise(resolve => { + const runCode = function (event, code) { + try { + // 为了使玩家调试时使用var player=xxx时不报错,故使用var + var { player, _trigger: trigger, _result: result } = event; + return eval(code); + } catch (error) { + return error; + } + }.bind(window); + const inputCallback = inputResult => { + if (inputResult === false) { + resolve(null); + } else { + const obj = runCode(this.toEvent(), inputResult); + alert((!obj || obj instanceof Error) ? String(obj) : get.stringify(obj)); + game.promises.prompt('debugger调试').then(inputCallback); + } + }; + game.promises.prompt('debugger调试').then(inputCallback); + }); + } +} \ No newline at end of file diff --git a/noname/library/element/index.js b/noname/library/element/index.js new file mode 100644 index 000000000..817d3cc2e --- /dev/null +++ b/noname/library/element/index.js @@ -0,0 +1,12 @@ +export { Button } from "./button.js"; +export { Card } from "./card.js"; +export { Client } from "./client.js"; +export { Content } from "./content.js"; +export { Contents } from "./contents.js"; +export { Control } from "./control.js"; +export { Dialog } from "./dialog.js"; +export { GameEvent } from "./gameEvent.js"; +export { GameEventPromise } from "./gameEventPromise.js"; +export { NodeWS } from "./nodeWs.js"; +export { Player } from "./player.js"; +export { VCard } from "./vcard.js"; \ No newline at end of file diff --git a/noname/library/element/nodeWS.js b/noname/library/element/nodeWS.js new file mode 100644 index 000000000..bcbf3588a --- /dev/null +++ b/noname/library/element/nodeWS.js @@ -0,0 +1,25 @@ +import { AI as ai } from '../../ai/index.js'; +import { Get as get } from '../../get/index.js'; +import { Game as game } from '../../game/index.js'; +import { Library as lib } from "../index.js"; +import { status as _status } from '../../status/index.js'; +import { UI as ui } from '../../ui/index.js'; +import { GNC as gnc } from '../../gnc/index.js'; + +export class NodeWS { + /** + * @param {string} id + */ + constructor(id) { + this.wsid = id; + } + send(message) { + game.send('server', 'send', this.wsid, message); + } + on(type, func) { + this['on' + type] = func; + } + close() { + game.send('server', 'close', this.wsid); + } +} \ No newline at end of file diff --git a/noname/library/element/player.js b/noname/library/element/player.js index 5b6f97fab..a4c04dcb5 100644 --- a/noname/library/element/player.js +++ b/noname/library/element/player.js @@ -5,9 +5,9 @@ import { Library as lib } from "../index.js"; import { status as _status } from '../../status/index.js'; import { UI as ui } from '../../ui/index.js'; -export default class extends HTMLDivElement { +export class Player extends HTMLDivElement { /** - * @param {HTMLDivElement} [position] + * @param {HTMLDivElement|DocumentFragment} [position] * @param {true} [noclick] */ // @ts-ignore @@ -17,7 +17,7 @@ export default class extends HTMLDivElement { */ // @ts-ignore const player = ui.create.div('.player', position); - Object.setPrototypeOf(player, lib.element.Player.prototype); + Object.setPrototypeOf(player, Player.prototype); player.build(noclick); return player; } diff --git a/noname/library/element/vcard.js b/noname/library/element/vcard.js new file mode 100644 index 000000000..3a8e73515 --- /dev/null +++ b/noname/library/element/vcard.js @@ -0,0 +1,114 @@ +import { AI as ai } from '../../ai/index.js'; +import { Get as get } from '../../get/index.js'; +import { Game as game } from '../../game/index.js'; +import { Library as lib } from "../index.js"; +import { status as _status } from '../../status/index.js'; +import { UI as ui } from '../../ui/index.js'; + +export class VCard { + /** + * @param {any} [suitOrCard] + * @param {number | Card[]} [numberOrCards] + * @param {string} [name] + * @param {string} [nature] + */ + constructor(suitOrCard, numberOrCards, name, nature) { + if (Array.isArray(suitOrCard)) { + /** + * @type {string} + */ + this.suit = suitOrCard[0]; + /** + * @type {number} + */ + this.number = suitOrCard[1]; + /** + * @type {string} + */ + this.name = suitOrCard[2]; + /** + * @type {string} + */ + this.nature = suitOrCard[3]; + } + else if (get.itemtype(suitOrCard) == 'card') { + this.name = get.name(suitOrCard); + this.suit = get.suit(suitOrCard); + this.color = get.color(suitOrCard); + this.number = get.number(suitOrCard); + this.nature = get.nature(suitOrCard); + this.isCard = true; + this.cardid = suitOrCard.cardid; + this.wunature = suitOrCard.wunature; + /** + * @type {Record} + */ + this.storage = get.copy(suitOrCard.storage); + if (Array.isArray(numberOrCards)) this.cards = numberOrCards.slice(); + else this.cards = [suitOrCard]; + const info = get.info(this, false); + if (info) { + const autoViewAs = info.autoViewAs; + if (typeof autoViewAs == 'string') this.name = autoViewAs; + } + } + else if (suitOrCard && typeof suitOrCard != 'string') { + Object.keys(suitOrCard).forEach(key => { + const propertyDescriptor = Object.getOwnPropertyDescriptor(suitOrCard, key), value = propertyDescriptor.value; + if (Array.isArray(value)) this[key] = value.slice(); + else Object.defineProperty(this, key, propertyDescriptor); + }); + if (Array.isArray(numberOrCards)) { + const noCards = !this.cards; + /** + * @type {Card[]} + */ + this.cards = numberOrCards.slice(); + if (noCards) { + if (!lib.suits.includes(this.suit)) this.suit = get.suit(this); + if (!Object.keys(lib.color).includes(this.color)) this.color = get.color(this); + if (typeof this.number != 'number') this.number = get.number(this); + if (!this.nature) this.nature = get.nature(this); + } + } + const info = get.info(this, false); + if (info) { + const autoViewAs = info.autoViewAs; + if (typeof autoViewAs == 'string') this.name = autoViewAs; + } + } + if (typeof suitOrCard == 'string') this.suit = suitOrCard; + if (typeof numberOrCards == 'number') this.number = numberOrCards; + if (typeof name == 'string') this.name = name; + if (typeof nature == 'string') this.nature = nature; + if (!this.storage) this.storage = {}; + if (!this.cards) this.cards = []; + } + sameSuitAs(card) { + return get.suit(this) == get.suit(card); + } + differentSuitFrom(card) { + return get.suit(this) != get.suit(card); + } + sameNumberAs(card) { + return get.number(this) == get.number(card); + } + differentNumberFrom(card) { + return get.number(this) != get.number(card); + } + sameNameAs(card) { + return get.name(this) == get.name(card); + } + differentNameFrom(card) { + return get.name(this) != get.name(card); + } + /** + * @param {Player} player + */ + hasNature(nature, player) { + const natures = get.natureList(this, player); + if (!nature) return natures.length > 0; + if (nature == 'linked') return natures.some(n => lib.linked.includes(n)); + return get.is.sameNature(natures, nature); + } +} \ No newline at end of file diff --git a/noname/library/index.js b/noname/library/index.js index 97162e6c8..8e42ec2fc 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -20,9 +20,8 @@ import { GNC as gnc } from '../gnc/index.js'; import { LibInit } from "./init/index.js"; import { Announce } from "./announce/index.js"; -import LibElementContent from "./element/content.js"; -import LibElementContents from "./element/contents.js"; -import LibElementPlayer from "./element/player.js"; +import * as Element from "./element/index.js"; + export class Library extends Uninstantable { static configprefix = 'noname_0.9_'; @@ -97,6 +96,25 @@ export class Library extends Uninstantable { */ // @ts-ignore this.videos; + /** + * @type { { + * fs: typeof import("fs"), + * path: typeof import("path"), + * debug: () => void, + * clients: Element.Client[], + * banned:[], + * observing:[], + * torespond:{}, + * torespondtimeout:{}, + * } } + */ + // @ts-ignore + this.node; + /** + * @type { { [key: string]: string } } + */ + // @ts-ignore + this.playerOL; throw new Error('Do not call this method'); } //函数钩子 @@ -9225,2268 +9243,18 @@ export class Library extends Uninstantable { _stratagem_add_buff: '强化' }; static element = { - content: LibElementContent, - contents: LibElementContents, - Player: LibElementPlayer, - Card: class extends HTMLDivElement { - /** - * @param {HTMLDivElement} [position] - * @param {'noclick'} [info] - * @param {true} [noclick] - */ - constructor(position, info, noclick) { - const card = ui.create.div('.card', position); - Object.setPrototypeOf(card, lib.element.Card.prototype); - card.build(info, noclick); - return card; - } - build(info, noclick) { - let card = this; - card.buildNode(); - card.buildIntro(noclick); - card.buildProperty(); - card.buildEventListener(info); - } - buildEventListener(info) { - let card = this; - if (info != 'noclick') { - card.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.card); - if (lib.config.touchscreen) { - card.addEventListener('touchstart', ui.click.cardtouchstart); - card.addEventListener('touchmove', ui.click.cardtouchmove); - } - if (lib.cardSelectObserver) lib.cardSelectObserver.observe(card, { - attributes: true - }); - } - } - buildProperty() { - let card = this; - card.storage = {}; - card.vanishtag = []; - card.gaintag = []; - card._uncheck = []; - } - buildNode() { - this.node = { - image: ui.create.div('.image', this), - info: ui.create.div('.info', this), - name: ui.create.div('.name', this), - name2: ui.create.div('.name2', this), - background: ui.create.div('.background', this), - intro: ui.create.div('.intro', this), - range: ui.create.div('.range', this), - gaintag: ui.create.div('.gaintag', this), - }; - this.node.intro.innerHTML = lib.config.intro; - } - buildIntro(noclick) { - if (!noclick) lib.setIntro(this); - } - //执行销毁一张牌的钩子函数 - selfDestroy(event) { - if (this._selfDestroyed) return; - this._selfDestroyed = true; - this.fix(); - this.delete(); - const info = get.info(this, false); - if (!info) return; - if (info.destroyLog !== false) game.log(this, '被销毁了'); - if (info.onDestroy) info.onDestroy(this, event); - } - //判断一张牌进入某个区域后是否会被销毁 - willBeDestroyed(targetPosition, player, event) { - const destroyed = this.destroyed; - if (typeof destroyed == 'function') { - return destroyed(this, targetPosition, player, event); - } - else if (lib.skill[destroyed]) { - if (player) { - if (player.hasSkill(destroyed)) { - delete this.destroyed; - return false; - } - } - return true; - } - else if (typeof destroyed == 'string') { - return (destroyed == targetPosition); - } - return destroyed; - } - hasNature(nature, player) { - return game.hasNature(this, nature, player); - } - //只针对【杀】起效果 - addNature(nature) { - let natures = []; - if (!this.nature) this.nature = ''; - else { - natures.addArray(get.natureList(this.nature)); - } - natures.addArray(get.natureList(nature)); - this.nature = get.nature(natures); - this.classList.add(nature); - let str = get.translation(this.nature) + '杀'; - this.node.name.innerText = str; - let name = get.name(this, false); - do { - if (name == 'sha') { - let _bg; - for (const n of natures) if (lib.natureBg.has(n)) _bg = n; - if (_bg) { - this.node.image.setBackgroundImage(lib.natureBg.get(_bg)); - break; - } - } - this.node.image.setBackgroundImage('image/card/' + name + '.png'); - } - while (0); - return this.nature; - } - removeNature(nature) { - if (!this.nature) return; - let natures = get.natureList(this.nature); - natures.remove(nature); - if (!natures.length) delete this.nature; - else this.nature = get.nature(natures); - this.classList.remove(nature); - let str = get.translation(this.nature) + '杀'; - this.node.name.innerText = str; - let name = get.name(this, false); - do { - if (name == 'sha') { - let _bg; - for (const n of natures) if (lib.natureBg.has(n)) _bg = n; - if (_bg) { - this.node.image.setBackgroundImage(lib.natureBg.get(_bg)); - break; - } - } - this.node.image.setBackgroundImage('image/card/' + name + '.png'); - } - while (0); - return this.nature; - } - addGaintag(gaintag) { - if (Array.isArray(gaintag)) this.gaintag = gaintag.slice(0); - else this.gaintag.add(gaintag); - var str = ''; - for (var gi = 0; gi < this.gaintag.length; gi++) { - var translate = get.translation(this.gaintag[gi]); - if (translate != 'invisible') { - str += translate; - if (gi < this.gaintag.length - 1) str += ' '; - } - } - this.node.gaintag.innerHTML = str; - } - removeGaintag(tag) { - if (tag === true) { - if (this.gaintag && this.gaintag.length || this.node.gaintag.innerHTML.length) this.addGaintag([]); - } - else if (this.hasGaintag(tag)) { - this.gaintag.remove(tag); - this.addGaintag(this.gaintag); - } - } - hasGaintag(tag) { - return this.gaintag && this.gaintag.contains(tag); - } - /** - * @param {[string, number, string, string] | { - * suit: string; - * number: number; - * name: string; - * nature: string; - * }} card - */ - init(card) { - if (Array.isArray(card)) { - if (card[2] == 'huosha') { - card[2] = 'sha'; - card[3] = 'fire'; - } - else if (card[2] == 'leisha') { - card[2] = 'sha'; - card[3] = 'thunder'; - } - else if (card[2] == 'cisha') { - card[2] = 'sha'; - card[3] = 'stab'; - } - else if (card[2].length > 3) { - let prefix = card[2].slice(0, card[2].lastIndexOf('sha')); - if (lib.nature.has(prefix)) { - if (prefix.length + 3 == card[2].length) { - card[2] = 'sha'; - card[3] = prefix; - } - } - if (card[2].startsWith('sha_')) { - let suffix = card[2].slice(4); - let natureList = suffix.split('_'); - card[2] = 'sha'; - card[3] = get.nature(natureList); - } - } - } - else if (typeof card == 'object') { - card = [card.suit, card.number, card.name, card.nature]; - } - var cardnum = card[1] || ''; - if (parseInt(cardnum) == cardnum) cardnum = parseInt(cardnum); - - if (!lib.card[card[2]]) { - lib.card[card[2]] = {}; - } - var info = lib.card[card[2]]; - if (info.global && !this.classList.contains('button')) { - if (Array.isArray(info.global)) { - while (info.global.length) { - game.addGlobalSkill(info.global.shift()); - } - } - else if (typeof info.global == 'string') { - game.addGlobalSkill(info.global); - } - delete info.global; - } - this.suit = card[0]; - this.number = parseInt(card[1]) || 0; - this.name = card[2]; - - if (info.destroy && (typeof info.destroy != 'boolean' && !lib.skill[info.destroy])) { - this.destroyed = info.destroy; - } - - if (_status.connectMode && !game.online && lib.cardOL && !this.cardid) { - this.cardid = get.id(); - lib.cardOL[this.cardid] = this; - } - if (!_status.connectMode && !_status.video) { - this.cardid = get.id(); - } - - this.$init(card); - - if (this.inits) { - for (var i = 0; i < this.inits.length; i++) { - this.inits[i](this); - } - } - if (typeof info.init == 'function') info.init(); - - return this; - } - /** - * @param {[string, number, string, string]} card - */ - $init(card) { - var info = lib.card[card[2]]; - var cardnum = card[1] || ''; - if (parseInt(cardnum) == cardnum) cardnum = parseInt(cardnum); - if (cardnum > 0 && cardnum < 14) { - cardnum = ['A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K'][cardnum - 1]; - } - if (this.name) { - this.classList.remove('epic'); - this.classList.remove('legend'); - this.classList.remove('gold'); - this.classList.remove('unique'); - this.style.background = ''; - var subtype = get.subtype(this, false); - if (subtype) { - this.classList.remove(subtype); - } - } - if (info.epic) { - this.classList.add('epic'); - } - else if (info.legend) { - this.classList.add('legend'); - } - else if (info.gold) { - this.classList.add('gold'); - } - else if (info.unique) { - this.classList.add('unique'); - } - var bg = card[2]; - if (info.cardimage) { - bg = info.cardimage; - } - var img = lib.card[bg].image; - if (img) { - if (img.startsWith('db:')) { - img = img.slice(3); - } - else if (!img.startsWith('ext:')) { - img = null; - } - } - this.classList.remove('fullskin'); - this.classList.remove('fullimage'); - this.classList.remove('fullborder'); - this.dataset.cardName = card[2]; - this.dataset.cardType = info.type || ''; - this.dataset.cardSubype = info.subtype || ''; - this.dataset.cardMultitarget = info.multitarget ? '1' : '0'; - this.node.name.dataset.nature = ''; - this.node.info.classList.remove('red'); - if (!lib.config.hide_card_image && lib.card[bg].fullskin) { - this.classList.add('fullskin'); - if (img) { - if (img.startsWith('ext:')) { - this.node.image.setBackgroundImage(img.replace(/^ext:/, 'extension/')); - } - else { - this.node.image.setBackgroundDB(img); - } - } - else { - if (lib.card[bg].modeimage) { - this.node.image.setBackgroundImage('image/mode/' + lib.card[bg].modeimage + '/card/' + bg + '.png'); - } - else { - do { - let nature = card[3]; - if (bg == 'sha' && typeof nature == 'string') { - let natures = get.natureList(nature), _bg; - for (const n of natures) if (lib.natureBg.has(n)) _bg = n; - if (_bg) { - this.node.image.setBackgroundImage(lib.natureBg.get(_bg)); - break; - } - } - this.node.image.setBackgroundImage('image/card/' + bg + '.png'); - } - while (0); - } - } - } - else if (lib.card[bg].image == 'background') { - if (card[3]) this.node.background.setBackground(bg + '_' + get.natureList(card[3])[0], 'card'); - else this.node.background.setBackground(bg, 'card'); - } - else if (lib.card[bg].fullimage) { - this.classList.add('fullimage'); - if (img) { - if (img.startsWith('ext:')) { - this.setBackgroundImage(img.replace(/^ext:/, 'extension/')); - this.style.backgroundSize = 'cover'; - } - else { - this.setBackgroundDB(img); - } - } - else if (lib.card[bg].image) { - if (lib.card[bg].image.startsWith('character:')) { - this.setBackground(lib.card[bg].image.slice(10), 'character'); - } - else { - this.setBackground(lib.card[bg].image); - } - } - else { - var cardPack = lib.cardPack['mode_' + get.mode()]; - if (Array.isArray(cardPack) && cardPack.contains(bg)) { - this.setBackground('mode/' + get.mode() + '/card/' + bg); - } - else { - this.setBackground('card/' + bg); - } - } - } - else if (lib.card[bg].fullborder) { - this.classList.add('fullborder'); - if (lib.card[bg].fullborder == 'gold') { - this.node.name.dataset.nature = 'metalmm'; - } - else if (lib.card[bg].fullborder == 'silver') { - this.node.name.dataset.nature = 'watermm'; - } - if (!this.node.avatar) { - this.node.avatar = ui.create.div('.cardavatar'); - this.insertBefore(this.node.avatar, this.firstChild); - } - if (!this.node.framebg) { - this.node.framebg = ui.create.div('.cardframebg'); - this.node.framebg.dataset.auto = lib.card[bg].fullborder; - this.insertBefore(this.node.framebg, this.firstChild); - } - if (img) { - if (img.startsWith('ext:')) { - this.node.avatar.setBackgroundImage(img.replace(/^ext:/, 'extension/')); - this.node.avatar.style.backgroundSize = 'cover'; - } - else { - this.node.avatar.setBackgroundDB(img); - } - } - else if (lib.card[bg].image) { - if (lib.card[bg].image.startsWith('character:')) { - this.node.avatar.setBackground(lib.card[bg].image.slice(10), 'character'); - } - else { - this.node.avatar.setBackground(lib.card[bg].image); - } - } - else { - var cardPack = lib.cardPack['mode_' + get.mode()]; - if (Array.isArray(cardPack) && cardPack.contains(bg)) { - this.node.avatar.setBackground('mode/' + get.mode() + '/card/' + bg); - } - else { - this.node.avatar.setBackground('card/' + bg); - } - } - } - else if (lib.card[bg].image == 'card') { - if (card[3]) this.setBackground(bg + '_' + get.natureList(card[3])[0], 'card'); - else this.setBackground(bg, 'card'); - } - else if (typeof lib.card[bg].image == 'string' && !lib.card[bg].fullskin) { - if (img) { - if (img.startsWith('ext:')) { - this.setBackgroundImage(img.replace(/^ext:/, 'extension/')); - this.style.backgroundSize = 'cover'; - } - else { - this.setBackgroundDB(img); - } - } - else { - this.setBackground(lib.card[bg].image); - } - } - else { - this.node.background.innerHTML = lib.translate[bg + '_cbg'] || lib.translate[bg + '_bg'] || get.translation(bg)[0]; - // this.node.background.style.fontFamily=lib.config.card_font; - if (this.node.background.innerHTML.length > 1) this.node.background.classList.add('tight'); - else this.node.background.classList.remove('tight'); - } - if (!lib.card[bg].fullborder && this.node.avatar && this.node.framebg) { - this.node.avatar.remove(); - this.node.framebg.remove(); - delete this.node.avatar; - delete this.node.framebg; - } - if (info.noname && !this.classList.contains('button')) { - this.node.name.style.display = 'none'; - } - if (info.color) { - this.style.color = info.color; - } - if (info.textShadow) { - this.style.textShadow = info.textShadow; - } - if (info.opacity) { - this.node.info.style.opacity = info.opacity; - this.node.name.style.opacity = info.opacity; - } - if (info.modinfo) { - this.node.info.innerHTML = info.modinfo; - } - else { - this.node.info.innerHTML = get.translation(card[0]) + ' ' + cardnum + ''; - } - if (info.addinfo) { - if (!this.node.addinfo) { - this.node.addinfo = ui.create.div('.range', this); - } - this.node.addinfo.innerHTML = info.addinfo; - } - else if (this.node.addinfo) { - this.node.addinfo.remove(); - delete this.node.addinfo; - } - if (card[0] == 'heart' || card[0] == 'diamond') { - this.node.info.classList.add('red'); - } - this.node.image.className = 'image'; - var name = get.translation(card[2]); - if (card[2] == 'sha') { - name = ''; - let nature = card[3]; - if (nature) { - let natures = get.natureList(nature); - natures.sort(lib.sort.nature); - for (let nature of natures) { - name += lib.translate['nature_' + nature] || lib.translate[nature] || ''; - if (nature != 'stab') this.node.image.classList.add(nature); - } - } - name += '杀'; - } - this.node.name.innerHTML = name; - if (name.length >= 5) { - this.node.name.classList.add('long'); - if (name.length >= 7) { - this.node.name.classList.add('longlong'); - } - } - this.node.name2.innerHTML = get.translation(card[0]) + cardnum + ' ' + name; - this.classList.add('card'); - if (card[3]) { - let natures = get.natureList(card[3]); - natures.forEach(n => { if (n) this.classList.add(n); }); - this.nature = natures.filter(n => lib.nature.has(n)).sort(lib.sort.nature).join(lib.natureSeparator); - } - else if (this.nature) { - this.classList.remove(this.nature); - delete this.nature; - } - if (info.subtype) this.classList.add(info.subtype); - this.node.range.innerHTML = ''; - switch (get.subtype(this, false)) { - case 'equip1': - var added = false; - if (lib.card[this.name] && lib.card[this.name].distance) { - var dist = lib.card[this.name].distance; - if (dist.attackFrom) { - added = true; - this.node.range.innerHTML = '范围: ' + (-dist.attackFrom + 1); - } - } - if (!added) { - this.node.range.innerHTML = '范围: 1'; - } - break; - case 'equip3': - if (info.distance && info.distance.globalTo) { - this.node.range.innerHTML = '防御: ' + info.distance.globalTo; - this.node.name2.innerHTML += '+'; - } - break; - case 'equip4': - if (info.distance && info.distance.globalFrom) { - this.node.range.innerHTML = '进攻: ' + (-info.distance.globalFrom); - this.node.name2.innerHTML += '-'; - } - break; - } - var tags = []; - if (Array.isArray(card[4])) { - tags.addArray(card[4]); - } - if (this.cardid) { - if (!_status.cardtag) { - _status.cardtag = {}; - } - for (var i in _status.cardtag) { - if (_status.cardtag[i].contains(this.cardid)) { - tags.add(i); - } - } - if (tags.length) { - var tagstr = ' '; - for (var i = 0; i < tags.length; i++) { - var tag = tags[i]; - if (!_status.cardtag[tag]) { - _status.cardtag[tag] = []; - } - _status.cardtag[tag].add(this.cardid); - tagstr += lib.translate[tag + '_tag']; - //if(i this._knowers.add(p.playerid)); - } - } - } - removeKnower(player) { - if (!this._knowers) { - return; - } - if (typeof player == 'string') { - this._knowers.remove(player); - } else { - let type = get.itemtype(player); - if (type == 'player') { - this._knowers.remove(player.playerid); - } else if (type == 'players') { - player.forEach(p => this._knowers.remove(p.playerid)); - } - } - } - //清除此牌的知情者。 - clearKnowers() { - if (this._knowers) delete this._knowers; - } - //判断玩家对此牌是否知情。 - isKnownBy(player) { - if (['e', 'j'].includes(get.position(this))) return true;//装备区或者判定区的牌,必知情。 - let owner = get.owner(this); - if (owner) { - if (owner == player) return true;//是牌主,必知情。 - if (player.hasSkillTag('viewHandcard', null, owner, true)) return true;//有viewHandcard标签,必知情。 - if (owner.isUnderControl(true, player)) return true;//被操控,必知情。 - } - if (get.is.shownCard(this)) return true;//此牌是明置牌,必知情。 - if (this._knowers) { - return this._knowers.includes('everyone') || this._knowers.includes(player.playerid); - } - return false; - } - getSource(name) { - if (this.name == name) return true; - var info = lib.card[this.name]; - if (info && Array.isArray(info.source)) { - return info.source.contains(name); - } - return false; - } - moveDelete(player) { - this.fixed = true; - if (!this._listeningEnd || this._transitionEnded) { - this.moveTo(player); - var that = this; - setTimeout(function () { - that.delete(); - }, 200); - } - else { - this._onEndMoveDelete = player; - } - } - moveTo(player) { - this.fixed = true; - var dx, dy; - if (this.classList.contains('center')) { - var nx = [50, -52]; - var ny = [50, -52]; - nx = nx[0] * ui.arena.offsetWidth / 100 + nx[1]; - ny = ny[0] * ui.arena.offsetHeight / 100 + ny[1]; - dx = player.getLeft() + player.offsetWidth / 2 - 52 - nx; - dy = player.getTop() + player.offsetHeight / 2 - 52 - ny; - } - else { - this.style.left = this.offsetLeft + 'px'; - this.style.top = this.offsetTop + 'px'; - - dx = player.getLeft() + player.offsetWidth / 2 - 52 - this.offsetLeft; - dy = player.getTop() + player.offsetHeight / 2 - 52 - this.offsetTop; - } - if (get.is.mobileMe(player)) { - dx += get.cardOffset(); - if (ui.arena.classList.contains('oblongcard')) { - dy -= 16; - } - } - - - if (this.style.transform && this.style.transform != 'none' && this.style.transform.indexOf('translate') == -1) { - this.style.transform += ' translate(' + dx + 'px,' + dy + 'px)'; - } - else { - this.style.transform = 'translate(' + dx + 'px,' + dy + 'px)'; - } - return this; - } - copy() { - /** - * @type {Card} - */ - var node = this.cloneNode(true); - node.style.transform = ''; - node.name = this.name; - node.suit = this.suit; - node.number = this.number; - node.nature = this.nature; - node.classList.remove('hidden'); - node.classList.remove('start'); - node.classList.remove('thrown'); - node.classList.remove('selectable'); - node.classList.remove('selected'); - node.classList.remove('removing'); - node.classList.remove('drawinghidden'); - node.classList.remove('glows'); - node.node = { - name: node.querySelector('.name'), - info: node.querySelector('.info'), - intro: node.querySelector('.intro'), - background: node.querySelector('.background'), - image: node.querySelector('.image'), - gaintag: node.querySelector('.gaintag'), - }; - node.node.gaintag.innerHTML = ''; - var clone = true; - var position; - for (var i = 0; i < arguments.length; i++) { - if (typeof arguments[i] == 'string') node.classList.add(arguments[i]); - else if (['div', 'fragment'].includes(get.objtype(arguments[i]))) position = arguments[i]; - else if (typeof arguments[i] == 'boolean') clone = arguments[i]; - } - node.moveTo = lib.element.Card.prototype.moveTo; - node.moveDelete = lib.element.Card.prototype.moveDelete; - if (clone) this.clone = node; - if (position) position.appendChild(node); - return node; - } - uncheck(skill) { - if (skill) this._uncheck.add(skill); - this.classList.add('uncheck'); - } - recheck(skill) { - if (skill) this._uncheck.remove(skill); - else this._uncheck.length = 0; - if (this._uncheck.length == 0) this.classList.remove('uncheck'); - } - discard(bool) { - if (!this._selfDestroyed) { - this.fix(); - ui.discardPile.appendChild(this); - } - this.classList.remove('glow'); - if (bool === false) { - ui.cardPile.insertBefore(this, ui.cardPile.childNodes[Math.floor(Math.random() * ui.cardPile.childNodes.length)]); - } - else { - if (_status.discarded) { - _status.discarded.add(this); - } - } - } - hasTag(tag) { - if (this.cardid && _status.cardtag && _status.cardtag[tag] && _status.cardtag[tag].contains(this.cardid)) { - return true; - } - return false; - } - hasPosition() { - return ['h', 'e', 'j', 's', 'x'].contains(get.position(this)); - } - isInPile() { - return ['c', 'd'].contains(get.position(this)); - } - }, - VCard: class { - /** - * @param {any} [suitOrCard] - * @param {number | Card[]} [numberOrCards] - * @param {string} [name] - * @param {string} [nature] - */ - constructor(suitOrCard, numberOrCards, name, nature) { - if (Array.isArray(suitOrCard)) { - /** - * @type {string} - */ - this.suit = suitOrCard[0]; - /** - * @type {number} - */ - this.number = suitOrCard[1]; - /** - * @type {string} - */ - this.name = suitOrCard[2]; - /** - * @type {string} - */ - this.nature = suitOrCard[3]; - } - else if (get.itemtype(suitOrCard) == 'card') { - this.name = get.name(suitOrCard); - this.suit = get.suit(suitOrCard); - this.color = get.color(suitOrCard); - this.number = get.number(suitOrCard); - this.nature = get.nature(suitOrCard); - this.isCard = true; - this.cardid = suitOrCard.cardid; - this.wunature = suitOrCard.wunature; - /** - * @type {Record} - */ - this.storage = get.copy(suitOrCard.storage); - if (Array.isArray(numberOrCards)) this.cards = numberOrCards.slice(); - else this.cards = [suitOrCard]; - const info = get.info(this, false); - if (info) { - const autoViewAs = info.autoViewAs; - if (typeof autoViewAs == 'string') this.name = autoViewAs; - } - } - else if (suitOrCard && typeof suitOrCard != 'string') { - Object.keys(suitOrCard).forEach(key => { - const propertyDescriptor = Object.getOwnPropertyDescriptor(suitOrCard, key), value = propertyDescriptor.value; - if (Array.isArray(value)) this[key] = value.slice(); - else Object.defineProperty(this, key, propertyDescriptor); - }); - if (Array.isArray(numberOrCards)) { - const noCards = !this.cards; - /** - * @type {Card[]} - */ - this.cards = numberOrCards.slice(); - if (noCards) { - if (!lib.suits.includes(this.suit)) this.suit = get.suit(this); - if (!Object.keys(lib.color).includes(this.color)) this.color = get.color(this); - if (typeof this.number != 'number') this.number = get.number(this); - if (!this.nature) this.nature = get.nature(this); - } - } - const info = get.info(this, false); - if (info) { - const autoViewAs = info.autoViewAs; - if (typeof autoViewAs == 'string') this.name = autoViewAs; - } - } - if (typeof suitOrCard == 'string') this.suit = suitOrCard; - if (typeof numberOrCards == 'number') this.number = numberOrCards; - if (typeof name == 'string') this.name = name; - if (typeof nature == 'string') this.nature = nature; - if (!this.storage) this.storage = {}; - if (!this.cards) this.cards = []; - } - sameSuitAs(card) { - return get.suit(this) == get.suit(card); - } - differentSuitFrom(card) { - return get.suit(this) != get.suit(card); - } - sameNumberAs(card) { - return get.number(this) == get.number(card); - } - differentNumberFrom(card) { - return get.number(this) != get.number(card); - } - sameNameAs(card) { - return get.name(this) == get.name(card); - } - differentNameFrom(card) { - return get.name(this) != get.name(card); - } - /** - * @param {Player} player - */ - hasNature(nature, player) { - const natures = get.natureList(this, player); - if (!nature) return natures.length > 0; - if (nature == 'linked') return natures.some(n => lib.linked.includes(n)); - return get.is.sameNature(natures, nature); - } - }, - Button: class extends HTMLDivElement { - /** - * @param {{}} item - * @param {keyof typeof ui.create.buttonPresets | (item: {}, type: Function, position?: HTMLDivElement, noClick?: true, button?: HTMLDivElement) => HTMLDivElement} type - * @param {HTMLDivElement|DocumentFragment} [position] - * @param {true} [noClick] - * @param {HTMLDivElement} [button] - */ - constructor(item, type, position, noClick, button) { - if (ui.create.buttonPresets[type]) button = ui.create.buttonPresets[type](item, type, position, noClick, button); - else if (typeof type == 'function') button = type(item, type, position, noClick, button); - Object.setPrototypeOf(button, lib.element.Button.prototype); - if (!noClick) button.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.button); - else { - button.classList.add('noclick'); - const intro = button.querySelector('.intro'); - if (intro) intro.remove(); - } - return button; - } - exclude() { - if (_status.event.excludeButton == undefined) { - _status.event.excludeButton = []; - } - _status.event.excludeButton.add(this); - } - get updateTransform() { - return lib.element.Card.prototype.updateTransform; - } - }, - GameEvent: class { - /** @type { GameEventPromise } */ - #promise; - /** - * @param {string} [name] - * @param {false} [trigger] - */ - constructor(name, trigger) { - if (typeof name == 'string') { - this.name = name; - const gameEvent = get.event(); - if (gameEvent) { - const type = `onNext${name[0].toUpperCase()}${name.slice(1)}`; - if (gameEvent.hasHandler(type)) this.pushHandler(...gameEvent.getHandler(type)); - } - game.globalEventHandlers.addHandlerToEvent(this); - } - this.step = 0; - this.finished = false; - /** - * @type {(GameEventPromise)[]} - */ - this.next = []; - /** - * @type {(GameEventPromise)[]} - */ - this.after = []; - this.custom = { - add: {}, - replace: {} - }; - this._aiexclude = []; - this._notrigger = []; - this._result = {}; - this._set = []; - /** - * @type {boolean} 这个事件是否使用异步函数处理 - **/ - this.async = false; - /** - * @type {null|(event: GameEvent)=>any} 这个异步事件对应Promise的resolve函数 - **/ - this.resolve = null; - if (trigger !== false && !game.online) this._triggered = 0; - } - static initialGameEvent() { - return new lib.element.GameEvent().finish().toPromise(); - } - /** - * @param {keyof this} key - * @param {number} [value] - * @param {number} [baseValue] - */ - addNumber(key, value, baseValue) { - if (typeof value != 'number') value = 0; - if (typeof this[key] == 'number') this[key] += value; - else { - if (typeof baseValue != 'number') baseValue = 0; - this[key] = baseValue + value; - } - return this; - } - /** - * @param {keyof this} key - * @param {number} [baseValue] - */ - decrease(key, baseValue) { - if (typeof this[key] == 'number') this[key]--; - else this.subtractNumber(key, 1, baseValue); - return this; - } - /** - * @param {keyof this} key - * @param {number} [baseValue] - */ - increase(key, baseValue) { - if (typeof this[key] == 'number') this[key]++; - else this.addNumber(key, 1, baseValue); - return this; - } - /** - * @param {keyof this} key - * @param {number} [value] - * @param {number} [baseValue] - */ - subtractNumber(key, value, baseValue) { - if (typeof value != 'number') value = 0; - if (typeof this[key] == 'number') this[key] -= value; - else { - if (typeof baseValue != 'number') baseValue = 0; - this[key] = baseValue - value; - } - return this; - } - /** - * @param {Parameters[0]} type - * @param {GameEvent} event - * @param {{ - * state?: 'begin' | 'end'; - * }} option - * @returns {this} - */ - callHandler(type, event, option) { - if (this.hasHandler(type)) this.getHandler(type).forEach(handler => { - if (typeof handler == 'function') handler(event, option); - }); - return this; - } - getDefaultHandlerType() { - const eventName = this.name; - if (eventName) return `on${eventName[0].toUpperCase()}${eventName.slice(1)}`; - } - /** - * @param {Parameters[0]} [type] - * @returns {((event: GameEvent, option: { - * state?: 'begin' | 'end'; - * }) => void)[]} - */ - getHandler(type) { - if (!type) type = this.getDefaultHandlerType(); - const currentHandler = this[type]; - if (!currentHandler) this[type] = []; - else if (!Array.isArray(currentHandler)) this[type] = [currentHandler]; - return this[type]; - } - /** - * @param {`on${Capitalize}`} [type] - */ - hasHandler(type) { - if (!type) type = this.getDefaultHandlerType(); - return Boolean(this[type] && this.getHandler(type).length); - } - /** - * @overload - * @param {...((event: GameEvent, option: { - * state?: 'begin' | 'end'; - * }) => void)[]} handlers - * @returns {number} - */ - /** - * @overload - * @param {Parameters[0]} type - * @param {...((event: GameEvent, option: { - * state?: 'begin' | 'end'; - * }) => void)[]} handlers - * @returns {number} - */ - pushHandler(type) { - return typeof type == 'string' ? this.getHandler(type).push(...Array.from(arguments).slice(1)) : this.getHandler().push(...arguments); - } - changeToZero() { - this.num = 0; - this.numFixed = true; - return this; - } - finish() { - this.finished = true; - return this; - } - putStepCache(key, value) { - if (!this._stepCache) { - this._stepCache = {}; - } - this._stepCache[key] = value; - return this; - } - getStepCache(key) { - if (!this._stepCache) return undefined; - return this._stepCache[key]; - } - clearStepCache(key) { - if (key !== undefined && key !== null) { - delete this._stepCache[key]; - } - delete this._stepCache; - return this; - } - callFuncUseStepCache(prefix, func, params) { - if (typeof func != 'function') return; - if (_status.closeStepCache) return func.apply(null, params); - var cacheKey = "[" + prefix + "]" + get.paramToCacheKey.apply(null, params); - var ret = this.getStepCache(cacheKey); - if (ret === undefined || ret === null) { - ret = func.apply(null, params); - this.putStepCache(cacheKey, ret); - } - return ret; - } - putTempCache(key1, key2, value) { - if (!this._tempCache) { - this._tempCache = {}; - } - if (!this._tempCache[key1]) { - this._tempCache[key1] = {}; - } - this._tempCache[key1][key2] = value; - return value; - } - getTempCache(key1, key2) { - if (!this._tempCache) { - return undefined; - } - if (!this._tempCache[key1]) { - return undefined; - } - return this._tempCache[key1][key2]; - } - cancel(arg1, arg2, notrigger) { - this.untrigger(arg1, arg2); - this.finish(); - if (notrigger != 'notrigger') { - this.trigger(this.name + 'Cancelled'); - if (this.player && lib.phaseName.contains(this.name)) this.player.getHistory('skipped').add(this.name); - } - return this; - } - neutralize(event) { - this.untrigger(); - this.finish(); - this._neutralized = true; - this.trigger('eventNeutralized'); - this._neutralize_event = event || _status.event; - return this; - } - unneutralize() { - this.untrigger(); - delete this._neutralized; - delete this.finished; - if (this.type == 'card' && this.card && this.name == 'sha') this.directHit = true; - return this; - } - goto(step) { - this.step = step - 1; - return this; - } - redo() { - this.step--; - return this; - } - setHiddenSkill(skill) { - if (!this.player) return this; - var hidden = this.player.hiddenSkills.slice(0); - game.expandSkills(hidden); - if (hidden.contains(skill)) this.set('hsskill', skill); - return this; - } - set(key, value) { - if (arguments.length == 1 && Array.isArray(arguments[0])) { - for (var i = 0; i < arguments[0].length; i++) { - if (Array.isArray(arguments[0][i])) { - this.set(arguments[0][i][0], arguments[0][i][1]); - } - } - } - else { - if (typeof key != 'string') { - console.log('warning: using non-string object as event key'); - console.log(key, value); - console.log(_status.event); - } - this[key] = value; - this._set.push([key, value]); - } - return this; - } - /** - * @param {ArrayLike | Function | keyof typeof lib.element.content} item - */ - setContent(item) { - switch (typeof item) { - case "object": - case "function": - if (item instanceof AsyncFunction) { - this.content = item; - } - else this.content = lib.init.parsex(item); - break; - default: - try { - if (!(lib.element.content[item] instanceof AsyncFunction) && !lib.element.content[item]._parsed) { - lib.element.content[item] = lib.init.parsex(lib.element.content[item]); - lib.element.content[item]._parsed = true; - } - } - catch { - throw new Error(`Content ${item} may not exist.\nlib.element.content[${item}] = ${lib.element.content[item]}`); - } - this.content = lib.element.content[item]; - break; - } - return this; - } - - /** - * - * @param {import("../util/index.js").AsyncFunction[] | keyof typeof lib.element.contents} contents - * @returns {GameEvent} - */ - setContents(contents) { - if (Array.isArray(contents)) this.contents = contents; - else if (contents in lib.element.contents) return this.setContents(lib.element.contents[contents]); - else throw new Error('not supported value.'); - return this; - } - - getLogv() { - for (var i = 1; i <= 3; i++) { - var event = this.getParent(i); - if (event && event.logvid) return event.logvid; - } - return null; - } - send() { - this.player.send(function (name, args, set, event, skills) { - game.me.applySkills(skills); - var next = game.me[name].apply(game.me, args); - for (var i = 0; i < set.length; i++) { - next.set(set[i][0], set[i][1]); - } - if (next._backupevent) { - next.backup(next._backupevent); - } - next._modparent = event; - game.resume(); - }, this.name, this._args || [], this._set, - get.stringifiedResult(this.parent), get.skillState(this.player)); - this.player.wait(); - game.pause(); - return this; - } - resume() { - delete this._cardChoice; - delete this._targetChoice; - delete this._skillChoice; - return this; - } - /** - * 获取事件的父节点。 - * 获取事件链上的指定事件。 - * 默认获取上一个父节点(核心)。 - * @param {number|string|(evt:gameEvent)=>boolean} [level=1] 获取深度(number)/指定名字(string)/指定特征(function) - * @param {boolean} [forced] 若获取不到节点,默认返回{},若forced为true则返回null - * @param {boolean} [includeSelf] 若level不是数字,指定搜索时是否包含事件本身 - * @returns {GameEvent|{}|null} - */ - getParent(level = 1, forced, includeSelf) { - let event = this; - const toreturn = forced ? null : {}; - if (!includeSelf || typeof level === 'number') { - if (event._modparent && game.online) event = event._modparent; - else event = this.parent; - } - if (typeof level === 'number') { - for (let i = 1; i < level; i++) { - if (!event) return toreturn; - event = event.parent; - } - return event; - } - const historys = []; - const filter = typeof level === 'function' ? level : evt => evt.name === level; - while (true) { - if (!event) return toreturn; - historys.push(event); - if (filter(event)) return event; - event = event.parent; - if (historys.includes(event)) return toreturn; - } - } - getTrigger() { - return this.getParent('arrangeTrigger')._trigger; - } - getRand(name) { - if (name) { - if (!this._rand_map) this._rand_map = {}; - if (!this._rand_map[name]) this._rand_map[name] = Math.random(); - return this._rand_map[name]; - } - if (!this._rand) this._rand = Math.random(); - return this._rand; - } - insert(content, map) { - const next = (new lib.element.GameEvent(`${this.name}Inserted`, false)).toPromise(); - this.next.push(next); - next.setContent(content); - Object.entries(map).forEach(entry => next.set(entry[0], entry[1])); - return next; - } - insertAfter(content, map) { - const next = (new lib.element.GameEvent(`${this.name}Inserted`, false)).toPromise(); - this.after.push(next); - next.setContent(content); - Object.entries(map).forEach(entry => next.set(entry[0], entry[1])); - return next; - } - backup(skill) { - this._backup = { - filterButton: this.filterButton, - selectButton: this.selectButton, - filterTarget: this.filterTarget, - selectTarget: this.selectTarget, - filterCard: this.filterCard, - selectCard: this.selectCard, - position: this.position, - forced: this.forced, - fakeforce: this.fakeforce, - _aiexclude: this._aiexclude, - complexSelect: this.complexSelect, - complexCard: this.complexCard, - complexTarget: this.complexTarget, - _cardChoice: this._cardChoice, - _targetChoice: this._targetChoice, - _skillChoice: this._skillChoice, - ai1: this.ai1, - ai2: this.ai2, - filterOk: this.filterOk, - }; - if (skill) { - var info = get.info(skill); - this.skill = skill; - this._aiexclude = []; - if (typeof info.viewAs == 'function') { - if (info.filterButton != undefined) this.filterButton = get.filter(info.filterButton); - if (info.selectButton != undefined) this.selectButton = info.selectButton; - if (info.filterTarget != undefined) this.filterTarget = get.filter(info.filterTarget); - if (info.selectTarget != undefined) this.selectTarget = info.selectTarget; - if (info.filterCard != undefined) { - if (info.ignoreMod) this.ignoreMod = true; - this.filterCard2 = get.filter(info.filterCard); - this.filterCard = function (card, player, event) { - var evt = event || _status.event; - if (!evt.ignoreMod && player) { - var mod = game.checkMod(card, player, 'unchanged', 'cardEnabled2', player); - if (mod != 'unchanged') return mod; - } - return get.filter(evt.filterCard2).apply(this, arguments); - }; - } - if (info.filterOk == undefined) { - this.filterOk = function () { - var evt = _status.event; - var card = get.card(), player = get.player(); - var filter = evt._backup.filterCard; - if (filter && !filter(card, player, evt)) return false; - if (evt._backup.filterOk) return evt._backup.filterOk(); - return true; - }; - } - else this.filterOk = info.filterOk; - if (info.selectCard != undefined) this.selectCard = info.selectCard; - if (info.position != undefined) this.position = info.position; - //if(info.forced!=undefined) this.forced=info.forced; - if (info.complexSelect != undefined) this.complexSelect = info.complexSelect; - if (info.complexCard != undefined) this.complexCard = info.complexCard; - if (info.complexTarget != undefined) this.complexTarget = info.complexTarget; - if (info.ai1 != undefined) this.ai1 = info.ai1; - if (info.ai2 != undefined) this.ai2 = info.ai2; - } - else if (info.viewAs) { - if (info.filterButton != undefined) this.filterButton = get.filter(info.filterButton); - if (info.selectButton != undefined) this.selectButton = info.selectButton; - if (info.filterTarget != undefined) this.filterTarget = get.filter(info.filterTarget); - if (info.selectTarget != undefined) this.selectTarget = info.selectTarget; - if (info.filterCard != undefined) { - if (info.ignoreMod) this.ignoreMod = true; - this.filterCard2 = get.filter(info.filterCard); - this.filterCard = function (card, player, event) { - var evt = event || _status.event; - if (!evt.ignoreMod && player) { - var mod = game.checkMod(card, player, 'unchanged', 'cardEnabled2', player); - if (mod != 'unchanged') return mod; - } - return get.filter(evt.filterCard2).apply(this, arguments); - }; - } - if (info.filterOk == undefined) { - this.filterOk = function () { - var evt = _status.event; - var card = get.card(), player = get.player(); - var filter = evt._backup.filterCard; - if (filter && !filter(card, player, evt)) return false; - if (evt._backup.filterOk) return evt._backup.filterOk(); - return true; - }; - } - else this.filterOk = info.filterOk; - if (info.selectCard != undefined) this.selectCard = info.selectCard; - if (info.position != undefined) this.position = info.position; - //if(info.forced!=undefined) this.forced=info.forced; - if (info.complexSelect != undefined) this.complexSelect = info.complexSelect; - if (info.complexCard != undefined) this.complexCard = info.complexCard; - if (info.complexTarget != undefined) this.complexTarget = info.complexTarget; - if (info.ai1 != undefined) this.ai1 = info.ai1; - if (info.ai2 != undefined) this.ai2 = info.ai2; - } - else { - this.filterButton = info.filterButton ? get.filter(info.filterButton) : undefined; - this.selectButton = info.selectButton; - this.filterTarget = info.filterTarget ? get.filter(info.filterTarget) : undefined; - this.selectTarget = info.selectTarget; - this.filterCard = info.filterCard ? get.filter(info.filterCard) : undefined; - this.selectCard = info.selectCard; - this.position = info.position; - //this.forced=info.forced; - this.complexSelect = info.complexSelect; - this.complexCard = info.complexCard; - this.complexTarget = info.complexTarget; - if (info.ai1 != undefined) this.ai1 = info.ai1; - if (info.ai2 != undefined) this.ai2 = info.ai2; - this.filterOk = info.filterOk; - } - delete this.fakeforce; - } - delete this._cardChoice; - delete this._targetChoice; - delete this._skillChoice; - return this; - } - restore() { - if (this._backup) { - this.filterButton = this._backup.filterButton; - this.selectButton = this._backup.selectButton; - this.filterTarget = this._backup.filterTarget; - this.selectTarget = this._backup.selectTarget; - this.filterCard = this._backup.filterCard; - this.selectCard = this._backup.selectCard; - this.position = this._backup.position; - this.forced = this._backup.forced; - this.fakeforce = this._backup.fakeforce; - this._aiexclude = this._backup._aiexclude; - this.complexSelect = this._backup.complexSelect; - this.complexCard = this._backup.complexCard; - this.complexTarget = this._backup.complexTarget; - this.ai1 = this._backup.ai1; - this.ai2 = this._backup.ai2; - this._cardChoice = this._backup._cardChoice; - this._targetChoice = this._backup._targetChoice; - this._skillChoice = this._backup._skillChoice; - this.filterOk = this._backup.filterOk; - } - delete this.skill; - delete this.ignoreMod; - delete this.filterCard2; - return this; - } - isMine() { - return (this.player && this.player == game.me && !_status.auto && !this.player.isMad() && !game.notMe); - } - isOnline() { - return (this.player && this.player.isOnline()); - } - notLink() { - return this.getParent().name != '_lianhuan' && this.getParent().name != '_lianhuan2'; - } - isPhaseUsing(player) { - var evt = this.getParent('phaseUse'); - if (!evt || evt.name != 'phaseUse') return false; - return !player || player == evt.player; - } - addTrigger(skills, player) { - if (!player || !skills) return this; - let evt = this; - if (typeof skills == 'string') skills = [skills]; - game.expandSkills(skills); - while (true) { - evt = evt.getParent('arrangeTrigger'); - if (!evt || evt.name != 'arrangeTrigger' || !evt.doingList) return this; - const doing = evt.doingList.find(i => i.player === player); - const firstDo = evt.doingList.find(i => i.player === "firstDo"); - const lastDo = evt.doingList.find(i => i.player === "lastDo"); - - skills.forEach(skill => { - const info = lib.skill[skill]; - if (!info.trigger) return; - if (!Object.keys(info.trigger).some(i => { - if (Array.isArray(info.trigger[i])) return info.trigger[i].includes(evt.triggername); - return info.trigger[i] === evt.triggername; - })) return; - - const toadd = { - skill: skill, - player: player, - priority: get.priority(skill), - }; - const map = info.firstDo ? firstDo : info.lastDo ? lastDo : doing; - if (!map) return; - if (map.doneList.some(i => i.skill === toadd.skill && i.player === toadd.player)) return; - if (map.todoList.some(i => i.skill === toadd.skill && i.player === toadd.player)) return; - map.todoList.add(toadd); - if (typeof map.player === 'string') map.todoList.sort((a, b) => (b.priority - a.priority) || (evt.playerMap.indexOf(a) - evt.playerMap.indexOf(b))); - else map.todoList.sort((a, b) => b.priority - a.priority); - }); - } - } - removeTrigger(skills, player) { - if (!player || !skills) return this; - let evt = this; - if (typeof skills == 'string') skills = [skills]; - game.expandSkills(skills); - while (true) { - evt = evt.getParent('arrangeTrigger'); - if (!evt || evt.name != 'arrangeTrigger' || !evt.doingList) return this; - const doing = evt.doingList.find(i => i.player == player); - const firstDo = evt.doingList.find(i => i.player == "firstDo"); - const lastDo = evt.doingList.find(i => i.player == "lastDo"); - - skills.forEach(skill => [doing, firstDo, lastDo].forEach(map => { - if (!map) return; - const toremove = map.todoList.filter(i => i.skill == skill && i.player == player); - if (toremove.length > 0) map.todoList.removeArray(toremove); - })); - } - } - trigger(name) { - if (_status.video) return this; - if ((this.name === 'gain' || this.name === 'lose') && !_status.gameDrawed) return this; - if (name === 'gameDrawEnd') _status.gameDrawed = true; - if (name === 'gameStart') { - lib.announce.publish('gameStart', {}); - if (_status.brawl && _status.brawl.gameStart) _status.brawl.gameStart(); - if (lib.config.show_cardpile) ui.cardPileButton.style.display = ''; - _status.gameStarted = true; - game.showHistory(); - } - if (!lib.hookmap[name] && !lib.config.compatiblemode) return this; - if (!game.players || !game.players.length) return this; - const event = this; - let start = [_status.currentPhase, event.source, event.player, game.me, game.players[0]].find(i => get.itemtype(i) == 'player'); - if (!start) return this; - if (!game.players.includes(start) && !game.dead.includes(start)) start = game.findNext(start); - const firstDo = { - player: "firstDo", - todoList: [], - doneList: [], - }; - const lastDo = { - player: "lastDo", - todoList: [], - doneList: [], - }; - const doingList = []; - const roles = ['player', 'source', 'target', 'global']; - const playerMap = game.players.concat(game.dead).sortBySeat(start); - let player = start; - let allbool = false; - do { - const doing = { - player: player, - todoList: [], - doneList: [], - listAdded: {}, - addList(skill) { - if (!skill) return; - if (Array.isArray(skill)) return skill.forEach(i => this.addList(i)); - if (this.listAdded[skill]) return; - this.listAdded[skill] = true; - - const info = lib.skill[skill]; - const list = info.firstDo ? firstDo.todoList : info.lastDo ? lastDo.todoList : this.todoList; - list.push({ - skill: skill, - player: this.player, - priority: get.priority(skill), - }); - if (typeof list.player == 'string') list.sort((a, b) => (b.priority - a.priority) || (playerMap.indexOf(a) - playerMap.indexOf(b))); - else list.sort((a, b) => b.priority - a.priority); - allbool = true; - } - }; - - const notemp = player.skills.slice(); - for (const j in player.additionalSkills) { - if (!j.startsWith('hidden:')) notemp.addArray(player.additionalSkills[j]); - } - Object.keys(player.tempSkills).filter(skill => { - if (notemp.includes(skill)) return false; - const expire = player.tempSkills[skill]; - if (typeof expire === 'function') return expire(event, player, name); - if (get.objtype(expire) === 'object') return roles.some(role => { - if (role !== 'global' && player !== event[role]) return false; - if (Array.isArray(expire[role])) return expire[role].includes(name); - return expire[role] === name; - }); - }).forEach(skill => { - delete player.tempSkills[skill]; - player.removeSkill(skill); - }); - - if (lib.config.compatiblemode) { - doing.addList(game.expandSkills(player.getSkills('invisible').concat(lib.skill.global)).filter(skill => { - const info = get.info(skill); - if (!info || !info.trigger) return false; - return roles.some(role => { - if (info.trigger[role] === name) return true; - if (Array.isArray(info.trigger[role]) && info.trigger[role].includes(name)) return true; - }); - })); - } - else roles.forEach(role => { - doing.addList(lib.hook.globalskill[role + '_' + name]); - doing.addList(lib.hook[player.playerid + '_' + role + '_' + name]); - }); - delete doing.listAdded; - delete doing.addList; - doingList.push(doing); - player = player.nextSeat; - } while (player && player !== start); - doingList.unshift(firstDo); - doingList.push(lastDo); - // console.log(name,event.player,doingList.map(i=>({player:i.player,todoList:i.todoList.slice(),doneList:i.doneList.slice()}))) - - if (allbool) { - const next = game.createEvent('arrangeTrigger', false, event); - next.setContent('arrangeTrigger'); - next.doingList = doingList; - next._trigger = event; - next.triggername = name; - next.playerMap = playerMap; - event._triggering = next; - } - return this; - } - untrigger(all = true, player) { - const evt = this._triggering; - if (all) { - this._triggered = 5; - if (evt && evt.doingList) { - evt.doingList.forEach(doing => doing.todoList = []); - } - } - else if (player) { - this._notrigger.add(player); - // if(!evt||!evt.doingList) return this; - // const doing=evt.doingList.find(doing=>doing.player==player); - // if(doing) doing.todoList=[]; - } - return this; - } - /** - * @returns {never} - */ - typeAnnotation() { - /** - * @type {Player} - */ - this.source; - /** - * @type {Player} - */ - this.player; - /** - * @type {Player} - */ - this.target; - /** - * @type {Player[]} - */ - this.targets; - /** - * @type {Card} - */ - this.card; - /** - * @type {Card[]} - */ - this.cards; - /** - * @type {string} - */ - this.skill; - /** - * @type {boolean} - */ - this.forced; - /** - * @type {number} - */ - this.num; - /** - * @type {GameEvent} - */ - this._trigger; - /** - * @type {Record} - */ - this._result; - /** - * @type {number} - */ - this.baseDamage; - /** - * @type {Player} - */ - this.customSource; - /** - * @type {number} - */ - this.extraDamage; - /** - * @type {string} - */ - this.nature; - /** - * @type {boolean} - */ - this.notrigger; - /** - * @type {number} - */ - this.original_num; - /** - * @type {boolean} - */ - this.unreal; - throw new Error('Do not call this method'); - } - /** - * 事件转为Promise化 - * - * @returns { GameEventPromise } - */ - toPromise() { - if (!this.#promise) { - this.#promise = new lib.element.GameEventPromise(this); - } - return this.#promise; - } - }, - /** - * 将事件Promise化以使用async异步函数来执行事件。 - * - * 事件Promise化后,需要既能使用await等待事件完成, - * 又需要在执行之前对事件进行配置。 - * - * 所以这个类的实例集成了事件和Promise二者的所有属性, - * 且Promise的原有属性无法被修改,一切对这个类实例的属性修改,删除, - * 再配置等操作都会转发到事件对应的属性中。 - * - * @todo 需要完成异步事件的debugger方法 - * - * @example - * 使用await xx()等待异步事件执行: - * ```js - * await game.xxx().setContent('yyy').set(zzz, 'i'); - * ``` - * 使用await player.xxx()等待异步事件执行: - * ```js - * await player.draw(2); - * game.log('等待', player, '摸牌完成执行log'); - * ``` - */ - GameEventPromise: class extends Promise { - // 我谢谢你,这里是必须有的 - // 否则Promise的方法对其子类无效 - static get [Symbol.species]() { - return Promise; - } - #event; - /** - * @param { GameEvent } event - * @returns { Promise & GameEvent } - */ - constructor(event) { - super(resolve => { - // 设置为异步事件 - event.async = true; - // 事件结束后触发resolve - event.resolve = resolve; - if (!_status.event) return; - // game.createEvent的时候还没立即push到next里 - Promise.resolve().then(() => { - game.executingAsyncEventMap.set(_status.event.toEvent(), (game.executingAsyncEventMap.get(_status.event.toEvent()) || Promise.resolve()).then(() => { - let eventPromise = _status.event.next.find(e => e.toEvent() == event); - // 如果父级事件也是一个异步的话,那应该立即执行这个事件的 - // 如果在AsyncFunction执行过程中在别的位置新建了一个异步事件,那也直接(等会set配置完)执行 - if (eventPromise && (_status.event.content instanceof AsyncFunction || Array.isArray(_status.event.contents))) { - // 异步执行game.loop - // 不直接game.loop(event)是因为需要让别人可以手动set()和setContent() - // 再执行game.loop是因为原有的game.loop被await卡住了, - // 得新执行一个只执行这个异步事件的game.loop - - // 事件自行处理skip情况 - if (event.player && event.player.skipList.includes(event.name)) { - _status.event.trigger(event.name + 'Skipped'); - event.player.skipList.remove(event.name); - if (lib.phaseName.includes(event.name)) event.player.getHistory('skipped').add(event.name); - _status.event.next.remove(eventPromise); - event.finish(); - resolve(); - return eventPromise; - } - - if (_status.event != eventPromise) { - eventPromise.parent = _status.event; - _status.event = eventPromise; - game.getGlobalHistory('everything').push(eventPromise); - } - return game.loop(eventPromise).then(() => { - // 有时候event.finished还是false - return eventPromise; - }); - } - })); - }); - }); - this.#event = event; - return new Proxy(this, { - get(target, prop, receiver) { - const thisValue = Reflect.get(target, prop); - if (thisValue) { - if (typeof thisValue == 'function') { - return thisValue.bind(target); - } - return thisValue; - } - const eventValue = Reflect.get(event, prop); - return eventValue == event ? receiver : eventValue; - }, - set(target, prop, newValue) { - return Reflect.set(event, prop, newValue); - }, - deleteProperty(target, prop) { - return Reflect.deleteProperty(event, prop); - }, - defineProperty(target, prop, attributes) { - return Reflect.defineProperty(event, prop, attributes); - }, - has(target, prop) { - return Reflect.has(event, prop); - }, - ownKeys(target) { - return Reflect.ownKeys(event); - }, - getOwnPropertyDescriptor(target, prop) { - return Reflect.getOwnPropertyDescriptor(event, prop); - }, - }); - } - /** 获取原事件对象 */ - toEvent() { - return this.#event; - } - /** - * 在某个异步事件中调试变量信息 - * - * 注: 在调试步骤中`定义的变量只在当前输入的语句有效` - * - * @example - * 在技能中调试技能content相关的信息 - * ```js - * await event.debugger(); - * ``` - * 在技能中调试触发此技能事件的相关的信息 - * ```js - * await trigger.debugger(); - * ``` - */ - async debugger() { - return new Promise(resolve => { - const runCode = function (event, code) { - try { - // 为了使玩家调试时使用var player=xxx时不报错,故使用var - var { player, _trigger: trigger, _result: result } = event; - return eval(code); - } catch (error) { - return error; - } - }.bind(window); - const inputCallback = inputResult => { - if (inputResult === false) { - resolve(null); - } else { - const obj = runCode(this.toEvent(), inputResult); - alert((!obj || obj instanceof Error) ? String(obj) : get.stringify(obj)); - game.promises.prompt('debugger调试').then(inputCallback); - } - }; - game.promises.prompt('debugger调试').then(inputCallback); - }); - } - }, - Dialog: class extends HTMLDivElement { - constructor() { - let hidden = false; - let noTouchScroll = false; - let forceButton = false; - let noForceButton = false; - /** @type {this} */ - const dialog = ui.create.div('.dialog'); - Object.setPrototypeOf(dialog, lib.element.Dialog.prototype); - dialog.contentContainer = ui.create.div('.content-container', dialog); - dialog.content = ui.create.div('.content', dialog.contentContainer); - dialog.bar1 = ui.create.div('.bar.top', dialog); - dialog.bar2 = ui.create.div('.bar.bottom', dialog); - dialog.buttons = []; - Array.from(arguments).forEach(argument => { - if (typeof argument == 'boolean') dialog.static = argument; - else if (argument == 'hidden') hidden = true; - else if (argument == 'notouchscroll') noTouchScroll = true; - else if (argument == 'forcebutton') forceButton = true; - else if (argument == 'noforcebutton') noForceButton = true; - else dialog.add(argument); - }); - if (!hidden) dialog.open(); - if (!lib.config.touchscreen) dialog.contentContainer.onscroll = ui.update; - if (!noTouchScroll) { - dialog.contentContainer.ontouchstart = ui.click.dialogtouchStart; - dialog.contentContainer.ontouchmove = ui.click.touchScroll; - dialog.contentContainer.style.webkitOverflowScrolling = 'touch'; - dialog.ontouchstart = ui.click.dragtouchdialog; - } - if (noForceButton) dialog.noforcebutton = true; - else if (forceButton) { - dialog.forcebutton = true; - dialog.classList.add('forcebutton'); - } - return dialog; - } - add(item, noclick, zoom) { - if (typeof item == 'string') { - if (item.startsWith('###')) { - var items = item.slice(3).split('###'); - this.add(items[0], noclick, zoom); - this.addText(items[1], items[1].length <= 20, zoom); - } - else if (noclick) { - var strstr = item; - item = ui.create.div('', this.content); - item.innerHTML = strstr; - } - else { - item = ui.create.caption(item, this.content); - } - } - else if (['div', 'fragment'].includes(get.objtype(item))) { - this.content.appendChild(item); - } - else if (get.itemtype(item) == 'cards') { - var buttons = ui.create.div('.buttons', this.content); - if (zoom) buttons.classList.add('smallzoom'); - this.buttons = this.buttons.concat(ui.create.buttons(item, 'card', buttons, noclick)); - } - else if (get.itemtype(item) == 'players') { - var buttons = ui.create.div('.buttons', this.content); - if (zoom) buttons.classList.add('smallzoom'); - this.buttons = this.buttons.concat(ui.create.buttons(item, 'player', buttons, noclick)); - } - else if (item[1] == 'textbutton') { - ui.create.textbuttons(item[0], this, noclick); - } - else { - var buttons = ui.create.div('.buttons', this.content); - if (zoom) buttons.classList.add('smallzoom'); - this.buttons = this.buttons.concat(ui.create.buttons(item[0], item[1], buttons, noclick)); - } - if (this.buttons.length) { - if (this.forcebutton !== false) this.forcebutton = true; - if (this.buttons.length > 3 || (zoom && this.buttons.length > 5)) { - this.classList.remove('forcebutton-auto'); - } - else if (!this.noforcebutton) { - this.classList.add('forcebutton-auto'); - } - } - ui.update(); - return item; - } - addText(str, center) { - if (str && str.startsWith('' + str + ''); - } - else { - this.add('
    ' + str + '
    '); - } - return this; - } - addSmall(item, noclick) { - return this.add(item, noclick, true); - } - addAuto(content) { - if (content && content.length > 4 && !this._hovercustomed) { - this.addSmall(content); - } - else { - this.add(content); - } - } - open() { - if (this.noopen) return; - for (var i = 0; i < ui.dialogs.length; i++) { - if (ui.dialogs[i] == this) { - this.show(); - this.refocus(); - ui.dialogs.remove(this); - ui.dialogs.unshift(this); - ui.update(); - return this; - } - if (ui.dialogs[i].static) ui.dialogs[i].unfocus(); - else ui.dialogs[i].hide(); - } - ui.dialog = this; - var translate; - if (lib.config.remember_dialog && lib.config.dialog_transform && !this.classList.contains('fixed')) { - translate = lib.config.dialog_transform; - this._dragtransform = translate; - this.style.transform = 'translate(' + translate[0] + 'px,' + translate[1] + 'px) scale(0.8)'; - } - else { - this.style.transform = 'scale(0.8)'; - } - this.style.transitionProperty = 'opacity,transform'; - this.style.opacity = 0; - ui.arena.appendChild(this); - ui.dialogs.unshift(this); - ui.update(); - ui.refresh(this); - if (lib.config.remember_dialog && lib.config.dialog_transform && !this.classList.contains('fixed')) { - this.style.transform = 'translate(' + translate[0] + 'px,' + translate[1] + 'px) scale(1)'; - } - else { - this.style.transform = 'scale(1)'; - } - this.style.opacity = 1; - var that = this; - setTimeout(function () { - that.style.transitionProperty = ''; - }, 500); - return this; - } - close() { - ui.dialogs.remove(this); - this.delete(); - if (ui.dialogs.length > 0) { - ui.dialog = ui.dialogs[0]; - ui.dialog.show(); - ui.dialog.refocus(); - ui.update(); - } - // if(ui.arenalog){ - // ui.arenalog.classList.remove('withdialog'); - // } - return this; - } - setCaption(str) { - this.querySelector('.caption').innerHTML = str; - return this; - } - }, - Control: class extends HTMLDivElement { - constructor() { - const nc = !ui.control.querySelector('div:not(.removing):not(.stayleft)'); - const controls = Array.isArray(arguments[0]) ? arguments[0] : Array.from(arguments); - const control = ui.create.div('.control'); - Object.setPrototypeOf(control, lib.element.Control.prototype); - ui.control.insertBefore(control, _status.createControl || ui.confirm); - controls.forEach(argument => { - if (argument == 'nozoom') return; - if (typeof argument == 'function') control.custom = argument; - else if (argument == 'stayleft') { - control.stayleft = true; - control.classList.add('stayleft'); - } - else control.add(argument); - }); - ui.controls.unshift(control); - if (nc) ui.control.animate('nozoom', 100); - if (control.childNodes.length) { - control.style.transition = 'opacity 0.5s'; - control.animate('controlpressdownx', 500); - ui.refresh(control); - if (!control.stayleft) control.style.transform = `translateX(-${control.offsetWidth / 2}px)`; - control.style.opacity = 1; - ui.refresh(control); - control.style.transition = ''; - } - - control.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.control2); - - if (lib.config.button_press) { - control.addEventListener(lib.config.touchscreen ? 'touchstart' : 'mousedown', function () { - if (this.classList.contains('disabled')) return; - this.classList.add('controlpressdown'); - if (typeof this._offset == 'number') this.style.transform = `translateX(${this._offset}px) scale(0.97)`; - }); - control.addEventListener(lib.config.touchscreen ? 'touchend' : 'mouseup', function () { - this.classList.remove('controlpressdown'); - if (typeof this._offset == 'number') this.style.transform = `translateX(${this._offset}px)`; - }); - } - - ui.updatec(); - return control; - } - open() { - ui.control.insertBefore(this, _status.createControl || ui.confirm); - ui.controls.unshift(this); - if (this.childNodes.length) { - this.style.transition = 'opacity 0.5s'; - ui.refresh(this); - this.style.transform = 'translateX(-' + (this.offsetWidth / 2) + 'px)'; - this.style.opacity = 1; - ui.refresh(this); - this.style.transition = ''; - } - else { - this.animate('controlpressdownx', 500); - } - ui.updatec(); - return this; - } - add(item) { - var node = document.createElement('div'); - this.appendChild(node); - node.link = item; - node.innerHTML = get.translation(item); - node.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.control); - } - close() { - this.animate('controlpressdownx', 500); - - ui.controls.remove(this); - this.delete(); - - setTimeout(ui.updatec, 100); - - - if (ui.confirm == this) delete ui.confirm; - if (ui.skills == this) delete ui.skills; - if (ui.skills2 == this) delete ui.skills2; - if (ui.skills3 == this) delete ui.skills3; - } - replace() { - // this.animate('controlpressdownx',500); - if (this.replaceTransition === false) { - this.style.transitionProperty = 'none'; - ui.refresh(this); - } - - while (this.childNodes.length) this.firstChild.remove(); - var i, controls; - if (Array.isArray(arguments[0])) controls = arguments[0]; - else controls = arguments; - delete this.custom; - for (i = 0; i < controls.length; i++) { - if (typeof controls[i] == 'function') { - this.custom = controls[i]; - } - else { - this.add(controls[i]); - } - } - if (this.childNodes.length) { - var width = 0; - for (i = 0; i < this.childNodes.length; i++) width += this.childNodes[i].offsetWidth; - ui.refresh(this); - this.style.width = width + 'px'; - } - ui.updatec(); - if (this.replaceTransition === false) { - var that = this; - setTimeout(function () { - that.style.transitionProperty = ''; - }, 200); - } - return this; - } - }, - Client: class { - /** - * @param {NodeWS | InstanceType} ws - */ - constructor(ws) { - this.ws = ws; - this.id = ws.wsid || get.id(); - this.closed = false; - } - send() { - if (this.closed) return this; - var args = Array.from(arguments); - if (typeof args[0] == 'function') { - args.unshift('exec'); - } - for (var i = 1; i < args.length; i++) { - args[i] = get.stringifiedResult(args[i]); - } - try { - this.ws.send(JSON.stringify(args)); - } - catch (e) { - this.ws.close(); - } - return this; - } - close() { - lib.node.clients.remove(this); - lib.node.observing.remove(this); - if (ui.removeObserve && !lib.node.observing.length) { - ui.removeObserve.remove(); - delete ui.removeObserve; - } - this.closed = true; - if (_status.waitingForPlayer) { - for (var i = 0; i < game.connectPlayers.length; i++) { - if (game.connectPlayers[i].playerid == this.id) { - game.connectPlayers[i].uninitOL(); - delete game.connectPlayers[i].playerid; - } - } - if (game.onlinezhu == this.id) { - game.onlinezhu = null; - } - game.updateWaiting(); - } - else if (lib.playerOL[this.id]) { - var player = lib.playerOL[this.id]; - player.setNickname(player.nickname + ' - 离线'); - game.broadcast(function (player) { - player.setNickname(player.nickname + ' - 离线'); - }, player); - player.unwait('ai'); - } - - if (window.isNonameServer) { - document.querySelector('#server_count').innerHTML = lib.node.clients.length; - } - return this; - } - }, - NodeWS: class { - /** - * @param {string} id - */ - constructor(id) { - this.wsid = id; - } - send(message) { - game.send('server', 'send', this.wsid, message); - } - on(type, func) { - this['on' + type] = func; - } - close() { - game.send('server', 'close', this.wsid); - } - }, + content: Element.Content, + contents: Element.Contents, + Player: Element.Player, + Card: Element.Card, + VCard: Element.VCard, + Button: Element.Button, + GameEvent: Element.GameEvent, + GameEventPromise: Element.GameEventPromise, + Dialog: Element.Dialog, + Control: Element.Control, + Client: Element.Client, + NodeWS: Element.NodeWS, ws: { onopen: function () { if (_status.connectCallback) { @@ -13664,7 +11432,7 @@ export class Library extends Uninstantable { static message = { server: { init: function (version, config, banned_info) { - if (lib.node.banned.contains(banned_info)) { + if (lib.node.banned.includes(banned_info)) { this.send('denied', 'banned'); } else if (config.id && lib.playerOL && lib.playerOL[config.id]) { diff --git a/noname/util/index.js b/noname/util/index.js index 8d351134f..7d27f1050 100644 --- a/noname/util/index.js +++ b/noname/util/index.js @@ -14,8 +14,8 @@ export class Uninstantable { /** * - * @param {number} ms - * @returns {Promise} + * @param { number } ms + * @returns { Promise } */ export function delay(ms) { return new Promise((resolve) => setTimeout(resolve, ms)); From 6e2bc02a5c6c9ad9f169f6e1a09c1d0367f43235 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Thu, 28 Dec 2023 00:48:26 +0800 Subject: [PATCH 092/234] =?UTF-8?q?=E5=BC=95=E5=85=A5core.js@3.34.0?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/core-js-bundle.js | 2740 ++++++++++++++++++++++------------------ 1 file changed, 1521 insertions(+), 1219 deletions(-) diff --git a/game/core-js-bundle.js b/game/core-js-bundle.js index aa0e34730..429f57284 100644 --- a/game/core-js-bundle.js +++ b/game/core-js-bundle.js @@ -1,7 +1,7 @@ /** - * core-js 3.33.2 + * core-js 3.34.0 * © 2014-2023 Denis Pushkarev (zloirock.ru) - * license: https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE + * license: https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE * source: https://github.com/zloirock/core-js */ !function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap @@ -173,53 +173,52 @@ __webpack_require__(242); __webpack_require__(243); __webpack_require__(251); __webpack_require__(253); -__webpack_require__(254); __webpack_require__(255); __webpack_require__(256); __webpack_require__(257); +__webpack_require__(258); __webpack_require__(259); -__webpack_require__(260); __webpack_require__(261); __webpack_require__(262); __webpack_require__(263); +__webpack_require__(264); __webpack_require__(265); -__webpack_require__(266); __webpack_require__(267); __webpack_require__(268); __webpack_require__(269); __webpack_require__(270); __webpack_require__(271); __webpack_require__(272); -__webpack_require__(276); -__webpack_require__(277); +__webpack_require__(273); +__webpack_require__(274); +__webpack_require__(278); __webpack_require__(279); __webpack_require__(281); -__webpack_require__(282); __webpack_require__(283); __webpack_require__(284); __webpack_require__(285); +__webpack_require__(286); __webpack_require__(287); __webpack_require__(289); -__webpack_require__(290); __webpack_require__(291); __webpack_require__(292); +__webpack_require__(293); __webpack_require__(294); -__webpack_require__(295); +__webpack_require__(296); __webpack_require__(297); -__webpack_require__(298); __webpack_require__(299); __webpack_require__(300); +__webpack_require__(301); __webpack_require__(302); -__webpack_require__(303); __webpack_require__(304); __webpack_require__(305); __webpack_require__(306); __webpack_require__(307); __webpack_require__(308); __webpack_require__(309); +__webpack_require__(310); __webpack_require__(311); __webpack_require__(312); -__webpack_require__(313); __webpack_require__(314); __webpack_require__(315); __webpack_require__(316); @@ -228,63 +227,63 @@ __webpack_require__(318); __webpack_require__(319); __webpack_require__(320); __webpack_require__(321); +__webpack_require__(322); __webpack_require__(323); __webpack_require__(324); -__webpack_require__(325); __webpack_require__(326); -__webpack_require__(349); -__webpack_require__(350); -__webpack_require__(351); +__webpack_require__(327); +__webpack_require__(328); +__webpack_require__(329); __webpack_require__(352); __webpack_require__(353); __webpack_require__(354); __webpack_require__(355); __webpack_require__(356); +__webpack_require__(357); __webpack_require__(358); __webpack_require__(359); __webpack_require__(360); -__webpack_require__(361); __webpack_require__(362); __webpack_require__(363); __webpack_require__(364); __webpack_require__(365); __webpack_require__(366); __webpack_require__(367); -__webpack_require__(374); -__webpack_require__(375); -__webpack_require__(377); +__webpack_require__(368); +__webpack_require__(369); +__webpack_require__(370); +__webpack_require__(371); __webpack_require__(378); __webpack_require__(379); -__webpack_require__(380); __webpack_require__(381); +__webpack_require__(382); __webpack_require__(383); __webpack_require__(384); -__webpack_require__(386); -__webpack_require__(389); +__webpack_require__(385); +__webpack_require__(387); +__webpack_require__(388); __webpack_require__(390); -__webpack_require__(391); -__webpack_require__(392); __webpack_require__(393); +__webpack_require__(394); +__webpack_require__(395); +__webpack_require__(396); __webpack_require__(397); -__webpack_require__(398); -__webpack_require__(400); __webpack_require__(401); __webpack_require__(402); -__webpack_require__(403); +__webpack_require__(404); __webpack_require__(405); __webpack_require__(406); __webpack_require__(407); -__webpack_require__(408); __webpack_require__(409); __webpack_require__(410); __webpack_require__(411); +__webpack_require__(412); __webpack_require__(413); -__webpack_require__(416); -__webpack_require__(419); -__webpack_require__(422); +__webpack_require__(414); +__webpack_require__(415); +__webpack_require__(417); +__webpack_require__(420); __webpack_require__(423); -__webpack_require__(424); -__webpack_require__(425); __webpack_require__(426); __webpack_require__(427); __webpack_require__(428); @@ -294,10 +293,10 @@ __webpack_require__(431); __webpack_require__(432); __webpack_require__(433); __webpack_require__(434); -__webpack_require__(443); -__webpack_require__(444); -__webpack_require__(445); -__webpack_require__(446); +__webpack_require__(435); +__webpack_require__(436); +__webpack_require__(437); +__webpack_require__(438); __webpack_require__(447); __webpack_require__(448); __webpack_require__(449); @@ -307,10 +306,10 @@ __webpack_require__(452); __webpack_require__(453); __webpack_require__(454); __webpack_require__(455); +__webpack_require__(456); +__webpack_require__(457); __webpack_require__(458); __webpack_require__(459); -__webpack_require__(460); -__webpack_require__(461); __webpack_require__(462); __webpack_require__(463); __webpack_require__(464); @@ -335,63 +334,64 @@ __webpack_require__(482); __webpack_require__(483); __webpack_require__(484); __webpack_require__(485); +__webpack_require__(486); +__webpack_require__(487); __webpack_require__(488); -__webpack_require__(490); -__webpack_require__(491); -__webpack_require__(499); -__webpack_require__(500); -__webpack_require__(501); +__webpack_require__(489); +__webpack_require__(492); +__webpack_require__(494); +__webpack_require__(495); __webpack_require__(503); __webpack_require__(504); +__webpack_require__(505); __webpack_require__(507); __webpack_require__(508); -__webpack_require__(509); __webpack_require__(510); __webpack_require__(511); -__webpack_require__(515); +__webpack_require__(512); +__webpack_require__(513); +__webpack_require__(514); __webpack_require__(518); -__webpack_require__(523); -__webpack_require__(524); +__webpack_require__(521); __webpack_require__(526); __webpack_require__(527); -__webpack_require__(531); -__webpack_require__(532); +__webpack_require__(529); +__webpack_require__(530); __webpack_require__(534); __webpack_require__(535); -__webpack_require__(536); __webpack_require__(537); +__webpack_require__(538); __webpack_require__(539); __webpack_require__(540); __webpack_require__(542); __webpack_require__(543); -__webpack_require__(544); __webpack_require__(545); __webpack_require__(546); __webpack_require__(547); __webpack_require__(548); +__webpack_require__(549); __webpack_require__(550); -__webpack_require__(552); +__webpack_require__(551); __webpack_require__(553); -__webpack_require__(554); __webpack_require__(555); +__webpack_require__(556); __webpack_require__(557); __webpack_require__(558); -__webpack_require__(559); +__webpack_require__(560); __webpack_require__(561); __webpack_require__(562); -__webpack_require__(563); __webpack_require__(564); __webpack_require__(565); __webpack_require__(566); -__webpack_require__(570); -__webpack_require__(571); -__webpack_require__(572); +__webpack_require__(567); +__webpack_require__(568); +__webpack_require__(569); __webpack_require__(573); __webpack_require__(574); __webpack_require__(575); +__webpack_require__(576); __webpack_require__(577); __webpack_require__(578); -__webpack_require__(579); __webpack_require__(580); __webpack_require__(581); __webpack_require__(582); @@ -400,34 +400,34 @@ __webpack_require__(584); __webpack_require__(585); __webpack_require__(586); __webpack_require__(587); +__webpack_require__(588); +__webpack_require__(589); __webpack_require__(590); -__webpack_require__(592); __webpack_require__(593); __webpack_require__(595); __webpack_require__(596); -__webpack_require__(597); __webpack_require__(598); __webpack_require__(599); __webpack_require__(600); +__webpack_require__(601); __webpack_require__(602); __webpack_require__(603); __webpack_require__(605); -__webpack_require__(606); __webpack_require__(607); __webpack_require__(608); __webpack_require__(609); __webpack_require__(610); +__webpack_require__(611); __webpack_require__(612); -__webpack_require__(613); __webpack_require__(614); __webpack_require__(615); +__webpack_require__(616); __webpack_require__(617); -__webpack_require__(618); __webpack_require__(619); __webpack_require__(620); __webpack_require__(621); +__webpack_require__(622); __webpack_require__(623); -__webpack_require__(624); __webpack_require__(625); __webpack_require__(626); __webpack_require__(627); @@ -439,11 +439,11 @@ __webpack_require__(632); __webpack_require__(633); __webpack_require__(634); __webpack_require__(635); +__webpack_require__(636); __webpack_require__(637); -__webpack_require__(638); __webpack_require__(639); __webpack_require__(640); -__webpack_require__(644); +__webpack_require__(641); __webpack_require__(645); __webpack_require__(646); __webpack_require__(648); @@ -484,12 +484,11 @@ __webpack_require__(698); __webpack_require__(699); __webpack_require__(701); __webpack_require__(702); -__webpack_require__(704); __webpack_require__(705); __webpack_require__(706); -__webpack_require__(708); +__webpack_require__(707); __webpack_require__(709); -__webpack_require__(711); +__webpack_require__(710); __webpack_require__(712); __webpack_require__(713); __webpack_require__(714); @@ -503,33 +502,38 @@ __webpack_require__(721); __webpack_require__(722); __webpack_require__(723); __webpack_require__(724); -__webpack_require__(727); -__webpack_require__(728); -__webpack_require__(729); +__webpack_require__(725); __webpack_require__(730); __webpack_require__(731); +__webpack_require__(733); __webpack_require__(734); -__webpack_require__(735); __webpack_require__(736); __webpack_require__(737); +__webpack_require__(738); __webpack_require__(739); __webpack_require__(740); __webpack_require__(743); __webpack_require__(744); +__webpack_require__(745); __webpack_require__(746); __webpack_require__(747); __webpack_require__(748); -__webpack_require__(753); +__webpack_require__(751); +__webpack_require__(752); __webpack_require__(754); __webpack_require__(755); __webpack_require__(756); -__webpack_require__(759); +__webpack_require__(761); +__webpack_require__(762); +__webpack_require__(763); __webpack_require__(764); -__webpack_require__(765); -__webpack_require__(766); __webpack_require__(767); -__webpack_require__(768); -module.exports = __webpack_require__(769); +__webpack_require__(772); +__webpack_require__(773); +__webpack_require__(774); +__webpack_require__(775); +__webpack_require__(776); +module.exports = __webpack_require__(777); /***/ }), @@ -896,8 +900,9 @@ module.exports = // eslint-disable-next-line no-restricted-globals -- safe check(typeof self == 'object' && self) || check(typeof global == 'object' && global) || + check(typeof this == 'object' && this) || // eslint-disable-next-line no-new-func -- fallback - (function () { return this; })() || this || Function('return this')(); + (function () { return this; })() || Function('return this')(); /***/ }), @@ -1484,10 +1489,10 @@ var store = __webpack_require__(37); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.33.2', + version: '3.34.0', mode: IS_PURE ? 'pure' : 'global', copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE', + license: 'https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE', source: 'https://github.com/zloirock/core-js' }); @@ -2693,8 +2698,8 @@ var createMethod = function (TYPE) { return function ($this, callbackfn, that, specificCreate) { var O = toObject($this); var self = IndexedObject(O); - var boundFunction = bind(callbackfn, that); var length = lengthOfArrayLike(self); + var boundFunction = bind(callbackfn, that); var index = 0; var create = specificCreate || arraySpeciesCreate; var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; @@ -4540,8 +4545,8 @@ var createMethod = function (TYPE) { return function ($this, callbackfn, that) { var O = toObject($this); var self = IndexedObject(O); - var boundFunction = bind(callbackfn, that); var index = lengthOfArrayLike(self); + var boundFunction = bind(callbackfn, that); var value, result; while (index-- > 0) { value = self[index]; @@ -5464,10 +5469,10 @@ var $TypeError = TypeError; // `Array.prototype.{ reduce, reduceRight }` methods implementation var createMethod = function (IS_RIGHT) { return function (that, callbackfn, argumentsLength, memo) { - aCallable(callbackfn); var O = toObject(that); var self = IndexedObject(O); var length = lengthOfArrayLike(O); + aCallable(callbackfn); var index = IS_RIGHT ? length - 1 : 0; var i = IS_RIGHT ? -1 : 1; if (argumentsLength < 2) while (true) { @@ -6035,9 +6040,9 @@ addToUnscopables('toSorted'); var lengthOfArrayLike = __webpack_require__(64); -module.exports = function (Constructor, list) { +module.exports = function (Constructor, list, $length) { var index = 0; - var length = lengthOfArrayLike(list); + var length = arguments.length > 2 ? $length : lengthOfArrayLike(list); var result = new Constructor(length); while (length > index) result[index] = list[index++]; return result; @@ -8137,7 +8142,67 @@ module.exports = { "use strict"; var $ = __webpack_require__(3); -var log1p = __webpack_require__(252); +var uncurryThis = __webpack_require__(14); +var aCallable = __webpack_require__(31); +var requireObjectCoercible = __webpack_require__(16); +var iterate = __webpack_require__(132); +var MapHelpers = __webpack_require__(252); +var IS_PURE = __webpack_require__(36); + +var Map = MapHelpers.Map; +var has = MapHelpers.has; +var get = MapHelpers.get; +var set = MapHelpers.set; +var push = uncurryThis([].push); + +// `Map.groupBy` method +// https://github.com/tc39/proposal-array-grouping +$({ target: 'Map', stat: true, forced: IS_PURE }, { + groupBy: function groupBy(items, callbackfn) { + requireObjectCoercible(items); + aCallable(callbackfn); + var map = new Map(); + var k = 0; + iterate(items, function (value) { + var key = callbackfn(value, k++); + if (!has(map, key)) set(map, key, [value]); + else push(get(map, key), value); + }); + return map; + } +}); + + +/***/ }), +/* 252 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(14); + +// eslint-disable-next-line es/no-map -- safe +var MapPrototype = Map.prototype; + +module.exports = { + // eslint-disable-next-line es/no-map -- safe + Map: Map, + set: uncurryThis(MapPrototype.set), + get: uncurryThis(MapPrototype.get), + has: uncurryThis(MapPrototype.has), + remove: uncurryThis(MapPrototype['delete']), + proto: MapPrototype +}; + + +/***/ }), +/* 253 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(3); +var log1p = __webpack_require__(254); // eslint-disable-next-line es/no-math-acosh -- required for testing var $acosh = Math.acosh; @@ -8164,7 +8229,7 @@ $({ target: 'Math', stat: true, forced: FORCED }, { /***/ }), -/* 252 */ +/* 254 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8181,7 +8246,7 @@ module.exports = Math.log1p || function log1p(x) { /***/ }), -/* 253 */ +/* 255 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8209,7 +8274,7 @@ $({ target: 'Math', stat: true, forced: FORCED }, { /***/ }), -/* 254 */ +/* 256 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8234,7 +8299,7 @@ $({ target: 'Math', stat: true, forced: FORCED }, { /***/ }), -/* 255 */ +/* 257 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8256,7 +8321,7 @@ $({ target: 'Math', stat: true }, { /***/ }), -/* 256 */ +/* 258 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8278,13 +8343,13 @@ $({ target: 'Math', stat: true }, { /***/ }), -/* 257 */ +/* 259 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var expm1 = __webpack_require__(258); +var expm1 = __webpack_require__(260); // eslint-disable-next-line es/no-math-cosh -- required for testing var $cosh = Math.cosh; @@ -8304,7 +8369,7 @@ $({ target: 'Math', stat: true, forced: FORCED }, { /***/ }), -/* 258 */ +/* 260 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8328,13 +8393,13 @@ module.exports = (!$expm1 /***/ }), -/* 259 */ +/* 261 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var expm1 = __webpack_require__(258); +var expm1 = __webpack_require__(260); // `Math.expm1` method // https://tc39.es/ecma262/#sec-math.expm1 @@ -8343,7 +8408,7 @@ $({ target: 'Math', stat: true, forced: expm1 !== Math.expm1 }, { expm1: expm1 } /***/ }), -/* 260 */ +/* 262 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8357,7 +8422,7 @@ $({ target: 'Math', stat: true }, { fround: fround }); /***/ }), -/* 261 */ +/* 263 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8400,7 +8465,7 @@ $({ target: 'Math', stat: true, arity: 2, forced: FORCED }, { /***/ }), -/* 262 */ +/* 264 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8431,13 +8496,13 @@ $({ target: 'Math', stat: true, forced: FORCED }, { /***/ }), -/* 263 */ +/* 265 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var log10 = __webpack_require__(264); +var log10 = __webpack_require__(266); // `Math.log10` method // https://tc39.es/ecma262/#sec-math.log10 @@ -8447,7 +8512,7 @@ $({ target: 'Math', stat: true }, { /***/ }), -/* 264 */ +/* 266 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8462,13 +8527,13 @@ module.exports = Math.log10 || function log10(x) { /***/ }), -/* 265 */ +/* 267 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var log1p = __webpack_require__(252); +var log1p = __webpack_require__(254); // `Math.log1p` method // https://tc39.es/ecma262/#sec-math.log1p @@ -8476,7 +8541,7 @@ $({ target: 'Math', stat: true }, { log1p: log1p }); /***/ }), -/* 266 */ +/* 268 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8496,7 +8561,7 @@ $({ target: 'Math', stat: true }, { /***/ }), -/* 267 */ +/* 269 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8512,14 +8577,14 @@ $({ target: 'Math', stat: true }, { /***/ }), -/* 268 */ +/* 270 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var fails = __webpack_require__(7); -var expm1 = __webpack_require__(258); +var expm1 = __webpack_require__(260); var abs = Math.abs; var exp = Math.exp; @@ -8542,13 +8607,13 @@ $({ target: 'Math', stat: true, forced: FORCED }, { /***/ }), -/* 269 */ +/* 271 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var expm1 = __webpack_require__(258); +var expm1 = __webpack_require__(260); var exp = Math.exp; @@ -8565,7 +8630,7 @@ $({ target: 'Math', stat: true }, { /***/ }), -/* 270 */ +/* 272 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8578,7 +8643,7 @@ setToStringTag(Math, 'Math', true); /***/ }), -/* 271 */ +/* 273 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8594,7 +8659,7 @@ $({ target: 'Math', stat: true }, { /***/ }), -/* 272 */ +/* 274 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8615,8 +8680,8 @@ var fails = __webpack_require__(7); var getOwnPropertyNames = __webpack_require__(58).f; var getOwnPropertyDescriptor = __webpack_require__(5).f; var defineProperty = __webpack_require__(45).f; -var thisNumberValue = __webpack_require__(273); -var trim = __webpack_require__(274).trim; +var thisNumberValue = __webpack_require__(275); +var trim = __webpack_require__(276).trim; var NUMBER = 'Number'; var NativeNumber = global[NUMBER]; @@ -8716,7 +8781,7 @@ if (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber); /***/ }), -/* 273 */ +/* 275 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8729,7 +8794,7 @@ module.exports = uncurryThis(1.0.valueOf); /***/ }), -/* 274 */ +/* 276 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8737,7 +8802,7 @@ module.exports = uncurryThis(1.0.valueOf); var uncurryThis = __webpack_require__(14); var requireObjectCoercible = __webpack_require__(16); var toString = __webpack_require__(69); -var whitespaces = __webpack_require__(275); +var whitespaces = __webpack_require__(277); var replace = uncurryThis(''.replace); var ltrim = RegExp('^[' + whitespaces + ']+'); @@ -8767,7 +8832,7 @@ module.exports = { /***/ }), -/* 275 */ +/* 277 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8778,7 +8843,7 @@ module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u /***/ }), -/* 276 */ +/* 278 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8793,13 +8858,13 @@ $({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, { /***/ }), -/* 277 */ +/* 279 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var numberIsFinite = __webpack_require__(278); +var numberIsFinite = __webpack_require__(280); // `Number.isFinite` method // https://tc39.es/ecma262/#sec-number.isfinite @@ -8807,7 +8872,7 @@ $({ target: 'Number', stat: true }, { isFinite: numberIsFinite }); /***/ }), -/* 278 */ +/* 280 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8825,13 +8890,13 @@ module.exports = Number.isFinite || function isFinite(it) { /***/ }), -/* 279 */ +/* 281 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var isIntegralNumber = __webpack_require__(280); +var isIntegralNumber = __webpack_require__(282); // `Number.isInteger` method // https://tc39.es/ecma262/#sec-number.isinteger @@ -8841,7 +8906,7 @@ $({ target: 'Number', stat: true }, { /***/ }), -/* 280 */ +/* 282 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8859,7 +8924,7 @@ module.exports = Number.isInteger || function isInteger(it) { /***/ }), -/* 281 */ +/* 283 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8877,13 +8942,13 @@ $({ target: 'Number', stat: true }, { /***/ }), -/* 282 */ +/* 284 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var isIntegralNumber = __webpack_require__(280); +var isIntegralNumber = __webpack_require__(282); var abs = Math.abs; @@ -8897,7 +8962,7 @@ $({ target: 'Number', stat: true }, { /***/ }), -/* 283 */ +/* 285 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8912,7 +8977,7 @@ $({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, { /***/ }), -/* 284 */ +/* 286 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8927,13 +8992,13 @@ $({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, { /***/ }), -/* 285 */ +/* 287 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var parseFloat = __webpack_require__(286); +var parseFloat = __webpack_require__(288); // `Number.parseFloat` method // https://tc39.es/ecma262/#sec-number.parseFloat @@ -8944,7 +9009,7 @@ $({ target: 'Number', stat: true, forced: Number.parseFloat !== parseFloat }, { /***/ }), -/* 286 */ +/* 288 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8953,8 +9018,8 @@ var global = __webpack_require__(4); var fails = __webpack_require__(7); var uncurryThis = __webpack_require__(14); var toString = __webpack_require__(69); -var trim = __webpack_require__(274).trim; -var whitespaces = __webpack_require__(275); +var trim = __webpack_require__(276).trim; +var whitespaces = __webpack_require__(277); var charAt = uncurryThis(''.charAt); var $parseFloat = global.parseFloat; @@ -8974,13 +9039,13 @@ module.exports = FORCED ? function parseFloat(string) { /***/ }), -/* 287 */ +/* 289 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var parseInt = __webpack_require__(288); +var parseInt = __webpack_require__(290); // `Number.parseInt` method // https://tc39.es/ecma262/#sec-number.parseint @@ -8991,7 +9056,7 @@ $({ target: 'Number', stat: true, forced: Number.parseInt !== parseInt }, { /***/ }), -/* 288 */ +/* 290 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9000,8 +9065,8 @@ var global = __webpack_require__(4); var fails = __webpack_require__(7); var uncurryThis = __webpack_require__(14); var toString = __webpack_require__(69); -var trim = __webpack_require__(274).trim; -var whitespaces = __webpack_require__(275); +var trim = __webpack_require__(276).trim; +var whitespaces = __webpack_require__(277); var $parseInt = global.parseInt; var Symbol = global.Symbol; @@ -9021,7 +9086,7 @@ module.exports = FORCED ? function parseInt(string, radix) { /***/ }), -/* 289 */ +/* 291 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9029,9 +9094,9 @@ module.exports = FORCED ? function parseInt(string, radix) { var $ = __webpack_require__(3); var uncurryThis = __webpack_require__(14); var toIntegerOrInfinity = __webpack_require__(62); -var thisNumberValue = __webpack_require__(273); +var thisNumberValue = __webpack_require__(275); var $repeat = __webpack_require__(231); -var log10 = __webpack_require__(264); +var log10 = __webpack_require__(266); var fails = __webpack_require__(7); var $RangeError = RangeError; @@ -9130,7 +9195,7 @@ $({ target: 'Number', proto: true, forced: FORCED }, { /***/ }), -/* 290 */ +/* 292 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9138,7 +9203,7 @@ $({ target: 'Number', proto: true, forced: FORCED }, { var $ = __webpack_require__(3); var uncurryThis = __webpack_require__(14); var toIntegerOrInfinity = __webpack_require__(62); -var thisNumberValue = __webpack_require__(273); +var thisNumberValue = __webpack_require__(275); var $repeat = __webpack_require__(231); var fails = __webpack_require__(7); @@ -9268,7 +9333,7 @@ $({ target: 'Number', proto: true, forced: FORCED }, { /***/ }), -/* 291 */ +/* 293 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9276,7 +9341,7 @@ $({ target: 'Number', proto: true, forced: FORCED }, { var $ = __webpack_require__(3); var uncurryThis = __webpack_require__(14); var fails = __webpack_require__(7); -var thisNumberValue = __webpack_require__(273); +var thisNumberValue = __webpack_require__(275); var nativeToPrecision = uncurryThis(1.0.toPrecision); @@ -9300,13 +9365,13 @@ $({ target: 'Number', proto: true, forced: FORCED }, { /***/ }), -/* 292 */ +/* 294 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var assign = __webpack_require__(293); +var assign = __webpack_require__(295); // `Object.assign` method // https://tc39.es/ecma262/#sec-object.assign @@ -9317,7 +9382,7 @@ $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, /***/ }), -/* 293 */ +/* 295 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9381,7 +9446,7 @@ module.exports = !$assign || fails(function () { /***/ }), -/* 294 */ +/* 296 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9399,14 +9464,14 @@ $({ target: 'Object', stat: true, sham: !DESCRIPTORS }, { /***/ }), -/* 295 */ +/* 297 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var DESCRIPTORS = __webpack_require__(6); -var FORCED = __webpack_require__(296); +var FORCED = __webpack_require__(298); var aCallable = __webpack_require__(31); var toObject = __webpack_require__(40); var definePropertyModule = __webpack_require__(45); @@ -9423,7 +9488,7 @@ if (DESCRIPTORS) { /***/ }), -/* 296 */ +/* 298 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9447,7 +9512,7 @@ module.exports = IS_PURE || !fails(function () { /***/ }), -/* 297 */ +/* 299 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9465,7 +9530,7 @@ $({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProp /***/ }), -/* 298 */ +/* 300 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9483,14 +9548,14 @@ $({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProper /***/ }), -/* 299 */ +/* 301 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var DESCRIPTORS = __webpack_require__(6); -var FORCED = __webpack_require__(296); +var FORCED = __webpack_require__(298); var aCallable = __webpack_require__(31); var toObject = __webpack_require__(40); var definePropertyModule = __webpack_require__(45); @@ -9507,13 +9572,13 @@ if (DESCRIPTORS) { /***/ }), -/* 300 */ +/* 302 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var $entries = __webpack_require__(301).entries; +var $entries = __webpack_require__(303).entries; // `Object.entries` method // https://tc39.es/ecma262/#sec-object.entries @@ -9525,7 +9590,7 @@ $({ target: 'Object', stat: true }, { /***/ }), -/* 301 */ +/* 303 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9581,7 +9646,7 @@ module.exports = { /***/ }), -/* 302 */ +/* 304 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9606,7 +9671,7 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING } /***/ }), -/* 303 */ +/* 305 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9629,7 +9694,7 @@ $({ target: 'Object', stat: true }, { /***/ }), -/* 304 */ +/* 306 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9652,7 +9717,7 @@ $({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, { /***/ }), -/* 305 */ +/* 307 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9684,7 +9749,7 @@ $({ target: 'Object', stat: true, sham: !DESCRIPTORS }, { /***/ }), -/* 306 */ +/* 308 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9704,7 +9769,7 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { /***/ }), -/* 307 */ +/* 309 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9728,7 +9793,44 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PR /***/ }), -/* 308 */ +/* 310 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(3); +var getBuiltIn = __webpack_require__(24); +var uncurryThis = __webpack_require__(14); +var aCallable = __webpack_require__(31); +var requireObjectCoercible = __webpack_require__(16); +var toPropertyKey = __webpack_require__(18); +var iterate = __webpack_require__(132); + +var create = getBuiltIn('Object', 'create'); +var push = uncurryThis([].push); + +// `Object.groupBy` method +// https://github.com/tc39/proposal-array-grouping +$({ target: 'Object', stat: true }, { + groupBy: function groupBy(items, callbackfn) { + requireObjectCoercible(items); + aCallable(callbackfn); + var obj = create(null); + var k = 0; + iterate(items, function (value) { + var key = toPropertyKey(callbackfn(value, k++)); + // in some IE versions, `hasOwnProperty` returns incorrect result on integer keys + // but since it's a `null` prototype object, we can safely use `in` + if (key in obj) push(obj[key], value); + else obj[key] = [value]; + }); + return obj; + } +}); + + +/***/ }), +/* 311 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9744,13 +9846,13 @@ $({ target: 'Object', stat: true }, { /***/ }), -/* 309 */ +/* 312 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var is = __webpack_require__(310); +var is = __webpack_require__(313); // `Object.is` method // https://tc39.es/ecma262/#sec-object.is @@ -9760,7 +9862,7 @@ $({ target: 'Object', stat: true }, { /***/ }), -/* 310 */ +/* 313 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9775,7 +9877,7 @@ module.exports = Object.is || function is(x, y) { /***/ }), -/* 311 */ +/* 314 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9792,7 +9894,7 @@ $({ target: 'Object', stat: true, forced: Object.isExtensible !== $isExtensible /***/ }), -/* 312 */ +/* 315 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9820,7 +9922,7 @@ $({ target: 'Object', stat: true, forced: FORCED }, { /***/ }), -/* 313 */ +/* 316 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9848,7 +9950,7 @@ $({ target: 'Object', stat: true, forced: FORCED }, { /***/ }), -/* 314 */ +/* 317 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9870,14 +9972,14 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { /***/ }), -/* 315 */ +/* 318 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var DESCRIPTORS = __webpack_require__(6); -var FORCED = __webpack_require__(296); +var FORCED = __webpack_require__(298); var toObject = __webpack_require__(40); var toPropertyKey = __webpack_require__(18); var getPrototypeOf = __webpack_require__(130); @@ -9900,14 +10002,14 @@ if (DESCRIPTORS) { /***/ }), -/* 316 */ +/* 319 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var DESCRIPTORS = __webpack_require__(6); -var FORCED = __webpack_require__(296); +var FORCED = __webpack_require__(298); var toObject = __webpack_require__(40); var toPropertyKey = __webpack_require__(18); var getPrototypeOf = __webpack_require__(130); @@ -9930,7 +10032,7 @@ if (DESCRIPTORS) { /***/ }), -/* 317 */ +/* 320 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9955,7 +10057,7 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING } /***/ }), -/* 318 */ +/* 321 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9991,7 +10093,7 @@ if (DESCRIPTORS && getPrototypeOf && setPrototypeOf && !(PROTO in ObjectPrototyp /***/ }), -/* 319 */ +/* 322 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10016,7 +10118,7 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING } /***/ }), -/* 320 */ +/* 323 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10032,14 +10134,14 @@ $({ target: 'Object', stat: true }, { /***/ }), -/* 321 */ +/* 324 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var TO_STRING_TAG_SUPPORT = __webpack_require__(71); var defineBuiltIn = __webpack_require__(48); -var toString = __webpack_require__(322); +var toString = __webpack_require__(325); // `Object.prototype.toString` method // https://tc39.es/ecma262/#sec-object.prototype.tostring @@ -10049,7 +10151,7 @@ if (!TO_STRING_TAG_SUPPORT) { /***/ }), -/* 322 */ +/* 325 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10065,13 +10167,13 @@ module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() { /***/ }), -/* 323 */ +/* 326 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var $values = __webpack_require__(301).values; +var $values = __webpack_require__(303).values; // `Object.values` method // https://tc39.es/ecma262/#sec-object.values @@ -10083,13 +10185,13 @@ $({ target: 'Object', stat: true }, { /***/ }), -/* 324 */ +/* 327 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var $parseFloat = __webpack_require__(286); +var $parseFloat = __webpack_require__(288); // `parseFloat` method // https://tc39.es/ecma262/#sec-parsefloat-string @@ -10099,13 +10201,13 @@ $({ global: true, forced: parseFloat !== $parseFloat }, { /***/ }), -/* 325 */ +/* 328 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var $parseInt = __webpack_require__(288); +var $parseInt = __webpack_require__(290); // `parseInt` method // https://tc39.es/ecma262/#sec-parseint-string-radix @@ -10115,22 +10217,22 @@ $({ global: true, forced: parseInt !== $parseInt }, { /***/ }), -/* 326 */ +/* 329 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove this module from `core-js@4` since it's split to modules listed below -__webpack_require__(327); -__webpack_require__(342); -__webpack_require__(344); +__webpack_require__(330); __webpack_require__(345); -__webpack_require__(346); __webpack_require__(347); +__webpack_require__(348); +__webpack_require__(349); +__webpack_require__(350); /***/ }), -/* 327 */ +/* 330 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10149,15 +10251,15 @@ var isCallable = __webpack_require__(21); var isObject = __webpack_require__(20); var anInstance = __webpack_require__(211); var speciesConstructor = __webpack_require__(220); -var task = __webpack_require__(328).set; -var microtask = __webpack_require__(331); -var hostReportErrors = __webpack_require__(335); -var perform = __webpack_require__(336); -var Queue = __webpack_require__(332); +var task = __webpack_require__(331).set; +var microtask = __webpack_require__(334); +var hostReportErrors = __webpack_require__(338); +var perform = __webpack_require__(339); +var Queue = __webpack_require__(335); var InternalStateModule = __webpack_require__(52); -var NativePromiseConstructor = __webpack_require__(337); -var PromiseConstructorDetection = __webpack_require__(338); -var newPromiseCapabilityModule = __webpack_require__(341); +var NativePromiseConstructor = __webpack_require__(340); +var PromiseConstructorDetection = __webpack_require__(341); +var newPromiseCapabilityModule = __webpack_require__(344); var PROMISE = 'Promise'; var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR; @@ -10425,7 +10527,7 @@ setSpecies(PROMISE); /***/ }), -/* 328 */ +/* 331 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10439,8 +10541,8 @@ var fails = __webpack_require__(7); var html = __webpack_require__(75); var arraySlice = __webpack_require__(97); var createElement = __webpack_require__(43); -var validateArgumentsLength = __webpack_require__(329); -var IS_IOS = __webpack_require__(330); +var validateArgumentsLength = __webpack_require__(332); +var IS_IOS = __webpack_require__(333); var IS_NODE = __webpack_require__(183); var set = global.setImmediate; @@ -10549,7 +10651,7 @@ module.exports = { /***/ }), -/* 329 */ +/* 332 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10563,7 +10665,7 @@ module.exports = function (passed, required) { /***/ }), -/* 330 */ +/* 333 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10575,7 +10677,7 @@ module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent); /***/ }), -/* 331 */ +/* 334 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10583,11 +10685,11 @@ module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent); var global = __webpack_require__(4); var bind = __webpack_require__(86); var getOwnPropertyDescriptor = __webpack_require__(5).f; -var macrotask = __webpack_require__(328).set; -var Queue = __webpack_require__(332); -var IS_IOS = __webpack_require__(330); -var IS_IOS_PEBBLE = __webpack_require__(333); -var IS_WEBOS_WEBKIT = __webpack_require__(334); +var macrotask = __webpack_require__(331).set; +var Queue = __webpack_require__(335); +var IS_IOS = __webpack_require__(333); +var IS_IOS_PEBBLE = __webpack_require__(336); +var IS_WEBOS_WEBKIT = __webpack_require__(337); var IS_NODE = __webpack_require__(183); var MutationObserver = global.MutationObserver || global.WebKitMutationObserver; @@ -10663,7 +10765,7 @@ module.exports = microtask; /***/ }), -/* 332 */ +/* 335 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10695,7 +10797,7 @@ module.exports = Queue; /***/ }), -/* 333 */ +/* 336 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10706,7 +10808,7 @@ module.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefi /***/ }), -/* 334 */ +/* 337 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10717,7 +10819,7 @@ module.exports = /web0s(?!.*chrome)/i.test(userAgent); /***/ }), -/* 335 */ +/* 338 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10731,7 +10833,7 @@ module.exports = function (a, b) { /***/ }), -/* 336 */ +/* 339 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10746,7 +10848,7 @@ module.exports = function (exec) { /***/ }), -/* 337 */ +/* 340 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10757,19 +10859,19 @@ module.exports = global.Promise; /***/ }), -/* 338 */ +/* 341 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var global = __webpack_require__(4); -var NativePromiseConstructor = __webpack_require__(337); +var NativePromiseConstructor = __webpack_require__(340); var isCallable = __webpack_require__(21); var isForced = __webpack_require__(68); var inspectSource = __webpack_require__(51); var wellKnownSymbol = __webpack_require__(34); -var IS_BROWSER = __webpack_require__(339); -var IS_DENO = __webpack_require__(340); +var IS_BROWSER = __webpack_require__(342); +var IS_DENO = __webpack_require__(343); var IS_PURE = __webpack_require__(36); var V8_VERSION = __webpack_require__(28); @@ -10812,12 +10914,12 @@ module.exports = { /***/ }), -/* 339 */ +/* 342 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var IS_DENO = __webpack_require__(340); +var IS_DENO = __webpack_require__(343); var IS_NODE = __webpack_require__(183); module.exports = !IS_DENO && !IS_NODE @@ -10826,7 +10928,7 @@ module.exports = !IS_DENO && !IS_NODE /***/ }), -/* 340 */ +/* 343 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10836,7 +10938,7 @@ module.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'obje /***/ }), -/* 341 */ +/* 344 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10864,7 +10966,7 @@ module.exports.f = function (C) { /***/ }), -/* 342 */ +/* 345 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10872,10 +10974,10 @@ module.exports.f = function (C) { var $ = __webpack_require__(3); var call = __webpack_require__(8); var aCallable = __webpack_require__(31); -var newPromiseCapabilityModule = __webpack_require__(341); -var perform = __webpack_require__(336); +var newPromiseCapabilityModule = __webpack_require__(344); +var perform = __webpack_require__(339); var iterate = __webpack_require__(132); -var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(343); +var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(346); // `Promise.all` method // https://tc39.es/ecma262/#sec-promise.all @@ -10910,14 +11012,14 @@ $({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION } /***/ }), -/* 343 */ +/* 346 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var NativePromiseConstructor = __webpack_require__(337); +var NativePromiseConstructor = __webpack_require__(340); var checkCorrectnessOfIteration = __webpack_require__(165); -var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(338).CONSTRUCTOR; +var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(341).CONSTRUCTOR; module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) { NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ }); @@ -10925,15 +11027,15 @@ module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(func /***/ }), -/* 344 */ +/* 347 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var IS_PURE = __webpack_require__(36); -var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(338).CONSTRUCTOR; -var NativePromiseConstructor = __webpack_require__(337); +var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(341).CONSTRUCTOR; +var NativePromiseConstructor = __webpack_require__(340); var getBuiltIn = __webpack_require__(24); var isCallable = __webpack_require__(21); var defineBuiltIn = __webpack_require__(48); @@ -10958,7 +11060,7 @@ if (!IS_PURE && isCallable(NativePromiseConstructor)) { /***/ }), -/* 345 */ +/* 348 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10966,10 +11068,10 @@ if (!IS_PURE && isCallable(NativePromiseConstructor)) { var $ = __webpack_require__(3); var call = __webpack_require__(8); var aCallable = __webpack_require__(31); -var newPromiseCapabilityModule = __webpack_require__(341); -var perform = __webpack_require__(336); +var newPromiseCapabilityModule = __webpack_require__(344); +var perform = __webpack_require__(339); var iterate = __webpack_require__(132); -var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(343); +var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(346); // `Promise.race` method // https://tc39.es/ecma262/#sec-promise.race @@ -10991,15 +11093,15 @@ $({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION } /***/ }), -/* 346 */ +/* 349 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var call = __webpack_require__(8); -var newPromiseCapabilityModule = __webpack_require__(341); -var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(338).CONSTRUCTOR; +var newPromiseCapabilityModule = __webpack_require__(344); +var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(341).CONSTRUCTOR; // `Promise.reject` method // https://tc39.es/ecma262/#sec-promise.reject @@ -11013,7 +11115,7 @@ $({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { /***/ }), -/* 347 */ +/* 350 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11021,9 +11123,9 @@ $({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { var $ = __webpack_require__(3); var getBuiltIn = __webpack_require__(24); var IS_PURE = __webpack_require__(36); -var NativePromiseConstructor = __webpack_require__(337); -var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(338).CONSTRUCTOR; -var promiseResolve = __webpack_require__(348); +var NativePromiseConstructor = __webpack_require__(340); +var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(341).CONSTRUCTOR; +var promiseResolve = __webpack_require__(351); var PromiseConstructorWrapper = getBuiltIn('Promise'); var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR; @@ -11038,14 +11140,14 @@ $({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR /***/ }), -/* 348 */ +/* 351 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var anObject = __webpack_require__(47); var isObject = __webpack_require__(20); -var newPromiseCapability = __webpack_require__(341); +var newPromiseCapability = __webpack_require__(344); module.exports = function (C, x) { anObject(C); @@ -11058,7 +11160,7 @@ module.exports = function (C, x) { /***/ }), -/* 349 */ +/* 352 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11066,10 +11168,10 @@ module.exports = function (C, x) { var $ = __webpack_require__(3); var call = __webpack_require__(8); var aCallable = __webpack_require__(31); -var newPromiseCapabilityModule = __webpack_require__(341); -var perform = __webpack_require__(336); +var newPromiseCapabilityModule = __webpack_require__(344); +var perform = __webpack_require__(339); var iterate = __webpack_require__(132); -var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(343); +var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(346); // `Promise.allSettled` method // https://tc39.es/ecma262/#sec-promise.allsettled @@ -11109,7 +11211,7 @@ $({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION } /***/ }), -/* 350 */ +/* 353 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11118,10 +11220,10 @@ var $ = __webpack_require__(3); var call = __webpack_require__(8); var aCallable = __webpack_require__(31); var getBuiltIn = __webpack_require__(24); -var newPromiseCapabilityModule = __webpack_require__(341); -var perform = __webpack_require__(336); +var newPromiseCapabilityModule = __webpack_require__(344); +var perform = __webpack_require__(339); var iterate = __webpack_require__(132); -var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(343); +var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(346); var PROMISE_ANY_ERROR = 'No one promise resolved'; @@ -11164,19 +11266,19 @@ $({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION } /***/ }), -/* 351 */ +/* 354 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var IS_PURE = __webpack_require__(36); -var NativePromiseConstructor = __webpack_require__(337); +var NativePromiseConstructor = __webpack_require__(340); var fails = __webpack_require__(7); var getBuiltIn = __webpack_require__(24); var isCallable = __webpack_require__(21); var speciesConstructor = __webpack_require__(220); -var promiseResolve = __webpack_require__(348); +var promiseResolve = __webpack_require__(351); var defineBuiltIn = __webpack_require__(48); var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; @@ -11214,7 +11316,30 @@ if (!IS_PURE && isCallable(NativePromiseConstructor)) { /***/ }), -/* 352 */ +/* 355 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(3); +var newPromiseCapabilityModule = __webpack_require__(344); + +// `Promise.withResolvers` method +// https://github.com/tc39/proposal-promise-with-resolvers +$({ target: 'Promise', stat: true }, { + withResolvers: function withResolvers() { + var promiseCapability = newPromiseCapabilityModule.f(this); + return { + promise: promiseCapability.promise, + resolve: promiseCapability.resolve, + reject: promiseCapability.reject + }; + } +}); + + +/***/ }), +/* 356 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11241,7 +11366,7 @@ $({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, { /***/ }), -/* 353 */ +/* 357 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11305,7 +11430,7 @@ $({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, { /***/ }), -/* 354 */ +/* 358 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11341,7 +11466,7 @@ $({ target: 'Reflect', stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRI /***/ }), -/* 355 */ +/* 359 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11361,7 +11486,7 @@ $({ target: 'Reflect', stat: true }, { /***/ }), -/* 356 */ +/* 360 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11370,7 +11495,7 @@ var $ = __webpack_require__(3); var call = __webpack_require__(8); var isObject = __webpack_require__(20); var anObject = __webpack_require__(47); -var isDataDescriptor = __webpack_require__(357); +var isDataDescriptor = __webpack_require__(361); var getOwnPropertyDescriptorModule = __webpack_require__(5); var getPrototypeOf = __webpack_require__(130); @@ -11393,7 +11518,7 @@ $({ target: 'Reflect', stat: true }, { /***/ }), -/* 357 */ +/* 361 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11406,7 +11531,7 @@ module.exports = function (descriptor) { /***/ }), -/* 358 */ +/* 362 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11426,7 +11551,7 @@ $({ target: 'Reflect', stat: true, sham: !DESCRIPTORS }, { /***/ }), -/* 359 */ +/* 363 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11446,7 +11571,7 @@ $({ target: 'Reflect', stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, { /***/ }), -/* 360 */ +/* 364 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11463,7 +11588,7 @@ $({ target: 'Reflect', stat: true }, { /***/ }), -/* 361 */ +/* 365 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11483,7 +11608,7 @@ $({ target: 'Reflect', stat: true }, { /***/ }), -/* 362 */ +/* 366 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11499,7 +11624,7 @@ $({ target: 'Reflect', stat: true }, { /***/ }), -/* 363 */ +/* 367 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11526,7 +11651,7 @@ $({ target: 'Reflect', stat: true, sham: !FREEZING }, { /***/ }), -/* 364 */ +/* 368 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11535,7 +11660,7 @@ var $ = __webpack_require__(3); var call = __webpack_require__(8); var anObject = __webpack_require__(47); var isObject = __webpack_require__(20); -var isDataDescriptor = __webpack_require__(357); +var isDataDescriptor = __webpack_require__(361); var fails = __webpack_require__(7); var definePropertyModule = __webpack_require__(45); var getOwnPropertyDescriptorModule = __webpack_require__(5); @@ -11583,7 +11708,7 @@ $({ target: 'Reflect', stat: true, forced: MS_EDGE_BUG }, { /***/ }), -/* 365 */ +/* 369 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11610,7 +11735,7 @@ if (objectSetPrototypeOf) $({ target: 'Reflect', stat: true }, { /***/ }), -/* 366 */ +/* 370 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11627,7 +11752,7 @@ setToStringTag(global.Reflect, 'Reflect', true); /***/ }), -/* 367 */ +/* 371 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11638,12 +11763,13 @@ var uncurryThis = __webpack_require__(14); var isForced = __webpack_require__(68); var inheritIfRequired = __webpack_require__(120); var createNonEnumerableProperty = __webpack_require__(44); +var create = __webpack_require__(72); var getOwnPropertyNames = __webpack_require__(58).f; var isPrototypeOf = __webpack_require__(25); -var isRegExp = __webpack_require__(368); +var isRegExp = __webpack_require__(372); var toString = __webpack_require__(69); -var getRegExpFlags = __webpack_require__(369); -var stickyHelpers = __webpack_require__(371); +var getRegExpFlags = __webpack_require__(373); +var stickyHelpers = __webpack_require__(375); var proxyAccessor = __webpack_require__(119); var defineBuiltIn = __webpack_require__(48); var fails = __webpack_require__(7); @@ -11651,8 +11777,8 @@ var hasOwn = __webpack_require__(39); var enforceInternalState = __webpack_require__(52).enforce; var setSpecies = __webpack_require__(194); var wellKnownSymbol = __webpack_require__(34); -var UNSUPPORTED_DOT_ALL = __webpack_require__(372); -var UNSUPPORTED_NCG = __webpack_require__(373); +var UNSUPPORTED_DOT_ALL = __webpack_require__(376); +var UNSUPPORTED_NCG = __webpack_require__(377); var MATCH = wellKnownSymbol('match'); var NativeRegExp = global.RegExp; @@ -11710,7 +11836,7 @@ var handleNCG = function (string) { var index = 0; var result = ''; var named = []; - var names = {}; + var names = create(null); var brackets = false; var ncg = false; var groupid = 0; @@ -11825,7 +11951,7 @@ setSpecies('RegExp'); /***/ }), -/* 368 */ +/* 372 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11845,7 +11971,7 @@ module.exports = function (it) { /***/ }), -/* 369 */ +/* 373 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11853,7 +11979,7 @@ module.exports = function (it) { var call = __webpack_require__(8); var hasOwn = __webpack_require__(39); var isPrototypeOf = __webpack_require__(25); -var regExpFlags = __webpack_require__(370); +var regExpFlags = __webpack_require__(374); var RegExpPrototype = RegExp.prototype; @@ -11865,7 +11991,7 @@ module.exports = function (R) { /***/ }), -/* 370 */ +/* 374 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11890,7 +12016,7 @@ module.exports = function () { /***/ }), -/* 371 */ +/* 375 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11928,7 +12054,7 @@ module.exports = { /***/ }), -/* 372 */ +/* 376 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11946,7 +12072,7 @@ module.exports = fails(function () { /***/ }), -/* 373 */ +/* 377 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11965,13 +12091,13 @@ module.exports = fails(function () { /***/ }), -/* 374 */ +/* 378 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var DESCRIPTORS = __webpack_require__(6); -var UNSUPPORTED_DOT_ALL = __webpack_require__(372); +var UNSUPPORTED_DOT_ALL = __webpack_require__(376); var classof = __webpack_require__(15); var defineBuiltInAccessor = __webpack_require__(79); var getInternalState = __webpack_require__(52).get; @@ -11998,13 +12124,13 @@ if (DESCRIPTORS && UNSUPPORTED_DOT_ALL) { /***/ }), -/* 375 */ +/* 379 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var exec = __webpack_require__(376); +var exec = __webpack_require__(380); // `RegExp.prototype.exec` method // https://tc39.es/ecma262/#sec-regexp.prototype.exec @@ -12014,7 +12140,7 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { /***/ }), -/* 376 */ +/* 380 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12024,13 +12150,13 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { var call = __webpack_require__(8); var uncurryThis = __webpack_require__(14); var toString = __webpack_require__(69); -var regexpFlags = __webpack_require__(370); -var stickyHelpers = __webpack_require__(371); +var regexpFlags = __webpack_require__(374); +var stickyHelpers = __webpack_require__(375); var shared = __webpack_require__(35); var create = __webpack_require__(72); var getInternalState = __webpack_require__(52).get; -var UNSUPPORTED_DOT_ALL = __webpack_require__(372); -var UNSUPPORTED_NCG = __webpack_require__(373); +var UNSUPPORTED_DOT_ALL = __webpack_require__(376); +var UNSUPPORTED_NCG = __webpack_require__(377); var nativeReplace = shared('native-string-replace', String.prototype.replace); var nativeExec = RegExp.prototype.exec; @@ -12138,7 +12264,7 @@ module.exports = patchedExec; /***/ }), -/* 377 */ +/* 381 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12146,7 +12272,7 @@ module.exports = patchedExec; var global = __webpack_require__(4); var DESCRIPTORS = __webpack_require__(6); var defineBuiltInAccessor = __webpack_require__(79); -var regExpFlags = __webpack_require__(370); +var regExpFlags = __webpack_require__(374); var fails = __webpack_require__(7); // babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError @@ -12201,13 +12327,13 @@ if (FORCED) defineBuiltInAccessor(RegExpPrototype, 'flags', { /***/ }), -/* 378 */ +/* 382 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var DESCRIPTORS = __webpack_require__(6); -var MISSED_STICKY = __webpack_require__(371).MISSED_STICKY; +var MISSED_STICKY = __webpack_require__(375).MISSED_STICKY; var classof = __webpack_require__(15); var defineBuiltInAccessor = __webpack_require__(79); var getInternalState = __webpack_require__(52).get; @@ -12234,13 +12360,13 @@ if (DESCRIPTORS && MISSED_STICKY) { /***/ }), -/* 379 */ +/* 383 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove from `core-js@4` since it's moved to entry points -__webpack_require__(375); +__webpack_require__(379); var $ = __webpack_require__(3); var call = __webpack_require__(8); var isCallable = __webpack_require__(21); @@ -12276,7 +12402,7 @@ $({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, { /***/ }), -/* 380 */ +/* 384 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12286,7 +12412,7 @@ var defineBuiltIn = __webpack_require__(48); var anObject = __webpack_require__(47); var $toString = __webpack_require__(69); var fails = __webpack_require__(7); -var getRegExpFlags = __webpack_require__(369); +var getRegExpFlags = __webpack_require__(373); var TO_STRING = 'toString'; var RegExpPrototype = RegExp.prototype; @@ -12309,17 +12435,17 @@ if (NOT_GENERIC || INCORRECT_NAME) { /***/ }), -/* 381 */ +/* 385 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove this module from `core-js@4` since it's replaced to module below -__webpack_require__(382); +__webpack_require__(386); /***/ }), -/* 382 */ +/* 386 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12335,7 +12461,7 @@ collection('Set', function (init) { /***/ }), -/* 383 */ +/* 387 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12368,13 +12494,13 @@ $({ target: 'String', proto: true, forced: FORCED }, { /***/ }), -/* 384 */ +/* 388 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var codeAt = __webpack_require__(385).codeAt; +var codeAt = __webpack_require__(389).codeAt; // `String.prototype.codePointAt` method // https://tc39.es/ecma262/#sec-string.prototype.codepointat @@ -12386,7 +12512,7 @@ $({ target: 'String', proto: true }, { /***/ }), -/* 385 */ +/* 389 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12430,7 +12556,7 @@ module.exports = { /***/ }), -/* 386 */ +/* 390 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12440,9 +12566,9 @@ var uncurryThis = __webpack_require__(87); var getOwnPropertyDescriptor = __webpack_require__(5).f; var toLength = __webpack_require__(65); var toString = __webpack_require__(69); -var notARegExp = __webpack_require__(387); +var notARegExp = __webpack_require__(391); var requireObjectCoercible = __webpack_require__(16); -var correctIsRegExpLogic = __webpack_require__(388); +var correctIsRegExpLogic = __webpack_require__(392); var IS_PURE = __webpack_require__(36); // eslint-disable-next-line es/no-string-prototype-endswith -- safe @@ -12475,12 +12601,12 @@ $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGE /***/ }), -/* 387 */ +/* 391 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isRegExp = __webpack_require__(368); +var isRegExp = __webpack_require__(372); var $TypeError = TypeError; @@ -12492,7 +12618,7 @@ module.exports = function (it) { /***/ }), -/* 388 */ +/* 392 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12515,7 +12641,7 @@ module.exports = function (METHOD_NAME) { /***/ }), -/* 389 */ +/* 393 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12554,17 +12680,17 @@ $({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, { /***/ }), -/* 390 */ +/* 394 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var uncurryThis = __webpack_require__(14); -var notARegExp = __webpack_require__(387); +var notARegExp = __webpack_require__(391); var requireObjectCoercible = __webpack_require__(16); var toString = __webpack_require__(69); -var correctIsRegExpLogic = __webpack_require__(388); +var correctIsRegExpLogic = __webpack_require__(392); var stringIndexOf = uncurryThis(''.indexOf); @@ -12582,7 +12708,7 @@ $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, /***/ }), -/* 391 */ +/* 395 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12612,12 +12738,12 @@ $({ target: 'String', proto: true }, { /***/ }), -/* 392 */ +/* 396 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var charAt = __webpack_require__(385).charAt; +var charAt = __webpack_require__(389).charAt; var toString = __webpack_require__(69); var InternalStateModule = __webpack_require__(52); var defineIterator = __webpack_require__(170); @@ -12650,21 +12776,21 @@ defineIterator(String, 'String', function (iterated) { /***/ }), -/* 393 */ +/* 397 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var call = __webpack_require__(8); -var fixRegExpWellKnownSymbolLogic = __webpack_require__(394); +var fixRegExpWellKnownSymbolLogic = __webpack_require__(398); var anObject = __webpack_require__(47); var isNullOrUndefined = __webpack_require__(17); var toLength = __webpack_require__(65); var toString = __webpack_require__(69); var requireObjectCoercible = __webpack_require__(16); var getMethod = __webpack_require__(30); -var advanceStringIndex = __webpack_require__(395); -var regExpExec = __webpack_require__(396); +var advanceStringIndex = __webpack_require__(399); +var regExpExec = __webpack_require__(400); // @@match logic fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) { @@ -12705,16 +12831,16 @@ fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNa /***/ }), -/* 394 */ +/* 398 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove from `core-js@4` since it's moved to entry points -__webpack_require__(375); +__webpack_require__(379); var uncurryThis = __webpack_require__(87); var defineBuiltIn = __webpack_require__(48); -var regexpExec = __webpack_require__(376); +var regexpExec = __webpack_require__(380); var fails = __webpack_require__(7); var wellKnownSymbol = __webpack_require__(34); var createNonEnumerableProperty = __webpack_require__(44); @@ -12789,12 +12915,12 @@ module.exports = function (KEY, exec, FORCED, SHAM) { /***/ }), -/* 395 */ +/* 399 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var charAt = __webpack_require__(385).charAt; +var charAt = __webpack_require__(389).charAt; // `AdvanceStringIndex` abstract operation // https://tc39.es/ecma262/#sec-advancestringindex @@ -12804,7 +12930,7 @@ module.exports = function (S, index, unicode) { /***/ }), -/* 396 */ +/* 400 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12813,7 +12939,7 @@ var call = __webpack_require__(8); var anObject = __webpack_require__(47); var isCallable = __webpack_require__(21); var classof = __webpack_require__(15); -var regexpExec = __webpack_require__(376); +var regexpExec = __webpack_require__(380); var $TypeError = TypeError; @@ -12832,7 +12958,7 @@ module.exports = function (R, S) { /***/ }), -/* 397 */ +/* 401 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12849,15 +12975,15 @@ var toString = __webpack_require__(69); var anObject = __webpack_require__(47); var isNullOrUndefined = __webpack_require__(17); var classof = __webpack_require__(15); -var isRegExp = __webpack_require__(368); -var getRegExpFlags = __webpack_require__(369); +var isRegExp = __webpack_require__(372); +var getRegExpFlags = __webpack_require__(373); var getMethod = __webpack_require__(30); var defineBuiltIn = __webpack_require__(48); var fails = __webpack_require__(7); var wellKnownSymbol = __webpack_require__(34); var speciesConstructor = __webpack_require__(220); -var advanceStringIndex = __webpack_require__(395); -var regExpExec = __webpack_require__(396); +var advanceStringIndex = __webpack_require__(399); +var regExpExec = __webpack_require__(400); var InternalStateModule = __webpack_require__(52); var IS_PURE = __webpack_require__(36); @@ -12941,14 +13067,14 @@ IS_PURE || MATCH_ALL in RegExpPrototype || defineBuiltIn(RegExpPrototype, MATCH_ /***/ }), -/* 398 */ +/* 402 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var $padEnd = __webpack_require__(230).end; -var WEBKIT_BUG = __webpack_require__(399); +var WEBKIT_BUG = __webpack_require__(403); // `String.prototype.padEnd` method // https://tc39.es/ecma262/#sec-string.prototype.padend @@ -12960,7 +13086,7 @@ $({ target: 'String', proto: true, forced: WEBKIT_BUG }, { /***/ }), -/* 399 */ +/* 403 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12972,14 +13098,14 @@ module.exports = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari /***/ }), -/* 400 */ +/* 404 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var $padStart = __webpack_require__(230).start; -var WEBKIT_BUG = __webpack_require__(399); +var WEBKIT_BUG = __webpack_require__(403); // `String.prototype.padStart` method // https://tc39.es/ecma262/#sec-string.prototype.padstart @@ -12991,7 +13117,7 @@ $({ target: 'String', proto: true, forced: WEBKIT_BUG }, { /***/ }), -/* 401 */ +/* 405 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13026,7 +13152,7 @@ $({ target: 'String', stat: true }, { /***/ }), -/* 402 */ +/* 406 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13042,7 +13168,7 @@ $({ target: 'String', proto: true }, { /***/ }), -/* 403 */ +/* 407 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13050,7 +13176,7 @@ $({ target: 'String', proto: true }, { var apply = __webpack_require__(96); var call = __webpack_require__(8); var uncurryThis = __webpack_require__(14); -var fixRegExpWellKnownSymbolLogic = __webpack_require__(394); +var fixRegExpWellKnownSymbolLogic = __webpack_require__(398); var fails = __webpack_require__(7); var anObject = __webpack_require__(47); var isCallable = __webpack_require__(21); @@ -13059,10 +13185,10 @@ var toIntegerOrInfinity = __webpack_require__(62); var toLength = __webpack_require__(65); var toString = __webpack_require__(69); var requireObjectCoercible = __webpack_require__(16); -var advanceStringIndex = __webpack_require__(395); +var advanceStringIndex = __webpack_require__(399); var getMethod = __webpack_require__(30); -var getSubstitution = __webpack_require__(404); -var regExpExec = __webpack_require__(396); +var getSubstitution = __webpack_require__(408); +var regExpExec = __webpack_require__(400); var wellKnownSymbol = __webpack_require__(34); var REPLACE = wellKnownSymbol('replace'); @@ -13191,7 +13317,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa /***/ }), -/* 404 */ +/* 408 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13244,7 +13370,7 @@ module.exports = function (matched, str, position, captures, namedCaptures, repl /***/ }), -/* 405 */ +/* 409 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13255,11 +13381,11 @@ var uncurryThis = __webpack_require__(14); var requireObjectCoercible = __webpack_require__(16); var isCallable = __webpack_require__(21); var isNullOrUndefined = __webpack_require__(17); -var isRegExp = __webpack_require__(368); +var isRegExp = __webpack_require__(372); var toString = __webpack_require__(69); var getMethod = __webpack_require__(30); -var getRegExpFlags = __webpack_require__(369); -var getSubstitution = __webpack_require__(404); +var getRegExpFlags = __webpack_require__(373); +var getSubstitution = __webpack_require__(408); var wellKnownSymbol = __webpack_require__(34); var IS_PURE = __webpack_require__(36); @@ -13322,20 +13448,20 @@ $({ target: 'String', proto: true }, { /***/ }), -/* 406 */ +/* 410 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var call = __webpack_require__(8); -var fixRegExpWellKnownSymbolLogic = __webpack_require__(394); +var fixRegExpWellKnownSymbolLogic = __webpack_require__(398); var anObject = __webpack_require__(47); var isNullOrUndefined = __webpack_require__(17); var requireObjectCoercible = __webpack_require__(16); -var sameValue = __webpack_require__(310); +var sameValue = __webpack_require__(313); var toString = __webpack_require__(69); var getMethod = __webpack_require__(30); -var regExpExec = __webpack_require__(396); +var regExpExec = __webpack_require__(400); // @@search logic fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) { @@ -13367,7 +13493,7 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal /***/ }), -/* 407 */ +/* 411 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13375,20 +13501,20 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal var apply = __webpack_require__(96); var call = __webpack_require__(8); var uncurryThis = __webpack_require__(14); -var fixRegExpWellKnownSymbolLogic = __webpack_require__(394); +var fixRegExpWellKnownSymbolLogic = __webpack_require__(398); var anObject = __webpack_require__(47); var isNullOrUndefined = __webpack_require__(17); -var isRegExp = __webpack_require__(368); +var isRegExp = __webpack_require__(372); var requireObjectCoercible = __webpack_require__(16); var speciesConstructor = __webpack_require__(220); -var advanceStringIndex = __webpack_require__(395); +var advanceStringIndex = __webpack_require__(399); var toLength = __webpack_require__(65); var toString = __webpack_require__(69); var getMethod = __webpack_require__(30); var arraySlice = __webpack_require__(77); -var callRegExpExec = __webpack_require__(396); -var regexpExec = __webpack_require__(376); -var stickyHelpers = __webpack_require__(371); +var callRegExpExec = __webpack_require__(400); +var regexpExec = __webpack_require__(380); +var stickyHelpers = __webpack_require__(375); var fails = __webpack_require__(7); var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; @@ -13531,7 +13657,7 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa /***/ }), -/* 408 */ +/* 412 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13541,9 +13667,9 @@ var uncurryThis = __webpack_require__(87); var getOwnPropertyDescriptor = __webpack_require__(5).f; var toLength = __webpack_require__(65); var toString = __webpack_require__(69); -var notARegExp = __webpack_require__(387); +var notARegExp = __webpack_require__(391); var requireObjectCoercible = __webpack_require__(16); -var correctIsRegExpLogic = __webpack_require__(388); +var correctIsRegExpLogic = __webpack_require__(392); var IS_PURE = __webpack_require__(36); // eslint-disable-next-line es/no-string-prototype-startswith -- safe @@ -13574,7 +13700,7 @@ $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGE /***/ }), -/* 409 */ +/* 413 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13611,7 +13737,7 @@ $({ target: 'String', proto: true, forced: FORCED }, { /***/ }), -/* 410 */ +/* 414 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13661,14 +13787,14 @@ $({ target: 'String', proto: true, forced: TO_STRING_CONVERSION_BUG }, { /***/ }), -/* 411 */ +/* 415 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var $trim = __webpack_require__(274).trim; -var forcedStringTrimMethod = __webpack_require__(412); +var $trim = __webpack_require__(276).trim; +var forcedStringTrimMethod = __webpack_require__(416); // `String.prototype.trim` method // https://tc39.es/ecma262/#sec-string.prototype.trim @@ -13680,14 +13806,14 @@ $({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, { /***/ }), -/* 412 */ +/* 416 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var PROPER_FUNCTION_NAME = __webpack_require__(50).PROPER; var fails = __webpack_require__(7); -var whitespaces = __webpack_require__(275); +var whitespaces = __webpack_require__(277); var non = '\u200B\u0085\u180E'; @@ -13703,15 +13829,15 @@ module.exports = function (METHOD_NAME) { /***/ }), -/* 413 */ +/* 417 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove this line from `core-js@4` -__webpack_require__(414); +__webpack_require__(418); var $ = __webpack_require__(3); -var trimEnd = __webpack_require__(415); +var trimEnd = __webpack_require__(419); // `String.prototype.trimEnd` method // https://tc39.es/ecma262/#sec-string.prototype.trimend @@ -13722,13 +13848,13 @@ $({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimEnd !== trimE /***/ }), -/* 414 */ +/* 418 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var trimEnd = __webpack_require__(415); +var trimEnd = __webpack_require__(419); // `String.prototype.trimRight` method // https://tc39.es/ecma262/#sec-string.prototype.trimend @@ -13739,13 +13865,13 @@ $({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimRight !== tri /***/ }), -/* 415 */ +/* 419 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var $trimEnd = __webpack_require__(274).end; -var forcedStringTrimMethod = __webpack_require__(412); +var $trimEnd = __webpack_require__(276).end; +var forcedStringTrimMethod = __webpack_require__(416); // `String.prototype.{ trimEnd, trimRight }` method // https://tc39.es/ecma262/#sec-string.prototype.trimend @@ -13757,15 +13883,15 @@ module.exports = forcedStringTrimMethod('trimEnd') ? function trimEnd() { /***/ }), -/* 416 */ +/* 420 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove this line from `core-js@4` -__webpack_require__(417); +__webpack_require__(421); var $ = __webpack_require__(3); -var trimStart = __webpack_require__(418); +var trimStart = __webpack_require__(422); // `String.prototype.trimStart` method // https://tc39.es/ecma262/#sec-string.prototype.trimstart @@ -13776,13 +13902,13 @@ $({ target: 'String', proto: true, name: 'trimStart', forced: ''.trimStart !== t /***/ }), -/* 417 */ +/* 421 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var trimStart = __webpack_require__(418); +var trimStart = __webpack_require__(422); // `String.prototype.trimLeft` method // https://tc39.es/ecma262/#sec-string.prototype.trimleft @@ -13793,13 +13919,13 @@ $({ target: 'String', proto: true, name: 'trimStart', forced: ''.trimLeft !== tr /***/ }), -/* 418 */ +/* 422 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var $trimStart = __webpack_require__(274).start; -var forcedStringTrimMethod = __webpack_require__(412); +var $trimStart = __webpack_require__(276).start; +var forcedStringTrimMethod = __webpack_require__(416); // `String.prototype.{ trimStart, trimLeft }` method // https://tc39.es/ecma262/#sec-string.prototype.trimstart @@ -13811,14 +13937,14 @@ module.exports = forcedStringTrimMethod('trimStart') ? function trimStart() { /***/ }), -/* 419 */ +/* 423 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var createHTML = __webpack_require__(420); -var forcedStringHTMLMethod = __webpack_require__(421); +var createHTML = __webpack_require__(424); +var forcedStringHTMLMethod = __webpack_require__(425); // `String.prototype.anchor` method // https://tc39.es/ecma262/#sec-string.prototype.anchor @@ -13830,7 +13956,7 @@ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, { /***/ }), -/* 420 */ +/* 424 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13853,7 +13979,7 @@ module.exports = function (string, tag, attribute, value) { /***/ }), -/* 421 */ +/* 425 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13871,14 +13997,14 @@ module.exports = function (METHOD_NAME) { /***/ }), -/* 422 */ +/* 426 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var createHTML = __webpack_require__(420); -var forcedStringHTMLMethod = __webpack_require__(421); +var createHTML = __webpack_require__(424); +var forcedStringHTMLMethod = __webpack_require__(425); // `String.prototype.big` method // https://tc39.es/ecma262/#sec-string.prototype.big @@ -13890,14 +14016,14 @@ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('big') }, { /***/ }), -/* 423 */ +/* 427 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var createHTML = __webpack_require__(420); -var forcedStringHTMLMethod = __webpack_require__(421); +var createHTML = __webpack_require__(424); +var forcedStringHTMLMethod = __webpack_require__(425); // `String.prototype.blink` method // https://tc39.es/ecma262/#sec-string.prototype.blink @@ -13909,14 +14035,14 @@ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('blink') }, { /***/ }), -/* 424 */ +/* 428 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var createHTML = __webpack_require__(420); -var forcedStringHTMLMethod = __webpack_require__(421); +var createHTML = __webpack_require__(424); +var forcedStringHTMLMethod = __webpack_require__(425); // `String.prototype.bold` method // https://tc39.es/ecma262/#sec-string.prototype.bold @@ -13928,14 +14054,14 @@ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('bold') }, { /***/ }), -/* 425 */ +/* 429 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var createHTML = __webpack_require__(420); -var forcedStringHTMLMethod = __webpack_require__(421); +var createHTML = __webpack_require__(424); +var forcedStringHTMLMethod = __webpack_require__(425); // `String.prototype.fixed` method // https://tc39.es/ecma262/#sec-string.prototype.fixed @@ -13947,14 +14073,14 @@ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, { /***/ }), -/* 426 */ +/* 430 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var createHTML = __webpack_require__(420); -var forcedStringHTMLMethod = __webpack_require__(421); +var createHTML = __webpack_require__(424); +var forcedStringHTMLMethod = __webpack_require__(425); // `String.prototype.fontcolor` method // https://tc39.es/ecma262/#sec-string.prototype.fontcolor @@ -13966,14 +14092,14 @@ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontcolor') } /***/ }), -/* 427 */ +/* 431 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var createHTML = __webpack_require__(420); -var forcedStringHTMLMethod = __webpack_require__(421); +var createHTML = __webpack_require__(424); +var forcedStringHTMLMethod = __webpack_require__(425); // `String.prototype.fontsize` method // https://tc39.es/ecma262/#sec-string.prototype.fontsize @@ -13985,14 +14111,14 @@ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontsize') }, /***/ }), -/* 428 */ +/* 432 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var createHTML = __webpack_require__(420); -var forcedStringHTMLMethod = __webpack_require__(421); +var createHTML = __webpack_require__(424); +var forcedStringHTMLMethod = __webpack_require__(425); // `String.prototype.italics` method // https://tc39.es/ecma262/#sec-string.prototype.italics @@ -14004,14 +14130,14 @@ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('italics') }, /***/ }), -/* 429 */ +/* 433 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var createHTML = __webpack_require__(420); -var forcedStringHTMLMethod = __webpack_require__(421); +var createHTML = __webpack_require__(424); +var forcedStringHTMLMethod = __webpack_require__(425); // `String.prototype.link` method // https://tc39.es/ecma262/#sec-string.prototype.link @@ -14023,14 +14149,14 @@ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, { /***/ }), -/* 430 */ +/* 434 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var createHTML = __webpack_require__(420); -var forcedStringHTMLMethod = __webpack_require__(421); +var createHTML = __webpack_require__(424); +var forcedStringHTMLMethod = __webpack_require__(425); // `String.prototype.small` method // https://tc39.es/ecma262/#sec-string.prototype.small @@ -14042,14 +14168,14 @@ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('small') }, { /***/ }), -/* 431 */ +/* 435 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var createHTML = __webpack_require__(420); -var forcedStringHTMLMethod = __webpack_require__(421); +var createHTML = __webpack_require__(424); +var forcedStringHTMLMethod = __webpack_require__(425); // `String.prototype.strike` method // https://tc39.es/ecma262/#sec-string.prototype.strike @@ -14061,14 +14187,14 @@ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('strike') }, { /***/ }), -/* 432 */ +/* 436 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var createHTML = __webpack_require__(420); -var forcedStringHTMLMethod = __webpack_require__(421); +var createHTML = __webpack_require__(424); +var forcedStringHTMLMethod = __webpack_require__(425); // `String.prototype.sub` method // https://tc39.es/ecma262/#sec-string.prototype.sub @@ -14080,14 +14206,14 @@ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sub') }, { /***/ }), -/* 433 */ +/* 437 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var createHTML = __webpack_require__(420); -var forcedStringHTMLMethod = __webpack_require__(421); +var createHTML = __webpack_require__(424); +var forcedStringHTMLMethod = __webpack_require__(425); // `String.prototype.sup` method // https://tc39.es/ecma262/#sec-string.prototype.sup @@ -14099,12 +14225,12 @@ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sup') }, { /***/ }), -/* 434 */ +/* 438 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var createTypedArrayConstructor = __webpack_require__(435); +var createTypedArrayConstructor = __webpack_require__(439); // `Float32Array` constructor // https://tc39.es/ecma262/#sec-typedarray-objects @@ -14116,7 +14242,7 @@ createTypedArrayConstructor('Float32', function (init) { /***/ }), -/* 435 */ +/* 439 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14125,17 +14251,17 @@ var $ = __webpack_require__(3); var global = __webpack_require__(4); var call = __webpack_require__(8); var DESCRIPTORS = __webpack_require__(6); -var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(436); +var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(440); var ArrayBufferViewCore = __webpack_require__(218); var ArrayBufferModule = __webpack_require__(208); var anInstance = __webpack_require__(211); var createPropertyDescriptor = __webpack_require__(11); var createNonEnumerableProperty = __webpack_require__(44); -var isIntegralNumber = __webpack_require__(280); +var isIntegralNumber = __webpack_require__(282); var toLength = __webpack_require__(65); var toIndex = __webpack_require__(212); -var toOffset = __webpack_require__(437); -var toUint8Clamped = __webpack_require__(439); +var toOffset = __webpack_require__(441); +var toUint8Clamped = __webpack_require__(443); var toPropertyKey = __webpack_require__(18); var hasOwn = __webpack_require__(39); var classof = __webpack_require__(70); @@ -14145,7 +14271,7 @@ var create = __webpack_require__(72); var isPrototypeOf = __webpack_require__(25); var setPrototypeOf = __webpack_require__(116); var getOwnPropertyNames = __webpack_require__(58).f; -var typedArrayFrom = __webpack_require__(440); +var typedArrayFrom = __webpack_require__(444); var forEach = __webpack_require__(85).forEach; var setSpecies = __webpack_require__(194); var defineBuiltInAccessor = __webpack_require__(79); @@ -14368,7 +14494,7 @@ if (DESCRIPTORS) { /***/ }), -/* 436 */ +/* 440 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14398,12 +14524,12 @@ module.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () { /***/ }), -/* 437 */ +/* 441 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var toPositiveInteger = __webpack_require__(438); +var toPositiveInteger = __webpack_require__(442); var $RangeError = RangeError; @@ -14415,7 +14541,7 @@ module.exports = function (it, BYTES) { /***/ }), -/* 438 */ +/* 442 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14432,7 +14558,7 @@ module.exports = function (it) { /***/ }), -/* 439 */ +/* 443 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14446,7 +14572,7 @@ module.exports = function (it) { /***/ }), -/* 440 */ +/* 444 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14459,9 +14585,9 @@ var lengthOfArrayLike = __webpack_require__(64); var getIterator = __webpack_require__(135); var getIteratorMethod = __webpack_require__(136); var isArrayIteratorMethod = __webpack_require__(133); -var isBigIntArray = __webpack_require__(441); +var isBigIntArray = __webpack_require__(445); var aTypedArrayConstructor = __webpack_require__(218).aTypedArrayConstructor; -var toBigInt = __webpack_require__(442); +var toBigInt = __webpack_require__(446); module.exports = function from(source /* , mapfn, thisArg */) { var C = aConstructor(this); @@ -14495,7 +14621,7 @@ module.exports = function from(source /* , mapfn, thisArg */) { /***/ }), -/* 441 */ +/* 445 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14509,7 +14635,7 @@ module.exports = function (it) { /***/ }), -/* 442 */ +/* 446 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14529,12 +14655,12 @@ module.exports = function (argument) { /***/ }), -/* 443 */ +/* 447 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var createTypedArrayConstructor = __webpack_require__(435); +var createTypedArrayConstructor = __webpack_require__(439); // `Float64Array` constructor // https://tc39.es/ecma262/#sec-typedarray-objects @@ -14546,12 +14672,12 @@ createTypedArrayConstructor('Float64', function (init) { /***/ }), -/* 444 */ +/* 448 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var createTypedArrayConstructor = __webpack_require__(435); +var createTypedArrayConstructor = __webpack_require__(439); // `Int8Array` constructor // https://tc39.es/ecma262/#sec-typedarray-objects @@ -14563,12 +14689,12 @@ createTypedArrayConstructor('Int8', function (init) { /***/ }), -/* 445 */ +/* 449 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var createTypedArrayConstructor = __webpack_require__(435); +var createTypedArrayConstructor = __webpack_require__(439); // `Int16Array` constructor // https://tc39.es/ecma262/#sec-typedarray-objects @@ -14580,12 +14706,12 @@ createTypedArrayConstructor('Int16', function (init) { /***/ }), -/* 446 */ +/* 450 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var createTypedArrayConstructor = __webpack_require__(435); +var createTypedArrayConstructor = __webpack_require__(439); // `Int32Array` constructor // https://tc39.es/ecma262/#sec-typedarray-objects @@ -14597,12 +14723,12 @@ createTypedArrayConstructor('Int32', function (init) { /***/ }), -/* 447 */ +/* 451 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var createTypedArrayConstructor = __webpack_require__(435); +var createTypedArrayConstructor = __webpack_require__(439); // `Uint8Array` constructor // https://tc39.es/ecma262/#sec-typedarray-objects @@ -14614,12 +14740,12 @@ createTypedArrayConstructor('Uint8', function (init) { /***/ }), -/* 448 */ +/* 452 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var createTypedArrayConstructor = __webpack_require__(435); +var createTypedArrayConstructor = __webpack_require__(439); // `Uint8ClampedArray` constructor // https://tc39.es/ecma262/#sec-typedarray-objects @@ -14631,12 +14757,12 @@ createTypedArrayConstructor('Uint8', function (init) { /***/ }), -/* 449 */ +/* 453 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var createTypedArrayConstructor = __webpack_require__(435); +var createTypedArrayConstructor = __webpack_require__(439); // `Uint16Array` constructor // https://tc39.es/ecma262/#sec-typedarray-objects @@ -14648,12 +14774,12 @@ createTypedArrayConstructor('Uint16', function (init) { /***/ }), -/* 450 */ +/* 454 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var createTypedArrayConstructor = __webpack_require__(435); +var createTypedArrayConstructor = __webpack_require__(439); // `Uint32Array` constructor // https://tc39.es/ecma262/#sec-typedarray-objects @@ -14665,7 +14791,7 @@ createTypedArrayConstructor('Uint32', function (init) { /***/ }), -/* 451 */ +/* 455 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14689,7 +14815,7 @@ exportTypedArrayMethod('at', function at(index) { /***/ }), -/* 452 */ +/* 456 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14710,7 +14836,7 @@ exportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end /***/ }), -/* 453 */ +/* 457 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14729,14 +14855,14 @@ exportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) { /***/ }), -/* 454 */ +/* 458 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var ArrayBufferViewCore = __webpack_require__(218); var $fill = __webpack_require__(150); -var toBigInt = __webpack_require__(442); +var toBigInt = __webpack_require__(446); var classof = __webpack_require__(70); var call = __webpack_require__(8); var uncurryThis = __webpack_require__(14); @@ -14765,14 +14891,14 @@ exportTypedArrayMethod('fill', function fill(value /* , start, end */) { /***/ }), -/* 455 */ +/* 459 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var ArrayBufferViewCore = __webpack_require__(218); var $filter = __webpack_require__(85).filter; -var fromSpeciesAndList = __webpack_require__(456); +var fromSpeciesAndList = __webpack_require__(460); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; @@ -14786,13 +14912,13 @@ exportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) { /***/ }), -/* 456 */ +/* 460 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var arrayFromConstructorAndList = __webpack_require__(199); -var typedArraySpeciesConstructor = __webpack_require__(457); +var typedArraySpeciesConstructor = __webpack_require__(461); module.exports = function (instance, list) { return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list); @@ -14800,7 +14926,7 @@ module.exports = function (instance, list) { /***/ }), -/* 457 */ +/* 461 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14819,7 +14945,7 @@ module.exports = function (originalArray) { /***/ }), -/* 458 */ +/* 462 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14838,7 +14964,7 @@ exportTypedArrayMethod('find', function find(predicate /* , thisArg */) { /***/ }), -/* 459 */ +/* 463 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14857,7 +14983,7 @@ exportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */ /***/ }), -/* 460 */ +/* 464 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14876,7 +15002,7 @@ exportTypedArrayMethod('findLast', function findLast(predicate /* , thisArg */) /***/ }), -/* 461 */ +/* 465 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14895,7 +15021,7 @@ exportTypedArrayMethod('findLastIndex', function findLastIndex(predicate /* , th /***/ }), -/* 462 */ +/* 466 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14914,14 +15040,14 @@ exportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) { /***/ }), -/* 463 */ +/* 467 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(436); +var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(440); var exportTypedArrayStaticMethod = __webpack_require__(218).exportTypedArrayStaticMethod; -var typedArrayFrom = __webpack_require__(440); +var typedArrayFrom = __webpack_require__(444); // `%TypedArray%.from` method // https://tc39.es/ecma262/#sec-%typedarray%.from @@ -14929,7 +15055,7 @@ exportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_R /***/ }), -/* 464 */ +/* 468 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14948,7 +15074,7 @@ exportTypedArrayMethod('includes', function includes(searchElement /* , fromInde /***/ }), -/* 465 */ +/* 469 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14967,7 +15093,7 @@ exportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex /***/ }), -/* 466 */ +/* 470 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15020,7 +15146,7 @@ exportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUE /***/ }), -/* 467 */ +/* 471 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15040,7 +15166,7 @@ exportTypedArrayMethod('join', function join(separator) { /***/ }), -/* 468 */ +/* 472 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15061,14 +15187,14 @@ exportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fr /***/ }), -/* 469 */ +/* 473 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var ArrayBufferViewCore = __webpack_require__(218); var $map = __webpack_require__(85).map; -var typedArraySpeciesConstructor = __webpack_require__(457); +var typedArraySpeciesConstructor = __webpack_require__(461); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; @@ -15083,13 +15209,13 @@ exportTypedArrayMethod('map', function map(mapfn /* , thisArg */) { /***/ }), -/* 470 */ +/* 474 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var ArrayBufferViewCore = __webpack_require__(218); -var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(436); +var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(440); var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; var exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod; @@ -15106,7 +15232,7 @@ exportTypedArrayStaticMethod('of', function of(/* ...items */) { /***/ }), -/* 471 */ +/* 475 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15126,7 +15252,7 @@ exportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */ /***/ }), -/* 472 */ +/* 476 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15146,7 +15272,7 @@ exportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initi /***/ }), -/* 473 */ +/* 477 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15174,7 +15300,7 @@ exportTypedArrayMethod('reverse', function reverse() { /***/ }), -/* 474 */ +/* 478 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15183,7 +15309,7 @@ var global = __webpack_require__(4); var call = __webpack_require__(8); var ArrayBufferViewCore = __webpack_require__(218); var lengthOfArrayLike = __webpack_require__(64); -var toOffset = __webpack_require__(437); +var toOffset = __webpack_require__(441); var toIndexedObject = __webpack_require__(40); var fails = __webpack_require__(7); @@ -15225,13 +15351,13 @@ exportTypedArrayMethod('set', function set(arrayLike /* , offset */) { /***/ }), -/* 475 */ +/* 479 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var ArrayBufferViewCore = __webpack_require__(218); -var typedArraySpeciesConstructor = __webpack_require__(457); +var typedArraySpeciesConstructor = __webpack_require__(461); var fails = __webpack_require__(7); var arraySlice = __webpack_require__(97); @@ -15257,7 +15383,7 @@ exportTypedArrayMethod('slice', function slice(start, end) { /***/ }), -/* 476 */ +/* 480 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15276,7 +15402,7 @@ exportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) { /***/ }), -/* 477 */ +/* 481 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15353,7 +15479,7 @@ exportTypedArrayMethod('sort', function sort(comparefn) { /***/ }), -/* 478 */ +/* 482 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15361,7 +15487,7 @@ exportTypedArrayMethod('sort', function sort(comparefn) { var ArrayBufferViewCore = __webpack_require__(218); var toLength = __webpack_require__(65); var toAbsoluteIndex = __webpack_require__(61); -var typedArraySpeciesConstructor = __webpack_require__(457); +var typedArraySpeciesConstructor = __webpack_require__(461); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; @@ -15382,7 +15508,7 @@ exportTypedArrayMethod('subarray', function subarray(begin, end) { /***/ }), -/* 479 */ +/* 483 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15421,7 +15547,7 @@ exportTypedArrayMethod('toLocaleString', function toLocaleString() { /***/ }), -/* 480 */ +/* 484 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15441,7 +15567,7 @@ exportTypedArrayMethod('toReversed', function toReversed() { /***/ }), -/* 481 */ +/* 485 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15467,7 +15593,7 @@ exportTypedArrayMethod('toSorted', function toSorted(compareFn) { /***/ }), -/* 482 */ +/* 486 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15496,16 +15622,16 @@ exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD); /***/ }), -/* 483 */ +/* 487 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var arrayWith = __webpack_require__(206); var ArrayBufferViewCore = __webpack_require__(218); -var isBigIntArray = __webpack_require__(441); +var isBigIntArray = __webpack_require__(445); var toIntegerOrInfinity = __webpack_require__(62); -var toBigInt = __webpack_require__(442); +var toBigInt = __webpack_require__(446); var aTypedArray = ArrayBufferViewCore.aTypedArray; var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; @@ -15533,7 +15659,7 @@ exportTypedArrayMethod('with', { 'with': function (index, value) { /***/ }), -/* 484 */ +/* 488 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15585,17 +15711,17 @@ $({ global: true }, { /***/ }), -/* 485 */ +/* 489 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove this module from `core-js@4` since it's replaced to module below -__webpack_require__(486); +__webpack_require__(490); /***/ }), -/* 486 */ +/* 490 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15606,7 +15732,7 @@ var uncurryThis = __webpack_require__(14); var defineBuiltIns = __webpack_require__(210); var InternalMetadataModule = __webpack_require__(246); var collection = __webpack_require__(245); -var collectionWeak = __webpack_require__(487); +var collectionWeak = __webpack_require__(491); var isObject = __webpack_require__(20); var enforceInternalState = __webpack_require__(52).enforce; var fails = __webpack_require__(7); @@ -15711,7 +15837,7 @@ if (NATIVE_WEAK_MAP) if (IS_IE11) { /***/ }), -/* 487 */ +/* 491 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15849,23 +15975,23 @@ module.exports = { /***/ }), -/* 488 */ +/* 492 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove this module from `core-js@4` since it's replaced to module below -__webpack_require__(489); +__webpack_require__(493); /***/ }), -/* 489 */ +/* 493 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var collection = __webpack_require__(245); -var collectionWeak = __webpack_require__(487); +var collectionWeak = __webpack_require__(491); // `WeakSet` constructor // https://tc39.es/ecma262/#sec-weakset-constructor @@ -15875,7 +16001,7 @@ collection('WeakSet', function (init) { /***/ }), -/* 490 */ +/* 494 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15928,13 +16054,13 @@ $({ global: true, constructor: true, arity: 3 }, { /***/ }), -/* 491 */ +/* 495 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var fromAsync = __webpack_require__(492); +var fromAsync = __webpack_require__(496); // `Array.fromAsync` method // https://github.com/tc39/proposal-array-from-async @@ -15944,7 +16070,7 @@ $({ target: 'Array', stat: true }, { /***/ }), -/* 492 */ +/* 496 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15953,16 +16079,16 @@ var bind = __webpack_require__(86); var uncurryThis = __webpack_require__(14); var toObject = __webpack_require__(40); var isConstructor = __webpack_require__(91); -var getAsyncIterator = __webpack_require__(493); +var getAsyncIterator = __webpack_require__(497); var getIterator = __webpack_require__(135); -var getIteratorDirect = __webpack_require__(496); +var getIteratorDirect = __webpack_require__(500); var getIteratorMethod = __webpack_require__(136); var getMethod = __webpack_require__(30); var getBuiltIn = __webpack_require__(24); var getBuiltInPrototypeMethod = __webpack_require__(200); var wellKnownSymbol = __webpack_require__(34); -var AsyncFromSyncIterator = __webpack_require__(494); -var toArray = __webpack_require__(497).toArray; +var AsyncFromSyncIterator = __webpack_require__(498); +var toArray = __webpack_require__(501).toArray; var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); var arrayIterator = uncurryThis(getBuiltInPrototypeMethod('Array', 'values')); @@ -16002,16 +16128,16 @@ module.exports = function fromAsync(asyncItems /* , mapfn = undefined, thisArg = /***/ }), -/* 493 */ +/* 497 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var call = __webpack_require__(8); -var AsyncFromSyncIterator = __webpack_require__(494); +var AsyncFromSyncIterator = __webpack_require__(498); var anObject = __webpack_require__(47); var getIterator = __webpack_require__(135); -var getIteratorDirect = __webpack_require__(496); +var getIteratorDirect = __webpack_require__(500); var getMethod = __webpack_require__(30); var wellKnownSymbol = __webpack_require__(34); @@ -16024,7 +16150,7 @@ module.exports = function (it, usingIterator) { /***/ }), -/* 494 */ +/* 498 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16036,7 +16162,7 @@ var getMethod = __webpack_require__(30); var defineBuiltIns = __webpack_require__(210); var InternalStateModule = __webpack_require__(52); var getBuiltIn = __webpack_require__(24); -var AsyncIteratorPrototype = __webpack_require__(495); +var AsyncIteratorPrototype = __webpack_require__(499); var createIterResultObject = __webpack_require__(173); var Promise = getBuiltIn('Promise'); @@ -16080,7 +16206,7 @@ module.exports = AsyncFromSyncIterator; /***/ }), -/* 495 */ +/* 499 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16125,7 +16251,7 @@ module.exports = AsyncIteratorPrototype; /***/ }), -/* 496 */ +/* 500 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16142,7 +16268,7 @@ module.exports = function (obj) { /***/ }), -/* 497 */ +/* 501 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16155,8 +16281,8 @@ var anObject = __webpack_require__(47); var isObject = __webpack_require__(20); var doesNotExceedSafeInteger = __webpack_require__(142); var getBuiltIn = __webpack_require__(24); -var getIteratorDirect = __webpack_require__(496); -var closeAsyncIteration = __webpack_require__(498); +var getIteratorDirect = __webpack_require__(500); +var closeAsyncIteration = __webpack_require__(502); var createMethod = function (TYPE) { var IS_TO_ARRAY = TYPE === 0; @@ -16239,7 +16365,7 @@ module.exports = { /***/ }), -/* 498 */ +/* 502 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16265,7 +16391,7 @@ module.exports = function (iterator, method, argument, reject) { /***/ }), -/* 499 */ +/* 503 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16287,7 +16413,7 @@ addToUnscopables('filterOut'); /***/ }), -/* 500 */ +/* 504 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16308,13 +16434,13 @@ addToUnscopables('filterReject'); /***/ }), -/* 501 */ +/* 505 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var $group = __webpack_require__(502); +var $group = __webpack_require__(506); var addToUnscopables = __webpack_require__(140); // `Array.prototype.group` method @@ -16330,7 +16456,7 @@ addToUnscopables('group'); /***/ }), -/* 502 */ +/* 506 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16374,14 +16500,14 @@ module.exports = function ($this, callbackfn, that, specificConstructor) { /***/ }), -/* 503 */ +/* 507 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove from `core-js@4` var $ = __webpack_require__(3); -var $group = __webpack_require__(502); +var $group = __webpack_require__(506); var arrayMethodIsStrict = __webpack_require__(148); var addToUnscopables = __webpack_require__(140); @@ -16399,7 +16525,7 @@ addToUnscopables('groupBy'); /***/ }), -/* 504 */ +/* 508 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16408,7 +16534,7 @@ addToUnscopables('groupBy'); var $ = __webpack_require__(3); var arrayMethodIsStrict = __webpack_require__(148); var addToUnscopables = __webpack_require__(140); -var $groupToMap = __webpack_require__(505); +var $groupToMap = __webpack_require__(509); var IS_PURE = __webpack_require__(36); // `Array.prototype.groupByToMap` method @@ -16422,7 +16548,7 @@ addToUnscopables('groupByToMap'); /***/ }), -/* 505 */ +/* 509 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16432,7 +16558,7 @@ var uncurryThis = __webpack_require__(14); var IndexedObject = __webpack_require__(13); var toObject = __webpack_require__(40); var lengthOfArrayLike = __webpack_require__(64); -var MapHelpers = __webpack_require__(506); +var MapHelpers = __webpack_require__(252); var Map = MapHelpers.Map; var mapGet = MapHelpers.get; @@ -16460,36 +16586,14 @@ module.exports = function groupToMap(callbackfn /* , thisArg */) { /***/ }), -/* 506 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var uncurryThis = __webpack_require__(14); - -// eslint-disable-next-line es/no-map -- safe -var MapPrototype = Map.prototype; - -module.exports = { - // eslint-disable-next-line es/no-map -- safe - Map: Map, - set: uncurryThis(MapPrototype.set), - get: uncurryThis(MapPrototype.get), - has: uncurryThis(MapPrototype.has), - remove: uncurryThis(MapPrototype['delete']), - proto: MapPrototype -}; - - -/***/ }), -/* 507 */ +/* 510 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var addToUnscopables = __webpack_require__(140); -var $groupToMap = __webpack_require__(505); +var $groupToMap = __webpack_require__(509); var IS_PURE = __webpack_require__(36); // `Array.prototype.groupToMap` method @@ -16502,7 +16606,7 @@ addToUnscopables('groupToMap'); /***/ }), -/* 508 */ +/* 511 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16538,7 +16642,7 @@ $({ target: 'Array', stat: true, sham: true, forced: true }, { /***/ }), -/* 509 */ +/* 512 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16567,7 +16671,7 @@ if (DESCRIPTORS) { /***/ }), -/* 510 */ +/* 513 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16601,14 +16705,14 @@ if (DESCRIPTORS) { /***/ }), -/* 511 */ +/* 514 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var addToUnscopables = __webpack_require__(140); -var uniqueBy = __webpack_require__(512); +var uniqueBy = __webpack_require__(515); // `Array.prototype.uniqueBy` method // https://github.com/tc39/proposal-array-unique @@ -16620,7 +16724,7 @@ addToUnscopables('uniqueBy'); /***/ }), -/* 512 */ +/* 515 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16630,8 +16734,8 @@ var aCallable = __webpack_require__(31); var isNullOrUndefined = __webpack_require__(17); var lengthOfArrayLike = __webpack_require__(64); var toObject = __webpack_require__(40); -var MapHelpers = __webpack_require__(506); -var iterate = __webpack_require__(513); +var MapHelpers = __webpack_require__(252); +var iterate = __webpack_require__(516); var Map = MapHelpers.Map; var mapHas = MapHelpers.has; @@ -16662,14 +16766,14 @@ module.exports = function uniqueBy(resolver) { /***/ }), -/* 513 */ +/* 516 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var uncurryThis = __webpack_require__(14); -var iterateSimple = __webpack_require__(514); -var MapHelpers = __webpack_require__(506); +var iterateSimple = __webpack_require__(517); +var MapHelpers = __webpack_require__(252); var Map = MapHelpers.Map; var MapPrototype = MapHelpers.proto; @@ -16685,7 +16789,7 @@ module.exports = function (map, fn, interruptible) { /***/ }), -/* 514 */ +/* 517 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16704,14 +16808,14 @@ module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) { /***/ }), -/* 515 */ +/* 518 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var DESCRIPTORS = __webpack_require__(6); var defineBuiltInAccessor = __webpack_require__(79); -var isDetached = __webpack_require__(516); +var isDetached = __webpack_require__(519); var ArrayBufferPrototype = ArrayBuffer.prototype; @@ -16726,13 +16830,13 @@ if (DESCRIPTORS && !('detached' in ArrayBufferPrototype)) { /***/ }), -/* 516 */ +/* 519 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var uncurryThis = __webpack_require__(14); -var arrayBufferByteLength = __webpack_require__(517); +var arrayBufferByteLength = __webpack_require__(520); var slice = uncurryThis(ArrayBuffer.prototype.slice); @@ -16748,7 +16852,7 @@ module.exports = function (O) { /***/ }), -/* 517 */ +/* 520 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16768,13 +16872,13 @@ module.exports = uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') /***/ }), -/* 518 */ +/* 521 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var $transfer = __webpack_require__(519); +var $transfer = __webpack_require__(522); // `ArrayBuffer.prototype.transfer` method // https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfer @@ -16786,7 +16890,7 @@ if ($transfer) $({ target: 'ArrayBuffer', proto: true }, { /***/ }), -/* 519 */ +/* 522 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16795,10 +16899,10 @@ var global = __webpack_require__(4); var uncurryThis = __webpack_require__(14); var uncurryThisAccessor = __webpack_require__(117); var toIndex = __webpack_require__(212); -var isDetached = __webpack_require__(516); -var arrayBufferByteLength = __webpack_require__(517); -var detachTransferable = __webpack_require__(520); -var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(522); +var isDetached = __webpack_require__(519); +var arrayBufferByteLength = __webpack_require__(520); +var detachTransferable = __webpack_require__(523); +var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(525); var structuredClone = global.structuredClone; var ArrayBuffer = global.ArrayBuffer; @@ -16839,14 +16943,14 @@ module.exports = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferable) && fun /***/ }), -/* 520 */ +/* 523 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var global = __webpack_require__(4); -var tryNodeRequire = __webpack_require__(521); -var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(522); +var tryNodeRequire = __webpack_require__(524); +var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(525); var structuredClone = global.structuredClone; var $ArrayBuffer = global.ArrayBuffer; @@ -16883,7 +16987,7 @@ module.exports = detach; /***/ }), -/* 521 */ +/* 524 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16899,7 +17003,7 @@ module.exports = function (name) { /***/ }), -/* 522 */ +/* 525 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16907,8 +17011,8 @@ module.exports = function (name) { var global = __webpack_require__(4); var fails = __webpack_require__(7); var V8 = __webpack_require__(28); -var IS_BROWSER = __webpack_require__(339); -var IS_DENO = __webpack_require__(340); +var IS_BROWSER = __webpack_require__(342); +var IS_DENO = __webpack_require__(343); var IS_NODE = __webpack_require__(183); var structuredClone = global.structuredClone; @@ -16924,13 +17028,13 @@ module.exports = !!structuredClone && !fails(function () { /***/ }), -/* 523 */ +/* 526 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var $transfer = __webpack_require__(519); +var $transfer = __webpack_require__(522); // `ArrayBuffer.prototype.transferToFixedLength` method // https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfertofixedlength @@ -16942,7 +17046,7 @@ if ($transfer) $({ target: 'ArrayBuffer', proto: true }, { /***/ }), -/* 524 */ +/* 527 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16958,7 +17062,7 @@ var defineBuiltIns = __webpack_require__(210); var defineBuiltInAccessor = __webpack_require__(79); var wellKnownSymbol = __webpack_require__(34); var InternalStateModule = __webpack_require__(52); -var addDisposableResource = __webpack_require__(525); +var addDisposableResource = __webpack_require__(528); var Promise = getBuiltIn('Promise'); var SuppressedError = getBuiltIn('SuppressedError'); @@ -17079,7 +17183,7 @@ $({ global: true, constructor: true }, { /***/ }), -/* 525 */ +/* 528 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -17141,7 +17245,7 @@ module.exports = function (disposable, V, hint, method) { /***/ }), -/* 526 */ +/* 529 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -17152,7 +17256,7 @@ var getPrototypeOf = __webpack_require__(130); var createNonEnumerableProperty = __webpack_require__(44); var hasOwn = __webpack_require__(39); var wellKnownSymbol = __webpack_require__(34); -var AsyncIteratorPrototype = __webpack_require__(495); +var AsyncIteratorPrototype = __webpack_require__(499); var IS_PURE = __webpack_require__(36); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); @@ -17182,14 +17286,14 @@ $({ global: true, constructor: true, forced: IS_PURE }, { /***/ }), -/* 527 */ +/* 530 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove from `core-js@4` var $ = __webpack_require__(3); -var indexed = __webpack_require__(528); +var indexed = __webpack_require__(531); // `AsyncIterator.prototype.asIndexedPairs` method // https://github.com/tc39/proposal-iterator-helpers @@ -17199,13 +17303,13 @@ $({ target: 'AsyncIterator', name: 'indexed', proto: true, real: true, forced: t /***/ }), -/* 528 */ +/* 531 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var call = __webpack_require__(8); -var map = __webpack_require__(529); +var map = __webpack_require__(532); var callback = function (value, counter) { return [counter, value]; @@ -17219,7 +17323,7 @@ module.exports = function indexed() { /***/ }), -/* 529 */ +/* 532 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -17228,10 +17332,10 @@ var call = __webpack_require__(8); var aCallable = __webpack_require__(31); var anObject = __webpack_require__(47); var isObject = __webpack_require__(20); -var getIteratorDirect = __webpack_require__(496); -var createAsyncIteratorProxy = __webpack_require__(530); +var getIteratorDirect = __webpack_require__(500); +var createAsyncIteratorProxy = __webpack_require__(533); var createIterResultObject = __webpack_require__(173); -var closeAsyncIteration = __webpack_require__(498); +var closeAsyncIteration = __webpack_require__(502); var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { var state = this; @@ -17283,13 +17387,13 @@ module.exports = function map(mapper) { /***/ }), -/* 530 */ +/* 533 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var call = __webpack_require__(8); -var perform = __webpack_require__(336); +var perform = __webpack_require__(339); var anObject = __webpack_require__(47); var create = __webpack_require__(72); var createNonEnumerableProperty = __webpack_require__(44); @@ -17298,7 +17402,7 @@ var wellKnownSymbol = __webpack_require__(34); var InternalStateModule = __webpack_require__(52); var getBuiltIn = __webpack_require__(24); var getMethod = __webpack_require__(30); -var AsyncIteratorPrototype = __webpack_require__(495); +var AsyncIteratorPrototype = __webpack_require__(499); var createIterResultObject = __webpack_require__(173); var iteratorClose = __webpack_require__(137); @@ -17395,7 +17499,7 @@ module.exports = function (nextHandler, IS_ITERATOR) { /***/ }), -/* 531 */ +/* 534 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -17407,7 +17511,7 @@ var getBuiltIn = __webpack_require__(24); var getMethod = __webpack_require__(30); var hasOwn = __webpack_require__(39); var wellKnownSymbol = __webpack_require__(34); -var AsyncIteratorPrototype = __webpack_require__(495); +var AsyncIteratorPrototype = __webpack_require__(499); var ASYNC_DISPOSE = wellKnownSymbol('asyncDispose'); var Promise = getBuiltIn('Promise'); @@ -17428,7 +17532,7 @@ if (!hasOwn(AsyncIteratorPrototype, ASYNC_DISPOSE)) { /***/ }), -/* 532 */ +/* 535 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -17436,10 +17540,10 @@ if (!hasOwn(AsyncIteratorPrototype, ASYNC_DISPOSE)) { var $ = __webpack_require__(3); var call = __webpack_require__(8); var anObject = __webpack_require__(47); -var getIteratorDirect = __webpack_require__(496); -var notANaN = __webpack_require__(533); -var toPositiveInteger = __webpack_require__(438); -var createAsyncIteratorProxy = __webpack_require__(530); +var getIteratorDirect = __webpack_require__(500); +var notANaN = __webpack_require__(536); +var toPositiveInteger = __webpack_require__(442); +var createAsyncIteratorProxy = __webpack_require__(533); var createIterResultObject = __webpack_require__(173); var IS_PURE = __webpack_require__(36); @@ -17486,7 +17590,7 @@ $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 533 */ +/* 536 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -17501,13 +17605,13 @@ module.exports = function (it) { /***/ }), -/* 534 */ +/* 537 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var $every = __webpack_require__(497).every; +var $every = __webpack_require__(501).every; // `AsyncIterator.prototype.every` method // https://github.com/tc39/proposal-async-iterator-helpers @@ -17519,7 +17623,7 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { /***/ }), -/* 535 */ +/* 538 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -17529,10 +17633,10 @@ var call = __webpack_require__(8); var aCallable = __webpack_require__(31); var anObject = __webpack_require__(47); var isObject = __webpack_require__(20); -var getIteratorDirect = __webpack_require__(496); -var createAsyncIteratorProxy = __webpack_require__(530); +var getIteratorDirect = __webpack_require__(500); +var createAsyncIteratorProxy = __webpack_require__(533); var createIterResultObject = __webpack_require__(173); -var closeAsyncIteration = __webpack_require__(498); +var closeAsyncIteration = __webpack_require__(502); var IS_PURE = __webpack_require__(36); var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { @@ -17593,13 +17697,13 @@ $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 536 */ +/* 539 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var $find = __webpack_require__(497).find; +var $find = __webpack_require__(501).find; // `AsyncIterator.prototype.find` method // https://github.com/tc39/proposal-async-iterator-helpers @@ -17611,7 +17715,7 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { /***/ }), -/* 537 */ +/* 540 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -17621,11 +17725,11 @@ var call = __webpack_require__(8); var aCallable = __webpack_require__(31); var anObject = __webpack_require__(47); var isObject = __webpack_require__(20); -var getIteratorDirect = __webpack_require__(496); -var createAsyncIteratorProxy = __webpack_require__(530); +var getIteratorDirect = __webpack_require__(500); +var createAsyncIteratorProxy = __webpack_require__(533); var createIterResultObject = __webpack_require__(173); -var getAsyncIteratorFlattenable = __webpack_require__(538); -var closeAsyncIteration = __webpack_require__(498); +var getAsyncIteratorFlattenable = __webpack_require__(541); +var closeAsyncIteration = __webpack_require__(502); var IS_PURE = __webpack_require__(36); var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { @@ -17706,7 +17810,7 @@ $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 538 */ +/* 541 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -17714,11 +17818,11 @@ $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { var call = __webpack_require__(8); var isCallable = __webpack_require__(21); var anObject = __webpack_require__(47); -var getIteratorDirect = __webpack_require__(496); +var getIteratorDirect = __webpack_require__(500); var getIteratorMethod = __webpack_require__(136); var getMethod = __webpack_require__(30); var wellKnownSymbol = __webpack_require__(34); -var AsyncFromSyncIterator = __webpack_require__(494); +var AsyncFromSyncIterator = __webpack_require__(498); var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); @@ -17743,13 +17847,13 @@ module.exports = function (obj) { /***/ }), -/* 539 */ +/* 542 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var $forEach = __webpack_require__(497).forEach; +var $forEach = __webpack_require__(501).forEach; // `AsyncIterator.prototype.forEach` method // https://github.com/tc39/proposal-async-iterator-helpers @@ -17761,7 +17865,7 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { /***/ }), -/* 540 */ +/* 543 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -17769,9 +17873,9 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { var $ = __webpack_require__(3); var toObject = __webpack_require__(40); var isPrototypeOf = __webpack_require__(25); -var getAsyncIteratorFlattenable = __webpack_require__(538); -var AsyncIteratorPrototype = __webpack_require__(495); -var WrapAsyncIterator = __webpack_require__(541); +var getAsyncIteratorFlattenable = __webpack_require__(541); +var AsyncIteratorPrototype = __webpack_require__(499); +var WrapAsyncIterator = __webpack_require__(544); var IS_PURE = __webpack_require__(36); // `AsyncIterator.from` method @@ -17787,13 +17891,13 @@ $({ target: 'AsyncIterator', stat: true, forced: IS_PURE }, { /***/ }), -/* 541 */ +/* 544 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var call = __webpack_require__(8); -var createAsyncIteratorProxy = __webpack_require__(530); +var createAsyncIteratorProxy = __webpack_require__(533); module.exports = createAsyncIteratorProxy(function () { return call(this.next, this.iterator); @@ -17801,14 +17905,14 @@ module.exports = createAsyncIteratorProxy(function () { /***/ }), -/* 542 */ +/* 545 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove from `core-js@4` var $ = __webpack_require__(3); -var indexed = __webpack_require__(528); +var indexed = __webpack_require__(531); // `AsyncIterator.prototype.indexed` method // https://github.com/tc39/proposal-iterator-helpers @@ -17818,13 +17922,13 @@ $({ target: 'AsyncIterator', proto: true, real: true, forced: true }, { /***/ }), -/* 543 */ +/* 546 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var map = __webpack_require__(529); +var map = __webpack_require__(532); var IS_PURE = __webpack_require__(36); // `AsyncIterator.prototype.map` method @@ -17836,7 +17940,7 @@ $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 544 */ +/* 547 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -17847,8 +17951,8 @@ var aCallable = __webpack_require__(31); var anObject = __webpack_require__(47); var isObject = __webpack_require__(20); var getBuiltIn = __webpack_require__(24); -var getIteratorDirect = __webpack_require__(496); -var closeAsyncIteration = __webpack_require__(498); +var getIteratorDirect = __webpack_require__(500); +var closeAsyncIteration = __webpack_require__(502); var Promise = getBuiltIn('Promise'); var $TypeError = TypeError; @@ -17908,13 +18012,13 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { /***/ }), -/* 545 */ +/* 548 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var $some = __webpack_require__(497).some; +var $some = __webpack_require__(501).some; // `AsyncIterator.prototype.some` method // https://github.com/tc39/proposal-async-iterator-helpers @@ -17926,7 +18030,7 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { /***/ }), -/* 546 */ +/* 549 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -17934,10 +18038,10 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { var $ = __webpack_require__(3); var call = __webpack_require__(8); var anObject = __webpack_require__(47); -var getIteratorDirect = __webpack_require__(496); -var notANaN = __webpack_require__(533); -var toPositiveInteger = __webpack_require__(438); -var createAsyncIteratorProxy = __webpack_require__(530); +var getIteratorDirect = __webpack_require__(500); +var notANaN = __webpack_require__(536); +var toPositiveInteger = __webpack_require__(442); +var createAsyncIteratorProxy = __webpack_require__(533); var createIterResultObject = __webpack_require__(173); var IS_PURE = __webpack_require__(36); @@ -17981,13 +18085,13 @@ $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 547 */ +/* 550 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var $toArray = __webpack_require__(497).toArray; +var $toArray = __webpack_require__(501).toArray; // `AsyncIterator.prototype.toArray` method // https://github.com/tc39/proposal-async-iterator-helpers @@ -17999,14 +18103,14 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { /***/ }), -/* 548 */ +/* 551 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable es/no-bigint -- safe */ var $ = __webpack_require__(3); -var NumericRangeIterator = __webpack_require__(549); +var NumericRangeIterator = __webpack_require__(552); // `BigInt.range` method // https://github.com/tc39/proposal-Number.range @@ -18021,7 +18125,7 @@ if (typeof BigInt == 'function') { /***/ }), -/* 549 */ +/* 552 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18134,14 +18238,14 @@ module.exports = $RangeIterator; /***/ }), -/* 550 */ +/* 553 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var apply = __webpack_require__(96); -var getCompositeKeyNode = __webpack_require__(551); +var getCompositeKeyNode = __webpack_require__(554); var getBuiltIn = __webpack_require__(24); var create = __webpack_require__(72); @@ -18161,14 +18265,14 @@ $({ global: true, forced: true }, { /***/ }), -/* 551 */ +/* 554 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` __webpack_require__(243); -__webpack_require__(485); +__webpack_require__(489); var getBuiltIn = __webpack_require__(24); var create = __webpack_require__(72); var isObject = __webpack_require__(20); @@ -18218,13 +18322,13 @@ module.exports = function () { /***/ }), -/* 552 */ +/* 555 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var getCompositeKeyNode = __webpack_require__(551); +var getCompositeKeyNode = __webpack_require__(554); var getBuiltIn = __webpack_require__(24); var apply = __webpack_require__(96); @@ -18238,7 +18342,7 @@ $({ global: true, forced: true }, { /***/ }), -/* 553 */ +/* 556 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18261,7 +18365,7 @@ $({ target: 'DataView', proto: true }, { /***/ }), -/* 554 */ +/* 557 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18282,7 +18386,7 @@ $({ target: 'DataView', proto: true, forced: true }, { /***/ }), -/* 555 */ +/* 558 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18292,7 +18396,7 @@ var uncurryThis = __webpack_require__(14); var classof = __webpack_require__(70); var toIndex = __webpack_require__(212); var packIEEE754 = __webpack_require__(216).pack; -var f16round = __webpack_require__(556); +var f16round = __webpack_require__(559); var $TypeError = TypeError; // eslint-disable-next-line es/no-typed-arrays -- safe @@ -18311,7 +18415,7 @@ $({ target: 'DataView', proto: true }, { /***/ }), -/* 556 */ +/* 559 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18330,7 +18434,7 @@ module.exports = Math.f16round || function f16round(x) { /***/ }), -/* 557 */ +/* 560 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18339,7 +18443,7 @@ var $ = __webpack_require__(3); var uncurryThis = __webpack_require__(14); var classof = __webpack_require__(70); var toIndex = __webpack_require__(212); -var toUint8Clamped = __webpack_require__(439); +var toUint8Clamped = __webpack_require__(443); var $TypeError = TypeError; // eslint-disable-next-line es/no-typed-arrays -- safe @@ -18357,7 +18461,7 @@ $({ target: 'DataView', proto: true, forced: true }, { /***/ }), -/* 558 */ +/* 561 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18373,7 +18477,7 @@ var defineBuiltIns = __webpack_require__(210); var defineBuiltInAccessor = __webpack_require__(79); var wellKnownSymbol = __webpack_require__(34); var InternalStateModule = __webpack_require__(52); -var addDisposableResource = __webpack_require__(525); +var addDisposableResource = __webpack_require__(528); var SuppressedError = getBuiltIn('SuppressedError'); var $ReferenceError = ReferenceError; @@ -18478,13 +18582,13 @@ $({ global: true, constructor: true }, { /***/ }), -/* 559 */ +/* 562 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var demethodize = __webpack_require__(560); +var demethodize = __webpack_require__(563); // `Function.prototype.demethodize` method // https://github.com/js-choi/proposal-function-demethodize @@ -18494,7 +18598,7 @@ $({ target: 'Function', proto: true, forced: true }, { /***/ }), -/* 560 */ +/* 563 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18508,7 +18612,7 @@ module.exports = function demethodize() { /***/ }), -/* 561 */ +/* 564 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18545,7 +18649,7 @@ $({ target: 'Function', stat: true, sham: true, forced: true }, { /***/ }), -/* 562 */ +/* 565 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18561,7 +18665,7 @@ $({ target: 'Function', stat: true, forced: true }, { /***/ }), -/* 563 */ +/* 566 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18582,13 +18686,13 @@ if (FunctionPrototype[METADATA] === undefined) { /***/ }), -/* 564 */ +/* 567 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var demethodize = __webpack_require__(560); +var demethodize = __webpack_require__(563); // `Function.prototype.unThis` method // https://github.com/js-choi/proposal-function-demethodize @@ -18599,7 +18703,7 @@ $({ target: 'Function', proto: true, forced: true, name: 'demethodize' }, { /***/ }), -/* 565 */ +/* 568 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18607,19 +18711,24 @@ $({ target: 'Function', proto: true, forced: true, name: 'demethodize' }, { var $ = __webpack_require__(3); var global = __webpack_require__(4); var anInstance = __webpack_require__(211); +var anObject = __webpack_require__(47); var isCallable = __webpack_require__(21); var getPrototypeOf = __webpack_require__(130); -var createNonEnumerableProperty = __webpack_require__(44); +var defineBuiltInAccessor = __webpack_require__(79); +var createProperty = __webpack_require__(78); var fails = __webpack_require__(7); var hasOwn = __webpack_require__(39); var wellKnownSymbol = __webpack_require__(34); var IteratorPrototype = __webpack_require__(172).IteratorPrototype; +var DESCRIPTORS = __webpack_require__(6); var IS_PURE = __webpack_require__(36); +var CONSTRUCTOR = 'constructor'; +var ITERATOR = 'Iterator'; var TO_STRING_TAG = wellKnownSymbol('toStringTag'); var $TypeError = TypeError; -var NativeIterator = global.Iterator; +var NativeIterator = global[ITERATOR]; // FF56- have non-standard global helper `Iterator` var FORCED = IS_PURE @@ -18633,12 +18742,27 @@ var IteratorConstructor = function Iterator() { if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable'); }; -if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) { - createNonEnumerableProperty(IteratorPrototype, TO_STRING_TAG, 'Iterator'); -} +var defineIteratorPrototypeAccessor = function (key, value) { + if (DESCRIPTORS) { + defineBuiltInAccessor(IteratorPrototype, key, { + configurable: true, + get: function () { + return value; + }, + set: function (replacement) { + anObject(this); + if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property"); + if (hasOwn(this, key)) this[key] = replacement; + else createProperty(this, key, replacement); + } + }); + } else IteratorPrototype[key] = value; +}; -if (FORCED || !hasOwn(IteratorPrototype, 'constructor') || IteratorPrototype.constructor === Object) { - createNonEnumerableProperty(IteratorPrototype, 'constructor', IteratorConstructor); +if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR); + +if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) { + defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor); } IteratorConstructor.prototype = IteratorPrototype; @@ -18651,14 +18775,14 @@ $({ global: true, constructor: true, forced: FORCED }, { /***/ }), -/* 566 */ +/* 569 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove from `core-js@4` var $ = __webpack_require__(3); -var indexed = __webpack_require__(567); +var indexed = __webpack_require__(570); // `Iterator.prototype.asIndexedPairs` method // https://github.com/tc39/proposal-iterator-helpers @@ -18668,13 +18792,13 @@ $({ target: 'Iterator', name: 'indexed', proto: true, real: true, forced: true } /***/ }), -/* 567 */ +/* 570 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var call = __webpack_require__(8); -var map = __webpack_require__(568); +var map = __webpack_require__(571); var callback = function (value, counter) { return [counter, value]; @@ -18688,7 +18812,7 @@ module.exports = function indexed() { /***/ }), -/* 568 */ +/* 571 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18696,8 +18820,8 @@ module.exports = function indexed() { var call = __webpack_require__(8); var aCallable = __webpack_require__(31); var anObject = __webpack_require__(47); -var getIteratorDirect = __webpack_require__(496); -var createIteratorProxy = __webpack_require__(569); +var getIteratorDirect = __webpack_require__(500); +var createIteratorProxy = __webpack_require__(572); var callWithSafeIterationClosing = __webpack_require__(164); var IteratorProxy = createIteratorProxy(function () { @@ -18719,7 +18843,7 @@ module.exports = function map(mapper) { /***/ }), -/* 569 */ +/* 572 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18802,7 +18926,7 @@ module.exports = function (nextHandler, IS_ITERATOR) { /***/ }), -/* 570 */ +/* 573 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18826,7 +18950,7 @@ if (!hasOwn(IteratorPrototype, DISPOSE)) { /***/ }), -/* 571 */ +/* 574 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18834,10 +18958,10 @@ if (!hasOwn(IteratorPrototype, DISPOSE)) { var $ = __webpack_require__(3); var call = __webpack_require__(8); var anObject = __webpack_require__(47); -var getIteratorDirect = __webpack_require__(496); -var notANaN = __webpack_require__(533); -var toPositiveInteger = __webpack_require__(438); -var createIteratorProxy = __webpack_require__(569); +var getIteratorDirect = __webpack_require__(500); +var notANaN = __webpack_require__(536); +var toPositiveInteger = __webpack_require__(442); +var createIteratorProxy = __webpack_require__(572); var IS_PURE = __webpack_require__(36); var IteratorProxy = createIteratorProxy(function () { @@ -18869,7 +18993,7 @@ $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 572 */ +/* 575 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18878,7 +19002,7 @@ var $ = __webpack_require__(3); var iterate = __webpack_require__(132); var aCallable = __webpack_require__(31); var anObject = __webpack_require__(47); -var getIteratorDirect = __webpack_require__(496); +var getIteratorDirect = __webpack_require__(500); // `Iterator.prototype.every` method // https://github.com/tc39/proposal-iterator-helpers @@ -18896,7 +19020,7 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 573 */ +/* 576 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18905,8 +19029,8 @@ var $ = __webpack_require__(3); var call = __webpack_require__(8); var aCallable = __webpack_require__(31); var anObject = __webpack_require__(47); -var getIteratorDirect = __webpack_require__(496); -var createIteratorProxy = __webpack_require__(569); +var getIteratorDirect = __webpack_require__(500); +var createIteratorProxy = __webpack_require__(572); var callWithSafeIterationClosing = __webpack_require__(164); var IS_PURE = __webpack_require__(36); @@ -18938,7 +19062,7 @@ $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 574 */ +/* 577 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18947,7 +19071,7 @@ var $ = __webpack_require__(3); var iterate = __webpack_require__(132); var aCallable = __webpack_require__(31); var anObject = __webpack_require__(47); -var getIteratorDirect = __webpack_require__(496); +var getIteratorDirect = __webpack_require__(500); // `Iterator.prototype.find` method // https://github.com/tc39/proposal-iterator-helpers @@ -18965,7 +19089,7 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 575 */ +/* 578 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -18974,9 +19098,9 @@ var $ = __webpack_require__(3); var call = __webpack_require__(8); var aCallable = __webpack_require__(31); var anObject = __webpack_require__(47); -var getIteratorDirect = __webpack_require__(496); -var getIteratorFlattenable = __webpack_require__(576); -var createIteratorProxy = __webpack_require__(569); +var getIteratorDirect = __webpack_require__(500); +var getIteratorFlattenable = __webpack_require__(579); +var createIteratorProxy = __webpack_require__(572); var iteratorClose = __webpack_require__(137); var IS_PURE = __webpack_require__(36); @@ -19017,14 +19141,14 @@ $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 576 */ +/* 579 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var call = __webpack_require__(8); var anObject = __webpack_require__(47); -var getIteratorDirect = __webpack_require__(496); +var getIteratorDirect = __webpack_require__(500); var getIteratorMethod = __webpack_require__(136); module.exports = function (obj, stringHandling) { @@ -19035,7 +19159,7 @@ module.exports = function (obj, stringHandling) { /***/ }), -/* 577 */ +/* 580 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -19044,7 +19168,7 @@ var $ = __webpack_require__(3); var iterate = __webpack_require__(132); var aCallable = __webpack_require__(31); var anObject = __webpack_require__(47); -var getIteratorDirect = __webpack_require__(496); +var getIteratorDirect = __webpack_require__(500); // `Iterator.prototype.forEach` method // https://github.com/tc39/proposal-iterator-helpers @@ -19062,7 +19186,7 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 578 */ +/* 581 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -19072,8 +19196,8 @@ var call = __webpack_require__(8); var toObject = __webpack_require__(40); var isPrototypeOf = __webpack_require__(25); var IteratorPrototype = __webpack_require__(172).IteratorPrototype; -var createIteratorProxy = __webpack_require__(569); -var getIteratorFlattenable = __webpack_require__(576); +var createIteratorProxy = __webpack_require__(572); +var getIteratorFlattenable = __webpack_require__(579); var IS_PURE = __webpack_require__(36); var IteratorProxy = createIteratorProxy(function () { @@ -19093,14 +19217,14 @@ $({ target: 'Iterator', stat: true, forced: IS_PURE }, { /***/ }), -/* 579 */ +/* 582 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove from `core-js@4` var $ = __webpack_require__(3); -var indexed = __webpack_require__(567); +var indexed = __webpack_require__(570); // `Iterator.prototype.indexed` method // https://github.com/tc39/proposal-iterator-helpers @@ -19110,13 +19234,13 @@ $({ target: 'Iterator', proto: true, real: true, forced: true }, { /***/ }), -/* 580 */ +/* 583 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var map = __webpack_require__(568); +var map = __webpack_require__(571); var IS_PURE = __webpack_require__(36); // `Iterator.prototype.map` method @@ -19127,14 +19251,14 @@ $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 581 */ +/* 584 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable es/no-bigint -- safe */ var $ = __webpack_require__(3); -var NumericRangeIterator = __webpack_require__(549); +var NumericRangeIterator = __webpack_require__(552); var $TypeError = TypeError; @@ -19150,7 +19274,7 @@ $({ target: 'Iterator', stat: true, forced: true }, { /***/ }), -/* 582 */ +/* 585 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -19159,7 +19283,7 @@ var $ = __webpack_require__(3); var iterate = __webpack_require__(132); var aCallable = __webpack_require__(31); var anObject = __webpack_require__(47); -var getIteratorDirect = __webpack_require__(496); +var getIteratorDirect = __webpack_require__(500); var $TypeError = TypeError; @@ -19189,7 +19313,7 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 583 */ +/* 586 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -19198,7 +19322,7 @@ var $ = __webpack_require__(3); var iterate = __webpack_require__(132); var aCallable = __webpack_require__(31); var anObject = __webpack_require__(47); -var getIteratorDirect = __webpack_require__(496); +var getIteratorDirect = __webpack_require__(500); // `Iterator.prototype.some` method // https://github.com/tc39/proposal-iterator-helpers @@ -19216,7 +19340,7 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 584 */ +/* 587 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -19224,10 +19348,10 @@ $({ target: 'Iterator', proto: true, real: true }, { var $ = __webpack_require__(3); var call = __webpack_require__(8); var anObject = __webpack_require__(47); -var getIteratorDirect = __webpack_require__(496); -var notANaN = __webpack_require__(533); -var toPositiveInteger = __webpack_require__(438); -var createIteratorProxy = __webpack_require__(569); +var getIteratorDirect = __webpack_require__(500); +var notANaN = __webpack_require__(536); +var toPositiveInteger = __webpack_require__(442); +var createIteratorProxy = __webpack_require__(572); var iteratorClose = __webpack_require__(137); var IS_PURE = __webpack_require__(36); @@ -19256,7 +19380,7 @@ $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 585 */ +/* 588 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -19264,7 +19388,7 @@ $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { var $ = __webpack_require__(3); var anObject = __webpack_require__(47); var iterate = __webpack_require__(132); -var getIteratorDirect = __webpack_require__(496); +var getIteratorDirect = __webpack_require__(500); var push = [].push; @@ -19280,16 +19404,16 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 586 */ +/* 589 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var anObject = __webpack_require__(47); -var AsyncFromSyncIterator = __webpack_require__(494); -var WrapAsyncIterator = __webpack_require__(541); -var getIteratorDirect = __webpack_require__(496); +var AsyncFromSyncIterator = __webpack_require__(498); +var WrapAsyncIterator = __webpack_require__(544); +var getIteratorDirect = __webpack_require__(500); var IS_PURE = __webpack_require__(36); // `Iterator.prototype.toAsync` method @@ -19302,14 +19426,14 @@ $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 587 */ +/* 590 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var NATIVE_RAW_JSON = __webpack_require__(588); -var isRawJSON = __webpack_require__(589); +var NATIVE_RAW_JSON = __webpack_require__(591); +var isRawJSON = __webpack_require__(592); // `JSON.parse` method // https://tc39.es/proposal-json-parse-with-source/#sec-json.israwjson @@ -19320,7 +19444,7 @@ $({ target: 'JSON', stat: true, forced: !NATIVE_RAW_JSON }, { /***/ }), -/* 588 */ +/* 591 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -19336,7 +19460,7 @@ module.exports = !fails(function () { /***/ }), -/* 589 */ +/* 592 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -19352,7 +19476,7 @@ module.exports = function isRawJSON(O) { /***/ }), -/* 590 */ +/* 593 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -19371,7 +19495,7 @@ var toString = __webpack_require__(69); var lengthOfArrayLike = __webpack_require__(64); var createProperty = __webpack_require__(78); var fails = __webpack_require__(7); -var parseJSONString = __webpack_require__(591); +var parseJSONString = __webpack_require__(594); var NATIVE_SYMBOL = __webpack_require__(27); var JSON = global.JSON; @@ -19610,7 +19734,7 @@ $({ target: 'JSON', stat: true, forced: NO_SOURCE_SUPPORT }, { /***/ }), -/* 591 */ +/* 594 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -19673,22 +19797,22 @@ module.exports = function (source, i) { /***/ }), -/* 592 */ +/* 595 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var FREEZING = __webpack_require__(249); -var NATIVE_RAW_JSON = __webpack_require__(588); +var NATIVE_RAW_JSON = __webpack_require__(591); var getBuiltIn = __webpack_require__(24); var call = __webpack_require__(8); var uncurryThis = __webpack_require__(14); var isCallable = __webpack_require__(21); -var isRawJSON = __webpack_require__(589); +var isRawJSON = __webpack_require__(592); var toString = __webpack_require__(69); var createProperty = __webpack_require__(78); -var parseJSONString = __webpack_require__(591); +var parseJSONString = __webpack_require__(594); var getReplacerFunction = __webpack_require__(98); var uid = __webpack_require__(41); var setInternalState = __webpack_require__(52).set; @@ -19764,14 +19888,14 @@ if ($stringify) $({ target: 'JSON', stat: true, arity: 3, forced: !NATIVE_RAW_JS /***/ }), -/* 593 */ +/* 596 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var aMap = __webpack_require__(594); -var remove = __webpack_require__(506).remove; +var aMap = __webpack_require__(597); +var remove = __webpack_require__(252).remove; // `Map.prototype.deleteAll` method // https://github.com/tc39/proposal-collection-methods @@ -19789,12 +19913,12 @@ $({ target: 'Map', proto: true, real: true, forced: true }, { /***/ }), -/* 594 */ +/* 597 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var has = __webpack_require__(506).has; +var has = __webpack_require__(252).has; // Perform ? RequireInternalSlot(M, [[MapData]]) module.exports = function (it) { @@ -19804,14 +19928,14 @@ module.exports = function (it) { /***/ }), -/* 595 */ +/* 598 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var aMap = __webpack_require__(594); -var MapHelpers = __webpack_require__(506); +var aMap = __webpack_require__(597); +var MapHelpers = __webpack_require__(252); var get = MapHelpers.get; var has = MapHelpers.has; @@ -19838,15 +19962,15 @@ $({ target: 'Map', proto: true, real: true, forced: true }, { /***/ }), -/* 596 */ +/* 599 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var bind = __webpack_require__(86); -var aMap = __webpack_require__(594); -var iterate = __webpack_require__(513); +var aMap = __webpack_require__(597); +var iterate = __webpack_require__(516); // `Map.prototype.every` method // https://github.com/tc39/proposal-collection-methods @@ -19862,16 +19986,16 @@ $({ target: 'Map', proto: true, real: true, forced: true }, { /***/ }), -/* 597 */ +/* 600 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var bind = __webpack_require__(86); -var aMap = __webpack_require__(594); -var MapHelpers = __webpack_require__(506); -var iterate = __webpack_require__(513); +var aMap = __webpack_require__(597); +var MapHelpers = __webpack_require__(252); +var iterate = __webpack_require__(516); var Map = MapHelpers.Map; var set = MapHelpers.set; @@ -19892,15 +20016,15 @@ $({ target: 'Map', proto: true, real: true, forced: true }, { /***/ }), -/* 598 */ +/* 601 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var bind = __webpack_require__(86); -var aMap = __webpack_require__(594); -var iterate = __webpack_require__(513); +var aMap = __webpack_require__(597); +var iterate = __webpack_require__(516); // `Map.prototype.find` method // https://github.com/tc39/proposal-collection-methods @@ -19917,15 +20041,15 @@ $({ target: 'Map', proto: true, real: true, forced: true }, { /***/ }), -/* 599 */ +/* 602 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var bind = __webpack_require__(86); -var aMap = __webpack_require__(594); -var iterate = __webpack_require__(513); +var aMap = __webpack_require__(597); +var iterate = __webpack_require__(516); // `Map.prototype.findKey` method // https://github.com/tc39/proposal-collection-methods @@ -19942,13 +20066,13 @@ $({ target: 'Map', proto: true, real: true, forced: true }, { /***/ }), -/* 600 */ +/* 603 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var from = __webpack_require__(601); +var from = __webpack_require__(604); // `Map.from` method // https://tc39.github.io/proposal-setmap-offrom/#sec-map.from @@ -19958,7 +20082,7 @@ $({ target: 'Map', stat: true, forced: true }, { /***/ }), -/* 601 */ +/* 604 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -19996,53 +20120,15 @@ module.exports = function from(source /* , mapFn, thisArg */) { /***/ }), -/* 602 */ +/* 605 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var uncurryThis = __webpack_require__(14); -var aCallable = __webpack_require__(31); -var requireObjectCoercible = __webpack_require__(16); -var iterate = __webpack_require__(132); -var MapHelpers = __webpack_require__(506); -var IS_PURE = __webpack_require__(36); - -var Map = MapHelpers.Map; -var has = MapHelpers.has; -var get = MapHelpers.get; -var set = MapHelpers.set; -var push = uncurryThis([].push); - -// `Map.groupBy` method -// https://github.com/tc39/proposal-array-grouping -$({ target: 'Map', stat: true, forced: IS_PURE }, { - groupBy: function groupBy(items, callbackfn) { - requireObjectCoercible(items); - aCallable(callbackfn); - var map = new Map(); - var k = 0; - iterate(items, function (value) { - var key = callbackfn(value, k++); - if (!has(map, key)) set(map, key, [value]); - else push(get(map, key), value); - }); - return map; - } -}); - - -/***/ }), -/* 603 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(3); -var sameValueZero = __webpack_require__(604); -var aMap = __webpack_require__(594); -var iterate = __webpack_require__(513); +var sameValueZero = __webpack_require__(606); +var aMap = __webpack_require__(597); +var iterate = __webpack_require__(516); // `Map.prototype.includes` method // https://github.com/tc39/proposal-collection-methods @@ -20056,7 +20142,7 @@ $({ target: 'Map', proto: true, real: true, forced: true }, { /***/ }), -/* 604 */ +/* 606 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20070,7 +20156,7 @@ module.exports = function (x, y) { /***/ }), -/* 605 */ +/* 607 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20080,7 +20166,7 @@ var call = __webpack_require__(8); var iterate = __webpack_require__(132); var isCallable = __webpack_require__(21); var aCallable = __webpack_require__(31); -var Map = __webpack_require__(506).Map; +var Map = __webpack_require__(252).Map; // `Map.keyBy` method // https://github.com/tc39/proposal-collection-methods @@ -20099,14 +20185,14 @@ $({ target: 'Map', stat: true, forced: true }, { /***/ }), -/* 606 */ +/* 608 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var aMap = __webpack_require__(594); -var iterate = __webpack_require__(513); +var aMap = __webpack_require__(597); +var iterate = __webpack_require__(516); // `Map.prototype.keyOf` method // https://github.com/tc39/proposal-collection-methods @@ -20121,16 +20207,16 @@ $({ target: 'Map', proto: true, real: true, forced: true }, { /***/ }), -/* 607 */ +/* 609 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var bind = __webpack_require__(86); -var aMap = __webpack_require__(594); -var MapHelpers = __webpack_require__(506); -var iterate = __webpack_require__(513); +var aMap = __webpack_require__(597); +var MapHelpers = __webpack_require__(252); +var iterate = __webpack_require__(516); var Map = MapHelpers.Map; var set = MapHelpers.set; @@ -20151,16 +20237,16 @@ $({ target: 'Map', proto: true, real: true, forced: true }, { /***/ }), -/* 608 */ +/* 610 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var bind = __webpack_require__(86); -var aMap = __webpack_require__(594); -var MapHelpers = __webpack_require__(506); -var iterate = __webpack_require__(513); +var aMap = __webpack_require__(597); +var MapHelpers = __webpack_require__(252); +var iterate = __webpack_require__(516); var Map = MapHelpers.Map; var set = MapHelpers.set; @@ -20181,15 +20267,15 @@ $({ target: 'Map', proto: true, real: true, forced: true }, { /***/ }), -/* 609 */ +/* 611 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var aMap = __webpack_require__(594); +var aMap = __webpack_require__(597); var iterate = __webpack_require__(132); -var set = __webpack_require__(506).set; +var set = __webpack_require__(252).set; // `Map.prototype.merge` method // https://github.com/tc39/proposal-collection-methods @@ -20210,13 +20296,13 @@ $({ target: 'Map', proto: true, real: true, arity: 1, forced: true }, { /***/ }), -/* 610 */ +/* 612 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var of = __webpack_require__(611); +var of = __webpack_require__(613); // `Map.of` method // https://tc39.github.io/proposal-setmap-offrom/#sec-map.of @@ -20226,7 +20312,7 @@ $({ target: 'Map', stat: true, forced: true }, { /***/ }), -/* 611 */ +/* 613 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20240,15 +20326,15 @@ module.exports = function of() { /***/ }), -/* 612 */ +/* 614 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var aCallable = __webpack_require__(31); -var aMap = __webpack_require__(594); -var iterate = __webpack_require__(513); +var aMap = __webpack_require__(597); +var iterate = __webpack_require__(516); var $TypeError = TypeError; @@ -20275,15 +20361,15 @@ $({ target: 'Map', proto: true, real: true, forced: true }, { /***/ }), -/* 613 */ +/* 615 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var bind = __webpack_require__(86); -var aMap = __webpack_require__(594); -var iterate = __webpack_require__(513); +var aMap = __webpack_require__(597); +var iterate = __webpack_require__(516); // `Map.prototype.some` method // https://github.com/tc39/proposal-collection-methods @@ -20299,15 +20385,15 @@ $({ target: 'Map', proto: true, real: true, forced: true }, { /***/ }), -/* 614 */ +/* 616 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var aCallable = __webpack_require__(31); -var aMap = __webpack_require__(594); -var MapHelpers = __webpack_require__(506); +var aMap = __webpack_require__(597); +var MapHelpers = __webpack_require__(252); var $TypeError = TypeError; var get = MapHelpers.get; @@ -20333,14 +20419,14 @@ $({ target: 'Map', proto: true, real: true, forced: true }, { /***/ }), -/* 615 */ +/* 617 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: remove from `core-js@4` var $ = __webpack_require__(3); -var upsert = __webpack_require__(616); +var upsert = __webpack_require__(618); // `Map.prototype.updateOrInsert` method (replaced by `Map.prototype.emplace`) // https://github.com/thumbsupep/proposal-upsert @@ -20350,7 +20436,7 @@ $({ target: 'Map', proto: true, real: true, name: 'upsert', forced: true }, { /***/ }), -/* 616 */ +/* 618 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20388,14 +20474,14 @@ module.exports = function upsert(key, updateFn /* , insertFn */) { /***/ }), -/* 617 */ +/* 619 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: remove from `core-js@4` var $ = __webpack_require__(3); -var upsert = __webpack_require__(616); +var upsert = __webpack_require__(618); // `Map.prototype.upsert` method (replaced by `Map.prototype.emplace`) // https://github.com/thumbsupep/proposal-upsert @@ -20405,7 +20491,7 @@ $({ target: 'Map', proto: true, real: true, forced: true }, { /***/ }), -/* 618 */ +/* 620 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20425,7 +20511,7 @@ $({ target: 'Math', stat: true, forced: true }, { /***/ }), -/* 619 */ +/* 621 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20440,7 +20526,7 @@ $({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, { /***/ }), -/* 620 */ +/* 622 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20459,14 +20545,14 @@ $({ target: 'Math', stat: true, forced: true }, { /***/ }), -/* 621 */ +/* 623 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var scale = __webpack_require__(622); +var scale = __webpack_require__(624); var fround = __webpack_require__(213); // `Math.fscale` method @@ -20479,7 +20565,7 @@ $({ target: 'Math', stat: true, forced: true }, { /***/ }), -/* 622 */ +/* 624 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20500,13 +20586,13 @@ module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) /***/ }), -/* 623 */ +/* 625 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var f16round = __webpack_require__(556); +var f16round = __webpack_require__(559); // `Math.f16round` method // https://github.com/tc39/proposal-float16array @@ -20514,7 +20600,7 @@ $({ target: 'Math', stat: true }, { f16round: f16round }); /***/ }), -/* 624 */ +/* 626 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20535,7 +20621,7 @@ $({ target: 'Math', stat: true, forced: true }, { /***/ }), -/* 625 */ +/* 627 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20561,7 +20647,7 @@ $({ target: 'Math', stat: true, forced: true }, { /***/ }), -/* 626 */ +/* 628 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20582,7 +20668,7 @@ $({ target: 'Math', stat: true, forced: true }, { /***/ }), -/* 627 */ +/* 629 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20597,7 +20683,7 @@ $({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, { /***/ }), -/* 628 */ +/* 630 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20616,13 +20702,13 @@ $({ target: 'Math', stat: true, forced: true }, { /***/ }), -/* 629 */ +/* 631 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var scale = __webpack_require__(622); +var scale = __webpack_require__(624); // `Math.scale` method // https://rwaldron.github.io/proposal-math-extensions/ @@ -20632,14 +20718,14 @@ $({ target: 'Math', stat: true, forced: true }, { /***/ }), -/* 630 */ +/* 632 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var anObject = __webpack_require__(47); -var numberIsFinite = __webpack_require__(278); +var numberIsFinite = __webpack_require__(280); var createIteratorConstructor = __webpack_require__(171); var createIterResultObject = __webpack_require__(173); var InternalStateModule = __webpack_require__(52); @@ -20675,7 +20761,7 @@ $({ target: 'Math', stat: true, forced: true }, { /***/ }), -/* 631 */ +/* 633 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20694,7 +20780,7 @@ $({ target: 'Math', stat: true, forced: true }, { /***/ }), -/* 632 */ +/* 634 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20720,7 +20806,7 @@ $({ target: 'Math', stat: true, forced: true }, { /***/ }), -/* 633 */ +/* 635 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20728,13 +20814,13 @@ $({ target: 'Math', stat: true, forced: true }, { var $ = __webpack_require__(3); var uncurryThis = __webpack_require__(14); var toIntegerOrInfinity = __webpack_require__(62); -var parseInt = __webpack_require__(288); var INVALID_NUMBER_REPRESENTATION = 'Invalid number representation'; var INVALID_RADIX = 'Invalid radix'; var $RangeError = RangeError; var $SyntaxError = SyntaxError; var $TypeError = TypeError; +var $parseInt = parseInt; var pow = Math.pow; var valid = /^[\d.a-z]+$/; var charAt = uncurryThis(''.charAt); @@ -20759,22 +20845,22 @@ $({ target: 'Number', stat: true, forced: true }, { if (R < 2 || R > 36) throw new $RangeError(INVALID_RADIX); if (!exec(valid, string)) throw new $SyntaxError(INVALID_NUMBER_REPRESENTATION); var parts = split(string, '.'); - var mathNum = parseInt(parts[0], R); - if (parts.length > 1) mathNum += parseInt(parts[1], R) / pow(R, parts[1].length); - if (numberToString(mathNum, R) !== string) throw new $SyntaxError(INVALID_NUMBER_REPRESENTATION); + var mathNum = $parseInt(parts[0], R); + if (parts.length > 1) mathNum += $parseInt(parts[1], R) / pow(R, parts[1].length); + if (R === 10 && numberToString(mathNum, R) !== string) throw new $SyntaxError(INVALID_NUMBER_REPRESENTATION); return sign * mathNum; } }); /***/ }), -/* 634 */ +/* 636 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var NumericRangeIterator = __webpack_require__(549); +var NumericRangeIterator = __webpack_require__(552); // `Number.range` method // https://github.com/tc39/proposal-Number.range @@ -20787,14 +20873,14 @@ $({ target: 'Number', stat: true, forced: true }, { /***/ }), -/* 635 */ +/* 637 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove from `core-js@4` var $ = __webpack_require__(3); -var ObjectIterator = __webpack_require__(636); +var ObjectIterator = __webpack_require__(638); // `Object.iterateEntries` method // https://github.com/tc39/proposal-object-iteration @@ -20806,7 +20892,7 @@ $({ target: 'Object', stat: true, forced: true }, { /***/ }), -/* 636 */ +/* 638 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20851,14 +20937,14 @@ module.exports = createIteratorConstructor(function ObjectIterator(source, mode) /***/ }), -/* 637 */ +/* 639 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove from `core-js@4` var $ = __webpack_require__(3); -var ObjectIterator = __webpack_require__(636); +var ObjectIterator = __webpack_require__(638); // `Object.iterateKeys` method // https://github.com/tc39/proposal-object-iteration @@ -20870,14 +20956,14 @@ $({ target: 'Object', stat: true, forced: true }, { /***/ }), -/* 638 */ +/* 640 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove from `core-js@4` var $ = __webpack_require__(3); -var ObjectIterator = __webpack_require__(636); +var ObjectIterator = __webpack_require__(638); // `Object.iterateValues` method // https://github.com/tc39/proposal-object-iteration @@ -20889,56 +20975,19 @@ $({ target: 'Object', stat: true, forced: true }, { /***/ }), -/* 639 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(3); -var getBuiltIn = __webpack_require__(24); -var uncurryThis = __webpack_require__(14); -var aCallable = __webpack_require__(31); -var requireObjectCoercible = __webpack_require__(16); -var toPropertyKey = __webpack_require__(18); -var iterate = __webpack_require__(132); - -var create = getBuiltIn('Object', 'create'); -var push = uncurryThis([].push); - -// `Object.groupBy` method -// https://github.com/tc39/proposal-array-grouping -$({ target: 'Object', stat: true }, { - groupBy: function groupBy(items, callbackfn) { - requireObjectCoercible(items); - aCallable(callbackfn); - var obj = create(null); - var k = 0; - iterate(items, function (value) { - var key = toPropertyKey(callbackfn(value, k++)); - // in some IE versions, `hasOwnProperty` returns incorrect result on integer keys - // but since it's a `null` prototype object, we can safely use `in` - if (key in obj) push(obj[key], value); - else obj[key] = [value]; - }); - return obj; - } -}); - - -/***/ }), -/* 640 */ +/* 641 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove this module from `core-js@4` since it's split to modules listed below -__webpack_require__(641); __webpack_require__(642); __webpack_require__(643); +__webpack_require__(644); /***/ }), -/* 641 */ +/* 642 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -20958,7 +21007,7 @@ var getMethod = __webpack_require__(30); var defineBuiltIn = __webpack_require__(48); var defineBuiltIns = __webpack_require__(210); var defineBuiltInAccessor = __webpack_require__(79); -var hostReportErrors = __webpack_require__(335); +var hostReportErrors = __webpack_require__(338); var wellKnownSymbol = __webpack_require__(34); var InternalStateModule = __webpack_require__(52); @@ -21132,7 +21181,7 @@ setSpecies(OBSERVABLE); /***/ }), -/* 642 */ +/* 643 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -21174,7 +21223,7 @@ $({ target: 'Observable', stat: true, forced: true }, { /***/ }), -/* 643 */ +/* 644 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -21205,15 +21254,15 @@ $({ target: 'Observable', stat: true, forced: true }, { /***/ }), -/* 644 */ +/* 645 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove from `core-js@4` var $ = __webpack_require__(3); -var newPromiseCapabilityModule = __webpack_require__(341); -var perform = __webpack_require__(336); +var newPromiseCapabilityModule = __webpack_require__(344); +var perform = __webpack_require__(339); // `Promise.try` method // https://github.com/tc39/proposal-promise-try @@ -21227,29 +21276,6 @@ $({ target: 'Promise', stat: true, forced: true }, { }); -/***/ }), -/* 645 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(3); -var newPromiseCapabilityModule = __webpack_require__(341); - -// `Promise.withResolvers` method -// https://github.com/tc39/proposal-promise-with-resolvers -$({ target: 'Promise', stat: true }, { - withResolvers: function withResolvers() { - var promiseCapability = newPromiseCapabilityModule.f(this); - return { - promise: promiseCapability.promise, - resolve: promiseCapability.resolve, - reject: promiseCapability.reject - }; - } -}); - - /***/ }), /* 646 */ /***/ (function(module, exports, __webpack_require__) { @@ -21282,7 +21308,7 @@ $({ target: 'Reflect', stat: true }, { // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` __webpack_require__(243); -__webpack_require__(485); +__webpack_require__(489); var getBuiltIn = __webpack_require__(24); var uncurryThis = __webpack_require__(14); var shared = __webpack_require__(35); @@ -21417,7 +21443,7 @@ var uncurryThis = __webpack_require__(14); var ReflectMetadataModule = __webpack_require__(647); var anObject = __webpack_require__(47); var getPrototypeOf = __webpack_require__(130); -var $arrayUniqueBy = __webpack_require__(512); +var $arrayUniqueBy = __webpack_require__(515); var arrayUniqueBy = uncurryThis($arrayUniqueBy); var concat = uncurryThis([].concat); @@ -21579,7 +21605,7 @@ $({ target: 'Reflect', stat: true }, { var $ = __webpack_require__(3); var uncurryThis = __webpack_require__(14); var toString = __webpack_require__(69); -var WHITESPACES = __webpack_require__(275); +var WHITESPACES = __webpack_require__(277); var charCodeAt = uncurryThis(''.charCodeAt); var replace = uncurryThis(''.replace); @@ -21709,7 +21735,7 @@ var clone = __webpack_require__(663); var size = __webpack_require__(665); var getSetRecord = __webpack_require__(666); var iterateSet = __webpack_require__(664); -var iterateSimple = __webpack_require__(514); +var iterateSimple = __webpack_require__(517); var has = SetHelpers.has; var remove = SetHelpers.remove; @@ -21758,7 +21784,7 @@ module.exports = function (set) { "use strict"; var uncurryThis = __webpack_require__(14); -var iterateSimple = __webpack_require__(514); +var iterateSimple = __webpack_require__(517); var SetHelpers = __webpack_require__(659); var Set = SetHelpers.Set; @@ -21796,7 +21822,7 @@ var aCallable = __webpack_require__(31); var anObject = __webpack_require__(47); var call = __webpack_require__(8); var toIntegerOrInfinity = __webpack_require__(62); -var getIteratorDirect = __webpack_require__(496); +var getIteratorDirect = __webpack_require__(500); var INVALID_SIZE = 'Invalid size'; var $RangeError = RangeError; @@ -22038,7 +22064,7 @@ $({ target: 'Set', proto: true, real: true, forced: true }, { "use strict"; var $ = __webpack_require__(3); -var from = __webpack_require__(601); +var from = __webpack_require__(604); // `Set.from` method // https://tc39.github.io/proposal-setmap-offrom/#sec-set.from @@ -22081,7 +22107,7 @@ var SetHelpers = __webpack_require__(659); var size = __webpack_require__(665); var getSetRecord = __webpack_require__(666); var iterateSet = __webpack_require__(664); -var iterateSimple = __webpack_require__(514); +var iterateSimple = __webpack_require__(517); var Set = SetHelpers.Set; var add = SetHelpers.add; @@ -22157,7 +22183,7 @@ var has = __webpack_require__(659).has; var size = __webpack_require__(665); var getSetRecord = __webpack_require__(666); var iterateSet = __webpack_require__(664); -var iterateSimple = __webpack_require__(514); +var iterateSimple = __webpack_require__(517); var iteratorClose = __webpack_require__(137); // `Set.prototype.isDisjointFrom` method @@ -22284,7 +22310,7 @@ var aSet = __webpack_require__(658); var has = __webpack_require__(659).has; var size = __webpack_require__(665); var getSetRecord = __webpack_require__(666); -var iterateSimple = __webpack_require__(514); +var iterateSimple = __webpack_require__(517); var iteratorClose = __webpack_require__(137); // `Set.prototype.isSupersetOf` method @@ -22388,7 +22414,7 @@ $({ target: 'Set', proto: true, real: true, forced: true }, { "use strict"; var $ = __webpack_require__(3); -var of = __webpack_require__(611); +var of = __webpack_require__(613); // `Set.of` method // https://tc39.github.io/proposal-setmap-offrom/#sec-set.of @@ -22483,7 +22509,7 @@ var aSet = __webpack_require__(658); var SetHelpers = __webpack_require__(659); var clone = __webpack_require__(663); var getSetRecord = __webpack_require__(666); -var iterateSimple = __webpack_require__(514); +var iterateSimple = __webpack_require__(517); var add = SetHelpers.add; var has = SetHelpers.has; @@ -22551,7 +22577,7 @@ var aSet = __webpack_require__(658); var add = __webpack_require__(659).add; var clone = __webpack_require__(663); var getSetRecord = __webpack_require__(666); -var iterateSimple = __webpack_require__(514); +var iterateSimple = __webpack_require__(517); // `Set.prototype.union` method // https://github.com/tc39/proposal-set-methods @@ -22595,7 +22621,7 @@ $({ target: 'Set', proto: true, real: true, forced: true }, { // TODO: Remove from `core-js@4` var $ = __webpack_require__(3); -var charAt = __webpack_require__(385).charAt; +var charAt = __webpack_require__(389).charAt; var requireObjectCoercible = __webpack_require__(16); var toIntegerOrInfinity = __webpack_require__(62); var toString = __webpack_require__(69); @@ -22675,7 +22701,7 @@ var createIterResultObject = __webpack_require__(173); var requireObjectCoercible = __webpack_require__(16); var toString = __webpack_require__(69); var InternalStateModule = __webpack_require__(52); -var StringMultibyteModule = __webpack_require__(385); +var StringMultibyteModule = __webpack_require__(389); var codeAt = StringMultibyteModule.codeAt; var charAt = StringMultibyteModule.charAt; @@ -22718,8 +22744,6 @@ $({ target: 'String', proto: true, forced: true }, { var FREEZING = __webpack_require__(249); var $ = __webpack_require__(3); -var shared = __webpack_require__(35); -var getBuiltIn = __webpack_require__(24); var makeBuiltIn = __webpack_require__(49); var uncurryThis = __webpack_require__(14); var apply = __webpack_require__(96); @@ -22729,18 +22753,15 @@ var isCallable = __webpack_require__(21); var lengthOfArrayLike = __webpack_require__(64); var defineProperty = __webpack_require__(45).f; var createArrayFromList = __webpack_require__(77); +var WeakMapHelpers = __webpack_require__(703); var cooked = __webpack_require__(700); -var parse = __webpack_require__(703); -var whitespaces = __webpack_require__(275); +var parse = __webpack_require__(704); +var whitespaces = __webpack_require__(277); -var WeakMap = getBuiltIn('WeakMap'); -var globalDedentRegistry = shared('GlobalDedentRegistry', new WeakMap()); - -/* eslint-disable no-self-assign -- prototype methods protection */ -globalDedentRegistry.has = globalDedentRegistry.has; -globalDedentRegistry.get = globalDedentRegistry.get; -globalDedentRegistry.set = globalDedentRegistry.set; -/* eslint-enable no-self-assign -- prototype methods protection */ +var DedentMap = new WeakMapHelpers.WeakMap(); +var weakMapGet = WeakMapHelpers.get; +var weakMapHas = WeakMapHelpers.has; +var weakMapSet = WeakMapHelpers.set; var $Array = Array; var $TypeError = TypeError; @@ -22765,14 +22786,14 @@ var dedentTemplateStringsArray = function (template) { var rawInput = template.raw; // https://github.com/tc39/proposal-string-dedent/issues/75 if (FREEZING && !isFrozen(rawInput)) throw new $TypeError('Raw template should be frozen'); - if (globalDedentRegistry.has(rawInput)) return globalDedentRegistry.get(rawInput); + if (weakMapHas(DedentMap, rawInput)) return weakMapGet(DedentMap, rawInput); var raw = dedentStringsArray(rawInput); var cookedArr = cookStrings(raw); defineProperty(cookedArr, 'raw', { value: freeze(raw) }); freeze(cookedArr); - globalDedentRegistry.set(rawInput, cookedArr); + weakMapSet(DedentMap, rawInput, cookedArr); return cookedArr; }; @@ -22880,6 +22901,27 @@ $({ target: 'String', stat: true, forced: true }, { "use strict"; +var uncurryThis = __webpack_require__(14); + +// eslint-disable-next-line es/no-weak-map -- safe +var WeakMapPrototype = WeakMap.prototype; + +module.exports = { + // eslint-disable-next-line es/no-weak-map -- safe + WeakMap: WeakMap, + set: uncurryThis(WeakMapPrototype.set), + get: uncurryThis(WeakMapPrototype.get), + has: uncurryThis(WeakMapPrototype.has), + remove: uncurryThis(WeakMapPrototype['delete']) +}; + + +/***/ }), +/* 704 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + // adapted from https://github.com/jridgewell/string-dedent var getBuiltIn = __webpack_require__(24); var uncurryThis = __webpack_require__(14); @@ -23001,7 +23043,7 @@ module.exports = function (raw) { /***/ }), -/* 704 */ +/* 705 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23029,7 +23071,7 @@ if (Symbol) { /***/ }), -/* 705 */ +/* 706 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23057,13 +23099,13 @@ if (Symbol) { /***/ }), -/* 706 */ +/* 707 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var isRegisteredSymbol = __webpack_require__(707); +var isRegisteredSymbol = __webpack_require__(708); // `Symbol.isRegisteredSymbol` method // https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol @@ -23073,7 +23115,7 @@ $({ target: 'Symbol', stat: true }, { /***/ }), -/* 707 */ +/* 708 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23097,13 +23139,13 @@ module.exports = Symbol.isRegisteredSymbol || function isRegisteredSymbol(value) /***/ }), -/* 708 */ +/* 709 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var isRegisteredSymbol = __webpack_require__(707); +var isRegisteredSymbol = __webpack_require__(708); // `Symbol.isRegistered` method // obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol @@ -23113,13 +23155,13 @@ $({ target: 'Symbol', stat: true, name: 'isRegisteredSymbol' }, { /***/ }), -/* 709 */ +/* 710 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var isWellKnownSymbol = __webpack_require__(710); +var isWellKnownSymbol = __webpack_require__(711); // `Symbol.isWellKnownSymbol` method // https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol @@ -23130,7 +23172,7 @@ $({ target: 'Symbol', stat: true, forced: true }, { /***/ }), -/* 710 */ +/* 711 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23172,13 +23214,13 @@ module.exports = function isWellKnownSymbol(value) { /***/ }), -/* 711 */ +/* 712 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var isWellKnownSymbol = __webpack_require__(710); +var isWellKnownSymbol = __webpack_require__(711); // `Symbol.isWellKnown` method // obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol @@ -23189,7 +23231,7 @@ $({ target: 'Symbol', stat: true, name: 'isWellKnownSymbol', forced: true }, { /***/ }), -/* 712 */ +/* 713 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23202,7 +23244,7 @@ defineWellKnownSymbol('matcher'); /***/ }), -/* 713 */ +/* 714 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23215,7 +23257,7 @@ defineWellKnownSymbol('metadata'); /***/ }), -/* 714 */ +/* 715 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23229,7 +23271,7 @@ defineWellKnownSymbol('metadataKey'); /***/ }), -/* 715 */ +/* 716 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23242,7 +23284,7 @@ defineWellKnownSymbol('observable'); /***/ }), -/* 716 */ +/* 717 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23256,7 +23298,7 @@ defineWellKnownSymbol('patternMatch'); /***/ }), -/* 717 */ +/* 718 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23268,7 +23310,7 @@ defineWellKnownSymbol('replaceAll'); /***/ }), -/* 718 */ +/* 719 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23276,7 +23318,7 @@ defineWellKnownSymbol('replaceAll'); // TODO: Remove from `core-js@4` var getBuiltIn = __webpack_require__(24); var aConstructor = __webpack_require__(221); -var arrayFromAsync = __webpack_require__(492); +var arrayFromAsync = __webpack_require__(496); var ArrayBufferViewCore = __webpack_require__(218); var arrayFromConstructorAndList = __webpack_require__(199); @@ -23300,7 +23342,7 @@ exportTypedArrayStaticMethod('fromAsync', function fromAsync(asyncItems /* , map /***/ }), -/* 719 */ +/* 720 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23308,7 +23350,7 @@ exportTypedArrayStaticMethod('fromAsync', function fromAsync(asyncItems /* , map // TODO: Remove from `core-js@4` var ArrayBufferViewCore = __webpack_require__(218); var $filterReject = __webpack_require__(85).filterReject; -var fromSpeciesAndList = __webpack_require__(456); +var fromSpeciesAndList = __webpack_require__(460); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; @@ -23322,14 +23364,14 @@ exportTypedArrayMethod('filterOut', function filterOut(callbackfn /* , thisArg * /***/ }), -/* 720 */ +/* 721 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var ArrayBufferViewCore = __webpack_require__(218); var $filterReject = __webpack_require__(85).filterReject; -var fromSpeciesAndList = __webpack_require__(456); +var fromSpeciesAndList = __webpack_require__(460); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; @@ -23343,15 +23385,15 @@ exportTypedArrayMethod('filterReject', function filterReject(callbackfn /* , thi /***/ }), -/* 721 */ +/* 722 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove from `core-js@4` var ArrayBufferViewCore = __webpack_require__(218); -var $group = __webpack_require__(502); -var typedArraySpeciesConstructor = __webpack_require__(457); +var $group = __webpack_require__(506); +var typedArraySpeciesConstructor = __webpack_require__(461); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; @@ -23365,7 +23407,7 @@ exportTypedArrayMethod('groupBy', function groupBy(callbackfn /* , thisArg */) { /***/ }), -/* 722 */ +/* 723 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23373,9 +23415,9 @@ exportTypedArrayMethod('groupBy', function groupBy(callbackfn /* , thisArg */) { // TODO: Remove from `core-js@4` var ArrayBufferViewCore = __webpack_require__(218); var lengthOfArrayLike = __webpack_require__(64); -var isBigIntArray = __webpack_require__(441); +var isBigIntArray = __webpack_require__(445); var toAbsoluteIndex = __webpack_require__(61); -var toBigInt = __webpack_require__(442); +var toBigInt = __webpack_require__(446); var toIntegerOrInfinity = __webpack_require__(62); var fails = __webpack_require__(7); @@ -23440,7 +23482,7 @@ exportTypedArrayMethod('toSpliced', function toSpliced(start, deleteCount /* , . /***/ }), -/* 723 */ +/* 724 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23448,7 +23490,7 @@ exportTypedArrayMethod('toSpliced', function toSpliced(start, deleteCount /* , . var uncurryThis = __webpack_require__(14); var ArrayBufferViewCore = __webpack_require__(218); var arrayFromConstructorAndList = __webpack_require__(199); -var $arrayUniqueBy = __webpack_require__(512); +var $arrayUniqueBy = __webpack_require__(515); var aTypedArray = ArrayBufferViewCore.aTypedArray; var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; @@ -23464,14 +23506,304 @@ exportTypedArrayMethod('uniqueBy', function uniqueBy(resolver) { /***/ }), -/* 724 */ +/* 725 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var aWeakMap = __webpack_require__(725); -var remove = __webpack_require__(726).remove; +var global = __webpack_require__(4); +var uncurryThis = __webpack_require__(14); +var anObjectOrUndefined = __webpack_require__(726); +var aString = __webpack_require__(727); +var hasOwn = __webpack_require__(39); +var arrayFromConstructorAndList = __webpack_require__(199); +var base64Map = __webpack_require__(728); +var getAlphabetOption = __webpack_require__(729); + +var base64Alphabet = base64Map.c2i; +var base64UrlAlphabet = base64Map.c2iUrl; + +var Uint8Array = global.Uint8Array; +var SyntaxError = global.SyntaxError; +var charAt = uncurryThis(''.charAt); +var replace = uncurryThis(''.replace); +var stringSlice = uncurryThis(''.slice); +var push = uncurryThis([].push); +var SPACES = /[\t\n\f\r ]/g; +var EXTRA_BITS = 'Extra bits'; + +// `Uint8Array.fromBase64` method +// https://github.com/tc39/proposal-arraybuffer-base64 +if (Uint8Array) $({ target: 'Uint8Array', stat: true, forced: true }, { + fromBase64: function fromBase64(string /* , options */) { + aString(string); + var options = arguments.length > 1 ? anObjectOrUndefined(arguments[1]) : undefined; + var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet; + var strict = options ? !!options.strict : false; + + var input = strict ? string : replace(string, SPACES, ''); + + if (input.length % 4 === 0) { + if (stringSlice(input, -2) === '==') input = stringSlice(input, 0, -2); + else if (stringSlice(input, -1) === '=') input = stringSlice(input, 0, -1); + } else if (strict) throw new SyntaxError('Input is not correctly padded'); + + var lastChunkSize = input.length % 4; + + switch (lastChunkSize) { + case 1: throw new SyntaxError('Bad input length'); + case 2: input += 'AA'; break; + case 3: input += 'A'; + } + + var bytes = []; + var i = 0; + var inputLength = input.length; + + var at = function (shift) { + var chr = charAt(input, i + shift); + if (!hasOwn(alphabet, chr)) throw new SyntaxError('Bad char in input: "' + chr + '"'); + return alphabet[chr] << (18 - 6 * shift); + }; + + for (; i < inputLength; i += 4) { + var triplet = at(0) + at(1) + at(2) + at(3); + push(bytes, (triplet >> 16) & 255, (triplet >> 8) & 255, triplet & 255); + } + + var byteLength = bytes.length; + + if (lastChunkSize === 2) { + if (strict && bytes[byteLength - 2] !== 0) throw new SyntaxError(EXTRA_BITS); + byteLength -= 2; + } else if (lastChunkSize === 3) { + if (strict && bytes[byteLength - 1] !== 0) throw new SyntaxError(EXTRA_BITS); + byteLength--; + } + + return arrayFromConstructorAndList(Uint8Array, bytes, byteLength); + } +}); + + +/***/ }), +/* 726 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isObject = __webpack_require__(20); + +var $String = String; +var $TypeError = TypeError; + +module.exports = function (argument) { + if (argument === undefined || isObject(argument)) return argument; + throw new $TypeError($String(argument) + ' is not an object or undefined'); +}; + + +/***/ }), +/* 727 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $TypeError = TypeError; + +module.exports = function (argument) { + if (typeof argument == 'string') return argument; + throw new $TypeError('Argument is not a string'); +}; + + +/***/ }), +/* 728 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var commonAlphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; +var base64Alphabet = commonAlphabet + '+/'; +var base64UrlAlphabet = commonAlphabet + '-_'; + +var inverse = function (characters) { + // TODO: use `Object.create(null)` in `core-js@4` + var result = {}; + var index = 0; + for (; index < 64; index++) result[characters.charAt(index)] = index; + return result; +}; + +module.exports = { + i2c: base64Alphabet, + c2i: inverse(base64Alphabet), + i2cUrl: base64UrlAlphabet, + c2iUrl: inverse(base64UrlAlphabet) +}; + + +/***/ }), +/* 729 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $TypeError = TypeError; + +module.exports = function (options) { + var alphabet = options && options.alphabet; + if (alphabet === undefined || alphabet === 'base64' || alphabet === 'base64url') return alphabet || 'base64'; + throw new $TypeError('Incorrect `alphabet` option'); +}; + + +/***/ }), +/* 730 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(3); +var global = __webpack_require__(4); +var uncurryThis = __webpack_require__(14); +var aString = __webpack_require__(727); + +var Uint8Array = global.Uint8Array; +var SyntaxError = global.SyntaxError; +var parseInt = global.parseInt; +var NOT_HEX = /[^\da-f]/i; +var exec = uncurryThis(NOT_HEX.exec); +var stringSlice = uncurryThis(''.slice); + +// `Uint8Array.fromHex` method +// https://github.com/tc39/proposal-arraybuffer-base64 +if (Uint8Array) $({ target: 'Uint8Array', stat: true, forced: true }, { + fromHex: function fromHex(string) { + aString(string); + var stringLength = string.length; + if (stringLength % 2) throw new SyntaxError('String should have an even number of characters'); + if (exec(NOT_HEX, string)) throw new SyntaxError('String should only contain hex characters'); + var result = new Uint8Array(stringLength / 2); + for (var i = 0; i < stringLength; i += 2) { + result[i / 2] = parseInt(stringSlice(string, i, i + 2), 16); + } + return result; + } +}); + + +/***/ }), +/* 731 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(3); +var global = __webpack_require__(4); +var uncurryThis = __webpack_require__(14); +var anObjectOrUndefined = __webpack_require__(726); +var anUint8Array = __webpack_require__(732); +var base64Map = __webpack_require__(728); +var getAlphabetOption = __webpack_require__(729); + +var base64Alphabet = base64Map.i2c; +var base64UrlAlphabet = base64Map.i2cUrl; + +var Uint8Array = global.Uint8Array; +var charAt = uncurryThis(''.charAt); + +// `Uint8Array.prototype.toBase64` method +// https://github.com/tc39/proposal-arraybuffer-base64 +if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: true }, { + toBase64: function toBase64(/* options */) { + var array = anUint8Array(this); + var options = arguments.length ? anObjectOrUndefined(arguments[0]) : undefined; + var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet; + + var result = ''; + var i = 0; + var length = array.length; + var triplet; + + var at = function (shift) { + return charAt(alphabet, (triplet >> (6 * shift)) & 63); + }; + + for (; i + 2 < length; i += 3) { + triplet = (array[i] << 16) + (array[i + 1] << 8) + array[i + 2]; + result += at(3) + at(2) + at(1) + at(0); + } + if (i + 2 === length) { + triplet = (array[i] << 16) + (array[i + 1] << 8); + result += at(3) + at(2) + at(1) + '='; + } else if (i + 1 === length) { + triplet = array[i] << 16; + result += at(3) + at(2) + '=='; + } + + return result; + } +}); + + +/***/ }), +/* 732 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var classof = __webpack_require__(70); + +var $TypeError = TypeError; + +// Perform ? RequireInternalSlot(argument, [[TypedArrayName]]) +// If argument.[[TypedArrayName]] is not "Uint8Array", throw a TypeError exception +module.exports = function (argument) { + if (classof(argument) === 'Uint8Array') return argument; + throw new $TypeError('Argument is not an Uint8Array'); +}; + + +/***/ }), +/* 733 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(3); +var global = __webpack_require__(4); +var uncurryThis = __webpack_require__(14); +var anUint8Array = __webpack_require__(732); + +var Uint8Array = global.Uint8Array; +var numberToString = uncurryThis(1.0.toString); + +// `Uint8Array.prototype.toHex` method +// https://github.com/tc39/proposal-arraybuffer-base64 +if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: true }, { + toHex: function toHex() { + anUint8Array(this); + var result = ''; + for (var i = 0, length = this.length; i < length; i++) { + var hex = numberToString(this[i], 16); + result += hex.length === 1 ? '0' + hex : hex; + } + return result; + } +}); + + +/***/ }), +/* 734 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(3); +var aWeakMap = __webpack_require__(735); +var remove = __webpack_require__(703).remove; // `WeakMap.prototype.deleteAll` method // https://github.com/tc39/proposal-collection-methods @@ -23489,12 +23821,12 @@ $({ target: 'WeakMap', proto: true, real: true, forced: true }, { /***/ }), -/* 725 */ +/* 735 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var has = __webpack_require__(726).has; +var has = __webpack_require__(703).has; // Perform ? RequireInternalSlot(M, [[WeakMapData]]) module.exports = function (it) { @@ -23504,34 +23836,13 @@ module.exports = function (it) { /***/ }), -/* 726 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var uncurryThis = __webpack_require__(14); - -// eslint-disable-next-line es/no-weak-map -- safe -var WeakMapPrototype = WeakMap.prototype; - -module.exports = { - // eslint-disable-next-line es/no-weak-map -- safe - WeakMap: WeakMap, - set: uncurryThis(WeakMapPrototype.set), - get: uncurryThis(WeakMapPrototype.get), - has: uncurryThis(WeakMapPrototype.has), - remove: uncurryThis(WeakMapPrototype['delete']) -}; - - -/***/ }), -/* 727 */ +/* 736 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var from = __webpack_require__(601); +var from = __webpack_require__(604); // `WeakMap.from` method // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from @@ -23541,13 +23852,13 @@ $({ target: 'WeakMap', stat: true, forced: true }, { /***/ }), -/* 728 */ +/* 737 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var of = __webpack_require__(611); +var of = __webpack_require__(613); // `WeakMap.of` method // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of @@ -23557,14 +23868,14 @@ $({ target: 'WeakMap', stat: true, forced: true }, { /***/ }), -/* 729 */ +/* 738 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var aWeakMap = __webpack_require__(725); -var WeakMapHelpers = __webpack_require__(726); +var aWeakMap = __webpack_require__(735); +var WeakMapHelpers = __webpack_require__(703); var get = WeakMapHelpers.get; var has = WeakMapHelpers.has; @@ -23591,14 +23902,14 @@ $({ target: 'WeakMap', proto: true, real: true, forced: true }, { /***/ }), -/* 730 */ +/* 739 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: remove from `core-js@4` var $ = __webpack_require__(3); -var upsert = __webpack_require__(616); +var upsert = __webpack_require__(618); // `WeakMap.prototype.upsert` method (replaced by `WeakMap.prototype.emplace`) // https://github.com/tc39/proposal-upsert @@ -23608,14 +23919,14 @@ $({ target: 'WeakMap', proto: true, real: true, forced: true }, { /***/ }), -/* 731 */ +/* 740 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var aWeakSet = __webpack_require__(732); -var add = __webpack_require__(733).add; +var aWeakSet = __webpack_require__(741); +var add = __webpack_require__(742).add; // `WeakSet.prototype.addAll` method // https://github.com/tc39/proposal-collection-methods @@ -23630,12 +23941,12 @@ $({ target: 'WeakSet', proto: true, real: true, forced: true }, { /***/ }), -/* 732 */ +/* 741 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var has = __webpack_require__(733).has; +var has = __webpack_require__(742).has; // Perform ? RequireInternalSlot(M, [[WeakSetData]]) module.exports = function (it) { @@ -23645,7 +23956,7 @@ module.exports = function (it) { /***/ }), -/* 733 */ +/* 742 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23665,14 +23976,14 @@ module.exports = { /***/ }), -/* 734 */ +/* 743 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var aWeakSet = __webpack_require__(732); -var remove = __webpack_require__(733).remove; +var aWeakSet = __webpack_require__(741); +var remove = __webpack_require__(742).remove; // `WeakSet.prototype.deleteAll` method // https://github.com/tc39/proposal-collection-methods @@ -23690,13 +24001,13 @@ $({ target: 'WeakSet', proto: true, real: true, forced: true }, { /***/ }), -/* 735 */ +/* 744 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var from = __webpack_require__(601); +var from = __webpack_require__(604); // `WeakSet.from` method // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from @@ -23706,13 +24017,13 @@ $({ target: 'WeakSet', stat: true, forced: true }, { /***/ }), -/* 736 */ +/* 745 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var of = __webpack_require__(611); +var of = __webpack_require__(613); // `WeakSet.of` method // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of @@ -23722,7 +24033,7 @@ $({ target: 'WeakSet', stat: true, forced: true }, { /***/ }), -/* 737 */ +/* 746 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23734,9 +24045,8 @@ var uncurryThis = __webpack_require__(14); var call = __webpack_require__(8); var fails = __webpack_require__(7); var toString = __webpack_require__(69); -var hasOwn = __webpack_require__(39); -var validateArgumentsLength = __webpack_require__(329); -var ctoi = __webpack_require__(738).ctoi; +var validateArgumentsLength = __webpack_require__(332); +var c2i = __webpack_require__(728).c2i; var disallowed = /[^\d+/a-z]/i; var whitespaces = /[\t\n\f\r ]+/g; @@ -23748,67 +24058,56 @@ var charAt = uncurryThis(''.charAt); var replace = uncurryThis(''.replace); var exec = uncurryThis(disallowed.exec); -var NO_SPACES_IGNORE = fails(function () { +var BASIC = !!$atob && !fails(function () { + return $atob('aGk=') !== 'hi'; +}); + +var NO_SPACES_IGNORE = BASIC && fails(function () { return $atob(' ') !== ''; }); -var NO_ENCODING_CHECK = !fails(function () { +var NO_ENCODING_CHECK = BASIC && !fails(function () { $atob('a'); }); -var NO_ARG_RECEIVING_CHECK = !NO_SPACES_IGNORE && !NO_ENCODING_CHECK && !fails(function () { +var NO_ARG_RECEIVING_CHECK = BASIC && !fails(function () { $atob(); }); -var WRONG_ARITY = !NO_SPACES_IGNORE && !NO_ENCODING_CHECK && $atob.length !== 1; +var WRONG_ARITY = BASIC && $atob.length !== 1; + +var FORCED = !BASIC || NO_SPACES_IGNORE || NO_ENCODING_CHECK || NO_ARG_RECEIVING_CHECK || WRONG_ARITY; // `atob` method // https://html.spec.whatwg.org/multipage/webappapis.html#dom-atob -$({ global: true, bind: true, enumerable: true, forced: NO_SPACES_IGNORE || NO_ENCODING_CHECK || NO_ARG_RECEIVING_CHECK || WRONG_ARITY }, { +$({ global: true, bind: true, enumerable: true, forced: FORCED }, { atob: function atob(data) { validateArgumentsLength(arguments.length, 1); // `webpack` dev server bug on IE global methods - use call(fn, global, ...) - if (NO_ARG_RECEIVING_CHECK || WRONG_ARITY) return call($atob, global, data); + if (BASIC && !NO_SPACES_IGNORE && !NO_ENCODING_CHECK) return call($atob, global, data); var string = replace(toString(data), whitespaces, ''); var output = ''; var position = 0; var bc = 0; - var chr, bs; + var length, chr, bs; if (string.length % 4 === 0) { string = replace(string, finalEq, ''); } - if (string.length % 4 === 1 || exec(disallowed, string)) { + length = string.length; + if (length % 4 === 1 || exec(disallowed, string)) { throw new (getBuiltIn('DOMException'))('The string is not correctly encoded', 'InvalidCharacterError'); } - while (chr = charAt(string, position++)) { - if (hasOwn(ctoi, chr)) { - bs = bc % 4 ? bs * 64 + ctoi[chr] : ctoi[chr]; - if (bc++ % 4) output += fromCharCode(255 & bs >> (-2 * bc & 6)); - } + while (position < length) { + chr = charAt(string, position++); + bs = bc % 4 ? bs * 64 + c2i[chr] : c2i[chr]; + if (bc++ % 4) output += fromCharCode(255 & bs >> (-2 * bc & 6)); } return output; } }); /***/ }), -/* 738 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var itoc = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; -var ctoi = {}; - -for (var index = 0; index < 66; index++) ctoi[itoc.charAt(index)] = index; - -module.exports = { - itoc: itoc, - ctoi: ctoi -}; - - -/***/ }), -/* 739 */ +/* 747 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23820,34 +24119,38 @@ var uncurryThis = __webpack_require__(14); var call = __webpack_require__(8); var fails = __webpack_require__(7); var toString = __webpack_require__(69); -var validateArgumentsLength = __webpack_require__(329); -var itoc = __webpack_require__(738).itoc; +var validateArgumentsLength = __webpack_require__(332); +var i2c = __webpack_require__(728).i2c; var $btoa = getBuiltIn('btoa'); var charAt = uncurryThis(''.charAt); var charCodeAt = uncurryThis(''.charCodeAt); -var NO_ARG_RECEIVING_CHECK = !!$btoa && !fails(function () { +var BASIC = !!$btoa && !fails(function () { + return $btoa('hi') !== 'aGk='; +}); + +var NO_ARG_RECEIVING_CHECK = BASIC && !fails(function () { $btoa(); }); -var WRONG_ARG_CONVERSION = !!$btoa && fails(function () { +var WRONG_ARG_CONVERSION = BASIC && fails(function () { return $btoa(null) !== 'bnVsbA=='; }); -var WRONG_ARITY = !!$btoa && $btoa.length !== 1; +var WRONG_ARITY = BASIC && $btoa.length !== 1; // `btoa` method // https://html.spec.whatwg.org/multipage/webappapis.html#dom-btoa -$({ global: true, bind: true, enumerable: true, forced: NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY }, { +$({ global: true, bind: true, enumerable: true, forced: !BASIC || NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY }, { btoa: function btoa(data) { validateArgumentsLength(arguments.length, 1); // `webpack` dev server bug on IE global methods - use call(fn, global, ...) - if (NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY) return call($btoa, global, toString(data)); + if (BASIC) return call($btoa, global, toString(data)); var string = toString(data); var output = ''; var position = 0; - var map = itoc; + var map = i2c; var block, charCode; while (charAt(string, position) || (map = '=', position % 1)) { charCode = charCodeAt(string, position += 3 / 4); @@ -23862,14 +24165,14 @@ $({ global: true, bind: true, enumerable: true, forced: NO_ARG_RECEIVING_CHECK | /***/ }), -/* 740 */ +/* 748 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var global = __webpack_require__(4); -var DOMIterables = __webpack_require__(741); -var DOMTokenListPrototype = __webpack_require__(742); +var DOMIterables = __webpack_require__(749); +var DOMTokenListPrototype = __webpack_require__(750); var forEach = __webpack_require__(161); var createNonEnumerableProperty = __webpack_require__(44); @@ -23892,7 +24195,7 @@ handlePrototype(DOMTokenListPrototype); /***/ }), -/* 741 */ +/* 749 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23935,7 +24238,7 @@ module.exports = { /***/ }), -/* 742 */ +/* 750 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23950,20 +24253,20 @@ module.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTok /***/ }), -/* 743 */ +/* 751 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var global = __webpack_require__(4); -var DOMIterables = __webpack_require__(741); -var DOMTokenListPrototype = __webpack_require__(742); +var DOMIterables = __webpack_require__(749); +var DOMTokenListPrototype = __webpack_require__(750); var ArrayIteratorMethods = __webpack_require__(169); var createNonEnumerableProperty = __webpack_require__(44); +var setToStringTag = __webpack_require__(84); var wellKnownSymbol = __webpack_require__(34); var ITERATOR = wellKnownSymbol('iterator'); -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); var ArrayValues = ArrayIteratorMethods.values; var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) { @@ -23974,9 +24277,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) { } catch (error) { CollectionPrototype[ITERATOR] = ArrayValues; } - if (!CollectionPrototype[TO_STRING_TAG]) { - createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME); - } + setToStringTag(CollectionPrototype, COLLECTION_NAME, true); if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) { // some Chrome versions have non-configurable methods on DOMTokenList if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try { @@ -23996,13 +24297,13 @@ handlePrototype(DOMTokenListPrototype, 'DOMTokenList'); /***/ }), -/* 744 */ +/* 752 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); -var tryNodeRequire = __webpack_require__(521); +var tryNodeRequire = __webpack_require__(524); var getBuiltIn = __webpack_require__(24); var fails = __webpack_require__(7); var create = __webpack_require__(72); @@ -24015,7 +24316,7 @@ var anInstance = __webpack_require__(211); var anObject = __webpack_require__(47); var errorToString = __webpack_require__(127); var normalizeStringArgument = __webpack_require__(121); -var DOMExceptionConstants = __webpack_require__(745); +var DOMExceptionConstants = __webpack_require__(753); var clearErrorStack = __webpack_require__(124); var InternalStateModule = __webpack_require__(52); var DESCRIPTORS = __webpack_require__(6); @@ -24148,7 +24449,7 @@ for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { /***/ }), -/* 745 */ +/* 753 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24183,7 +24484,7 @@ module.exports = { /***/ }), -/* 746 */ +/* 754 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24197,7 +24498,7 @@ var hasOwn = __webpack_require__(39); var anInstance = __webpack_require__(211); var inheritIfRequired = __webpack_require__(120); var normalizeStringArgument = __webpack_require__(121); -var DOMExceptionConstants = __webpack_require__(745); +var DOMExceptionConstants = __webpack_require__(753); var clearErrorStack = __webpack_require__(124); var DESCRIPTORS = __webpack_require__(6); var IS_PURE = __webpack_require__(36); @@ -24258,7 +24559,7 @@ if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) { /***/ }), -/* 747 */ +/* 755 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24273,25 +24574,25 @@ setToStringTag(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION); /***/ }), -/* 748 */ +/* 756 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove this module from `core-js@4` since it's split to modules listed below -__webpack_require__(749); -__webpack_require__(750); +__webpack_require__(757); +__webpack_require__(758); /***/ }), -/* 749 */ +/* 757 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var global = __webpack_require__(4); -var clearImmediate = __webpack_require__(328).clear; +var clearImmediate = __webpack_require__(331).clear; // `clearImmediate` method // http://w3c.github.io/setImmediate/#si-clearImmediate @@ -24301,15 +24602,15 @@ $({ global: true, bind: true, enumerable: true, forced: global.clearImmediate != /***/ }), -/* 750 */ +/* 758 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var global = __webpack_require__(4); -var setTask = __webpack_require__(328).set; -var schedulersFix = __webpack_require__(751); +var setTask = __webpack_require__(331).set; +var schedulersFix = __webpack_require__(759); // https://github.com/oven-sh/bun/issues/1633 var setImmediate = global.setImmediate ? schedulersFix(setTask, false) : setTask; @@ -24322,7 +24623,7 @@ $({ global: true, bind: true, enumerable: true, forced: global.setImmediate !== /***/ }), -/* 751 */ +/* 759 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24330,10 +24631,10 @@ $({ global: true, bind: true, enumerable: true, forced: global.setImmediate !== var global = __webpack_require__(4); var apply = __webpack_require__(96); var isCallable = __webpack_require__(21); -var ENGINE_IS_BUN = __webpack_require__(752); +var ENGINE_IS_BUN = __webpack_require__(760); var USER_AGENT = __webpack_require__(29); var arraySlice = __webpack_require__(97); -var validateArgumentsLength = __webpack_require__(329); +var validateArgumentsLength = __webpack_require__(332); var Function = global.Function; // dirty IE9- and Bun 0.3.0- checks @@ -24360,26 +24661,26 @@ module.exports = function (scheduler, hasTimeArg) { /***/ }), -/* 752 */ +/* 760 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* global Bun -- Deno case */ +/* global Bun -- Bun case */ module.exports = typeof Bun == 'function' && Bun && typeof Bun.version == 'string'; /***/ }), -/* 753 */ +/* 761 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var global = __webpack_require__(4); -var microtask = __webpack_require__(331); +var microtask = __webpack_require__(334); var aCallable = __webpack_require__(31); -var validateArgumentsLength = __webpack_require__(329); +var validateArgumentsLength = __webpack_require__(332); var IS_NODE = __webpack_require__(183); var process = global.process; @@ -24397,7 +24698,7 @@ $({ global: true, enumerable: true, dontCallGetSet: true }, { /***/ }), -/* 754 */ +/* 762 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24445,7 +24746,7 @@ try { /***/ }), -/* 755 */ +/* 763 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24469,14 +24770,14 @@ var hasOwn = __webpack_require__(39); var createProperty = __webpack_require__(78); var createNonEnumerableProperty = __webpack_require__(44); var lengthOfArrayLike = __webpack_require__(64); -var validateArgumentsLength = __webpack_require__(329); -var getRegExpFlags = __webpack_require__(369); -var MapHelpers = __webpack_require__(506); +var validateArgumentsLength = __webpack_require__(332); +var getRegExpFlags = __webpack_require__(373); +var MapHelpers = __webpack_require__(252); var SetHelpers = __webpack_require__(659); var setIterate = __webpack_require__(664); -var detachTransferable = __webpack_require__(520); +var detachTransferable = __webpack_require__(523); var ERROR_STACK_INSTALLABLE = __webpack_require__(125); -var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(522); +var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(525); var Object = global.Object; var Array = global.Array; @@ -24611,6 +24912,7 @@ var cloneBuffer = function (value, map, $type) { } else { length = value.byteLength; options = 'maxByteLength' in value ? { maxByteLength: value.maxByteLength } : undefined; + // eslint-disable-next-line es/no-resizable-and-growable-arraybuffers -- safe clone = new ArrayBuffer(length, options); source = new DataView(value); target = new DataView(clone); @@ -24982,25 +25284,25 @@ $({ global: true, enumerable: true, sham: !PROPER_STRUCTURED_CLONE_TRANSFER, for /***/ }), -/* 756 */ +/* 764 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove this module from `core-js@4` since it's split to modules listed below -__webpack_require__(757); -__webpack_require__(758); +__webpack_require__(765); +__webpack_require__(766); /***/ }), -/* 757 */ +/* 765 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var global = __webpack_require__(4); -var schedulersFix = __webpack_require__(751); +var schedulersFix = __webpack_require__(759); var setInterval = schedulersFix(global.setInterval, true); @@ -25012,14 +25314,14 @@ $({ global: true, bind: true, forced: global.setInterval !== setInterval }, { /***/ }), -/* 758 */ +/* 766 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(3); var global = __webpack_require__(4); -var schedulersFix = __webpack_require__(751); +var schedulersFix = __webpack_require__(759); var setTimeout = schedulersFix(global.setTimeout, true); @@ -25031,26 +25333,26 @@ $({ global: true, bind: true, forced: global.setTimeout !== setTimeout }, { /***/ }), -/* 759 */ +/* 767 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove this module from `core-js@4` since it's replaced to module below -__webpack_require__(760); +__webpack_require__(768); /***/ }), -/* 760 */ +/* 768 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` -__webpack_require__(392); +__webpack_require__(396); var $ = __webpack_require__(3); var DESCRIPTORS = __webpack_require__(6); -var USE_NATIVE_URL = __webpack_require__(761); +var USE_NATIVE_URL = __webpack_require__(769); var global = __webpack_require__(4); var bind = __webpack_require__(86); var uncurryThis = __webpack_require__(14); @@ -25058,15 +25360,15 @@ var defineBuiltIn = __webpack_require__(48); var defineBuiltInAccessor = __webpack_require__(79); var anInstance = __webpack_require__(211); var hasOwn = __webpack_require__(39); -var assign = __webpack_require__(293); +var assign = __webpack_require__(295); var arrayFrom = __webpack_require__(163); var arraySlice = __webpack_require__(77); -var codeAt = __webpack_require__(385).codeAt; -var toASCII = __webpack_require__(762); +var codeAt = __webpack_require__(389).codeAt; +var toASCII = __webpack_require__(770); var $toString = __webpack_require__(69); var setToStringTag = __webpack_require__(84); -var validateArgumentsLength = __webpack_require__(329); -var URLSearchParamsModule = __webpack_require__(763); +var validateArgumentsLength = __webpack_require__(332); +var URLSearchParamsModule = __webpack_require__(771); var InternalStateModule = __webpack_require__(52); var setInternalState = InternalStateModule.set; @@ -26096,7 +26398,7 @@ $({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS /***/ }), -/* 761 */ +/* 769 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -26145,7 +26447,7 @@ module.exports = !fails(function () { /***/ }), -/* 762 */ +/* 770 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -26333,7 +26635,7 @@ module.exports = function (input) { /***/ }), -/* 763 */ +/* 771 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -26345,7 +26647,7 @@ var global = __webpack_require__(4); var call = __webpack_require__(8); var uncurryThis = __webpack_require__(14); var DESCRIPTORS = __webpack_require__(6); -var USE_NATIVE_URL = __webpack_require__(761); +var USE_NATIVE_URL = __webpack_require__(769); var defineBuiltIn = __webpack_require__(48); var defineBuiltInAccessor = __webpack_require__(79); var defineBuiltIns = __webpack_require__(210); @@ -26365,7 +26667,7 @@ var createPropertyDescriptor = __webpack_require__(11); var getIterator = __webpack_require__(135); var getIteratorMethod = __webpack_require__(136); var createIterResultObject = __webpack_require__(173); -var validateArgumentsLength = __webpack_require__(329); +var validateArgumentsLength = __webpack_require__(332); var wellKnownSymbol = __webpack_require__(34); var arraySort = __webpack_require__(189); @@ -26764,7 +27066,7 @@ module.exports = { /***/ }), -/* 764 */ +/* 772 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -26772,9 +27074,9 @@ module.exports = { var $ = __webpack_require__(3); var getBuiltIn = __webpack_require__(24); var fails = __webpack_require__(7); -var validateArgumentsLength = __webpack_require__(329); +var validateArgumentsLength = __webpack_require__(332); var toString = __webpack_require__(69); -var USE_NATIVE_URL = __webpack_require__(761); +var USE_NATIVE_URL = __webpack_require__(769); var URL = getBuiltIn('URL'); @@ -26801,7 +27103,7 @@ $({ target: 'URL', stat: true, forced: !THROWS_WITHOUT_ARGUMENTS }, { /***/ }), -/* 765 */ +/* 773 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -26819,17 +27121,17 @@ $({ target: 'URL', proto: true, enumerable: true }, { /***/ }), -/* 766 */ +/* 774 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // TODO: Remove this module from `core-js@4` since it's replaced to module below -__webpack_require__(763); +__webpack_require__(771); /***/ }), -/* 767 */ +/* 775 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -26837,7 +27139,7 @@ __webpack_require__(763); var defineBuiltIn = __webpack_require__(48); var uncurryThis = __webpack_require__(14); var toString = __webpack_require__(69); -var validateArgumentsLength = __webpack_require__(329); +var validateArgumentsLength = __webpack_require__(332); var $URLSearchParams = URLSearchParams; var URLSearchParamsPrototype = $URLSearchParams.prototype; @@ -26885,7 +27187,7 @@ if (params + '' !== 'a=2') { /***/ }), -/* 768 */ +/* 776 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -26893,7 +27195,7 @@ if (params + '' !== 'a=2') { var defineBuiltIn = __webpack_require__(48); var uncurryThis = __webpack_require__(14); var toString = __webpack_require__(69); -var validateArgumentsLength = __webpack_require__(329); +var validateArgumentsLength = __webpack_require__(332); var $URLSearchParams = URLSearchParams; var URLSearchParamsPrototype = $URLSearchParams.prototype; @@ -26920,7 +27222,7 @@ if (params.has('a', 2) || !params.has('a', undefined)) { /***/ }), -/* 769 */ +/* 777 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; From 081be1e6546919592157bfa0f21a78f8b8272b91 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Thu, 28 Dec 2023 01:02:51 +0800 Subject: [PATCH 093/234] =?UTF-8?q?=E5=B7=B2=E6=9C=89=E6=AD=A6=E5=B0=86?= =?UTF-8?q?=E9=85=8D=E9=9F=B3=E4=BF=AE=E6=94=B9+=E8=A1=A5=E5=85=85?= =?UTF-8?q?=EF=BC=8C=E5=8E=9F=E7=94=BB=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- audio/skill/sbhuoji1.mp3 | Bin 76455 -> 85859 bytes audio/skill/sbhuoji2.mp3 | Bin 67573 -> 90038 bytes audio/skill/sbhuoji3.mp3 | Bin 0 -> 92128 bytes audio/skill/sbkanpo1.mp3 | Bin 66006 -> 91606 bytes audio/skill/sbkanpo2.mp3 | Bin 60259 -> 86381 bytes image/character/sb_huangyueying.jpg | Bin 0 -> 61599 bytes image/character/sb_sp_zhugeliang.jpg | Bin 0 -> 53913 bytes image/character/sb_zhugeliang.jpg | Bin 0 -> 53913 bytes image/character/shen_huatuo.jpg | Bin 0 -> 69349 bytes 9 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 audio/skill/sbhuoji3.mp3 create mode 100644 image/character/sb_huangyueying.jpg create mode 100644 image/character/sb_sp_zhugeliang.jpg create mode 100644 image/character/sb_zhugeliang.jpg create mode 100644 image/character/shen_huatuo.jpg diff --git a/audio/skill/sbhuoji1.mp3 b/audio/skill/sbhuoji1.mp3 index 4cf18052b1685b2799768bcb04c41f3f448da6c2..eea153d81bd7aa5cc9bbfbfd2271584c0ebfe502 100644 GIT binary patch literal 85859 zcmeEtg;Si(x8^VmFu*_tA2fqI48uV14DP`lg1ZC{kdWZ+uE9OH2MA8^V8Ja|@E{=x z39|XV@9yrs`}=L}AF#KlYO3Gv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2b|KL9Oi1~M#xrYmBZvL&J-1Z)FMLs- zCCeQxY}}NQ%JA|UPlw;*UyM4Q)V$#~%FsYu6hhp3_0c=MOdK0pD#S#HSktr5eYkd8@XTrPd*qk|FRdejoC3svAqk{}&9*j|DPsu3j{ZQlnOK5E&`&K+ zkMN*RU*8m%%jbYKBTIUaUYh)EfJhuk2P8I;KbEe+D)VChxKh*-Rq@wn~ckQX8GmC`fa2FFrr4e6QA z{ko&)&%3oxw;VNK2vELi{9(;r+B{z#d0F5g{YPEkXr*q$DFen={|}wYe_aX=dM5w% R;{W$E6`Tt0|Nfcu{{=+_GF$)v diff --git a/audio/skill/sbhuoji3.mp3 b/audio/skill/sbhuoji3.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..4cb6db7590d8c4741bfbcb16e6505ea90170161d GIT binary patch literal 92128 zcmeFYWmH^Cw>H`|4h=M#hBU$58rOuz-Q9w_L(l|h+}$leg1bwA;ND2kkRTyg2u?x> zLHe@ye!nx$`ObUp829%*^T+C{wZ>SZ*Q}?W`P8ggO0xVIfCs~o(3Mh^erON?0Oee2H&iH}-@R6h`rTFH^iv;37yA1nOhOzycHaNO_Gc0sw#sNpW`?-AsOM8x~NJLYKuSqvKZ^p7-KV(KqEErww=Rf3pi=+m7+3o=cp- zW5bEkP<#{Z4q<(sDs$C4vy_I955i~;Y=>G}`||TM<&JvnHFy)^CN*@21i0MYwBN0L zK3H=Wrx9ma9YtRscSi2q~LiK9yc+ z68IX=PZncK_}>}(5jPK=?gVQ#LuThy9kPcJWBf=#=~sQ>M@JHKEw>xb@X;`y8AanB zMVHvNy?Ae;{{hLA2ru>2A|IFD&6TftinB|V`m98J73x;0R*hs^$`pgfa!!dJEX6A1t`@zwKQg1vqR|7O4g}g_mn!jtVGV1|PS#s82j?s%)U$9dn%(b~v2l=^j}l zV5Tj9g8-mz-V6f(G{g(kT?qj6hLNufurq+m$2={35_!O!1pt779=97B+7&E?@pc?v9)N ztILKsNU;H=^+Z$&h9PI*K>N03P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b&W-|KGL_ooG_Y_mQiUV31l^uQ6A)lT70j?{JWkg=#xpB z6CkGRjN#I>9}8n@qna9F!ihkHpRLmrrfewi&T{7Y|He@&|N~9TkXiY&_1!nXv`TR zn=+`b*e(RHuKtm-@W`D$buwvOchnKgSmG9Saf*pbr!{wz_0!h|(utuR({Q0u*k;3m F|Jjj&+-?8> literal 0 HcmV?d00001 diff --git a/image/character/sb_zhugeliang.jpg b/image/character/sb_zhugeliang.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5cb970c1c0b51a81c6b8a18dddb0ff90948cd4b2 GIT binary patch literal 53913 zcmb@t1yox>yDl8uic2Y0BuIj^Pzn@xNbulN9EwALAVrG16Wk?e(c%u z?9D@I>BcN<_?nB^)ymP<%f!;m-Rz%rH)n*ag_ViB*_(e6{-yYbfsY>-^MC3l?yhDQ z_RPY6wa%`#Z)}~Ig_#jf_D;^8PRv})?#}LJ4knhaW}YVQwvJZJ!q5LVotcHZt+UfZ zkO#GcnYWdzn+d|r%JLs|b613$jn#isxY#(mJG+^fSz7*!@lWSgmbUKBt|tHG>Tf3Q z&dv`1w)A1PaCLTJ7Uq4>+q#*!x!YRUTe&g|Tbnt!S#dG{HMg=fakF)LxMBx0H}`)t zOx(;o9ujtUMLe)9oSodwY@OWXwd6GaHwS(I0M`Gx=h0>V=iWwF{@YLgf4%)@9Y6w= zhsggOQV(P6q4=|j&H<5;F;R!9$wQRo{?UL={nrmV2>{^em$`?r`` zxViir{}1N}zdz^xId-SH|A+SflM2t$%FW_|boOw#yFLVeNY?TJQ@r^n_WFy>|A}M% zVplDg%mXL?0du_hZ`l05VNZ7#_Xp14U%rLQ!*l?kEk9sUM+d~;SbyaqZ@?ofCvDA# zv);o&2XF(x015!<2mJq3{_}e}7Xko6KmJa`|LDv!0D$ID0DyY&KRRGO06-i905pxe zn7Nw$BbmQ*AKm)lu5nQc01)Z}0OS(@0KVbB6aA0vfBNG8<60RXZ0H`Y)A`}^2H*g& z0x$v~04IP2fad}60iFYR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s?}xGpLwctC=M*BE=0TD{0)+u@U}4TYD;YDb~7p?i%h9RABn>zx;8WmU!AeIr{ghC znEvDN;qXN5xpzgvyg-Yn>@SMNQ)Nhf`vO3DLx#h1gKXhctx;Nxs1+v?wTrm#a)D#y zH^fHl$ugaB*WYp16mGRCd`=FCW*LH5=YgW|f|;${TgE(&CO*qlf3)?6PuhZ2Z$)1a zs97#0M4R84#M9YnANQi;fBCe>tUgB@NuvtNFKtbdYOyHUCS^*X`HvN;EQKsKRl2nR zEHN8S?Jp}jtqshmEseD$m|7H1GE_~#@*DZ!m$ViVzQHqlHYH5C8PU{fcmjS(#Z>@s z;nM@Lf!d~wXmHg|QafFzB|$Lq`>rKBC2qVBE$9KjUSQ9&EA+Dy_Iog6t99AMIHeox zMeGO2;10lY#z_T44g;n)3}`COYZ}r@R>KcWof;%I7bauw2HI&msl}+-DIU1B5NHhL zJfjCKA;2Y~?^GTeB~IGzx_pubf#i~T;y>()h3wL$=UGjKdllKGp+jZJBE@6;H?Z@+ zOfKyTu&Q=cOcXp-QL3iyuKpy)2ITo`Q27r$WcOx%UPw5bdh_`xr!m$)ZszGTl61pO snuvq;T2H(2KJoKDSRc73T1D^p<1(E|De}fmpny_6ad0UyXaRr!*@Kuk*#H0l literal 0 HcmV?d00001 diff --git a/image/character/shen_huatuo.jpg b/image/character/shen_huatuo.jpg new file mode 100644 index 0000000000000000000000000000000000000000..979ee9b0f6356087da2d5f893d0789d19699b81e GIT binary patch literal 69349 zcmb@t1ymeQw=X)ly9Esng9Ud95M%})+=II_XmAT8*udZt+}%ka1osf!-5r7l$mRc? z@7#0lTIapH-db<>boH-yZR^_AwYs}%{?7m1K(v+fv9ksMR8#FX(S+K}|FaqR7sTPL*zpejcXBGPQFuvw0~k zJ?KRZjXCJut(@$9OfAhk&Hm%u!v*SYVP)!RX7g`>e>482;2*$2|6k{(p6+HA4)mh` za9!N(Z0wxrMd_i=4$dy#&h#Ago-Uqdj;5CGX5OZrc1~9GqTK%n&&Ehz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H|5xOH1n=rV&1r{w*sb)B%;%om*h0I02dJ3gkCvnmRDt2VPN z{py`A={wzL;ZLoFzbr2%NOpYj87d_Ta_$g!S?Wpj#hpT7mgy;PkrCo!jK=T4p!Q<6A(tm3m)?)?zJTDl%BsYo(Dx?OuDv`z*16d30CJ8 zFjTp`$?Hl`Qj&(#e+qopf9H#L)Vvzo0U|{O=P8JWxNJ3I8DT-7I%?P_@;FQ889wby zaRBZ{l%Fsl4LFsjIO z-dhNDNET8qoBqhyet2Zm6q4k2mEj-*k4Pb)InyrBK}$kv!2}~NFMAyu3}-pBCpX55 ze5mr2i0hOXRD0Q?3Gpb8+V$&=15!@uyFXA5`kW^d}0Sr6;(* z=Y@wF7%SnFC$!&}JtqGEG@ZXpX1F9GMKLs#EnBJ*4m=Jk)IJ>7pk_RjDWQDWGodDZ zIalA7t0_tOq>z5Nab@JUJ1xtjNw%dlrtNN?NAtEk&-PT$&#NQ-j{AjkvdpB(iZyti zhP#EM`&)}u6}=;#OjPj_b5|r*bRV7X&>i~Rc~x0O~H3p}X`v!Z32tqjPeUaGHg~fu@S9&s^7;CTBh< zW=!W%H=ACmJ5h9g&oMhtWQ5N&x6pKMqizIHPd01e8w6sWB z2vI>wLQT5uj=KL0d*E`k^ Date: Thu, 28 Dec 2023 01:05:13 +0800 Subject: [PATCH 094/234] =?UTF-8?q?=E8=80=81=E8=AF=B8=E8=91=9B=E5=88=86?= =?UTF-8?q?=E5=8C=85=E6=B7=BB=E5=8A=A0=EF=BC=8Csbhuoji=E9=85=8D=E9=9F=B3?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- audio/skill/sbhuoji2.mp3 | Bin 90038 -> 92128 bytes audio/skill/sbhuoji3.mp3 | Bin 92128 -> 90038 bytes character/sb.js | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/skill/sbhuoji2.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character/sb.js b/character/sb.js index b0cd777b5..4c72a4ced 100644 --- a/character/sb.js +++ b/character/sb.js @@ -46,7 +46,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, characterSort:{ sb:{ - sb_zhi:['sb_sunquan','sb_zhouyu','sb_zhangjiao','sb_caocao','sb_zhenji','sb_liubei','sb_daqiao','sb_liubiao','sb_sp_zhugeliang'], + sb_zhi:['sb_sunquan','sb_zhouyu','sb_zhangjiao','sb_caocao','sb_zhenji','sb_liubei','sb_daqiao','sb_liubiao','sb_sp_zhugeliang','sb_zhugeliang'], sb_shi:['sb_xuhuang','sb_machao','sb_fazheng','sb_chengong','sb_diaochan','sb_pangtong','sb_zhanghe'], sb_tong:['liucheng','sp_yangwan','sb_xiahoushi','sb_zhangfei','sb_zhaoyun','sb_sunce','sb_zhurong','sb_xiaoqiao'], sb_yu:['sb_yujin','sb_lvmeng','sb_huangzhong','sb_huanggai','sb_zhouyu','sb_caoren','sb_ganning','sb_yl_luzhi','sb_huangyueying'], From 931c9a5ddaacac60a7d867fb6a0a3592e005a590 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Thu, 28 Dec 2023 01:06:14 +0800 Subject: [PATCH 095/234] =?UTF-8?q?=E5=A2=9E=E5=8A=A0core.js=E7=9A=84?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/game.js | 1 + 1 file changed, 1 insertion(+) diff --git a/game/game.js b/game/game.js index 76596539d..2b8ff9543 100644 --- a/game/game.js +++ b/game/game.js @@ -1,5 +1,6 @@ "use strict"; new Promise(resolve => { + // 客户端自带core.js的请注意跟进 if ('__core-js_shared__' in window) resolve(null); else { const nonameInitialized = localStorage.getItem('noname_inited'); From 5b445350bec648fba48249d07c4f435ec7169dbb Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Thu, 28 Dec 2023 02:08:11 +0800 Subject: [PATCH 096/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/game/index.js | 12 +++-- noname/get/index.js | 58 +++++++++++----------- noname/library/element/button.js | 31 ++++++------ noname/library/element/gameEvent.js | 6 +-- noname/library/element/gameEventPromise.js | 3 +- noname/library/element/player.js | 18 ++++--- noname/library/element/vcard.js | 9 +++- noname/ui/index.js | 21 ++++++++ 8 files changed, 96 insertions(+), 62 deletions(-) diff --git a/noname/game/index.js b/noname/game/index.js index c73b54bac..1c8eec333 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -4537,7 +4537,7 @@ export class Game extends Uninstantable { * * @param { string } name * @param { false } [trigger] - * @param { import('../library/index.js').GameEventPromise } triggerEvent + * @param { import('../library/index.js').GameEventPromise } [triggerEvent] */ static createEvent(name, trigger, triggerEvent) { const next = (new lib.element.GameEvent(name, trigger)).toPromise(); @@ -4783,7 +4783,7 @@ export class Game extends Uninstantable { } /** * @param { string } skill - * @param { import('../library/index.js').Player } player + * @param { import('../library/index.js').Player } [player] */ static addGlobalSkill(skill, player) { let info = lib.skill[skill]; @@ -5701,10 +5701,10 @@ export class Game extends Uninstantable { } if (event.next.length > 0) { var next = event.next.shift(); - if (next.player && next.player.skipList.contains(next.name)) { + if (next.player && next.player.skipList.includes(next.name)) { event.trigger(next.name + 'Skipped'); next.player.skipList.remove(next.name); - if (lib.phaseName.contains(next.name)) next.player.getHistory('skipped').add(next.name); + if (lib.phaseName.includes(next.name)) next.player.getHistory('skipped').add(next.name); } else { next.parent = event; @@ -5868,6 +5868,7 @@ export class Game extends Uninstantable { }; run(event).then(() => { + // 其实这个if几乎一定执行了 if (game.executingAsyncEventMap.has(event.toEvent())) { game.executingAsyncEventMap.set(_status.event.toEvent(), game.executingAsyncEventMap.get(_status.event.toEvent()).then(() => { event.finish(); @@ -5909,6 +5910,7 @@ export class Game extends Uninstantable { else if (event.content instanceof AsyncFunction) { // _status,lib,game,ui,get,ai六个变量由game.import提供 event.content(event, trigger, player).then(() => { + // 其实这个if几乎一定执行了 if (game.executingAsyncEventMap.has(event.toEvent())) { game.executingAsyncEventMap.set(_status.event.toEvent(), game.executingAsyncEventMap.get(_status.event.toEvent()).then(() => { event.finish(); @@ -7711,7 +7713,7 @@ export class Game extends Uninstantable { Object.keys(lib.skill).forEach(value => game.finishSkill(value)); } /** - * 这玩意至少19中重载了吧 + * 这玩意至少19种重载了吧 */ static checkMod() { const argumentArray = Array.from(arguments), name = argumentArray[argumentArray.length - 2]; diff --git a/noname/get/index.js b/noname/get/index.js index 94ae8b5ef..523a04a5d 100644 --- a/noname/get/index.js +++ b/noname/get/index.js @@ -9,8 +9,8 @@ import { GNC as gnc } from '../gnc/index.js'; export class Is extends Uninstantable { /** * 判断是否为进攻坐骑 - * @param {Card | VCard} card - * @param {false | Player} [player] + * @param {import("../library/index.js").Card | import("../library/index.js").VCard} card + * @param {false | import("../library/index.js").Player} [player] * @returns {boolean} */ static attackingMount(card, player) { @@ -25,8 +25,8 @@ export class Is extends Uninstantable { } /** * 判断是否为防御坐骑 - * @param {Card | VCard} card - * @param {false | Player} [player] + * @param {import("../library/index.js").Card | import("../library/index.js").VCard} card + * @param {false | import("../library/index.js").Player} [player] * @returns {boolean} */ static defendingMount(card, player) { @@ -257,14 +257,14 @@ export class Is extends Uninstantable { }; configs[name] = item; if (!configs.phonelayout) return false; - if (configs.show_round_menu && menus.contains(configs.round_menu_func)) { + if (configs.show_round_menu && menus.includes(configs.round_menu_func)) { return false; } if (configs.touchscreen) { - if (menus.contains(configs.swipe_up)) return false; - if (menus.contains(configs.swipe_down)) return false; - if (menus.contains(configs.swipe_left)) return false; - if (menus.contains(configs.swipe_right)) return false; + if (menus.includes(configs.swipe_up)) return false; + if (menus.includes(configs.swipe_down)) return false; + if (menus.includes(configs.swipe_left)) return false; + if (menus.includes(configs.swipe_right)) return false; } else { if (configs.right_click == 'config') return false; @@ -1131,7 +1131,7 @@ export class Get extends Uninstantable { for (var i in lib.cardPile) { for (var j = 0; j < lib.cardPile[i].length; j++) { var info = lib.cardPile[i][j]; - if (lib.inpile.contains(info[2]) && get.type(info[2]) == type) { + if (lib.inpile.includes(info[2]) && get.type(info[2]) == type) { list.push({ name: info[2], suit: info[0], @@ -1273,7 +1273,7 @@ export class Get extends Uninstantable { var pack = lib.characterPack[lib.configOL.characterPack[i]]; for (var j in pack) { if (typeof func == 'function' && func(j)) continue; - if (lib.connectBanned.contains(j)) continue; + if (lib.connectBanned.includes(j)) continue; if (lib.character[j]) libCharacter[j] = pack[j]; } } @@ -1954,8 +1954,8 @@ export class Get extends Uninstantable { } /** * - * @param {Card | VCard} card - * @param {false | Player} [player] + * @param {import("../library/index.js").Card | import("../library/index.js").VCard} card + * @param {false | import("../library/index.js").Player} [player] * @returns {string} */ static name(card, player) { @@ -1968,8 +1968,8 @@ export class Get extends Uninstantable { return card.name; } /** - * @param {Card | VCard | Card[] | VCard[]} card - * @param {false | Player} [player] + * @param {import("../library/index.js").Card | import("../library/index.js").VCard | Card[] | VCard[]} card + * @param {false | import("../library/index.js").Player} [player] * @returns {string} */ static suit(card, player) { @@ -1988,13 +1988,13 @@ export class Get extends Uninstantable { return game.checkMod(card, owner, game.checkMod(card, card.suit, 'suit', owner), 'cardsuit', owner); } } - if (lib.suits.contains(card.suit)) return card.suit; + if (lib.suits.includes(card.suit)) return card.suit; return 'none'; } } /** - * @param {Card | VCard | Card[] | VCard[]} card - * @param {false | Player} [player] + * @param {import("../library/index.js").Card | import("../library/index.js").VCard | Card[] | VCard[]} card + * @param {false | import("../library/index.js").Player} [player] * @returns {string} */ static color(card, player) { @@ -2022,8 +2022,8 @@ export class Get extends Uninstantable { } } /** - * @param {Card | VCard} card - * @param {false | Player} [player] + * @param {import("../library/index.js").Card | import("../library/index.js").VCard} card + * @param {false | import("../library/index.js").Player} [player] * @returns {number} */ static number(card, player) { @@ -2047,8 +2047,8 @@ export class Get extends Uninstantable { } /** * 返回一张杀的属性。如有多种属性则用`lib.natureSeparator`分割开来。例:火雷【杀】的返回值为`fire|thunder` - * @param {string | string[] | Card | VCard} card - * @param {false | Player} [player] + * @param {string | string[] | import("../library/index.js").Card | import("../library/index.js").VCard} card + * @param {false | import("../library/index.js").Player} [player] * @returns {string} */ static nature(card, player) { @@ -2066,7 +2066,7 @@ export class Get extends Uninstantable { /** * 返回包含所有属性的数组 * @param {string[] | string} card - * @param {false | Player} [player] + * @param {false | import("../library/index.js").Player} [player] * @returns {string[]} */ static natureList(card, player) { @@ -4539,12 +4539,12 @@ export class Get extends Uninstantable { if (!isLink && get.tag(card, 'natureDamage') && !zerotarget) { var info = get.info(card); if (!info || !info.ai || !info.ai.canLink) { - if (target.isLinked()) game.countPlayer(function (current) { + if (target.isLinked()) game.players.forEach(function (current) { if (current != target && current.isLinked()) final += get.effect(current, card, player, player2, true); }); } else if (info.ai.canLink(player, target, card)) { - game.countPlayer(function (current) { + game.players.forEach(function (current) { if (current != target && current.isLinked()) final += get.effect(current, card, player, player2, true); }); } @@ -4713,12 +4713,12 @@ export class Get extends Uninstantable { if (!isLink && get.tag(card, 'natureDamage') && !zerotarget) { var info = get.info(card); if (!info || !info.ai || !info.ai.canLink) { - if (target.isLinked()) game.countPlayer(function (current) { + if (target.isLinked()) game.players.forEach(function (current) { if (current != target && current.isLinked()) final += get.effect(current, card, player, player2, true); }); } else if (info.ai.canLink(player, target, card)) { - game.countPlayer(function (current) { + game.players.forEach(function (current) { if (current != target && current.isLinked()) final += get.effect(current, card, player, player2, true); }); } @@ -4764,7 +4764,7 @@ export class Get extends Uninstantable { var card = button.link; var player = get.owner(card); if (!player) player = _status.event.player; - if (player.getCards('j').contains(card)) { + if (player.getCards('j').includes(card)) { var efff = get.effect(player, { name: card.viewAs || card.name, cards: [card], @@ -4773,7 +4773,7 @@ export class Get extends Uninstantable { if (efff == 0) return 0; return -1.5; } - if (player.getCards('e').contains(card)) { + if (player.getCards('e').includes(card)) { var evalue = get.value(card, player); if (player.hasSkillTag('noe')) { if (evalue >= 7) { diff --git a/noname/library/element/button.js b/noname/library/element/button.js index b497eda7f..59e9251dc 100644 --- a/noname/library/element/button.js +++ b/noname/library/element/button.js @@ -8,27 +8,28 @@ import { UI as ui } from '../../ui/index.js'; export class Button extends HTMLDivElement { /** * @param {{}} item - * @param {keyof typeof ui.create.buttonPresets | ((item: {}, type: Function, position?: HTMLDivElement | DocumentFragment, noClick?: true, button?: typeof Button) => typeof Button)} type + * @param {keyof typeof ui.create.buttonPresets | ((item: {}, type: Function, position?: HTMLDivElement | DocumentFragment, noClick?: true, button?: Button) => Button)} type * @param {HTMLDivElement|DocumentFragment} [position] * @param {true} [noClick] - * @param { typeof Button } [button] + * @param { Button } [button] */ // @ts-ignore constructor(item, type, position, noClick, button) { - if (ui.create.buttonPresets[type]) button = ui.create.buttonPresets[type](item, type, position, noClick, button); - else if (typeof type == 'function') button = type(item, type, position, noClick, button); - Object.setPrototypeOf(button, Button.prototype); - // @ts-ignore - if (!noClick) button.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.button); - else { - // @ts-ignore - button.classList.add('noclick'); - // @ts-ignore - const intro = button.querySelector('.intro'); - if (intro) intro.remove(); + if (typeof type == 'function') button = type(item, type, position, noClick, button); + else if (ui.create.buttonPresets[type]) button = ui.create.buttonPresets[type](item, type, position, noClick, button); + if (button) { + Object.setPrototypeOf(button, Button.prototype); + if (!noClick) button.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.button); + else { + button.classList.add('noclick'); + const intro = button.querySelector('.intro'); + if (intro) intro.remove(); + } + return button; + } else { + console.error([item, type, position, noClick, button]); + throw 'button不合法'; } - // @ts-ignore - return button; } exclude() { if (_status.event.excludeButton == undefined) { diff --git a/noname/library/element/gameEvent.js b/noname/library/element/gameEvent.js index 4715597c9..ef465b9f1 100644 --- a/noname/library/element/gameEvent.js +++ b/noname/library/element/gameEvent.js @@ -7,7 +7,7 @@ import { UI as ui } from '../../ui/index.js'; import { AsyncFunction } from '../../util/index.js'; export class GameEvent { - /** @type { import('./gameEventPromise.js').default } */ + /** @type { import('../index.js').GameEventPromise } */ #promise; /** * @param {string} [name] @@ -26,11 +26,11 @@ export class GameEvent { this.step = 0; this.finished = false; /** - * @type {(import('./GameEventPromise.js').default)[]} + * @type {(import('../index.js').GameEventPromise)[]} */ this.next = []; /** - * @type {(import('./GameEventPromise.js').default)[]} + * @type {(import('../index.js').GameEventPromise)[]} */ this.after = []; this.custom = { diff --git a/noname/library/element/gameEventPromise.js b/noname/library/element/gameEventPromise.js index 30d0ac8cd..7d5085096 100644 --- a/noname/library/element/gameEventPromise.js +++ b/noname/library/element/gameEventPromise.js @@ -37,8 +37,7 @@ export class GameEventPromise extends Promise { } #event; /** - * @param { import('./gameEvent.js').default } event - * @returns { Promise & import('./gameEvent.js').default } + * @param { import('./gameEvent.js').GameEvent } event */ constructor(event) { super(resolve => { diff --git a/noname/library/element/player.js b/noname/library/element/player.js index a4c04dcb5..c06a7ae55 100644 --- a/noname/library/element/player.js +++ b/noname/library/element/player.js @@ -1400,13 +1400,19 @@ export class Player extends HTMLDivElement { inRangeOf(source) { return source.inRange(this); } - //Get the player's HP not less than 0. Set “raw” to true to get the player's raw HP instead. - //获取角色的体力值。设置“raw”为true以获取角色的体力。 + /** + * Get the player's HP not less than 0. Set “raw” to true to get the player's raw HP instead. + * + * 获取角色的体力值。设置“raw”为true以获取角色的体力。 + */ getHp(raw) { return raw ? this.hp : Math.max(0, this.hp); } - //Set “raw” to true to get the player's raw damaged HP instead. - //设置“raw”为true以获取角色已损失的体力。 + /** + * Set “raw” to true to get the player's raw damaged HP instead. + * + * 设置“raw”为true以获取角色已损失的体力。 + */ getDamagedHp(raw) { return this.maxHp - this.getHp(raw); } @@ -2701,8 +2707,8 @@ export class Player extends HTMLDivElement { } /** * @param {string} [arg1='h'] - * @param {string | Record | (card: Card) => boolean} [arg2] - * @returns {Card[]} + * @param {string | Record | ((card: import('../index.js').Card) => boolean)} [arg2] + * @returns {import('../index.js').Card[]} */ getCards(arg1, arg2) { if (typeof arg1 != 'string') { diff --git a/noname/library/element/vcard.js b/noname/library/element/vcard.js index 3a8e73515..6cc4ebee1 100644 --- a/noname/library/element/vcard.js +++ b/noname/library/element/vcard.js @@ -8,7 +8,7 @@ import { UI as ui } from '../../ui/index.js'; export class VCard { /** * @param {any} [suitOrCard] - * @param {number | Card[]} [numberOrCards] + * @param {number | import('./card.js').Card[]} [numberOrCards] * @param {string} [name] * @param {string} [nature] */ @@ -31,6 +31,7 @@ export class VCard { */ this.nature = suitOrCard[3]; } + // @ts-ignore else if (get.itemtype(suitOrCard) == 'card') { this.name = get.name(suitOrCard); this.suit = get.suit(suitOrCard); @@ -54,6 +55,10 @@ export class VCard { } else if (suitOrCard && typeof suitOrCard != 'string') { Object.keys(suitOrCard).forEach(key => { + /** + * @type { PropertyDescriptor } + */ + // @ts-ignore const propertyDescriptor = Object.getOwnPropertyDescriptor(suitOrCard, key), value = propertyDescriptor.value; if (Array.isArray(value)) this[key] = value.slice(); else Object.defineProperty(this, key, propertyDescriptor); @@ -61,7 +66,7 @@ export class VCard { if (Array.isArray(numberOrCards)) { const noCards = !this.cards; /** - * @type {Card[]} + * @type {import('./card.js').Card[]} */ this.cards = numberOrCards.slice(); if (noCards) { diff --git a/noname/ui/index.js b/noname/ui/index.js index e7d9db2be..055a24c6e 100644 --- a/noname/ui/index.js +++ b/noname/ui/index.js @@ -9590,6 +9590,9 @@ class Create extends Uninstantable { return node; } static buttonPresets = { + /** + * @returns { import("../library/index.js").Button } + */ tdnodes: (item, type, position, noclick, node) => { node = ui.create.div('.shadowed.reduce_radius.pointerdiv.tdnode.tdnodes', position); if (Array.isArray(item)) { @@ -9602,11 +9605,17 @@ class Create extends Uninstantable { } return node; }, + /** + * @returns { import("../library/index.js").Button } + */ blank: (item, type, position, noclick, node) => { node = ui.create.div('.button.card', position); node.link = item; return node; }, + /** + * @returns { import("../library/index.js").Button } + */ card: (item, type, position, noclick, node) => { if (typeof item.copy == 'function') { node = item.copy(false); @@ -9636,6 +9645,9 @@ class Create extends Uninstantable { } return node; }, + /** + * @returns { import("../library/index.js").Button } + */ vcard: (item, type, position, noclick, node) => { if (typeof item == 'string') { item = [get.type(item), '', item]; @@ -9646,6 +9658,9 @@ class Create extends Uninstantable { node.link = item; return node; }, + /** + * @returns { import("../library/index.js").Button } + */ character: (item, type, position, noclick, node) => { if (node) { node.classList.add('button'); @@ -9790,9 +9805,15 @@ class Create extends Uninstantable { return node; }, + /** + * @returns { import("../library/index.js").Button } + */ characterx: (item, type, position, noclick, node) => { return ui.create.buttonPresets.character(item, type, position, noclick, node); }, + /** + * @returns { import("../library/index.js").Button } + */ player: (item, type, position, noclick, node) => { if (node) { node.classList.add('button'); From a8d60ed38f6743fbfde462f2133fd76c8619fa85 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Thu, 28 Dec 2023 10:04:38 +0800 Subject: [PATCH 097/234] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dai=E9=94=99=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/offline.js | 46 +++++++++++++++++++++----------------------- character/shenhua.js | 10 ++++------ character/sp.js | 34 +++++++++++++++++++++++--------- character/tw.js | 10 ++++++---- 4 files changed, 57 insertions(+), 43 deletions(-) diff --git a/character/offline.js b/character/offline.js index bdd90d992..25b67e0b2 100644 --- a/character/offline.js +++ b/character/offline.js @@ -916,30 +916,28 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ threaten:100, reverseEquip:true, - ai:{ - effect:{ - player:(card,player,target)=>{ - if(typeof card!=='object') return; - let suit=get.suit(card); - if(!lib.suit.contains(suit)||player.hasCard(function(i){ - return get.suit(i,player)==suit; - },'h')) return; - return [1,game.countPlayer(current=>{ - return current.countCards('e',card=>{ - return get.suit(card,current)==suit; - }); - })]; - }, - target:(card,player,target)=>{ - if(card.name==='sha'&&!player.hasSkillTag('directHit_ai',true,{ - target:target, - card:card - },true)&&game.hasPlayer(current=>{ - return current.hasCard(cardx=>{ - return get.subtype(cardx)==='equip3'; - },'e'); - })) return [0, -0.5]; - } + effect:{ + player:(card,player,target)=>{ + if(typeof card!=='object') return; + let suit=get.suit(card); + if(!lib.suit.contains(suit)||player.hasCard(function(i){ + return get.suit(i,player)==suit; + },'h')) return; + return [1,game.countPlayer(current=>{ + return current.countCards('e',card=>{ + return get.suit(card,current)==suit; + }); + })]; + }, + target:(card,player,target)=>{ + if(card.name==='sha'&&!player.hasSkillTag('directHit_ai',true,{ + target:target, + card:card + },true)&&game.hasPlayer(current=>{ + return current.hasCard(cardx=>{ + return get.subtype(cardx)==='equip3'; + },'e'); + })) return [0, -0.5]; } } } diff --git a/character/shenhua.js b/character/shenhua.js index bd12c7d04..ce70f6d04 100755 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -4826,12 +4826,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, ai:{ threaten:2, - ai:{ - noh:true, - skillTagFilter:function(player,tag){ - if(tag=='noh'){ - if(player.countCards('h')!=2) return false; - } + noh:true, + skillTagFilter:function(player,tag){ + if(tag=='noh'){ + if(player.countCards('h')!=2) return false; } } } diff --git a/character/sp.js b/character/sp.js index 4d28bcab6..c6ad15b95 100755 --- a/character/sp.js +++ b/character/sp.js @@ -4967,12 +4967,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, olkangrui:{ audio:2, + init:()=>{ + game.addGlobalSkill('olkangrui_ai'); + }, + onremove:()=>{ + if(!game.hasPlayer(i=>i.hasSkill('olkangrui'),true)) game.removeGlobalSkill('olkangrui_ai'); + }, trigger:{global:'damageEnd'}, filter:function(event,player){ return event.player==_status.currentPhase&&event.player.getHistory('damage').indexOf(event)==0; }, direct:true, - global:'olkangrui_ai', content:function(){ 'step 0' player.chooseControl('cancel2').set('choiceList',[ @@ -5058,15 +5063,26 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, ai:{ - effect:{ - target:function(card,player,target){ - if(target!=player||!get.tag(card,'damage')) return; - var list=game.filterPlayer(current=>current.hasSkill('olkangrui')&&get.attitude(current,player)>0); - var history=player.getHistory('damage'); - if(!list.length||history.length!=0) return; - return [1,2]; - } + trigger:{player:'dieAfter'}, + filter:()=>{ + return !game.hasPlayer(i=>i.hasSkill('olkangrui'),true); }, + silent:true, + forceDie:true, + content:()=>{ + game.removeGlobalSkill('olkangrui_ai'); + }, + ai:{ + effect:{ + target:function(card,player,target){ + if(target!=player||!get.tag(card,'damage')) return; + var list=game.filterPlayer(current=>current.hasSkill('olkangrui')&&get.attitude(current,player)>0); + var history=player.getHistory('damage'); + if(!list.length||history.length!=0) return; + return [1,2]; + } + } + } } } }, diff --git a/character/tw.js b/character/tw.js index f5e84a661..be5aef49c 100644 --- a/character/tw.js +++ b/character/tw.js @@ -8662,10 +8662,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ trigger.player.addMark('twlvren',1); }, - effect:{ - player:function(card,player,target){ - if(target.hasMark('twlvren')) return 0.33; - }, + ai:{ + effect:{ + player:function(card,player,target){ + if(target.hasMark('twlvren')) return 0.33; + } + } }, marktext:'刃', intro:{name2:'刃',content:'mark'}, From 67d3559612b2df1235e3fe20da902cd1bd1d75d1 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Thu, 28 Dec 2023 11:19:56 +0800 Subject: [PATCH 098/234] =?UTF-8?q?=E5=8F=8A=E6=97=B6=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E9=83=A8=E5=88=86=E5=A4=B1=E6=95=88=E7=9A=84=E5=85=A8=E5=B1=80?= =?UTF-8?q?ai=E4=BB=A5=E6=8F=90=E9=AB=98=E6=B8=B8=E6=88=8F=E6=B5=81?= =?UTF-8?q?=E7=95=85=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/diy.js | 20 +++++++++++++++++--- character/gujian.js | 17 +++-------------- character/huicui.js | 16 +++++++++++++++- character/jsrg.js | 16 +++++++++++++++- character/offline.js | 16 +++++++++++++++- character/shenhua.js | 10 ++++------ character/sp2.js | 16 +++++++++++++++- character/xianding.js | 16 +++++++++++++++- character/xinghuoliaoyuan.js | 16 +++++++++++++++- character/yingbian.js | 18 ++++++++++++++++-- 10 files changed, 130 insertions(+), 31 deletions(-) diff --git a/character/diy.js b/character/diy.js index 03b87777a..2704a047f 100755 --- a/character/diy.js +++ b/character/diy.js @@ -7778,7 +7778,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ mod:{ globalFrom:function(from,to,num){ return num-game.countPlayer(function(current){ - return current!=from&¤t.isFriendOf(from)&¤t.hasSkill('yuzuru_bujin'); + return current!=from&¤t.hasSkill('yuzuru_bujin')&¤t.isFriendOf(from); }); }, }, @@ -11916,6 +11916,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, nslongyue:{ + init:()=>{ + game.addGlobalSkill('nslongyue_ai'); + }, + onremove:()=>{ + if(!game.hasPlayer(i=>i.hasSkill('nslongyue'),true)) game.removeGlobalSkill('nslongyue_ai'); + }, trigger:{global:'useCard'}, filter:function(event,player){ return get.type(event.card,'trick')=='trick'&&event.player.getHistory('useCard').indexOf(event)==0; @@ -11929,8 +11935,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, ai:{ expose:0.2, - }, - global:'nslongyue_ai', + } }, nslongyue_ai:{ mod:{ @@ -11940,6 +11945,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){ })) return num+6; }, }, + trigger:{player:'dieAfter'}, + filter:()=>{ + return !game.hasPlayer(i=>i.hasSkill('nslongyue'),true); + }, + silent:true, + forceDie:true, + content:()=>{ + game.removeGlobalSkill('nslongyue_ai'); + } }, nszhenyin:{ trigger:{global:'judge'}, diff --git a/character/gujian.js b/character/gujian.js index 20eddc160..fdd4eb722 100644 --- a/character/gujian.js +++ b/character/gujian.js @@ -1638,11 +1638,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, meiying:{ - global:'meiying2', globalSilent:true, trigger:{global:'phaseEnd'}, filter:function(event,player){ - return event.player!=player&&!event.player.tempSkills.meiying3&&event.player.isAlive()&&player.countCards('he',{color:'red'})>0; + return event.player!=player&&event.player.isAlive()&&player.countCards('he',{color:'red'})&&event.player.getHistory('useCard',evt=>{ + return evt.targets&&evt.targets.some(i=>i!==event.player); + }).length===0; }, direct:true, content:function(){ @@ -1665,18 +1666,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ expose:0.1 } }, - meiying2:{ - trigger:{player:'useCard'}, - filter:function(event,player){ - return _status.currentPhase==player&&event.targets&&(event.targets.length>1||event.targets[0]!=player); - }, - forced:true, - popup:false, - content:function(){ - player.addTempSkill('meiying3'); - } - }, - meiying3:{}, jianwu:{ trigger:{player:'shaBegin'}, forced:true, diff --git a/character/huicui.js b/character/huicui.js index 89f1fdbd2..952b79b20 100644 --- a/character/huicui.js +++ b/character/huicui.js @@ -1850,6 +1850,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ //裴元绍 dcmoyu:{ audio:2, + init:()=>{ + game.addGlobalSkill('dcmoyu_ai'); + }, + onremove:()=>{ + if(!game.hasPlayer(i=>i.hasSkill('dcmoyu'),true)) game.removeGlobalSkill('dcmoyu_ai'); + }, enable:'phaseUse', filter:function(event,player){ return !player.hasSkill('dcmoyu_ban')&&game.hasPlayer(current=>lib.skill.dcmoyu.filterTarget(null,player,current)); @@ -1857,7 +1863,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filterTarget:function(card,player,target){ return player!=target&&!player.getStorage('dcmoyu_clear').contains(target)&&target.countGainableCards(player,'hej'); }, - global:'dcmoyu_ai', content:function(){ 'step 0' player.addTempSkill('dcmoyu_clear'); @@ -1893,6 +1898,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){ intro:{content:'偷马贼被反打了!'}, }, ai:{ + trigger:{player:'dieAfter'}, + filter:()=>{ + return !game.hasPlayer(i=>i.hasSkill('dcmoyu'),true); + }, + silent:true, + forceDie:true, + content:()=>{ + game.removeGlobalSkill('dcmoyu_ai'); + }, ai:{ effect:{ target:function(card,player,target,current){ diff --git a/character/jsrg.js b/character/jsrg.js index 94f5a61fb..38761f34d 100644 --- a/character/jsrg.js +++ b/character/jsrg.js @@ -1678,7 +1678,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, zhuSkill:true, forced:true, - global:'jsrgjiemeng_effect', + init:()=>{ + game.addGlobalSkill('jsrgjiemeng_effect'); + }, + onremove:()=>{ + if(!game.hasPlayer(i=>i.hasSkill('jsrgjiemeng'),true)) game.removeGlobalSkill('jsrgjiemeng_effect'); + }, subSkill:{ effect:{ mod:{ @@ -1688,6 +1693,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return distance-game.countPlayer(current=>current.group=='qun'); }, }, + trigger:{player:'dieAfter'}, + filter:()=>{ + return !game.hasPlayer(i=>i.hasSkill('jsrgjiemeng'),true); + }, + silent:true, + forceDie:true, + content:()=>{ + game.removeGlobalSkill('jsrgjiemeng_effect'); + } }, }, }, diff --git a/character/offline.js b/character/offline.js index 25b67e0b2..6c4a11617 100644 --- a/character/offline.js +++ b/character/offline.js @@ -3729,7 +3729,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ yjdumou:{ audio:2, forced:true, - global:'yjdumou_du', mod:{ cardname:function(card,player,name){ if(player==_status.currentPhase&&card.name=='du') return 'guohe'; @@ -3738,6 +3737,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(card.name=='du') return get.value({name:'guohe'}); }, }, + init:()=>{ + game.addGlobalSkill('yjdumou_du'); + }, + onremove:()=>{ + if(!game.hasPlayer(i=>i.hasSkill('yjdumou'),true)) game.removeGlobalSkill('yjdumou_du'); + }, subSkill:{ du:{ mod:{ @@ -3747,6 +3752,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){ aiValue:function(player,card,num){ if(get.name(card)=='du'&&card.name!='du') return get.value({name:card.name}); }, + }, + trigger:{player:'dieAfter'}, + filter:()=>{ + return !game.hasPlayer(i=>i.hasSkill('yjdumou'),true); + }, + silent:true, + forceDie:true, + content:()=>{ + game.removeGlobalSkill('yjdumou_du'); } } }, diff --git a/character/shenhua.js b/character/shenhua.js index ce70f6d04..67081054b 100755 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -5352,15 +5352,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ wansha2:{ mod:{ cardSavable:function(card,player){ - if(!_status.currentPhase) return; - if(_status.currentPhase.isIn()&&_status.currentPhase.hasSkill('wansha')&&_status.currentPhase!=player){ - if(card.name=='tao'&&!player.isDying()) return false; + if(card.name=='tao'&&_status.currentPhase&&_status.currentPhase.isIn()&&_status.currentPhase.hasSkill('wansha')&&_status.currentPhase!=player){ + if(!player.isDying()) return false; } }, cardEnabled:function(card,player){ - if(!_status.currentPhase) return; - if(_status.currentPhase.isIn()&&_status.currentPhase.hasSkill('wansha')&&_status.currentPhase!=player){ - if(card.name=='tao'&&!player.isDying()) return false; + if(card.name=='tao'&&_status.currentPhase&&_status.currentPhase.isIn()&&_status.currentPhase.hasSkill('wansha')&&_status.currentPhase!=player){ + if(!player.isDying()) return false; } } } diff --git a/character/sp2.js b/character/sp2.js index 6b1600a71..901a261a4 100644 --- a/character/sp2.js +++ b/character/sp2.js @@ -2362,6 +2362,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ //胡班 dcchongyi:{ audio:2, + init:()=>{ + game.addGlobalSkill('dcchongyi_ai'); + }, + onremove:()=>{ + if(!game.hasPlayer(i=>i.hasSkill('dcchongyi'),true)) game.removeGlobalSkill('dcchongyi_ai'); + }, trigger:{global:'useCard'}, logTarget:'player', filter:function(event,player){ @@ -2387,7 +2393,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ target.addTempSkill('dcchongyi_sha'); }, group:'dcchongyi_end', - global:'dcchongyi_ai', subSkill:{ ai:{ mod:{ @@ -2403,6 +2408,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){ })) return num+10; }, }, + trigger:{player:'dieAfter'}, + filter:()=>{ + return !game.hasPlayer(i=>i.hasSkill('dcchongyi'),true); + }, + silent:true, + forceDie:true, + content:()=>{ + game.removeGlobalSkill('dcchongyi_ai'); + } }, end:{ audio:'dcchongyi', diff --git a/character/xianding.js b/character/xianding.js index 69e3f3554..507e1f6a5 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -4479,6 +4479,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ //谢灵毓 dcyuandi:{ audio:2, + init:()=>{ + game.addGlobalSkill('dcyuandi_ai'); + }, + onremove:()=>{ + if(!game.hasPlayer(i=>i.hasSkill('dcyuandi'),true)) game.removeGlobalSkill('dcyuandi_ai'); + }, trigger:{global:'useCard'}, filter:function(event,player){ var evt=event.getParent('phaseUse'); @@ -4489,7 +4495,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }).indexOf(event)==0; }, direct:true, - global:'dcyuandi_ai', content:function(){ 'step 0' var target=trigger.player; @@ -4533,6 +4538,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return num/3; }, }, + trigger:{player:'dieAfter'}, + filter:()=>{ + return !game.hasPlayer(i=>i.hasSkill('dcyuandi'),true); + }, + silent:true, + forceDie:true, + content:()=>{ + game.removeGlobalSkill('dcyuandi_ai'); + } }, } }, diff --git a/character/xinghuoliaoyuan.js b/character/xinghuoliaoyuan.js index 2f881f09f..09ef29831 100755 --- a/character/xinghuoliaoyuan.js +++ b/character/xinghuoliaoyuan.js @@ -881,6 +881,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ xinfu_guanwei:{ audio:2, usable:1, + init:()=>{ + game.addGlobalSkill('xinfu_guanwei_ai'); + }, + onremove:()=>{ + if(!game.hasPlayer(i=>i.hasSkill('xinfu_guanwei'),true)) game.removeGlobalSkill('xinfu_guanwei_ai'); + }, trigger:{ global:"phaseUseEnd", }, @@ -898,7 +904,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return num>1; }, direct:true, - global:'xinfu_guanwei_ai', content:function (){ 'step 0' var target=trigger.player; @@ -925,6 +930,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, subSkill:{ ai:{ + trigger:{player:'dieAfter'}, + filter:()=>{ + return !game.hasPlayer(i=>i.hasSkill('xinfu_guanwei'),true); + }, + silent:true, + forceDie:true, + content:()=>{ + game.removeGlobalSkill('xinfu_guanwei_ai'); + }, ai:{ effect:{ player_use:function(card,player,target){ diff --git a/character/yingbian.js b/character/yingbian.js index 0d9bfa30c..7c5d6795d 100644 --- a/character/yingbian.js +++ b/character/yingbian.js @@ -2401,6 +2401,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, ciwei:{ + init:()=>{ + game.addGlobalSkill('ciwei_ai'); + }, + onremove:()=>{ + if(!game.hasPlayer(i=>i.hasSkill('ciwei'),true)) game.removeGlobalSkill('ciwei_ai'); + }, trigger:{global:'useCard'}, direct:true, preHidden:true, @@ -2426,8 +2432,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger.targets.length=0; trigger.all_excluded=true; } - }, - global:'ciwei_ai', + } }, ciwei_ai:{ mod:{ @@ -2448,6 +2453,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return num; }, }, + trigger:{player:'dieAfter'}, + filter:()=>{ + return !game.hasPlayer(i=>i.hasSkill('ciwei'),true); + }, + silent:true, + forceDie:true, + content:()=>{ + game.removeGlobalSkill('ciwei_ai'); + } }, caiyuan:{ trigger:{player:'phaseEnd'}, From de3102bb2b50b91656beb4c8c4988f2e6743e58d Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 29 Dec 2023 08:38:30 +0800 Subject: [PATCH 099/234] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=8F=91=E5=8A=A8=E3=80=90=E7=9B=9F=E8=B0=8B=E3=80=91=E5=92=8C?= =?UTF-8?q?=E3=80=90=E7=8B=A9=E9=AA=8A=E3=80=91=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/extra.js | 2 +- character/offline.js | 2 +- character/xianding.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/character/extra.js b/character/extra.js index 22b3b8589..a146d9c58 100755 --- a/character/extra.js +++ b/character/extra.js @@ -2216,7 +2216,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(target.hasSkillTag('nodamage')||target.hasSkillTag('nothunder')) return 'zeroplayertarget'; if(target.hasSkillTag('filterDamage',null,{ player:player, - card:lib.element.VCard({ + card:new lib.element.VCard({ name:card.name, nature:'thunder' },[card]) diff --git a/character/offline.js b/character/offline.js index 6c4a11617..b8a8280c8 100644 --- a/character/offline.js +++ b/character/offline.js @@ -765,7 +765,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(target.hasSkillTag('nodamage')||target.hasSkillTag('nothunder')) return 'zeroplayertarget'; if(target.hasSkillTag('filterDamage',null,{ player:player, - card:lib.element.VCard({ + card:new lib.element.VCard({ name:card.name, nature:'thunder' },[card]) diff --git a/character/xianding.js b/character/xianding.js index 507e1f6a5..c505ba737 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -277,7 +277,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(!player.getHp()) return false; if(event.name=='loseAsync'&&event.type!='gain') return false; - var cards1=event.getl(player).cards2,cards2=cards=event.getg(player); + var cards1=event.getl(player).cards2,cards2=event.getg(player); return (!player.hasSkill('dcsbmengmou_true')&&game.hasPlayer(function(current){ if(current==player) return false; var cardsx=event.getg(current); From 38801acdcc56540487df9e71399c7a1369c40efa Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 29 Dec 2023 09:57:38 +0800 Subject: [PATCH 100/234] =?UTF-8?q?=E4=B8=BA=E8=B0=83=E7=94=A8mayHaveShan?= =?UTF-8?q?=E7=9A=84=E5=87=BD=E6=95=B0=E5=A2=9E=E5=8A=A0=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 也包括mayHaveSha --- card/standard.js | 6 +++--- character/diy.js | 2 +- character/extra.js | 2 +- character/huicui.js | 2 +- character/jsrg.js | 4 ++-- character/mobile.js | 2 +- character/offline.js | 8 ++++---- character/refresh.js | 2 +- character/sp.js | 10 +++++----- character/sp2.js | 4 ++-- character/tw.js | 10 +++++----- character/yijiang.js | 2 +- mode/guozhan.js | 4 ++-- noname/library/index.js | 4 ++-- 14 files changed, 31 insertions(+), 31 deletions(-) diff --git a/card/standard.js b/card/standard.js index 67710990c..2df8ea5ac 100644 --- a/card/standard.js +++ b/card/standard.js @@ -231,7 +231,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(get.cardtag(card,'yingbian_hit')){ hit=true; if(targets.some(target=>{ - return target.mayHaveShan(viewer)&&get.attitude(viewer,target)<0&&get.damageEffect(target,player,viewer,get.natureList(card))>0; + return target.mayHaveShan(viewer,'use')&&get.attitude(viewer,target)<0&&get.damageEffect(target,player,viewer,get.natureList(card))>0; })) base+=5; } if(get.cardtag(card,'yingbian_add')){ @@ -241,7 +241,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ } if(get.cardtag(card,'yingbian_damage')){ if(targets.some(target=>{ - return get.attitude(player,target)<0&&(hit||!target.mayHaveShan(viewer)||player.hasSkillTag('directHit_ai',true,{ + return get.attitude(player,target)<0&&(hit||!target.mayHaveShan(viewer,'use')||player.hasSkillTag('directHit_ai',true,{ target:target, card:card, },true))&&!target.hasSkillTag('filterDamage',null,{ @@ -294,7 +294,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ } return -1.5; }(); - if(!isLink&&target.mayHaveShan()&&!player.hasSkillTag('directHit_ai',true,{ + if(!isLink&&target.mayHaveShan(player,'use')&&!player.hasSkillTag('directHit_ai',true,{ target:target, card:card, },true)) return eff/1.2; diff --git a/character/diy.js b/character/diy.js index 2704a047f..f64456b46 100755 --- a/character/diy.js +++ b/character/diy.js @@ -3513,7 +3513,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ list.remove(player.storage.kyou_zhidian); player.chooseControl(list).set('prompt','掷典:请为'+get.translation(trigger.card)+'选择一种效果').set('choice',function(){ if(list.contains('不计入次数')&&player.hasSha()) return '不计入次数'; - if(list.contains('不可被响应')&&trigger.target.mayHaveShan()) return '不可被响应'; + if(list.contains('不可被响应')&&trigger.target.mayHaveShan(_status.event.player,'use')) return '不可被响应'; if(list.contains('伤害+1')) return '伤害+1'; return list.randomGet(); }()).set('ai',()=>_status.event.choice); diff --git a/character/extra.js b/character/extra.js index a146d9c58..a2cf46bbd 100755 --- a/character/extra.js +++ b/character/extra.js @@ -1012,7 +1012,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } } var hasRuanshizi=game.hasPlayer(function(target){ - return target!=player&&player.canUse('sha',target,null,true)&&!target.mayHaveShan()&&get.attitude(player,target)<0&&get.effect(target,{name:'sha'},player,player)>0; + return target!=player&&player.canUse('sha',target,null,true)&&!target.mayHaveShan(player,'use')&&get.attitude(player,target)<0&&get.effect(target,{name:'sha'},player,player)>0; }) for(var card of hs){ var name=get.name(card); diff --git a/character/huicui.js b/character/huicui.js index 952b79b20..1e6ad60c2 100644 --- a/character/huicui.js +++ b/character/huicui.js @@ -4582,7 +4582,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var d1=true; if(trigger.player.hasSkill('jueqing')||trigger.player.hasSkill('gangzhi')) d1=false for(var target of trigger.targets){ - if(!target.mayHaveShan()||trigger.player.hasSkillTag('directHit_ai',true,{ + if(!target.mayHaveShan(player,'use')||trigger.player.hasSkillTag('directHit_ai',true,{ target:target, card:trigger.card, },true)){ diff --git a/character/jsrg.js b/character/jsrg.js index 38761f34d..0674bc8dc 100644 --- a/character/jsrg.js +++ b/character/jsrg.js @@ -2368,7 +2368,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ result:{ target:function(player,target){ var eff=get.effect(target,{name:'sha',nature:'fire'},player,target)/30; - if(!target.mayHaveShan()) eff*=2; + if(!target.mayHaveShan(player,'use')) eff*=2; var del=target.countCards('h')-player.countCards('h')+1.5; eff*=Math.sqrt(del); return eff; @@ -5224,7 +5224,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(_status.event.all) return 1; if(ui.selected.buttons.length) return 0; return Math.random(); - }).set('all',!target.mayHaveShan()&&Math.random()<0.75).set('forceAuto',true); + }).set('all',!target.mayHaveShan(player,'use')&&Math.random()<0.75).set('forceAuto',true); 'step 1' if(result.bool){ var cards=result.cards; diff --git a/character/mobile.js b/character/mobile.js index 296333da9..eb6a97d6f 100644 --- a/character/mobile.js +++ b/character/mobile.js @@ -8443,7 +8443,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ]).set('ai',function(){ var target=_status.event.getTrigger().target; var player=_status.event.player; - var num=target.mayHaveShan()?0:1; + var num=target.mayHaveShan(player,'use')?0:1; if(get.attitude(player,target)>0) num=1-num; return num; }); diff --git a/character/offline.js b/character/offline.js index b8a8280c8..7e4c073c7 100644 --- a/character/offline.js +++ b/character/offline.js @@ -170,7 +170,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ d1=true; if(trigger.player.hasSkill('jueqing')||trigger.player.hasSkill('gangzhi')) d1=false; for(var target of trigger.targets){ - if(!target.mayHaveShan()||trigger.player.hasSkillTag('directHit_ai',true,{ + if(!target.mayHaveShan(player,'use')||trigger.player.hasSkillTag('directHit_ai',true,{ target:target, card:trigger.card, },true)){ @@ -299,7 +299,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var effect=0; for(var target of trigger.targets){ var eff=get.effect(target,trigger.card,trigger.player,player); - if(!target.mayHaveShan()||trigger.player.hasSkillTag('directHit_ai',true,{ + if(!target.mayHaveShan(player,'use')||trigger.player.hasSkillTag('directHit_ai',true,{ target:target, card:trigger.card, },true)){ @@ -4906,7 +4906,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } //护驾 else if(!player.hasShan()&&game.hasPlayer(function(current){ - return current!=player&¤t.group=='wei'&¤t.mayHaveShan()&&get.attitude(player,current)>0&&get.attitude(current,player)>0; + return current!=player&¤t.group=='wei'&¤t.mayHaveShan(player,'respond')&&get.attitude(player,current)>0&&get.attitude(current,player)>0; })) return 1; return -1; }); @@ -4940,7 +4940,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } //护驾 else if(!player.hasShan()&&game.hasPlayer(function(current){ - return current!=player&¤t.group=='wei'&¤t.mayHaveShan()&&get.attitude(player,current)>0&&get.attitude(current,player)>0; + return current!=player&¤t.group=='wei'&¤t.mayHaveShan(player,'respond')&&get.attitude(player,current)>0&&get.attitude(current,player)>0; })) return 'hujia'; }); } diff --git a/character/refresh.js b/character/refresh.js index e9dd2a57d..91379365a 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -11122,7 +11122,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ useShan:true, effect:{ target:function(card,player,target,current){ - let name='sha'; + let name; if(typeof card=='object'){ if(card.viewAs) name=card.viewAs; else name=get.name(card); diff --git a/character/sp.js b/character/sp.js index 594f6a8bf..835672f4d 100755 --- a/character/sp.js +++ b/character/sp.js @@ -5162,10 +5162,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } return -1.5; }(); - if(!isLink && target.mayHaveShan() && !player.hasSkillTag('directHit_ai', true, { + if(!isLink && target.mayHaveShan(player,'use') && !player.hasSkillTag('directHit_ai', true, { target: target, card: card - }, true)) return eff / 1.2; + }, true)) return eff * 0.6; return eff; } }, @@ -6954,7 +6954,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else{ var target=trigger.target; - if(trigger.targets.length>1||target.mayHaveShan()) return 0; + if(trigger.targets.length>1||target.mayHaveShan(player,'use')) return 0; } var num=trigger.getParent().baseDamage; var map=trigger.getParent().customArgs,id=target.playerid; @@ -14460,12 +14460,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(num>=delta) return 'zeroplayertarget'; } else if(get.tag(card,'respondShan')>0){ - if(current<0&&used==target.getAttackRange()-1&&target.mayHaveShan()){ + if(current<0&&used==target.getAttackRange()-1&&target.mayHaveShan(player)){ return 0.6; } } else if(get.tag(card,'respondSha')>0){ - if(current<0&&used==target.getAttackRange()-1&&target.mayHaveSha()){ + if(current<0&&used==target.getAttackRange()-1&&target.mayHaveSha(player)){ return 0.6; } } diff --git a/character/sp2.js b/character/sp2.js index 901a261a4..dd52c95c5 100644 --- a/character/sp2.js +++ b/character/sp2.js @@ -5015,7 +5015,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ })) return 3; return Math.sqrt(target.countCards('he')); } - if(target.mayHaveShan()&&player.countCards('hs',function(card){ + if(target.mayHaveShan(player,'use')&&player.countCards('hs',function(card){ return !ui.selected.cards.contains(card)&&get.name(card)=='sha'&&player.canUse(card,target)&&get.effect(target,card,player,player)!=0; })) return -Math.sqrt(Math.abs(get.attitude(player,target)))/2; return 0.1; @@ -5347,7 +5347,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.addSkill('mouni2'); player.chooseTarget(get.prompt2('mouni'),lib.filter.notMe).set('ai',function(target){ var player=_status.event.player,cards=player.getCards('h','sha'); - if(get.attitude(player,target)>=0||!player.canUse(cards[0],target,false)||(!player.hasJudge('lebu')&&target.mayHaveShan()&&!player.hasSkillTag('directHit_ai',true,{ + if(get.attitude(player,target)>=0||!player.canUse(cards[0],target,false)||(!player.hasJudge('lebu')&&target.mayHaveShan(player,'use')&&!player.hasSkillTag('directHit_ai',true,{ target:target, card:cards[0], },true))) return 0; diff --git a/character/tw.js b/character/tw.js index be5aef49c..51be0f39a 100644 --- a/character/tw.js +++ b/character/tw.js @@ -384,7 +384,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }).set('goon',function(){ var d1=true; if(player.hasSkill('jueqing')||player.hasSkill('gangzhi')) d1=false; - if(!target.mayHaveShan()||player.hasSkillTag('directHit_ai',true,{ + if(!target.mayHaveShan(player,'use')||player.hasSkillTag('directHit_ai',true,{ target:target, card:trigger.card, },true)){ @@ -2985,7 +2985,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ expose:0.2, result:{ target:function(player,target){ - if(target.countCards('h')<=target.hp&&!target.mayHaveShan()&&get.effect(target,{name:'sha',isCard:true},player,player)>0) return -1; + if(target.countCards('h')<=target.hp&&!target.mayHaveShan(player,'use')&&get.effect(target,{name:'sha',isCard:true},player,player)>0) return -1; else if(target.countCards('h')>target.hp&&target.hp>2&&target.hasShan()) return 1; return 0; }, @@ -6572,7 +6572,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=_status.event.player; if(player.hp+player.countCards('hs',{name:['tao','jiu']})<=1) return -1; var num=1; - if((!target.mayHaveShan()||player.hasSkillTag('directHit_ai',true,{ + if((!target.mayHaveShan(player,'use')||player.hasSkillTag('directHit_ai',true,{ target:target, card:{name:'sha'}, },true))&&!target.hasSkillTag('filterDamage',null,{ @@ -11090,7 +11090,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var d1=true; if(trigger.player.hasSkill('jueqing')||trigger.player.hasSkill('gangzhi')) d1=false; for(var target of trigger.targets){ - if(!target.mayHaveShan()||trigger.player.hasSkillTag('directHit_ai',true,{ + if(!target.mayHaveShan(player,'use')||trigger.player.hasSkillTag('directHit_ai',true,{ target:target, card:trigger.card, },true)){ @@ -13290,7 +13290,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var d1=true; if(trigger.player.hasSkill('jueqing')||trigger.player.hasSkill('gangzhi')) d1=false for(var target of trigger.targets){ - if(!target.mayHaveShan()||trigger.player.hasSkillTag('directHit_ai',true,{ + if(!target.mayHaveShan(player,'use')||trigger.player.hasSkillTag('directHit_ai',true,{ target:target, card:trigger.card, },true)){ diff --git a/character/yijiang.js b/character/yijiang.js index 657eaad49..d17ad07d3 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -2235,7 +2235,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ case 2:{ var num=1.3; if(event.card.name=='sha'&&event.targets.filter(function(current){ - if(current.mayHaveShan()&&get.attitude(player,current)<=0){ + if(current.mayHaveShan(player,'use')&&get.attitude(player,current)<=0){ if(current.hasSkillTag('useShan')) num=1.9; return true; } diff --git a/mode/guozhan.js b/mode/guozhan.js index c1a180daf..9a65a01a6 100644 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -3528,7 +3528,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ ]).set('prompt',get.prompt('gzliegong',trigger.target)).setHiddenSkill('gzliegong').set('ai',function(){ var player=_status.event.player,target=_status.event.getTrigger().target; if(get.attitude(player,target)>0) return 2; - return target.mayHaveShan()?1:0; + return target.mayHaveShan(player,'use')?1:0; }); 'step 1' if(result.control!='cancel2'){ @@ -10654,7 +10654,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ goon=false; } else if(trigger.card.name=='sha'){ - if(trigger.target.mayHaveShan()||trigger.target.hp>=3){ + if(trigger.target.mayHaveShan(player,'use')||trigger.target.hp>=3){ goon=false; } } diff --git a/noname/library/index.js b/noname/library/index.js index 8e42ec2fc..21c9d3893 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -10090,7 +10090,7 @@ export class Library extends Uninstantable { if (game.hasPlayer(current => { if (!player.canUse(card, current)) return false; const storage = player.storage, zhibi = storage.zhibi; - return (zhibi && !zhibi.includes(current) || (get.effect(current, card, player, player) >= 2 - Math.max(0, (storage.stratagem_fury || 0) - 1))) && current.mayHaveShan() && player.hasSkill('jiu'); + return (zhibi && !zhibi.includes(current) || get.effect(current, card, player, player) >= 2 - Math.max(0, (storage.stratagem_fury || 0) - 1)) && current.mayHaveShan(player, 'use') && player.hasSkill('jiu'); })) return 1; return 0; } @@ -10161,7 +10161,7 @@ export class Library extends Uninstantable { if (game.hasPlayer(current => { if (!player.canUse(card, current)) return false; const storage = player.storage, zhibi = storage.zhibi; - return (zhibi && !zhibi.contains(current) || (get.effect(current, card, player, player) >= 2 - Math.max(0, (storage.stratagem_fury || 0) - 1))) && current.mayHaveShan(); + return (zhibi && !zhibi.contains(current) || get.effect(current, card, player, player) >= 2 - Math.max(0, (storage.stratagem_fury || 0) - 1)) && current.mayHaveShan(player, 'use'); })) return get.order(card, player) + 0.5; } else if (cardName == 'tao' && player.hp <= 2 && player.getDamagedHp() >= 2) return get.order(card, player) + 0.5; From e529fbb9797d30ef4bae3b4bd0efbf35afad2e36 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 29 Dec 2023 11:36:51 +0800 Subject: [PATCH 101/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B0=83=E6=95=B4nee?= =?UTF-8?q?dsToDiscard=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add形参加入“额外牌” filter作为专门代替函数 pure可返回负数 --- card/standard.js | 4 +++- noname/library/element/player.js | 23 +++++++++++++---------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/card/standard.js b/card/standard.js index 2df8ea5ac..0039ce3b4 100644 --- a/card/standard.js +++ b/card/standard.js @@ -456,7 +456,9 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(target.hp>0){ if(!player.isPhaseUsing()) return 0; let min = 7.2-4*player.hp/player.maxHp, - nd = player.needsToDiscard(i=>taos.includes(i)||get.value(i)>=min), + nd = player.needsToDiscard(0,(i,player)=>{ + return !player.canIgnoreHandcard(i)&&(taos.includes(i)||get.value(i)>=min); + }), keep = nd?0:2; if(nd>2 || taos.length>1&&(nd>1||nd&&player.hp<1+taos.length) || target.identity==='zhu'&&(nd||target.hp<3)&&(mode==='identity'||mode==='versus'||mode==='chess') || !player.hasFriend()) return 2; if(game.hasPlayer(current=>{ diff --git a/noname/library/element/player.js b/noname/library/element/player.js index c06a7ae55..9fbffb4c4 100644 --- a/noname/library/element/player.js +++ b/noname/library/element/player.js @@ -7713,20 +7713,23 @@ export class Player extends HTMLDivElement { } return false; } - needsToDiscard(filter, add) { + needsToDiscard(add, filter, pure) { /** - * filter: typeof 'number' -> 额外摸等量牌(逻辑上) - * typeof 'function' -> 只考虑符合函数筛选的牌 - * add: 额外获得这张/些牌(逻辑上) + * add: (逻辑上)同时考虑“获得”的这张/些牌 + * filter(function): 代替默认策略进行筛选 + * pure: 返回值可以为负数 */ - let cards = this.getCards('h', card => !this.canIgnoreHandcard(card)), num = 0; - if (get.itemtype(add) === 'cards') cards.addArray(add); + let cards = this.getCards('h'), num = 0; + if (typeof add === 'number') num = add; + else if (get.itemtype(add) === 'cards') cards.addArray(add); else if (get.itemtype(add) === 'card') cards.push(add); - if (typeof filter === 'number') num = filter; - else if (typeof filter === 'function') cards = cards.filter(card => { - return filter(card); + if (typeof filter !== 'function') filter = (card, player) => !player.canIgnoreHandcard(card); + cards = cards.filter(card => { + return filter(card, this, cards); }); - return Math.max(0, num + cards.length - this.getHandcardLimit()); + num += cards.length - this.getHandcardLimit(); + if (pure) return num; + return Math.max(0, num); } distanceTo(target, method) { return get.distance(this, target, method); From 81385a8fe44b95ba68e1a5fac868cbeb6627755a Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 29 Dec 2023 14:22:31 +0800 Subject: [PATCH 102/234] =?UTF-8?q?=E3=80=90=E6=96=87=E5=92=8C=E4=B9=B1?= =?UTF-8?q?=E6=AD=A6=E3=80=91=E5=A2=9E=E5=8A=A0=E6=80=81=E5=BA=A6=E6=A3=80?= =?UTF-8?q?=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/guozhan.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/card/guozhan.js b/card/guozhan.js index 51465fd24..2566cb6f7 100644 --- a/card/guozhan.js +++ b/card/guozhan.js @@ -226,18 +226,18 @@ game.import('card',function(lib,game,ui,get,ai,_status){ '令'+str+'弃置两张类型不同的手牌', '弃置'+str+'的一张手牌', ]).set('ai',()=>{ - let target=_status.event.getParent().target,hs=target.getCards('h'),type=[]; - if(hs.length<2) return 0; + let target=_status.event.getParent().target,hs=target.getCards('h'),type=[],att=get.attitude(_status.event.player,target); + if(hs.length<2) return att>0?1:0; hs.forEach(i=>{ type.add(get.type2(i,target)); }); if(target.identity!=='qun'){ - if(type.length>1) return 0; - return 1; + if(Boolean(att>0)===Boolean(type.length>1)) return 1; + return 0; } - if(type.length<2||target.hp<3) return 1; - if(hs.length===2) return 0; - return 1; + if(type.length<2||target.hp<3) return att>0?1:0; + if(hs.length===2) return att>0?0:1; + return att>0?1:0; }); 'step 2' if(result.index==0){ From c42da2ac0b872f60fadb9cb9010b675bfb6913c4 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 29 Dec 2023 15:59:41 +0800 Subject: [PATCH 103/234] =?UTF-8?q?=E6=9B=B4=E6=96=B0needsToDiscard?= =?UTF-8?q?=E7=9A=84=E7=9B=B8=E5=85=B3=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 顺便修复武诸葛亮【智哲】牌ai --- card/gwent.js | 5 +---- character/collab.js | 4 +--- character/ddd.js | 8 ++------ character/hearth.js | 4 +++- character/jsrg.js | 8 ++------ character/mobile.js | 12 +++++------- character/refresh.js | 22 ++++++++-------------- character/sp.js | 32 ++++++++++++++------------------ character/xianding.js | 27 ++++++++++----------------- character/xianjian.js | 14 ++++++-------- character/xinghuoliaoyuan.js | 16 +++++----------- character/yijiang.js | 5 ++--- noname/library/element/player.js | 4 +++- 13 files changed, 62 insertions(+), 99 deletions(-) diff --git a/card/gwent.js b/card/gwent.js index 306af8fac..6d62deca4 100644 --- a/card/gwent.js +++ b/card/gwent.js @@ -1401,10 +1401,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ result:{ target:function(player,current){ if(current.hasSkill('gw_qinpendayu')) return 0; - if(current.needsToDiscard()) return -1; - if(current.needsToDiscard(1)) return -0.7; - if(current.needsToDiscard(2)) return -0.4; - return -0.1; + return Math.max(-1,-0.1-0.3*current.needsToDiscard(2)); } }, order:1.2, diff --git a/character/collab.js b/character/collab.js index 72983f488..a434637d9 100644 --- a/character/collab.js +++ b/character/collab.js @@ -256,9 +256,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=_status.event.player; var card={name:button.link[2],nature:button.link[3],isCard:true}; if(card.name=='tao'){ - if(player.hp==1||(player.hp==2&&!player.hasShan())||player.needsToDiscard()){ - return 5; - } + if(player.hp==1||(player.hp==2&&!player.hasShan())||player.needsToDiscard()) return 5; return 1; } if(card.name=='sha'){ diff --git a/character/ddd.js b/character/ddd.js index fce068fcd..c011ba90d 100644 --- a/character/ddd.js +++ b/character/ddd.js @@ -5078,12 +5078,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!target.hasFriend()) return; var num=1; if(get.attitude(player,target)>0){ - if(player.needsToDiscard()){ - num=0.7; - } - else{ - num=0.5; - } + if(player.needsToDiscard()) num=0.7; + else num=0.5; } if(target.hp>=4) return [1,num*2.5]; if(target.hp==3) return [1,num*1.5]; diff --git a/character/hearth.js b/character/hearth.js index 18c39e264..6dbc3332f 100644 --- a/character/hearth.js +++ b/character/hearth.js @@ -804,7 +804,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return trigger.targets.contains(target); }, ai1:function(card){ - if(!player.needsToDiscard(ui.selected.cards.length)) return 0; + if(!player.needsToDiscard(0,(i,player)=>{ + return !ui.selected.cards.includes(i)&&!player.canIgnoreHandcard(i); + })) return 0; if(ui.selected.cards.length>=num2) return 0; return Math.max(5,get.value(trigger.card))-get.value(card)-1; }, diff --git a/character/jsrg.js b/character/jsrg.js index 0674bc8dc..51de1d0c9 100644 --- a/character/jsrg.js +++ b/character/jsrg.js @@ -5060,12 +5060,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!moveCard||!target.hasFriend()) return; var num=1; if(get.attitude(player,target)>0){ - if(player.needsToDiscard()){ - num=0.5; - } - else{ - num=0.3; - } + if(player.needsToDiscard()) num=0.5; + else num=0.3; } if(target.hp>=4) return [1,num*2]; if(target.hp==3) return [1,num*1.5]; diff --git a/character/mobile.js b/character/mobile.js index eb6a97d6f..5d4fdb48f 100644 --- a/character/mobile.js +++ b/character/mobile.js @@ -4306,7 +4306,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ selectCard:(player.getStat('skill').buxu||0)+1, ai1:function(card){ var player=_status.event.player; - if(player.needsToDiscard()>ui.selected.cards.length) return 10/Math.max(0.1,get.value(card)); + if(player.needsToDiscard(0,(i,player)=>{ + return !ui.selected.cards.includes(i)&&!player.canIgnoreHandcard(i); + })) return 10/Math.max(0.1,get.value(card)); return 5-(player.getStat('skill').buxu||0)-get.value(card); }, ai2:()=>1, @@ -11316,12 +11318,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!target.hasFriend()) return; var num=1; if(get.attitude(player,target)>0){ - if(player.needsToDiscard()){ - num=0.7; - } - else{ - num=0.5; - } + if(player.needsToDiscard()) num=0.7; + else num=0.5; } if(target.hp>=4) return [1,num*2]; if(target.hp==3) return [1,num*1.5]; diff --git a/character/refresh.js b/character/refresh.js index 91379365a..cc636cbe9 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -6510,7 +6510,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, true )) return 6.5 - get.value(card, player); - if (Math.random() * target.countCards('hs') < 1 || player.needsToDiscard(-ui.selected.cards.length)) return 6 - get.value(card, player); + if (Math.random() * target.countCards('hs') < 1 || player.needsToDiscard(0,(i,player)=>{ + return !ui.selected.cards.includes(i)&&!player.canIgnoreHandcard(i); + })) return 6 - get.value(card, player); return 0; } return 6.3 - get.value(card); @@ -11766,12 +11768,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!target.hasFriend()) return; var num=1; if(get.attitude(player,target)>0){ - if(player.needsToDiscard()){ - num=0.7; - } - else{ - num=0.5; - } + if(player.needsToDiscard()) num=0.7; + else num=0.5; } if(player.hp>=4) return [1,num*2]; if(target.hp==3) return [1,num*1.5]; @@ -12108,7 +12106,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player!=target; }, ai1:function(card){ - if(get.attitude(_status.event.player,_status.currentPhase)<0&&_status.currentPhase.needsToDiscard()&&card.name!='du') return -1; + if(card.name!='du'&&get.attitude(_status.event.player,_status.currentPhase)<0&&_status.currentPhase.needsToDiscard()) return -1; for(var i=0;i0){ - if(player.needsToDiscard()){ - num=0.7; - } - else{ - num=0.5; - } + if(player.needsToDiscard()) num=0.7; + else num=0.5; } if(player.hp>=4) return [1,num*2]; if(target.hp==3) return [1,num*1.5]; diff --git a/character/sp.js b/character/sp.js index 835672f4d..0c5443ad1 100755 --- a/character/sp.js +++ b/character/sp.js @@ -15204,17 +15204,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return target!=player; }).set('ai',function(target){ if(target.hasJudge('lebu')) return 0; - var att=get.attitude(_status.event.player,target); + let att=get.attitude(_status.event.player,target),name=_status.event.cards[0].name; if(att<3) return 0; if(target.hasSkillTag('nogain')) att/=10; - if(target.hasSha()&&_status.event.sha){ - att/=5; - } - if(event.wuxie&&target.needsToDiscard(1)){ - att/=5; - } + if(name==='sha'&&target.hasSha()) att/=5; + if(name==='wuxie'&&target.needsToDiscard(_status.event.cards)) att/=5; return att/(1+get.distance(player,target,'absolute')); - }).set('sha',trigger.cards[0].name=='sha').set('wuxie',trigger.cards[0].name=='wuxie'); + }).set('cards',trigger.cards); 'step 1' if(result.bool){ player.logSkill('yingyuan',result.targets[0]); @@ -15288,19 +15284,21 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(_status.event.du) return -get.value(card,player,'raw'); else if(_status.event.shuimeng){ if(cardname=='wuzhong'){ - if(player.needsToDiscard(2-ui.selected.cards.length)){ - return 10-get.value(card,player,'raw'); - } + if(player.needsToDiscard(2,(i,player)=>{ + return !ui.selected.cards.includes(i)&&!player.canIgnoreHandcard(i); + })) return 10-get.value(card,player,'raw'); } else if(cardname=='guohe'){ - if(player.needsToDiscard(-1-ui.selected.cards.length)){ - return 10-get.value(card,player,'raw'); - } + if(player.needsToDiscard(-1,(i,player)=>{ + return !ui.selected.cards.includes(i)&&!player.canIgnoreHandcard(i); + })) return 10-get.value(card,player,'raw'); } return 0; } else if(cardname=='lebu'){ - if(player.needsToDiscard(1-ui.selected.cards.length)){ + if(player.needsToDiscard(1,(i,player)=>{ + return !ui.selected.cards.includes(i)&&!player.canIgnoreHandcard(i); + })){ return 8-get.value(card,player,'raw'); } else{ @@ -17480,9 +17478,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return 20-num; } else{ - if(_status.event.player.needsToDiscard()){ - return 7-num; - } + if(_status.event.player.needsToDiscard()) return 7-num; } return 0; }, diff --git a/character/xianding.js b/character/xianding.js index c505ba737..6f79143c1 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -3334,10 +3334,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(num>0&&!player._dczhizhe_mod&&get.itemtype(card)==='card'&&card.hasGaintag('dczhizhe')){ if(player.canIgnoreHandcard(card)) return Infinity; player._dczhizhe_mod=true; - if(player.hp<3&&player.needsToDiscard(player.countCards('h',(cardx)=>{ - if(player.canIgnoreHandcard(cardx)||get.useful(cardx)>6) return true; - return false; - }))) return num*1.5; + if(player.hp<3&&player.needsToDiscard(0,(i,player)=>{ + return !player.canIgnoreHandcard(i)&&get.useful(i)>6; + })) return num*1.5; return num*10; } } @@ -3525,12 +3524,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!target.hasFriend()) return; var num=1; if(get.attitude(player,target)>0){ - if(player.needsToDiscard()){ - num=0.5; - } - else{ - num=0.3; - } + if(player.needsToDiscard()) num=0.5; + else num=0.3; } if(target.hp>=4) return [1,num*2]; if(target.hp==3) return [1,num*1.5]; @@ -3844,12 +3839,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!target.hasFriend()) return; var num=1; if(get.attitude(player,target)>0){ - if(player.needsToDiscard()){ - num=0.7; - } - else{ - num=0.5; - } + if(player.needsToDiscard()) num=0.7; + else num=0.5; } if(target.hp==2&&target.hasFriend()) return [1,num*1.5]; if(target.hp>=2) return [1,num]; @@ -8268,7 +8259,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(current==player||current.countCards('he')==0) return false; return get.effect(current,{name:'guohe_copy2'},player,player)+get.effect(current,{name:'sha'},player,player)>0; })){ - if(get.position(card)=='h'&&player.needsToDiscard()>ui.selected.cards.length) return 7+1/Math.max(1,get.value(card)); + if(get.position(card)=='h'&&player.needsToDiscard(0,(i,player)=>{ + return !ui.selected.cards.includes(i)&&!player.canIgnoreHandcard(i); + })) return 7+1/Math.max(1,get.value(card)); return 7-get.value(card); } return 0; diff --git a/character/xianjian.js b/character/xianjian.js index 8ab1d87df..e09d4a26d 100644 --- a/character/xianjian.js +++ b/character/xianjian.js @@ -653,9 +653,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseTarget('将'+get.translation(result.links)+'交给一名角色',true).ai=function(target){ var att=get.attitude(player,target)/Math.sqrt(target.countCards('h')+1); if(result.links.length>1){ - if(target==player&&target.needsToDiscard(result.links.length)>1){ - return att/5; - } + if(target==player&&target.needsToDiscard(result.links)>1) return att/5; return att; } else{ @@ -1241,7 +1239,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } return false; }).ai=function(target){ - var num=0,eff=0,damaged=false; + var use=[],eff=0,damaged=false; for(var i=0;i0){ - num++; + use.push(hs[i]); if(get.attitude(player,target)>0){ hef/=1.5; if(get.tag(hs[i],'damage')){ @@ -1262,9 +1260,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ eff+=hef; } } - if(!player.needsToDiscard(-num)){ - return eff; - } + if(!player.needsToDiscard(0,(i,player)=>{ + return !use.includes(i)&&!player.canIgnoreHandcard(i); + })) return eff; return 0; }; 'step 1' diff --git a/character/xinghuoliaoyuan.js b/character/xinghuoliaoyuan.js index 09ef29831..520c40e6d 100755 --- a/character/xinghuoliaoyuan.js +++ b/character/xinghuoliaoyuan.js @@ -1371,19 +1371,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(target==player) return false; return target.countCards('h')>player.countCards('h')||Math.max(0,target.hp)>Math.max(0,player.hp); }).set('ai',function(target){ - var att=get.attitude(_status.event.player,target); + let att=get.attitude(_status.event.player,target),name=_status.event.cards[0].name; if(att<3) return 0; - if(target.hasJudge('lebu')){ - att/=5; - } - if(target.hasSha()&&_status.event.sha){ - att/=5; - } - if(_status.event.wuxie&&target.needsToDiscard(1)){ - att/=5; - } + if(target.hasJudge('lebu')) att/=5; + if(name==='sha'&&target.hasSha()) att/=5; + if(name==='wuxie'&&target.needsToDiscard(_status.event.cards)) att/=5; return att/(1+get.distance(player,target,'absolute')); - }).set('sha',trigger.cards[0].name=='sha').set('wuxie',trigger.cards[0].name=='wuxie'); + }).set('cards',trigger.cards); 'step 1' if(result.bool){ var list=[]; diff --git a/character/yijiang.js b/character/yijiang.js index d17ad07d3..36746b68c 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -2101,7 +2101,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(num>2) return true; var card=trigger.card; if(get.tag(card,'damage')&&player.hp<=trigger.getParent().baseDamage&&(!get.tag(card,'respondShan')||!player.hasShan())&&(!get.tag(card,'respondSha')||!player.hasSha())) return true; - var source=_status.currentPhase,todis=(source.countCards('h')-Math.max(0,source.needsToDiscard())); + var source=_status.currentPhase,todis=source.countCards('h')-source.needsToDiscard(); if(todis<=Math.max(Math.min(2+(source.hp<=1?1:0),player.countCards('he',function(card){ return get.value(card,player)1){ + if(card.name=='sha'&&!player.needsToDiscard()&&!player.getExpansions('chunlao').length&&target.hp>1){ return 'zeroplayertarget'; } } diff --git a/noname/library/element/player.js b/noname/library/element/player.js index 9fbffb4c4..dd1e8c677 100644 --- a/noname/library/element/player.js +++ b/noname/library/element/player.js @@ -7721,7 +7721,9 @@ export class Player extends HTMLDivElement { */ let cards = this.getCards('h'), num = 0; if (typeof add === 'number') num = add; - else if (get.itemtype(add) === 'cards') cards.addArray(add); + else if (get.itemtype(add) === 'cards') for (let i of add) { + cards.push(add); + } else if (get.itemtype(add) === 'card') cards.push(add); if (typeof filter !== 'function') filter = (card, player) => !player.canIgnoreHandcard(card); cards = cards.filter(card => { From fdcdb48ee334bfaee684d7850817ce5ad57fb433 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Fri, 29 Dec 2023 19:22:02 +0800 Subject: [PATCH 104/234] =?UTF-8?q?=E5=A2=9E=E5=8A=A0lib.cheat=E7=9A=84?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/library/index.js | 651 ++++++++++++++++++++++++++-------------- 1 file changed, 434 insertions(+), 217 deletions(-) diff --git a/noname/library/index.js b/noname/library/index.js index 8e42ec2fc..7121aed50 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -8371,7 +8371,12 @@ export class Library extends Uninstantable { }; static init = LibInit; static cheat = { - i: function () { + /** + * 将游戏内部的对象暴露到全局中 + * + * lib.cheat, game, ui, get, ai, lib, _status + */ + i() { window.cheat = lib.cheat; window.game = game; window.ui = ui; @@ -8380,9 +8385,12 @@ export class Library extends Uninstantable { window.lib = lib; window._status = _status; }, - dy: function () { - var next = game.me.next; - for (var i = 0; i < 10; i++) { + /** + * 自己的下家(如果下家是主公身份则是下家的下家)立即死亡 + */ + dy() { + let next = game.me.next; + for (let i = 0; i < 10; i++) { if (next.identity != 'zhu') { break; } @@ -8390,12 +8398,24 @@ export class Library extends Uninstantable { } next.die(); }, - x: function () { - var gl = function (dir, callback) { - var files = [], folders = []; - dir = '/Users/widget/Documents/extension/' + dir; - lib.node.fs.readdir(dir, function (err, filelist) { - for (var i = 0; i < filelist.length; i++) { + /** + * 在控制台输出每个扩展文件夹内的所有文件 + * + * 需要node环境 + * + * @param { ...string } args 只需要显示的文件夹首字符 + */ + x(...args) { + /** + * @param { string } dir + * @param { (folders: string[], files: string[]) => any } callback + */ + const gl = function (dir, callback) { + const files = [], folders = []; + // dir = '/Users/widget/Documents/extension/' + dir; + dir = lib.node.path.join(__dirname, 'extension', dir); + lib.node.fs.promises.readdir(dir).then(filelist => { + for (let i = 0; i < filelist.length; i++) { if (filelist[i][0] != '.' && filelist[i][0] != '_') { if (lib.node.fs.statSync(dir + '/' + filelist[i]).isDirectory()) { folders.push(filelist[i]); @@ -8406,53 +8426,57 @@ export class Library extends Uninstantable { } } callback(folders, files); + }).catch(e => { + throw e; }); }; - var args = Array.from(arguments); - for (var i = 0; i < args.length; i++) { + for (let i = 0; i < args.length; i++) { args[i] = args[i][0]; } gl('', function (list) { if (args.length) { - for (var i = 0; i < list.length; i++) { - if (!args.contains(list[i][0])) { + for (let i = 0; i < list.length; i++) { + if (!args.includes(list[i][0])) { list.splice(i--, 1); } } } if (list.length) { - for (var i = 0; i < list.length; i++) { - (function (str) { - gl(str, function (folders, files) { - if (files.length > 1) { - for (var i = 0; i < files.length; i++) { - if (files[i].includes('extension.js')) { - files.splice(i--, 1); - } - else { - if (i % 5 == 0) { - str += '\n\t\t\t'; - } - str += '"' + files[i] + '",'; - } + for (let i = 0; i < list.length; i++) { + let str = list[i]; + gl(str, function (folders, files) { + if (files.length > 1) { + for (let j = 0; j < files.length; j++) { + if (files[i] && files[i].contains && files[i].contains('extension.js')) { + files.splice(j--, 1); + } + else { + if (j % 5 == 0) { + str += '\n\t\t\t'; + } + str += '"' + files[j] + '",'; } - console.log(str.slice(0, str.length - 1)); } - }); - }(list[i])); + console.log(str.slice(0, str.length - 1)); + game.print(str.slice(0, str.length - 1)); + } + }); } } }); }, - cfg: function () { - var mode = lib.config.all.mode.slice(0); + /** + * 游戏设置变更为固定数据(不更改扩展设置) + */ + cfg() { + const mode = lib.config.all.mode.slice(0); mode.remove('connect'); mode.remove('brawl'); - var banned = ['shen_guanyu', 'shen_caocao', 'caopi', 're_daqiao', 'caorui', + const banned = ['shen_guanyu', 'shen_caocao', 'caopi', 're_daqiao', 'caorui', 'daqiao', 'lingcao', 'liuzan', 'lusu', 'luxun', 'yanwen', 'zhouyu', 'ns_wangyue', 'gw_yenaifa', 'old_caozhen', 'swd_jiangziya', 'xuhuang', 'maliang', 'guojia', 'simayi', 'swd_kangnalishi', 'hs_siwangzhiyi', 'hs_nozdormu', 'old_zhuzhi']; - var bannedcards = ['zengbin']; - var favs = ["hs_tuoqi", "hs_siwangxianzhi", "hs_xukongzhiying", "hs_hsjiasha", "gjqt_xieyi", "gjqt_yunwuyue", "gjqt_beiluo", + const bannedcards = ['zengbin']; + const favs = ["hs_tuoqi", "hs_siwangxianzhi", "hs_xukongzhiying", "hs_hsjiasha", "gjqt_xieyi", "gjqt_yunwuyue", "gjqt_beiluo", "gjqt_cenying", "shen_lvmeng", "shen_zhaoyun", "shen_zhugeliang", "ow_ana", "chenlin", "ns_guanlu", "hs_guldan", "swd_guyue", "pal_jiangyunfan", "mtg_jiesi", "swd_lanyin", "pal_liumengli", "swd_muyun", "pal_nangonghuang", "swd_muyue", "pal_murongziying", "swd_qiner", "pal_shenqishuang", "hs_taisi", "wangji", "pal_xingxuan", "xunyou", "hs_yelise", "pal_yuejinzhao", "pal_yueqi", @@ -8467,17 +8491,17 @@ export class Library extends Uninstantable { "swd_huanglei", "swd_huanyuanzhi", "re_huatuo", "gw_huoge", "pal_jiangcheng", "yj_jushou", "swd_kendi", "yxs_libai", "mtg_lilianna", "xin_liru", "liuxie", "pal_lixiaoyao", "pal_longkui", "ns_nanhua", "swd_qi", "swd_septem", "gw_shasixiwusi", "ow_tianshi", "swd_weida", "gjqt_xiayize", "swd_xiyan", "hs_xsylvanas", "hs_yelinlonghou", "ow_yuanshi", "zuoci"]; - var vintage = ['tianjian', 'shuiyun', 'zhuyue', 'zhimeng', 'poyun', 'qianfang', 'xfenxin', 'danqing', 'ywuhun', 'tianwu', 'xuelu', + const vintage = ['tianjian', 'shuiyun', 'zhuyue', 'zhimeng', 'poyun', 'qianfang', 'xfenxin', 'danqing', 'ywuhun', 'tianwu', 'xuelu', 'shahun', 'yuling', 'duhun', 'liaoyuan', 'touxi', 'wangchen', 'poyue', 'kunlunjing', 'huanhun', 'yunchou', 'tuzhen', 'cyqiaoxie', 'mufeng', 'duanyi', 'guozao', 'yaotong', 'pozhen', 'tanlin', 'susheng', 'jikong', 'shouyin', 'jilve', 'hxunzhi', 'huodan', 'shanxian', 'ziyu', 'kuoyin', 'feiren', 'zihui', 'jidong', 'baoxue', 'aqianghua', 'maoding', 'bfengshi', 'zhongdun', 'pingzhang', 'maichong', 'guozai', 'jingxiang', 'yuelu', 'liechao', 'fengnu', 'hanshuang', 'enze', 'malymowang', 'xshixin', 'qingzun']; - var favmodes = ["versus|three", "versus|four", "versus|two", "chess|combat"]; - for (var i = 0; i < mode.length; i++) { + const favmodes = ["versus|three", "versus|four", "versus|two", "chess|combat"]; + for (let i = 0; i < mode.length; i++) { game.saveConfig(mode[i] + '_banned', banned); game.saveConfig(mode[i] + '_bannedcards', bannedcards); } - var characters = lib.config.all.characters.slice(0); + const characters = lib.config.all.characters.slice(0); characters.remove('standard'); characters.remove('old'); game.saveConfig('vintageSkills', vintage); @@ -8513,20 +8537,33 @@ export class Library extends Uninstantable { } game.reload(); }, - o: function () { + /** + * 移除旁观时的手牌暗置效果 + */ + o() { ui.arena.classList.remove('observe'); }, - pt: function () { - var list = Array.from(arguments); + /** + * 向牌堆顶添加牌(即创建一些卡牌添加到牌堆里) + * @param { ...string } list 卡牌名称数字 + */ + pt(...list) { while (list.length) { - var card = cheat.gn(list.pop()); + const card = lib.cheat.gn(list.pop()); if (card) ui.cardPile.insertBefore(card, ui.cardPile.firstChild); } }, - q: function () { + /** + * 将卡牌的样式在simple和default之间切换 + * + * 有参数时改为获得指定的牌 + * + * @param { ...string } args + */ + q(...args) { // if(lib.config.layout!='mobile') lib.init.layout('mobile'); - if (arguments.length == 0) { - var style = ui.css.card_style; + if (args.length == 0) { + if (ui.css.card_style) ui.css.card_style.remove(); if (lib.config.card_style != 'simple') { lib.config.card_style = 'simple'; ui.css.card_style = lib.init.css(lib.assetURL + 'theme/style/card', 'simple'); @@ -8535,29 +8572,31 @@ export class Library extends Uninstantable { lib.config.card_style = 'default'; ui.css.card_style = lib.init.css(lib.assetURL + 'theme/style/card', 'default'); } - style.remove(); } else { - for (var i = 0; i < arguments.length; i++) { - cheat.g(arguments[i]); + for (let i = 0; i < args.length; i++) { + lib.cheat.g(args[i]); } } ui.arena.classList.remove('selecting'); ui.arena.classList.remove('tempnoe'); }, - p: function (name, i, skin) { - var list = ['swd', 'hs', 'pal', 'gjqt', 'ow', 'gw']; + /** + * 替换皮肤 + * @param { string } name 武将名称 + * @param { number | true } [i] 指定game.players的第几个元素,不填指定为自己的下家。为true时切换玩家布局 + * @param { string } [skin] 皮肤id + */ + p(name, i, skin) { + const list = ['swd', 'hs', 'pal', 'gjqt', 'ow', 'gw']; if (!lib.character[name]) { - for (var j = 0; j < list.length; j++) { + for (let j = 0; j < list.length; j++) { if (lib.character[list[j] + '_' + name]) { name = list[j] + '_' + name; break; } } } - if (skin) { - lib.config.skin[name] = skin; - } - var target; + let target; if (typeof i == 'number') { target = game.players[i]; } @@ -8571,6 +8610,11 @@ export class Library extends Uninstantable { else { target.init(name); } + if (skin) { + lib.config.skin[name] = skin - 1; + // 换肤时skin - 1变成skin + ui.click.skin(target.node.avatar, name); + } if (i === true) { if (lib.config.layout == 'long2') { lib.init.layout('mobile'); @@ -8580,9 +8624,27 @@ export class Library extends Uninstantable { } } }, - e: function () { - var cards = [], target; - for (var i = 0; i < arguments.length; i++) { + /** + * @overload + * @description 不传参数默认装备麒麟弓,八卦阵,的卢,赤兔,木牛 + * @returns { void } + */ + /** + * @overload + * @description 指定的玩家或自己装备指定的牌 + * @param {...Element.Player | string} args 玩家或卡牌名 + * @returns { void } + */ + e(...args) { + /** + * @type { Element.Card[] } + */ + let cards = []; + /** + * @type { Element.Player } + */ + let target; + for (let i = 0; i < arguments.length; i++) { if (get.itemtype(arguments[i]) == 'player') { target = arguments[i]; } @@ -8598,8 +8660,8 @@ export class Library extends Uninstantable { cards.push(game.createCard('muniu')); } target = target || game.me; - for (var i = 0; i < cards.length; i++) { - var card = target.getEquip(cards[i]); + for (let i = 0; i < cards.length; i++) { + const card = target.getEquip(cards[i]); if (card) { card.discard(); target.removeEquipTrigger(card); @@ -8607,37 +8669,44 @@ export class Library extends Uninstantable { target.$equip(cards[i]); } }, - c: function () { + /** + * 检测当前游戏开启的武将数,卡堆的数量分布情况 + */ + c() { + const log = function (...args) { + console.log(...args); + game.print(...args); + }; (function () { - var a = 0, b = 0, c = 0, d = 0, e = 0, f = 0, g = 0; - var sa = 0, sb = 0, sc = 0, sd = 0, se = 0, sf = 0, sg = 0; - for (var i in lib.character) { + let a = 0, b = 0, c = 0, d = 0, e = 0, f = 0, g = 0; + let sa = 0, sb = 0, sc = 0, sd = 0, se = 0, sf = 0, sg = 0; + for (let i in lib.character) { switch (lib.character[i][1]) { - case 'wei': a++; if (lib.config.banned.contains(i)) sa++; break; - case 'shu': b++; if (lib.config.banned.contains(i)) sb++; break; - case 'wu': c++; if (lib.config.banned.contains(i)) sc++; break; - case 'qun': d++; if (lib.config.banned.contains(i)) sd++; break; - case 'jin': g++; if (lib.config.banned.contains(i)) sg++; break; - case 'western': e++; if (lib.config.banned.contains(i)) se++; break; - case 'key': f++; if (lib.config.banned.contains(i)) sf++; break; + case 'wei': a++; if (lib.config.banned.includes(i)) sa++; break; + case 'shu': b++; if (lib.config.banned.includes(i)) sb++; break; + case 'wu': c++; if (lib.config.banned.includes(i)) sc++; break; + case 'qun': d++; if (lib.config.banned.includes(i)) sd++; break; + case 'jin': g++; if (lib.config.banned.includes(i)) sg++; break; + case 'western': e++; if (lib.config.banned.includes(i)) se++; break; + case 'key': f++; if (lib.config.banned.includes(i)) sf++; break; } } - console.log('魏:' + (a - sa) + '/' + a); - console.log('蜀:' + (b - sb) + '/' + b); - console.log('吴:' + (c - sc) + '/' + c); - console.log('群:' + (d - sd) + '/' + d); - console.log('晋:' + (g - sg) + '/' + g); - console.log('西:' + (e - se) + '/' + e); - console.log('键:' + (f - sf) + '/' + f); - console.log('已启用:' + ((a + b + c + d + e + f) - (sa + sb + sc + sd + se + sf)) + '/' + (a + b + c + d + e + f)); + log('魏:' + (a - sa) + '/' + a); + log('蜀:' + (b - sb) + '/' + b); + log('吴:' + (c - sc) + '/' + c); + log('群:' + (d - sd) + '/' + d); + log('晋:' + (g - sg) + '/' + g); + log('西:' + (e - se) + '/' + e); + log('键:' + (f - sf) + '/' + f); + log('已启用:' + ((a + b + c + d + e + f) - (sa + sb + sc + sd + se + sf)) + '/' + (a + b + c + d + e + f)); }()); (function () { - var a = 0, b = 0, c = 0, d = 0; - var aa = 0, bb = 0, cc = 0, dd = 0; - var sa = 0, sb = 0, sc = 0, sd = 0; - var sha = 0, shan = 0, tao = 0, jiu = 0, wuxie = 0, heisha = 0, hongsha = 0; - var num = { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 0, 9: 0, 10: 0, 11: 0, 12: 0, 13: 0 }; - for (var i in lib.card) { + let a = 0, b = 0, c = 0, d = 0; + let aa = 0, bb = 0, cc = 0, dd = 0; + let sa = 0, sb = 0, sc = 0, sd = 0; + let sha = 0, shan = 0, tao = 0, jiu = 0, wuxie = 0, heisha = 0, hongsha = 0; + let num = { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 0, 9: 0, 10: 0, 11: 0, 12: 0, 13: 0 }; + for (let i in lib.card) { if (get.objtype(lib.card[i]) == 'object' && lib.translate[i + '_info']) { switch (lib.card[i].type) { case 'basic': a++; break; @@ -8647,7 +8716,7 @@ export class Library extends Uninstantable { } } } - for (var i = 0; i < lib.card.list.length; i++) { + for (let i = 0; i < lib.card.list.length; i++) { if (typeof lib.card[lib.card.list[i][2]] == 'object') { switch (lib.card[lib.card.list[i][2]].type) { case 'basic': aa++; break; @@ -8685,49 +8754,70 @@ export class Library extends Uninstantable { num[lib.card.list[i][1]]++; } } - var str = '基本牌' + aa + '; ' + '锦囊牌' + bb + '; ' + '装备牌' + cc + '; ' + '其它牌' + dd; - console.log(str); + let str = '基本牌' + aa + '; ' + '锦囊牌' + bb + '; ' + '装备牌' + cc + '; ' + '其它牌' + dd; + log(str); str = '红桃牌' + sa + '; ' + '方片牌' + sb + '; ' + '梅花牌' + sc + '; ' + '黑桃牌' + sd; - console.log(str); + log(str); str = '杀' + sha + '; ' + '黑杀' + heisha + '; ' + '红杀' + hongsha + '; ' + '闪' + shan + '; ' + '桃' + tao + '; ' + '酒' + jiu + '; ' + '无懈' + wuxie; - console.log(str); + log(str); if (arguments[1]) { - for (var i = 1; i <= 13; i++) { + for (let i = 1; i <= 13; i++) { if (i < 10) { - console.log(i + ' ', num[i]); + log(i + ' ', num[i]); } else { - console.log(i, num[i]); + log(i, num[i]); } } } - var arr = []; - for (var i = 1; i <= 13; i++) { + let arr = []; + for (let i = 1; i <= 13; i++) { arr.push(num[i]); } - console.log((a + b + c + d) + '/' + (aa + bb + cc + dd), ...arr); + log((a + b + c + d) + '/' + (aa + bb + cc + dd), ...arr); }()); }, - id: function () { + /** + * 显示场上所有的角色的身份 + */ + id() { game.showIdentity(); }, - b: function () { + /** + * 替换dialog中待选择的卡牌(或其他东西)对应的真实卡牌(或其他东西) + * ```js + * // 在神吕蒙涉猎时使用: + * // 涉猎如果选择l第一张牌,那你获得的是你创造的这张杀 + * lib.cheat.b(game.createCard('sha')); + * ``` + */ + b(...args) { if (!ui.dialog || !ui.dialog.buttons) return; - for (var i = 0; i < Math.min(arguments.length, ui.dialog.buttons.length); i++) { - ui.dialog.buttons[i].link = arguments[i]; + for (let i = 0; i < Math.min(args.length, ui.dialog.buttons.length); i++) { + ui.dialog.buttons[i].link = args[i]; } }, - uy: function (me) { + /** + * 炉石模式可用,使用'spell_yexinglanghun'卡牌 + * @param { boolean } [me] 决定是自己还是对手使用'spell_yexinglanghun'卡牌 + */ + uy(me) { if (me) { game.me.useCard({ name: 'spell_yexinglanghun' }, game.me); } else { - var enemy = game.me.getEnemy(); + // player.getEnemy是炉石模式的函数 + const enemy = game.me.getEnemy(); enemy.useCard({ name: 'spell_yexinglanghun' }, enemy); } }, - gs: function (name, act) { - var card = game.createCard('spell_' + (name || 'yexinglanghun')); + /** + * 炉石模式可用,使用`spell_${name}`卡牌 + * @param { string } [name] + * @param { boolean } [act] + */ + gs(name = 'yexinglanghun', act) { + const card = game.createCard('spell_' + name); game.me.node.handcards1.appendChild(card); if (!act) { game.me.actused = -99; @@ -8738,8 +8828,13 @@ export class Library extends Uninstantable { delete _status.event._skillChoice; setTimeout(game.check, 300); }, - gc: function (name, act) { - var card = game.createCard('stone_' + (name || 'falifulong') + '_stonecharacter'); + /** + * 炉石模式可用,获得`stone_${name}_stonecharacter`卡牌 + * @param { string } [name] + * @param { boolean } [act] + */ + gc(name = 'falifulong', act) { + var card = game.createCard('stone_' + name + '_stonecharacter'); game.me.node.handcards1.appendChild(card); if (!act) { game.me.actused = -99; @@ -8750,7 +8845,11 @@ export class Library extends Uninstantable { delete _status.event._skillChoice; setTimeout(game.check, 300); }, - a: function (bool) { + /** + * 进入/关闭快速自动测试模式(游戏速度最快),只有游戏记录界面 + * @param { boolean | string } [bool] + */ + a(bool) { if (lib.config.test_game) { game.saveConfig('test_game'); } @@ -8769,50 +8868,81 @@ export class Library extends Uninstantable { } game.reload(); }, - as: function () { + /** + * 临时去掉“自动测试模式”带来的css效果, + * + * 如果要彻底关闭,需要再执行一次lib.cheat.a + */ + as() { ui.window.classList.remove('testing'); - var bg = ui.window.querySelector('.pausedbg'); + const bg = ui.window.querySelector('.pausedbg'); if (bg) { bg.remove(); } }, - uj: function () { - cheat.e('qilin'); + /** + * 装备麒麟弓,并且下家玩家对你发动借刀杀人,杀你的上家 + */ + uj() { + lib.cheat.e('qilin'); game.me.next.useCard({ name: 'jiedao' }, [game.me, game.me.previous]); }, - u: function () { - var card = { name: 'sha' }, source = game.me.next, targets = []; - for (var i = 0; i < arguments.length; i++) { - if (get.itemtype(arguments[i]) == 'player') { - source = arguments[i]; + /** + * 下家对你使用一张牌 + * @param {...Element.Player | Element.Player[] | string | Element.VCard } args + * + * @example + * ```js + * // 传入player是卡牌的使用者 + * // 传入player数组是卡牌的目标(没有则目标是game.me) + * // 传入字符串设置卡牌名称 + * // 传入Vcard对象设置卡牌更具体的卡牌信息 + * lib.cheat.u(player1, 'sha', [player2, player3]); + * ``` + */ + u(...args) { + let card = new lib.element.VCard({ name: 'sha' }), + source = game.me.next, + targets = []; + for (let i = 0; i < args.length; i++) { + if (get.itemtype(args[i]) == 'player') { + source = args[i]; } - else if (Array.isArray(arguments[i])) { - targets = arguments[i]; + else if (Array.isArray(args[i])) { + targets = args[i]; } - else if (typeof arguments[i] == 'object' && arguments[i]) { - card = arguments[i]; + else if (args instanceof lib.element.VCard) { + card = args[i]; } - else if (typeof arguments[i] == 'string') { - card = { name: arguments[i] }; + else if (typeof args[i] == 'string') { + card = new lib.element.VCard({ name: args[i] }); } } if (!targets.length) targets.push(game.me); source.useCard(game.createCard(card.name, card.suit, card.number, card.nature), targets); }, - r: function (bool) { - var list = ['s', 'ap', 'a', 'am', 'bp', 'b', 'bm', 'c', 'd']; - var str = ''; - for (var i = 0; i < list.length; i++) { + /** + * 输出每个强度的武将数量、每个武将包的每个强度的武将数量、每个武将对应的id和翻译 + * @param { boolean } [bool] 为false不输出无名杀自带的武将id和翻译 + */ + r(bool) { + const log = function (...args) { + console.log(...args); + game.print(...args); + } + let list = ['s', 'ap', 'a', 'am', 'bp', 'b', 'bm', 'c', 'd']; + let str = ''; + for (let i = 0; i < list.length; i++) { if (str) str += ' 、 '; str += list[i] + '-' + lib.rank[list[i]].length; } - console.log(str); - for (var i in lib.characterPack) { - if (!bool && lib.config.all.sgscharacters.contains(i)) continue; - var map = {}; - var str = ''; - for (var j in lib.characterPack[i]) { - var rank = get.rank(j); + log(str); + for (let i in lib.characterPack) { + if (!bool && lib.config.all.sgscharacters.includes(i)) continue; + let map = {}; + let str = ''; + for (let j in lib.characterPack[i]) { + let rank = get.rank(j); if (!map[rank]) { map[rank] = 1; } @@ -8820,55 +8950,88 @@ export class Library extends Uninstantable { map[rank]++; } } - for (var j = 0; j < list.length; j++) { + for (let j = 0; j < list.length; j++) { if (map[list[j]]) { if (str) str += ' 、 '; str += list[j] + '-' + map[list[j]]; } } if (str) { - console.log(lib.translate[i + '_character_config'] + ':' + str); + log(lib.translate[i + '_character_config'] + ':' + str); } } - var list = lib.rank.s.concat(lib.rank.ap).concat(lib.rank.a).concat(lib.rank.am). + let list2 = lib.rank.s.concat(lib.rank.ap).concat(lib.rank.a).concat(lib.rank.am). concat(lib.rank.bp).concat(lib.rank.b).concat(lib.rank.bm).concat(lib.rank.c).concat(lib.rank.d); Object.keys(lib.character).forEach(key => { - if (!lib.config.forbidai.includes(key) && !key.startsWith('boss_') && !key.startsWith('tafang_') && !list.includes(key)) console.log(get.translation(key), key); + if (!lib.config.forbidai.includes(key) && !key.startsWith('boss_') && !key.startsWith('tafang_') && !list2.includes(key)) log(get.translation(key), key); }); }, - h: function (player) { + /** + * 打印目标玩家的手牌 + * @param { Element.Player } player + */ + h(player) { console.log(get.translation(player.getCards('h'))); }, - g: function () { - for (var i = 0; i < arguments.length; i++) { - if (i > 0 && typeof arguments[i] == 'number') { - for (var j = 0; j < arguments[i] - 1; j++) { - cheat.gx(arguments[i - 1]); + /** + * 给自己立刻添加手牌 + * + * @example + * ```js + * // 获得3张杀和1张闪 + * lib.cheat.g('sha', 3, 'shan', 1) + * ``` + */ + g(...args) { + for (let i = 0; i < args.length; i++) { + if (i > 0 && typeof args[i] == 'number') { + for (let j = 0; j < args[i] - 1; j++) { + lib.cheat.gx(args[i - 1]); } } else { - cheat.gx(arguments[i]); + lib.cheat.gx(args[i]); } } }, - ga: function (type) { - for (var i in lib.card) { + /** + * 立即获得指定类型的牌各一张 + * + * 会添加到不属于当前模式的牌和某些角色专属牌 + * + * @param { string } type + */ + ga(type) { + for (let i in lib.card) { if (lib.card[i].type == type || lib.card[i].subtype == type) { - cheat.g(i); + lib.cheat.g(i); } } }, - gg: function () { - for (var i = 0; i < game.players.length; i++) { - for (var j = 0; j < arguments.length; j++) { - cheat.gx(arguments[j], game.players[i]); - } - } + /** + * 给所有玩家立刻添加一张或多张指定的牌 + * @param {...string} args + * @example + * ```js + * // 给所有玩家立刻添加一张杀和一张闪 + * lib.cheat.gg('sha', 'shan'); + * ``` + */ + gg(...args) { + game.players.forEach(player => { + args.forEach(cardName => { + lib.cheat.gx(cardName, player); + }) + }); }, - gx: function (name, target) { - target = target || game.me; - var card = cheat.gn(name); + /** + * 给目标立即添加一张手牌 + * @param { string } name + * @param { Element.Player } target + */ + gx(name, target = game.me) { + const card = lib.cheat.gn(name); if (!card) return; target.node.handcards1.appendChild(card); delete _status.event._cardChoice; @@ -8878,11 +9041,33 @@ export class Library extends Uninstantable { target.update(); ui.updatehl(); }, - gn: function (name) { - var nature = null; - var suit = null; - var suits = ['club', 'spade', 'diamond', 'heart']; - for (var i = 0; i < suits.length; i++) { + /** + * 创建卡牌 + * + * 如果lib.card里没有对应卡牌名返回null + * + * @param { string } name + * @returns { Element.Card } + * @example + * ```js + * // 创建一个梅花杀 + * lib.cheat.gn('clubsha'); + * // 创建一个红色杀 + * lib.cheat.gn('redsha'); + * // 创建一个黑色杀 + * lib.cheat.gn('blacksha'); + * // 创建一个火杀 + * lib.cheat.gn('huosha'); + * // 创建一个雷杀 + * lib.cheat.gn('leisha'); + * // 冰杀神杀刺杀没有 + * ``` + */ + gn(name) { + let nature = null; + let suit = null; + let suits = ['club', 'spade', 'diamond', 'heart']; + for (let i = 0; i < suits.length; i++) { if (name.startsWith(suits[i])) { suit = suits[i]; name = name.slice(suits[i].length); @@ -8911,44 +9096,58 @@ export class Library extends Uninstantable { } return game.createCard(name, suit, null, nature); }, - ge: function (target) { + /** + * 指定的玩家或自己立即获得诸葛连弩,青龙刀,八卦阵,的卢,赤兔,木牛 + * @param {Element.Player} [target] + */ + ge(target) { if (target) { - cheat.gx('zhuge', target); - cheat.gx('qinglong', target); - cheat.gx('bagua', target); - cheat.gx('dilu', target); - cheat.gx('chitu', target); - cheat.gx('muniu', target); + lib.cheat.gx('zhuge', target); + lib.cheat.gx('qinglong', target); + lib.cheat.gx('bagua', target); + lib.cheat.gx('dilu', target); + lib.cheat.gx('chitu', target); + lib.cheat.gx('muniu', target); } else { - cheat.g('zhuge'); - cheat.g('qinglong'); - cheat.g('bagua'); - cheat.g('dilu'); - cheat.g('chitu'); - cheat.g('muniu'); + lib.cheat.g('zhuge'); + lib.cheat.g('qinglong'); + lib.cheat.g('bagua'); + lib.cheat.g('dilu'); + lib.cheat.g('chitu'); + lib.cheat.g('muniu'); } }, - gj: function () { - cheat.g('shandian'); - cheat.g('huoshan'); - cheat.g('hongshui'); - cheat.g('lebu'); - cheat.g('bingliang'); - cheat.g('guiyoujie'); + /** + * 自己立即获得闪电,火山,洪水,乐不思蜀,鬼幽结 + */ + gj() { + lib.cheat.g('shandian'); + lib.cheat.g('huoshan'); + lib.cheat.g('hongshui'); + lib.cheat.g('lebu'); + lib.cheat.g('bingliang'); + lib.cheat.g('guiyoujie'); }, - gf: function () { - for (var i in lib.card) { + /** + * 自己立即获得所有食物牌各一张 + */ + gf() { + for (let i in lib.card) { if (lib.card[i].type == 'food') { - cheat.g(i); + lib.cheat.g(i); } } }, - d: function (num, target) { - if (num == undefined) num = 1; - var cards = get.cards(num); - for (var i = 0; i < num; i++) { - var card = cards[i]; + /** + * 自己立刻获取牌堆顶num张牌 + * @param { number } [num] + * @param { Element.Player } [target] + */ + d(num = 1, target) { + const cards = get.cards(num); + for (let i = 0; i < num; i++) { + const card = cards[i]; game.me.node.handcards1.appendChild(card); delete _status.event._cardChoice; delete _status.event._targetChoice; @@ -8958,52 +9157,70 @@ export class Library extends Uninstantable { ui.updatehl(); } }, - s: function () { - for (var i = 0; i < arguments.length; i++) { - game.me.addSkill(arguments[i], true); + /** + * 给自己立刻添加一个或多个技能 + * @param {...string} args 技能名 + */ + s(...args) { + for (var i = 0; i < args.length; i++) { + game.me.addSkill(args[i], true); } delete _status.event._cardChoice; delete _status.event._targetChoice; delete _status.event._skillChoice; game.check(); }, - t: function (num) { - if (game.players.contains(num)) { + /** + * 弃置指定位置玩家的所有牌 + * + * 不传入num默认为弃置所有玩家的所有牌 + * + * @param { number | Element.Player } [num] + */ + t(num) { + if (game.players.includes(num)) { num = game.players.indexOf(num); } if (num == undefined) { - for (var i = 0; i < game.players.length; i++) cheat.t(i); + for (let i = 0; i < game.players.length; i++) lib.cheat.t(i); return; } - var player = game.players[num]; - var cards = player.getCards('hej'); - for (var i = 0; i < cards.length; i++) { + const player = game.players[num]; + const cards = player.getCards('hej'); + for (let i = 0; i < cards.length; i++) { cards[i].discard(); } player.removeEquipTrigger(); player.update(); }, - to: function () { - for (var i = 0; i < game.players.length; i++) { - if (game.players[i] != game.me) { - cheat.t(i); - } - } + /** + * 自己以外的其他玩家弃置所有牌 + */ + to() { + game.players.filter(player => player != game.me).forEach((_, i) => { + lib.cheat.t(i); + }); }, - tm: function () { - for (var i = 0; i < game.players.length; i++) { - if (game.players[i] == game.me) { - cheat.t(i); - } - } + /** + * 弃置自己所有牌 + */ + tm() { + lib.cheat.t(game.me); }, - k: function (i) { - if (i == undefined) i = 1; + /** + * 指定一个目标,弃置所有牌,血量变1,并且自己获得一张"juedou" + * @param i 从自己开始算起,自己为0,不填默认1,即自己下家 + */ + k(i = 1) { game.players[i].hp = 1; - cheat.t(i); - cheat.g('juedou'); + lib.cheat.t(i); + lib.cheat.g('juedou'); }, - z: function (name) { + /** + * 重新设置当前的主公的武将牌,且血量上限+1(不论当局人数是否大于3) + * @param { string } name + */ + z(name) { switch (name) { case 'cc': name = 're_caocao'; break; case 'lb': name = 're_liubei'; break; From e28fac757adf95b1004bf3431cfc4dfb86df52e0 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Fri, 29 Dec 2023 20:17:53 +0800 Subject: [PATCH 105/234] =?UTF-8?q?lib.cheat.u=E6=94=B9=E5=9B=9E=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E6=97=A7=E7=89=88=E4=BC=A0=E5=8F=82(=E4=BD=86?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E5=BA=9F=E5=BC=83)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/library/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/noname/library/index.js b/noname/library/index.js index 7121aed50..cb589a32c 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -8914,6 +8914,10 @@ export class Library extends Uninstantable { else if (args instanceof lib.element.VCard) { card = args[i]; } + else if (typeof args[i] == 'object' && args[i] != null && args[i].name) { + console.warn('lib.cheat.u: 以普通obj形式传入的类卡牌形式已经废弃'); + card = args[i]; + } else if (typeof args[i] == 'string') { card = new lib.element.VCard({ name: args[i] }); } From 33f5942ffb1d8087c92c3de1e39dda89bb594dfb Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Fri, 29 Dec 2023 20:20:48 +0800 Subject: [PATCH 106/234] =?UTF-8?q?lib.cheat.u=E6=94=B9=E5=9B=9E=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E6=97=A7=E7=89=88=E4=BC=A0=E5=8F=822(=E4=BD=86?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E5=BA=9F=E5=BC=83)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/library/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noname/library/index.js b/noname/library/index.js index cb589a32c..91381d0ef 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -8916,7 +8916,7 @@ export class Library extends Uninstantable { } else if (typeof args[i] == 'object' && args[i] != null && args[i].name) { console.warn('lib.cheat.u: 以普通obj形式传入的类卡牌形式已经废弃'); - card = args[i]; + card = new lib.element.VCard(args[i]); } else if (typeof args[i] == 'string') { card = new lib.element.VCard({ name: args[i] }); From e840997693d95bffed36a41de5ea09ff1eec9c21 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 29 Dec 2023 20:58:58 +0800 Subject: [PATCH 107/234] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E3=80=90=E7=81=AB?= =?UTF-8?q?=E6=94=BB=E3=80=91=E4=B8=8D=E8=83=BD=E6=AD=A3=E5=B8=B8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=9F=A5=E6=83=85=E8=80=85=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/extra.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/card/extra.js b/card/extra.js index 17ba4277d..152beddbf 100644 --- a/card/extra.js +++ b/card/extra.js @@ -196,7 +196,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return get.value(card); }; "step 1" - target.showCards(result.cards).setContent(function(){}); + target.showCards(result.cards); event.dialog=ui.create.dialog(get.translation(target)+'展示的手牌',result.cards); event.videoId=lib.status.videoId++; From 6d65fae52153c44bb5411b22eb6948bdb1e46688 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 29 Dec 2023 21:05:22 +0800 Subject: [PATCH 108/234] =?UTF-8?q?Revert=20"=E4=BF=AE=E5=A4=8D=E3=80=90?= =?UTF-8?q?=E7=81=AB=E6=94=BB=E3=80=91=E4=B8=8D=E8=83=BD=E6=AD=A3=E5=B8=B8?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=9F=A5=E6=83=85=E8=80=85=E7=9A=84bug"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit e840997693d95bffed36a41de5ea09ff1eec9c21. --- card/extra.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/card/extra.js b/card/extra.js index 152beddbf..17ba4277d 100644 --- a/card/extra.js +++ b/card/extra.js @@ -196,7 +196,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return get.value(card); }; "step 1" - target.showCards(result.cards); + target.showCards(result.cards).setContent(function(){}); event.dialog=ui.create.dialog(get.translation(target)+'展示的手牌',result.cards); event.videoId=lib.status.videoId++; From 0163689c92abcf5a3140883cc42b5fc6de0156c9 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 29 Dec 2023 21:15:16 +0800 Subject: [PATCH 109/234] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E3=80=90=E7=81=AB?= =?UTF-8?q?=E6=94=BB=E3=80=91=E6=B2=A1=E6=9C=89=E6=B7=BB=E5=8A=A0=E7=9F=A5?= =?UTF-8?q?=E6=83=85=E8=80=85=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/extra.js | 1 + 1 file changed, 1 insertion(+) diff --git a/card/extra.js b/card/extra.js index 17ba4277d..e76e02cd1 100644 --- a/card/extra.js +++ b/card/extra.js @@ -204,6 +204,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ game.addVideo('cardDialog',null,[get.translation(target)+'展示的手牌',get.cardsInfo(result.cards),event.videoId]); event.card2=result.cards[0]; game.log(target,'展示了',event.card2); + game.addCardKnower(result.cards, 'everyone'); event._result={}; player.chooseToDiscard({suit:get.suit(event.card2)},function(card){ var evt=_status.event.getParent(); From db1b6281a763424a944dc5d867800fe4724aebc5 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 29 Dec 2023 22:36:58 +0800 Subject: [PATCH 110/234] bugfix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ui.selected.cards范围太大,不宜默认筛选 --- noname/library/element/player.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/noname/library/element/player.js b/noname/library/element/player.js index dd1e8c677..6faa9fe95 100644 --- a/noname/library/element/player.js +++ b/noname/library/element/player.js @@ -7904,12 +7904,12 @@ export class Player extends HTMLDivElement { else return true; } if (get.itemtype(viewer) !== 'player') viewer = _status.event.player; - let cards, selected = get.copy(ui.selected.cards); + let cards, selected = []; if (get.itemtype(ignore) === 'cards') selected.addArray(ignore); else if (get.itemtype(ignore) === 'card') selected.add(ignore); if (this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); else cards = this.getShownCards(); - count += cards.filter(card => { + cards = cards.filter(card => { if (selected.includes(card)) return false; let name = get.name(card, this); if (name == 'sha' || name == 'hufu' || name == 'yuchanqian') { @@ -7918,9 +7918,10 @@ export class Player extends HTMLDivElement { return true; } return false; - }).length; + }); + count += cards.length; if (count && rvt !== 'count') return true; - let hs = this.getCards('hs').filter(i => !cards.includes(i) && !selected.includes(i)).length; + let hs = this.getCards('hs').filter(i => !cards.includes(i)).length; if (!hs) { if (rvt === 'count') return count; return false; @@ -7946,12 +7947,12 @@ export class Player extends HTMLDivElement { else return true; } if (get.itemtype(viewer) !== 'player') viewer = _status.event.player; - let cards, selected = get.copy(ui.selected.cards); + let cards, selected = []; if (get.itemtype(ignore) === 'cards') selected.addArray(ignore); else if (get.itemtype(ignore) === 'card') selected.add(ignore); if (this === viewer || get.itemtype(viewer) == 'player') cards = this.getKnownCards(viewer); else cards = this.getShownCards(); - count += cards.filter(card => { + cards = cards.filter(card => { if (selected.includes(card)) return false; let name = get.name(card, this); if (name === 'shan' || name === 'hufu') { @@ -7960,9 +7961,10 @@ export class Player extends HTMLDivElement { return true; } return false; - }).length; + }); + count += cards.length; if (count && rvt !== 'count') return true; - let hs = this.getCards('hs').filter(i => !cards.includes(i) && !selected.includes(i)).length; + let hs = this.getCards('hs').filter(i => !cards.includes(i)).length; if (!hs) { if (rvt === 'count') return count; return false; From 45b39bc524e4924bee275622ff5dcffaf885a501 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Fri, 29 Dec 2023 23:16:13 +0800 Subject: [PATCH 111/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E3=80=90=E9=95=BF?= =?UTF-8?q?=E9=A9=B1=E3=80=91=E3=80=90=E6=B3=B0=E7=84=B6=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/xianding.js | 8 ++++---- character/yingbian.js | 11 ++++++++++- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/character/xianding.js b/character/xianding.js index 6f79143c1..8b07d74ba 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -2083,9 +2083,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(target.hasMark('dcchangqu_warshipx')){ var prompt2='是否交给'+get.translation(player)+get.cnNumber(num)+'张手牌?'+(nextPlayer?'若如此做,将“战舰”移动给'+get.translation(nextPlayer)+',':',')+'否则你下次受到的属性伤害值+'+num; target.chooseCard(get.translation(player)+'对你发动了【长驱】',prompt2).set('ai',card=>{ - if(_status.event.att>0) return 6-get.value(card); - if(_status.event.take) return -get.value(card); - return 5-get.value(card); + if(_status.event.att>0) return 15-get.value(card); + if(_status.event.take) return 0; + return 8.2-0.8*Math.min(5,_status.event.target.hp+_status.event.target.hujia)-get.value(card); }).set('att',get.attitude(target,player)).set('take',function(){ var base=num; var getEffect=function(target,player,num){ @@ -2101,7 +2101,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var num=base+ind+1; var effx=getEffect(current,player,num); return effx Date: Fri, 29 Dec 2023 23:32:33 +0800 Subject: [PATCH 112/234] =?UTF-8?q?=E6=9C=AC=E4=BD=93=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E7=9A=84Array#contains=E5=85=A8=E9=83=A8=E6=94=B9=E4=B8=BAArra?= =?UTF-8?q?y#includes=EF=BC=8C=E4=B8=94contains=E6=8F=90=E7=A4=BA=E5=BC=83?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/extra.js | 8 +- card/gujian.js | 4 +- card/guozhan.js | 32 +- card/gwent.js | 14 +- card/huanlekapai.js | 6 +- card/sp.js | 2 +- card/standard.js | 38 +-- card/swd.js | 26 +- card/yingbian.js | 10 +- card/yongjian.js | 22 +- card/yunchou.js | 6 +- card/zhulu.js | 30 +- character/clan.js | 64 ++-- character/collab.js | 50 +-- character/ddd.js | 100 +++--- character/diy.js | 274 +++++++-------- character/extra.js | 138 ++++---- character/gujian.js | 26 +- character/gwent.js | 52 +-- character/hearth.js | 110 +++--- character/huicui.js | 252 +++++++------- character/jiange.js | 4 +- character/jsrg.js | 98 +++--- character/mobile.js | 250 +++++++------- character/mtg.js | 2 +- character/offline.js | 88 ++--- character/old.js | 18 +- character/ow.js | 24 +- character/refresh.js | 220 ++++++------ character/sb.js | 74 ++-- character/shenhua.js | 96 +++--- character/shiji.js | 94 +++--- character/sp.js | 504 ++++++++++++++-------------- character/sp2.js | 210 ++++++------ character/standard.js | 8 +- character/swd.js | 68 ++-- character/tw.js | 362 ++++++++++---------- character/xiake.js | 2 +- character/xianding.js | 284 ++++++++-------- character/xianjian.js | 44 +-- character/xinghuoliaoyuan.js | 26 +- character/yijiang.js | 254 +++++++------- character/yingbian.js | 104 +++--- character/yxs.js | 16 +- extension/boss/extension.js | 4 +- mode/boss.js | 84 ++--- mode/brawl.js | 38 +-- mode/chess.js | 124 +++---- mode/doudizhu.js | 52 +-- mode/guozhan.js | 412 +++++++++++------------ mode/identity.js | 134 ++++---- mode/single.js | 36 +- mode/stone.js | 36 +- mode/tafang.js | 24 +- mode/versus.js | 90 ++--- noname/game/index.js | 38 +-- noname/get/index.js | 156 ++++----- noname/init/index.js | 20 +- noname/init/polyfill.js | 62 ++-- noname/library/element/card.js | 16 +- noname/library/element/content.js | 136 ++++---- noname/library/element/gameEvent.js | 4 +- noname/library/element/player.js | 158 ++++----- noname/library/index.js | 88 ++--- noname/library/init/index.js | 28 +- noname/ui/index.js | 158 ++++----- 66 files changed, 3009 insertions(+), 3003 deletions(-) diff --git a/card/extra.js b/card/extra.js index 17ba4277d..2e1873175 100644 --- a/card/extra.js +++ b/card/extra.js @@ -437,7 +437,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ ai:{ value:function(card,player,index,method){ if(player.isDisabled(2)) return 0.01; - if(player.getEquips('tengjia').contains(card)){ + if(player.getEquips('tengjia').includes(card)){ if(player.hasSkillTag('noDirectDamage')) return 10; if(game.hasPlayer(function(current){ return current!=player&&get.attitude(current,player)<0&¤t.hasSkillTag('fireAttack',null,null,true); @@ -640,8 +640,8 @@ game.import('card',function(lib,game,ui,get,ai,_status){ var muniu=player.getEquip('muniu'); if(!muniu||!muniu.cards||!muniu.cards.length) return; for(var i of ui.selected.cards){ - if(i==muniu&&muniu.cards.contains(card)) return false; - if(muniu.cards.contains(i)&&card==muniu) return false; + if(i==muniu&&muniu.cards.includes(card)) return false; + if(muniu.cards.includes(i)&&card==muniu) return false; } }, }, @@ -685,7 +685,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ var muniu=player.getEquip('muniu'); if(!muniu||!muniu.cards) return false; return event.ss.filter(function(card){ - return muniu.cards.contains(card); + return muniu.cards.includes(card); }).length>0; }, content:function(){ diff --git a/card/gujian.js b/card/gujian.js index f6a37b985..913b9959e 100644 --- a/card/gujian.js +++ b/card/gujian.js @@ -804,7 +804,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ var es=target.getGainableCards(player,'e') if(es.length){ player.choosePlayerCard('e',target,true).set('es',es).set('filterButton',function(button){ - return _status.event.es.contains(button.link); + return _status.event.es.includes(button.link); }); } else{ @@ -995,7 +995,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ filterTarget:true, wuxieable:true, content:function(){ - if(player.getEnemies().contains(target)){ + if(player.getEnemies().includes(target)){ target.getDebuff(); } else{ diff --git a/card/guozhan.js b/card/guozhan.js index 51465fd24..6fca94231 100644 --- a/card/guozhan.js +++ b/card/guozhan.js @@ -164,7 +164,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ 'step 3' event.give_cards=event.give_cards.filterInD('d'); if(!event.give_cards.length||!game.hasPlayer(function(current){ - return current!=target&¤t.identity=='wu'&&!event.given_list.contains(current); + return current!=target&¤t.identity=='wu'&&!event.given_list.includes(current); })) event.finish(); else{ target.chooseButton(['是否将弃置的牌交给其他吴势力角色?',event.give_cards],[1,2]); @@ -173,7 +173,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(result.bool){ event.cards2=result.links; target.chooseTarget(true,'选择获得'+get.translation(event.cards2)+'的角色',function(card,player,target){ - return target!=player&&target.identity=='wu'&&!_status.event.targets.contains(target); + return target!=player&&target.identity=='wu'&&!_status.event.targets.includes(target); }).set('targets',event.given_list); } else event.finish(); @@ -543,7 +543,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ } if(get.cardtag(card,'yingbian_add')){ if(game.hasPlayer(function(current){ - return !targets.contains(current)&&lib.filter.targetEnabled2(card,player,current)&&get.effect(current,card,player,player)>0; + return !targets.includes(current)&&lib.filter.targetEnabled2(card,player,current)&&get.effect(current,card,player,player)>0; })) base+=6; } return 0; @@ -642,7 +642,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ contentBefore:function(){ if(get.mode()=='guozhan'){ var evt=event.getParent(); - if(evt&&evt.targets&&evt.targets.contains(player)){ + if(evt&&evt.targets&&evt.targets.includes(player)){ evt.fixedSeat=true; evt.targets.sortBySeat(); evt.targets.remove(player); @@ -721,13 +721,13 @@ game.import('card',function(lib,game,ui,get,ai,_status){ selectTarget:-1, chooseai:function(event,player){ if(player.hasSkillTag('mingzhi_yes')) return '选项一'; - if(_status.event.controls.contains('选项三')){ + if(_status.event.controls.includes('选项三')){ if(player.hasSkillTag('mingzhi_no')) return '选项三'; return Math.random()<0.5?'选项一':'选项三'; } else{ if(_status.event.getParent().nomingzhi){ - if(_status.event.controls.contains('选项二')) return '选项二'; + if(_status.event.controls.includes('选项二')) return '选项二'; return '选项一'; } if(player.hasSkillTag('maixie_hp')||player.hp<=2) return '选项一'; @@ -785,7 +785,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ _status.chiling=true; currentPhase.addTempSkill('g_chiling3'); } - if(!lib.inpile.contains('zhaoshu')){ + if(!lib.inpile.includes('zhaoshu')){ lib.inpile.push('zhaoshu'); var card=game.createCard2('zhaoshu','club',3); game.log(card,'被置于了牌堆底'); @@ -1019,7 +1019,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ result:{ player:function(player,target){ if(player.countCards('h')<=player.hp) return 0; - if(player.storage.zhibi&&player.storage.zhibi.contains(target)) return 0; + if(player.storage.zhibi&&player.storage.zhibi.includes(target)) return 0; return target.isUnseen()?1:0; } } @@ -1146,7 +1146,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ ['club',12,'gz_wenheluanwu'], ]; for(var i=0;icard2!=card&&!ui.selected.cards.contains(card2)) + if(cards.length) return cards.some(card2=>card2!=card&&!ui.selected.cards.includes(card2)) return true; }, prompt:'出牌阶段限一次,你可以弃置至多X张牌(X为你的体力上限),然后摸等量的牌' @@ -1380,7 +1380,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ trigger:{source:'dieAfter'}, filter:function(event,player){ if(event.reason&&event.reason.card&&event.reason.card.name=='sha'){ - return event.player.isDead()&&lib.group.contains(player.identity)&&player.isMinor(); + return event.player.isDead()&&lib.group.includes(player.identity)&&player.isMinor(); } return false; }, @@ -1390,7 +1390,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ var list=[]; for(var i=0;i<_status.characterlist.length;i++){ var info=lib.character[_status.characterlist[i]]; - if(info[4]&&info[4].contains('jun')) continue; + if(info[4]&&info[4].includes('jun')) continue; if(info[1]==player.identity){ list.push(_status.characterlist[i]); } diff --git a/card/gwent.js b/card/gwent.js index 306af8fac..3a8196304 100644 --- a/card/gwent.js +++ b/card/gwent.js @@ -353,7 +353,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ enable:function(card,player){ var enemies=player.getEnemies(); return game.hasPlayer(function(current){ - return current.hp==1&&enemies.contains(current); + return current.hp==1&&enemies.includes(current); }); }, notarget:true, @@ -364,7 +364,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ content:function(){ var enemies=player.getEnemies(); var list=game.filterPlayer(function(current){ - return current.hp==1&&enemies.contains(current); + return current.hp==1&&enemies.includes(current); }); if(list.length){ var target=list.randomGet(); @@ -1031,7 +1031,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ 'step 0' var list=[]; for(var i in lib.card){ - if(lib.card[i].mode&&lib.card[i].mode.contains(lib.config.mode)==false) continue; + if(lib.card[i].mode&&lib.card[i].mode.includes(lib.config.mode)==false) continue; if(lib.card[i].vanish) continue; if(lib.card[i].type=='delay') list.push([cards[0].suit,cards[0].number,i]); } @@ -1201,10 +1201,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return player.canUse('gw_aozuzhilei',current)&&get.effect(current,{name:'gw_aozuzhilei'},player,player)>0; }); var baoxue=game.hasPlayer(function(current){ - return player.canUse('gw_baoxueyaoshui',current)&&get.attitude(player,current)<0&&[2,3].contains(current.countCards('h'))&&!current.hasSkillTag('noh'); + return player.canUse('gw_baoxueyaoshui',current)&&get.attitude(player,current)<0&&[2,3].includes(current.countCards('h'))&&!current.hasSkillTag('noh'); }); var baoxue2=game.hasPlayer(function(current){ - return player.canUse('gw_baoxueyaoshui',current)&&get.attitude(player,current)<0&&[2].contains(current.countCards('h'))&&!current.hasSkillTag('noh'); + return player.canUse('gw_baoxueyaoshui',current)&&get.attitude(player,current)<0&&[2].includes(current.countCards('h'))&&!current.hasSkillTag('noh'); }); var baoxue3=game.hasPlayer(function(current){ return player.canUse('gw_baoxueyaoshui',current)&&get.attitude(player,current)<0&¤t.countCards('h')>=2&&!current.hasSkillTag('noh'); @@ -2112,7 +2112,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }).sortBySeat(); var enemies=player.getEnemies(); for(var i=0;i0&&event.parent.name=='phaseDraw'; diff --git a/card/huanlekapai.js b/card/huanlekapai.js index 3e2f653af..9249ea6e0 100644 --- a/card/huanlekapai.js +++ b/card/huanlekapai.js @@ -173,7 +173,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ forced:true, equipSkill:true, filter:function (event,player){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return event.card&&event.card.name=='sha'&&event.notLink()&&event.player.countCards('he')>0; }, content:function (){ @@ -201,7 +201,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ var skills=info[3]; for(var j=0;j0; + return !targets.includes(current)&&lib.filter.targetEnabled2(card,player,current)&&get.effect(current,card,player,player)>0; })) base+=5; } if(get.cardtag(card,'yingbian_damage')){ @@ -1110,7 +1110,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ modTarget:true, content:function(){ if(get.is.versus()){ - if(game.friend.contains(target)){ + if(game.friend.includes(target)){ if(game.friend.length0; + return !targets.includes(current)&&lib.filter.targetEnabled2(card,player,current)&&get.effect(current,card,player,player)>0; })) return 6; return 0; }, @@ -1812,7 +1812,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); }).set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.filterTarget.apply(this,arguments); }).set('sourcex',event.addedTarget).set('addCount',false).set('respondTo',[player,card]); } @@ -2149,7 +2149,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ skillTagFilter:function(player){ if(_status.qinglong_guozhan){ for(var i=0;i<_status.qinglong_guozhan.length;i++){ - if(_status.qinglong_guozhan[i].targets.contains(player)) return true; + if(_status.qinglong_guozhan[i].targets.includes(player)) return true; } } return false; @@ -2262,7 +2262,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ cardUsable:function(card,player,num){ var cards=player.getEquips('zhuge') if(card.name=='sha'){ - if(!cards.length||player.hasSkill('zhuge_skill',null,false)||cards.some(card=>(card!=_status.zhuge_temp&&!ui.selected.cards.contains(card)))){ + if(!cards.length||player.hasSkill('zhuge_skill',null,false)||cards.some(card=>(card!=_status.zhuge_temp&&!ui.selected.cards.includes(card)))){ if(get.is.versus()||get.is.changban()){ return num+3; } @@ -2273,7 +2273,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ cardEnabled2:function(card,player){ if(!_status.event.addCount_extra||player.hasSkill('zhuge_skill',null,false)) return; var cards=player.getEquips('zhuge'); - if(card&&cards.contains(card)){ + if(card&&cards.includes(card)){ try{ var cardz=get.card(); } @@ -2353,7 +2353,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }, charlotte:true, filter:function(event,player){ - return player.storage.qinggang2&&event.card&&player.storage.qinggang2.contains(event.card)&&(event.name!='damage'||event.notLink()); + return player.storage.qinggang2&&event.card&&player.storage.qinggang2.includes(event.card)&&(event.name!='damage'||event.notLink()); }, silent:true, forced:true, @@ -2380,7 +2380,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; if(!player.hasSkill('qinglong_skill',null,false)){ var cards=player.getEquips('qinglong'); - if(!cards.some(card2=>card2!=card&&!ui.selected.cards.contains(card2))) return false; + if(!cards.some(card2=>card2!=card&&!ui.selected.cards.includes(card2))) return false; } return lib.filter.filterCard.apply(this,arguments); },trigger.target,-1).set('addCount',false).logSkill='qinglong_skill'; @@ -2435,8 +2435,8 @@ game.import('card',function(lib,game,ui,get,ai,_status){ var next=player.chooseToDiscard(get.prompt('guanshi'),2,'he',function(card,player){ if(_status.event.ignoreCard) return true; var cards=player.getEquips('guanshi'); - if(!cards.contains(card)) return true; - return cards.some(cardx=>(cardx!=card&&!ui.selected.cards.contains(cardx))); + if(!cards.includes(card)) return true; + return cards.some(cardx=>(cardx!=card&&!ui.selected.cards.includes(cardx))); }).set('ignoreCard',player.hasSkill('guanshi_skill',null,false)).set('complexCard',true) next.logSkill='guanshi_skill'; next.set('ai',function(card){ @@ -2467,7 +2467,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(player._guanshi_temp) return; player._guanshi_temp=true; var bool=(get.attitude(player,arg.target)<0&&arg.card&&arg.card.name=='sha'&&player.countCards('he',function(card){ - return card!=player.getEquip('guanshi')&&card!=arg.card&&(!arg.card.cards||!arg.card.cards.contains(card))&&get.value(card)<5; + return card!=player.getEquip('guanshi')&&card!=arg.card&&(!arg.card.cards||!arg.card.cards.includes(card))&&get.value(card)<5; })>1); delete player._guanshi_temp; return bool; @@ -2518,7 +2518,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(get.mode()!='guozhan') return false; if(event.card.name!='sha') return false; return game.hasPlayer(function(target){ - if(event.targets.contains(target)) return false; + if(event.targets.includes(target)) return false; if(!lib.filter.filterTarget(event.card,player,target)) return false; if(target.identity=='ye'||target.identity=='unknown') return true; for(var i=0;i0; }, content:function(){ @@ -3641,7 +3641,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ trigger:{source:'damageEnd'}, forced:true, filter:function(event){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return event.card&&event.card.name=='sha'&&event.player.countCards('he'); }, content:function(){ @@ -3803,7 +3803,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return get.attitude(player,event.player)<=0; }, filter:function(event){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return event.card&&event.card.name=='sha'&&event.player&&event.player.isAlive(); }, logTarget:'player', @@ -4264,7 +4264,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ switch(get.type(hs[i])){ case 'equip':types.add(get.subtype(hs[i]));break; case 'hslingjian':lingjians.add(hs[i].name);break; - case 'jiqi':if(!lingjians.contains(hs[i].name)) lingjians.unshift(hs[i].name);break; + case 'jiqi':if(!lingjians.includes(hs[i].name)) lingjians.unshift(hs[i].name);break; } } var str=''; @@ -4305,7 +4305,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ filterCard:function(card){ var type=get.type(card); if(type=='equip'){ - if(!lib.inpile.contains(card.name)) return false; + if(!lib.inpile.includes(card.name)) return false; if(lib.card[card.name].nopower) return false; if(lib.card[card.name].unique) return false; if(card.nopower) return false; @@ -4329,7 +4329,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(!player.countCards('h',{type:['hslingjian','jiqi']})) return false; var es=player.getCards('he',{type:'equip'}); for(var i=0;i0; + return !targets.includes(current)&&lib.filter.targetEnabled2(card,player,current)&&get.effect(current,card,player,player)>0; })) base+=5; } if(get.cardtag(card,'yingbian_hit')){ @@ -179,7 +179,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ yingbian:function(card,player,targets,viewer){ if(get.attitude(viewer,player)<=0) return 0; if(game.hasPlayer(function(current){ - return !targets.contains(current)&&lib.filter.targetEnabled2(card,player,current)&&get.effect(current,card,player,player)>0; + return !targets.includes(current)&&lib.filter.targetEnabled2(card,player,current)&&get.effect(current,card,player,player)>0; })) return 6; return 0; }, @@ -545,7 +545,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); })){ return true; } @@ -557,7 +557,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(trigger.yingbian_addTarget) player.chooseTarget('应变:是否为'+get.translation(trigger.card)+'增加一个目标?',function(card,player,target){ var trigger=_status.event.getTrigger(); var card=trigger.card; - return !trigger.targets.contains(target)&&lib.filter.targetEnabled2(card,player,target)&&lib.filter.targetInRange(card,player,target); + return !trigger.targets.includes(target)&&lib.filter.targetEnabled2(card,player,target)&&lib.filter.targetInRange(card,player,target); }).set('ai',function(target){ var player=_status.event.player; var card=_status.event.getTrigger().card; @@ -574,7 +574,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ 'step 2' if(trigger.yingbian_removeTarget&&trigger.targets.length>1) player.chooseTarget('应变:是否为'+get.translation(trigger.card)+'减少一个目标?',function(card,player,target){ var trigger=_status.event.getTrigger(); - return trigger.targets.contains(target); + return trigger.targets.includes(target); }).set('ai',function(target){ var player=_status.event.player; var card=_status.event.getTrigger().card; diff --git a/card/yongjian.js b/card/yongjian.js index b199e2ada..d6529af5d 100644 --- a/card/yongjian.js +++ b/card/yongjian.js @@ -162,11 +162,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){ ai:{ order:9, value:function(card,player){ - if(player.getEquips(1).contains(card)) return 0.4; + if(player.getEquips(1).includes(card)) return 0.4; return 4; }, equipValue:function(card,player){ - if(player.getCards('e').contains(card)) return 0.4; + if(player.getCards('e').includes(card)) return 0.4; return -get.value(player.getCards('e')); }, basic:{ @@ -196,7 +196,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return 2; }, value:function(card,player){ - if(player.getEquips(1).contains(card)) return -3; + if(player.getEquips(1).includes(card)) return -3; return 3; }, basic:{ @@ -233,7 +233,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return 2; }, value:function(card,player){ - if(player.getEquips(2).contains(card)){ + if(player.getEquips(2).includes(card)){ if(player.hasSex('male')) return -8; return 0; } @@ -270,7 +270,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return 1; }, value:function(card,player){ - if(player.getEquips(2).contains(card)) return -10; + if(player.getEquips(2).includes(card)) return -10; return 2.5; }, basic:{ @@ -304,7 +304,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ order:9, equipValue:0, value:function(card,player){ - if(player.getEquips(2).contains(card)) return 0; + if(player.getEquips(2).includes(card)) return 0; return 0.5; }, basic:{ @@ -529,14 +529,14 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(!player._start_cards) return false; var hs=player.getCards('h'); for(var card of player._start_cards){ - if(get.name(card,player)=='du'&&hs.contains(card)) return true; + if(get.name(card,player)=='du'&&hs.includes(card)) return true; } } else{ if(event.getParent().name!='draw') return false; var hs=player.getCards('h'); for(var card of event.cards){ - if(get.name(card,player)=='du'&&hs.contains(card)) return true; + if(get.name(card,player)=='du'&&hs.includes(card)) return true; } } return false; @@ -546,12 +546,12 @@ game.import('card',function(lib,game,ui,get,ai,_status){ var hs=player.getCards('h'); if(trigger.name=='phase'){ event.cards=player._start_cards.filter(function(card){ - return (get.name(card,player)=='du'&&hs.contains(card)); + return (get.name(card,player)=='du'&&hs.includes(card)); }); } else{ event.cards=trigger.cards.filter(function(card){ - return (get.name(card,player)=='du'&&hs.contains(card)); + return (get.name(card,player)=='du'&&hs.includes(card)); }); } if(_status.connectMode) game.broadcastAll(function(){_status.noclearcountdown=true}); @@ -559,7 +559,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ 'step 1' player.chooseCardTarget({ filterCard:function(card){ - return _status.event.cards.contains(card); + return _status.event.cards.includes(card); }, filterTarget:lib.filter.notMe, selectCard:[1,cards.length], diff --git a/card/yunchou.js b/card/yunchou.js index c4713cb59..8c5c5b0b2 100644 --- a/card/yunchou.js +++ b/card/yunchou.js @@ -653,7 +653,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ player.chooseCardButton('偷梁换柱',target.getCards('h')).ai=function(button){ var val=get.value(button.link,player,'raw')-minval; if(val>=0){ - if(colors.contains(get.color(button.link))){ + if(colors.includes(get.color(button.link))){ val+=3; } } @@ -872,7 +872,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ trigger:{target:'shaBefore'}, direct:true, filter:function(event,player){ - return !event.getParent().directHit.contains(player)&&player.hasUsableCard('youdishenru'); + return !event.getParent().directHit.includes(player)&&player.hasUsableCard('youdishenru'); }, content:function(){ event.youdiinfo={ @@ -892,7 +892,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(event.player==player) return false; if(!event.player.countCards('he')) return false; if(!lib.filter.targetEnabled({name:'chenhuodajie'},player,event.player)) return false; - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return player.hasUsableCard('chenhuodajie'); }, content:function(){ diff --git a/card/zhulu.js b/card/zhulu.js index b86e02e1e..2105ae27f 100644 --- a/card/zhulu.js +++ b/card/zhulu.js @@ -45,7 +45,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ var cards=[]; for(var i=0;iget.value(card); return 6>get.value(card); }); if(!num) return 0; if(player.countCards('he',function(card){ - if(cards.contains(card)) return false; + if(cards.includes(card)) return false; if(get.type(card)=='equip') return 4>get.value(card); return false; })) return 1.6; @@ -335,11 +335,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){ ai:{ order:9, value:function(card,player){ - if(player.getEquips(4).contains(card)) return 0; + if(player.getEquips(4).includes(card)) return 0; return 4; }, equipValue:function(card,player){ - if(player.getCards('e').contains(card)) return 0; + if(player.getCards('e').includes(card)) return 0; return -get.value(player.getCards('e')); }, basic:{ @@ -370,7 +370,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(player.hasSkill(skills[i])) return 5; } if(player.countCards('h',function(card){ - return get.color(card)=='black'&&['wuxie','caochuan'].contains(card); + return get.color(card)=='black'&&['wuxie','caochuan'].includes(card); })) return 5; return 2; }, @@ -397,7 +397,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return 2; }, value:function(card,player){ - if(player.getEquips(1).contains(card)){ + if(player.getEquips(1).includes(card)){ if(player.hasSkillTag('noh')) return 0; return -3.5; } @@ -439,7 +439,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return 2; }, value:function(card,player){ - if(player.getEquips(1).contains(card)) return -3.5; + if(player.getEquips(1).includes(card)) return -3.5; return 3; }, basic:{ @@ -478,7 +478,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return 1; }, value:function(card,player){ - if(player.getEquips(2).contains(card)) return -9; + if(player.getEquips(2).includes(card)) return -9; return 2.5; }, basic:{ @@ -535,7 +535,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ ai:{ order:9.5, equipValue:function(card,player){ - if(player.getEquips(2).contains(card)){ + if(player.getEquips(2).includes(card)){ if(player.sex!='male') return 0; var num=player.countCards('he',function(cardx){ return cardx!=card; @@ -651,7 +651,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ ai:{ order:9.5, equipValue:function(card,player){ - if(!player.getEquips(5).contains(card)) return 5; + if(!player.getEquips(5).includes(card)) return 5; if(_status.jinhe&&_status.jinhe[card.cardid]&&_status.event.name!='gainPlayerCard') return 3*player.countCards('h'); return 0; }, @@ -817,13 +817,13 @@ game.import('card',function(lib,game,ui,get,ai,_status){ if(event.card.name!='sha') return false; var cards=player.getEquips('wufengjian'); return player.hasCard(function(card){ - return !cards.contains(card); + return !cards.includes(card); },'he'); }, content:function(){ if(player!=game.me&&!player.isUnderControl()&&!player.isOnline()) game.delayx(); player.chooseToDiscard(true,'he',function(card){ - return !_status.event.cards.contains(card); + return !_status.event.cards.includes(card); }).set('cards',player.getEquips('wufengjian')); }, }, @@ -847,7 +847,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ forced:true, priority:6, filter:function(event,player){ - if(event.directHit||!get.tag(event.card,'damage')||!['basic','trick'].contains(get.type(event.card))) return false; + if(event.directHit||!get.tag(event.card,'damage')||!['basic','trick'].includes(get.type(event.card))) return false; return player.hasUsableCard('caochuan'); }, content:function(){ diff --git a/character/clan.js b/character/clan.js index f6f58f610..1ff12f9c7 100644 --- a/character/clan.js +++ b/character/clan.js @@ -40,7 +40,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'useCardAfter'}, filter:function(event,player){ const storage=player.storage.clanbaichu||{}; - if(Object.values(storage).contains(event.card.name)) return true; + if(Object.values(storage).includes(event.card.name)) return true; const suit=get.suit(event.card); if(suit=='none') return false; if(!player.hasSkill('qice')) return true; @@ -87,7 +87,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.delayx(); } 'step 2' - if(Object.values(player.getStorage('clanbaichu')).contains(trigger.card.name)){ + if(Object.values(player.getStorage('clanbaichu')).includes(trigger.card.name)){ player.chooseDrawRecover(true); } }, @@ -194,8 +194,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' var list; - if(trigger.card.name=='sha') list=player.getStorage('clanqiuxin_effect').filter(listx=>trigger.targets.contains(listx[0])&&listx[1]==0); - if(get.type(trigger.card)=='trick') list=player.getStorage('clanqiuxin_effect').filter(listx=>trigger.targets.contains(listx[0])&&listx[1]==1); + if(trigger.card.name=='sha') list=player.getStorage('clanqiuxin_effect').filter(listx=>trigger.targets.includes(listx[0])&&listx[1]==0); + if(get.type(trigger.card)=='trick') list=player.getStorage('clanqiuxin_effect').filter(listx=>trigger.targets.includes(listx[0])&&listx[1]==1); player.unmarkAuto('clanqiuxin_effect',list); var targets=list.map(listx=>listx[0]); event.targets=targets; @@ -253,7 +253,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ num+=trigger.player.getHistory('useCard',evtx=>evtx.getParent(phase)==evt).length; } } - trigger.player.chooseCard('是否重铸任意张牌名字数为'+num+'的牌?',[1,Infinity],'he',(card,player)=>_status.event.cards.contains(card)&&player.canRecast(card)).set('ai',card=>{ + trigger.player.chooseCard('是否重铸任意张牌名字数为'+num+'的牌?',[1,Infinity],'he',(card,player)=>_status.event.cards.includes(card)&&player.canRecast(card)).set('ai',card=>{ var val=get.value(card); return 6-val; }).set('cards',trigger.player.getCards('he',card=>{ @@ -278,7 +278,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var num=get.cardNameLength(trigger.card); event.num=num; player.chooseTarget(get.prompt('clanjiejian'),'令一名目标角色摸'+get.cnNumber(num)+'张牌',function(card,player,target){ - return _status.event.getTrigger().targets.contains(target); + return _status.event.getTrigger().targets.includes(target); }).set('ai',target=>get.attitude(_status.event.player,target)); 'step 1' if(result.bool){ @@ -307,14 +307,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ check:function(event,player){ var num=get.cardNameLength(event.card); if(num>=player.getDamagedHp()) return true; - return player.getHistory('useSkill',evt=>evt.skill=='clanhuanghan').length&&player.hasSkill('clanbaozu',null,false,false)&&player.awakenedSkills.contains('clanbaozu'); + return player.getHistory('useSkill',evt=>evt.skill=='clanhuanghan').length&&player.hasSkill('clanbaozu',null,false,false)&&player.awakenedSkills.includes('clanbaozu'); }, content:function(){ 'step 0' player.draw(get.cardNameLength(trigger.card)); if(player.isDamaged()) player.chooseToDiscard(player.getDamagedHp(),'he',true); 'step 1' - if(player.getHistory('useSkill',evt=>evt.skill=='clanhuanghan').length>1&&player.hasSkill('clanbaozu',null,false,false)&&player.awakenedSkills.contains('clanbaozu')){ + if(player.getHistory('useSkill',evt=>evt.skill=='clanhuanghan').length>1&&player.hasSkill('clanbaozu',null,false,false)&&player.awakenedSkills.includes('clanbaozu')){ player.restoreSkill('clanbaozu'); player.popup('保族'); game.log(player,'恢复了技能','#【保族】'); @@ -356,7 +356,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.logSkill('clanyuzhi'); if(num2>0&&num1>num2) game.log(player,'的野心已开始膨胀','#y('+num1+'张>'+num2+'张)'); if(num1>num3) game.log(player,'的行动未达到野心','#y('+num3+'张<'+num1+'张)'); - if(player.hasSkill('clanbaozu',null,false,false)) player.chooseBool('迂志:是否失去〖保族〗?','若选择“否”,则你失去1点体力').set('choice',player.awakenedSkills.contains('clanbaozu')); + if(player.hasSkill('clanbaozu',null,false,false)) player.chooseBool('迂志:是否失去〖保族〗?','若选择“否”,则你失去1点体力').set('choice',player.awakenedSkills.includes('clanbaozu')); else event._result={bool:false}; } else event.goto(2); @@ -545,7 +545,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return evt.getParent().name!='clanfuxun'&&evt.getParent('phaseUse')==evtx&&evt.cards.length; })&&Math.abs(player.countCards('h')-current.countCards('h'))==2; }); - if(targets.contains(target)){ + if(targets.includes(target)){ if(player.countCards('h')_status.event.cards.contains(card)&&player.canRecast(card)).set('ai',card=>{ + trigger.player.chooseCard('是否重铸任意张牌名字数为'+num+'的牌?',[1,Infinity],'he',(card,player)=>_status.event.cards.includes(card)&&player.canRecast(card)).set('ai',card=>{ var val=get.value(card); return 6-val; }).set('cards',trigger.player.getCards('he',card=>{ @@ -736,7 +736,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.targets&&!info.multitarget){ return game.filterPlayer().some(current=>{ if(!current.hasSkill('clanmingjie_'+player.playerid)) return false; - return !event.targets.contains(current)&&lib.filter.targetEnabled2(card,player,current)&&lib.filter.targetInRange(card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(card,player,current)&&lib.filter.targetInRange(card,player,current); }); } return false; @@ -746,7 +746,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' player.chooseTarget(get.prompt('clanmingjie_effect'),'令任意【铭戒】目标角色成为'+get.translation(trigger.card)+'的目标',function(card,player,target){ var trigger=_status.event.getTrigger(); - if(trigger.targets.contains(target)||!target.isIn()||!target.hasSkill('clanmingjie_'+player.playerid)) return false; + if(trigger.targets.includes(target)||!target.isIn()||!target.hasSkill('clanmingjie_'+player.playerid)) return false; return lib.filter.targetEnabled2(trigger.card,player,target)&&lib.filter.targetInRange(trigger.card,player,target); },[1,Infinity]).set('ai',function(target){ var player=_status.event.player; @@ -963,7 +963,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var len=get.cardNameLength(evt.card); list.add(len); }); - if(!list.contains(count)) return count; + if(!list.includes(count)) return count; if(list.length) return list.randomGet(); return 4; }()); @@ -1145,7 +1145,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ result:{ target:function(player,target){ if(player.hasCard(card=>{ - return get.value(card)<5&&!['shan','tao','jiu','wuxie','caochuan'].contains(get.name(card)); + return get.value(card)<5&&!['shan','tao','jiu','wuxie','caochuan'].includes(get.name(card)); },'he')) return -1; return 0; }, @@ -1192,7 +1192,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player.storage[`temp_ban_${skill}`]){ delete player.storage[`temp_ban_${skill}`]; } - if(player.awakenedSkills.contains(skill)){ + if(player.awakenedSkills.includes(skill)){ player.restoreSkill(skill); resetSkills.add(skill); } @@ -1339,7 +1339,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'联诛:是否对'+get.translation(event.targetx)+'使用一张杀?').set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.targetEnabled.apply(this,arguments); }).set('sourcex',event.targetx).set('addCount',false); 'step 7' @@ -1460,7 +1460,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ locked:false, charlotte:true, filter:function(event,player){ - return player.getStorage('clanfangzhen_remove').contains(game.roundNumber); + return player.getStorage('clanfangzhen_remove').includes(game.roundNumber); }, content:function(){ player.removeSkill('clanfangzhen'); @@ -1605,7 +1605,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ popup:false, onremove:true, filter:function(event,player){ - return player.getStorage('clanlianhe_effect').contains(event.player); + return player.getStorage('clanlianhe_effect').includes(event.player); }, marktext:'连', intro:{content:'已选择目标:$'}, @@ -1723,7 +1723,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=choices.sort((a,b)=>a[1]-b[1])[0]; if(list[1]<2) return list[0]; else{ - if(_status.event.controls.contains('clanxumin')) return 'clanxumin'; + if(_status.event.controls.includes('clanxumin')) return 'clanxumin'; return list[0]; } }); @@ -1881,11 +1881,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var namex=name; if(nature&&nature.length){ namex+=nature; - if(names.contains(namex)) continue; + if(names.includes(namex)) continue; list.push([get.type(card),'',name,nature]); } else{ - if(names.contains(namex)) continue; + if(names.includes(namex)) continue; list.push([get.type(card),'',name]); } names.push(namex); @@ -2092,7 +2092,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, enable:'phaseUse', filter:function(event,player){ - return !player.isDisabledJudge()||player.countCards('h',card=>['sha','shan'].contains(get.name(card)))>0; + return !player.isDisabledJudge()||player.countCards('h',card=>['sha','shan'].includes(get.name(card)))>0; }, chooseButton:{ dialog:function(event,player){ @@ -2111,7 +2111,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ switch (button.link){ case 'damage': if(get.damageEffect(player,player,player,'fire')>=0) return 10; - if(player.hp>=Math.max(2,3-player.getFriends().length)&&game.countPlayer(current=>get.attitude(player,current)<0&¤t.countCards('h',card=>['sha','shan'].contains(get.name(card))))) return 0.8+Math.random(); + if(player.hp>=Math.max(2,3-player.getFriends().length)&&game.countPlayer(current=>get.attitude(player,current)<0&¤t.countCards('h',card=>['sha','shan'].includes(get.name(card))))) return 0.8+Math.random(); return 0; case 'shan': if(player.countCards('h','shan')==1) return 8+Math.random(); @@ -2142,10 +2142,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var eff=get.damageEffect(player,player,player,'fire'),disabled=!player.isDisabledJudge(); if((player.countCards('h','sha')==1||player.countCards('h','shan')==1)&&eff<0&&!disabled) return 8; else if(eff>=0&&!disabled) return 5.8; - if(!disabled&&!player.countCards('h',card=>['sha','shan'].contains(get.name(card)))){ + if(!disabled&&!player.countCards('h',card=>['sha','shan'].includes(get.name(card)))){ if((!player.hasSkill('clanhuanyin')||!player.canSave(player))&&player.hp<=1) return 0; if(player.canSave(player)&&player.hp==1&&player.countCards('h')<=1) return 2.6; - if(player.hpget.attitude(player,current)<0&¤t.countCards('h',card=>['sha','shan'].contains(get.name(card))))) return 0; + if(player.hpget.attitude(player,current)<0&¤t.countCards('h',card=>['sha','shan'].includes(get.name(card))))) return 0; } return 2.5; }, @@ -2178,7 +2178,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=_status.event.player,chosen=_status.event.getParent().choice,att=get.attitude(player,target); if(chosen=='damage'){ if(att>0) return 0; - return -att/2+target.countCards('h',card=>['sha','shan'].contains(get.name(card))); + return -att/2+target.countCards('h',card=>['sha','shan'].includes(get.name(card))); } return get.damageEffect(target,player,player,'fire'); }); @@ -2215,13 +2215,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ target.chooseControl(list).set('choiceList',choiceList).set('ai',()=>{ var controls=_status.event.controls.slice(),player=_status.event.player,user=_status.event.getParent().player; if(controls.length==1) return controls[0]; - if(controls.contains('选项一')&&get.damageEffect(player,user,player,'fire')>=0) return '选项一'; - if(controls.contains('选项一')&&player.hp<=2&&player.countCards('h',card=>['sha','shan'].contains(get.name(card)))<=3) controls.remove('选项一'); + if(controls.includes('选项一')&&get.damageEffect(player,user,player,'fire')>=0) return '选项一'; + if(controls.includes('选项一')&&player.hp<=2&&player.countCards('h',card=>['sha','shan'].includes(get.name(card)))<=3) controls.remove('选项一'); if(controls.length==1) return controls[0]; if(player.getCards('h','sha').reduce((p,c)=>p+get.value(c,player),0)>player.getCards('h','sha').reduce((p,c)=>p+get.value(c,player),0)){ - if(controls.contains('选项三')) return '选项三'; + if(controls.includes('选项三')) return '选项三'; } - else if(controls.contains('选项二')) return '选项二'; + else if(controls.includes('选项二')) return '选项二'; return controls.randomGet(); }); } else event.finish(); @@ -2243,7 +2243,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'useCardAfter'}, forced:true, filter:function(event,player){ - if(!lib.suit.contains(get.suit(event.card))) return false; + if(!lib.suit.includes(get.suit(event.card))) return false; var card=event.card,suit=get.suit(card); for(var i=player.actionHistory.length-1; i>=0; i--){ var history=player.actionHistory[i].useCard; diff --git a/character/collab.js b/character/collab.js index 72983f488..8dbdc2285 100644 --- a/character/collab.js +++ b/character/collab.js @@ -222,7 +222,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ lose:false, delay:false, filterTarget:function(card,player,target){ - if(player.getStorage('dcrende_targeted').contains(target)) return false; + if(player.getStorage('dcrende_targeted').includes(target)) return false; return player!=target&&target.countGainableCards(player,'h')>1; }, content:function(){ @@ -337,7 +337,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hs=player.getCards('h'); if(!hs.length) event.num=0; for(var i=0;i0) player.draw(num); } @@ -564,7 +564,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'useCardAfter'}, frequent:true, filter:function(event,player){ - if(player.getStorage('dcwudao_effect').contains(get.type2(event.card,false))) return false; + if(player.getStorage('dcwudao_effect').includes(get.type2(event.card,false))) return false; var history=player.getHistory('useCard'),index=history.indexOf(event); if(index<1) return false; var evt=history[index-1]; @@ -584,7 +584,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ popup:false, onremove:true, filter:function(event,player){ - return player.getStorage('dcwudao_effect').contains(get.type2(event.card,false)); + return player.getStorage('dcwudao_effect').includes(get.type2(event.card,false)); }, content:function(){ if(get.tag(trigger.card,'damage')>0) trigger.baseDamage++; @@ -594,7 +594,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ directHit_ai:true, skillTagFilter:function(player,tag,arg){ - if(arg&&arg.card&&player.getStorage('dcwudao_effect').contains(get.type2(arg.card))) return true; + if(arg&&arg.card&&player.getStorage('dcwudao_effect').includes(get.type2(arg.card))) return true; return false; }, }, @@ -1059,7 +1059,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ logTarget:'player', filter:function(event,player){ return player!=event.player&&!player.hasHistory('useSkill',function(evt){ - return evt.skill=='dccibei'&&evt.targets.contains(event.player); + return evt.skill=='dccibei'&&evt.targets.includes(event.player); }); }, check:function(event,player){ @@ -1093,25 +1093,25 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ canBeGained:function(card,source,player){ - if(player.getEquips('ruyijingubang').contains(card)) return false; + if(player.getEquips('ruyijingubang').includes(card)) return false; }, canBeDiscarded:function(card,source,player){ - if(player.getEquips('ruyijingubang').contains(card)) return false; + if(player.getEquips('ruyijingubang').includes(card)) return false; }, canBeReplaced:function(card,player){ - if(player.getEquips('ruyijingubang').contains(card)) return false; + if(player.getEquips('ruyijingubang').includes(card)) return false; }, cardname:function(card){ if(get.subtype(card,false)=='equip1') return 'sha'; }, cardnature:function(card){ - if(get.subtypes(card,false).contains('equip1')) return false; + if(get.subtypes(card,false).includes('equip1')) return false; }, cardDiscardable:function(card,player){ - if(player.getEquips('ruyijingubang').contains(card)) return false; + if(player.getEquips('ruyijingubang').includes(card)) return false; }, cardEnabled2:function(card,player){ - if(player.getEquips('ruyijingubang').contains(card)) return false; + if(player.getEquips('ruyijingubang').includes(card)) return false; }, }, group:'dcruyi_blocker', @@ -1120,16 +1120,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:['loseBefore','disableEquipBefore']}, forced:true, filter:function(event,player){ - if(event.name=='disableEquip') return (event.slots.contains('equip1')); + if(event.name=='disableEquip') return (event.slots.includes('equip1')); var cards=player.getEquips('ruyijingubang'); - return event.cards.some(card=>cards.contains(card)); + return event.cards.some(card=>cards.includes(card)); }, content:function(){ if(trigger.name=='lose'){ trigger.cards.removeArray(player.getEquips('ruyijingubang')); } else{ - while(trigger.slots.contains('equip1')) trigger.slots.remove('equip1'); + while(trigger.slots.includes('equip1')) trigger.slots.remove('equip1'); } }, }, @@ -1197,7 +1197,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.tag(card,'damage')>0&&player!=target){ if(player.getStat('skill').ruyijingubang_skill&&player.storage.ruyijingubang_skill!=1) return; if(player.hasSkill('dccibei')&&!player.hasHistory('useSkill',function(evt){ - return evt.skill=='dccibei'&&evt.targets.contains(target); + return evt.skill=='dccibei'&&evt.targets.includes(target); })){ return [1,3]; } @@ -1240,7 +1240,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(num!=4) return true; var card=event.card; if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(card,player,current)&&lib.filter.targetInRange(card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(card,player,current)&&lib.filter.targetInRange(card,player,current); })){ return true; } @@ -1251,7 +1251,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var num=player.storage.ruyijingubang_skill; if(num==4){ player.chooseTarget(get.prompt('ruyijingubang_effect'),'为'+get.translation(trigger.card)+'额外指定一个目标',function(card,player,target){ - return !_status.event.sourcex.contains(target)&&player.canUse(_status.event.card,target,false); + return !_status.event.sourcex.includes(target)&&player.canUse(_status.event.card,target,false); }).set('sourcex',trigger.targets).set('ai',function(target){ var player=_status.event.player; return get.effect(target,_status.event.card,player,player); @@ -1514,7 +1514,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'密信:对'+get.translation(targets[1])+'使用一张【杀】,或令其观看并获得你的一张手牌').set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.targetEnabled.apply(this,arguments); }).set('sourcex',targets[1]); 'step 2' diff --git a/character/ddd.js b/character/ddd.js index fce068fcd..205cc432f 100644 --- a/character/ddd.js +++ b/character/ddd.js @@ -751,7 +751,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ result:{ player:function(player){ if(ui.selected.cards.length){ - var num=1+player.countCards('h',card=>!ui.selected.cards.contains(card)); + var num=1+player.countCards('h',card=>!ui.selected.cards.includes(card)); if(!game.hasPlayer(current=>{ return current!=player&¤t.countCards('h')>num; })||!game.hasPlayer(current=>{ @@ -877,7 +877,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return get.number(card,target)==min&&lib.filter.canBeGained(card,player,target); }),att=get.attitude(player,target) return Math.max.apply(Math,cards.map(card=>{ - if(target.getCards('j').contains(card)){ + if(target.getCards('j').includes(card)){ var efff=get.effect(target,{ name:card.viewAs||card.name, cards:[card], @@ -886,7 +886,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(efff==0) return 0; return 1.5*att; } - if(target.getCards('e').contains(card)){ + if(target.getCards('e').includes(card)){ var evalue=get.value(card,target); if(target.hasSkillTag('noe')){ if(evalue>=7){ @@ -933,7 +933,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var gives=cards.filter(card=>get.number(card,target)==max); if(gives.length<=1) event._result={bool:true,cards:gives}; else target.chooseCard('he',true,'选择给出一张点数最大的牌',function(card){ - return _status.event.cards.contains(card); + return _status.event.cards.includes(card); }).set('cards',gives); } else event.goto(7); @@ -961,7 +961,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return get.number(card,target)==min&&lib.filter.canBeGained(card,player,target); }),att=get.attitude(player,target) return Math.max.apply(Math,cards.map(card=>{ - if(target.getCards('j').contains(card)){ + if(target.getCards('j').includes(card)){ var efff=get.effect(target,{ name:card.viewAs||card.name, cards:[card], @@ -970,7 +970,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(efff==0) return 0; return 1.5*att; } - if(target.getCards('e').contains(card)){ + if(target.getCards('e').includes(card)){ var evalue=get.value(card,target); if(target.hasSkillTag('noe')){ if(evalue>=7){ @@ -993,7 +993,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ })),cards=target2.getCards('ej',card=>get.number(card,target2)==min); if(cards.length<=1) target.gain(cards,target2,'give','bySelf'); else target.gainPlayerCard(target2,'ej',true).set('filterButton',function(button){ - return _status.event.cards.contains(button.link); + return _status.event.cards.includes(button.link); }).set('cards',cards); } 'step 7' @@ -1202,13 +1202,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ charlotte:true, mod:{ cardEnabled:function(card,player){ - if(player.getStorage('dddbingjian_blocker').contains(card.name)) return false; + if(player.getStorage('dddbingjian_blocker').includes(card.name)) return false; }, cardRespondable:function(card,player){ - if(player.getStorage('dddbingjian_blocker').contains(card.name)) return false; + if(player.getStorage('dddbingjian_blocker').includes(card.name)) return false; }, cardSavable:function(card,player){ - if(player.getStorage('dddbingjian_blocker').contains(card.name)) return false; + if(player.getStorage('dddbingjian_blocker').includes(card.name)) return false; }, }, mark:true, @@ -1311,7 +1311,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' event.cards=trigger.remained.filterInD(); player.chooseTarget('仝御:令一名角色获得'+get.translation(event.cards),function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('targets',trigger.getParent().dddtongyu_targets).set('ai',function(target){ var att=get.attitude(_status.event.player,target); if(att<3) return 0; @@ -1369,7 +1369,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseControl(choices,'cancel2').set('prompt',get.prompt('dddzhilian')).set('prompt2',prompt2).set('ai',function(){ var player=_status.event.player; var targets=_status.event.getParent().targets.slice(0); - if(targets.contains(player)){ + if(targets.includes(player)){ targets.remove(player); if(get.attitude(player,targets[0])>0) return 0; if(targets[0].countCards('he')>0&&!targets[0].hasCard(card=>get.value(card,targets[0])<=0,'e')&&player.countCards('h','sha')>0) return 1; @@ -1391,7 +1391,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else{ for(var target of targets) target.chooseToDiscard('he',true); } - if(!targets.contains(player)) event.finish(); + if(!targets.includes(player)) event.finish(); } else event.finish(); 'step 2' @@ -1432,7 +1432,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.attitude(source,player)<=0) return -get.value(card); var name=get.name(card),color=get.color(card); if(name=='sha'||player.getUseValue(card)<=0||player.hasCard(card2=>{ - return card2!=card&&!ui.selected.cards.contains(card2)&&get.name(card2)==name; + return card2!=card&&!ui.selected.cards.includes(card2)&&get.name(card2)==name; })){ if(!ui.selected.cards.length&&color=='black') return 1+Math.random(); return Math.random(); @@ -1501,7 +1501,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.attitude(source,player)<=0) return -get.value(card); var name=get.name(card),color=get.color(card); if(name=='sha'||player.getUseValue(card)<=0||player.hasCard(card2=>{ - return card2!=card&&!ui.selected.cards.contains(card2)&&get.name(card2)==name; + return card2!=card&&!ui.selected.cards.includes(card2)&&get.name(card2)==name; })){ if(!ui.selected.cards.length&&color=='black') return 1+Math.random(); return Math.random(); @@ -1538,7 +1538,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ).set('colors',colors).set('ai',function(card){ var player=_status.event.player,target=_status.event.getParent().target; if(get.attitude(player,target)<0) return false; - if(!_status.event.colors.contains(get.color(card,player))) return 0; + if(!_status.event.colors.includes(get.color(card,player))) return 0; if(game.hasNature(card)) return 1.2; return 1; }) @@ -1817,7 +1817,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.card.name!='sha'||!player.isPhaseUsing()) return false; return game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current); }); }, content:function(){ @@ -1827,7 +1827,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ '为'+get.translation(trigger.card)+'增加任意个目标', function(card,player,target){ var event=_status.event.getTrigger(); - return !event.targets.contains(target)&&lib.filter.targetEnabled2(event.card,player,target); + return !event.targets.includes(target)&&lib.filter.targetEnabled2(event.card,player,target); }, [1,Infinity] ).set('ai',function(target){ @@ -1943,7 +1943,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' if(!event.cards) event.cards=[]; var cards=trigger.getd().filter(function(i){ - if(!event.cards.contains(i)&&get.position(i,true)=='d'&&get.color(i,false)=='black'&&get.type(i,null,true)=='basic'){ + if(!event.cards.includes(i)&&get.position(i,true)=='d'&&get.color(i,false)=='black'&&get.type(i,null,true)=='basic'){ var card=get.autoViewAs({name:'bingliang'},[i]); if(game.hasPlayer(function(current){ return current.canAddJudge(card); @@ -2421,7 +2421,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ cards:links, selectCard:-1, position:'x', - filterCard:(card)=>lib.skill['dddzhijie_backup'].cards.contains(card), + filterCard:(card)=>lib.skill['dddzhijie_backup'].cards.includes(card), popname:true, precontent:function(){ player.addTempSkill('dddzhijie_draw'); @@ -2527,7 +2527,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!source||source==player||!source.hasSkill('dddfusi')||source.countCards('h')==0||source.hasCard(function(card){ return !get.is.shownCard(card); },'h')) return; - if(player.getCards('h').contains(card)) return false; + if(player.getCards('h').includes(card)) return false; }, }, enable:"chooseToUse", @@ -2746,7 +2746,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var storage=player.getStorage('dddchashi'); if(!storage||!storage.length) return false; if(event.player!=storage[1]||!event.player.isIn()) return false; - // if(!player.getCards('he').contains(storage[0])||!storage[0].hasGaintag('dddchashi')) return false; + // if(!player.getCards('he').includes(storage[0])||!storage[0].hasGaintag('dddchashi')) return false; if(get.suit(event.card)!=get.suit(storage[0])&&get.type2(event.card)!=get.type2(storage[0])) return false; // var evt=event.getParent('phaseUse'); // if(evt.player) @@ -2941,7 +2941,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else event.finish(); 'step 2' - if(event.choices.contains('第一组')){ + if(event.choices.includes('第一组')){ var del=player.countCards('h')-player.getExpansions('dddmiaoxing_1').length; if(del>=0){ if(del!=0) player.addToExpansion(get.cards(del),player,'draw').gaintag.add('dddmiaoxing_1'); @@ -2959,7 +2959,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } 'step 4' player.markSkill('dddmiaoxing'); - if(event.choices.contains('第二组')){ + if(event.choices.includes('第二组')){ var del=player.countCards('h')-player.getExpansions('dddmiaoxing_2').length; if(del>=0){ if(del!=0) player.addToExpansion(get.cards(del),player,'draw').gaintag.add('dddmiaoxing_2'); @@ -3073,7 +3073,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' var cards=lib.inpile.filter(i=>{ - return get.type(i)=='trick'&&!player.getStorage('dddfenji').contains(i); + return get.type(i)=='trick'&&!player.getStorage('dddfenji').includes(i); }).map(i=>['锦囊','',i]); player.chooseButton([get.prompt('dddfenji'),[cards,'vcard']]).set('ai',button=>{ var evt=_status.event.getTrigger(); @@ -3146,8 +3146,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseTarget('侠横:对一名角色造成1点伤害',true).set('ai',target=>{ var player=_status.event.player,eff=get.damageEffect(target,player,player),targetx=_status.event.targetx; if(player.storage['dddxiaheng_del']) return eff; - var fix=player.getStorage('dddxiaheng').contains(target)?0.75:1; - if(target==player&&targetx!=player&&player.isHealthy()&&!player.getStorage('dddxiaheng').contains(player)&&player.hp>2) return 100; + var fix=player.getStorage('dddxiaheng').includes(target)?0.75:1; + if(target==player&&targetx!=player&&player.isHealthy()&&!player.getStorage('dddxiaheng').includes(player)&&player.hp>2) return 100; return eff*(player.hp==1||target==targetx?0.1:1)*fix; }).set('targetx',targets[0]); 'step 3' @@ -3161,7 +3161,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 4' if(player.storage['dddxiaheng_del']) event.finish(); else{ - if(!targets.contains(player)) player.loseMaxHp(); + if(!targets.includes(player)) player.loseMaxHp(); if(targets.length==1){ player.removeSkill('dddxiaheng'); game.log(player,'失去了技能','#g【侠横】'); @@ -3491,7 +3491,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var current=event.players.shift(); event.current=current; current.chooseTarget('是否视为对一名没赢的角色使用一张【杀】?',(card,player,target)=>{ - return player.canUse('sha',target,false)&&_status.event.targets.contains(target); + return player.canUse('sha',target,false)&&_status.event.targets.includes(target); }).set('ai',target=>{ return get.effect(target,{name:'sha'},get.player(),get.player()); }).set('targets',event.targets); @@ -3559,7 +3559,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } if(event.ai_targets.length){ for(var i=0;i{ return event.ai(b)-event.ai(a); @@ -3648,7 +3648,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.lose_list=lose_list; event.getNum=function(card){ for(var i of event.lose_list){ - if(i[1].contains&&i[1].contains(card)) return get.number(card,i[0]); + if(i[1].includes&&i[1].includes(card)) return get.number(card,i[0]); } return get.number(card,false); } @@ -3689,7 +3689,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.goto(9); } "step 8" - var key=event.players.contains(target)?'num1':'num2'; + var key=event.players.includes(target)?'num1':'num2'; event.result[key].push(event.num2); event.iwhile++; event.goto(7); @@ -3740,7 +3740,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.player=player; event._global_waiting=true; event.result=[]; - if(targets.contains(player)){ + if(targets.includes(player)){ if(event.fixedResult&&event.fixedResult[player.playerid]){ event.result[0]=player; event.result[1]=event.fixedResult[player.playerid]; @@ -3752,7 +3752,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseCardTarget({ targets:targets, filterTarget:function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }, selectCard:1, prompt:'是否于此次拼点加入其中一方?', @@ -3767,7 +3767,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }); } 'step 1' - if(targets.contains(player)){ + if(targets.includes(player)){ event.result[0]=player; event.result[1]=result.cards[0]; event.result[2]=result.skill; @@ -3909,7 +3909,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' var N=player.countMark('dddshichao')+1; player.chooseTarget('逝潮:选择一名手牌数第'+get.cnNumber(N)+'大的角色',true,(card,player,target)=>{ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('ai',target=>{ var zhu=get.zhu(player)||game.filterPlayer(i=>i.getSeatNum()==1)[0]; return Math.min(target.countCards('h')-player.countCards('h'),zhu.maxHp-player.countCards('h')); @@ -3947,7 +3947,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ up:{ trigger:{source:'damageBegin2'}, filter:function(event,player){ - return player.getStorage('dddshichao_up').contains(event.player); + return player.getStorage('dddshichao_up').includes(event.player); }, charlotte:true, check:function(event,player){ @@ -4138,7 +4138,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player.hasSkill('dddyouxue_old_acted',null,false,false)) return false; var seat=event.player.getSeatNum(); var next=event.player.next; - if(!game.players.contains(next)) next=game.findNext(next); + if(!game.players.includes(next)) next=game.findNext(next); var seat2=next.getSeatNum(); if(seat==seat2) return false; if(seatseat&&vseat<=seat2; @@ -4576,7 +4576,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(evt.name!='die'||evt.source!=event.player||event.player==player) return false; if(!player.hasZhuSkill('dddfuyi',event.player)) return false; var skills=player.getSkills('dddxiaoxing',null,false,false); - return !skills.contains('dddxiaoxing')||!skills.contains('dddlangzhi'); + return !skills.includes('dddxiaoxing')||!skills.includes('dddlangzhi'); }, direct:true, global:'dddfuyi_sha', @@ -4613,7 +4613,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' var str='取消此次奖惩,令其获得'; var skills=player.getSkills('dddxiaoxing',null,false,false); - var bool1=!skills.contains('dddxiaoxing'),bool2=!skills.contains('dddlangzhi'); + var bool1=!skills.includes('dddxiaoxing'),bool2=!skills.includes('dddlangzhi'); var choices=[]; if(bool1) { str+='〖枭行〗'; @@ -4631,8 +4631,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ choices.push('cancel2'); trigger.player.chooseControl(choices).set('prompt','是否对'+get.translation(player)+'发动【附义】?').set('prompt2',str).set('ai',()=>{ if(get.attitude(_status.event.player,_status.event.getParent().player)<=2) return 'cancel2'; - if(_status.event.choices.contains('dddfuyi_both')) return 'dddfuyi_both'; - if(_status.event.choices.contains('dddlangzhi')) return 'dddlangzhi'; + if(_status.event.choices.includes('dddfuyi_both')) return 'dddfuyi_both'; + if(_status.event.choices.includes('dddlangzhi')) return 'dddlangzhi'; return Math.random()<0.5?'dddxiaoxing':'cancel2'; }); 'step 1' @@ -4701,7 +4701,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:'dddzhuanshe', trigger:{global:'useCard2'}, filter:function(event,player){ - if(!player.getStorage('dddzhuanshe_effect').contains(event.card.name)) return false; + if(!player.getStorage('dddzhuanshe_effect').includes(event.card.name)) return false; if(event.player!=_status.currentPhase) return false; var type=get.type(event.card,null,false); if(type!='basic'&&type!='trick') return false; @@ -4709,7 +4709,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,event.player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,event.player,current); })){ return true; } @@ -4725,7 +4725,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'增加一个目标' player.chooseTarget(get.prompt('dddzhuanshe_effect'),function(card,player,target){ var player=_status.event.source; - return !_status.event.targets.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); + return !_status.event.targets.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.source; @@ -5024,7 +5024,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=[],cards=player.getCards('h'); for(var i of cards){ var suit=get.suit(i,player); - if(!lib.suit.contains(suit)) continue; + if(!lib.suit.includes(suit)) continue; list.add(suit); } if(player.storage['dddlanghuai']){ @@ -5043,7 +5043,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=[],cards=player.getCards('h'); for(var i of cards){ var suit=get.suit(i,player); - if(!lib.suit.contains(suit)) continue; + if(!lib.suit.includes(suit)) continue; list.add(suit); } if(player.storage['dddlanghuai']){ @@ -5112,8 +5112,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else choiceList[1]=''+choiceList[1]+''; if(choices.length==1&&choices[0]=='选项一') event._result={control:'选项一'}; else player.chooseControl(choices).set('choiceList',choiceList).set('ai',()=>{ - if(!_status.event.controls.contains('选项一')) return 1; - if(!_status.event.controls.contains('选项二')) return 0; + if(!_status.event.controls.includes('选项一')) return 1; + if(!_status.event.controls.includes('选项二')) return 0; var player=_status.event.player; var num=0; for(var card of player.getCards('he')){ @@ -5185,7 +5185,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=top.addArray(bottom); player.$throw(cards.length,1000); player.lose(cards,ui.cardPile).set('top',top).insert_index=function(event,card){ - if(event.top.contains(card)) return ui.cardPile.firstChild; + if(event.top.includes(card)) return ui.cardPile.firstChild; return null; }; } diff --git a/character/diy.js b/character/diy.js index 2704a047f..4b582c4a5 100755 --- a/character/diy.js +++ b/character/diy.js @@ -587,7 +587,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, filterTarget:(card,player,target)=>{ return target!=player&&target.hasCard(card=>card.hasGaintag('visible_fuuko_xingdiao'),'h') - &&!target.getStorage('fuuko_xingdiao').contains(player)&&target.hasSkill('fuuko_xingdiao'); + &&!target.getStorage('fuuko_xingdiao').includes(player)&&target.hasSkill('fuuko_xingdiao'); }, selectTarget:()=>{ const num=game.countPlayer(current=>lib.skill.fuuko_xingdiao_gain.filterTarget(null,_status.event.player,current)); @@ -857,7 +857,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var i of nums){ if(i<11){ for(var j=1;j<5;j++){ - if(!nums.contains(i+j)) break; + if(!nums.includes(i+j)) break; if(j==4) _status.event._iriya_haozhi_type='单顺'; } } @@ -1049,7 +1049,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else{ if((numu.length-len)%2==0){ - if(numu.contains(num)||get.numOf(nums,num)<2) return 0; + if(numu.includes(num)||get.numOf(nums,num)<2) return 0; return 12-get.value(card); } else{ @@ -1272,7 +1272,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } 'step 2' player.chooseTarget('是否对一名目标角色造成1点火属性伤害?',function(card,player,target){ - return _status.event.getParent().targets.contains(target); + return _status.event.getParent().targets.includes(target); }).set('ai',function(target){ var player=_status.event.player; return get.damageEffect(target,player,player,'fire'); @@ -1338,12 +1338,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) event.finish(); if(trigger.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !trigger.targets.contains(current)&&lib.filter.targetEnabled2(card,player,current); + return !trigger.targets.includes(current)&&lib.filter.targetEnabled2(card,player,current); })){ var prompt2='为'+get.translation(card)+'增加'+(num>1?'至多':'')+get.cnNumber(num)+'个目标' player.chooseTarget(get.prompt('iriya_haozhi_extra'),[1,num],function(card,player,target){ var player=_status.event.player; - return !_status.event.targets.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); + return !_status.event.targets.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -1409,7 +1409,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ['use','选项四:亮出牌堆顶的一张牌,然后可以使用之'], ],'textbutton'] ],true).set('list',list).set('filterButton',function(button){ - return !_status.event.list.contains(button.link); + return !_status.event.list.includes(button.link); }).set('ai',function(button){ var player=_status.event.player,target=_status.event.getParent().target; switch(button.link){ @@ -1640,13 +1640,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ viewAsFilter:function(player){ var storage=player.getStorage('tomoyo_wuwei_mark'); return player.hasCard(function(card){ - return !storage.contains(get.suit(card)); + return !storage.includes(get.suit(card)); },'hs'); }, position:'hs', filterCard:function(card,player){ var storage=player.getStorage('tomoyo_wuwei_mark'); - return !storage.contains(get.suit(card)); + return !storage.includes(get.suit(card)); }, check:function(card){ return 5-get.value(card); @@ -2195,7 +2195,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ line:{color:[253, 153, 182]}, content:function(){ game.countPlayer(function(current){ - if(!targets.contains(current)){ + if(!targets.includes(current)){ current.removeSkill('seira_yinyuan'); } else{ @@ -2262,7 +2262,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(list.length>=4) return false; for(var i of lib.inpile){ var type=lib.skill.nsxingyun.getSixiang(i); - if(!type||list.contains(type)) continue; + if(!type||list.includes(type)) continue; if(event.filterCard({name:i},player,event)) return true; if(i=='sha'){ for(var j of lib.inpile_nature){ @@ -2278,7 +2278,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=player.getStorage('nsxingyun'); for(var i of lib.inpile){ var type=lib.skill.nsxingyun.getSixiang(i); - if(!type||list.contains(type)) continue; + if(!type||list.includes(type)) continue; if(event.filterCard({name:i},player,event)) map[type].push([get.type2(i,false),'',i]); if(i=='sha'){ for(var j of lib.inpile_nature){ @@ -2342,7 +2342,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ popup:false, filter:function(event,player){ return event.skill=='nsxingyun_backup'&&event.cards.length==1 - &&lib.skill.nsxingyun.getSixiang(event.card)!=lib.skill.nsxingyun.getSixiang(event.cards[0])&&!player.getStorage('nsxingyun').contains(lib.skill.nsxingyun.getSixiang(event.card)); + &&lib.skill.nsxingyun.getSixiang(event.card)!=lib.skill.nsxingyun.getSixiang(event.cards[0])&&!player.getStorage('nsxingyun').includes(lib.skill.nsxingyun.getSixiang(event.card)); }, content:function(){ 'step 0' @@ -2496,7 +2496,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var storage=player.getStorage('nsdingbian_ignore'); var goon=false; for(var i of lib.inpile){ - if(get.type(i)=='basic'&&!storage.contains(i)){ + if(get.type(i)=='basic'&&!storage.includes(i)){ goon=true; break; } @@ -2527,7 +2527,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else{ var list=[],storage=player.getStorage('nsdingbian_ignore'); for(var i of lib.inpile){ - if(get.type(i)=='basic'&&!storage.contains(i)){ + if(get.type(i)=='basic'&&!storage.includes(i)){ list.push(i); } } @@ -2551,12 +2551,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ mod:{ maxHandcard:(player,num)=>num-player.countMark('nsdingbian_mark'), ignoredHandcard:function(card,player){ - if(player.getStorage('nsdingbian_ignore').contains(get.name(card,player))){ + if(player.getStorage('nsdingbian_ignore').includes(get.name(card,player))){ return true; } }, cardDiscardable:function(card,player,name){ - if(name=='phaseDiscard'&&player.getStorage('nsdingbian_ignore').contains(get.name(card,player))){ + if(name=='phaseDiscard'&&player.getStorage('nsdingbian_ignore').includes(get.name(card,player))){ return false; } }, @@ -2680,7 +2680,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' var suit=get.suit(trigger.card),cards=trigger.cards.filterInD(); var str='弃置一张牌并视为使用一张【酒】'; - if(lib.suit.contains(suit)) str+=(';若弃置'+get.translation(suit)+'牌,则'+get.translation(trigger.card)+'对你无效'); + if(lib.suit.includes(suit)) str+=(';若弃置'+get.translation(suit)+'牌,则'+get.translation(trigger.card)+'对你无效'); if(cards.length) str+=(';若弃置♣牌则获得'+get.translation(cards)); str+='。'; var next=player.chooseToDiscard('he',get.prompt('nsshizui'),str); @@ -2704,7 +2704,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } 'step 2' var suit1=event.suit1,suit2=get.suit(trigger.card,false); - if(suit1==suit2&&lib.suit.contains(suit1)) trigger.excluded.add(player); + if(suit1==suit2&&lib.suit.includes(suit1)) trigger.excluded.add(player); if(suit1=='club'){ var cards=trigger.cards.filterInD(); if(cards.length>0) player.gain(cards,'gain2'); @@ -2962,13 +2962,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }); cards=cards.filter(function(card){ - return player.getCards('h').contains(card)&&game.checkMod(card,player,'unchanged','cardEnabled2',player); + return player.getCards('h').includes(card)&&game.checkMod(card,player,'unchanged','cardEnabled2',player); }); if(cards.length){ player.chooseCardTarget({ prompt:'是否将得到的牌当做【乐不思蜀】使用?', filterCard:function(card){ - return _status.event.cards.contains(card); + return _status.event.cards.includes(card); }, cards:cards, filterTarget:function(card,player,target){ @@ -3021,7 +3021,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'useCardToTarget'}, direct:true, filter:function(event,player){ - return player.getStorage('erika_yousheng').contains(event.target)&& + return player.getStorage('erika_yousheng').includes(event.target)&& (event.card.name=='sha'||(get.type2(event.card,false)=='trick'&&get.tag(event.card,'damage')>0))&& (player.countMark('erika_yousheng_ruka')+1)<=player.countCards('he'); }, @@ -3074,7 +3074,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'damageEnd'}, forced:true, filter:function(event,player){ - return player.getStorage('erika_yousheng').contains(event.player)&&event.card&&(event.card.name=='sha'||(get.type2(event.card,false)=='trick'&&get.tag(event.card,'damage')>0)); + return player.getStorage('erika_yousheng').includes(event.player)&&event.card&&(event.card.name=='sha'||(get.type2(event.card,false)=='trick'&&get.tag(event.card,'damage')>0)); }, content:function(){ player.awakenSkill('erika_yousheng'); @@ -3116,7 +3116,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget('是否令一名原目标角色获得'+get.translation(trigger.cards.filterInD())+'?',function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('targets',trigger['erika_yousheng_'+player.playerid]); 'step 1' if(result.bool){ @@ -3134,7 +3134,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.player==player||event.player!=_status.currentPhase) return false; var index=event.player.getHistory('useCard',function(evt){ - return evt.targets.contains(player); + return evt.targets.includes(player); }).indexOf(event.getParent()); if(index==2) return event.player.isIn()&&player.countCards('he')>0; return index<2&&index>-1; @@ -3143,7 +3143,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' var index=trigger.player.getHistory('useCard',function(evt){ - return evt.targets.contains(player); + return evt.targets.includes(player); }).indexOf(trigger.getParent()); if(index==2){ player.chooseCard('he',true,'三礼:交给'+get.translation(trigger.player)+'一张牌'); @@ -3394,12 +3394,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var card=player.storage.mia_qianmeng; if(event.name=='gain'){ var source=event.player,cards=event.getg(source); - return cards.contains(card)&&source.getCards('hejsx').contains(card); + return cards.includes(card)&&source.getCards('hejsx').includes(card); } else{ if(event.type!='gain') return false; var owner=get.owner(card); - return owner&&event.getg(owner).contains(card); + return owner&&event.getg(owner).includes(card); } }, skillAnimation:true, @@ -3512,9 +3512,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=['不可被响应','无视防具','伤害+1','不计入次数']; list.remove(player.storage.kyou_zhidian); player.chooseControl(list).set('prompt','掷典:请为'+get.translation(trigger.card)+'选择一种效果').set('choice',function(){ - if(list.contains('不计入次数')&&player.hasSha()) return '不计入次数'; - if(list.contains('不可被响应')&&trigger.target.mayHaveShan()) return '不可被响应'; - if(list.contains('伤害+1')) return '伤害+1'; + if(list.includes('不计入次数')&&player.hasSha()) return '不计入次数'; + if(list.includes('不可被响应')&&trigger.target.mayHaveShan()) return '不可被响应'; + if(list.includes('伤害+1')) return '伤害+1'; return list.randomGet(); }()).set('ai',()=>_status.event.choice); 'step 1' @@ -3637,7 +3637,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=[]; if(!player.storage.kotarou_rewrite) player.storage.kotarou_rewrite=[]; for(var i of lib.inpile){ - if(player.storage.kotarou_rewrite.contains(i)) continue; + if(player.storage.kotarou_rewrite.includes(i)) continue; var type=get.type(i); if((type=='basic'||type=='trick')) list.push([type,'',i]); if(i=='sha'){ @@ -3966,7 +3966,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }); }, filterTarget:function(card,kyouko,hina){ - if(kyouko==hina||kyouko.getStorage('kyouko_gongmian').contains(hina)) return false; + if(kyouko==hina||kyouko.getStorage('kyouko_gongmian').includes(hina)) return false; var hs=hina.countCards('he'); if(hs==0) return kyouko.countCards('h')==0; return true; @@ -4810,7 +4810,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.type!='trick'||info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(card,player,current); })){ return true; } @@ -4822,7 +4822,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'增加一个目标'; player.chooseTarget(get.prompt('chihaya_liewu'),function(card,player,target){ var player=_status.event.player; - return !_status.event.targets.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); + return !_status.event.targets.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -4981,9 +4981,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(evt.type=='phase') return player.getUseValue({name:name,nature:button.link[3],isCard:true}); return 1; } - if(!['chuqibuyi','shuiyanqijunx','juedou','nanman','wanjian','shunshou','zhujinqiyuan'].contains(name)) return 0; + if(!['chuqibuyi','shuiyanqijunx','juedou','nanman','wanjian','shunshou','zhujinqiyuan'].includes(name)) return 0; var card={name:name,isCard:true}; - if(['shunshou','zhujinqiyuan'].contains(card.name)){ + if(['shunshou','zhujinqiyuan'].includes(card.name)){ if(!game.hasPlayer(function(current){ return get.attitude(player,current)!=0&&get.distance(player,current)<=1&&player.canUse(card,current)&&get.effect(current,card,player,player)>0; })) return 0; @@ -5073,7 +5073,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.type!='trick'||info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(card,player,current); })){ return true; } @@ -5085,7 +5085,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'增加一个目标'; player.chooseTarget(get.prompt('rumi_shuwu'),function(card,player,target){ var player=_status.event.player; - return !_status.event.targets.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); + return !_status.event.targets.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -5164,7 +5164,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(card,player,current); })){ return true; } @@ -5183,7 +5183,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'增加一个目标'; player.chooseTarget(get.prompt('sakuya_junbu'),function(card,player,target){ var player=_status.event.player; - return !_status.event.targets.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); + return !_status.event.targets.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -5266,7 +5266,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }); var he=player.getCards('he'); cards=cards.filter(function(card){ - return he.contains(card); + return he.includes(card); }); if(cards.length) target.gain(cards,player,'giveAuto','bySelf'); } @@ -5394,7 +5394,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ check:function(card){ var evt=_status.event; if(!evt.shizuku_sizhi_choice) evt.shizuku_sizhi_choice=lib.skill.shizuku_sizhi.getResult(evt.player.getCards('he')); - if(!evt.shizuku_sizhi_choice.contains(card)) return 0; + if(!evt.shizuku_sizhi_choice.includes(card)) return 0; return 1; }, position:'he', @@ -5491,7 +5491,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return list; }()); next.set('ai',function(card){ - if(!_status.event.cardResult.contains(card)) return 0; + if(!_status.event.cardResult.includes(card)) return 0; return 6-get.value(card); }); 'step 2' @@ -5517,7 +5517,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=[]; while(cards.length<4){ var card=get.cardPile2(function(card){ - return !cards.contains(card)&&!names.contains(card.name)&&get.type(card)=='basic'; + return !cards.includes(card)&&!names.includes(card.name)&&get.type(card)=='basic'; }); if(card){ cards.push(card); @@ -5878,11 +5878,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } list2.push('cancel2'); player.chooseControl(list2).set('prompt','###是否发动【驭魔】?###弃置对应的标记并获得下列技能中的一个,或点取消,不获得技能').set('choice',function(){ - if(list2.contains('kotori_skill_shu')&&player.countCards('h',function(card){ + if(list2.includes('kotori_skill_shu')&&player.countCards('h',function(card){ return get.name(card,player)=='sha'&&player.getUseValue(card)>0; })>1) return 'kotori_skill_shu'; - if(list2.contains('kotori_skill_key')&&player.hp>1) return 'kotori_skill_key'; - if(list2.contains('kotori_skill_qun')&&player.isDamaged()&&player.needsToDiscard()>1) return 'kotori_skill_qun'; + if(list2.includes('kotori_skill_key')&&player.hp>1) return 'kotori_skill_key'; + if(list2.includes('kotori_skill_qun')&&player.isDamaged()&&player.needsToDiscard()>1) return 'kotori_skill_qun'; return 'cancel2'; }()).set('ai',function(){ return _status.event.choice; @@ -5999,7 +5999,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return hs.length>0&&player.getHistory('gain',function(evt){ if(evt.getParent().name!='draw'||evt.getParent('phaseDraw')!=event) return false; for(var i of evt.cards){ - if(hs.contains(i)) return true; + if(hs.includes(i)) return true; } return false; }).length>0; @@ -6009,7 +6009,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.getHistory('gain',function(evt){ if(evt.getParent().name!='draw'||evt.getParent('phaseDraw')!=event) return false; for(var i of evt.cards){ - if(hs.contains(i)){ + if(hs.includes(i)){ cards.add(i); suits.add(get.suit(i,player)); } @@ -6022,7 +6022,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.getHistory('gain',function(evt){ if(evt.getParent().name!='draw'||evt.getParent('phaseDraw')!=trigger) return false; for(var i of evt.cards){ - if(hs.contains(i)){ + if(hs.includes(i)){ cards.add(i); suits.add(get.suit(i,player)); } @@ -6071,7 +6071,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var bool=false; var list=['wei','shu','wu','qun','key','jin']; for(var i of list){ - if(player.hasMark('kotori_yumo_'+i)&&!player.getStorage('kotori_huazhan2').contains('kotori_yumo_'+i)){ + if(player.hasMark('kotori_yumo_'+i)&&!player.getStorage('kotori_huazhan2').includes('kotori_yumo_'+i)){ bool=true;break; } } @@ -6085,7 +6085,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=['wei','shu','wu','qun','key','jin']; var list2=[]; for(var i of list){ - if(player.hasMark('kotori_yumo_'+i)&&!player.getStorage('kotori_huazhan2').contains('kotori_yumo_'+i)) list2.push('kotori_yumo_'+i); + if(player.hasMark('kotori_yumo_'+i)&&!player.getStorage('kotori_huazhan2').includes('kotori_yumo_'+i)) list2.push('kotori_yumo_'+i); } list2.push('cancel2'); return list2; @@ -6095,13 +6095,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=['wei','shu','wu','qun','key','jin']; var list2=[]; for(var i of list){ - if(player.hasMark('kotori_yumo_'+i)&&!player.getStorage('kotori_huazhan2').contains('kotori_yumo_'+i)) list2.push('kotori_yumo_'+i); + if(player.hasMark('kotori_yumo_'+i)&&!player.getStorage('kotori_huazhan2').includes('kotori_yumo_'+i)) list2.push('kotori_yumo_'+i); } - if(list2.contains('kotori_yumo_wei')) return 'kotori_yumo_wei'; - if(list2.contains('kotori_yumo_wu')) return 'kotori_yumo_wu'; - if(list2.contains('kotori_yumo_qun')) return 'kotori_yumo_qun'; - if(list2.contains('kotori_yumo_key')) return 'kotori_yumo_key'; - if(list2.contains('kotori_yumo_shu')&&game.hasPlayer(function(current){ + if(list2.includes('kotori_yumo_wei')) return 'kotori_yumo_wei'; + if(list2.includes('kotori_yumo_wu')) return 'kotori_yumo_wu'; + if(list2.includes('kotori_yumo_qun')) return 'kotori_yumo_qun'; + if(list2.includes('kotori_yumo_key')) return 'kotori_yumo_key'; + if(list2.includes('kotori_yumo_shu')&&game.hasPlayer(function(current){ return current.group=='shu'; })) return 'kotori_yumo_shu'; return 'cancel2'; @@ -6224,7 +6224,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, trigger:{global:'phaseBeginStart'}, filter:function(event,player){ - return player!=event.player&&!event.player._trueMe&&!player.getStorage('yuu_lveduo').contains(event.player)&&!player.isTurnedOver()&&!player.hasSkill('yuu_lveduo4'); + return player!=event.player&&!event.player._trueMe&&!player.getStorage('yuu_lveduo').includes(event.player)&&!player.isTurnedOver()&&!player.hasSkill('yuu_lveduo4'); }, charlotte:true, check:function(event,player){ @@ -6450,7 +6450,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player.countCards('he',lib.skill.kaori_siyuan.filterCard); }, filterCard:function(card){ - return ['equip','delay'].contains(get.type(card,false)); + return ['equip','delay'].includes(get.type(card,false)); }, filterTarget:function(card,player,target){ if(player==target) return false; @@ -6504,7 +6504,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ locked:true, filter:function(event,player){ return event.player!=player&&event.player.getHistory('useCard',function(evt){ - return evt.isPhaseUsing()&&['basic','trick'].contains(get.type(evt.card))&&player.hasUseTarget({ + return evt.isPhaseUsing()&&['basic','trick'].includes(get.type(evt.card))&&player.hasUseTarget({ name:evt.card.name, nature:evt.card.nature, isCard:true, @@ -6515,7 +6515,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' var list=[]; trigger.player.getHistory('useCard',function(evt){ - if(!evt.isPhaseUsing()||!['basic','trick'].contains(get.type(evt.card))) return; + if(!evt.isPhaseUsing()||!['basic','trick'].includes(get.type(evt.card))) return; if(evt.card.name=='sha'&&evt.card.nature) list.add('sha:'+evt.card.nature); else list.add(evt.card.name); }); @@ -6577,7 +6577,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ canBeDiscarded:function(card){ - if(get.position(card)=='e'&&['equip1','equip5'].contains(get.subtype(card))) return false; + if(get.position(card)=='e'&&['equip1','equip5'].includes(get.subtype(card))) return false; }, }, }, @@ -6688,7 +6688,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ list2.addArray(lib.inpile); for(var i of list2){ var sub=get.subtype(i); - if(['equip1','equip4'].contains(sub)) list.push([sub,'',i]); + if(['equip1','equip4'].includes(sub)) list.push([sub,'',i]); } return ui.create.dialog('巧手:选择一种装备牌',[list,'vcard'],'hidden'); }, @@ -6819,7 +6819,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ list2.addArray(lib.inpile); for(var i of list2){ var sub=get.subtype(i); - if(['equip2','equip3'].contains(sub)) list.push([sub,'',i]); + if(['equip2','equip3'].includes(sub)) list.push([sub,'',i]); } player.chooseButton([get.prompt('kud_qiaoshou'),[list,'vcard']]).set('ai',function(button){ var player=_status.event.player; @@ -6903,7 +6903,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ character:true, filter:function(event,player){ if(event.name=='phaseZhunbei') return true; - if(['damage','recover'].contains(event.name)) return event.num>0; + if(['damage','recover'].includes(event.name)) return event.num>0; var num=player.countMark('misuzu_hengzhou'); if(event.name=='phaseDraw') return num>0&&!event.numFixed; return num>3; @@ -7174,7 +7174,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ nao_duyin:{ trigger:{global:'phaseBegin'}, filter:function(event,player){ - return event.player!=player&&(!player.storage.nao_duyin||!player.storage.nao_duyin.contains(event.player)); + return event.player!=player&&(!player.storage.nao_duyin||!player.storage.nao_duyin.includes(event.player)); }, logTarget:'player', charlotte:true, @@ -7203,10 +7203,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ targetEnabled:function(card,player,target){ - if(target.storage.nao_duyin2&&target.storage.nao_duyin2.contains(player)) return false; + if(target.storage.nao_duyin2&&target.storage.nao_duyin2.includes(player)) return false; }, targetInRange:function(card,player,target){ - if(player.storage.nao_duyin2&&player.storage.nao_duyin2.contains(target)) return true; + if(player.storage.nao_duyin2&&player.storage.nao_duyin2.includes(target)) return true; }, }, trigger:{player:'useCardEnd'}, @@ -7216,7 +7216,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(player.storage.nao_duyin2){ for(var i of player.storage.nao_duyin2){ - if(event.targets.contains(i)) return true; + if(event.targets.includes(i)) return true; } } return false; @@ -7243,7 +7243,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget(get.prompt2('nao_wanxin'),function(card,player,target){ - return _status.event.yuus.contains(target); + return _status.event.yuus.includes(target); }).set('yuus',game.filterPlayer(function(current){ return lib.skill.nao_wanxin.hasHistory(current); })).set('ai',function(target){ @@ -7533,7 +7533,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ usable:1, direct:true, filter:function(event,player){ - return Array.isArray(event.respondTo)&&event.respondTo[0]!=event.player&&[event.respondTo[0],event.player].contains(player); + return Array.isArray(event.respondTo)&&event.respondTo[0]!=event.player&&[event.respondTo[0],event.player].includes(player); }, content:function(){ 'step 0' @@ -7750,7 +7750,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hs=player.getCards('h'); if(!hs.length||lib.skill.kyoko_zhengyi.count(player)<4) event.num=0; else for(var i=0;i0; + return target!=player&&(!stat||!stat.includes(target))&&target.countGainableCards(player,'hej')>0; }, content:function(){ 'step 0' @@ -7886,7 +7886,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var num=player.maxHp-player.hp; player.recover(num); player.draw(num); - if(_status.characterlist&&_status.characterlist.contains('key_mio')){ + if(_status.characterlist&&_status.characterlist.includes('key_mio')){ player.reinit('key_midori','key_mio',false); _status.characterlist.remove('key_mio'); _status.characterlist.add('key_midori'); @@ -7922,7 +7922,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ direct:true, usable:1, filter:function(event,player){ - return Array.isArray(event.respondTo)&&event.respondTo[0]!=event.player&&[event.respondTo[0],event.player].contains(player); + return Array.isArray(event.respondTo)&&event.respondTo[0]!=event.player&&[event.respondTo[0],event.player].includes(player); }, content:function(){ 'step 0' @@ -8449,7 +8449,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(current==event.player||current==source) return false; var hs=event.getl(current).hs; for(var i of hs){ - if(cards.contains(i)) return true; + if(cards.includes(i)) return true; } return false; }); @@ -8461,7 +8461,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(current==event.player) return false; var cards=event.getg(current); for(var i of cards){ - if(hs.contains(i)) return true; + if(hs.includes(i)) return true; } }); } @@ -8483,7 +8483,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(current==trigger.player||current==source) return false; var hs=trigger.getl(current).hs; for(var i of hs){ - if(cards.contains(i)) return true; + if(cards.includes(i)) return true; } return false; })); @@ -8716,7 +8716,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'useCardAfter'}, direct:true, filter:function(event,player){ - return player!=event.player&&event.targets&&event.targets.contains(player)&&(_status.connectMode||player.hasSha()); + return player!=event.player&&event.targets&&event.targets.includes(player)&&(_status.connectMode||player.hasSha()); }, content:function(){ 'step 0' @@ -9439,7 +9439,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'phaseBegin'}, direct:true, filter:function(event,player){ - if(lib.skill.shiina_feiyan.animalList.contains(event.player.name)) return false; + if(lib.skill.shiina_feiyan.animalList.includes(event.player.name)) return false; return player.getExpansions('shiina_qingshen').length>0&&player.inRange(event.player); }, content:function(){ @@ -9761,7 +9761,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ target.chooseToUse({ cards:cards, filterCard:function(card){ - if(get.itemtype(card)!='card'||!_status.event.cards||!_status.event.cards.contains(card)) return false; + if(get.itemtype(card)!='card'||!_status.event.cards||!_status.event.cards.includes(card)) return false; return lib.filter.filterCard.apply(this,arguments); }, prompt:'是否使用得到的牌中的一张?', @@ -9797,7 +9797,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ check:function(button){ var player=_status.event.player; if(player.countCards('h',button.link[2])>0) return 0; - if(['wugu','zhulu_card'].contains(button.link[2])) return 0; + if(['wugu','zhulu_card'].includes(button.link[2])) return 0; var effect=player.getUseValue(button.link[2]); if(effect>0) return effect; return 0; @@ -9890,7 +9890,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' player.chooseCard('he',[1,player.countCards('he')],get.prompt2('tsumugi_huilang')).set('ai',function(card){ if(get.position(card)!='h') return -1; - if(!['shan','wuxie','caochuan'].contains(get.name(card))) return 9; + if(!['shan','wuxie','caochuan'].includes(get.name(card))) return 9; return 5-get.value(card); }); 'step 1' @@ -10125,7 +10125,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ var list=['equip1','equip2','equip3','equip4','equip5']; for(var i=0;i0 })) return 'equip1'; - if(list.contains('equip3')&&player.hasEmptySlot('equip3')) return 'equip3'; - if(list.contains('equip4')&&player.hasEmptySlot('equip4')) return 'equip4'; - if(list.contains('equip5')&&player.hasEmptySlot('equip5')) return 'equip5'; - if(list.contains('equip2')&&player.hasEmptySlot('equip2')) return 'equip2'; + if(list.includes('equip3')&&player.hasEmptySlot('equip3')) return 'equip3'; + if(list.includes('equip4')&&player.hasEmptySlot('equip4')) return 'equip4'; + if(list.includes('equip5')&&player.hasEmptySlot('equip5')) return 'equip5'; + if(list.includes('equip2')&&player.hasEmptySlot('equip2')) return 'equip2'; return list.randomGet(); }; 'step 1' @@ -10565,7 +10565,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ popup:false, charlotte:true, filter:function(event,player){ - return player.storage.yukine_magic&&player.storage.yukine_magic.contains(event.card.name); + return player.storage.yukine_magic&&player.storage.yukine_magic.includes(event.card.name); }, content:function(){ trigger.directHit.addArray(game.filterPlayer(function(current){ @@ -10580,7 +10580,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ directHit_ai:true, skillTagFilter:function(player,tag,arg){ - return player.storage.yukine_magic&&player.storage.yukine_magic.contains(arg.card.name); + return player.storage.yukine_magic&&player.storage.yukine_magic.includes(arg.card.name); }, }, }, @@ -10594,7 +10594,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(name=='useCardToTarget'&&player==event.player) return false; if(get.color(event.card)!='red') return false; if(get.tag(event.card,'damage')) return false; - return ['basic','trick'].contains(get.type(event.card)); + return ['basic','trick'].includes(get.type(event.card)); }, content:function(){ 'step 0' @@ -10603,12 +10603,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.multitarget||info.allowMultiple===false) bool=false; else{ var list=game.filterPlayer(function(current){ - return !trigger.targets.contains(current)&&lib.filter.targetEnabled2(trigger.card,trigger.player,current); + return !trigger.targets.includes(current)&&lib.filter.targetEnabled2(trigger.card,trigger.player,current); }) if(!list.length) bool=false; } if(bool) player.chooseTarget('甜口:为'+get.translation(trigger.card)+'增加一个额外目标,或点【取消】摸一张牌。',function(candy,komari,rin){ - return _status.event.rin_chan.contains(rin); + return _status.event.rin_chan.includes(rin); }).set('rin_chan',list).set('ai',function(target){ var evt=_status.event; return get.effect(target,evt.candy,evt.source,evt.player); @@ -10895,7 +10895,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' player.give(cards,target); 'step 1' - if(!target.getCards('h').contains(cards[0])) event._result={bool:false}; + if(!target.getCards('h').includes(cards[0])) event._result={bool:false}; else target.chooseUseTarget(cards[0],game.filterPlayer(function(current){ return current!=player; }),'请使用得到的牌,或者跳过下回合的判定阶段和摸牌阶段'); @@ -10969,8 +10969,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.awakenSkill('yuri_wangxi'); var identity='zhong'; if(_status.mode=='purple'){ - if(['rNei','bNei'].contains(player.identity)) identity=player.identity; - else if(['rZhu','rZhong','bNei'].contains(player.identity)) identity='rZhong'; + if(['rNei','bNei'].includes(player.identity)) identity=player.identity; + else if(['rZhu','rZhong','bNei'].includes(player.identity)) identity='rZhong'; else identity='bZhong'; } game.broadcastAll(function(source,identity){ @@ -11188,14 +11188,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var stat=player.getStat(); if(!stat.noname_zhuyuan) return true; return game.hasPlayer(function(current){ - return current!=player&&!stat.noname_zhuyuan.contains(current); + return current!=player&&!stat.noname_zhuyuan.includes(current); }); }, filterTarget:function(card,player,target){ if(player==target) return false; var stat=player.getStat(); if(!stat.noname_zhuyuan) return true; - return !stat.noname_zhuyuan.contains(target); + return !stat.noname_zhuyuan.includes(target); }, discard:false, lose:false, @@ -11311,7 +11311,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, hiddenSkill:true, filter:function(event,player){ - return event.toShow&&event.toShow.contains('ns_yanghu')&&player!=_status.currentPhase; + return event.toShow&&event.toShow.includes('ns_yanghu')&&player!=_status.currentPhase; }, content:function(){ player.addTempSkill('nsbizhao2',{player:'phaseBeginStart'}); @@ -11437,7 +11437,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.finish(); } 'step 1' - if(target.getCards('h').contains(cards[0])&&target.hasUseTarget(cards[0])) target.chooseUseTarget(cards[0]); + if(target.getCards('h').includes(cards[0])&&target.hasUseTarget(cards[0])) target.chooseUseTarget(cards[0]); }, ai:{ order:7, @@ -12073,9 +12073,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(list.length){ player.chooseControl(list).set('prompt','选择废除'+get.translation(trigger.source)+'的一种装备栏').set('ai',function(){ var target=_status.event.getTrigger().source; - if(list.contains('equip6')&&target.getEquip('equip3')&&target.getEquip('equip4')) return 'equip6'; - if(list.contains('equip2')&&target.getEquip(2)&&get.value(target.getEquip(2),target)>0) return 'equip2'; - if(list.contains('equip5')&&target.getEquip(5)&&get.value(target.getEquip(5),target)>0) return 'equip5'; + if(list.includes('equip6')&&target.getEquip('equip3')&&target.getEquip('equip4')) return 'equip6'; + if(list.includes('equip2')&&target.getEquip(2)&&get.value(target.getEquip(2),target)>0) return 'equip2'; + if(list.includes('equip5')&&target.getEquip(5)&&get.value(target.getEquip(5),target)>0) return 'equip5'; return 0; }); } @@ -12086,7 +12086,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger.source.disableEquip(3,4); } 'step 2' - if(player.awakenedSkills.contains('nsxingchu')){ + if(player.awakenedSkills.includes('nsxingchu')){ var next=game.createEvent('nsxianhai_clear'); event.next.remove(next); event.getParent('phase').after.push(next); @@ -12133,7 +12133,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'judgeEnd'}, forced:true, filter:function(event,player){ - return _status.currentPhase&&_status.currentPhase.isIn()&&(!player.storage.nsshengyan2||!player.storage.nsshengyan2.contains(event.result.suit)); + return _status.currentPhase&&_status.currentPhase.isIn()&&(!player.storage.nsshengyan2||!player.storage.nsshengyan2.includes(event.result.suit)); }, logTarget:function(){ return _status.currentPhase; @@ -12332,7 +12332,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return '移去一张“威”并获得'+get.translation(event.cards.filterInD()); }, check:function(event,player){ - if(['equip','delay'].contains(get.type(event.card))) return get.attitude(player,event.player)<0; + if(['equip','delay'].includes(get.type(event.card))) return get.attitude(player,event.player)<0; return get.value(event.cards.filterInD())>0; }, logTarget:'player', @@ -12500,7 +12500,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:'wangxi', trigger:{player:'damageEnd',source:'damageSource'}, filter:function(event){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return event.num&&event.source&&event.player&& event.player.isIn()&&event.source.isIn()&&event.source!=event.player; }, @@ -12589,7 +12589,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(type=='trick'||type=='delay') return true; }, canBeDiscarded:function(card){ - if(get.position(card)=='e'&&!['equip3','equip4','equip6'].contains(get.subtype(card))) return false; + if(get.position(card)=='e'&&!['equip3','equip4','equip6'].includes(get.subtype(card))) return false; }, }, }, @@ -12614,14 +12614,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.give(cards,target); if(event.num>1) player.recover(); 'step 1' - if(player.countCards('h')>0&&game.hasPlayer(current=>(current!=player&&!targets.contains(current)))){ + if(player.countCards('h')>0&&game.hasPlayer(current=>(current!=player&&!targets.includes(current)))){ player.chooseCardTarget({ prompt:'是否继续分配剩余的手牌', prompt2:'操作提示:请先选择要分配的手牌,然后再选择一名角色,该角色将获得你选择的所有手牌。', filterCard:true, selectCard:[1,Infinity], filterTarget:function(card,player,target){ - return target!=player&&!_status.event.getParent().targets.contains(target); + return target!=player&&!_status.event.getParent().targets.includes(target); }, }); } @@ -13418,10 +13418,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ globalTo:function(from,to,distance){ - if(to.storage.nsjuanli_win&&to.storage.nsjuanli_win.contains(from)){ + if(to.storage.nsjuanli_win&&to.storage.nsjuanli_win.includes(from)){ return distance-1; } - if(to.storage.nsjuanli_lose&&to.storage.nsjuanli_lose.contains(from)){ + if(to.storage.nsjuanli_lose&&to.storage.nsjuanli_lose.includes(from)){ return distance+1; } } @@ -13473,7 +13473,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.cardPile(function(card){ if(get.type(card,'trick')!=type) return false; if(get.info(card).multitarget) return false; - if(names.contains(card.name)) return false; + if(names.includes(card.name)) return false; if(player.hasUseTarget(card)){ return true; } @@ -13493,7 +13493,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var card=get.cardPile(function(card){ if(get.type(card,'trick')!=type) return false; if(get.info(card).multitarget) return false; - if(names.contains(card.name)) return false; + if(names.includes(card.name)) return false; if(player.hasUseTarget(card)){ return true; } @@ -13555,7 +13555,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.goon&&result.bool&&result.links.length){ player.gain(result.links,'draw'); for(var i=0;i(current!=target&&player.inRange(current)&&get.distance(player,current)>distance)); }, @@ -979,7 +979,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } for(var row of list){ for(var i=0;i0||get.tag(card,'recover')>0){ trigger.baseDamage++; game.log(card,'的伤害值/回复值+1'); } } - if(!tags.contains('dctuoyu_qingqu_tag')){ + if(!tags.includes('dctuoyu_qingqu_tag')){ if(trigger.addCount!==false){ trigger.addCount=false; var stat=player.getStat('card'); @@ -1117,7 +1117,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.log(card,'不计入次数限制'); } } - if(!tags.contains('dctuoyu_junshan_tag')){ + if(!tags.includes('dctuoyu_junshan_tag')){ game.log(card,'不可被响应'); trigger.directHit.addArray(game.filterPlayer()); } @@ -1303,7 +1303,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player.hasSkill('twshelie_round')||player!=_status.currentPhase) return false; var list=[]; player.getHistory('useCard',function(evt){ - if(lib.suit.contains(get.suit(evt.card))&&!list.contains(get.suit(evt.card))) list.push(get.suit(evt.card)); + if(lib.suit.includes(get.suit(evt.card))&&!list.includes(get.suit(evt.card))) list.push(get.suit(evt.card)); }); if(list.length){ player.addTempSkill('twshelie_count'); @@ -1414,7 +1414,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ twgongxin2:{ mod:{ cardEnabled2:function(card,player){ - if(player.getStorage('twgongxin2').contains(get.color(card))) return false; + if(player.getStorage('twgongxin2').includes(get.color(card))) return false; }, }, charlotte:true, @@ -1523,7 +1523,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' var types=[]; types.addArray(game.getGlobalHistory('useCard').map(evt=>get.type2(evt.card))); - if(cards.filter(card=>!types.contains(get.type2(card))).length){ + if(cards.filter(card=>!types.includes(get.type2(card))).length){ trigger.cancel(); } game.delayx(); @@ -1535,7 +1535,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!get.tag(card,'damage')) return; var types=[],bool=0; types.addArray(game.getGlobalHistory('useCard').map(evt=>get.type2(evt.card))); - if(!types.contains(get.type2(card))) bool=1; + if(!types.includes(get.type2(card))) bool=1; if(types.length<2) return Math.min(1,0.4+(types.length+bool)*0.2); } } @@ -1842,7 +1842,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) event.finish(); else if(trigger.targets&&!info.multitarget){ if(!game.hasPlayer(function(current){ - return !trigger.targets.contains(current)&&lib.filter.targetEnabled2(trigger.card,player,current); + return !trigger.targets.includes(current)&&lib.filter.targetEnabled2(trigger.card,player,current); })) event.finish(); } else event.finish(); @@ -1850,7 +1850,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'增加任意个目标' player.chooseTarget(get.prompt('xunshi'),function(card,player,target){ var player=_status.event.player; - return !_status.event.targets.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); + return !_status.event.targets.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); },[1,Infinity]).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -1895,7 +1895,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ logTarget:function(event,player){ if(get.suit(event.card)=='heart'){ var targets=game.filterPlayer(function(current){ - return !event.targets.contains(current)&¤t.hasMark('twwuhun')&&lib.filter.targetEnabled(event.card,player,current); + return !event.targets.includes(current)&¤t.hasMark('twwuhun')&&lib.filter.targetEnabled(event.card,player,current); }); if(targets.length){ return targets.sortBySeat(); @@ -1916,7 +1916,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } } var targets=game.filterPlayer(function(current){ - return !trigger.targets.contains(current)&¤t.hasMark('twwuhun')&&lib.filter.targetEnabled(trigger.card,player,current); + return !trigger.targets.includes(current)&¤t.hasMark('twwuhun')&&lib.filter.targetEnabled(trigger.card,player,current); }); if(targets.length){ trigger.targets.addArray(targets.sortBySeat()); @@ -2127,7 +2127,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ links:[cards[0]], } else player.choosePlayerCard(true,target,'e').set('filterButton',function(button){ - return _status.event.cards.contains(button.link); + return _status.event.cards.includes(button.link); }).set('cards',cards) } else player.choosePlayerCard(true,target,'e').set('filterButton',function(button){ @@ -2288,7 +2288,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ frequent:true, filter:function(event,player){ var suit=get.suit(event.card); - if(!lib.suit.contains(suit)||player.hasCard(function(card){ + if(!lib.suit.includes(suit)||player.hasCard(function(card){ return get.suit(card,player)==suit; },'h')) return false; return game.hasPlayer(function(current){ @@ -2310,7 +2310,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player:(card,player,target)=>{ if(typeof card!=='object') return; let suit=get.suit(card); - if(!lib.suit.contains(suit)||player.hasCard(function(i){ + if(!lib.suit.includes(suit)||player.hasCard(function(i){ return get.suit(i,player)==suit; },'h')) return; return [1,0.8*game.countPlayer(current=>{ @@ -2412,7 +2412,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(result.bool){ var card=result.cards[0]; var num=get.number(card); - if([1,11,12,13].contains(num)){ + if([1,11,12,13].includes(num)){ if(lib.filter.canBeGained(card,player,target)) player.gain(card,target,'give','bySelf'); } else if(lib.filter.canBeDiscarded(card,player,target)) target.discard(card); @@ -2460,7 +2460,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!player.storage.yuheng) return false; var list=['gzyinghun','hongde','rebingyi']; for(var i of list){ - if(!player.storage.yuheng.contains(i)) return false; + if(!player.storage.yuheng.includes(i)) return false; } return true; }, @@ -2494,7 +2494,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var finished=[],unfinished=['gzyinghun','hongde','rebingyi']; if(player.storage.yuheng){ for(var i=0;i已记录'); @@ -3460,7 +3460,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } player.chooseButton(dialog).set('ai',function(button){ var player=_status.event.player,name=button.link[2]; - if(player.getStorage('dinghan').contains(name)){ + if(player.getStorage('dinghan').includes(name)){ return -get.effect(player,{name:name},player,player); } else{ @@ -3471,7 +3471,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(result.bool){ player.logSkill('dinghan'); var name=result.links[0][2]; - if(player.getStorage('dinghan').contains(name)){ + if(player.getStorage('dinghan').includes(name)){ player.unmarkAuto('dinghan',[name]); game.log(player,'从定汉记录中移除了','#y'+get.translation(name)); } @@ -3725,17 +3725,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return evt&&evt.player==player&&player.getHistory('useCard',function(evtx){ return evtx.card.name=='sha'&&evtx.getParent('phaseUse')==evt; })[0]==event&&game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.filterTarget(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.filterTarget(event.card,player,current); }); }, content:function(){ 'step 0' var num=Math.min(player.hp-1,game.countPlayer(function(current){ - return !trigger.targets.contains(current)&&lib.filter.filterTarget(trigger.card,player,current); + return !trigger.targets.includes(current)&&lib.filter.filterTarget(trigger.card,player,current); })); player.chooseTarget(get.prompt('dangmo'),'为'+get.translation(trigger.card)+'增加至多'+get.translation(num)+'个目标',[1,num],function(card,player,target){ var evt=_status.event.getTrigger(); - return !evt.targets.contains(target)&&lib.filter.filterTarget(evt.card,player,target); + return !evt.targets.includes(target)&&lib.filter.filterTarget(evt.card,player,target); }).set('ai',function(target){ var evt=_status.event.getTrigger(),eff=get.effect(target,evt.card,evt.player,evt.player); if(player.hasSkill('tspowei')&&target.hasMark('dulie')) return 4*eff; @@ -3767,7 +3767,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' player.judge(function(result){ var evt=_status.event.getParent('reshuishi'); - if(evt&&evt.suits&&evt.suits.contains(get.suit(result))) return 0; + if(evt&&evt.suits&&evt.suits.includes(get.suit(result))) return 0; return 1; }).set('callback',lib.skill.reshuishi.callback).judge2=function(result){ return result.bool?true:false; @@ -3953,7 +3953,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.awakenSkill('resghuishi'); var list=target.getSkills(null,false,false).filter(function(skill){ var info=lib.skill[skill]; - return info&&info.juexingji&&!target.awakenedSkills.contains(skill); + return info&&info.juexingji&&!target.awakenedSkills.includes(skill); }); if(player.maxHp>=game.players.length&&list.length>0){ if(list.length==1) event._result={control:list[0]}; @@ -3989,7 +3989,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ })) return 4; var list=target.getSkills(null,false,false).filter(function(skill){ var info=lib.skill[skill]; - return info&&info.juexingji&&!target.awakenedSkills.contains(skill); + return info&&info.juexingji&&!target.awakenedSkills.includes(skill); }); if(list.length||target.hasJudge('lebu')||target.hasSkillTag('nogain')) return 0; return 4; @@ -4471,7 +4471,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' player.give(cards,target); 'step 1' - if(!target.getCards('h').contains(cards[0])) event._result={bool:false}; + if(!target.getCards('h').includes(cards[0])) event._result={bool:false}; else target.chooseUseTarget(cards[0],game.filterPlayer(function(current){ return current!=player; }),'请使用得到的牌,或者跳过下回合的判定阶段和摸牌阶段'); @@ -4542,7 +4542,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else event.finish(); 'step 4' player.chooseTarget(get.prompt('shenfu'),'令一名角色摸一张牌或弃置其一张手牌'/*,function(card,player,target){ - return !_status.event.getParent().targets.contains(target); + return !_status.event.getParent().targets.includes(target); }*/).set('ai',function(target){ var att=get.attitude(_status.event.player,target); var delta=target.hp-target.countCards('h'); @@ -4725,7 +4725,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(!player.isPhaseUsing()||event.player.isDead()) return false; for(var i in event.player.disabledSkills){ - if(event.player.disabledSkills[i].contains('olduorui2')) return false; + if(event.player.disabledSkills[i].includes('olduorui2')) return false; } var list=[]; var listm=[]; @@ -4790,7 +4790,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(storage,player,skill){ var list=[]; for(var i in player.disabledSkills){ - if(player.disabledSkills[i].contains(skill)) list.push(i); + if(player.disabledSkills[i].includes(skill)) list.push(i); } if(list.length){ var str='失效技能:'; @@ -4881,7 +4881,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } 'step 2' target.judge(function(card){ - if(['tao','taoyuan'].contains(card.name)) return 10; + if(['tao','taoyuan'].includes(card.name)) return 10; return -10; }).judge2=function(result){ return result.bool==false?true:false; @@ -5607,7 +5607,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hs=player.getCards('h'); if(!hs.length) event.num=0; for(var i=0;i=2) return true; } @@ -1506,7 +1506,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filterCard:function(card){ if(ui.selected.cards.length&&card.name==ui.selected.cards[0].name) return false; var info=get.info(card); - return info.type=='equip'&&!info.nomod&&!info.unique&&lib.inpile.contains(card.name); + return info.type=='equip'&&!info.nomod&&!info.unique&&lib.inpile.includes(card.name); }, selectCard:2, position:'he', @@ -1682,13 +1682,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.card.name!='sha') return false; return game.hasPlayer(function(current){ - return (event.targets.contains(current)==false&¤t!=player&& + return (event.targets.includes(current)==false&¤t!=player&& lib.filter.targetEnabled(event.card,player,current)) }); }, content:function(){ var list=game.filterPlayer(function(current){ - return (trigger.targets.contains(current)==false&¤t!=player&& + return (trigger.targets.includes(current)==false&¤t!=player&& lib.filter.targetEnabled(trigger.card,player,current)) }); if(list.length){ diff --git a/character/gwent.js b/character/gwent.js index c7ff328d2..3e1a95269 100644 --- a/character/gwent.js +++ b/character/gwent.js @@ -329,10 +329,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player.canUse('gw_aozuzhilei',current)&&get.effect(current,{name:'gw_aozuzhilei'},player,player)>0; }); var baoxue=game.hasPlayer(function(current){ - return player.canUse('gw_baoxueyaoshui',current)&&get.attitude(player,current)<0&&[2,3].contains(current.countCards('h'))&&!current.hasSkillTag('noh'); + return player.canUse('gw_baoxueyaoshui',current)&&get.attitude(player,current)<0&&[2,3].includes(current.countCards('h'))&&!current.hasSkillTag('noh'); }); var baoxue2=game.hasPlayer(function(current){ - return player.canUse('gw_baoxueyaoshui',current)&&get.attitude(player,current)<0&&[2].contains(current.countCards('h'))&&!current.hasSkillTag('noh'); + return player.canUse('gw_baoxueyaoshui',current)&&get.attitude(player,current)<0&&[2].includes(current.countCards('h'))&&!current.hasSkillTag('noh'); }); var baoxue3=game.hasPlayer(function(current){ return player.canUse('gw_baoxueyaoshui',current)&&get.attitude(player,current)<0&¤t.countCards('h')>=2&&!current.hasSkillTag('noh'); @@ -648,7 +648,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } var skip=['shunshou','huogong','shandianjian','jiu']; player.chooseCardButton(get.prompt('gwminxiang'),list).set('ai',function(button){ - if(skip.contains(button.link.name)) return 0; + if(skip.includes(button.link.name)) return 0; var val=get.value(button.link); if(get.tag(button.link,'damage')){ val+=3; @@ -701,7 +701,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hs=player.getCards('h'); var names=[]; for(var i=0;i1; @@ -936,7 +936,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }); 'step 1' - if(event.targets.contains(result.targets[0])){ + if(event.targets.includes(result.targets[0])){ player.popup('成功'); game.log(player,'发动','【血契】','成功'); var dialog=ui.create.dialog('hidden'); @@ -1265,7 +1265,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' event.repeat=false; var list=game.filterPlayer(function(current){ - return event.targets.contains(current)&¤t.countCards('he'); + return event.targets.includes(current)&¤t.countCards('he'); }); if(list.length){ var target=list.randomGet(); @@ -1606,7 +1606,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(target.hasSkill('gwqinwu')){ att/=1.5; } - if(target.hasJudge('lebu')||target.skipList.contains('phaseUse')){ + if(target.hasJudge('lebu')||target.skipList.includes('phaseUse')){ att/=2; } return att; @@ -1676,7 +1676,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'useCard'}, forced:true, filter:function(event,player){ - return player.getEnemies().contains(event.player)&& + return player.getEnemies().includes(event.player)&& get.type(event.card,'trick')=='trick'&&get.color(event.card)==get.color(player.storage.huanshu2); }, mark:true, @@ -1717,7 +1717,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return ui.create.dialog('结印',[[['','','gw_wenyi'],['','','gw_yanziyaoshui'],['','','gw_kunenfayin']],'vcard'],'hidden'); }, filter:function(button,player){ - if(player.storage.gwjieyin.contains(button.link[2])){ + if(player.storage.gwjieyin.includes(button.link[2])){ return false; } return true; @@ -1822,8 +1822,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:['useCard','respondAfter']}, silent:true, content:function(){ - if(player.storage.zhengjun_one.contains(trigger.card.name)){ - if(!player.storage.zhengjun.contains(trigger.card.name)){ + if(player.storage.zhengjun_one.includes(trigger.card.name)){ + if(!player.storage.zhengjun.includes(trigger.card.name)){ player.storage.zhengjun.add(trigger.card.name); event.trigger('zhengjun'); } @@ -1926,7 +1926,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' if(result.bool){ for(var i=0;i1) return true; return game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,event.player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,event.player,current); }); }, direct:true, @@ -721,7 +721,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' var bool1=(trigger.targets.length>1); var bool2=game.hasPlayer(function(current){ - return !trigger.targets.contains(current)&&lib.filter.targetEnabled2(trigger.card,trigger.player,current); + return !trigger.targets.includes(current)&&lib.filter.targetEnabled2(trigger.card,trigger.player,current); }); if(bool1&&bool2){ player.chooseControlList(true,get.prompt('hshuanling'),[ @@ -754,10 +754,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 2' if(event.type=='add'){ var num=game.countPlayer(function(current){ - return !trigger.targets.contains(current)&&lib.filter.targetEnabled2(trigger.card,trigger.player,current); + return !trigger.targets.includes(current)&&lib.filter.targetEnabled2(trigger.card,trigger.player,current); }); var num2=game.countPlayer(function(current){ - if(!trigger.targets.contains(current)&&lib.filter.targetEnabled2(trigger.card,trigger.player,current)){ + if(!trigger.targets.includes(current)&&lib.filter.targetEnabled2(trigger.card,trigger.player,current)){ return get.effect(current,trigger.card,player,player)>0; } return false; @@ -772,7 +772,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ prompt:event.unchosen?get.prompt('hshuanling'):null, prompt2:'弃置任意张牌,并为'+get.translation(trigger.card)+'增加等量的目标', filterTarget:function(card,player,target){ - return !trigger.targets.contains(target)&&lib.filter.targetEnabled2(trigger.card,trigger.player,target); + return !trigger.targets.includes(target)&&lib.filter.targetEnabled2(trigger.card,trigger.player,target); }, ai1:function(card){ if(ui.selected.cards.length>=num2) return 0; @@ -787,7 +787,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else{ var num=trigger.targets.length-1; var num2=game.countPlayer(function(current){ - if(trigger.targets.contains(current)){ + if(trigger.targets.includes(current)){ return get.effect(current,trigger.card,player,player)<0; } return false; @@ -801,7 +801,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ prompt:event.unchosen?get.prompt('hshuanling'):null, prompt2:'弃置任意张牌,并为'+get.translation(trigger.card)+'减少等量的目标', filterTarget:function(card,player,target){ - return trigger.targets.contains(target); + return trigger.targets.includes(target); }, ai1:function(card){ if(!player.needsToDiscard(ui.selected.cards.length)) return 0; @@ -959,7 +959,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player.storage.ylyuchu2&&player.storage.ylyuchu3){ var idx=player.storage.ylyuchu2.indexOf(event.player); var target=player.storage.ylyuchu3[idx]; - if(target&&player.storage.ylyuchu.contains(target)){ + if(target&&player.storage.ylyuchu.includes(target)){ return true; } } @@ -969,7 +969,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player.storage.ylyuchu2&&player.storage.ylyuchu3){ var idx=player.storage.ylyuchu2.indexOf(trigger.player); var target=player.storage.ylyuchu3[idx]; - if(target&&player.storage.ylyuchu.contains(target)){ + if(target&&player.storage.ylyuchu.includes(target)){ player.callSubPlayer(target); player.storage.ylyuchu2[idx]=null; } @@ -1043,7 +1043,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:'cards' }, filter:function(event,player){ - if(ui.cardPile.firstChild&&ui.cardPile.firstChild.vanishtag.contains('nsaiqi')){ + if(ui.cardPile.firstChild&&ui.cardPile.firstChild.vanishtag.includes('nsaiqi')){ return false; } return true; @@ -1205,7 +1205,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ var current=game.expandSkills(player.getSkills()); var list=get.gainableSkills(function(info,skill,name){ - if(current.contains(skill)) return false; + if(current.includes(skill)) return false; return lib.characterPack.hearth&&lib.characterPack.hearth[name]; }); if(!list.length){ @@ -1214,7 +1214,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var skill=list.randomGet(); var source=[]; for(var i in lib.characterPack.hearth){ - if(lib.characterPack.hearth[i][3].contains(skill)){ + if(lib.characterPack.hearth[i][3].includes(skill)){ source.push(i); } } @@ -1225,7 +1225,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var skills=[skill]; var nameskills=lib.characterPack.hearth[name][3] for(var i=0;i=3) return -1; + if(names.includes('xingjiegoutong')&&target.countCards('h')>=3) return -1; var num=0; for(var i=0;i0&& - event.targets.contains(player)==false&&event.targets.length==1; + event.targets.includes(player)==false&&event.targets.length==1; }, direct:true, content:function(){ @@ -6283,7 +6283,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, // alter:true, filter:function(event,player){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; if(get.is.altered('xshixin')&&event.player.hp=3){ return true; } @@ -8238,7 +8238,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var tuteng=['tuteng1','tuteng2','tuteng3','tuteng4', 'tuteng5','tuteng6','tuteng7','tuteng8']; for(var i=0;i{ if(!player.canUse(card,target)) return false; @@ -844,7 +844,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.itemtype(card)!='card'||get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },prompt2).set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.targetEnabled.apply(this,arguments); }).set('sourcex',player); 'step 3' @@ -864,7 +864,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ mod:{ cardUsableTarget:function(card,player,target){ if(!card.cards||card.cards.length!=1) return; - if(card.name=='sha'&&card.cards[0].hasGaintag('dclvecheng_xiongluan')&&player.getStorage('dclvecheng_xiongluan').contains(target)) return true; + if(card.name=='sha'&&card.cards[0].hasGaintag('dclvecheng_xiongluan')&&player.getStorage('dclvecheng_xiongluan').includes(target)) return true; }, } } @@ -876,7 +876,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(player.countCards('h')>=player.maxHp) return false; var suit=get.suit(event.card); - return !lib.suit.contains(suit)||!player.countCards('h',{suit:suit}); + return !lib.suit.includes(suit)||!player.countCards('h',{suit:suit}); }, check:function(event,player){ var num=Math.min(20,player.maxHp-player.countCards('h')); @@ -1182,14 +1182,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!evt||!evt.hs||!evt.hs.length) return false; if(event.name=='lose'){ for(var i in event.gaintag_map){ - if(event.gaintag_map[i].contains('dcshuangjia_tag')) return true; + if(event.gaintag_map[i].includes('dcshuangjia_tag')) return true; } return false; } return player.hasHistory('lose',evt=>{ if(event!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('dcshuangjia_tag')) return true; + if(evt.gaintag_map[i].includes('dcshuangjia_tag')) return true; } return false; }); @@ -1491,7 +1491,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return !player.hasSkill('dcminze_ban'); }, filterTarget:function(card,player,target){ - if(player.getStorage('dcminze_targeted').contains(target)) return false; + if(player.getStorage('dcminze_targeted').includes(target)) return false; return target.countCards('h'){ _status.event.directHit.addArray(game.players); @@ -1620,7 +1620,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, position:'he', filterTarget:function(card,player,target){ - return Object.keys(_status.event.map).contains(target.playerid); + return Object.keys(_status.event.map).includes(target.playerid); }, ai1:function(card){ return 7-get.value(card); @@ -1730,7 +1730,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(card,player,current); })){ return true; } @@ -1742,7 +1742,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'增加一个目标' player.chooseTarget(get.prompt('dcgonghu_trick'),function(card,player,target){ var player=_status.event.player; - return !_status.event.targets.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); + return !_status.event.targets.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -1861,7 +1861,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return !player.hasSkill('dcmoyu_ban')&&game.hasPlayer(current=>lib.skill.dcmoyu.filterTarget(null,player,current)); }, filterTarget:function(card,player,target){ - return player!=target&&!player.getStorage('dcmoyu_clear').contains(target)&&target.countGainableCards(player,'hej'); + return player!=target&&!player.getStorage('dcmoyu_clear').includes(target)&&target.countGainableCards(player,'hej'); }, content:function(){ 'step 0' @@ -1874,7 +1874,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'是否对'+get.translation(player)+'使用一张无距离限制的【杀】(伤害基数为'+num+')?').set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.targetEnabled.apply(this,arguments); }).set('sourcex',player).set('num',num).set('oncard',card=>{ _status.event.baseDamage=_status.event.getParent().num; @@ -2359,11 +2359,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, enable:['chooseToUse','chooseToRespond'], hiddenCard:function(player,name){ - if(player.getStorage('dcgue').contains(_status.currentPhase)) return false; + if(player.getStorage('dcgue').includes(_status.currentPhase)) return false; return name=='sha'||name=='shan'; }, filter:function(event,player){ - //if(event.dcgue||event.type=='wuxie'||player==_status.currentPhase||player.getStorage('dcgue').contains(_status.currentPhase)) return false; + //if(event.dcgue||event.type=='wuxie'||player==_status.currentPhase||player.getStorage('dcgue').includes(_status.currentPhase)) return false; if(event.dcgue||event.type=='wuxie'||player==_status.currentPhase) return false; if(!player.countCards('h')||player.hasSkill('dcgue_blocker',null,null,false)) return false; for(var name of ['sha','shan']){ @@ -2423,7 +2423,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ respondSha:true, respondShan:true, skillTagFilter:function(player,tag,arg){ - //if(player.getStorage('dcgue').contains(_status.currentPhase)) return false; + //if(player.getStorage('dcgue').includes(_status.currentPhase)) return false; if(player.countCards('h',{name:['sha','shan']})>1) return false; }, result:{ @@ -2716,7 +2716,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }); if(!targets.length) event.finish(); else player.chooseTarget('踏寂:弃置其他角色一张牌',true,(card,player,target)=>{ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('targets',targets).set('ai',target=>{ return get.effect(target,{name:'guohe_copy2'},_status.event.player); }); @@ -2743,10 +2743,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var name=evt.name; if(trigger.name=='loseAsync') name=evt.type; var list=['useCard','respond','discard','other']; - if(!list.contains(name)) name='other'; + if(!list.includes(name)) name='other'; for(var i=0;i<1+player.countMark('dcqinghuang_add');i++){ if(!list.length) break; - if(!list.contains(name)) name=list.randomRemove(1)[0]; + if(!list.includes(name)) name=list.randomRemove(1)[0]; if(name=='useCard') list.remove('useCard'); for(var effect of effects){ if(effect[0]==name){ @@ -2908,8 +2908,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var owned=lib.skill.dcyinlu.derivation.filter(i=>target.hasMark(i)); var att=get.attitude(player,target); if(att>0){ - if(owned.contains('dcyinlu_zhangqi')) return target.hasCard({suit:'spade'},'he')?5:10; - if(owned.contains('dcyinlu_lequan')&&target.isHealthy()&&game.hasPlayer(current=>{ + if(owned.includes('dcyinlu_zhangqi')) return target.hasCard({suit:'spade'},'he')?5:10; + if(owned.includes('dcyinlu_lequan')&&target.isHealthy()&&game.hasPlayer(current=>{ return current!=target&&get.recoverEffect(current,player,player)>0; })) return 2; return 0; @@ -2918,7 +2918,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(owned.some(i=>i!='dcyinlu_zhangqi')) return 8; return 0; } - if(owned.contains('dcyinlu_zhangqi')&&game.hasPlayer(current=>{ + if(owned.includes('dcyinlu_zhangqi')&&game.hasPlayer(current=>{ return current!=target&&get.effect(current,{name:'losehp'},player,player)>0; })) return 3; return 1; @@ -2928,14 +2928,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var att=get.attitude(player,targetx),att2=get.attitude(player,target); var owned=lib.skill.dcyinlu.derivation.filter(i=>targetx.hasMark(i)); if(att>0){ - if(owned.contains('dcyinlu_zhangqi')) return -att2; - if(owned.contains('dcyinlu_lequan')) return get.recoverEffect(target,player,player); + if(owned.includes('dcyinlu_zhangqi')) return -att2; + if(owned.includes('dcyinlu_lequan')) return get.recoverEffect(target,player,player); } else if(att<0){ if(owned.some(i=>i!='dcyinlu_zhangqi')) return att2; } else{ - if(owned.contains('dcyinlu_zhangqi')) return get.effect(target,{name:'losehp'},player,player); + if(owned.includes('dcyinlu_zhangqi')) return get.effect(target,{name:'losehp'},player,player); return att2; } } @@ -2956,8 +2956,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }).set('choice',function(){ var att=get.attitude(player,targets[0]),att2=get.attitude(player,targets[1]); if(att>0){ - if(owned.contains('dcyinlu_zhangqi')&&att2<0) return 'dcyinlu_zhangqi'; - if(owned.contains('dcyinlu_lequan')&&att2>0) return 'dcyinlu_lequan'; + if(owned.includes('dcyinlu_zhangqi')&&att2<0) return 'dcyinlu_zhangqi'; + if(owned.includes('dcyinlu_lequan')&&att2>0) return 'dcyinlu_lequan'; } else if(att<0){ var marksx=owned.filter(i=>i!='dcyinlu_zhangqi'); @@ -2965,7 +2965,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return owned[0]; } else{ - if(owned.contains('dcyinlu_zhangqi')) return 'dcyinlu_zhangqi'; + if(owned.includes('dcyinlu_zhangqi')) return 'dcyinlu_zhangqi'; } if(owned.length>1) owned.remove('dcyinlu_zhangqi'); return owned[0]; @@ -3304,14 +3304,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.card.name!='sha') return false; return game.hasPlayer(function(current){ - return !event.targets.contains(current)&&player.canUse(event.card,current,false); + return !event.targets.includes(current)&&player.canUse(event.card,current,false); }); }, direct:true, content:function(){ 'step 0' player.chooseTarget(get.prompt('dcneifa'),'为'+get.translation(trigger.card)+'额外指定一个目标',function(card,player,target){ - return !_status.event.sourcex.contains(target)&&player.canUse(_status.event.card,target,false); + return !_status.event.sourcex.includes(target)&&player.canUse(_status.event.card,target,false); }).set('sourcex',trigger.targets).set('ai',function(target){ var player=_status.event.player; return get.effect(target,_status.event.card,player,player); @@ -3354,7 +3354,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current); })){ return true; } @@ -3366,12 +3366,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'增加或减少一个目标' player.chooseTarget(get.prompt('dcneifa'),function(card,player,target){ var player=_status.event.player; - if(_status.event.targets.contains(target)) return true; + if(_status.event.targets.includes(target)) return true; return lib.filter.targetEnabled2(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; - return get.effect(target,trigger.card,player,player)*(_status.event.targets.contains(target)?-1:1); + return get.effect(target,trigger.card,player,player)*(_status.event.targets.includes(target)?-1:1); }).set('targets',trigger.targets).set('card',trigger.card); 'step 1' if(result.bool){ @@ -3384,7 +3384,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 2' if(event.targets){ player.logSkill('dcneifa',event.targets); - if(trigger.targets.contains(event.targets[0])) trigger.targets.removeArray(event.targets); + if(trigger.targets.includes(event.targets[0])) trigger.targets.removeArray(event.targets); else trigger.targets.addArray(event.targets); } } @@ -3443,14 +3443,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!evt||!evt.hs||!evt.hs.length||player.hasCard(card=>card.hasGaintag('dcaishou_tag'),'h')) return false; if(event.name=='lose'){ for(var i in event.gaintag_map){ - if(event.gaintag_map[i].contains('dcaishou_tag')) return true; + if(event.gaintag_map[i].includes('dcaishou_tag')) return true; } return false; } return player.hasHistory('lose',function(evt){ if(event!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('dcaishou_tag')) return true; + if(evt.gaintag_map[i].includes('dcaishou_tag')) return true; } return false; }); @@ -3465,7 +3465,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, trigger:{global:'useCardAfter'}, filter:function(event,player){ - return event.player!=player&&event.card.name=='sha'&&event.targets.length&&!event.targets.contains(player)&& + return event.player!=player&&event.card.name=='sha'&&event.targets.length&&!event.targets.includes(player)&& event.targets.every(current=>player.inRange(current)&¤t.isIn())&&player.hasCard(card=>card.hasGaintag('dcaishou_tag'),'h'); }, direct:true, @@ -3481,7 +3481,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return _status.event.targets.every(current=>player.canUse(get.autoViewAs({name:'sha'},[card]),current,false)); }, filterTarget:function(card,player,target){ - if(!_status.event.targets.contains(target)) return false; + if(!_status.event.targets.includes(target)) return false; card=get.autoViewAs({name:'sha'},[card]); return lib.filter.filterTarget.apply(this,arguments); }, @@ -3762,7 +3762,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:'dcxuewei', trigger:{global:'damageBegin4'}, filter:function(event,player){ - return player.getStorage('dcxuewei_shelter').contains(event.player); + return player.getStorage('dcxuewei_shelter').includes(event.player); }, charlotte:true, forced:true, @@ -3978,10 +3978,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'phaseJieshuBegin'}, frequent:true, filter:function(event,player){ - return player.hasHistory('useSkill',evt=>['yizan_use','yizan_use_backup'].contains(evt.sourceSkill||evt.skill)); + return player.hasHistory('useSkill',evt=>['yizan_use','yizan_use_backup'].includes(evt.sourceSkill||evt.skill)); }, content:function(){ - player.draw(player.getHistory('useSkill',evt=>['yizan_use','yizan_use_backup'].contains(evt.sourceSkill||evt.skill)).length) + player.draw(player.getHistory('useSkill',evt=>['yizan_use','yizan_use_backup'].includes(evt.sourceSkill||evt.skill)).length) }, }, dclongyuan:{ @@ -4095,15 +4095,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.logSkill('dcjuying'); var choices=result.links; event.choices=choices; - if(choices.contains('sha')){ + if(choices.includes('sha')){ player.addMark('dcjuying_sha',1,false); player.addSkill('dcjuying_sha'); } - if(choices.contains('hand')){ + if(choices.includes('hand')){ player.addMark('dcjuying_hand',1,false); player.addTempSkill('dcjuying_hand'); } - if(choices.contains('draw')){ + if(choices.includes('draw')){ player.draw(3); } } @@ -4312,7 +4312,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget('私掠:请选择一名其他角色','选择一名其他角色(暂时仅你可见),称为“私掠”角色,且你获得后续效果',true,(card,player,target)=>{ - return target!=player&&!player.getStorage('dcsilve').contains(target); + return target!=player&&!player.getStorage('dcsilve').includes(target); }).set('ai',target=>{ var att=get.attitude(_status.event.player,target); if(att>0) return att+1; @@ -4336,9 +4336,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:'dcsilve', trigger:{global:'damageSource'}, filter:function(event,player){ - if(!player.getStorage('dcsilve').contains(event.source)) return false; + if(!player.getStorage('dcsilve').includes(event.source)) return false; if(!event.player.isIn()||event.player==player) return false; - if(player.getStorage('dcsilve_robbed').contains(event.player)) return false; + if(player.getStorage('dcsilve_robbed').includes(event.player)) return false; return event.player.countCards('he')>0; }, charlotte:true, @@ -4360,7 +4360,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:'dcsilve', trigger:{global:'damageEnd'}, filter:function(event,player){ - if(!player.getStorage('dcsilve').contains(event.player)) return false; + if(!player.getStorage('dcsilve').includes(event.player)) return false; if(!event.player.isIn()||!event.source||!event.source.isIn()||event.source==player) return false; return true; }, @@ -4376,7 +4376,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); }).set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.source&&!ui.selected.targets.contains(_status.event.source)) return false; + if(target!=_status.event.source&&!ui.selected.targets.includes(_status.event.source)) return false; return lib.filter.targetEnabled.apply(this,arguments); }).set('source',trigger.source).set('logSkill','dcsilve_revenge'); 'step 1' @@ -4441,7 +4441,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ eff+=get.effect(target,{name:'shunshou_copy2'},player,player)*2; } eff-=get.effect(player,{name:'dongzhuxianji'},player,player); - return eff>0&&choices.contains('选项一')?'选项一':'选项二'; + return eff>0&&choices.includes('选项一')?'选项一':'选项二'; }()); 'step 1' if(result.control=='选项一'){ @@ -4619,7 +4619,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player,name){ if(!event.card) return false; var cards=player.getStorage('dccuijin_damage'); - if(!cards.contains(event.card)) return false; + if(!cards.includes(event.card)) return false; return true; }, content:function(){ @@ -4645,7 +4645,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ target=trigger.target; source=trigger.player; } - if(player.storage.dccuijin_map[card.cardid].contains(target)&&!target.hasHistory('damage',evt=>{ + if(player.storage.dccuijin_map[card.cardid].includes(target)&&!target.hasHistory('damage',evt=>{ return evt.card==card; })){ player.logSkill('dccuijin_damage',source); @@ -4785,7 +4785,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseControl(list).set('choiceList',choiceList).set('prompt',get.prompt('dczhenze')).set('ai',()=>_status.event.choice).set('choice',(()=>{ var effect=0; if(list.length==2){ - if(list.contains('选项一')){ + if(list.includes('选项一')){ loses.forEach(i=>effect+=get.effect(i,{name:'losehp'},player,player)); if(effect>0) return '选项一'; }else{ @@ -4977,7 +4977,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(lib.configOL&&lib.configOL.choose_timeout) time=parseInt(lib.configOL.choose_timeout)*1000; for(var i=0;ii[0]).sort(), content:function(){ var list=lib.skill.midu_backup.equip,num=list.length,bool=false; - if(list.contains(-1)){ + if(list.includes(-1)){ list.remove(-1); bool=true; } @@ -5910,7 +5910,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var evtx4=evtx3.relatedEvent||evtx3.getParent(); if(evtx2!=evtx4) return false; for(var i in evtx3.gaintag_map){ - if(evtx3.gaintag_map[i].contains('dcliuzhuan_tag')) return true; + if(evtx3.gaintag_map[i].includes('dcliuzhuan_tag')) return true; } }); //return false; @@ -5918,21 +5918,21 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else if(event.name=='lose'){ if(event.player!=current||event.position!=ui.discardPile) return false; for(var i in event.gaintag_map){ - if(event.gaintag_map[i].contains('dcliuzhuan_tag')) return true; + if(event.gaintag_map[i].includes('dcliuzhuan_tag')) return true; } return false; } return current.hasHistory('lose',function(evt){ if(evt.getParent()!=event||evt.position!=ui.discardPile) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('dcliuzhuan_tag')) return true; + if(evt.gaintag_map[i].includes('dcliuzhuan_tag')) return true; } }); }, content:function(){ var cards,current=_status.currentPhase; if(trigger.name=='lose') cards=trigger.hs.filter(function(i){ - return trigger.gaintag_map[i.cardid]&&trigger.gaintag_map[i.cardid].contains('dcliuzhuan_tag')&&get.position(i,true)=='d'; + return trigger.gaintag_map[i.cardid]&&trigger.gaintag_map[i.cardid].includes('dcliuzhuan_tag')&&get.position(i,true)=='d'; }); else if(trigger.name=='cardsDiscard'){ var evtx=trigger.getParent(); @@ -5942,12 +5942,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var evtx4=evtx3.relatedEvent||evtx3.getParent(); if(evtx2!=evtx4) return false; for(var i in evtx3.gaintag_map){ - if(evtx3.gaintag_map[i].contains('dcliuzhuan_tag')) return true; + if(evtx3.gaintag_map[i].includes('dcliuzhuan_tag')) return true; } }); cards=trigger.cards.filter(function(i){ for(var evt of history){ - if(evt.gaintag_map[i.cardid]&&evt.gaintag_map[i.cardid].contains('dcliuzhuan_tag')&&get.position(i,true)=='d') return true; + if(evt.gaintag_map[i.cardid]&&evt.gaintag_map[i.cardid].includes('dcliuzhuan_tag')&&get.position(i,true)=='d') return true; } return false; }); @@ -5959,7 +5959,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var card of evt.hs){ if(get.position(card,true)!='d') continue; var i=card.cardid; - if(evt.gaintag_map[i]&&evt.gaintag_map[i].contains('dcliuzhuan_tag')) cards.push(card); + if(evt.gaintag_map[i]&&evt.gaintag_map[i].includes('dcliuzhuan_tag')) cards.push(card); } }); } @@ -6049,7 +6049,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return target.canUse('sha',i,false); }); if(list.length>0) target.chooseTarget('随征:是否对一名角色使用【杀】?',function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('targets',list).set('ai',function(target){ var player=_status.event.player; return get.effect(target,{name:'sha'},player,player); @@ -6406,14 +6406,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!evt||!evt.cards2||!evt.cards2.length) return false; if(event.name=='lose'){ for(var i in event.gaintag_map){ - if(event.gaintag_map[i].contains('xingchong')) return true; + if(event.gaintag_map[i].includes('xingchong')) return true; } return false; } return player.hasHistory('lose',function(evt){ if(event!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('xingchong')) return true; + if(evt.gaintag_map[i].includes('xingchong')) return true; } return false; }); @@ -6432,13 +6432,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var num=0; if(trigger.name=='lose'){ for(var i in trigger.gaintag_map){ - if(trigger.gaintag_map[i].contains('xingchong')) num++; + if(trigger.gaintag_map[i].includes('xingchong')) num++; } } else player.getHistory('lose',function(evt){ if(trigger!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('xingchong')) num++; + if(evt.gaintag_map[i].includes('xingchong')) num++; } }); player.draw(2*num); @@ -6537,7 +6537,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ charlotte:true, locked:true, skillBlocker:function(skill,player){ - return skill!='bazhen'&&skill!='dcjiezhen_blocker'&&!lib.skill[skill].charlotte&&player.getStorage('dcjiezhen_blocker').contains(skill); + return skill!='bazhen'&&skill!='dcjiezhen_blocker'&&!lib.skill[skill].charlotte&&player.getStorage('dcjiezhen_blocker').includes(skill); }, mark:true, marktext:'阵', @@ -6560,10 +6560,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ onremove:true, filter:function(event,player){ if(event.name=='die'){ - return player==event.player||player.getStorage('dcjiezhen_clear').contains(event.player); + return player==event.player||player.getStorage('dcjiezhen_clear').includes(event.player); } else if(event.name=='judge'){ - return event.skill=='bagua'&&player.getStorage('dcjiezhen_clear').contains(event.player); + return event.skill=='bagua'&&player.getStorage('dcjiezhen_clear').includes(event.player); } return player.getStorage('dcjiezhen_clear').length>0; }, @@ -6587,7 +6587,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' var target=targets.shift(); var storage=player.getStorage('dcjiezhen_clear'); - if(storage.contains(target)){ + if(storage.includes(target)){ storage.remove(target); target.removeSkill('dcjiezhen_blocker'); if(target.isIn()&&target.countGainableCards(player,'hej')>0) player.gainPlayerCard(target,'hej',true); @@ -6783,7 +6783,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!player.storage[skill]) player.storage[skill]=[['sha','shan','tao','jiu'],0]; }, hiddenCard:function(player,name){ - if(player.storage.dunshi&&player.storage.dunshi[0].contains(name)&&!player.getStat('skill').dunshi) return true; + if(player.storage.dunshi&&player.storage.dunshi[0].includes(name)&&!player.getStat('skill').dunshi) return true; return false; }, marktext:'席', @@ -6863,11 +6863,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!storage||!storage[0].length) return false; if(player.getStat('skill').dunshi) return false; switch(tag){ - case 'respondSha':return (_status.event.type!='phase'||(player==game.me||player.isUnderControl()||player.isOnline()))&&storage[0].contains('sha'); - case 'respondShan':return storage[0].contains('shan'); + case 'respondSha':return (_status.event.type!='phase'||(player==game.me||player.isUnderControl()||player.isOnline()))&&storage[0].includes('sha'); + case 'respondShan':return storage[0].includes('shan'); case 'save': - if(arg==player&&storage[0].contains('jiu')) return true; - return storage[0].contains('tao'); + if(arg==player&&storage[0].includes('jiu')) return true; + return storage[0].includes('tao'); } }, order:2, @@ -6899,7 +6899,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(i.indexOf('gz_jun')==0) continue; for(var j of lib.character[i][3]){ var skill=lib.skill[j]; - if(!skill||skill.zhuSkill||banned.contains(j)) continue; + if(!skill||skill.zhuSkill||banned.includes(j)) continue; if(skill.ai&&(skill.ai.combo||skill.ai.notemp||skill.ai.neg)) continue; var info=get.translation(j); for(var ix=0;ix0) player.draw(storage[1]); } @@ -7021,7 +7021,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.type!='discard'||event.getlx===false||player.getExpansions('xunli').length>=9) return false; for(var i of event.cards){ - if(get.position(i,true)=='d'&&get.color(i,event.cards2&&event.cards2.contains(i)?event.player:false)=='black') return true; + if(get.position(i,true)=='d'&&get.color(i,event.cards2&&event.cards2.includes(i)?event.player:false)=='black') return true; } return false; }, @@ -7030,7 +7030,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var num=9-player.getExpansions('xunli').length; var cards=[]; for(var i of trigger.cards){ - if(get.position(i,true)=='d'&&get.color(i,trigger.cards2&&trigger.cards2.contains(i)?trigger.player:false)=='black') cards.push(i); + if(get.position(i,true)=='d'&&get.color(i,trigger.cards2&&trigger.cards2.includes(i)?trigger.player:false)=='black') cards.push(i); } if(cards.length<=num) event._result={ bool:true, @@ -7388,7 +7388,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ hiddenCard:function(player,name){ var list=player.getStorage('fuping').slice(0); list.removeArray(player.getStorage('fuping_round')); - return list.contains(name)&&player.hasCard((card)=>(get.type(card)!='basic'),'ehs'); + return list.includes(name)&&player.hasCard((card)=>(get.type(card)!='basic'),'ehs'); }, enable:'chooseToUse', locked:false, @@ -7448,7 +7448,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ skillTagFilter:function(player){ var list=player.getStorage('fuping').slice(0); list.removeArray(player.getStorage('fuping_round')); - return list.contains('sha'); + return list.includes('sha'); }, }, mod:{ @@ -7463,15 +7463,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){ mark:{ trigger:{global:'useCardAfter'}, filter:function(event,player){ - return player!=event.player&&event.targets.contains(player)&& - player.hasEnabledSlot()&&!player.getStorage('fuping').contains(event.card.name); + return player!=event.player&&event.targets.includes(player)&& + player.hasEnabledSlot()&&!player.getStorage('fuping').includes(event.card.name); }, logTarget:'player', prompt2:(event)=>('废除一个装备栏并记录【'+get.translation(event.card.name)+'】'), check:function(event,player){ var list=['tao','juedou','guohe','shunshou','wuzhong','xietianzi','yuanjiao','wanjian','nanman','huoshaolianying','chuqibuyi','zhujinqiyuan','lebu','bingliang']; - if(!list.contains(event.card.name)) return false; - if(['nanman','wanjian'].contains(event.card.name)&&!player.hasValueTarget({name:event.card.name})) return false; + if(!list.includes(event.card.name)) return false; + if(['nanman','wanjian'].includes(event.card.name)&&!player.hasValueTarget({name:event.card.name})) return false; var list=[3,5,4,1,2]; for(var i of list){ if(player.hasEnabledSlot(i)){ @@ -7561,12 +7561,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, ai1:function(card){ var val=get.value(card),evt=_status.event; - if(evt.suits.contains(get.suit(card,false))) return 8-get.value(card); + if(evt.suits.includes(get.suit(card,false))) return 8-get.value(card); return 5-get.value(card); }, ai2:function(target){ var player=_status.event.player; - if(player.storage.yuanyu_damage&&player.storage.yuanyu_damage.contains(target)) return 0; + if(player.storage.yuanyu_damage&&player.storage.yuanyu_damage.includes(target)) return 0; return -get.attitude(player,target); }, }); @@ -7623,7 +7623,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.name=='damage'){ var source=event.source; - return source&&player.getStorage('yuanyu_damage').contains(source)&&source.countCards('h')>0; + return source&&player.getStorage('yuanyu_damage').includes(source)&&source.countCards('h')>0; } else{ if(player==event.player){ @@ -7631,7 +7631,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return target.isIn()&&target.countCards('h')>0; }); } - else if(player.getStorage('yuanyu_damage').contains(event.player)){ + else if(player.getStorage('yuanyu_damage').includes(event.player)){ return event.player.countCards('h')>0; } return false; @@ -7659,7 +7659,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ next.set('suits',suits); next.set('ai',function(card){ var val=get.value(card),evt=_status.event; - if(evt.suits.contains(get.suit(card,false))) return 5-get.value(card); + if(evt.suits.includes(get.suit(card,false))) return 5-get.value(card); return 8-get.value(card); }); if(suits.length){ @@ -7681,7 +7681,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, trigger:{player:'addToExpansionAfter'}, filter:function(event,player){ - if(!event.gaintag.contains('yuanyu')) return false; + if(!event.gaintag.includes('yuanyu')) return false; var cards=player.getExpansions('yuanyu'); if(cards.length=lib.suit.length) return false; if(_status.connectMode&&player.countCards('h')>0) return true; return player.hasCard(function(card){ - return !suits.contains(get.suit(card)); + return !suits.includes(get.suit(card)); },'he'); }, content:function(){ @@ -8097,7 +8097,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var suits=[]; trigger.player.getHistory('lose',function(evt){ if(evt.type=='discard'&&evt.getParent('phaseDiscard')==trigger){ - for(var i of evt.cards2) suits.add(get.suit(i,evt.hs.contains(i)?evt.player:false)); + for(var i of evt.cards2) suits.add(get.suit(i,evt.hs.includes(i)?evt.player:false)); } }); player.chooseCardTarget({ @@ -8106,7 +8106,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ suits:suits, position:'he', filterCard:function(card,player){ - return !_status.event.suits.contains(get.suit(card))&&lib.filter.cardDiscardable(card,player,'yaopei'); + return !_status.event.suits.includes(get.suit(card))&&lib.filter.cardDiscardable(card,player,'yaopei'); }, filterTarget:function(card,player,target){ return target==player||target==_status.event.getTrigger().player; @@ -8509,7 +8509,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return get.suit(i)==result.control; }) for(var i=0;i1?'至多两个':'一个')+'目标?',[1,Math.min(2,num)],function(card,player,target){ var trigger=_status.event.getTrigger(); var card=trigger.card; - return !trigger.targets.contains(target)&&lib.filter.targetEnabled2(card,player,target)&&lib.filter.targetInRange(card,player,target); + return !trigger.targets.includes(target)&&lib.filter.targetEnabled2(card,player,target)&&lib.filter.targetInRange(card,player,target); }).set('ai',function(target){ var player=_status.event.player; var card=_status.event.getTrigger().card; @@ -9467,7 +9467,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(card,player,current); })){ return true; } @@ -9479,7 +9479,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'增加一个目标' player.chooseTarget(get.prompt('zhtongyuan'),function(card,player,target){ var player=_status.event.player; - return !_status.event.targets.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); + return !_status.event.targets.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -9530,7 +9530,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return type=='basic'||type=='trick'; }, check:function(event,player){ - return !event.excluded.contains(player)&&get.effect(player,event.card,event.player,player)<0; + return !event.excluded.includes(player)&&get.effect(player,event.card,event.player,player)<0; }, content:function(){ 'step 0' @@ -9561,10 +9561,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ zhente2:{ mod:{ cardEnabled:function(card,player){ - if(player.getStorage('zhente2').contains(get.color(card))) return false; + if(player.getStorage('zhente2').includes(get.color(card))) return false; }, cardSavable:function(card,player){ - if(player.getStorage('zhente2').contains(get.color(card))) return false; + if(player.getStorage('zhente2').includes(get.color(card))) return false; }, }, charlotte:true, @@ -9584,7 +9584,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player,name){ if(player.hasSkill('zhiwei2')) return false; if(!game.hasPlayer(current=>current!=player)) return false; - if(get.mode()=='guozhan') return event.name=='showCharacter'&&(event.toShow.contains('gz_luyusheng')||event.toShow.contains('luyusheng')); + if(get.mode()=='guozhan') return event.name=='showCharacter'&&(event.toShow.includes('gz_luyusheng')||event.toShow.includes('luyusheng')); return event.name!='showCharacter'&&(name!='phaseBefore'||game.phaseNumber==0); }, content:function(){ @@ -9838,7 +9838,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ '

    ', [players2,'character'], ]).set('players',players1).set('complexSelect',true).set('filterButton',function(button){ - return !get.is.jun(button.link)&&(ui.selected.buttons.length==0)==(_status.event.players.contains(button.link)); + return !get.is.jun(button.link)&&(ui.selected.buttons.length==0)==(_status.event.players.includes(button.link)); }); 'step 3' if(result.bool){ @@ -9903,7 +9903,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ popup:false, onremove:true, filter:function(event,player){ - return event.getParent(3).name=='rezhixi'&&player.getStorage('remeibu_gain').contains(get.suit(event.cards[0],event.player))&&get.position(event.cards[0])=='d'; + return event.getParent(3).name=='rezhixi'&&player.getStorage('remeibu_gain').includes(get.suit(event.cards[0],event.player))&&get.position(event.cards[0])=='d'; }, content:function(){ player.gain(trigger.cards[0],'gain2'); @@ -10066,7 +10066,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return card.hasGaintag('rexiahui'); })==0&&target.getHistory('lose',function(evt){ for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('rexiahui')) return true; + if(evt.gaintag_map[i].includes('rexiahui')) return true; } }).length>0; }, @@ -10208,14 +10208,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!evt||!evt.cards2||!evt.cards2.length) return false; if(event.name=='lose'){ for(var i in event.gaintag_map){ - if(event.gaintag_map[i].contains('dcmiyun_tag')) return true; + if(event.gaintag_map[i].includes('dcmiyun_tag')) return true; } return false; } return player.hasHistory('lose',evt=>{ if(event!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('dcmiyun_tag')) return true; + if(evt.gaintag_map[i].includes('dcmiyun_tag')) return true; } return false; }); @@ -10326,7 +10326,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ enable:'phaseUse', usable:1, filterTarget:function(card,player,target){ - return target!=player&&!player.getStorage('dcxunji_effect').contains(target); + return target!=player&&!player.getStorage('dcxunji_effect').includes(target); }, content:function(){ player.markAuto('dcxunji_effect',[target]); @@ -10355,7 +10355,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ popup:false, onremove:true, filter:function(event,player){ - return player.getStorage('dcxunji_effect').contains(event.player); + return player.getStorage('dcxunji_effect').includes(event.player); }, content:function(){ 'step 0' @@ -10923,7 +10923,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=['sha','shan','tao','jiu']; for(var i of list){ var strx='【'+get.translation(i)+'】'; - if(!info||!info[0].contains(i)) strx=(''+strx+''); + if(!info||!info[0].includes(i)) strx=(''+strx+''); str+=strx; if(i!='jiu') str+='/'; } diff --git a/character/jiange.js b/character/jiange.js index c6827d46b..5a8ebd0e6 100644 --- a/character/jiange.js +++ b/character/jiange.js @@ -233,7 +233,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ "step 0" player.chooseTarget(get.prompt('juechen'),function(card,player,target){ - return player!=target&&!trigger.targets.contains(target)&&target.countCards('he')>0; + return player!=target&&!trigger.targets.includes(target)&&target.countCards('he')>0; }).set('autodelay',true).ai=function(target){ return -get.attitude(player,target); } @@ -418,7 +418,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var dialog=ui.create.dialog('将三张牌中的锦囊牌或装备牌交给一名角色','hidden'); dialog.add(event.cards); for(var i=0;i0; }, @@ -178,7 +178,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' var target=targets.shift(); var storage=player.getStorage('jsrgqingzi_clear'); - if(storage.contains(target)){ + if(storage.includes(target)){ storage.remove(target); target.removeAdditionalSkill(`jsrgqingzi_${player.playerid}`); } @@ -2244,7 +2244,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, filterTarget:function(card,player,target){ var source=_status.event.getParent().player; - if(target!=source&&!ui.selected.targets.contains(source)) return false; + if(target!=source&&!ui.selected.targets.includes(source)) return false; card=get.autoViewAs({name:'juedou'},[card]); return lib.filter.filterTarget.apply(this,arguments); }, @@ -2292,7 +2292,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ groupSkill:true, filterTarget:function(card,player,target){ if(target.countCards('h')>=player.countCards('h')) return false; - return !player.getStorage('jsrgqingxi_used').contains(target); + return !player.getStorage('jsrgqingxi_used').includes(target); }, content:function(){ 'step 0' @@ -2435,7 +2435,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ source:'damageBegin1', }, filter:function(event,player){ - if(!event.card||!['sha','juedou'].contains(event.card.name)||event.getParent().type!='card') return false; + if(!event.card||!['sha','juedou'].includes(event.card.name)||event.getParent().type!='card') return false; return event.player.group==player.group; }, forced:true, @@ -2794,7 +2794,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player:['useCard','respond'], }, filter:function(event,player){ - return lib.suit.contains(get.suit(event.card)); + return lib.suit.includes(get.suit(event.card)); }, forced:true, content:function(){ @@ -2812,13 +2812,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ charlotte:true, mod:{ cardEnabled:function(card,player){ - if(player.getStorage('jsrgguanjue_ban').contains(get.suit(card))) return false; + if(player.getStorage('jsrgguanjue_ban').includes(get.suit(card))) return false; }, cardRespondable:function(card,player){ - if(player.getStorage('jsrgguanjue_ban').contains(get.suit(card))) return false; + if(player.getStorage('jsrgguanjue_ban').includes(get.suit(card))) return false; }, cardSavable:function(card,player){ - if(player.getStorage('jsrgguanjue_ban').contains(get.suit(card))) return false; + if(player.getStorage('jsrgguanjue_ban').includes(get.suit(card))) return false; }, }, mark:true, @@ -2871,7 +2871,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ check:function(button){ if(_status.event.getParent().type!='phase') return 1; var player=_status.event.player; - if(['wugu','zhulu_card','yiyi','lulitongxin','lianjunshengyan','diaohulishan'].contains(button.link[2])) return 0; + if(['wugu','zhulu_card','yiyi','lulitongxin','lianjunshengyan','diaohulishan'].includes(button.link[2])) return 0; return player.getUseValue({ name:button.link[2], nature:button.link[3], @@ -2903,7 +2903,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, hiddenCard:function(player,name){ - if(!lib.inpile.contains(name)) return false; + if(!lib.inpile.includes(name)) return false; var type=get.type2(name); return type=='basic'&&player.countCards('hes')>0&&!player.hasSkill('jsrgnianen_blocker'); }, @@ -3062,7 +3062,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=[]; for(var target of targets){ var weapons=target.getEquips(1); - weapons=weapons.filter(i=>links.contains(i)); + weapons=weapons.filter(i=>links.includes(i)); if(weapons.length){ list.push([target,weapons]); } @@ -3113,7 +3113,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!player.countCards('he')) return false; for(var name of lib.inpile){ if(get.type(name)!='basic') continue; - if(player.getStorage('jsrgjixiang_used').contains(name)) continue; + if(player.getStorage('jsrgjixiang_used').includes(name)) continue; var card={name:name}; if(event.filterCard(card,event.player,event)) return true; if(name=='sha'){ @@ -3137,7 +3137,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } var listx=[]; for(var name of list){ - if(player.getStorage('jsrgjixiang_used').contains(name)) continue; + if(player.getStorage('jsrgjixiang_used').includes(name)) continue; listx.push([get.type2(name),'',name]); if(name=='sha'){ for(var nature of lib.inpile_nature){ @@ -3155,7 +3155,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } names=names.slice(0,names.length-1); var reason=(trigger.name=='chooseToUse'?'使用':'打出'); - var used=player.getStorage('jsrgjixiang_used').filter(name=>list.contains(name)); + var used=player.getStorage('jsrgjixiang_used').filter(name=>list.includes(name)); var str=get.translation(trigger.player)+(evt.card?'因'+get.translation(evt.card):'')+'需要'+reason+'一张'+names+',是否弃置一张牌视为其'+reason+'之'+ (used.length?('(你不能以此法令其'+reason+get.translation(used)+')'):'')+'?若如此做,你摸一张牌并令〖称贤〗此阶段可发动次数上限+1。'; event.str=str; @@ -3277,7 +3277,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(2+player.countMark('jsrgjixiang_add')<=0) return false; for(var name of lib.inpile){ if(get.type(name)!='trick') continue; - if(player.getStorage('jsrgchengxian_used').contains(name)) continue; + if(player.getStorage('jsrgchengxian_used').includes(name)) continue; if(event.filterCard({name:name},player,event)) return true; } return false; @@ -3286,7 +3286,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ dialog:function(event,player){ var list=[]; for(var name of lib.inpile){ - if(player.getStorage('jsrgchengxian_used').contains(name)) continue; + if(player.getStorage('jsrgchengxian_used').includes(name)) continue; var info=get.info({name:name}); if(!info||info.type!='trick') continue; if(info.notarget) continue; @@ -3302,7 +3302,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ check:function(button){ if(_status.event.getParent().type!='phase') return 1; var player=_status.event.player; - if(['wugu','zhulu_card','yiyi','lulitongxin','lianjunshengyan','diaohulishan'].contains(button.link[2])) return 0; + if(['wugu','zhulu_card','yiyi','lulitongxin','lianjunshengyan','diaohulishan'].includes(button.link[2])) return 0; return player.getUseValue({ name:button.link[2], nature:button.link[3], @@ -3395,7 +3395,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, filterCard:lib.filter.cardRecastable, check:function(card){ - var player=_status.event.player,val=5+['shan','tao'].contains(get.name(card))*1.5; + var player=_status.event.player,val=5+['shan','tao'].includes(get.name(card))*1.5; if(player.needsToDiscard()>2&&get.name(card)=='sha'&&player.countCards('hs','sha')>1) val+=0.5; return val-get.value(card); }, @@ -3499,7 +3499,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ effect:{ player:function(card,player,target){ - if(player!=target&&get.tag(card,'damage')&&target&&player.getStorage('jsrgtuwei_backfire').contains(target)&&!target.getHistory('damage').length) return [1,1,1,0]; + if(player!=target&&get.tag(card,'damage')&&target&&player.getStorage('jsrgtuwei_backfire').includes(target)&&!target.getHistory('damage').length) return [1,1,1,0]; }, }, }, @@ -3561,10 +3561,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ targetInRange:function(card,player,target){ - if(player.getStorage('jsrgbiaozhao_A').contains(target)) return true; + if(player.getStorage('jsrgbiaozhao_A').includes(target)) return true; }, cardUsableTarget:function(card,player,target){ - if(player.getStorage('jsrgbiaozhao_A').contains(target)) return true; + if(player.getStorage('jsrgbiaozhao_A').includes(target)) return true; }, }, }, @@ -3580,7 +3580,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, filter:function(event,player){ - return event.card&&player.getStorage('jsrgbiaozhao_B').contains(event.player); + return event.card&&player.getStorage('jsrgbiaozhao_B').includes(event.player); }, content:function(){ trigger.num+=player.countMark('jsrgbiaozhao_B'+trigger.player.playerid)||1; @@ -3840,7 +3840,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.removeSkillBlocker('sbyingmen'); }, skillBlocker:function(skill,player){ - if(!player.invisibleSkills.contains(skill)||skill=='sbpingjian'||skill=='sbpingjian') return false; + if(!player.invisibleSkills.includes(skill)||skill=='sbpingjian'||skill=='sbpingjian') return false; return !player.hasSkill('sbpingjian'); }, marktext:'客', @@ -3860,13 +3860,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ locked:false, filter:function(event,player){ var skill=event.sourceSkill||event.skill; - return player.invisibleSkills.contains(skill)&&lib.skill.sbyingmen.getSkills(player.getStorage('sbyingmen'),player).contains(skill); + return player.invisibleSkills.includes(skill)&&lib.skill.sbyingmen.getSkills(player.getStorage('sbyingmen'),player).includes(skill); }, content:function(){ 'step 0' var visitors=player.getStorage('sbyingmen').slice(0); var drawers=visitors.filter(function(name){ - return Array.isArray(lib.character[name])&&lib.character[name][3].contains(trigger.sourceSkill); + return Array.isArray(lib.character[name])&&lib.character[name][3].includes(trigger.sourceSkill); }); event.drawers=drawers; if(visitors.length==1) event._result={bool:true,links:visitors}; @@ -3880,7 +3880,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(result.bool){ lib.skill.sbyingmen.removeVisitors(result.links,player); game.log(player,'移去了','#y'+get.translation(result.links[0])); - if(event.drawers.contains(result.links[0])){ + if(event.drawers.includes(result.links[0])){ player.addTempSkill('sbpingjian_draw'); player.storage.sbpingjian_draw.push(trigger.skill); } @@ -3898,7 +3898,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, popup:false, filter:function(event,player){ - return player.getStorage('sbpingjian_draw').contains(event.skill); + return player.getStorage('sbpingjian_draw').includes(event.skill); }, content:function(){ player.storage.sbpingjian_draw.remove(trigger.skill); @@ -3919,7 +3919,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.charlotte) return false; var skills=lib.skill.sbyingmen.getSkills(player.getStorage('sbyingmen'),player); game.expandSkills(skills); - return skills.contains(event.skill); + return skills.includes(event.skill); }, content:function(){ "step 0" @@ -4552,7 +4552,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var name=_status.characterlist[i]; var skills=lib.character[name][3].slice(); if(skills.some(skill=>{ - return lib.skill.jsrgyingmen.bannedList.contains(skill); + return lib.skill.jsrgyingmen.bannedList.includes(skill); })) continue; list.push(name); _status.characterlist.remove(name); @@ -4870,7 +4870,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }); if(targets.length){ var next=player.chooseTarget(function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }); next.set('from',target); next.set('targets',targets); @@ -5018,7 +5018,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var i=history.length-1;i>=0;i--){ var evt=history[i]; var cards2=evt.cards.filter(card=>{ - return cards.contains(card)&&get.suit(card,false)==suit; + return cards.includes(card)&&get.suit(card,false)==suit; }); if(cards2.length){ gains.addArray(cards2); @@ -5112,7 +5112,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ order:1, result:{ target:function(player,target){ - if(target.skipList.contains('phaseDraw')||target.hasSkill('pingkou')) return 0; + if(target.skipList.includes('phaseDraw')||target.hasSkill('pingkou')) return 0; var hs=player.getCards('h').sort(function(a,b){ return b.number-a.number; }); @@ -5283,7 +5283,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!cards||!target||!target.isIn()) return false; var cardsx=target.getCards('h'); cardsx.addArray(Array.from(ui.discardPile)); - return cards.some(i=>cardsx.contains(i)); + return cards.some(i=>cardsx.includes(i)); //target.hasCard(card=>{ // return card.hasGaintag('jsrgfendi_tag'); //},'h'); @@ -5293,7 +5293,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.logSkill('jsrgfendi_gain',target); var cardsx=target.getCards('h'); cardsx.addArray(Array.from(ui.discardPile)); - var cards=trigger.card.storage.jsrgfendi.filter(i=>cardsx.contains(i)); + var cards=trigger.card.storage.jsrgfendi.filter(i=>cardsx.includes(i)); player.gain(cards,'give'); } } @@ -5309,7 +5309,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var evt=event.getParent('phaseDraw'); if(evt&&evt.name=='phaseDraw') return false; var hs=player.getCards('h'); - var cards=event.getg(player).filter(i=>hs.contains(i)); + var cards=event.getg(player).filter(i=>hs.includes(i)); if(!cards.length) return false; for(var card of cards){ if(!lib.filter.cardDiscardable(card,player,'jsrgjuxiang')) return false; @@ -5324,7 +5324,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(target.getCardUsable({name:'sha'})>=target.countCards('hs','sha')) return false; if(!target.hasValueTarget({name:'sha'})) return false; var hs=player.getCards('h'); - var cards=event.getg(player).filter(i=>hs.contains(i)); + var cards=event.getg(player).filter(i=>hs.includes(i)); var val=0; for(var i of cards) val+=get.value(i); if(val<10) return true; @@ -5332,7 +5332,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, prompt2:function(event,player){ var hs=player.getCards('h'); - var cards=event.getg(player).filter(i=>hs.contains(i)); + var cards=event.getg(player).filter(i=>hs.includes(i)); var target=_status.currentPhase; var str='弃置'+get.translation(cards); if(target&&target.isIn()){ @@ -5348,7 +5348,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' var hs=player.getCards('h'); - var cards=trigger.getg(player).filter(i=>hs.contains(i)); + var cards=trigger.getg(player).filter(i=>hs.includes(i)); var list=[]; for(var card of cards){ list.add(get.suit(card,player)); @@ -5431,7 +5431,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{source:'damageSource'}, filter:function(event,player){ return game.hasPlayer(current=>{ - return current.isMinHp()&&player.getStorage('jsrgjishan').contains(current); + return current.isMinHp()&&player.getStorage('jsrgjishan').includes(current); }); }, usable:1, @@ -5439,7 +5439,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget(get.prompt('jsrgjishan_recover'),'令一名体力值最小且你对其发动过〖积善①〗的角色回复1点体力',(card,player,target)=>{ - return target.isMinHp()&&player.getStorage('jsrgjishan').contains(target); + return target.isMinHp()&&player.getStorage('jsrgjishan').includes(target); }).set('ai',target=>{ return get.recoverEffect(target,_status.event.player,_status.event.player); }); @@ -5533,19 +5533,19 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, trigger:{global:'chooseToDebateAfter'}, filter:function(event,player){ - if(!event.targets.contains(player)) return false; - if(event.red.map(i=>i[0]).contains(player)) return event.black.length; - if(event.black.map(i=>i[0]).contains(player)) return event.red.length; + if(!event.targets.includes(player)) return false; + if(event.red.map(i=>i[0]).includes(player)) return event.black.length; + if(event.black.map(i=>i[0]).includes(player)) return event.red.length; return false; }, direct:true, content:function(){ 'step 0' var targets=[]; - if(trigger.red.map(i=>i[0]).contains(player)) targets=trigger.black; - if(trigger.black.map(i=>i[0]).contains(player)) targets=trigger.red; + if(trigger.red.map(i=>i[0]).includes(player)) targets=trigger.black; + if(trigger.black.map(i=>i[0]).includes(player)) targets=trigger.red; player.chooseTarget(get.prompt('jsrgfayi'),'对一名与你意见不同的角色造成1点伤害',(card,player,target)=>{ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('targets',targets.map(i=>i[0])).set('ai',target=>{ var player=_status.event.player; return get.damageEffect(target,player,player); @@ -5650,7 +5650,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ onremove:true, mod:{ playerEnabled:function(card,player,target){ - if(player.getStorage('jsrgtongjue_blocker').contains(target)) return false; + if(player.getStorage('jsrgtongjue_blocker').includes(target)) return false; }, }, mark:true, @@ -5830,7 +5830,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var target=result.targets[0]; event.target=target; player.logSkill('jsrgshoushu',target); - if(!lib.inpile.contains('taipingyaoshu')){ + if(!lib.inpile.includes('taipingyaoshu')){ lib.inpile.push('taipingyaoshu'); } event.card=game.createCard2('taipingyaoshu','heart',3); diff --git a/character/mobile.js b/character/mobile.js index 296333da9..39265f0a4 100644 --- a/character/mobile.js +++ b/character/mobile.js @@ -383,7 +383,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, characterFilter:{ simashi:function(mode){ - if(['boss','chess','tafang','stone'].contains(mode)) return false; + if(['boss','chess','tafang','stone'].includes(mode)) return false; if(mode=='versus') return _status.mode!='three'; return true; }, @@ -508,7 +508,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return event.player.hasHistory('lose',evt=>{ if(event!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('twkujianx')) return true; + if(evt.gaintag_map[i].includes('twkujianx')) return true; } }); }, @@ -667,7 +667,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(current=>{ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current); })) return true; } return false; @@ -678,7 +678,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget(get.prompt('xinlianhuan'),'为'+get.translation(trigger.card)+'额外指定一个目标',(card,player,target)=>{ - return !_status.event.sourcex.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); + return !_status.event.sourcex.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); }).set('sourcex',trigger.targets).set('ai',function(target){ var player=_status.event.player; return get.effect(target,_status.event.card,player,player); @@ -768,7 +768,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var evt=_status.event.getTrigger(),list=_status.event.list; var player=_status.event.player; var target=evt.player; - if(target.countCards('h')&&list.contains('选项二')) return '选项二'; + if(target.countCards('h')&&list.includes('选项二')) return '选项二'; return '选项一'; }).set('list',list); 'step 1' @@ -902,12 +902,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return ui.create.dialog('###教化###选择一种牌的类型,令一名角色从牌堆获得此类型的一张牌'); }, chooseControl:function(event,player){ - var list=['basic','trick','equip'].filter(type=>!player.getStorage('jiaohua').contains(type)); + var list=['basic','trick','equip'].filter(type=>!player.getStorage('jiaohua').includes(type)); list.push('cancel2'); return list; }, check:function(event,player){ - var list=['trick','equip','basic'].filter(type=>!player.getStorage('jiaohua').contains(type)); + var list=['trick','equip','basic'].filter(type=>!player.getStorage('jiaohua').includes(type)); return list[0]; }, backup:function(result,player){ @@ -926,7 +926,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' player.markAuto('jiaohua',[lib.skill.jiaohua_backup.type]); 'step 2' - if(!['basic','trick','equip'].some(type=>!player.getStorage('jiaohua').contains(type))){ + if(!['basic','trick','equip'].some(type=>!player.getStorage('jiaohua').includes(type))){ player.popup('教化'); player.unmarkAuto('jiaohua',player.getStorage('jiaohua')); game.log(player,'清空了','#g【教化】','记录'); @@ -1051,7 +1051,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ mod:{ playerEnabled:function(card,player,target){ if(!player.isPhaseUsing()) return; - if(card.name=='sha'&&!player.getStorage('luanqun_effect').contains(target)) return false; + if(card.name=='sha'&&!player.getStorage('luanqun_effect').includes(target)) return false; }, }, trigger:{player:'useCard1'}, @@ -1397,7 +1397,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{source:'damageBefore'}, filter:function(event,player){ if(!event.card) return false; - return player.getStorage('wufei_effect').contains(event.card); + return player.getStorage('wufei_effect').includes(event.card); }, forced:true, popup:false, @@ -1671,7 +1671,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!get.isLuckyStar(player)){ var list=lib.skill.mbdanggu.changshi.map(i=>i[0]); for(var i of list){ - var select=list.filter(scs=>scs!=i&&!_status.changshiMap[i].contains(i)); + var select=list.filter(scs=>scs!=i&&!_status.changshiMap[i].includes(i)); _status.changshiMap[i].addArray(select.randomGets(get.rand(0,select.length))); } } @@ -1734,7 +1734,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ '
    可选常侍
    ', [others,'character'] ],true).set('filterButton',button=>{ - return _status.event.canChoose.contains(button.link); + return _status.event.canChoose.includes(button.link); }).set('canChoose',list).set('ai',button=>Math.random()*10); } 'step 1' @@ -1785,7 +1785,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ aiValue:function(player,card,num){ - if(['shan','tao','wuxie','caochuan'].contains(card.name)) return num/10; + if(['shan','tao','wuxie','caochuan'].includes(card.name)) return num/10; }, aiUseful:function(){ return lib.skill.mbdanggu.mod.aiValue.apply(this,arguments); @@ -1958,11 +1958,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.reserveOut){ game.broadcastAll(function(player,list){ player.classList.add('out'); - if(list.contains(player.name1)||player.name1=='shichangshi'){ + if(list.includes(player.name1)||player.name1=='shichangshi'){ player.smoothAvatar(false); player.node.avatar.setBackground(player.name1+'_dead','character'); } - if(list.contains(player.name2)||player.name2=='shichangshi'){ + if(list.includes(player.name2)||player.name2=='shichangshi'){ player.smoothAvatar(true); player.node.avatar2.setBackground(player.name2+'_dead','character'); } @@ -2215,7 +2215,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=[]; if(num==2){ var card=get.cardPile2(card=>{ - return ['jiu','xionghuangjiu'].contains(card.name); + return ['jiu','xionghuangjiu'].includes(card.name); }); if(card) cards.push(card); } @@ -2247,7 +2247,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' player.judge(function(result){ var evt=_status.event.getParent('scspicai'); - if(evt&&evt.suits&&evt.suits.contains(get.suit(result))) return 0; + if(evt&&evt.suits&&evt.suits.includes(get.suit(result))) return 0; return 1; }).set('callback',lib.skill.scspicai.callback).judge2=function(result){ return result.bool?true:false; @@ -2323,7 +2323,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ order:1, result:{ target:function(player,target){ - if(target.skipList.contains('phaseDraw')||target.hasSkill('pingkou')) return 0; + if(target.skipList.includes('phaseDraw')||target.hasSkill('pingkou')) return 0; var hs=player.getCards('h').sort(function(a,b){ return b.number-a.number; }); @@ -2421,7 +2421,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var ts=[]; for(var i=0;ievent.player.isFriendOf(target)); }, onremove:true, @@ -2965,7 +2965,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player:function(card,player,target,current){ if(get.tag(card,'damage')){ var bool=false; - if(get.mode()=='identity'&&player.getStorage('mbshihe_prevent').contains(target)) bool=true; + if(get.mode()=='identity'&&player.getStorage('mbshihe_prevent').includes(target)) bool=true; if(get.mode()!='identity'&&player.getStorage('mbshihe_prevent').some(targetx=>target.isFriendOf(targetx))) bool=true; if(bool) return 'zeroplayertarget'; } @@ -3065,7 +3065,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{source:'damageSource'}, forced:true, filter:function(event,player){ - return player.inRange(event.player)&&player.isPhaseUsing()&&event.player.isIn()&&!player.getStorage('mbaosi_inf').contains(event.player); + return player.inRange(event.player)&&player.isPhaseUsing()&&event.player.isIn()&&!player.getStorage('mbaosi_inf').includes(event.player); }, logTarget:'player', content:function(){ @@ -3080,7 +3080,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ intro:{content:'对$使用牌无次数限制'}, mod:{ cardUsableTarget:function(card,player,target){ - if(player.getStorage('mbaosi_inf').contains(target)) return true; + if(player.getStorage('mbaosi_inf').includes(target)) return true; }, }, } @@ -3577,7 +3577,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=[],list2=[]; var targets=game.filterPlayer(current=>get.distance(player,current)>=1); var cards=player.getCards('hs',card=>{ - return player.hasUseTarget(card,false)&&['basic','trick'].contains(get.type(card,false,player))&&get.info(card).allowMultiple!=false; + return player.hasUseTarget(card,false)&&['basic','trick'].includes(get.type(card,false,player))&&get.info(card).allowMultiple!=false; }); var cards2=player.getCards('he').filter(i=>lib.filter.cardDiscardable(i,player,'sbbenxi')).sort((a,b)=>{ return (get.useful(a,player)+player.getUseValue(a)/3)-(get.useful(b,player)+player.getUseValue(b)/3); @@ -3587,7 +3587,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ list=[]; for(var card of cards){ var num=i+1; - if(cards2.slice(0,num).contains(card)) continue; + if(cards2.slice(0,num).includes(card)) continue; if(get.tag(card,'damage')&&i>0) count+=get.effect(player,{name:'draw'},player); var targets2=targets.filter(current=>{ return player.canUse(card,current,false)&&get.distance(player,current)<=num&&get.effect(current,card,player,player)>0; @@ -3634,7 +3634,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(card,player,current)&&get.distance(player,current)==1; + return !event.targets.includes(current)&&lib.filter.targetEnabled2(card,player,current)&&get.distance(player,current)==1; })){ return true; } @@ -3646,7 +3646,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt='为'+get.translation(trigger.card)+'增加至多'+get.cnNumber(num)+'个距离为1的目标?'; trigger.player.chooseTarget(get.prompt('sbbenxi_effect'),prompt,[1,num],function(card,player,target){ var player=_status.event.player; - return !_status.event.targets.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target)&&get.distance(player,target)==1; + return !_status.event.targets.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target)&&get.distance(player,target)==1; }).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -3680,7 +3680,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ charlotte:true, onremove:true, filter:function(event,player){ - return player.getStorage('sbbenxi_effect3').contains(event.card)&&game.hasPlayer2(current=>{ + return player.getStorage('sbbenxi_effect3').includes(event.card)&&game.hasPlayer2(current=>{ return current.hasHistory('damage',evt=>{ return event.card==evt.card; }); @@ -3694,7 +3694,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var evt=_status.event.getParent('phaseUse'); if(!evt||evt.player!=player) return; if(player.hasHistory('useCard',evtx=>{ - return evtx.getParent('phaseUse')==evt&&['basic','trick'].contains(get.type(evtx.card)); + return evtx.getParent('phaseUse')==evt&&['basic','trick'].includes(get.type(evtx.card)); })) return; if(get.tag(card,'damage')||get.type(card)=='equip') return num+10; }, @@ -4403,7 +4403,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, charlotte:true, filter:function(event,player){ - if(!player.getStorage('jingzhong_effect').contains(event.player)||!event.cards.filterInD().length) return false; + if(!player.getStorage('jingzhong_effect').includes(event.player)||!event.cards.filterInD().length) return false; var evt=event.getParent('phaseUse'); if(!evt||evt.player!=event.player) return false; return player.getHistory('useSkill',function(evtx){ @@ -4425,7 +4425,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ popup:false, firstDo:true, filter:function(event,player){ - return player.getStorage('jingzhong_effect').contains(event.player); + return player.getStorage('jingzhong_effect').includes(event.player); }, content:function(){ var storage=player.getStorage('jingzhong_effect'); @@ -5150,7 +5150,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filterCard:true, position:'he', filterTarget:function(card,player,target){ - return target!=player&&_status.event.getParent().targets2.contains(target); + return target!=player&&_status.event.getParent().targets2.includes(target); }, forced:true, selectTarget:[0,1], @@ -5238,7 +5238,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ direct:true, filter:function(event,player){ var suit=get.suit(event.card); - if(!lib.suit.contains(suit)) return false; + if(!lib.suit.includes(suit)) return false; var evt=event.getParent('phaseUse'); if(!evt||player!=evt.player) return false; var list=[],history=player.getHistory('useCard'); @@ -5246,7 +5246,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var i of history){ if(i.getParent('phaseUse')!=evt) continue; var suit2=get.suit(i.card); - if(!lib.suit.contains(suit2)) continue; + if(!lib.suit.includes(suit2)) continue; if(i!=event&&suit2==suit) return false; if(i.finished) list.add(suit2); } @@ -5260,7 +5260,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var i of history){ if(i.getParent('phaseUse')!=evt) continue; var suit2=get.suit(i.card); - if(!lib.suit.contains(suit2)) continue; + if(!lib.suit.includes(suit2)) continue; if(i.finished) list.add(suit2); } var prompt,filterTarget,ai; @@ -5843,7 +5843,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, checkx:function(event,player){ var target=event.player; - return get.attitude(player,target)>0&&(target.hasSkill('pingkou')||target.skipList.contains('phaseUse')||target.isDamaged()&&target.hp<=2||target.needsToDiscard()); + return get.attitude(player,target)>0&&(target.hasSkill('pingkou')||target.skipList.includes('phaseUse')||target.isDamaged()&&target.hp<=2||target.needsToDiscard()); }, content:function(){ 'step 0' @@ -6289,7 +6289,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, content:function(){ var list=player.storage.jueyong,card=list[0].shift(),source=list[1].shift(); - if(player.getExpansions('jueyong').contains(card)){ + if(player.getExpansions('jueyong').includes(card)){ if(source&&source.isIn()&&source.canUse(card,player,false)) source.useCard(card,player,false); else player.loseToDiscardpile(card); } @@ -6368,14 +6368,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ direct:true, filter:function(event,player){ return get.type(event.card,false)!='delay'&&game.hasPlayer(function(current){ - return player!=current&&(!player.storage.discretesidi||!player.storage.discretesidi.contains(current)); + return player!=current&&(!player.storage.discretesidi||!player.storage.discretesidi.includes(current)); }); }, content:function(){ 'step 0' player.chooseTarget(get.prompt('discretesidi'),'选择两名角色a,b建立二元序偶,或仅选择一名角色,建立二元序偶',[1,2],function(card,player,target){ if(ui.selected.targets.length) return true; - return target!=player&&(!player.storage.discretesidi||!player.storage.discretesidi.contains(target)); + return target!=player&&(!player.storage.discretesidi||!player.storage.discretesidi.includes(target)); }).set('complexTarget',true).set('complexSelect',true).set('targetprompt',['第一元素','第二元素']).set('ai',function(target){ var player=_status.event.player; if(!ui.selected.targets.length){ @@ -6383,7 +6383,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return 1+Math.random(); } var targetx=ui.selected.targets[0]; - if(targetx.getEnemies().contains(target)&&targetx.inRange(target)) return Math.random()-0.5; + if(targetx.getEnemies().includes(target)&&targetx.inRange(target)) return Math.random()-0.5; return 0; }).animate=false; 'step 1' @@ -6425,7 +6425,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ popup:false, locked:false, filter:function(event,player){ - if(!player.storage.discretesidi||!player.storage.discretesidi.contains(event.player)) return false; + if(!player.storage.discretesidi||!player.storage.discretesidi.includes(event.player)) return false; if(event.name=='die') return true; if(get.type(event.card,false)!='delay'){ var index=player.storage.discretesidi.indexOf(event.player); @@ -6499,7 +6499,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseTarget(get.prompt2('xinzenhui'),function(card,player,target){ if(player==target) return false; var evt=_status.event.getTrigger(); - return !evt.targets.contains(target)&&lib.filter.targetEnabled2(evt.card,player,target)&&lib.filter.targetInRange(evt.card,player,target); + return !evt.targets.includes(target)&&lib.filter.targetEnabled2(evt.card,player,target)&&lib.filter.targetInRange(evt.card,player,target); }).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -7011,7 +7011,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ '获得'+shans, ]; if(game.hasPlayer(function(current){ - return current!=player&&!trigger.targets.contains(current); + return current!=player&&!trigger.targets.includes(current); })){ if(event.shas.length) choiceList[0]+=(',然后可以令另一名其他角色获得'+get.translation(event.shas)); choiceList.push('令另一名其他角色获得'+shans+',然后你于本回合内使用【杀】的次数上限+1且下一张【杀】的伤害值基数+1'); @@ -7019,7 +7019,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseControl('cancel2').set('choiceList',choiceList).set('prompt',get.prompt('mobilezhongyong')).set('ai',function(){ var evt=_status.event.getParent(),player=evt.player,tri=_status.event.getTrigger(); if(game.hasPlayer(function(current){ - return current!=player&&!tri.targets.contains(current)&&get.attitude(player,current)>0; + return current!=player&&!tri.targets.includes(current)&&get.attitude(player,current)>0; })&&player.countCards('hs',function(card){ return get.name(card)=='sha'&&player.hasValueTarget(card); })>player.getCardUsable({name:'sha'})) return 1; @@ -7035,10 +7035,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 4' event.shas=event.shas.filterInD('od'); if(event.shas.length&&game.hasPlayer(function(current){ - return current!=player&&!trigger.targets.contains(current); + return current!=player&&!trigger.targets.includes(current); })){ player.chooseTarget('是否令一名其他角色获得'+get.translation(event.shas)+'?',function(card,player,target){ - return target!=player&&!_status.event.getTrigger().targets.contains(target); + return target!=player&&!_status.event.getTrigger().targets.includes(target); }).set('ai',function(target){ var player=_status.event.player,att=get.attitude(player,target); if(att<=0) return att; @@ -7057,7 +7057,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.finish(); 'step 6' player.chooseTarget('令一名其他角色获得'+get.translation(event.shans),true,function(card,player,target){ - return target!=player&&!_status.event.getTrigger().targets.contains(target); + return target!=player&&!_status.event.getTrigger().targets.includes(target); }).set('ai',function(target){ var player=_status.event.player,att=get.attitude(player,target); if(att<=0) return att; @@ -7174,7 +7174,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var num=_status.event.maxNum; if(ui.selected.cards.length>=num-1){ var cards=player.getCards('he',function(cardx){ - return cardx!=card&&!ui.selected.cards.contains(cardx); + return cardx!=card&&!ui.selected.cards.includes(cardx); }); var val=0; for(var cardx of cards) val+=get.value(cardx); @@ -7482,7 +7482,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'挑衅:对'+get.translation(player)+'使用一张杀,或令其弃置你的一张牌').set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.filterTarget.apply(this,arguments); }).set('sourcex',player); "step 1" @@ -8270,7 +8270,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.target=target; player.logSkill('tianshu',target); player.discard(result.cards); - if(!lib.inpile.contains('taipingyaoshu')){ + if(!lib.inpile.includes('taipingyaoshu')){ lib.inpile.push('taipingyaoshu'); event.card=game.createCard2('taipingyaoshu','heart',3); } @@ -8282,7 +8282,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!event.card) event.finish(); else target.gain(event.card,'gain2'); 'step 2' - if(target.getCards('h').contains(card)&&get.name(card,target)=='taipingyaoshu') target.chooseUseTarget(card,'nopopup',true); + if(target.getCards('h').includes(card)&&get.name(card,target)=='taipingyaoshu') target.chooseUseTarget(card,'nopopup',true); }, }, //界伏寿 @@ -8327,14 +8327,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ direct:true, filter:function(event,player){ return event.card.name=='sha'&&game.hasPlayer(function(current){ - return current!=player&&!event.targets.contains(current)&&lib.filter.targetEnabled(event.card,event.player,current); + return current!=player&&!event.targets.includes(current)&&lib.filter.targetEnabled(event.card,event.player,current); }); }, content:function(){ "step 0" player.chooseTarget(get.prompt2('xinqiuyuan'),function(card,player,target){ var evt=_status.event.getTrigger(); - return target!=player&&!evt.targets.contains(target)&&lib.filter.targetEnabled(evt.card,evt.player,target); + return target!=player&&!evt.targets.includes(target)&&lib.filter.targetEnabled(evt.card,evt.player,target); }).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -8580,7 +8580,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else event.finish(); 'step 2' var card=result.cards[0]; - if(card&&player.getCards('h').contains(card)&&game.hasPlayer(function(current){ + if(card&&player.getCards('h').includes(card)&&game.hasPlayer(function(current){ return current!=player&¤t!=trigger.player; })){ event.card=card; @@ -8779,7 +8779,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player!=event.player&&event.player.isIn()&&event.player.getHistory('useCard',function(evt){ if(evt.targets&&evt.targets.length){ var targets=evt.targets.slice(0); - while(targets.contains(event.player)) targets.remove(event.player); + while(targets.includes(event.player)) targets.remove(event.player); return targets.length>0; } return false; @@ -8866,7 +8866,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } var card=result.cards[0]; event.card=card; - if(player.getCards('h').contains(card)&&get.type(card)=='equip') player.chooseUseTarget(card,true).nopopup=true; + if(player.getCards('h').includes(card)&&get.type(card)=='equip') player.chooseUseTarget(card,true).nopopup=true; 'step 2' if(get.subtype(card,false)=='equip1') target.damage(); }, @@ -8981,7 +8981,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ charlotte:true, filter:function(event,player){ if(event.name!='gain'&&event.player!=player.storage.jinglve2) return false; - return event.name=='die'||(event.cards.contains(player.storage.jinglve3)&&(event.name=='gain'||event.position!=ui.ordering&&event.position!=ui.discardPile)); + return event.name=='die'||(event.cards.includes(player.storage.jinglve3)&&(event.name=='gain'||event.position!=ui.ordering&&event.position!=ui.discardPile)); }, content:function(){ player.removeSkill('jinglve2'); @@ -8994,9 +8994,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.player&&event.player!=player.storage.jinglve2) return false; var card=player.storage.jinglve3; - if(event.name=='phase') return event.player.getCards('hej').contains(card); - if(event.name=='useCard') return event.cards.contains(card); - return (get.position(card,true)=='d'&&event.getd().contains(card)); + if(event.name=='phase') return event.player.getCards('hej').includes(card); + if(event.name=='useCard') return event.cards.includes(card); + return (get.position(card,true)=='d'&&event.getd().includes(card)); }, forced:true, charlotte:true, @@ -9065,7 +9065,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var character=lib.character[i]; if(character&&character[3]){ for(var j of character[3]){ - if(skills.contains(j)||j=='yuri_wangxi'||target.hasSkill('j')) continue; + if(skills.includes(j)||j=='yuri_wangxi'||target.hasSkill('j')) continue; var info=get.info(j); if(info&&info.zhuSkill){ skills.add(j); @@ -9128,7 +9128,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, logTarget:'source', filter:function(event,player){ - return player.storage.hongyi2.contains(event.source); + return player.storage.hongyi2.includes(event.source); }, content:function(){ 'step 0' @@ -9266,14 +9266,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(player==event.player) return false; var num=event.player.getHistory('useCard',function(evt){ - return evt.targets.contains(player); + return evt.targets.includes(player); }).length; return num==0||event.player.isIn()&&num<=player.countCards('he'); }, content:function(){ 'step 0' var num=trigger.player.getHistory('useCard',function(evt){ - return evt.targets.contains(player); + return evt.targets.includes(player); }).length; event.num=num; if(num==0){ @@ -9343,7 +9343,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 5' var hs=target.getCards('h'); cards=cards.filter(function(card){ - return hs.contains(card)&&get.name(card,target)=='sha'&&target.canUse({ + return hs.includes(card)&&get.name(card,target)=='sha'&&target.canUse({ name:'sha', isCard:true, cards:[card], @@ -9522,7 +9522,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }).set('cards',event.cards); 'step 1' for(var i=event.cards.length-1;i>=0;i--){ - if(result.bool&&result.links.contains(event.cards[i])){ + if(result.bool&&result.links.includes(event.cards[i])){ player.gain(event.cards[i],'gain2'); } else{ @@ -9546,7 +9546,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!player.countCards('he')) list.remove('弃牌'); player.chooseControl(list,function(){ var player=_status.event.player; - if(list.contains('弃牌')){ + if(list.includes('弃牌')){ if(player.countCards('h')>3&&player.countCards('h','sha')>1){ return '弃牌'; } @@ -9822,7 +9822,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } } 'step 2' - if(target.getCards('h').contains(card)&&get.type(card)=='equip'){ + if(target.getCards('h').includes(card)&&get.type(card)=='equip'){ target.chooseUseTarget(card,true); } }, @@ -10121,7 +10121,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var names=[]; while(true){ var card=get.cardPile(function(carde){ - return carde.name!='du'&&!names.contains(carde.name); + return carde.name!='du'&&!names.includes(carde.name); }); if(card){ cards.push(card); @@ -10317,7 +10317,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var result=event.result||result; for(var i=0;i=hs.length&&ss.contains(button.link)||hn>=ss.length&&hs.contains(button.link)); + return !(sn>=hs.length&&ss.includes(button.link)||hn>=ss.length&&hs.includes(button.link)); }); next.set('selectButton',function(){ if(ui.selected.buttons.length==0) return 2; @@ -10859,7 +10859,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hn=0; var ub=ui.selected.buttons; for(var i=0;i(card!=_status.rw_zhuge_temp&&!ui.selected.cards.contains(card)))){ + if(!cards.length||player.hasSkill('rw_zhuge_skill',null,false)||cards.some(card=>(card!=_status.rw_zhuge_temp&&!ui.selected.cards.includes(card)))){ if(get.is.versus()||get.is.changban()){ return num+3; } @@ -11407,7 +11407,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ cardEnabled2:function(card,player){ if(!_status.event.addCount_extra||player.hasSkill('rw_zhuge_skill',null,false)) return; var cards=player.getEquips('rewrite_zhuge'); - if(card&&cards.contains(card)){ + if(card&&cards.includes(card)){ try{ var cardz=get.card(); } @@ -11626,7 +11626,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else if(card.name=='tao'){ var hp=player.maxHp-player.hp; - if(trigger.targets.contains(player)) hp--; + if(trigger.targets.includes(player)) hp--; return hp>0?1:0; } return 0; @@ -11726,7 +11726,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.controls=[]; for(var i=1;i<=6;i++) event.controls.push(ui.create.control('qiaosi_c'+i,function(link){ var event=_status.event; - if(event.finishedx.contains(link)) return; + if(event.finishedx.includes(link)) return; event.status[link]+=get.rand.apply(get,event.map[link]); if(event.status[link]>=100){ event.status[link]=100; @@ -11791,39 +11791,39 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } var cards=[]; var list2=[]; - if(list.contains('qiaosi_c1')){ + if(list.includes('qiaosi_c1')){ list2.push('trick'); list2.push('trick'); } - if(list.contains('qiaosi_c2')){ - if(list.contains('qiaosi_c1')) list2.push(['sha','jiu']); + if(list.includes('qiaosi_c2')){ + if(list.includes('qiaosi_c1')) list2.push(['sha','jiu']); else list2.push(Math.random()<0.66?'equip':['sha','jiu']); } - if(list.contains('qiaosi_c3')){ + if(list.includes('qiaosi_c3')){ list2.push([Math.random()<0.66?'sha':'jiu']) } - if(list.contains('qiaosi_c4')){ + if(list.includes('qiaosi_c4')){ list2.push([Math.random()<0.66?'shan':'tao']) } - if(list.contains('qiaosi_c5')){ - if(list.contains('qiaosi_c6')) list2.push(['shan','tao']); + if(list.includes('qiaosi_c5')){ + if(list.includes('qiaosi_c6')) list2.push(['shan','tao']); else list2.push(Math.random()<0.66?'trick':['shan','tao']); } - if(list.contains('qiaosi_c6')){ + if(list.includes('qiaosi_c6')){ list2.push('equip'); list2.push('equip'); } while(list2.length){ var filter=list2.shift(); var card=get.cardPile(function(x){ - if(cards.contains(x)) return false; + if(cards.includes(x)) return false; if(typeof filter=='string'&&get.type(x,'trick')==filter) return true; - if(typeof filter=='object'&&filter.contains(x.name)) return true; + if(typeof filter=='object'&&filter.includes(x.name)) return true; }); if(card) cards.push(card); else{ var card=get.cardPile(function(x){ - return !cards.contains(x); + return !cards.includes(x); }); if(card) cards.push(card); } @@ -11909,10 +11909,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else event.lower.push(event.current); event.current=event.current.next; - if(event.current!=player&&!event.acted.contains(event.current)) event.goto(1); + if(event.current!=player&&!event.acted.includes(event.current)) event.goto(1); 'step 3' for(var i=0;i=lib.suit.length) return false; return player.countCards('h',function(card){ - return _status.connectMode||!list.contains(get.suit(card)); + return _status.connectMode||!list.includes(get.suit(card)); })>0; }, content:function(){ @@ -14788,7 +14788,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }).set('ai',function(card){ var player=_status.event.player; if(player.hasUseTarget(card)&&!player.hasValueTarget(card)) return 0; - if(['sha','shan','wuxie','caochuan'].contains(card.name)) return 2+Math.random(); + if(['sha','shan','wuxie','caochuan'].includes(card.name)) return 2+Math.random(); return 1+Math.random(); }).set('complexCard',true); 'step 1' @@ -14838,7 +14838,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(!event.ss||!event.ss.length) return false; for(var i in event.gaintag_map){ - if(event.gaintag_map[i].contains('gnjinfan')) return true; + if(event.gaintag_map[i].includes('gnjinfan')) return true; return false; } }, @@ -14846,10 +14846,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' var cards=[]; for(var i of trigger.ss){ - if(!trigger.gaintag_map[i.cardid]||!trigger.gaintag_map[i.cardid].contains('gnjinfan')) continue; + if(!trigger.gaintag_map[i.cardid]||!trigger.gaintag_map[i.cardid].includes('gnjinfan')) continue; var suit=get.suit(i,false); var card=get.cardPile2(function(card){ - return !cards.contains(card)&&get.suit(card,false)==suit; + return !cards.includes(card)&&get.suit(card,false)==suit; }); if(card) cards.push(card); } @@ -14876,7 +14876,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'射却:是否对'+get.translation(trigger.player)+'使用一张杀?').set('logSkill','gnsheque').set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.targetEnabled.apply(this,arguments); }).set('sourcex',trigger.player).set('oncard',function(card){ try{ diff --git a/character/mtg.js b/character/mtg.js index 0e3ef6aef..b2d784bba 100644 --- a/character/mtg.js +++ b/character/mtg.js @@ -72,7 +72,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'dieAfter'}, forced:true, filter:function(event,player){ - return !event.player.isMin()&&![player.name,player.name1,player.name2].contains(event.player.name); + return !event.player.isMin()&&![player.name,player.name1,player.name2].includes(event.player.name); }, content:function(){ var skills=lib.character[trigger.player.name][3].slice(0); diff --git a/character/offline.js b/character/offline.js index 6c4a11617..cfebf0d49 100644 --- a/character/offline.js +++ b/character/offline.js @@ -251,7 +251,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ charlotte:true, onremove:true, filter:function(event,player){ - return event.card&&event.card.name=='sha'&&event.card.storage&&event.card.storage.vtbguisha_targets&&event.card.storage.vtbguisha_targets.contains(event.player); + return event.card&&event.card.name=='sha'&&event.card.storage&&event.card.storage.vtbguisha_targets&&event.card.storage.vtbguisha_targets.includes(event.player); }, content:function(){ trigger.num++; @@ -373,7 +373,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ targets.sortBySeat(); player.logSkill('vtbtaoyan',targets); game.broadcastAll(function(){ - if(!lib.inpile.contains('tao')){ + if(!lib.inpile.includes('tao')){ lib.inpile.add('tao'); } }); @@ -407,13 +407,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(typeof _status.vtbtaoyan_count!='number') return false; var cards=event.getd(); return cards.some(card=>{ - return _status.vtbtaoyan_cards.contains(card.cardid); + return _status.vtbtaoyan_cards.includes(card.cardid); }); }, content:function(){ var cards=trigger.getd(),remove=[]; for(var card of cards){ - if(_status.vtbtaoyan_cards.contains(card.cardid)){ + if(_status.vtbtaoyan_cards.includes(card.cardid)){ _status.vtbtaoyan_cards.remove(card.cardid); remove.push(card); } @@ -552,10 +552,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger.directHit.addArray(game.filterPlayer()); var num=player.countMark('vtbyaoli_effect'); if(!game.hasPlayer(current=>{ - return !trigger.targets.contains(current)&&lib.filter.targetEnabled2(trigger.card,player,current); + return !trigger.targets.includes(current)&&lib.filter.targetEnabled2(trigger.card,player,current); })) event.finish(); else player.chooseTarget('媱丽:是否为'+get.translation(trigger.card)+'额外指定'+(num>1?'至多':'')+get.cnNumber(num)+'个目标?',num==1?1:[1,num],(card,player,target)=>{ - return !_status.event.sourcex.contains(target)&&player.canUse(_status.event.card,target); + return !_status.event.sourcex.includes(target)&&player.canUse(_status.event.card,target); }).set('sourcex',trigger.targets).set('ai',target=>{ var player=_status.event.player; return get.effect(target,_status.event.card,player,player); @@ -676,7 +676,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ links:[cards[0]], } else player.choosePlayerCard(true,target,'e').set('filterButton',function(button){ - return _status.event.cards.contains(button.link); + return _status.event.cards.includes(button.link); }).set('cards',cards) } else player.choosePlayerCard(true,target,'e').set('filterButton',function(button){ @@ -844,12 +844,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(!_status.psshouli_equips||!_status.psshouli_equips.length) return false; var cards=event.getd(); - return cards.filter(i=>_status.psshouli_equips.contains(i.cardid)).length; + return cards.filter(i=>_status.psshouli_equips.includes(i.cardid)).length; }, content:function(){ var cards=trigger.getd(),remove=[]; for(var card of cards){ - if(_status.psshouli_equips.contains(card.cardid)){ + if(_status.psshouli_equips.includes(card.cardid)){ _status.psshouli_equips.remove(card.cardid); remove.push(card); } @@ -902,7 +902,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(_status.event.goon) return 12-get.value(card); if(player.countCards('h')>50) return 0; if(player==_status.currentPhase){ - if(['shan','caochuan','tao','wuxie'].contains(card.name)) return 8-get.value(card); + if(['shan','caochuan','tao','wuxie'].includes(card.name)) return 8-get.value(card); return 6-get.value(card); } return 5.5-get.value(card); @@ -920,7 +920,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player:(card,player,target)=>{ if(typeof card!=='object') return; let suit=get.suit(card); - if(!lib.suit.contains(suit)||player.hasCard(function(i){ + if(!lib.suit.includes(suit)||player.hasCard(function(i){ return get.suit(i,player)==suit; },'h')) return; return [1,game.countPlayer(current=>{ @@ -1100,7 +1100,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ check:function(button){ if(_status.event.getParent().type!='phase') return 1; var player=_status.event.player; - if(['wugu','zhulu_card','yiyi','lulitongxin','lianjunshengyan','diaohulishan'].contains(button.link[2])) return 0; + if(['wugu','zhulu_card','yiyi','lulitongxin','lianjunshengyan','diaohulishan'].includes(button.link[2])) return 0; return player.getUseValue({ name:button.link[2], nature:button.link[3], @@ -1124,7 +1124,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, hiddenCard:function(player,name){ - if(!lib.inpile.contains(name)) return false; + if(!lib.inpile.includes(name)) return false; var type=get.type(name); return (type=='basic'||type=='trick')&&player.countMark('pkwuku')>0&&!player.hasSkill('pkmiewu2'); }, @@ -1243,7 +1243,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, direct:true, filter:function(event,player){ - return get.type2(event.card)=='trick'&&event.player!=player&&event.targets&&event.targets.contains(player)&&event.cards.filterInD('odj').length&&player.countCards('h'); + return get.type2(event.card)=='trick'&&event.player!=player&&event.targets&&event.targets.includes(player)&&event.cards.filterInD('odj').length&&player.countCards('h'); }, content:function(){ 'step 0' @@ -1347,7 +1347,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, enable:['chooseToUse','chooseToRespond'], hiddenCard:function(player,name){ - if(player!=_status.currentPhase&&!player.hasSkill('psqichu_used')&&get.type(name)=='basic'&&lib.inpile.contains(name)) return true; + if(player!=_status.currentPhase&&!player.hasSkill('psqichu_used')&&get.type(name)=='basic'&&lib.inpile.includes(name)) return true; }, filter:function(event,player){ if(event.responded||player==_status.currentPhase||player.hasSkill('psqichu_used')) return false; @@ -1367,7 +1367,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } var aozhan=player.hasSkill('aozhan'); player.chooseButton(['七出:选择要'+(evt.name=='chooseToUse'?'使用':'打出')+'的牌',cards]).set('filterButton',function(button){ - return _status.event.cards.contains(button.link); + return _status.event.cards.includes(button.link); }).set('cards',cards.filter(function(card){ if(get.type(card)!='basic') return false; if(aozhan&&card.name=='tao'){ @@ -1716,21 +1716,21 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.suits=suits; } 'step 2' - if(event.suits.contains('heart')){ + if(event.suits.includes('heart')){ if(targets[1].countGainableCards('hej',targets[0])>0){ targets[0].gainPlayerCard(targets[1],'hej',true); } } 'step 3' - if(event.suits.contains('diamond')){ + if(event.suits.includes('diamond')){ targets[1].damage(targets[0]); } 'step 4' - if(event.suits.contains('spade')){ + if(event.suits.includes('spade')){ targets[0].loseHp(); } 'step 5' - if(event.suits.contains('club')){ + if(event.suits.includes('club')){ if(targets[0].countDiscardableCards(targets[0],'he')){ targets[0].chooseToDiscard(2,true,'he'); } @@ -1850,7 +1850,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ prevent:{ trigger:{source:'damageBegin2'}, filter:function(event,player){ - return player.getStorage('psliushang_prevent').contains(event.player); + return player.getStorage('psliushang_prevent').includes(event.player); }, forced:true, onremove:true, @@ -1862,7 +1862,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ effect:{ target:function (card,player,target,current){ - if(player.getStorage('psliushang_prevent').contains(target)&&get.tag(card,'damage')){ + if(player.getStorage('psliushang_prevent').includes(target)&&get.tag(card,'damage')){ return 'zeroplayertarget'; } }, @@ -2185,7 +2185,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ check:function(button){ if(_status.event.getParent().type!='phase') return 1; var player=_status.event.player; - if(['wugu','zhulu_card','yiyi','lulitongxin','lianjunshengyan','diaohulishan'].contains(button.link[2])) return 0; + if(['wugu','zhulu_card','yiyi','lulitongxin','lianjunshengyan','diaohulishan'].includes(button.link[2])) return 0; return player.getUseValue({ name:button.link[2], nature:button.link[3], @@ -2241,7 +2241,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, hiddenCard:function(player,name){ - if(!lib.inpile.contains(name)) return false; + if(!lib.inpile.includes(name)) return false; var type=get.type(name); return (type=='basic'||type=='trick')&&player.countCards('she')>0&&!player.hasSkill('pslongyin_used'); }, @@ -2544,13 +2544,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ return event.card.storage&&event.card.storage.pssheji&&event.player.hasCard(card=>{ if(!lib.filter.canBeGained(card,player,event.player)) return false; - return ['equip1','equip3','equip4','equip6'].contains(get.subtype(card)); + return ['equip1','equip3','equip4','equip6'].includes(get.subtype(card)); },'e'); }, content:function(){ var cards=trigger.player.getCards('e',card=>{ if(!lib.filter.canBeGained(card,player,trigger.player)) return false; - return ['equip1','equip3','equip4','equip6'].contains(get.subtype(card)); + return ['equip1','equip3','equip4','equip6'].includes(get.subtype(card)); }); if(cards.length) player.gain(cards,'giveAuto',trigger.player); } @@ -2671,8 +2671,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ logTarget:'player', content:function(){ var list=[],target=trigger.player; - if(target.name1&&!target.isUnseen(0)&&target.name1.indexOf('gz_shibing')!=0&&_status.characterlist.contains(target.name1)) list.push(target.name1); - if(target.name2&&!target.isUnseen(1)&&target.name2.indexOf('gz_shibing')!=0&&_status.characterlist.contains(target.name1)) list.push(target.name2); + if(target.name1&&!target.isUnseen(0)&&target.name1.indexOf('gz_shibing')!=0&&_status.characterlist.includes(target.name1)) list.push(target.name1); + if(target.name2&&!target.isUnseen(1)&&target.name2.indexOf('gz_shibing')!=0&&_status.characterlist.includes(target.name1)) list.push(target.name2); _status.characterlist.removeArray(list); if(player==trigger.source) list.addArray(_status.characterlist.randomRemove(1)); if(list.length){ @@ -2950,7 +2950,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player.getHistory('lose',function(evt2){ if(evt2.getParent()!=evt) return false; for(var i in evt2.gaintag_map){ - if(evt2.gaintag_map[i].contains('liangfan')) return true; + if(evt2.gaintag_map[i].includes('liangfan')) return true; } return false; }).length>0; @@ -3425,14 +3425,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.name=='lose'){ for(var i in event.gaintag_map){ - if(event.gaintag_map[i].contains('yjshicai_clear')) return true; + if(event.gaintag_map[i].includes('yjshicai_clear')) return true; } return false; } return player.hasHistory('lose',function(evt){ if(evt.getParent()!=event) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('yjshicai_clear')) return true; + if(evt.gaintag_map[i].includes('yjshicai_clear')) return true; } }); }, @@ -3537,7 +3537,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'耀令:对'+get.translation(targets[1])+'使用一张杀,或令'+get.translation(player)+'弃置你的一张牌').set('targetRequired',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.filterTarget.apply(this,arguments); }).set('sourcex',targets[1]); } @@ -3660,7 +3660,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ direct:true, filter:function (event,player){ if(player.hp<1||!player.countDiscardableCards(player,'h')) return false; - if(['damage','loseHp','recover'].contains(event.name)) return true; + if(['damage','loseHp','recover'].includes(event.name)) return true; var evt=event.getl(player); if(event.name=='equip'&&event.player==player) return !evt||evt.cards.length!=1; if(!evt||!evt.es.length) return false; @@ -3898,13 +3898,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ onremove:true, mod:{ cardEnabled:function(card,player){ - if(player.getStorage('yjxiandao_block').contains(get.suit(card))) return false; + if(player.getStorage('yjxiandao_block').includes(get.suit(card))) return false; }, cardRespondable:function(card,player){ - if(player.getStorage('yjxiandao_block').contains(get.suit(card))) return false; + if(player.getStorage('yjxiandao_block').includes(get.suit(card))) return false; }, cardSavable:function(card,player){ - if(player.getStorage('yjxiandao_block').contains(get.suit(card))) return false; + if(player.getStorage('yjxiandao_block').includes(get.suit(card))) return false; }, }, mark:true, @@ -3956,7 +3956,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.getParent('yjyibing').player==player) return false; var evt=event.getParent('phaseDraw'),hs=player.getCards('h'),cards=event.getg(player); return cards.length>0&&(!evt||evt.player!=player)&&cards.filter(function(card){ - return hs.contains(card)&&game.checkMod(card,player,'unchanged','cardEnabled2',player)!==false; + return hs.includes(card)&&game.checkMod(card,player,'unchanged','cardEnabled2',player)!==false; }).length==cards.length&&player.hasUseTarget({ name:'sha', cards:event.cards, @@ -4292,7 +4292,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'是否对'+get.translation(player)+'使用一张杀?').set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.filterTarget.apply(this,arguments); }).set('sourcex',player); }, @@ -4465,7 +4465,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else{ var evt=event.getParent(); - if(evt.name!='orderingDiscard'||!evt.relatedEvent||evt.relatedEvent.player!=player||!['useCard','respond'].contains(evt.relatedEvent.name)) return false; + if(evt.name!='orderingDiscard'||!evt.relatedEvent||evt.relatedEvent.player!=player||!['useCard','respond'].includes(evt.relatedEvent.name)) return false; return event.cards.filterInD('d').length>0; } }, @@ -4488,7 +4488,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ dialog.push(cards2); } player.chooseButton(dialog,true,cards.length).set('filterButton',function(button){ - return _status.event.cards.contains(button.link); + return _status.event.cards.includes(button.link); }).set('cards',cards); } 'step 2' @@ -4968,7 +4968,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "step 0" player.chooseTarget(get.prompt('sphuangen'), [1,Math.min(player.hp,trigger.targets.length)],function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('ai',function(target){ return -get.effect(target,trigger.card,trigger.player,_status.event.player); }).set('targets',trigger.targets); @@ -5325,13 +5325,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ var hs=player.getCards('h'); return event.type!='xinmanjuan'&&event.getg(player).filter(function(card){ - return hs.contains(card); + return hs.includes(card); }).length>0; }, content:function(){ "step 0" var hs=player.getCards('h'),cards=trigger.getg(player).filter(function(card){ - return hs.contains(card); + return hs.includes(card); }); event.cards=cards; event.rawCards=cards.slice(0); @@ -5343,7 +5343,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var number=get.number(event.card); for(var i=0;i=2)||player.skipList.contains('phaseUse'); + return (player.countCards('h')<=2&&player.getDamagedHp()>=2)||player.skipList.includes('phaseUse'); }, filter:function(event,player){ return !event.numFixed&&player.isDamaged(); @@ -419,7 +419,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },get.prompt2('oldjiefan')).set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.currentPhase&&!ui.selected.targets.contains(_status.currentPhase)) return false; + if(target!=_status.currentPhase&&!ui.selected.targets.includes(_status.currentPhase)) return false; return lib.filter.filterTarget.apply(this,arguments); }).set('logSkill','oldjiefan').set('oncard',function(){ _status.event.player.addTempSkill('oldjiefan_recover'); @@ -521,7 +521,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, enable:['chooseToUse','chooseToRespond'], hiddenCard:function(player,name){ - return (lib.inpile.contains(name)&&player.countCards('hs')>0); + return (lib.inpile.includes(name)&&player.countCards('hs')>0); }, filter:function(event,player){ if(!player.countCards('hs')) return false; @@ -571,11 +571,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(typeof savable=='function') savable=savable(card,player,player); return savable; },'hs')){ - if(!player.getStorage('old_guhuo_cheated').contains(card.name+card.nature)&&Math.random()<0.4) return 1; + if(!player.getStorage('old_guhuo_cheated').includes(card.name+card.nature)&&Math.random()<0.4) return 1; return 0; } var val=_status.event.getParent().type=='phase'?player.getUseValue(card):1; - if(player.getStorage('old_guhuo_cheated').contains(card.name+card.nature)&&!player.hasCard(function(cardx){ + if(player.getStorage('old_guhuo_cheated').includes(card.name+card.nature)&&!player.hasCard(function(cardx){ if(card.name==cardx.name){ if(card.name!='sha') return true; return get.is.sameNature(card,cardx); @@ -627,7 +627,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }); var cardx=lib.skill.old_guhuo_backup.viewAs; if(enemyNum){ - if(card.name==cardx.name&&(card.name!='sha'||get.is.sameNature(card,cardx))||player.getStorage('old_guhuo_cheated').contains(card.name+card.nature)) return (get.suit(card)=='heart'?8:4)+Math.random()*3; + if(card.name==cardx.name&&(card.name!='sha'||get.is.sameNature(card,cardx))||player.getStorage('old_guhuo_cheated').includes(card.name+card.nature)) return (get.suit(card)=='heart'?8:4)+Math.random()*3; else if(lib.skill.old_guhuo_backup.aiUse<0.5&&!player.isDying()) return 0; } return get.value(cardx)-get.value(card); @@ -777,7 +777,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(eff<-7) return (Math.random()+Math.pow(-(eff+7)/8,2))/Math.sqrt(evt.betrayers.length+1)+(player.hp-3)*0.05+Math.max(0,4-evt.player.hp)*0.05-(player.hp==1&&!get.tag(card,'damage')?0.2:0); return Math.pow((get.value(card,evt.player,'raw')-4)/(eff==0?3.1:10),2)/Math.sqrt(evt.betrayers.length||1)+(player.hp-3)*0.05+Math.max(0,4-evt.player.hp)*0.05; } - if(evt.player.getStorage('old_guhuo_cheated').contains(card.name+card.nature)) return Math.random()+0.3; + if(evt.player.getStorage('old_guhuo_cheated').includes(card.name+card.nature)) return Math.random()+0.3; } return Math.random(); }); @@ -921,7 +921,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, content:function(){ var winners=player.getFriends(); - game.over(player==game.me||winners.contains(game.me)); + game.over(player==game.me||winners.includes(game.me)); }, }, oldanxu:{ diff --git a/character/ow.js b/character/ow.js index 6bf7c7667..37ed75d9f 100644 --- a/character/ow.js +++ b/character/ow.js @@ -106,7 +106,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ delete player.storage.woliu2; for(var i=0;iplayer.countCards('h')&&!player.skipList.contains('phaseUse')&&!player.skipList.contains('phaseDiscard'); + return Math.min(5,player.hp)>player.countCards('h')&&!player.skipList.includes('phaseUse')&&!player.skipList.includes('phaseDiscard'); }, check:function(event,player){ var nh=player.countCards('h'); @@ -1638,7 +1638,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.attitude(player,min[i])>0) return 0; if(min[i].countCards('h')<=1&&get.distance(player,min[i],'attack')<=1) return 0; } - if(min.contains(target)) return -1; + if(min.includes(target)) return -1; return 0; } } @@ -1767,7 +1767,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ targetInRange:function(card,player,target){ - if(target.hasSkill('juji3')&&Array.isArray(target.storage.juji3)&&target.storage.juji3.contains(player)){ + if(target.hasSkill('juji3')&&Array.isArray(target.storage.juji3)&&target.storage.juji3.includes(player)){ return true; } } @@ -1783,7 +1783,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ targetInRange:function(card,player,target){ - if(Array.isArray(player.storage.juji3)&&player.storage.juji3.contains(target)){ + if(Array.isArray(player.storage.juji3)&&player.storage.juji3.includes(target)){ return true; } } diff --git a/character/refresh.js b/character/refresh.js index e9dd2a57d..e2cdd8732 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -193,7 +193,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(current=>{ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current); })) return true; } return false; @@ -204,7 +204,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget(get.prompt('ollianhuan'),'为'+get.translation(trigger.card)+'额外指定一个目标',(card,player,target)=>{ - return !_status.event.sourcex.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); + return !_status.event.sourcex.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); }).set('sourcex',trigger.targets).set('ai',function(target){ var player=_status.event.player; return get.effect(target,_status.event.card,player,player); @@ -232,7 +232,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ hiddenCard:function(player,name){ if(get.type(name)!='basic') return false; const list=player.getStorage('rehuomo'); - if(list.contains(name)) return false; + if(list.includes(name)) return false; return player.hasCard(function(card){ return get.color(card)=='black'&&get.type(card)!='basic'; },'eh'); @@ -243,7 +243,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ },'eh')) return false; const list=player.getStorage('rehuomo'); for(let name of lib.inpile){ - if(get.type(name)!='basic'||list.contains(name)) continue; + if(get.type(name)!='basic'||list.includes(name)) continue; let card={name:name,isCard:true}; if(event.filterCard(card,player,event)) return true; if(name=='sha'){ @@ -260,7 +260,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ const vcards=[]; const list=player.getStorage('rehuomo'); for(let name of lib.inpile){ - if(get.type(name)!='basic'||list.contains(name)) continue; + if(get.type(name)!='basic'||list.includes(name)) continue; let card={name:name,isCard:true}; if(event.filterCard(card,player,event)) vcards.push(['基本','',name]); if(name=='sha'){ @@ -337,7 +337,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=_status.event.player; var event=_status.event; var list=player.getStorage('rehuomo'); - if(!list.contains('jiu')&&event.filterCard({name:'jiu'},player,event)&&get.effect(player,{name:'jiu'})>0){ + if(!list.includes('jiu')&&event.filterCard({name:'jiu'},player,event)&&get.effect(player,{name:'jiu'})>0){ return 3.1; } return 2.9; @@ -353,10 +353,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=player.getStorage('rehuomo'); if(tag=='respondSha'){ if(arg!='use') return false; - if(list.contains('sha')) return false; + if(list.includes('sha')) return false; } else if(tag=='respondShan'){ - if(list.contains('shan')) return false; + if(list.includes('shan')) return false; } } else{ @@ -373,7 +373,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, trigger:{player:'useCardAfter'}, filter:function(event,player){ - return event.targets&&event.targets.contains(player); + return event.targets&&event.targets.includes(player); }, frequent:true, content:function(){ @@ -437,7 +437,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ num+=get.number(cards[i],false) if(num>36) break; } - return list.contains(button.link)?1:0; + return list.includes(button.link)?1:0; } }); 'step 3' @@ -934,11 +934,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ derivation:'reqicai', filter:function(event,player){ if(event.name=='disableEquip'||event.name=='enableEquip'){ - if(!event.slots.contains('equip5')) return false; + if(!event.slots.includes('equip5')) return false; } else if(event.name!='phase'&&(event.name!='equip'||event.player!=player)){ var evt=event.getl(player); - if(!evt||!evt.es||!evt.es.some(i=>get.subtypes(i).contains('equip5'))) return false; + if(!evt||!evt.es||!evt.es.some(i=>get.subtypes(i).includes('equip5'))) return false; } var skills=player.additionalSkills['relinglong']; return (skills&&skills.length>0)!=player.hasEmptySlot(5); @@ -1257,7 +1257,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:'wangxi', trigger:{player:'damageEnd',source:'damageSource'}, filter:function(event){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return event.num&&event.source&&event.player&& event.player.isIn()&&event.source.isIn()&&event.source!=event.player; }, @@ -1537,7 +1537,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=current.getExpansions('remoshi_stuck'); if(!cards.length) return false; var evt=event.getl(current); - if(evt&&evt.cards2&&evt.cards2.some(i=>get.subtypes(i).some(slot=>keys.contains(slot)))) return true; + if(evt&&evt.cards2&&evt.cards2.some(i=>get.subtypes(i).some(slot=>keys.includes(slot)))) return true; }); }, direct:true, @@ -1549,7 +1549,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=current.getExpansions('remoshi_stuck'); if(!cards.length) return false; var evt=trigger.getl(current); - if(evt&&evt.cards2&&evt.cards2.some(i=>get.subtypes(i).some(slot=>keys.contains(slot)))) return true; + if(evt&&evt.cards2&&evt.cards2.some(i=>get.subtypes(i).some(slot=>keys.includes(slot)))) return true; }); event.targets=targets; 'step 1' @@ -1609,7 +1609,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filterTarget:function(card,player,target){ if(target==player) return false; var stat=player.getStat('skill').refuman_targets; - return !stat||!stat.contains(target); + return !stat||!stat.includes(target); }, filter:function(event,player){ return player.countCards('h')>0&&game.hasPlayer((current)=>lib.skill.refuman.filterTarget(null,player,current)); @@ -1647,7 +1647,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return event.player.hasHistory('lose',function(evt){ if(evt.getParent()!=event) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('refuman')) return true; + if(evt.gaintag_map[i].includes('refuman')) return true; } return false; }); @@ -1674,10 +1674,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, enable:'phaseUse', filterTarget:function(card,player,target){ - return !player.getStorage('repindi_target').contains(target); + return !player.getStorage('repindi_target').includes(target); }, filterCard:function(card,player){ - return !player.getStorage('repindi_type').contains(get.type2(card)); + return !player.getStorage('repindi_type').includes(get.type2(card)); }, check:function(card){ var num=_status.event.player.getStat('skill').repindi||0; @@ -1902,7 +1902,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseCardButton('是否将'+get.cnNumber(4-event.given.length)+'张“书”交给任意名其他角色?',event.cards,[1,4-event.given.length],event.given.length>0).set('ai',function(button){ if(!_status.event.goon) return 0; var four=_status.event.getParent().four,given=_status.event.getParent().given; - if(four) return get.value(button.link)+(given.map(i=>get.suit(i)).contains(get.suit(button.link))?0:10); + if(four) return get.value(button.link)+(given.map(i=>get.suit(i)).includes(get.suit(button.link))?0:10); if(ui.selected.buttons.length==0) return get.value(button.link); return 0; }).set('goon',game.hasPlayer(current=>current!=player&&get.attitude(player,current)>0)); @@ -2429,7 +2429,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }); if(targets2.length>0){ player.chooseTarget('是否弃置一名目标角色的一张装备牌?',function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('targets',targets2).set('ai',function(target){ var att=get.attitude(player,target),eff=0; target.getCards('e',function(card){ @@ -2473,7 +2473,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filterTarget:function(card,player,target){ if(target==player) return false; var stat=player.getStat()._olqiangxi; - return !stat||!stat.contains(target); + return !stat||!stat.includes(target); }, selectCard:function(){ if(_status.event.player.hp<1) return 1; @@ -2618,7 +2618,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.card.name!='sha') return false; for(var target of player.getStorage('rejixu_sha')){ - if(event.targets.contains(target)||!target.isIn()) return false; + if(event.targets.includes(target)||!target.isIn()) return false; if(lib.filter.targetEnabled2(event.card,player,target)) return true; } return false; @@ -2626,21 +2626,21 @@ game.import('character',function(lib,game,ui,get,ai,_status){ prompt:'是否发动【击虚】?', prompt2:function(event,player){ var list=player.getStorage('rejixu_sha').filter(function(target){ - if(event.targets.contains(target)||!target.isIn()) return false; + if(event.targets.includes(target)||!target.isIn()) return false; return lib.filter.targetEnabled2(event.card,player,target) }); return '令'+get.translation(list)+'也成为'+get.translation(event.card)+'的目标'; }, logTarget:function(event,player){ return player.getStorage('rejixu_sha').filter(function(target){ - if(event.targets.contains(target)||!target.isIn()) return false; + if(event.targets.includes(target)||!target.isIn()) return false; return lib.filter.targetEnabled2(event.card,player,target) }); }, check:function(event,player){ var eff=0; var list=player.getStorage('rejixu_sha').filter(function(target){ - if(event.targets.contains(target)||!target.isIn()) return false; + if(event.targets.includes(target)||!target.isIn()) return false; return lib.filter.targetEnabled2(event.card,player,target) }); for(var i of list) eff+=get.effect(i,event.card,player,player); @@ -2648,7 +2648,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, content:function(){ var list=player.getStorage('rejixu_sha').filter(function(target){ - if(trigger.targets.contains(target)||!target.isIn()) return false; + if(trigger.targets.includes(target)||!target.isIn()) return false; return lib.filter.targetEnabled2(trigger.card,player,target) }); if(list.length>0){ @@ -2971,7 +2971,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget(get.prompt('dcqiaomeng'),'选择一名不为自己的目标角色,然后弃置其一张牌。若以此法弃置的牌为:装备牌,你获得此牌;锦囊牌,你令'+get.translation(trigger.card)+'不可被响应。',function(card,player,target){ - return target!=player&&_status.event.getTrigger().targets.contains(target)&&target.hasCard(function(card){ + return target!=player&&_status.event.getTrigger().targets.includes(target)&&target.hasCard(function(card){ return lib.filter.canBeDiscarded(card,player,target); },'he'); }).set('ai',function(target){ @@ -3050,7 +3050,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player.hasSkillTag('jueqing',false,target)) return [1,-1]; if(get.tag(card,'damage')&&player!=target&&get.attitude(player,target)<0){ var cards=player.getCards('h',function(cardx){ - return card!=cardx&&(!card.cards||!card.cards.contains(cardx))&&get.suit(cardx)=='heart'; + return card!=cardx&&(!card.cards||!card.cards.includes(cardx))&&get.suit(cardx)=='heart'; }); if(!cards.length) return; for(var i of cards){ @@ -3135,7 +3135,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ next.set('addCount',false); next.set('complexSelect',true); next.set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.targetEnabled.apply(this,arguments); }); next.set('sourcex',targets[1]); @@ -3143,7 +3143,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var target=targets[0] if(result.bool&&target.isIn()){ var cards=[],slice=0; - if(player!=target&&player.getCards('h').contains(card)){ + if(player!=target&&player.getCards('h').includes(card)){ cards.push(card); slice++; } @@ -3278,7 +3278,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ var evt=lib.skill.dcjianying.getLastUsed(player,event); if(!evt||!evt.card) return false; - return lib.suit.contains(get.suit(evt.card))&&get.suit(evt.card)==get.suit(event.card)|| + return lib.suit.includes(get.suit(evt.card))&&get.suit(evt.card)==get.suit(event.card)|| typeof get.number(evt.card,false)=='number'&&get.number(evt.card,false)==get.number(event.card); }, content:function(){ @@ -3322,7 +3322,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ markcount:function(card,player){ var num=get.number(card,player); var list=[1,11,12,13]; - if(list.contains(num)) return ['A','J','Q','K'][list.indexOf(num)]; + if(list.includes(num)) return ['A','J','Q','K'][list.indexOf(num)]; return parseFloat(num); }, content:function(card,player){ @@ -3331,7 +3331,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var str='

    8%44v%KXwkTg9T>9N`cug@x5O%6A@Sj+|Y0Tyn?1 zEmcWT^nGw8;<3)NkDJwr>S&!DqT;q|x6^WSbL8giJS!O!jO0pZy;8ls2X^l`lqAH> zN0imEp=(Ele5~b2@xk8&AKXAVlU_x2#?*|y-HRPbB~mOxT55#`oLnV}A({|Kv&)v- zN};-ZvN}Is6CMDEQpFOE&~OUfxM34KHg=Dy?qd1X*_|zSSKHB>iC3)y8}22Fb=#Q@ z(oR-k1O)LWniq8IxumKx$B7N~q=q7m2O<=`$*9dptjk(}eibII+PI|3Bs=*tqQ&@dT|iMFj%OIjNyi5I@rs}g(+?@I=oG&@k| z!^3rc{X#Zp`tsx?YY?hOux>|Q*wUAayYH5@B61^@$Q2WV`fzcG#*oz_7;NHJ zh)2jrcn@bkmX8fz)SX+v z?YsmmYF@a1NnQeg@NzU}G=_5>OG$K`v%^xJ3hVVy0CTRubaaY@VHMCGry@$m7GM-D zZMcdKEZ(wtyjydRR7k&rAw-$O!)x0RP9$QLrP>ZZ>V| z<_(Ya#FPtbgu4lMD@zFMIWn#0+r-BL$7^fd2F+J3QF7q)wxVgvIsP?dgh z9GYpgKVj69eo;#AB6m`1E(rM(6adWW!Qy|koNj2cRqy=#C+HE{M>vR}UlThfsi}lh z3@-^8NyTs{qs!~Hu`%U@KN(gn!T6kl#trYOoXb07ZjcPk>qqMi+uIcXfM^OX`6U%S z0gG@bg2SN0KYdF1?RkGRR`N^1y?jNtgOIPNSKrr?^;Eq-=;HM&(JKB}{9K$SQDIZ> zHOC|m=Z`B8hYaSdW}l(mh&~?J3mu`tiOs|Z_!p64wmay zRySs`%WM_$$f~_QYyzq`CT)fktdU7Gx@Ce6m^{mC^ z*<7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z(+x zj%wTz(+w(Vrqd~>9Qa$3u(aU>489S*aQukd|3N+roRQUwn+)Temhawe2iN%*5Yl;@ zbyhiUKyLVUYhkqzhiv7>otDQHR+W4#QhdO{J&n-!4ehUBhAvPKvQKh}5^N!#D>aow zDl|E3z7-K_prvoEa{i{Ai9r0*y@!pm(_VYmFU3z@#DXl_L#thgm5a>A=vxLu#7>!% zYd)iO+StYBDJpv4qXQO`thxgT6y_oTj}J+jNz5{;j|G8cc_qFyZ(&J9?Hy9*;g zTEZf(z1*^GQ&f`AD=8aKie1&o4T4v_iMAp%dyfsfQUOkEM+*y-kth3 z*xw-7&eS4#~lKP+8?j1)M67oOp9vuqJXWSE`g|X$*SmO7~ropN{%FzZ7b&_?r@4M?j$()6KcYsb;PFKM^P9rQ(Nb z4IJtPF#Q@dc>kOuiBD*h%^o*NRz*XXNfdfeUli+{-QBDbrA)mzR5<@x6~=LxyeTDc z!@`uSrZ1P@G;riwshn+;W2W9L>7aQ%y&0I~IrL7It`_=z@bOm*7X{|iMI7v&>N{w{ zZ6PHgDRBRM-oY013a-XHN4vl(Y45>=UG(FLu*VM8QxC{x+3}lxI!wkE9Hb^}OQnnh zp)QKY^}t2O8f>+iExvzA75HHWu9(K#Co5b@B1@Aw6>17IB4=&WYKT7vY&%CRYXf1} zH=F#B9C4y?@=`Miu~=%`JLF(GwX5(+DK;?JBw>==CpvQ6pkpJPh1P1q!Z9x0hO@KC z?>vd$j@%ewPgR=nH!N>0O8cKZ#BoVrN;S31xn*hHvvh#gq+{75dZ#aI zO~pi!&VxGxkigDmN49Zm(&gfX@2eh4@EE!D$5V9mLVw*l)xFNe(2<;#q6v$gsjwUz zCf-oTIYQOt7e;)>YQqvsKcSSwyrpQbcWG@

  • 上一张牌的花色:'+get.translation(suit); str+='
  • 上一张牌的点数:'; var list=[1,11,12,13]; - if(list.contains(num)) str+=['A(1)','J(11)','Q(12)','K(13)'][list.indexOf(num)]; + if(list.includes(num)) str+=['A(1)','J(11)','Q(12)','K(13)'][list.indexOf(num)]; else str+=parseFloat(num); return str; }, @@ -3375,7 +3375,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' if(result.cards){ var card=result.cards[0]; - if(event.gainner.getCards('h').contains(card)&&get.suit(card,event.gainner)!='spade') player.draw() + if(event.gainner.getCards('h').includes(card)&&get.suit(card,event.gainner)!='spade') player.draw() } if(event.gainner.countCards('h')==event.giver.countCards('h')) player.recover(); }, @@ -3782,7 +3782,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'phaseJieshuBegin'}, forced:true, filter:function(event,player){ - return !player.getStorage('reqiaobian_jieshu').contains(player.countCards('h')); + return !player.getStorage('reqiaobian_jieshu').includes(player.countCards('h')); }, content:function(){ player.addMark('reqiaobian',1); @@ -3821,8 +3821,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var choices=_status.event.controls; var eff1=0,eff2=0; var player=_status.event.player,target=_status.event.getTrigger().player; - if(choices.contains('选项一')) eff1=get.effect(target,{name:'sha'},player,player); - if(choices.contains('选项二')) eff2=get.effect(target,{name:'guohe'},player,player); + if(choices.includes('选项一')) eff1=get.effect(target,{name:'sha'},player,player); + if(choices.includes('选项二')) eff2=get.effect(target,{name:'guohe'},player,player); if(eff1>0&&(player.hasSkill('xsqianxin')&&player.isDamaged()||eff1>eff2)) return '选项一'; if(eff2>0) return '选项二'; return 'cancel2'; @@ -4246,7 +4246,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=[],storage=player.getStorage('rejiaozhao_clear'); for(var name of lib.inpile){ var type=get.type(name); - if((type=='basic'||type=='trick')&&!storage.contains(type)){ + if((type=='basic'||type=='trick')&&!storage.includes(type)){ list.push([type,'',name]); if(name=='sha'){ for(var nature of lib.inpile_nature) list.push([type,'',name,nature]); @@ -4327,7 +4327,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } } player.chooseTarget('请选择【矫诏】的目标',true,function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('ai',function(target){ return get.attitude(_status.event.player,target); }).set('targets',targets); @@ -4662,7 +4662,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }); if(last.length){ var evt=last.pop(); - if(evt.cards.length==1&&player.getCards('h').contains(evt.cards[0])) return get.suit(evt.cards[0],player); + if(evt.cards.length==1&&player.getCards('h').includes(evt.cards[0])) return get.suit(evt.cards[0],player); } else return player; } @@ -4880,7 +4880,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.type(card)=='basic') player.draw(); "step 3" if(get.type(card)=='equip'){ - if(target.getCards('h').contains(card)&&target.hasUseTarget(card)){ + if(target.getCards('h').includes(card)&&target.hasUseTarget(card)){ event.target.chooseUseTarget(card,true,'nopopup'); game.delay(); } @@ -5095,7 +5095,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ position:'h', filterCard:true, filterTarget:function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }, targets:targets, selectTarget:targets.length==1?-1:1, @@ -5109,7 +5109,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } if(goon){ if(!player.hasValueTarget(card)||card.name=='sha'&&player.countCards('h',function(cardx){ - return cardx.name=='sha'&&!ui.selected.cards.contains(cardx); + return cardx.name=='sha'&&!ui.selected.cards.includes(cardx); })>player.getCardUsable('sha')) return 2; return Math.max(2,get.value(card)/4); } @@ -5491,7 +5491,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(current==player) return false; var cardsx=event.getg(current); for(var i of cardsx){ - if(cards.contains(i)) return true; + if(cards.includes(i)) return true; } return false; }); @@ -5730,7 +5730,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } if(list.length){ player.choosePlayerCard(target,'e',get.prompt('reqieting',target)).set('list',list).set('filterButton',function(button){ - return _status.event.list.contains(button.link); + return _status.event.list.includes(button.link); }).set('ai',function(button){ var evt=_status.event,val=get.value(button.link); if(evt.target.hasSkillTag('noe')) val-=4; @@ -5790,7 +5790,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(list.length){ var max=Math.min(list.length,cards.length); target.chooseTarget(true,[1,max],'对至多'+get.cnNumber(max)+'名范围内的角色各造成1点伤害',function(card,player,target){ - return _status.event.list.contains(target); + return _status.event.list.includes(target); }).set('list',list).set('ai',function(target){ var player=_status.event.player; return get.damageEffect(target,player,player); @@ -6046,7 +6046,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'挑衅:对'+get.translation(player)+'使用一张杀,或令其弃置你的一张牌').set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.filterTarget.apply(this,arguments); }).set('sourcex',player); "step 1" @@ -6174,7 +6174,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.getHistory('lose',function(evt){ if(evt.type!='discard'||evt.getParent(2).redingpin_ignore) return; for(var i of evt.cards2){ - list.add(get.type2(i,evt.hs.contains(i)?player:false)); + list.add(get.type2(i,evt.hs.includes(i)?player:false)); } }) event.set('redingpin_types',list); @@ -6182,12 +6182,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ var list=event.redingpin_types||[]; return player.countCards('he',function(card){ - return !list.contains(get.type2(card)); + return !list.includes(get.type2(card)); })>0; }, filterCard:function(card){ var list=_status.event.redingpin_types||[]; - return !list.contains(get.type2(card)); + return !list.includes(get.type2(card)); }, position:'he', filterTarget:function(card,player,target){ @@ -6353,7 +6353,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audioname:['re_chengpu'], check:function(event,player){ return (event.baseDamage>1||player.getHistory('useCard').indexOf(event)==0)&&(player.hp>1||player.getExpansions('rechunlao').length)&&game.hasPlayer(function(current){ - return !event.targets.contains(current)&&player.canUse(event.card,current) + return !event.targets.includes(current)&&player.canUse(event.card,current) &&get.attitude(player,current)<0&&!current.hasShan() &&get.effect(current,{name:'sha',nature:'fire'},player,player)>0; }); @@ -6372,14 +6372,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.card.name!='sha'||!game.hasNature(event.card,'fire')) return false; return game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); }); }, direct:true, content:function(){ 'step 0' player.chooseTarget(get.prompt('ollihuo'),'为'+get.translation(trigger.card)+'增加一个目标',function(card,player,target){ - return !_status.event.sourcex.contains(target)&&lib.filter.targetInRange(_status.event.card,player,target)&&lib.filter.targetEnabled(_status.event.card,player,target); + return !_status.event.sourcex.includes(target)&&lib.filter.targetInRange(_status.event.card,player,target)&&lib.filter.targetEnabled(_status.event.card,player,target); }).set('sourcex',trigger.targets).set('card',trigger.card).set('ai',function(target){ var player=_status.event.player; return get.effect(target,_status.event.card,player,player); @@ -6441,7 +6441,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }); if(!event.cards.length) event.finish(); player.chooseTarget(get.prompt2('rezhongyong'),'令一名其他角色获得'+get.translation(event.cards),function(card,player,target){ - return !_status.event.source.contains(target)&&target!=player; + return !_status.event.source.includes(target)&&target!=player; }).set('ai',function(target){ return get.attitude(_status.event.player,target); }).set('source',trigger.targets); @@ -6748,10 +6748,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return Infinity; }, cardUsable:function(card,player){ - if(card.name=='sha'&&player.storage.xingongji2.contains(get.suit(card))) return Infinity; + if(card.name=='sha'&&player.storage.xingongji2.includes(get.suit(card))) return Infinity; }, aiOrder:function(player,card,num){ - if(get.name(card)=='sha'&&!player.storage.xingongji2.contains(get.suit(card))) return num+1; + if(get.name(card)=='sha'&&!player.storage.xingongji2.includes(get.suit(card))) return num+1; }, }, mark:true, @@ -6908,13 +6908,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ onremove:true, mod:{ cardEnabled:function(card,player){ - if(player.getStorage('residi2').contains(get.color(card,player))) return false; + if(player.getStorage('residi2').includes(get.color(card,player))) return false; }, cardRespondable:function(card,player){ - if(player.getStorage('residi2').contains(get.color(card,player))) return false; + if(player.getStorage('residi2').includes(get.color(card,player))) return false; }, cardSavable:function(card,player){ - if(player.getStorage('residi2').contains(get.color(card,player))) return false; + if(player.getStorage('residi2').includes(get.color(card,player))) return false; }, }, intro:{ @@ -6927,7 +6927,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'phaseUseEnd'}, forced:true, filter:function(event,player){ - if(!event.residi||!event.residi.contains(player)) return false; + if(!event.residi||!event.residi.includes(player)) return false; var sha=(player.canUse('sha',event.player,false)),trick=true; event.player.getHistory('useCard',function(evt){ if(evt.getParent('phaseUse')!=event) return false; @@ -7061,14 +7061,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ direct:true, filter:function(event,player){ return event.card.name=='sha'&&game.hasPlayer(function(current){ - return current!=player&&!event.targets.contains(current)&&lib.filter.targetEnabled(event.card,event.player,current); + return current!=player&&!event.targets.includes(current)&&lib.filter.targetEnabled(event.card,event.player,current); }); }, content:function(){ "step 0" player.chooseTarget(get.prompt2('reqiuyuan'),function(card,player,target){ var evt=_status.event.getTrigger(); - return target!=player&&!evt.targets.contains(target)&&lib.filter.targetEnabled(evt.card,evt.player,target); + return target!=player&&!evt.targets.includes(target)&&lib.filter.targetEnabled(evt.card,evt.player,target); }).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -7407,7 +7407,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player,cards){ return game.hasPlayer(function(current){ var es=current.getCards('e',function(card){ - return !cards||!cards.contains(card); + return !cards||!cards.includes(card); }); for(var i=0;i0; } }); @@ -7454,7 +7454,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(ui.selected.targets.length==0){ if(target==player&&player.hasSkill('decadexuanfeng')){ if(player.countCards('e',function(card){ - return !_status.event.cards.contains(card)&&game.hasPlayer(function(current){ + return !_status.event.cards.includes(card)&&game.hasPlayer(function(current){ return current!=target&¤t.canEquip(card)&&get.effect(current,card,player,player)<0; }); })>0) return 18; @@ -7462,7 +7462,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else if(att>0){ if(target.countCards('e',function(card){ - return get.value(card,target)<0&&!_status.event.cards.contains(card)&&game.hasPlayer(function(current){ + return get.value(card,target)<0&&!_status.event.cards.includes(card)&&game.hasPlayer(function(current){ return current!=target&¤t.canEquip(card)&&get.effect(current,card,player,player)<0; }); })>0) return 9; @@ -7471,7 +7471,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(game.hasPlayer(function(current){ if(current!=target&&get.attitude(player,current)>0){ var es=target.getCards('e',function(card){ - return !_status.event.cards.contains(card); + return !_status.event.cards.includes(card); }); for(var i=0;i0&¤t.canEquip(card)&&get.effect(current,es[i],player,current)>0) return true; @@ -7484,7 +7484,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return 0; } var es=ui.selected.targets[0].getCards('e',function(card){ - return !_status.event.cards.contains(card); + return !_status.event.cards.includes(card); }); var i; var att2=get.sgn(get.attitude(player,ui.selected.targets[0])); @@ -7494,7 +7494,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return get.attitude(player,current)<0&¤t.countDiscardableCards(player,'he')>0&&get.damageEffect(current,player,player)>0; }); if(bool&&player.countCards('e',function(card){ - return !_status.event.cards.contains(card)&&target.canEquip(card)&&get.effect(target,card,player,player)>0; + return !_status.event.cards.includes(card)&&target.canEquip(card)&&get.effect(target,card,player,player)>0; })) return 2.5*Math.abs(att); else if(bool) return 1/Math.max(1,Math.abs(att)); else return get.damageEffect(target,player,player); @@ -7539,7 +7539,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return get.value(button.link)*get.effect(targets1,button.link,player,player); } },targets[0]).set('nojudge',event.nojudge||false).set('targets0',targets[0]).set('targets1',targets[1]).set('filterButton',function(button){ - if(_status.event.cards.contains(button.link)) return false; + if(_status.event.cards.includes(button.link)) return false; var targets1=_status.event.targets1; return targets1.canEquip(button.link); }).set('cards',cards); @@ -7658,7 +7658,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.count) event.goto(1); else if(player==_status.currentPhase){ player.chooseTarget('是否对一名目标角色造成1点伤害',function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('targets',targets).set('ai',function(target){ var player=_status.event.player; return get.damageEffect(target,player,player); @@ -7675,7 +7675,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ effect:{ player_use:function(card,player,target){ if(player==target&&get.type(card)=='equip'&&player.countCards('hes',function(cardx){ - return card!=cardx&&(!card.cards||!card.cards.contains(cardx))&&(player.hasSkill('yongjin')||get.subtype(card)==get.subtype(cardx))&&(get.position(cardx)=='e'||player.canUse(cardx,player)); + return card!=cardx&&(!card.cards||!card.cards.includes(cardx))&&(player.hasSkill('yongjin')||get.subtype(card)==get.subtype(cardx))&&(get.position(cardx)=='e'||player.canUse(cardx,player)); })>0) return; if(!game.hasPlayer(function(current){ return get.attitude(player,current)<0&¤t.countDiscardableCards(player,'he')>0&&get.damageEffect(current,player,player)>0; @@ -7708,7 +7708,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.type!='discard') return false; var evt=event.getl(player); return evt&&evt.cards2&&evt.cards2.filter(function(i){ - return get.name(i,evt.hs.contains(i)?player:false)=='sha'; + return get.name(i,evt.hs.includes(i)?player:false)=='sha'; }).length>0; } if(event.name=='gain'&&event.player==player) return false; @@ -7786,7 +7786,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget(get.prompt('rejuece'),'对一名本回合失去过牌的其他角色造成1点伤害',function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('targets',game.filterPlayer(function(current){ return current!=player&¤t.getHistory('lose',function(evt){ return evt.cards2&&evt.cards2.length>0; @@ -7872,7 +7872,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audioname:['re_chengpu'], check:function(event,player){ return event.baseDamage>1&&game.hasPlayer(function(current){ - return !event.targets.contains(current)&&player.canUse(event.card,current) + return !event.targets.includes(current)&&player.canUse(event.card,current) &&get.attitude(player,current)<0&&!current.hasShan() &&get.effect(current,{name:'sha',nature:'fire'},player,player)>0; }); @@ -7890,14 +7890,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.card.name!='sha'||!game.hasNature(event.card,'fire')) return false; return game.hasPlayer(function(current){ - return !event.targets.contains(current)&&player.canUse(event.card,current); + return !event.targets.includes(current)&&player.canUse(event.card,current); }); }, direct:true, content:function(){ 'step 0' player.chooseTarget(get.prompt('decadelihuo'),'为'+get.translation(trigger.card)+'增加一个目标',function(card,player,target){ - return !_status.event.sourcex.contains(target)&&player.canUse(_status.event.card,target); + return !_status.event.sourcex.includes(target)&&player.canUse(_status.event.card,target); }).set('sourcex',trigger.targets).set('card',trigger.card).set('ai',function(target){ var player=_status.event.player; return get.effect(target,_status.event.card,player,player); @@ -8200,7 +8200,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audioname:['re_liubiao'], trigger:{player:'phaseDrawBegin2'}, check:function(event,player){ - return player.countCards('h')<=(player.hasSkill('zongshi')?player.maxHp:(player.hp-2))||player.skipList.contains('phaseUse')||!player.countCards('h',function(card){ + return player.countCards('h')<=(player.hasSkill('zongshi')?player.maxHp:(player.hp-2))||player.skipList.includes('phaseUse')||!player.countCards('h',function(card){ return get.tag(card,'damage')&&player.hasUseTarget(card); }); }, @@ -8224,11 +8224,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, filter:function(event,player){ if(event.name=='damage') return event.player!=player; - if(player.getHistory('skipped').contains('phaseUse')) return false; + if(player.getHistory('skipped').includes('phaseUse')) return false; return player.getHistory('useCard',function(evt){ if(evt.targets&&evt.targets.length&&evt.isPhaseUsing()){ var targets=evt.targets.slice(0); - while(targets.contains(player)) targets.remove(player); + while(targets.includes(player)) targets.remove(player); return targets.length>0; } return false; @@ -8387,7 +8387,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, filter:function(event,player){ if(player==event.player) return true; - if(event.targets) return event.targets.contains(player); + if(event.targets) return event.targets.includes(player); return player==event.target; }, logTarget:function(event,player){ @@ -8425,7 +8425,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:'hanzhan', filter:function(event,player){ if(event.preserve) return false; - if(player!=event.player&&player!=event.target&&(!event.targets||!event.targets.contains(player))) return false; + if(player!=event.player&&player!=event.target&&(!event.targets||!event.targets.includes(player))) return false; for(var i of event.lose_list){ if(Array.isArray(i[1])){ for(var j of i[1]){ @@ -8661,7 +8661,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=player.getCards('hs',function(card){ return card.name=='sha'||card.name=='shan'; }); - if(cards.contains(card)){ + if(cards.includes(card)){ return cards.indexOf(card); } return cards.length; @@ -8770,7 +8770,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'loseAfter'}, frequent:true, filter:function(event,player){ - return player!=_status.currentPhase&&event.hs&&event.hs.length>0&&['useCard','respond'].contains(event.getParent().name); + return player!=_status.currentPhase&&event.hs&&event.hs.length>0&&['useCard','respond'].includes(event.getParent().name); }, content:function(){ "step 0" @@ -10204,7 +10204,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget(get.prompt('olluanji'),'为'+get.translation(trigger.card)+'减少一个目标',function(card,player,target){ - return _status.event.targets.contains(target) + return _status.event.targets.includes(target) }).set('targets',trigger.targets).set('ai',function(target){ var player=_status.event.player; return -get.effect(target,_status.event.getTrigger().card,player,player) @@ -10362,7 +10362,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.goto(2); } else player.chooseTarget(true,'请选择获得所有拼点牌的角色',function(card,player,target){ - return _status.event.list.contains(target); + return _status.event.list.includes(target); }).set('list',list); 'step 1' event.target=result.targets[0]; @@ -10492,7 +10492,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else{ next.set('ai',function(button){ - return player.storage.rehuashen.map[button.link].contains(_status.event.choice)?2.5:1+Math.random(); + return player.storage.rehuashen.map[button.link].includes(_status.event.choice)?2.5:1+Math.random(); }); next.set('choice',event.aiChoice); } @@ -10584,7 +10584,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } var link=result.control; player.storage.rehuashen.current2=link; - if(!player.additionalSkills.rehuashen||!player.additionalSkills.rehuashen.contains(link)){ + if(!player.additionalSkills.rehuashen||!player.additionalSkills.rehuashen.includes(link)){ player.addAdditionalSkill('rehuashen',link); player.flashAvatar('rehuashen',event.card); game.log(player,'获得了技能','#g【'+get.translation(link)+'】'); @@ -10800,7 +10800,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ derivation:'rechanyuan', enable:['chooseToUse','chooseToRespond'], hiddenCard:function(player,name){ - return lib.inpile.contains(name)&&player.countCards('h')>0&&!player.hasSkill('reguhuo_phase'); + return lib.inpile.includes(name)&&player.countCards('h')>0&&!player.hasSkill('reguhuo_phase'); }, filter:function(event,player){ if(!player.countCards('hs')||player.hasSkill('reguhuo_phase')) return false; @@ -10989,7 +10989,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } 'step 5' for(var i of event.targets2){ - var b=event.betrays.contains(i); + var b=event.betrays.includes(i); i.popup(b?'质疑':'不质疑',b?'fire':'wood'); game.log(i,b?'#y质疑':'#g不质疑'); } @@ -11166,7 +11166,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ direct:true, disableReason:['暴虐','助祭','弘仪','孤影'], filter:function(event,player){ - return !lib.skill.xinleiji_misa.disableReason.contains(event.judgestr)&&['spade','club'].contains(event.result.suit); + return !lib.skill.xinleiji_misa.disableReason.includes(event.judgestr)&&['spade','club'].includes(event.result.suit); }, content:function(){ 'step 0' @@ -11280,7 +11280,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return (get.name(b)=='shan'?1:2)-(get.name(a)=='shan'?1:2); }); var geti=function(){ - if(cards.contains(card)){ + if(cards.includes(card)){ return cards.indexOf(card); } return cards.length; @@ -11401,7 +11401,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return (get.name(b)=='wuxie'?1:2)-(get.name(a)=='wuxie'?1:2); }); var geti=function(){ - if(cards.contains(card)){ + if(cards.includes(card)){ return cards.indexOf(card); } return cards.length; @@ -11541,7 +11541,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, frequent:true, filter:function (event,player){ - return player!=_status.currentPhase&&event.hs&&event.hs.length>0&&['useCard','respond'].contains(event.getParent().name); + return player!=_status.currentPhase&&event.hs&&event.hs.length>0&&['useCard','respond'].includes(event.getParent().name); }, content:function (){ "step 0" @@ -11582,7 +11582,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ source:"damageSource", }, filter:function (event,player){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return event.card&&event.card.name=='sha'&&event.player!=player&&event.player.isIn()&&event.player.countGainableCards(player,'hej')>0; }, direct:true, @@ -12077,7 +12077,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ global:'useCardAfter', }, filter:function (event,player){ - return event.card.name=='sha'&&event.targets&&event.targets.contains(player)&&!player.hasHistory('damage',evt=>evt.card==event.card)&&event.cards.filterInD('od').length; + return event.card.name=='sha'&&event.targets&&event.targets.includes(player)&&!player.hasHistory('damage',evt=>evt.card==event.card)&&event.cards.filterInD('od').length; }, forced:true, charlotte:true, @@ -12566,7 +12566,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hs=player.getCards('h'); if(!hs.length) event.num=0; for(var i=0;i0; }, check:function(){ @@ -13159,7 +13159,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "step 1" player.chooseCardTarget({ filterCard:function(card){ - return _status.event.getParent().cards.contains(card); + return _status.event.getParent().cards.includes(card); }, selectCard:[1,event.cards.length], filterTarget:function(card,player,target){ @@ -13817,7 +13817,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } if(!arg||arg.isLink||!arg.card||arg.card.name!='sha') return false; if(!arg.target||get.attitude(player,arg.target)>=0) return false; - if(!arg.skill||!lib.skill[arg.skill]||lib.skill[arg.skill].charlotte||get.is.locked(arg.skill)||!arg.target.getSkills(true,false).contains(arg.skill)) return false; + if(!arg.skill||!lib.skill[arg.skill]||lib.skill[arg.skill].charlotte||get.is.locked(arg.skill)||!arg.target.getSkills(true,false).includes(arg.skill)) return false; }, directHit_ai:true, } @@ -13850,7 +13850,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{source:'damageSource'}, direct:true, filter:function(event,player){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return event.card&&event.card.name=='sha'&&event.player.countDiscardableCards(player,'hej'); }, content:function(){ @@ -13872,7 +13872,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{source:'damageSource'}, direct:true, filter:function(event,player){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return event.card&&event.card.name=='sha'&&event.cards&& get.color(event.cards)=='black'&&event.player.countDiscardableCards(player,'hej'); }, @@ -13994,7 +13994,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'诛害:是否对'+get.translation(trigger.player)+'使用一张杀?').set('logSkill','zhuhai').set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.targetEnabled.apply(this,arguments); }).set('sourcex',trigger.player); } @@ -14140,10 +14140,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "step 0" player.chooseTarget(get.prompt('fenwei'), [1,trigger.targets.length],function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('ai',function(target){ var trigger=_status.event.getTrigger(); - if(game.phaseNumber>game.players.length*2&&trigger.targets.length>=game.players.length-1&&!trigger.excluded.contains(target)){ + if(game.phaseNumber>game.players.length*2&&trigger.targets.length>=game.players.length-1&&!trigger.excluded.includes(target)){ return -get.effect(target,trigger.card,trigger.player,_status.event.player); } return -1; @@ -14245,7 +14245,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, trigger:{player:'damageEnd',source:'damageSource'}, filter:function(event){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return event.num&&event.source&&event.player&& event.player.isIn()&&event.source.isIn()&&event.source!=event.player; }, diff --git a/character/sb.js b/character/sb.js index 4c72a4ced..00052d5ee 100644 --- a/character/sb.js +++ b/character/sb.js @@ -859,11 +859,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.logSkill('sbtianxiang',target); var skills=target.getSkills().filter(skill=>skill.indexOf('sbtianxiang_')==0); target.removeSkill(skills); - if(skills.contains('sbtianxiang_heart')){ + if(skills.includes('sbtianxiang_heart')){ target.damage(trigger.source?trigger.source:'nosource'); trigger.cancel(); } - if(skills.contains('sbtianxiang_diamond')){ + if(skills.includes('sbtianxiang_diamond')){ var cards=target.getCards('he'); if(!cards.length) event.finish(); else if(cards.length<=2) event._result={bool:true,cards:cards}; @@ -1153,7 +1153,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'useCardAfter'}, filter:function(event,player){ return event.card.name=='sha'&&event.card.storage&&event.card.storage.sblieren&&event.card.storage.sblieren[0]==player&&game.hasPlayer(current=>{ - return !event.card.storage.sblieren.contains(current); + return !event.card.storage.sblieren.includes(current); }); }, direct:true, @@ -1193,7 +1193,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ {name:'nanman',number:7,suit:'club'}, ]; game.broadcastAll(function(){ - if(!lib.inpile.contains('nanman')) lib.inpile.add('nanman'); + if(!lib.inpile.includes('nanman')) lib.inpile.add('nanman'); }); } player.chooseTarget(get.prompt('sbjuxiang'),'将游戏外的随机一张【南蛮入侵】交给一名角色(剩余'+get.cnNumber(_status.sbjuxiang_nanman.length)+'张)').set('ai',target=>{ @@ -1283,7 +1283,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); })){ return true; } @@ -1295,7 +1295,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'额外指定一个目标,然后失去1点体力'; player.chooseTarget(get.prompt('sbjiang_add'),function(card,player,target){ var player=_status.event.player; - if(_status.event.targets.contains(target)) return false; + if(_status.event.targets.includes(target)) return false; return lib.filter.targetEnabled2(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); @@ -1575,7 +1575,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'damageEnd'}, filter:function(event,player){ if(!event.source||!event.source.isIn()) return false; - return !player.getStorage('sbzongshi').contains(event.source); + return !player.getStorage('sbzongshi').includes(event.source); }, forced:true, onremove:true, @@ -2042,14 +2042,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'useCard2'}, filter:function(event,player){ return event.card.name=='tiesuo'&&player.storage.sblianhuan&&game.hasPlayer(current=>{ - return !event.targets.contains(current)&&player.canUse(event.card,current); + return !event.targets.includes(current)&&player.canUse(event.card,current); }); }, direct:true, content:function(){ 'step 0' player.chooseTarget(get.prompt('sblianhuan_add'),'为'+get.translation(trigger.card)+'额外指定任意个目标',[1,Infinity],function(card,player,target){ - return !_status.event.sourcex.contains(target)&&player.canUse(_status.event.card,target); + return !_status.event.sourcex.includes(target)&&player.canUse(_status.event.card,target); }).set('sourcex',trigger.targets).set('ai',function(target){ var player=_status.event.player; return get.effect(target,_status.event.card,player,player); @@ -2333,7 +2333,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'挑衅:对'+get.translation(player)+'使用一张杀,或交给其一张牌').set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.targetEnabled.apply(this,arguments); }).set('sourcex',player); 'step 1' @@ -2438,7 +2438,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ playerEnabled:function(card,player,target){ - if(player!=target&&!player.getStorage('sbzhiji_beifa').contains(target)) return false; + if(player!=target&&!player.getStorage('sbzhiji_beifa').includes(target)) return false; } } }, @@ -2624,7 +2624,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return true; }, filterTarget:function(card,player,target){ - if(player.getStorage('sbrende_given').contains(target)) return false; + if(player.getStorage('sbrende_given').includes(target)) return false; return player!=target; }, prompt:function(event){ @@ -2710,7 +2710,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, filterTarget:function(card,player,target){ if(target==player) return false; - return player.getStorage('sbrende_givenx').contains(target); + return player.getStorage('sbrende_givenx').includes(target); }, selectTarget:[-1,-2], multiline:true, @@ -3234,8 +3234,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return _status.event.choice; }).set('choice',(function(){ var eff=0,eff2=0; - if(!list.contains('选项一')) eff=Infinity; - if(!list.contains('选项二')) eff2=Infinity; + if(!list.includes('选项一')) eff=Infinity; + if(!list.includes('选项二')) eff2=Infinity; game.countPlayer(current=>{ if(current.hp=0) return false; - if(!arg.skill||!lib.skill[arg.skill]||lib.skill[arg.skill].charlotte||get.is.locked(arg.skill)||!arg.target.getSkills(true,false).contains(arg.skill)) return false; + if(!arg.skill||!lib.skill[arg.skill]||lib.skill[arg.skill].charlotte||get.is.locked(arg.skill)||!arg.target.getSkills(true,false).includes(arg.skill)) return false; }, directHit_ai:true, }, @@ -3400,7 +3400,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' target.chooseControl(event.list).set('prompt','奇袭:猜测'+get.translation(player)+'手牌中最多的花色').set('ai',()=>{ var player=_status.event.getParent().player,controls=_status.event.controls; - if(player.countCards('h')<=3&&controls.contains('diamond')&&Math.random()<0.3) return 'diamond'; + if(player.countCards('h')<=3&&controls.includes('diamond')&&Math.random()<0.3) return 'diamond'; return controls.randomGet(); }); 'step 2' @@ -3410,7 +3410,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!event.isMine()&&!event.isOnline()) game.delayx(); 'step 3' var control=result.control; - if(!event.suits.contains(control)){ + if(!event.suits.includes(control)){ player.chat('猜错了!'); game.log(target,'猜测','#y错误'); event.num++; @@ -3723,7 +3723,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(button.classList.contains('selectable')==false) return; var cards=_status.event.player.getCards('h',{suit:button.link[2].slice(6)}); if(cards.length){ - var chosen=cards.filter(i=>ui.selected.cards.contains(i)).length==cards.length; + var chosen=cards.filter(i=>ui.selected.cards.includes(i)).length==cards.length; if(chosen){ ui.selected.cards.removeArray(cards); cards.forEach(card=>{ @@ -3764,7 +3764,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=result.cards; if(!cards.length){ var suits=result.links.map(i=>i[2].slice(6)); - cards=player.getCards('h',card=>suits.contains(get.suit(card,player))); + cards=player.getCards('h',card=>suits.includes(get.suit(card,player))); } event.cards=cards; if(!cards.length) event.finish(); @@ -3947,7 +3947,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!player.hasZhuSkill('sbhuangtian')) return false; return !game.hasPlayer(function(current){ return current.countCards('hej','taipingyaoshu'); - })&&!Array.from(ui.cardPile.childNodes).concat(Array.from(ui.discardPile.childNodes)).concat(Array.from(ui.ordering.childNodes)).map(i=>i.name).contains('taipingyaoshu'); + })&&!Array.from(ui.cardPile.childNodes).concat(Array.from(ui.discardPile.childNodes)).concat(Array.from(ui.ordering.childNodes)).map(i=>i.name).includes('taipingyaoshu'); }, content:function(){ 'step 0' @@ -4238,14 +4238,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, check:function(event,player){ var suits=lib.suit.slice(); - suits=suits.filter(suit=>!player.getStorage('sbfanjian_guessed').contains(suit)); + suits=suits.filter(suit=>!player.getStorage('sbfanjian_guessed').includes(suit)); return suits.randomGet(); }, backup:function(result,player){ return { audio:'sbfanjian', filterCard:function(card,player){ - return !player.getStorage('sbfanjian_guessed').contains(get.suit(card,player)); + return !player.getStorage('sbfanjian_guessed').includes(get.suit(card,player)); }, suit:result.control, position:'h', @@ -4270,7 +4270,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=_status.event.player,user=_status.event.getParent().player,claim=_status.event.getParent().claimSuit,suit=_status.event.getParent().cardSuit; if(player.isTurnedOver()) return 2; var lose=get.effect(player,{name:'losehp'},user,player); - if(user.getStorage('sbfanjian_guessed').contains(claim)&&claim==suit) return lose<=0?0:1; + if(user.getStorage('sbfanjian_guessed').includes(claim)&&claim==suit) return lose<=0?0:1; if(get.attitude(player,user)>0) return 0; var list=[0,1]; if(player.hp<=1&&player.getFriends().length>0) list.push(2); @@ -4370,7 +4370,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.logSkill('sbkurou',target); if(get.mode()!=='identity'||player.identity!=='nei') player.addExpose(0.15); player.give(card,target); - player.loseHp(['tao','jiu'].contains(get.name(card,target))?2:1); + player.loseHp(['tao','jiu'].includes(get.name(card,target))?2:1); } }, ai:{ @@ -4516,7 +4516,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hs=player.getCards('h'); if(!hs.length) event.num=0; for(var i=0; i=4) return true; if(storage.length<3) return false; - if(target.hasShan()) return storage.contains('heart')&&storage.contains('diamond'); + if(target.hasShan()) return storage.includes('heart')&&storage.includes('diamond'); return true; }, content:function(){ @@ -5193,7 +5193,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.showCards(cards.slice(0),get.translation(player)+'发动了【烈弓】'); while(cards.length>0){ var card=cards.pop(); - if(storage.contains(get.suit(card,false))) evt.baseDamage++; + if(storage.includes(get.suit(card,false))) evt.baseDamage++; ui.cardPile.insertBefore(card,ui.cardPile.firstChild); } game.updateRoundNumber(); @@ -5220,7 +5220,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ skillTagFilter:function(player,tag,arg){ if(arg&&arg.card&&arg.card.name=='sha'){ var storage=player.getStorage('sbliegong'); - if(storage.length<3||!storage.contains('heart')||!storage.contains('diamond')) return false; + if(storage.length<3||!storage.includes('heart')||!storage.includes('diamond')) return false; var target=arg.target; if(target.hasSkill('bagua_skill')||target.hasSkill('bazhen')||target.hasSkill('rw_bagua_skill')) return false; return true; @@ -5255,7 +5255,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var evt=_status.event; if(evt.name!='chooseToUse') evt=evt.getParent('chooseToUse'); if(!evt||!evt.respondTo||evt.respondTo[1].name!='sha') return; - if(player.storage.sbliegong_blocker.contains(suit)) return false; + if(player.storage.sbliegong_blocker.includes(suit)) return false; }, }, trigger:{ @@ -5297,8 +5297,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player,name){ if(name!='useCard'&&player==event.player) return false; var suit=get.suit(event.card); - if(!lib.suit.contains(suit)) return false; - if(player.storage.sbliegong&&player.storage.sbliegong.contains(suit)) return false; + if(!lib.suit.includes(suit)) return false; + if(player.storage.sbliegong&&player.storage.sbliegong.includes(suit)) return false; return true; }, content:function(){ @@ -5381,7 +5381,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ var list=player.getStorage('spmingxuan'); return player.countCards('h')>0&&game.hasPlayer(function(current){ - return current!=player&&!list.contains(current); + return current!=player&&!list.includes(current); }); }, content:function(){ @@ -5389,7 +5389,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var suits=[],hs=player.getCards('h'); for(var i of hs) suits.add(get.suit(i,player)); var list=player.getStorage('spmingxuan'),num=Math.min(suits.length,game.countPlayer(function(current){ - return current!=player&&!list.contains(current); + return current!=player&&!list.includes(current); })); player.chooseCard('h',true,[1,num],'瞑昡:请选择至多'+get.cnNumber(num)+'张花色各不相同的手牌',function(card,player){ if(!ui.selected.cards.length) return true; @@ -5402,7 +5402,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' if(result.bool){ var list=player.getStorage('spmingxuan'),cards=result.cards.randomSort(); - var targets=game.filterPlayer((current)=>(current!=player&&!list.contains(current))).randomGets(cards.length).sortBySeat(); + var targets=game.filterPlayer((current)=>(current!=player&&!list.includes(current))).randomGets(cards.length).sortBySeat(); player.line(targets,'green'); var map=[]; for(var i=0;i0||!player.isPhaseUsing()) return false; var cards=player.getCards('h',function(card){ - return card!=arg.card&&(!arg.card.cards||!arg.card.cards.contains(card)); + return card!=arg.card&&(!arg.card.cards||!arg.card.cards.includes(card)); }); var sha=player.getCardUsable('sha'); if(arg.card.name=='sha') sha--; @@ -373,8 +373,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseControl(choices).set('choiceList',choiceList).set('prompt','良姻:是否令一名角色回复体力?').set('ai',function(){ var player=_status.event.player,target=_status.event.getParent().target; var list=_status.event.controls.slice(0),eff1=0,eff2=0; - if(list.contains('选项一')) eff1=get.recoverEffect(player,player,player); - if(list.contains('选项二')) eff2=get.recoverEffect(target,player,player); + if(list.includes('选项一')) eff1=get.recoverEffect(player,player,player); + if(list.includes('选项二')) eff2=get.recoverEffect(target,player,player); if(eff1>Math.max(0,eff2)) return '选项一'; if(eff2>0) return '选项二'; return 'cancel2'; @@ -459,8 +459,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseControl(choices).set('choiceList',choiceList).set('prompt','良姻:是否令一名角色回复体力?').set('ai',function(){ var player=_status.event.player,target=_status.event.getParent().target; var list=_status.event.controls.slice(0),eff1=0,eff2=0; - if(list.contains('选项一')) eff1=get.recoverEffect(player,player,player); - if(list.contains('选项二')) eff2=get.recoverEffect(target,player,player); + if(list.includes('选项一')) eff1=get.recoverEffect(player,player,player); + if(list.includes('选项二')) eff2=get.recoverEffect(target,player,player); if(eff1>Math.max(0,eff2)) return '选项一'; if(eff2>0) return '选项二'; return 'cancel2'; @@ -489,7 +489,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(current.isHealthy()||get.recoverEffect(current,player,player)<=0) return false; var num2=current.countCards('h',function(card){ if(current!=player) return true; - return !ui.selected.cards.contains(card); + return !ui.selected.cards.includes(card); })+1; return num==num2; })) return 0; @@ -575,16 +575,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:'drlt_zhenrong', filter:function(event,player){ if(!event.isFirstTarget) return false; - if(!['basic','trick'].contains(get.type(event.card))) return false; + if(!['basic','trick'].includes(get.type(event.card))) return false; if(get.tag(event.card,'damage')) return game.hasPlayer(function(current){ - return event.targets.contains(current)&¤t.countCards('h')>=player.countCards('h')&¤t.countCards('he')>0; + return event.targets.includes(current)&¤t.countCards('h')>=player.countCards('h')&¤t.countCards('he')>0; }); return false; }, content:function(){ 'step 0' player.chooseTarget(get.prompt('zhengrong'),'将一名手牌数不小于你的目标角色的一张牌置于你的武将牌上,成为「荣」',function(card,player,target){ - return _status.event.targets.contains(target)&&target.countCards('h')>=player.countCards('h')&&target.countCards('he')>0; + return _status.event.targets.includes(target)&&target.countCards('h')>=player.countCards('h')&&target.countCards('he')>0; }).set('ai',function(target){ return (1-get.attitude(_status.event.player,target))/target.countCards('he'); }).set('targets',trigger.targets); @@ -845,11 +845,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ "step 0" player.chooseTarget(get.prompt2('drlt_zhenggu'),function(card,player,target){ - //if(target.storage.drlt_zhenggu_mark&&target.storage.drlt_zhenggu_mark.contains(player)) return false; + //if(target.storage.drlt_zhenggu_mark&&target.storage.drlt_zhenggu_mark.includes(player)) return false; return target!=player; }).set('ai',function(target){ var player=_status.event.player; - //if(target.storage.drlt_zhenggu_mark&&target.storage.drlt_zhenggu_mark.contains(player)) return 0; + //if(target.storage.drlt_zhenggu_mark&&target.storage.drlt_zhenggu_mark.includes(player)) return 0; var num=(Math.min(5,player.countCards('h'))-target.countCards('h')); var att=get.attitude(player,target); return num*att; @@ -883,10 +883,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ charlotte:true, logTarget:"player", filter:function(event,player){ - return event.player.storage.drlt_zhenggu_mark&&event.player.storage.drlt_zhenggu_mark.contains(player); + return event.player.storage.drlt_zhenggu_mark&&event.player.storage.drlt_zhenggu_mark.includes(player); }, content:function(){ - while(trigger.player.storage.drlt_zhenggu_mark.contains(player)){ + while(trigger.player.storage.drlt_zhenggu_mark.includes(player)){ trigger.player.storage.drlt_zhenggu_mark.remove(player); } if(trigger.player.storage.drlt_zhenggu_mark.length==0) trigger.player.unmarkSkill('drlt_zhenggu_mark'); @@ -1025,7 +1025,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.card.name!='sha'&&event.card.name!='juedou') return false; return !game.hasPlayer2(function(current){ return current.getHistory('useCard',function(evt){ - return evt!=event.getParent()&&evt.card&&['sha','juedou'].contains(evt.card.name)&&evt.targets.contains(player); + return evt!=event.getParent()&&evt.card&&['sha','juedou'].includes(evt.card.name)&&evt.targets.includes(player); }).length>0; }); }, @@ -1105,11 +1105,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseToDisable(true).set('ai',function(event,player,list){ - if(list.contains('equip2')) return 'equip2'; - if(list.contains('equip1')&&(player.countCards('h',function(card){ + if(list.includes('equip2')) return 'equip2'; + if(list.includes('equip1')&&(player.countCards('h',function(card){ return get.name(card,player)=='sha'&&player.hasUseTarget(card); })-player.getCardUsable('sha'))>1) return 'equip1'; - if(list.contains('equip5')&&player.countCards('h',function(card){ + if(list.includes('equip5')&&player.countCards('h',function(card){ return get.type2(card,player)=='trick'&&player.hasUseTarget(card); })>1) return 'equip5'; }); @@ -1317,7 +1317,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=_status.event.player; var value=get.value(card,player,'raw'); if(game.hasPlayer(function(target){ - return (target!=player&&target.group=='qun'&&!ui.selected.targets.contains(target))&&(get.sgn(value)==get.sgn(get.attitude(player,target))) + return (target!=player&&target.group=='qun'&&!ui.selected.targets.includes(target))&&(get.sgn(value)==get.sgn(get.attitude(player,target))) })) return 1/Math.max(1,get.useful(card)); return -1; }, @@ -1456,7 +1456,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ selectCard:1, position:'he', filterTarget:function(card,player,target){ - return player!=target&&_status.event.targets.contains(target); + return player!=target&&_status.event.targets.includes(target); }, ai1:function(card){ if(card.name=='du') return 20; @@ -1509,7 +1509,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, preHidden:true, check:function(event,player){ - if(['wuzhong','kaihua','dongzhuxianji'].contains(event.card.name)) return false; + if(['wuzhong','kaihua','dongzhuxianji'].includes(event.card.name)) return false; player._wanglie_temp=true; var eff=0; for(var i of event.targets){ @@ -1541,10 +1541,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player._wanglie_temp) return false; player._wanglie_temp=true; var bool=function(){ - if(['wuzhong','kaihua','dongzhuxianji'].contains(arg.card.name)) return false; + if(['wuzhong','kaihua','dongzhuxianji'].includes(arg.card.name)) return false; if(get.attitude(player,arg.target)>0||!player.isPhaseUsing()) return false; var cards=player.getCards('h',function(card){ - return card!=arg.card&&(!arg.card.cards||!arg.card.cards.contains(card)); + return card!=arg.card&&(!arg.card.cards||!arg.card.cards.includes(card)); }); var sha=player.getCardUsable('sha'); if(arg.card.name=='sha') sha--; @@ -1825,7 +1825,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(result.bool){ event.target=result.targets[0]; var list=player.getStorage('nzry_feijun'); - if(!list.contains(event.target)){ + if(!list.includes(event.target)){ event._nzry_binglve=true; player.markAuto('nzry_feijun',[event.target]); } @@ -1853,7 +1853,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ result:{ player:function(player){ if(game.hasPlayer(function(current){ - return (current.countCards('h')>player.countCards('h')||current.countCards('e')>player.countCards('e'))&&get.attitude(player,current)<0&&player.getStorage('nzry_feijun').contains(current); + return (current.countCards('h')>player.countCards('h')||current.countCards('e')>player.countCards('e'))&&get.attitude(player,current)<0&&player.getStorage('nzry_feijun').includes(current); })||game.hasPlayer(function(current){ return current.countCards('h')>player.countCards('h')&&get.attitude(player,current)<0; })||(player.countCards('h')>=2&&game.hasPlayer(function(current){ @@ -1979,7 +1979,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return !player.hasMark('nzry_huaiju'); }, check:function(event,player){ - return player.countCards('h')>=2||player.skipList.contains('phaseUse'); + return player.countCards('h')>=2||player.skipList.includes('phaseUse'); }, content:function(){ trigger.cancel(); @@ -2409,7 +2409,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=[]; player.countCards('h',function(cardx){ if(cardx!=card||get.color(cardx)!=color) return false; - if(list.contains(cardx.name)) return false; + if(list.includes(cardx.name)) return false; list.push(cardx.name); switch(cardx.name){ case 'wuxie':num+=(game.countPlayer()/2.2);break; @@ -2650,7 +2650,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ var pl=player.storage.nzry_shenshi2; var card=player.storage.nzry_shenshi1; - if(player.getCards('he').contains(card)&&4-pl.countCards('h')>0){ + if(player.getCards('he').includes(card)&&4-pl.countCards('h')>0){ pl.draw(4-pl.countCards('h')); pl.logSkill('nzry_shenshi'); } @@ -2990,7 +2990,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ viewAs:{name:'wanjian'}, filterCard:function(card,player){ if(!player.storage.reluanji) return true; - return !player.storage.reluanji.contains(get.suit(card)); + return !player.storage.reluanji.includes(get.suit(card)); }, position:'hs', selectCard:2, @@ -3260,7 +3260,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ directHit_ai:true, skillTagFilter:function(player,tag,arg){ if(get.attitude(player,arg.target)<=0&&arg.card.name=='sha'&&player.countCards('h',function(card){ - return card!=arg.card&&(!arg.card.cards||!arg.card.cards.contains(card)); + return card!=arg.card&&(!arg.card.cards||!arg.card.cards.includes(card)); })>=arg.target.countCards('h')) return true; return false; }, @@ -3283,7 +3283,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'挑衅:对'+get.translation(player)+'使用一张杀,或令其弃置你的一张牌').set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.filterTarget.apply(this,arguments); }).set('sourcex',player); "step 1" @@ -4035,7 +4035,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ]).set('filterButton',function(button){ var type=typeof button.link; if(ui.selected.buttons.length&&type==typeof ui.selected.buttons[0].link) return false; - return type=='string'||_status.event.allowed.contains(button.link); + return type=='string'||_status.event.allowed.includes(button.link); }).set('allowed',cards2).set('check',lib.skill.guzheng.checkx(trigger,player,cards,cards2)).set('ai',function(button){ if(typeof button.link=='string'){ return button.link=='获得剩余的牌'?1:0; @@ -4283,7 +4283,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ _status.imchoosing=false; var skill=skills[0],character; for(var i in player.storage.huashen.owned){ - if(player.storage.huashen.owned[i].contains(skill)){ + if(player.storage.huashen.owned[i].includes(skill)){ character=i; break; } } @@ -4310,7 +4310,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } event.dialog.open(); event.custom.replace.button=function(button){ - if(!event.dialog.contains(button.parentNode)) return; + if(!event.dialog.includes(button.parentNode)) return; if(event.control) event.control.style.opacity=1; if(button.classList.contains('selectedx')){ event.button=null; @@ -4354,7 +4354,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ _status.imchoosing=false; var skill=skills[0],character; for(var i in player.storage.huashen.owned){ - if(player.storage.huashen.owned[i].contains(skill)){ + if(player.storage.huashen.owned[i].includes(skill)){ character=i; break; } } @@ -4370,7 +4370,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.control=ui.create.control(); event.control.replacex=function(){ var args=Array.from(arguments)[0]; - if(args.contains('cancel2')&&forced){ + if(args.includes('cancel2')&&forced){ args.remove('cancel2'); this.style.opacity=''; } @@ -4445,7 +4445,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.changeGroup(lib.character[character][1]); } player.storage.huashen.current2=skill; - if(!player.additionalSkills.huashen||!player.additionalSkills.huashen.contains(skill)){ + if(!player.additionalSkills.huashen||!player.additionalSkills.huashen.includes(skill)){ player.addAdditionalSkill('huashen',skill); player.flashAvatar('huashen',character); game.log(player,'获得了技能','#g【'+get.translation(skill)+'】'); @@ -4614,7 +4614,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audioname:['boss_lvbu3','ol_zhurong'], trigger:{source:'damageSource'}, filter:function(event,player){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return (event.card&&event.card.name=='sha'&&event.getParent().name=='sha'&& event.player.isIn()&& player.canCompare(event.player)); @@ -5299,7 +5299,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "step 2" if(result.bool==false) event.current.loseHp(); event.current=event.current.next; - if(event.current!=player&&!event.currented.contains(event.current)){ + if(event.current!=player&&!event.currented.includes(event.current)){ game.delay(0.5); event.goto(1); } @@ -5444,7 +5444,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return (get.name(b)=='wuxie'?1:2)-(get.name(a)=='wuxie'?1:2); }); var geti=function(){ - if(cards.contains(card)){ + if(cards.includes(card)){ return cards.indexOf(card); } return cards.length; @@ -6910,7 +6910,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var nums=[]; var cards=player.getExpansions('gzbuqu'); for(var i=0;i0&&!player.hasSkill('guhuo_phase')); + return (lib.inpile.includes(name)&&player.countCards('hs')>0&&!player.hasSkill('guhuo_phase')); }, filter:function(event,player){ if(player.hasSkill('guhuo_phase')) return false; diff --git a/character/shiji.js b/character/shiji.js index 239376ddf..4f37d8d88 100644 --- a/character/shiji.js +++ b/character/shiji.js @@ -865,7 +865,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ usable:1, filter:function(event,player){ return (event.card.name=='sha'||get.type(event.card,false)=='delay')&& - event.player!=player&&!event.targets.contains(player)&&player.inRange(event.target); + event.player!=player&&!event.targets.includes(player)&&player.inRange(event.target); }, logTarget:'target', check:function(event,player){ @@ -963,7 +963,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var next=player.chooseToDiscard('h','抵诽:弃置一张手牌或摸一张牌'); if(trigger.card){ var suit=get.suit(trigger.card,false); - if(lib.suit.contains(suit)){ + if(lib.suit.includes(suit)){ next.set('suit',suit); next.set('prompt2','然后若没有'+get.translation(suit)+'手牌则回复1点体力'); next.set('ai',function(card){ @@ -985,7 +985,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.showHandcards(); if(trigger.card){ var suit=get.suit(trigger.card,false); - if(!lib.suit.contains(suit)||!player.countCards('h',{suit:suit})) player.recover(); + if(!lib.suit.includes(suit)||!player.countCards('h',{suit:suit})) player.recover(); } }, }, @@ -1079,7 +1079,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hs=player.getCards('h'); return hs.length>0&&!player.hasSkillTag('noCompareSource')&&player.hasHistory('gain',function(evt){ for(var i of evt.cards){ - if(hs.contains(i)) return true; + if(hs.includes(i)) return true; } return false; })&&game.hasPlayer(function(current){ @@ -1093,14 +1093,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ cards.addArray(evt.cards); }); cards=cards.filter(function(i){ - return hs.contains(i); + return hs.includes(i); }); player.chooseCardTarget({ prompt:get.prompt('spyajun'), prompt2:'操作提示:选择一张本回合新得到的牌作为拼点牌,然后选择一名拼点目标', cards:cards, filterCard:function(card){ - return _status.event.cards.contains(card); + return _status.event.cards.includes(card); }, filterTarget:function(card,player,target){ return player.canCompare(target); @@ -1291,7 +1291,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(result.bool){ player.addTempSkill('spxizhan_spfangzong'); var target=trigger.player,card=result.cards[0],suit=get.suit(card,player); - if(!lib.suit.contains(suit)||(!target||!target.isIn())&&suit!='heart') return; + if(!lib.suit.includes(suit)||(!target||!target.isIn())&&suit!='heart') return; game.broadcastAll(function(suit){ if(lib.config.background_speak) game.playAudio('skill','spxizhan'+(4-lib.suit.indexOf(suit))); },suit); @@ -1500,7 +1500,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' var target=trigger.source,hs=player.getCards('h'); if(target&&target.isIn()&&hs.length>=cards.length&&cards.filter(function(i){ - return hs.contains(i); + return hs.includes(i); }).length==cards.length&&player.canUse({name:'sha',cards:cards},target,false)){ var next=player.useCard({name:'sha'},cards,target,false); if(!target.getEquips(1).length) next.baseDamage=2; @@ -1548,7 +1548,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else event.finish(); } 'step 1' - if(player.getCards('h').contains(card)&&get.type(card,player)=='equip'&&player.hasUseTarget(card)) player.chooseUseTarget(card,true,'nopopup'); + if(player.getCards('h').includes(card)&&get.type(card,player)=='equip'&&player.hasUseTarget(card)) player.chooseUseTarget(card,true,'nopopup'); 'step 2' var hs=target.getCards('h',function(card){ return target.canUse(get.autoViewAs({name:'sha'},[card]),player,false); @@ -1556,7 +1556,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(hs.length){ if(hs.length==1) event._result={bool:true,cards:hs}; else target.chooseCard('h',true,'将一张牌当做【杀】对'+get.translation(player)+'使用',function(card){ - return _status.event.cards.contains(card); + return _status.event.cards.includes(card); }).set('cards',hs).set('ai',function(card){ return get.effect(_status.event.getParent().player,get.autoViewAs({name:'sha',},[card]),_status.event.player) }) @@ -1804,7 +1804,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'对'+get.translation(target2)+'使用一张杀,否则交给其两张牌').set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.targetEnabled.apply(this,arguments); }).set('sourcex',target2).set('addCount',false); 'step 4' @@ -1885,7 +1885,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player.isDamaged()){ list.push('选项二'); } - if(list.contains('选项一')) list.push('背水!') + if(list.includes('选项一')) list.push('背水!') list.push('cancel2'); player.chooseControl(list).set('choiceList',list2).set('ai',function(target){ if(player.isDamaged()&&(player.hp<=2||!target.countCards('e',function(card){ @@ -1960,7 +1960,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var num=get.number(card); if(typeof num!='number') return false; var bs=player.getCards('h',function(cardx){ - return (get.number(cardx)>num&&!['','',''].contains(cardx.name)); + return (get.number(cardx)>num&&!['','',''].includes(cardx.name)); }); if(bs.length<2) return 0; if(player.hasSkill('jiu')||player.hasSkill('tianxianjiu')) return; @@ -2221,7 +2221,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ target.discard(card); for(var i=0;i0&&player.getCards('he').contains(player.storage.mingfa) + return player.storage.mingfa&&player.countCards('h')>0&&player.getCards('he').includes(player.storage.mingfa) &&!player.hasSkillTag('noCompareSource')&&game.hasPlayer(function(current){ return current!=player&&player.canCompare(current); }); @@ -3324,7 +3324,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ silent:true, firstDo:true, filter:function(event,player){ - return player.storage.mingfa&&event.cards.contains(player.storage.mingfa)&&player.getCards('h').contains(player.storage.mingfa); + return player.storage.mingfa&&event.cards.includes(player.storage.mingfa)&&player.getCards('h').includes(player.storage.mingfa); }, content:function(){ player.addGaintag(player.storage.mingfa,'mingfa'); @@ -3423,7 +3423,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player.storage.yizhu&&player.storage.yizhu.length&& event.player!=player&&event.targets.length==1&& event.cards.filter(function(i){ - return player.storage.yizhu.contains(i); + return player.storage.yizhu.includes(i); }).length>0; }, logTarget:'player', @@ -3438,7 +3438,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger.targets.length=0; trigger.getParent().triggeredTargets1.length=0; var list=trigger.cards.filter(function(i){ - return player.storage.yizhu.contains(i); + return player.storage.yizhu.includes(i); }); player.unmarkAuto('yizhu',list); game.delayx(); @@ -3662,7 +3662,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ playerEnabled:function(card,player,target){ var info=get.info(card); if(info&&info.singleCard&&ui.selected.cards.length) return; - if(!player.getStorage('yinlang_block').contains(target)) return false; + if(!player.getStorage('yinlang_block').includes(target)) return false; }, }, onremove:true, @@ -4096,7 +4096,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filterCard:true, position:'he', filterTarget:function(card,player,target){ - return _status.event.list.contains(target); + return _status.event.list.includes(target); }, list:list, selectTarget:list.length>1?1:-1, @@ -4160,7 +4160,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filterCard:true, position:'he', filterTarget:function(card,player,target){ - return _status.event.list.contains(target); + return _status.event.list.includes(target); }, list:list, selectTarget:list.length>1?1:-1, @@ -4299,7 +4299,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ prompt2:'从游戏外或牌堆中获得一张【调剂盐梅】', content:function(){ if(!_status.tiaojiyanmei_suits||_status.tiaojiyanmei_suits.length>0){ - if(!lib.inpile.contains('tiaojiyanmei')) lib.inpile.add('tiaojiyanmei'); + if(!lib.inpile.includes('tiaojiyanmei')) lib.inpile.add('tiaojiyanmei'); if(!_status.tiaojiyanmei_suits) _status.tiaojiyanmei_suits=lib.suit.slice(0); player.gain(game.createCard2('tiaojiyanmei',_status.tiaojiyanmei_suits.randomRemove(),6),'gain2'); } @@ -4612,7 +4612,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ target:function(player,target){ if(!ui.selected.cards.length) return 0; var card=ui.selected.cards[0]; - if(player.hasSkill('ejian')&&!player.getStorage('ejian').contains(target)){ + if(player.hasSkill('ejian')&&!player.getStorage('ejian').includes(target)){ var dam=get.damageEffect(target,player,target); if(dam>0) return dam; var type=get.type(card,target),ts=target.getCards('he',function(card){ @@ -4651,9 +4651,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, filter:function(event,player){ var evt=event.getParent(),target=event.player; - if(evt.name!='boming'||evt.player!=player||player.getStorage('ejian').contains(target)||!target.isIn()) return false; + if(evt.name!='boming'||evt.player!=player||player.getStorage('ejian').includes(target)||!target.isIn()) return false; var he=target.getCards('he'),card=event.cards[0]; - if(!he.contains(card)) return false; + if(!he.includes(card)) return false; var type=get.type2(card); for(var i of he){ if(i!=card&&get.type2(i)==type) return true; @@ -4710,12 +4710,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ enable:'phaseUse', filter:function(event,player){ return player.countCards('h')>0&&(!player.storage.hxrenshi2||game.hasPlayer(function(current){ - return !player.storage.hxrenshi2.contains(current); + return !player.storage.hxrenshi2.includes(current); })) }, filterCard:true, filterTarget:function(card,player,target){ - return !player.storage.hxrenshi2||!player.storage.hxrenshi2.contains(target); + return !player.storage.hxrenshi2||!player.storage.hxrenshi2.includes(target); }, position:'h', discard:false, @@ -4874,7 +4874,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else player.gain(card,'gain2'); 'step 3' - if(player.isIn()&&player.getCards('h').contains(card)&&get.type(card,player)=='equip') player.chooseUseTarget(card,true,'nopopup'); + if(player.isIn()&&player.getCards('h').includes(card)&&get.type(card,player)=='equip') player.chooseUseTarget(card,true,'nopopup'); }, onremove:true, intro:{content:'已发动过#次'}, @@ -5017,7 +5017,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ list.add(get.type2(evt.card,false)); }); for(var i=0;i0; }, logTarget:function(event,player){ @@ -5140,7 +5140,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'equipAfter'}, forced:true, filter:function(event,player){ - if(player==event.player||!event.player.getStorage('reduoji').length||!event.player.getCards('e').contains(event.card)) return false; + if(player==event.player||!event.player.getStorage('reduoji').length||!event.player.getCards('e').includes(event.card)) return false; var evt=event.getParent(2); return evt.name=='useCard'&&evt.player==event.player; }, @@ -5191,7 +5191,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'引裾:对'+get.translation(player)+'使用一张杀,或跳过下回合的出牌阶段和弃牌阶段').set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.targetEnabled.apply(this,arguments); }).set('sourcex',player); "step 1" @@ -5367,7 +5367,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(name!='sha'&&name!='juedou') return false; return lib.filter.cardEnabled.apply(this,arguments); },'合击:是否对'+get.translation(trigger.targets[0])+'使用一张【杀】或【决斗】?').set('logSkill','heji').set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.targetEnabled.apply(this,arguments); }).set('sourcex',trigger.targets[0]).set('addCount',false); }, @@ -5808,7 +5808,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ check:function(button){ if(_status.event.getParent().type!='phase') return 1; var player=_status.event.player; - if(['wugu','zhulu_card','yiyi','lulitongxin','lianjunshengyan','diaohulishan'].contains(button.link[2])) return 0; + if(['wugu','zhulu_card','yiyi','lulitongxin','lianjunshengyan','diaohulishan'].includes(button.link[2])) return 0; return player.getUseValue({ name:button.link[2], nature:button.link[3], @@ -5835,7 +5835,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, hiddenCard:function(player,name){ - if(!lib.inpile.contains(name)) return false; + if(!lib.inpile.includes(name)) return false; var type=get.type2(name); return (type=='basic'||type=='trick')&&player.countMark('spwuku')>0&&player.countCards('she')>0&&!player.hasSkill('spmiewu2'); }, @@ -5888,13 +5888,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } if(num%5==0){ var card=get.cardPile2(function(card){ - return ['tao','jiu','zong','xionghuangjiu'].contains(card.name); + return ['tao','jiu','zong','xionghuangjiu'].includes(card.name); }); if(card) cards.push(card); } if(num%8==0){ var card=get.cardPile2(function(card){ - return ['juedou','wuzhong','zengbin','sadouchengbing','dongzhuxianji','tongzhougongji'].contains(card.name); + return ['juedou','wuzhong','zengbin','sadouchengbing','dongzhuxianji','tongzhougongji'].includes(card.name); }); if(card) cards.push(card); } @@ -6455,7 +6455,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=[card]; if(card.cards) cards.addArray(card.cards); var fh=function(card){ - return !cards.contains(card); + return !cards.includes(card); }; if(!targets.length){ if(get.attitude(player,target)<0){ @@ -6478,7 +6478,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } var average=0; for(var i of targets) average+=i.countCards('h',fh); - if(!targets.contains(target)){ + if(!targets.includes(target)){ var th=target.countCards('h',fh); average+=th; average/=(targets.length+1); diff --git a/character/sp.js b/character/sp.js index 594f6a8bf..61bb1c238 100755 --- a/character/sp.js +++ b/character/sp.js @@ -26,7 +26,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return mode!='chess'&&mode!='tafang'&&mode!='stone'; }, ol_dongzhao:function(mode){ - return mode=='identity'&&['normal','zhong'].contains(_status.mode); + return mode=='identity'&&['normal','zhong'].includes(_status.mode); }, }, character:{ @@ -755,7 +755,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=_status.event.player,att=get.attitude(player,target); var cards=_status.event.cards; if(cards.filter(card=>get.name(card,false)=='du').length>=Math.ceil(cards.length/2)) att*=-1; - if(target.skipList.contains('phaseUse')||target.hasJudge('lebu')) return att/20; + if(target.skipList.includes('phaseUse')||target.hasJudge('lebu')) return att/20; return att; }).set('cards',evt.cards.filterInD('d')); 'step 1' @@ -808,13 +808,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(trigger.name=='die'||!history.length||!evt.cards||!evt.cards.filterInD('d').length) event.finish(); 'step 1' var evt=event.evt; - trigger.player.chooseBool(get.prompt('ollianju',player),'令'+get.translation(player)+'获得'+get.translation(evt.cards.filterInD('d'))+(event.list.contains(evt.card.name)?',然后'+get.translation(player)+'失去1点体力':'')).set('choice',get.attitude(trigger.player,player)>0&&(!event.list.contains(evt.card.name)||player.getHp()>1)); + trigger.player.chooseBool(get.prompt('ollianju',player),'令'+get.translation(player)+'获得'+get.translation(evt.cards.filterInD('d'))+(event.list.includes(evt.card.name)?',然后'+get.translation(player)+'失去1点体力':'')).set('choice',get.attitude(trigger.player,player)>0&&(!event.list.includes(evt.card.name)||player.getHp()>1)); 'step 2' if(result.bool){ var evt=event.evt,cards=evt.cards.filterInD('d'); trigger.player.line(player); player.gain(cards,'gain2'); - if(event.list.contains(evt.card.name)) player.loseHp(); + if(event.list.includes(evt.card.name)) player.loseHp(); else{ var card={ name:evt.card.name, @@ -1088,7 +1088,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } if(ai_targets.length){ for(var i=0;i'; player.chooseControl(list).set('prompt',get.prompt('tspowei',target)).set('choiceList',choiceList).set('ai',function(){ var player=_status.event.player,target=_status.event.target; - if(list.contains('选项三')&&player.hp+player.countCards('hs',{name:'tao'})>2) return '选项三'; - if(list.contains('选项二')&&target.countCards('h',{name:['sha','juedou']})>1) return'选项二'; + if(list.includes('选项三')&&player.hp+player.countCards('hs',{name:'tao'})>2) return '选项三'; + if(list.includes('选项二')&&target.countCards('h',{name:['sha','juedou']})>1) return'选项二'; return '选项一'; }).set('target',trigger.target); 'step 1' @@ -1864,7 +1864,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else if(trigger.targets.length==1) event._result={bool:true,targets:trigger.targets.slice()}; else player.chooseTarget('请选择'+get.translation(trigger.card)+'伤害-1的目标',function(card,player,target){ var trigger=_status.event.getTrigger(); - return trigger.targets.contains(target); + return trigger.targets.includes(target); },true).set('ai',function(target){ var player=_status.event.player; return get.attitude(player,target); @@ -1879,11 +1879,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.getStorage('olfushi_buff2').push([target,trigger.card]); } 'step 4' - if(!event.list.contains('伤害+1')) event.finish(); + if(!event.list.includes('伤害+1')) event.finish(); else if(trigger.targets.length==1) event._result={bool:true,targets:trigger.targets.slice()}; else player.chooseTarget('请选择'+get.translation(trigger.card)+'伤害+1的目标',function(card,player,target){ var trigger=_status.event.getTrigger(); - return trigger.targets.contains(target); + return trigger.targets.includes(target); },true).set('ai',function(target){ var player=_status.event.player; return get.damageEffect(target,player,player); @@ -1915,7 +1915,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ effect:{ target:function(card,player,target){ if(player.hasSkillTag('jueqing',false,target)) return; - if(!card||!player.getStorage('olfushi_buff2').contains(card)) return; + if(!card||!player.getStorage('olfushi_buff2').includes(card)) return; var num=get.tag(card,'damage'); if(num){ if(num>1) return 0.5; @@ -2271,7 +2271,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, enable:'chooseToUse', hiddenCard:function(player,name){ - if(name!='wuxie'&&lib.inpile.contains(name)) return true; + if(name!='wuxie'&&lib.inpile.includes(name)) return true; }, filter:function(event,player){ if(event.responded||event.type=='wuxie'||event.olqifan) return false; @@ -2288,7 +2288,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=get.bottomCards(1+player.getStorage('olqifan').length,true); var aozhan=player.hasSkill('aozhan'); player.chooseButton(['器翻:选择要使用的牌',cards]).set('filterButton',function(button){ - return _status.event.cards.contains(button.link); + return _status.event.cards.includes(button.link); }).set('cards',cards.filter(function(card){ if(aozhan&&card.name=='tao'){ return evt.filterCard({ @@ -2539,7 +2539,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(current=>{ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current); })) return true; } return false; @@ -2551,7 +2551,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' var num=trigger._olweifu_clear; player.chooseTarget(get.prompt('olweifu'),'为'+get.translation(trigger.card)+'额外指定'+get.cnNumber(num)+'个目标。',[1,num],(card,player,target)=>{ - return !_status.event.sourcex.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); + return !_status.event.sourcex.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); }).set('sourcex',trigger.targets).set('ai',function(target){ var player=_status.event.player; return get.effect(target,_status.event.card,player,player); @@ -2598,7 +2598,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget(get.prompt('olkuansai'),'令其中一个目标选择一项:1.交给你一张牌;2.令你回复1点体力。',(card,player,target)=>{ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('targets',trigger.targets).set('ai',target=>{ var player=_status.event.player; var att=get.attitude(player,target); @@ -2787,7 +2787,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ next.set('targetRequired',true); next.set('complexSelect',true); next.set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.targetEnabled.apply(this,arguments); }); next.set('sourcex',trigger.player); @@ -3079,7 +3079,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ui.cardPile.insertBefore(card,ui.cardPile.firstChild); player.showCards(card,get.translation(player)+'发动了【天候】'); var suit=get.suit(card,false),skill='oltianhou_'+suit; - if(!lib.skill.oltianhou.derivation.contains(skill)) event.finish(); + if(!lib.skill.oltianhou.derivation.includes(skill)) event.finish(); else{ event.weather_skill=skill; player.chooseTarget(true,'令一名角色获得技能【'+get.translation(skill)+'】',get.translation(skill+'_info')).set('ai',function(target){ @@ -3375,17 +3375,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(card.name!='sha') return false; if(event.player==player){ return game.hasPlayer(current=>{ - return current.isIn()&&!event.targets.contains(current)&&player.canUse(card,current); + return current.isIn()&&!event.targets.includes(current)&&player.canUse(card,current); }); } - return event.player.isIn()&&!event.targets.contains(player)&&event.player.canUse(card,player); + return event.player.isIn()&&!event.targets.includes(player)&&event.player.canUse(card,player); }, direct:true, content:function(){ 'step 0' if(trigger.player==player){ player.chooseTarget(get.prompt('olguangao'),'为'+get.translation(trigger.card)+'额外指定一个目标。然后若你手牌数为偶数,你摸一张牌并令此牌对任意目标无效。',(card,player,target)=>{ - return !_status.event.sourcex.contains(target)&&player.canUse(_status.event.card,target); + return !_status.event.sourcex.includes(target)&&player.canUse(_status.event.card,target); }).set('sourcex',trigger.targets).set('ai',function(target){ var player=_status.event.player; if(player.countCards('h')%2==0) return true; @@ -3427,7 +3427,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player.countCards('h')%2==0){ player.draw(); player.chooseTarget('犷骜:令此杀对其任意个目标无效',[1,Infinity],(card,player,target)=>{ - return _status.event.targetsx.contains(target); + return _status.event.targetsx.includes(target); }).set('ai',target=>{ return 1-get.effect(target,_status.event.getTrigger().card,_status.event.player,_status.event.player); }).set('targetsx',trigger.targets); @@ -3486,7 +3486,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, filterTarget:function(card,player,target){ var event=_status.event; - if(event.olxieju.contains(target)) return true; + if(event.olxieju.includes(target)) return true; return false; }, selectTarget:[1,Infinity], @@ -3558,7 +3558,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } if(event.ai_targets.length){ for(var i=0;i{ @@ -3829,14 +3829,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ '将势力改为任意一个势力' ].map((text,ind)=>{ var hint=''; - if(list2.contains(ind+1)){ + if(list2.includes(ind+1)){ return text; } - else if(!list.contains(ind+1)){ + else if(!list.includes(ind+1)){ hint+='已被执行过且'; } - if(ind==1&&nochai&&!list2.contains(ind+1)) hint+='无有手牌角色且'; - if(ind==2&&nosha&&!list2.contains(ind+1)) hint+='无可选目标且'; + if(ind==1&&nochai&&!list2.includes(ind+1)) hint+='无有手牌角色且'; + if(ind==2&&nosha&&!list2.includes(ind+1)) hint+='无可选目标且'; hint=hint.slice(0,-1); return ''+text+'('+hint+')'; }); @@ -4099,7 +4099,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var bool of [true,false]){ var targeted=player.getStorage('olzhuyan_'+bool); if(game.hasPlayer(current=>{ - return !targeted.contains(current)&&lib.skill.olzhuyan.getNum(current,bool); + return !targeted.includes(current)&&lib.skill.olzhuyan.getNum(current,bool); })) return true; } return false; @@ -4123,7 +4123,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var bool of [true,false]){ var targeted=player.getStorage('olzhuyan_'+bool); game.countPlayer(current=>{ - if(targeted.contains(current)) return false; + if(targeted.includes(current)) return false; if(!map[current.playerid]) map[current.playerid]=[]; map[current.playerid][bool?1:0]=lib.skill.olzhuyan.getNum(current,bool); }); @@ -4367,7 +4367,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=[]; for(var i=0;i<3;i++){ var card=get.cardPile2(function(card){ - if(cards.contains(card)) return false; + if(cards.includes(card)) return false; var type=get.subtype(card); return type=='equip3'||type=='equip4'||type=='equip6'; }); @@ -4458,7 +4458,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ enable:'phaseUse', usable:1, filterTarget:function(card,player,target){ - return !player.getStorage('olzenrun').contains(target)&&target.countCards('e')!=player.countCards('h'); + return !player.getStorage('olzenrun').includes(target)&&target.countCards('e')!=player.countCards('h'); }, content:function(){ 'step 0' @@ -4498,7 +4498,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var cardx of cards2){ var type=get.type2(cardx,player); var card=get.discardPile(function(card){ - return get.type(card,false)==type&&!cards2.contains(card)&&!cards.contains(card); + return get.type(card,false)==type&&!cards2.includes(card)&&!cards.includes(card); }); if(card) cards.push(card); } @@ -4512,7 +4512,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'drawBefore'}, filter:function(event,player){ return !player.hasSkill('olzenrun_used')&&game.hasPlayer(current=>{ - return !player.getStorage('olzenrun').contains(current)&¤t!=player&¤t.hasCard(function(card){ + return !player.getStorage('olzenrun').includes(current)&¤t!=player&¤t.hasCard(function(card){ return lib.filter.canBeGained(card,player,current); },'he') }); @@ -4525,7 +4525,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' var num=trigger.num; player.chooseTarget(get.prompt('olzenrun'),'改为获得一名其他角色'+get.cnNumber(num)+'张牌',(card,player,target)=>{ - return !player.getStorage('olzenrun').contains(target)&&target!=player&&target.hasCard(function(card){ + return !player.getStorage('olzenrun').includes(target)&&target!=player&&target.hasCard(function(card){ return lib.filter.canBeGained(card,player,target); },'he') }).set('ai',target=>{ @@ -4689,7 +4689,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }).set('choice',function(){ if(choices.length==1) return choices[0]; var choicesx=choices.slice(); - if(get.attitude(player,trigger.targets[0])>0&&choices.contains('选项三')) return '选项三'; + if(get.attitude(player,trigger.targets[0])>0&&choices.includes('选项三')) return '选项三'; choicesx.remove('选项三'); return choicesx.randomGet(); }()); @@ -5340,7 +5340,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return info.ai.neg||info.ai.halfneg; }); if(negs.length) return negs.randomGet(); - if(choices.contains('mashu')) return 'mashu'; + if(choices.includes('mashu')) return 'mashu'; return choices.randomGet(); }); } @@ -5536,7 +5536,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, enable:'phaseUse', filterTarget:function(card,player,target){ - return !player.getStorage('oljianhe_chosen').contains(target); + return !player.getStorage('oljianhe_chosen').includes(target); }, filterCard:function(card,player){ if(ui.selected.cards.length){ @@ -5624,7 +5624,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return game.hasPlayer(current=>{ if(current.countCards('h')) return false; var evt=event.getl(current); - return evt&&evt.hs&&evt.hs.length&&!player.getStorage('olqiejian_ban').contains(current); + return evt&&evt.hs&&evt.hs.length&&!player.getStorage('olqiejian_ban').includes(current); }); }, content:function(){ @@ -5632,7 +5632,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.targets=game.filterPlayer(current=>{ if(current.countCards('h')) return false; var evt=trigger.getl(current); - return evt&&evt.hs&&evt.hs.length&&!player.getStorage('olqiejian_ban').contains(current); + return evt&&evt.hs&&evt.hs.length&&!player.getStorage('olqiejian_ban').includes(current); }).sortBySeat(_status.currentPhase); 'step 1' var target=targets.shift(); @@ -5789,7 +5789,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.card.name!='sha') return false; return game.hasPlayer(function(current){ - return !event.targets.contains(current)&&player.canUse(event.card,current); + return !event.targets.includes(current)&&player.canUse(event.card,current); }); }, direct:true, @@ -5798,7 +5798,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' player.chooseTarget(get.prompt('olchenglie'),'为'+get.translation(trigger.card)+'多指定至多两个目标,并发动后续效果',[1,2],(card,player,target)=>{ var evt=_status.event.getTrigger(); - return !evt.targets.contains(target)&&player.canUse(evt.card,target); + return !evt.targets.includes(target)&&player.canUse(evt.card,target); }).set('ai',function(target){ var player=_status.event.player,evt=_status.event.getTrigger(); return get.effect(target,evt.card,player,player); @@ -5832,20 +5832,20 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=_status.event.player; var hs=player.getCards('h'); var changed=hs.filter(function(card){ - return !moved[1].contains(card); + return !moved[1].includes(card); }); var changed2=moved[1].filter(function(card){ - return !hs.contains(card); + return !hs.includes(card); }); if(changed.length<1) return true; - var pos1=(moved[0].contains(from.link)?0:1),pos2=(moved[0].contains(to.link)?0:1); + var pos1=(moved[0].includes(from.link)?0:1),pos2=(moved[0].includes(to.link)?0:1); if(pos1==pos2) return true; if(pos1==0){ - if(changed.contains(from.link)) return true; - return changed2.contains(to.link); + if(changed.includes(from.link)) return true; + return changed2.includes(to.link); } - if(changed2.contains(from.link)) return true; - return changed.contains(to.link); + if(changed2.includes(from.link)) return true; + return changed.includes(to.link); }); next.set('processAI',function(list){ var cards1=list[0][1].slice(),cards2=list[1][1].slice(); @@ -5864,10 +5864,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hs=player.getCards('h'),ts=event.cards; var card1,card2; for(var i of moved[0]){ - if(!ts.contains(i)) card1=i; + if(!ts.includes(i)) card1=i; } for(var i of moved[1]){ - if(!hs.contains(i)) card2=i; + if(!hs.includes(i)) card2=i; } if(card1&&card2){ player.$throw(1,1000); @@ -5889,14 +5889,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var card=result.links[0]; event.card=card; player.chooseTarget('将'+get.translation(card)+'置于一名目标角色的武将牌上',true,(card,player,target)=>{ - return _status.event.getTrigger().targets.contains(target)&&!_status.event.getParent().given.contains(target); + return _status.event.getTrigger().targets.includes(target)&&!_status.event.getParent().given.includes(target); }).set('ai',target=>{ var color=_status.event.color,player=_status.event.player; var evt=_status.event.getTrigger(); if(color=='red'){ var eff=get.effect(target,evt.card,player,target),att=get.attitude(player,target); if(eff>=0&&att<0) return -1; - if(eff<0&&att<0&&target.hasCard(card=>['shan','caochuan'].contains(get.name(card)),'hs')) return 10; + if(eff<0&&att<0&&target.hasCard(card=>['shan','caochuan'].includes(get.name(card)),'hs')) return 10; } return 1; }).set('color',get.color(card)); @@ -6056,18 +6056,18 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var card=button.link,cards=ui.selected.buttons.map(button=>button.link); var hs=player.getCards('h'),discard=false; for(var i of cards){ - if(hs.contains(i)){ + if(hs.includes(i)){ discard=true; break; } } - if(hs.contains(card)){ + if(hs.includes(card)){ if(discard||get.name(card)!='shan') return 0; if(target.hasCard(card=>get.value(card,target)>5,'e')) return 2; return 0; } if(discard&&!target.hasCard(function(cardx){ - return cardx!=card&&!cards.contains(cardx)&&get.value(cardx,target)>0; + return cardx!=card&&!cards.includes(cardx)&&get.value(cardx,target)>0; },'he')) return 0; return 1+Math.random(); }); @@ -6077,7 +6077,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list1=[],list2=[]; var hs=player.getCards('h'); for(var card of result.links){ - if(hs.contains(card)){ + if(hs.includes(card)){ list1.push(card); } else{ @@ -6122,9 +6122,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else event.finish(); 'step 3' if(target.hasCard(function(card){ - return !cards.contains(card)&&lib.filter.canBeGained(card,player,target); + return !cards.includes(card)&&lib.filter.canBeGained(card,player,target); },'he')) player.gainPlayerCard(target,true,'he').set('filterButton',function(button){ - return !_status.event.cards.contains(button.link); + return !_status.event.cards.includes(button.link); }).set('cards',cards); }, ai:{ @@ -6260,7 +6260,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hs=player.getCards('h'); var lose=[],gain=event.cards2; for(var i of cards){ - if(hs.contains(i)) lose.push(i); + if(hs.includes(i)) lose.push(i); else gain.remove(i); } if(lose.length) player.lose(lose,ui.cardPile); @@ -6422,21 +6422,21 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.type(name)!='basic') continue; if(!event){ if(name=='sha'){ - if(!used.contains('sha')&&player.hasUseTarget({name:'sha'})) vcards.push(['基本','','sha']); + if(!used.includes('sha')&&player.hasUseTarget({name:'sha'})) vcards.push(['基本','','sha']); for(var nature of natures) { if(player.hasUseTarget({name:'sha',nature:nature})) vcards.push(['基本','','sha',nature]); } } - else if(!used.contains(name)&&player.hasUseTarget({name:name})) vcards.push(['基本','',name]); + else if(!used.includes(name)&&player.hasUseTarget({name:name})) vcards.push(['基本','',name]); } else{ if(name=='sha'){ - if(!used.contains('sha')&&event.filterCard({name:'sha'},player,event)) vcards.push(['基本','','sha']); + if(!used.includes('sha')&&event.filterCard({name:'sha'},player,event)) vcards.push(['基本','','sha']); for(var nature of natures) { if(event.filterCard({name:'sha',nature:nature},player,event)) vcards.push(['基本','','sha',nature]); } } - else if(!used.contains(name)&&event.filterCard({name:name},player,event)) vcards.push(['基本','',name]); + else if(!used.includes(name)&&event.filterCard({name:name},player,event)) vcards.push(['基本','',name]); } } return vcards; @@ -6566,7 +6566,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, hiddenCard:function(player,name){ var count=player.countMark('olbixin'); - if(!lib.inpile.contains(name)||get.type(name)!='basic'||count<3) return false; + if(!lib.inpile.includes(name)||get.type(name)!='basic'||count<3) return false; var types=['basic','trick','equip'].filter(type=>{ return player.countMark('olbixin_'+type)<3; }); @@ -6915,7 +6915,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else event.finish(); 'step 2' - if(result.bool&&player.getCards('h').contains(result.cards[0])){ + if(result.bool&&player.getCards('h').includes(result.cards[0])){ event.card=result.cards[0]; player.chooseTarget('是否将'+get.translation(event.card)+'交给一名其他角色?',function(card,player,current){ return current!=player&¤t!=_status.event.target1&&lib.skill.xindiaodu.isFriendOf(current,player) @@ -7188,7 +7188,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return false; }); player.chooseTarget(get.prompt('olzeyue'),'令一名可选角色的一个非锁定技失效',function(card,player,target){ - return _status.event.sources.contains(target); + return _status.event.sources.includes(target); }).set('sources',sources).set('ai',function(target){ var player=_status.event.player,att=get.attitude(player,target); if(att>=0) return 0; @@ -7252,7 +7252,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return evt.card.name=='sha'&&evt.getParent().type=='card'&&evt.getParent(3)==event; })){ for(var skill in target.disabledSkills){ - if(target.disabledSkills[skill].contains(key)) game.log(target,'恢复了技能','#g【'+get.translation(skill)+'】'); + if(target.disabledSkills[skill].includes(key)) game.log(target,'恢复了技能','#g【'+get.translation(skill)+'】'); } delete target.storage[key]; target.enableSkill(key); @@ -7319,14 +7319,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.type!='discard'||event.getlx===false||player==_status.currentPhase||!event.isPhaseUsing()) return false; for(var card of event.cards){ - if(get.position(card,true)=='d'&&get.name(card,event.hs&&event.hs.contains(card)?event.player:false)=='sha') return true; + if(get.position(card,true)=='d'&&get.name(card,event.hs&&event.hs.includes(card)?event.player:false)=='sha') return true; } }, direct:true, content:function(){ 'step 0' var cards=trigger.cards.filter(function(card){ - return (get.position(card,true)=='d'&&get.name(card,trigger.hs&&trigger.hs.contains(card)?trigger.player:false)=='sha') + return (get.position(card,true)=='d'&&get.name(card,trigger.hs&&trigger.hs.includes(card)?trigger.player:false)=='sha') }); player.chooseButton(['是否发动【更战】获得一张杀?',cards]).set('ai',function(button){ return get.value(button.link,_status.event.player); @@ -7723,7 +7723,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, filter:function(event,player){ if(event.name=='addToExpansion'){ - if(event.gaintag.contains('huamu')){ + if(event.gaintag.includes('huamu')){ var cards=event.player.getExpansions('huamu'),red=cards.filter(function(i){ return get.color(i,false)=='red'; }); @@ -7732,7 +7732,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } if(event.name=='lose'&&event.getlx!==false){ for(var i in event.gaintag_map){ - if(event.gaintag_map[i].contains('huamu')){ + if(event.gaintag_map[i].includes('huamu')){ var cards=event.player.getExpansions('huamu'),red=cards.filter(function(i){ return get.color(i,false)=='red'; }); @@ -7744,7 +7744,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return game.getGlobalHistory('cardMove',function(evt){ if(evt.name!='lose'||event!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('huamu')){ + if(evt.gaintag_map[i].includes('huamu')){ var cards=evt.player.getExpansions('huamu'),red=cards.filter(function(i){ return get.color(i,false)=='red'; }); @@ -7907,7 +7907,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }); var history=player.getAllHistory('useSkill'); for(var i of history){ - if(skills.contains(i.sourceSkill)||skills.contains(i.skill)) return true; + if(skills.includes(i.sourceSkill)||skills.includes(i.skill)) return true; } return false; }, @@ -7921,8 +7921,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }); var history=player.getAllHistory('useSkill'); for(var i of history){ - if(skills.contains(i.sourceSkill)) skills2.add(i.sourceSkill); - if(skills.contains(i.skill)) skills2.add(i.skill); + if(skills.includes(i.sourceSkill)) skills2.add(i.sourceSkill); + if(skills.includes(i.skill)) skills2.add(i.skill); if(skills.length==skills2.length) break; } event.skills2=skills2; @@ -7959,7 +7959,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(list.length==0) event._result={control:list[0]}; player.chooseControl(list).set('prompt','令'+get.translation(target)+'获得一个技能').set( 'ai',()=>_status.event.choice - ).set('choice',list.contains('qianmeng')?'qianmeng':list.randomGet()); + ).set('choice',list.includes('qianmeng')?'qianmeng':list.randomGet()); } else event.finish(); 'step 2' @@ -8152,7 +8152,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(typeof map.range!='number') return; var range=1; var equips=player.getCards('e',function(card){ - return !ui.selected.cards||!ui.selected.cards.contains(card); + return !ui.selected.cards||!ui.selected.cards.includes(card); }); for(var i=0;i0) event.redo(); @@ -8437,7 +8437,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'damageBegin4'}, filter:function(event,player){ var list=player.getStorage('tongxie_effect'); - if(!list.contains(event.player)) return false; + if(!list.includes(event.player)) return false; for(var i of list){ if(i!=event.player&&i.isIn()&&!i.hasSkill('tongxie_count2',null,null,false)) return true; } @@ -8480,7 +8480,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ popup:false, silent:true, filter:function(event,player){ - return player.getStorage('tongxie_effect').contains(event.player); + return player.getStorage('tongxie_effect').includes(event.player); }, content:function(){ trigger.player.addTempSkill('tongxie_count2'); @@ -8516,7 +8516,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var i of hs){ var val=get.value(i); min=Math.min(min,val); - if(es.contains(i)) equ+=val; + if(es.includes(i)) equ+=val; } equ/=es.length; if(min'+choiceList[i]+''); } - else if(storage1[0].contains(i)||!game.hasPlayer(function(current){ - return !storage1[1].contains(current)&&lib.skill.luochong.filterx[i](current); + else if(storage1[0].includes(i)||!game.hasPlayer(function(current){ + return !storage1[1].includes(current)&&lib.skill.luochong.filterx[i](current); })){ choiceList[i]=(''+choiceList[i]+''); } @@ -9660,7 +9660,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }[choice]; game.countPlayer(function(current){ - if(!listx.contains(current)) func(current); + if(!listx.includes(current)) func(current); }); return max; }; @@ -9691,10 +9691,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }] ][index]; var targets=game.filterPlayer(function(current){ - return !listx.contains(current)&&lib.skill.luochong.filterx[event.index](current); + return !listx.includes(current)&&lib.skill.luochong.filterx[event.index](current); }) var next=player.chooseTarget(list[0],true,function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }); next.set('targets',targets); next.set('ai',list[1]); @@ -9752,7 +9752,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ]; var storage2=player.getStorage('luochong'); for(var i=0;i<4;i++){ - if(storage2.contains(i)){ + if(storage2.includes(i)){ choiceList[i]=(''+choiceList[i]+''); } else list.push('选项'+get.cnNumber(i+1,true)) @@ -9761,7 +9761,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var controls=_status.event.controls.slice(0); var list=['选项三','选项四','选项二','选项一']; for(var i of list){ - if(controls.contains(i)) return i; + if(controls.includes(i)) return i; } return 0; }); @@ -10227,13 +10227,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ var storage=player.getStorage('zhuitao'); return game.hasPlayer(function(current){ - return current!=player&&!storage.contains(current); + return current!=player&&!storage.includes(current); }); }, content:function(){ 'step 0' player.chooseTarget(get.prompt('zhuitao'),'令自己至一名其他角色的距离-1',function(card,player,target){ - return target!=player&&!player.getStorage('zhuitao').contains(target); + return target!=player&&!player.getStorage('zhuitao').includes(target); }).set('ai',function(target){ var player=_status.event.player; var att=get.attitude(player,target); @@ -10254,7 +10254,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ onremove:true, mod:{ globalFrom:function(player,target,distance){ - if(player.getStorage('zhuitao').contains(target)) return distance-1; + if(player.getStorage('zhuitao').includes(target)) return distance-1; }, }, group:'zhuitao_remove', @@ -10266,7 +10266,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, forced:true, filter:function(event,player){ - return player.getStorage('zhuitao').contains(event.player); + return player.getStorage('zhuitao').includes(event.player); }, logTarget:'player', content:function(){ @@ -10297,7 +10297,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return current!=player&¤t!=target&&get.attitude(player,current)<0&&get.distance(player,current,'absolute')=target.hp) return 0; return att/dist; - }).set('goon',player.skipList.contains('lebu')); + }).set('goon',player.skipList.includes('lebu')); 'step 1' if(!player.storage.olfengji_draw) player.storage.olfengji_draw=0; if(result.bool){ @@ -10452,7 +10452,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(num0; + return player!=event.player&&event.targets&&event.targets.includes(player)&&player.countCards('h')>0; }, prompt2:function(event,player){ var suit=get.suit(event.card),hs=player.getCards('h'),cards=event.cards.filterInD(); - if(!lib.suit.contains(suit)||!cards.length){ + if(!lib.suit.includes(suit)||!cards.length){ return '展示所有手牌,然后无事发生'; } for(var i of hs){ @@ -11711,7 +11711,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, check:function(event,player){ var suit=get.suit(event.card),hs=player.getCards('h'),cards=event.cards.filterInD(); - if(!lib.suit.contains(suit)||!cards.length){ + if(!lib.suit.includes(suit)||!cards.length){ return false; } for(var i of hs){ @@ -11725,7 +11725,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' player.showHandcards(get.translation(player)+'发动了【约俭】'); var suit=get.suit(trigger.card),hs=player.getCards('h'); - if(!lib.suit.contains(suit)){event.finish();return;} + if(!lib.suit.includes(suit)){event.finish();return;} for(var i of hs){ if(get.suit(i)==suit){ event.finish(); @@ -11937,7 +11937,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ onremove:true, mod:{ targetEnabled:function(card,player,target){ - if(target.getStorage('bixiong2').contains(get.suit(card))) return false; + if(target.getStorage('bixiong2').includes(get.suit(card))) return false; }, }, intro:{content:'不能成为$牌的目标'}, @@ -12033,7 +12033,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ silent:true, popup:false, filter:function(event,player){ - return player.storage.juguan_draw&&player.storage.juguan_draw.contains(event.source); + return player.storage.juguan_draw&&player.storage.juguan_draw.includes(event.source); }, content:function(){ player.unmarkAuto('juguan_draw',[trigger.source]); @@ -12058,7 +12058,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'武娘:是否对'+get.translation(player)+'使用一张杀?').set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.filterTarget.apply(this,arguments); }).set('sourcex',player); 'step 1' @@ -12191,7 +12191,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var card=button.link,cards1=_status.event.cards1.slice(0); var cards2=_status.event.cards2.slice(0),target=_status.event.getParent().target; if(!ui.selected.buttons.length){ - if(!cards1.contains(card)) return 0; + if(!cards1.includes(card)) return 0; cards1.remove(card); var suits=cards2.map(function(i){ return get.suit(i,target); @@ -12200,7 +12200,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var num=cards1.filter(function(c){ return get.suit(c,target)==i; }).length; - if(num>2||(num>1&&suits.contains(i))) return 20+get.value(card); + if(num>2||(num>1&&suits.includes(i))) return 20+get.value(card); } return get.value(card); } @@ -12240,7 +12240,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ next.set('suits',suits); next.set('filterButton',function(button){ var suit=get.suit(button.link); - if(!ui.selected.buttons.length) return _status.event.suits.contains(suit); + if(!ui.selected.buttons.length) return _status.event.suits.includes(suit); return suit==get.suit(ui.selected.buttons[0].link) }); if(suits.length) next.set('forced',true); @@ -12349,7 +12349,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ weiyi:{ trigger:{global:'damageEnd'}, filter:function(event,player){ - if(player.getStorage('weiyi').contains(event.player)||!event.player.isIn()) return false; + if(player.getStorage('weiyi').includes(event.player)||!event.player.isIn()) return false; return event.player.hp>=player.hp||event.player.isDamaged(); }, direct:true, @@ -12366,7 +12366,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player==target){ var storage=player.getStorage('weiyi'); if(player.hp>=2&&game.hasPlayer(function(current){ - return current.hp==player.hp+1&&!storage.contains(current)&&get.attitude(player,current)<0; + return current.hp==player.hp+1&&!storage.includes(current)&&get.attitude(player,current)<0; })) return 'cancel2'; } return '回复体力'; @@ -12391,7 +12391,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, enable:['chooseToUse','chooseToRespond'], hiddenCard:function(player,name){ - if(get.type(name)=='basic'&&lib.inpile.contains(name)&&player.countMark('jinzhi2')=player.countCards('he')) return false; @@ -12445,7 +12445,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=_status.event.player,color=get.color(card,player); if(player.countCards('he',{color:color})<=player.countMark('jinzhi2')||(ui.selected.cards.length&&get.color(ui.selected.cards[0],player)!=color)) return -1; if(lib.skill.jinzhi_backup.viewAs.name=='jiu'&&!player.countCards('h',function(cardx){ - return card!=cardx&&!ui.selected.cards.contains(cardx)&&get.name(cardx,player)=='sha'; + return card!=cardx&&!ui.selected.cards.includes(cardx)&&get.name(cardx,player)=='sha'; })) return 0; return Math.min(0.01,6-get.value(card)); }, @@ -12543,7 +12543,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, trigger:{player:'useCardAfter'}, filter:function(event,player){ - if(!lib.suit.contains(get.suit(event.card,false))||typeof get.number(event.card)!='number') return false; + if(!lib.suit.includes(get.suit(event.card,false))||typeof get.number(event.card)!='number') return false; if(player.getHistory('sourceDamage',function(evt){ return evt.card==event.card; }).length) return false; @@ -12577,7 +12577,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.card.name!='sha') return false; return game.hasPlayer(function(current){ - return !event.targets.contains(current)&&get.distance(player,current)<=1&&player.canUse(event.card,current); + return !event.targets.includes(current)&&get.distance(player,current)<=1&&player.canUse(event.card,current); }); }, direct:true, @@ -12585,7 +12585,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget(get.prompt('reduanbing'),'为'+get.translation(trigger.card)+'增加一个目标',function(card,player,target){ - return !_status.event.sourcex.contains(target)&&get.distance(player,target)<=1&&player.canUse(_status.event.card,target); + return !_status.event.sourcex.includes(target)&&get.distance(player,target)<=1&&player.canUse(_status.event.card,target); }).set('sourcex',trigger.targets).set('ai',function(target){ var player=_status.event.player; return get.effect(target,_status.event.card,player,player); @@ -12632,7 +12632,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'useCardToPlayered'}, forced:true, filter:function(event,player){ - return event.card.name=='sha'&&!event.getParent().directHit.contains(event.target)&&get.distance(player,event.target)<=1; + return event.card.name=='sha'&&!event.getParent().directHit.includes(event.target)&&get.distance(player,event.target)<=1; }, logTarget:'target', content:function(){ @@ -12708,7 +12708,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ charlotte:true, filter:function(event,player){ return player.getHistory('sourceDamage',function(evt){ - return player.storage.refenxun2.contains(evt.player); + return player.storage.refenxun2.includes(evt.player); }).length==0&&player.countCards('he',function(card){ return lib.filter.cardDiscardable(card,player,'refenxun2'); })>0; @@ -12722,7 +12722,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ globalFrom:function(from,to){ - if(from.storage.refenxun2.contains(to)){ + if(from.storage.refenxun2.includes(to)){ return -Infinity; } } @@ -12761,7 +12761,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); })){ return true; } @@ -12773,7 +12773,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var num=player.countMark('reluanzhan'); var prompt2='为'+get.translation(trigger.card)+'增加至多'+get.cnNumber(num)+'个目标' player.chooseTarget(get.prompt('reluanzhan'),function(card,player,target){ - if(_status.event.targets.contains(target)) return false; + if(_status.event.targets.includes(target)) return false; var player=_status.event.player; return lib.filter.targetEnabled2(_status.event.card,player,target)&&lib.filter.targetInRange(_status.event.card,player,target); },[1,num]).set('prompt2',prompt2).set('ai',function(target){ @@ -12829,18 +12829,18 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!player.storage.youlong2) player.storage.youlong2=[]; }, hiddenCard:function(player,name){ - if(player.storage.youlong2.contains(name)||!player.hasEnabledSlot()) return false; + if(player.storage.youlong2.includes(name)||!player.hasEnabledSlot()) return false; if(player.hasSkill('youlong_'+(player.storage.youlong||false))) return false; var type=get.type(name); if(player.storage.youlong) return type=='basic'; return type=='trick'; }, filter:function(event,player){ - if(player.storage.youlong2.contains(name)||!player.hasEnabledSlot()) return false; + if(player.storage.youlong2.includes(name)||!player.hasEnabledSlot()) return false; if(player.hasSkill('youlong_'+(player.storage.youlong||false))) return false; var type=player.storage.youlong?'basic':'trick'; for(var name of lib.inpile){ - if(player.storage.youlong2.contains(name)) continue; + if(player.storage.youlong2.includes(name)) continue; if(get.type(name)!=type) continue; if(event.filterCard({name:name,isCard:true},player,event)) return true; } @@ -12858,7 +12858,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var type=player.storage.youlong?'basic':'trick'; var list=[]; for(var name of lib.inpile){ - if(player.storage.youlong2.contains(name)) continue; + if(player.storage.youlong2.includes(name)) continue; if(get.type(name)!=type) continue; if(event.filterCard({name:name,isCard:true},player,event)){ list.push([type,'',name]); @@ -12951,7 +12951,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(arg=='respond') return false; if(!player.storage.youlong||player.hasSkill('youlong_true')) return false; var name=(tag=='respondSha'?'sha':'shan'); - return !player.storage.youlong2.contains(name); + return !player.storage.youlong2.includes(name); }, order:function(item,player){ if(player&&_status.event.type=='phase'){ @@ -13448,7 +13448,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!evt||!evt.cards2) return false; for(var i of evt.cards2){ if(storage.filter(function(magic){ - return get.type2(magic)==get.type2(i,event.hs.contains(i)?player:false); + return get.type2(magic)==get.type2(i,event.hs.includes(i)?player:false); }).length) num++; } return num>1; @@ -13508,7 +13508,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return get.subtype(card)=='equip1'&&targets[0].hasUseTarget(card); }); if(card){ - if(card.name=='qinggang'&&!lib.inpile.contains('qibaodao')){ + if(card.name=='qinggang'&&!lib.inpile.includes('qibaodao')){ card.remove(); card=game.createCard('qibaodao',card.suit,card.number); } @@ -13522,7 +13522,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.updateRoundNumber(); targets[0].chooseToUse('对'+get.translation(targets[1])+'使用一张杀,或将装备区里的武器牌交给一名其他角色', {name:'sha'}).set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.filterTarget.apply(this,arguments); }).set('sourcex',targets[1]).set('addCount',false); 'step 2' @@ -13690,7 +13690,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(ui.discardPile.childNodes[i].name==event.card.name) return false; } if(game.hasPlayer(function(current){ - return lib.filter.targetEnabled2(event.card,player,current)&&!event.targets.contains(current); + return lib.filter.targetEnabled2(event.card,player,current)&&!event.targets.includes(current); })){ return true; } @@ -13703,7 +13703,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'增加一个目标' player.chooseTarget(get.prompt('yidian'),function(card,player,target){ var player=_status.event.player; - if(_status.event.targets.contains(target)) return false; + if(_status.event.targets.includes(target)) return false; return lib.filter.targetEnabled2(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); @@ -13841,7 +13841,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return card!=cardx&&get.type2(card)=='trick'&&player.hasValueTarget(card); }).length*0.65; } - if(get.position(cardx)=='e'&&cardx.name!='muniu'&&subs.contains(get.subtype(card))) num+=3; + if(get.position(cardx)=='e'&&cardx.name!='muniu'&&subs.includes(get.subtype(card))) num+=3; return num*1.5-get.value(cardx); }); 'step 4' @@ -13869,10 +13869,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ cardEnabled:function(card,player){ - if(['trick','equip'].contains(get.type(card,'trick'))) return false; + if(['trick','equip'].includes(get.type(card,'trick'))) return false; }, cardSavable:function(card,player){ - if(['trick','equip'].contains(get.type(card,'trick'))) return false; + if(['trick','equip'].includes(get.type(card,'trick'))) return false; }, cardUsable:function(card,player,num){ if(card.name=='sha'){ @@ -13884,14 +13884,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.card.name!='sha') return false; return game.hasPlayer(function(current){ - return !event.targets.contains(current)&&player.canUse(event.card,current); + return !event.targets.includes(current)&&player.canUse(event.card,current); }); }, direct:true, content:function(){ 'step 0' player.chooseTarget(get.prompt('neifa'),'为'+get.translation(trigger.card)+'额外指定一个目标',function(card,player,target){ - return !_status.event.sourcex.contains(target)&&player.canUse(_status.event.card,target); + return !_status.event.sourcex.includes(target)&&player.canUse(_status.event.card,target); }).set('sourcex',trigger.targets).set('ai',function(target){ var player=_status.event.player; return get.effect(target,_status.event.card,player,player); @@ -13934,7 +13934,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); })){ return true; } @@ -13946,12 +13946,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'增加或减少一个目标' player.chooseTarget(get.prompt('neifa'),function(card,player,target){ var player=_status.event.player; - if(_status.event.targets.contains(target)) return true; + if(_status.event.targets.includes(target)) return true; return lib.filter.targetEnabled2(_status.event.card,player,target)&&lib.filter.targetInRange(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; - return get.effect(target,trigger.card,player,player)*(_status.event.targets.contains(target)?-1:1); + return get.effect(target,trigger.card,player,player)*(_status.event.targets.includes(target)?-1:1); }).set('targets',trigger.targets).set('card',trigger.card); 'step 1' if(result.bool){ @@ -13964,7 +13964,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 2' if(event.targets){ player.logSkill('neifa',event.targets); - if(trigger.targets.contains(event.targets[0])) trigger.targets.removeArray(event.targets); + if(trigger.targets.includes(event.targets[0])) trigger.targets.removeArray(event.targets); else trigger.targets.addArray(event.targets); } }, @@ -14220,7 +14220,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(current==player) return false; var cardsx=event.getg(current); for(var i of cardsx){ - if(cards.contains(i)) return true; + if(cards.includes(i)) return true; } return false; }); @@ -14607,7 +14607,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var num=player.getDamagedHp()+1; player.chooseTarget('是否发动【誓仇】?','为'+get.translation(trigger.card)+'添加至多'+get.cnNumber(num)+'个目标',[1,num],function(card,player,target){ var evt=_status.event.getTrigger(); - return target!=player&&!evt.targets.contains(target)&&lib.filter.targetEnabled2(evt.card,player,target)&&lib.filter.targetInRange(evt.card,player,target); + return target!=player&&!evt.targets.includes(target)&&lib.filter.targetEnabled2(evt.card,player,target)&&lib.filter.targetInRange(evt.card,player,target); }).set('ai',function(target){ return get.effect(target,_status.event.getTrigger().card,_status.event.player); }); @@ -15091,7 +15091,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.getHistory('gain',function(evt){ if(!bool&&evt&&evt.cards){ for(var i=0;i0) return att+1; @@ -15399,7 +15399,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:['damageEnd','recoverEnd']}, forced:true, filter:function(event,player){ - if(event.player.isDead()||!player.storage.xianfu2||!player.storage.xianfu2.contains(event.player)||event.num<=0) return false; + if(event.player.isDead()||!player.storage.xianfu2||!player.storage.xianfu2.includes(event.player)||event.num<=0) return false; if(event.name=='damage') return true; return player.isDamaged(); }, @@ -15418,7 +15418,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ onremove:function(player){ if(!player.storage.xianfu2) return; game.countPlayer(function(current){ - if(player.storage.xianfu2.contains(current)&¤t.storage.xianfu_mark){ + if(player.storage.xianfu2.includes(current)&¤t.storage.xianfu_mark){ current.storage.xianfu_mark.remove(player); if(!current.storage.xianfu_mark.length) current.unmarkSkill('xianfu_mark'); else current.markSkill('xianfu_mark'); @@ -15432,7 +15432,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'dieBegin'}, silent:true, filter:function(event,player){ - return event.player==player||player.storage.xianfu2&&player.storage.xianfu2.contains(player); + return event.player==player||player.storage.xianfu2&&player.storage.xianfu2.includes(player); }, content:function(){ if(player==trigger.player) lib.skill.xianfu2.onremove(player); @@ -15475,7 +15475,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=_status.event.player; var att=get.attitude(player,target)/Math.sqrt(1+target.countCards('h')); if(target.hasSkillTag('nogain')) att/=10; - if(player.storage.xianfu2&&player.storage.xianfu2.contains(target)) return att*2; + if(player.storage.xianfu2&&player.storage.xianfu2.includes(target)) return att*2; return att; }) } @@ -15487,7 +15487,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.discardPlayerCard(target,'hej',true); } else{ - if(player.storage.xianfu2&&player.storage.xianfu2.contains(target)){ + if(player.storage.xianfu2&&player.storage.xianfu2.includes(target)){ if(!target.storage.xianfu_mark) target.storage.xianfu_mark=[]; target.storage.xianfu_mark.add(player); target.storage.xianfu_mark.sortBySeat(); @@ -15535,7 +15535,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player:"useCard", }, filter:function(event,player){ - return event.card&&(get.type(event.card)=='trick'||get.type(event.card)=='basic'&&!['shan','tao','jiu','du'].contains(event.card.name))&&game.hasPlayer(function(current){ + return event.card&&(get.type(event.card)=='trick'||get.type(event.card)=='basic'&&!['shan','tao','jiu','du'].includes(event.card.name))&&game.hasPlayer(function(current){ return current!=player&&get.distance(current,player)<=1; }); }, @@ -15593,7 +15593,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.finish(); return; } - if(equip1.name=='qinggang'&&!lib.inpile.contains('qibaodao')){ + if(equip1.name=='qinggang'&&!lib.inpile.includes('qibaodao')){ equip1.remove(); equip1=game.createCard2('qibaodao',equip1.suit,equip1.number); } @@ -15679,7 +15679,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else{ player.chooseTarget(select,'选择'+get.translation(card)+'的目标',true,function(cardx,player,target){ var card=_status.event.card; - return _status.event.targets.contains(target)&&player.canUse(card,target); + return _status.event.targets.includes(target)&&player.canUse(card,target); }).set('ai',function(target){ var card=_status.event.card; var player=_status.event.player; @@ -15699,7 +15699,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } if(event.list.length>1){ player.chooseTarget(true,'将'+get.translation(equip1)+'交给一名角色',function(card,player,target){ - return _status.event.list.contains(target); + return _status.event.list.includes(target); }).set('ai',function(target){ return get.attitude(player,target); }).set('list',_status.event.list); @@ -16104,7 +16104,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var skills=event.player.getSkills(); for(var i=0;i0) player.draw(num); }, @@ -16502,7 +16502,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.target.showCards(result.cards); event.cards1=result.cards; event.cards2=event.target.getCards('h',function(card){ - return !event.cards1.contains(card); + return !event.cards1.includes(card); }); 'step 4' var choice; @@ -16550,13 +16550,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, trigger:{target:'useCardToTarget'}, filter:function(event,player){ - if(!event.targets||!event.targets.contains(player)) return false; + if(!event.targets||!event.targets.includes(player)) return false; var info=get.info(event.card); if(info.type!='trick') return false; if(info.multitarget) return false; if(event.targets.length>1) return true; return game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,event.player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,event.player,current); }); }, direct:true, @@ -16564,7 +16564,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' var bool1=(trigger.targets.length>1); var bool2=game.hasPlayer(function(current){ - return !trigger.targets.contains(current)&&lib.filter.targetEnabled2(trigger.card,trigger.player,current); + return !trigger.targets.includes(current)&&lib.filter.targetEnabled2(trigger.card,trigger.player,current); }); if(bool1&&bool2){ player.chooseControlList(get.prompt('sheyan'),['为'+get.translation(trigger.card)+'增加一个目标','为'+get.translation(trigger.card)+'减少一个目标'],function(event,player){ @@ -16596,7 +16596,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.type=='add'){ player.chooseTarget(event.unchosen?get.prompt('sheyan'):null,'为'+get.translation(trigger.card)+'增加一个目标',function(card,player,target){ var trigger=_status.event.getTrigger(); - return !trigger.targets.contains(target)&&lib.filter.targetEnabled2(trigger.card,trigger.player,target); + return !trigger.targets.includes(target)&&lib.filter.targetEnabled2(trigger.card,trigger.player,target); }).set('ai',function(target){ var trigger=_status.event.getTrigger(); return get.effect(target,trigger.card,trigger.player,_status.event.player); @@ -16604,7 +16604,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else{ player.chooseTarget(event.unchosen?get.prompt('sheyan'):null,'为'+get.translation(trigger.card)+'减少一个目标',function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('ai',function(target){ var trigger=_status.event.getTrigger(); return -get.effect(target,trigger.card,trigger.player,_status.event.player); @@ -16728,7 +16728,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filterTarget:function(card,player,target){ if(target==player) return false; var stat=player.getStat('skill').fuman_targets; - return !stat||!stat.contains(target); + return !stat||!stat.includes(target); }, filter:function(event,player){ return player.countCards('h')>0&&game.hasPlayer((current)=>lib.skill.fuman.filterTarget(null,player,current)); @@ -16766,7 +16766,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return event.player.hasHistory('lose',function(evt){ if(evt.getParent()!=event) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('fuman')) return true; + if(evt.gaintag_map[i].includes('fuman')) return true; } return false; }); @@ -16914,7 +16914,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ globalFrom:function(from,to){ - if(from.getStorage('fenxun2').contains(to)){ + if(from.getStorage('fenxun2').includes(to)){ return -Infinity; } } @@ -16927,14 +16927,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.card.name!='sha') return false; return game.hasPlayer(function(current){ - return !event.targets.contains(current)&&get.distance(player,current)<=1&&player.canUse(event.card,current); + return !event.targets.includes(current)&&get.distance(player,current)<=1&&player.canUse(event.card,current); }); }, direct:true, content:function(){ 'step 0' player.chooseTarget(get.prompt('duanbing'),'为'+get.translation(trigger.card)+'增加一个目标',function(card,player,target){ - return !_status.event.sourcex.contains(target)&&get.distance(player,target)<=1&&player.canUse(_status.event.card,target); + return !_status.event.sourcex.includes(target)&&get.distance(player,target)<=1&&player.canUse(_status.event.card,target); }).set('sourcex',trigger.targets).set('ai',function(target){ var player=_status.event.player; return get.effect(target,_status.event.card,player,player); @@ -17210,7 +17210,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=player.getCards('hs',function(card){ return card.name=='sha'||card.name=='shan'; }); - if(cards.contains(card)){ + if(cards.includes(card)){ return cards.indexOf(card); } return cards.length; @@ -17545,7 +17545,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(current==player) return false; var cardsx=event.getg(current); for(var i of cardsx){ - if(cards.contains(i)&&hs.contains(card)&&cards.contains(card)&&get.color(card,player)=='black') return true; + if(cards.includes(i)&&hs.includes(card)&&cards.includes(card)&&get.color(card,player)=='black') return true; } return false; }); @@ -17554,7 +17554,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hs=event.player.getCards('h'); var evt=event.getl(player); return evt&&evt.cards2&&evt.cards2.filter(function(card){ - return hs.contains(card)&&get.color(card,player)=='black'; + return hs.includes(card)&&get.color(card,player)=='black'; }).length>0; } return false; @@ -17564,7 +17564,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.countPlayer(function(current){ if(current==player) return; var hs=current.getCards('h'),cardsx=trigger.getg(current).filter(function(card){ - return hs.contains(card)&&cards.contains(card)&&get.color(card,player)=='black'; + return hs.includes(card)&&cards.includes(card)&&get.color(card,player)=='black'; }); if(cardsx.length>0){ current.addSkill('xiehui2'); @@ -18534,7 +18534,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } player.chooseButton([get.prompt('shefu'),[list1.concat(list2).concat(list3),'vcard']]).set('filterButton',function(button){ var player=_status.event.player; - if(player.storage.shefu2&&player.storage.shefu2.contains(button.link[2])) return false; + if(player.storage.shefu2&&player.storage.shefu2.includes(button.link[2])) return false; return true; }).set('ai',function(button){ var rand=_status.event.rand; @@ -18567,7 +18567,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.addToExpansion(card,player,'give').gaintag.add('shefu'); } 'step 3' - if(player.getExpansions('shefu').contains(event.card)){ + if(player.getExpansions('shefu').includes(event.card)){ player.storage.shefu.push(card); player.storage.shefu2.push(event.cardname); if(player.isOnline2()){ @@ -18587,7 +18587,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:'shefu', filter:function(event,player){ if(_status.currentPhase==player||event.player==player) return false; - return player.storage.shefu2&&player.storage.shefu2.contains(event.card.name)&&event.player.getHistory('lose',function(evt){ + return player.storage.shefu2&&player.storage.shefu2.includes(event.card.name)&&event.player.getHistory('lose',function(evt){ return evt.getParent()==event&&evt.hs&&evt.hs.length==event.cards.length; }).length; }, @@ -18747,7 +18747,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.color(event.card)!='red') return false; if(!event.targets) return false; if(event.player==player) return false; - if(event.targets.contains(player)) return false; + if(event.targets.includes(player)) return false; if(get.info(event.card).multitarget) return false; var type=get.type(event.card); if(type!='basic'&&type!='trick') return false; @@ -18773,7 +18773,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, trigger:{source:'damageSource'}, filter:function(event,player){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return _status.currentPhase==player&&event.player.isIn()&& event.player.countCards('hej')>0&&event.player!=player&&!player.hasSkill('zhidao2'); }, @@ -18882,7 +18882,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'dying'}, frequent:true, filter:function(event,player){ - return !player.storage.xinzhengnan||!player.storage.xinzhengnan.contains(event.player); + return !player.storage.xinzhengnan||!player.storage.xinzhengnan.includes(event.player); }, content:function(){ 'step 0' @@ -18912,7 +18912,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' if(event.list.length==1) event._result={control:event.list[0]}; else player.chooseControl(event.list).set('prompt','征南:选择获得下列技能中的一个').set('ai',function(){ - if(event.list.contains('xindangxian')) return 'xindangxian'; + if(event.list.includes('xindangxian')) return 'xindangxian'; return 0; }); 'step 2' @@ -18940,7 +18940,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(list.length==1) event._result={control:list[0]}; else if(list.length>0){ player.chooseControl(list).set('prompt','选择获得一项技能').set('ai',function(){ - if(_status.event.controls.contains('dangxian')) return 'dangxian'; + if(_status.event.controls.includes('dangxian')) return 'dangxian'; return _status.event.controls[0]; }); } @@ -18976,13 +18976,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(type!='basic'&&type!='trick') return false; if(event.noai) return false; return game.hasPlayer(function(target){ - return !event.targets.contains(target)&&target.countCards('he')>0; + return !event.targets.includes(target)&&target.countCards('he')>0; }); }, content:function(){ 'step 0' player.chooseTarget(get.prompt('qizhi'),'弃置一名角色的一张牌,然后其摸一张牌',function(card,player,target){ - return !_status.event.targets.contains(target)&&target.countCards('he')>0; + return !_status.event.targets.includes(target)&&target.countCards('he')>0; }).set('ai',function(target){ var player=_status.event.player; if(target==player) return 2; @@ -19387,7 +19387,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseCard(get.prompt('xingwu'),function(card){ - return _status.event.player.storage.xingwu_color.contains(get.color(card)); + return _status.event.player.storage.xingwu_color.includes(get.color(card)); }).set('ai',function(card){ var player=_status.event.player; if(player.storage.xingwu.length==2){ @@ -20240,13 +20240,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!player.hasHistory('lose',function(evt){ if(evt.getParent()!=event) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('qirang')) return true; + if(evt.gaintag_map[i].includes('qirang')) return true; } return false; })) return false; if(!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); })){ return true; } @@ -20258,12 +20258,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'增加一个目标' player.chooseTarget(get.prompt('qirang'),function(card,player,target){ var player=_status.event.player; - if(_status.event.targets.contains(target)) return false; + if(_status.event.targets.includes(target)) return false; return lib.filter.targetEnabled2(_status.event.card,player,target)&&lib.filter.targetInRange(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; - return get.effect(target,trigger.card,player,player)*(_status.event.targets.contains(target)?-1:1); + return get.effect(target,trigger.card,player,player)*(_status.event.targets.includes(target)?-1:1); }).set('targets',trigger.targets).set('card',trigger.card); 'step 1' if(result.bool){ @@ -20447,14 +20447,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ direct:true, filter:function(event,player){ return player.getHistory('useCard',function(evt){ - return evt.isPhaseUsing()&&['basic','trick'].contains(get.type(evt.card)); + return evt.isPhaseUsing()&&['basic','trick'].includes(get.type(evt.card)); }).length>0&&player.countCards('hs')>0; }, content:function(){ "step 0" event.count=2; event.history=player.getHistory('useCard',function(evt){ - return evt.isPhaseUsing()&&['basic','trick'].contains(get.type(evt.card)); + return evt.isPhaseUsing()&&['basic','trick'].includes(get.type(evt.card)); }) "step 1" event._result={}; @@ -20600,14 +20600,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!evt||!evt.xs||!evt.xs.length||player.getExpansions('yishe').length>0) return false; if(event.name=='lose'){ for(var i in event.gaintag_map){ - if(event.gaintag_map[i].contains('yishe')) return true; + if(event.gaintag_map[i].includes('yishe')) return true; } return false; } return player.hasHistory('lose',function(evt){ if(event!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('yishe')) return true; + if(evt.gaintag_map[i].includes('yishe')) return true; } return false; }); @@ -20623,7 +20623,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, trigger:{player:'damageEnd',source:'damageEnd'}, filter:function(event,player){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return event.player.isIn()&&player.getExpansions('yishe').length>0; }, direct:true, @@ -20718,7 +20718,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player:'useCardToPlayered', }, filter:function(event,player){ - if(event.targets.length!=1||!['sha','juedou'].contains(event.card.name)) return false; + if(event.targets.length!=1||!['sha','juedou'].includes(event.card.name)) return false; var evtx=event.getParent(); return !player.hasHistory('useCard',function(evt){ return evt!=evtx&&evt.card.name==event.card.name; @@ -21007,7 +21007,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.draw(); }, function(trigger,player,event){ - if(!result.links.contains(2)) player.line(trigger.player); + if(!result.links.includes(2)) player.line(trigger.player); trigger.player.draw(2); }, function(trigger,player,event){ @@ -21101,7 +21101,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:'canshi', trigger:{player:'phaseDrawBegin2'}, check:function(event,player){ - if(player.skipList.contains('phaseUse')||!player.countCards('h',function(card){ + if(player.skipList.includes('phaseUse')||!player.countCards('h',function(card){ return get.type(card,'trick')=='trick'&&player.hasUseTarget(card); })) return true; var num=game.countPlayer(function(current){ @@ -21180,7 +21180,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ "step 0" if(player.storage.kunfen|| - (get.mode()=='guozhan'&&player.hiddenSkills.contains('kunfen'))){ + (get.mode()=='guozhan'&&player.hiddenSkills.includes('kunfen'))){ if(!player.storage.kunfen){ event.skillHidden=true; } @@ -21323,10 +21323,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var source=_status.event.source; if(get.attitude(_status.event.player,source)>0) return 'cancel2'; var list=['basic','trick','equip'].filter(function(name){ - return (!source.storage.jilei2||!source.storage.jilei2.contains(name)); + return (!source.storage.jilei2||!source.storage.jilei2.includes(name)); }); if(!list.length) return 'cancel2'; - if(list.contains('trick')&&source.countCards('h',function(card){ + if(list.includes('trick')&&source.countCards('h',function(card){ return get.type(card,source)=='trick'&&source.hasValueTarget(card); })>1) return 'trick'; return list[0]; @@ -21360,32 +21360,32 @@ game.import('character',function(lib,game,ui,get,ai,_status){ onremove:true, mod:{ cardDiscardable:function(card,player){ - if(player.storage.jilei2.contains(get.type(card,'trick'))) return false; + if(player.storage.jilei2.includes(get.type(card,'trick'))) return false; }, cardEnabled:function(card,player){ - if(player.storage.jilei2.contains(get.type(card,'trick'))){ + if(player.storage.jilei2.includes(get.type(card,'trick'))){ var hs=player.getCards('h'),cards=[card]; if(Array.isArray(card.cards)) cards.addArray(card.cards); for(var i of cards){ - if(hs.contains(i)) return false; + if(hs.includes(i)) return false; } } }, cardRespondable:function(card,player){ - if(player.storage.jilei2.contains(get.type(card,'trick'))){ + if(player.storage.jilei2.includes(get.type(card,'trick'))){ var hs=player.getCards('h'),cards=[card]; if(Array.isArray(card.cards)) cards.addArray(card.cards); for(var i of cards){ - if(hs.contains(i)) return false; + if(hs.includes(i)) return false; } } }, cardSavable:function(card,player){ - if(player.storage.jilei2.contains(get.type(card,'trick'))){ + if(player.storage.jilei2.includes(get.type(card,'trick'))){ var hs=player.getCards('h'),cards=[card]; if(Array.isArray(card.cards)) cards.addArray(card.cards); for(var i of cards){ - if(hs.contains(i)) return false; + if(hs.includes(i)) return false; } } }, @@ -21397,7 +21397,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return (event.card.name=='sha'||get.type(event.card)=='trick')&&event.targets&&event.targets.length>1; }, check:function(event,player){ - return event.getParent().excluded.contains(player)||get.tag(event.card,'multineg')||get.effect(player,event.card,event.player,player)<=0; + return event.getParent().excluded.includes(player)||get.tag(event.card,'multineg')||get.effect(player,event.card,event.player,player)<=0; }, trigger:{target:'useCardToTargeted'}, content:function(){ @@ -21476,7 +21476,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' var list=lib.group.filter(function(group){ - return ['wei','shu','wu','qun'].contains(group)||game.hasPlayer(function(current){ + return ['wei','shu','wu','qun'].includes(group)||game.hasPlayer(function(current){ return current.group==group; }) }); @@ -21524,7 +21524,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!player.storage.xiemu2) return false; if(get.color(event.card)!='black') return false; if(!event.player) return false; - if(event.player==player||!player.storage.xiemu2.contains(event.player.group)) return false; + if(event.player==player||!player.storage.xiemu2.includes(event.player.group)) return false; return true; }, content:function(){ @@ -21676,7 +21676,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return current.hasHistory('lose',function(evt){ if(!evt||!evt.xs||!evt.xs.length) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('rezhoufu2')) return true; + if(evt.gaintag_map[i].includes('rezhoufu2')) return true; } return false; }); @@ -21687,7 +21687,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return current.hasHistory('lose',function(evt){ if(!evt||!evt.xs||!evt.xs.length) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('rezhoufu2')) return true; + if(evt.gaintag_map[i].includes('rezhoufu2')) return true; } return false; }); @@ -21698,7 +21698,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return current.hasHistory('lose',function(evt){ if(!evt||!evt.xs||!evt.xs.length) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('rezhoufu2')) return true; + if(evt.gaintag_map[i].includes('rezhoufu2')) return true; } return false; }); @@ -21811,7 +21811,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:"useCard1"}, forced:true, filter:function (event,player){ - return event.targets.contains(player)&&player!=event.player&&event.card.name=='sha'&&player.hptarget.hp){ @@ -23779,7 +23779,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(!player.storage.songci) return false; return !game.hasPlayer(function(current){ - return !player.storage.songci.contains(current); + return !player.storage.songci.includes(current); }); }, content:function(){ @@ -24190,7 +24190,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{source:'damageSource'}, audio:2, filter:function(event){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return event.card&&event.card.name=='sha'&&event.player.countCards('e'); }, logTarget:'player', @@ -24236,14 +24236,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.getParent().triggeredTargets3.length>1) return false; if(!player.isPhaseUsing()) return false; - if(!['basic','trick'].contains(get.type(event.card))) return false; + if(!['basic','trick'].includes(get.type(event.card))) return false; if(get.tag(event.card,'damage')) return true; return false; }, content:function(){ 'step 0' player.chooseTarget(get.prompt('xinfu_lingren'),'选择一名目标角色并猜测其手牌构成',function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('ai',function(target){ return 2-get.attitude(_status.event.player,target); }).set('targets',trigger.targets); @@ -24288,7 +24288,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=[]; event.num=0; ['basic','trick','equip'].forEach(type=>{ - if(choices.contains(type)==target.hasCard({type:type},'h')) event.num++; + if(choices.includes(type)==target.hasCard({type:type},'h')) event.num++; }) } 'step 3' @@ -24600,7 +24600,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, hasMark:(mark,player,target)=>{ if(!target) return player.getStorage('jianjie_'+mark).length>0; - return target.getStorage('jianjie_'+mark).contains(player); + return target.getStorage('jianjie_'+mark).includes(player); }, addMark:(mark,player,target)=>{ mark='jianjie_'+mark; @@ -24772,7 +24772,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(current=>{ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current); })) return true; } return false; @@ -24783,7 +24783,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget('是否为'+get.translation(trigger.card)+'额外指定一个目标?',(card,player,target)=>{ - return !_status.event.sourcex.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); + return !_status.event.sourcex.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); }).set('sourcex',trigger.targets).set('ai',function(target){ var player=_status.event.player; return get.effect(target,_status.event.card,player,player); @@ -25388,7 +25388,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ '⒋令一名角色摸两张牌。' ]; for(var i=0;i<4;i++){ - if(storage.contains(i)){ + if(storage.includes(i)){ choiceList[i]=(''+choiceList[i]+''); } str+=choiceList[i]; diff --git a/character/sp2.js b/character/sp2.js index 901a261a4..7b86152f6 100644 --- a/character/sp2.js +++ b/character/sp2.js @@ -509,7 +509,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(!event.filterCard({name:'sha'},player,event)&&!event.filterCard({name:'wuxie'},player,event)) return false; return player.countCards('hs',card=>{ - return !player.getStorage('starlifeng_count').contains(get.color(card,player))||_status.connectMode; + return !player.getStorage('starlifeng_count').includes(get.color(card,player))||_status.connectMode; }); }, chooseButton:{ @@ -526,7 +526,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ backup:function(links,player){ return { filterCard:function(card,player){ - return !player.getStorage('starlifeng_count').contains(get.color(card,player)); + return !player.getStorage('starlifeng_count').includes(get.color(card,player)); }, precontent:function(){ delete event.result.skill; @@ -554,7 +554,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, hiddenCard:function(player,name){ if(name=='wuxie') return player.countCards('hs',card=>{ - return !player.getStorage('starlifeng_count').contains(get.color(card,player))||_status.connectMode; + return !player.getStorage('starlifeng_count').includes(get.color(card,player))||_status.connectMode; }); }, ai:{ @@ -562,7 +562,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ skillTagFilter:function(player,tag,arg){ if(arg=='respond') return false; if(!player.countCards('hs',card=>{ - return !player.getStorage('starlifeng_count').contains(get.color(card,player))||_status.connectMode; + return !player.getStorage('starlifeng_count').includes(get.color(card,player))||_status.connectMode; })) return false; }, order:10, @@ -574,7 +574,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ charlotte:true, trigger:{global:'useCard1'}, filter:function(event,player){ - return !player.getStorage('starlifeng_count').contains(get.color(event.card)); + return !player.getStorage('starlifeng_count').includes(get.color(event.card)); }, forced:true, popup:false, @@ -793,7 +793,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ mod:{ cardUsableTarget:function(card,player,target){ if(!player.isPhaseUsing()) return; - if(card.name=='sha'&&!player.getStorage('dcjiaoxia_mark').contains(target)) return true; + if(card.name=='sha'&&!player.getStorage('dcjiaoxia_mark').includes(target)) return true; }, }, audio:2, @@ -822,14 +822,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'useCard1'}, filter:function(event,player){ if(!player.isPhaseUsing()) return false; - return event.card.name=='sha'&&event.targets&&event.targets.some(target=>!player.getStorage('dcjiaoxia_mark').contains(target)); + return event.card.name=='sha'&&event.targets&&event.targets.some(target=>!player.getStorage('dcjiaoxia_mark').includes(target)); }, forced:true, popup:false, firstDo:true, content:function(){ player.addTempSkill('dcjiaoxia_mark','phaseUseAfter'); - player.markAuto('dcjiaoxia_mark',trigger.targets.filter(target=>!player.getStorage('dcjiaoxia_mark').contains(target))); + player.markAuto('dcjiaoxia_mark',trigger.targets.filter(target=>!player.getStorage('dcjiaoxia_mark').includes(target))); }, }, mark:{ @@ -854,10 +854,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return event.cards&&event.cards.length==1&&player.hasUseTarget(get.copy(event.cards[0]))&&player.getHistory('lose',evt=>{ if(evt.getParent()!=event) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('dcjiaoxia_used')) return true; + if(evt.gaintag_map[i].includes('dcjiaoxia_used')) return true; } return false; - }).length&&player.getHistory('sourceDamage',evt=>evt.card==event.card).length&&!['delay','equip'].contains(get.type(event.cards[0],player)); + }).length&&player.getHistory('sourceDamage',evt=>evt.card==event.card).length&&!['delay','equip'].includes(get.type(event.cards[0],player)); }, direct:true, content:function(){ @@ -1110,7 +1110,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }); if(!targets.length) event.finish(); else player.chooseTarget('利傍:视为对其中一名角色使用一张【杀】',true,(card,player,target)=>{ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('targets',targets).set('ai',target=>{ return get.effect(target,{name:'sha'},player,player); }); @@ -1125,7 +1125,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return get.itemtype(card)=='card'; }, filterTarget:function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }, selectCard:2, targets:event.getParent(2).targets, @@ -1203,7 +1203,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, trigger:{player:'useCard'}, filter:function(event,player){ - return !player.getStorage('dcxiuwen').contains(event.card.name); + return !player.getStorage('dcxiuwen').includes(event.card.name); }, frequent:true, content:function(){ @@ -1225,7 +1225,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(skills.filter(skillx=>{ var info=get.info(skillx); if(!info||!info.enable||(info.usable&&!(info.usable>=1))) return false; - if(info.enable!='phaseUse'&&(!Array.isArray(info.enable)||!info.enable.contains('phaseUse'))) return false; + if(info.enable!='phaseUse'&&(!Array.isArray(info.enable)||!info.enable.includes('phaseUse'))) return false; if(info.viewAs&&info.usable&&info.usable!=1) return false; if(info.juexingji||info.hiddenSkill||info.charlotte||info.limited||info.dutySkill) return false; if((!info.usable||info.usable>1)&&info.filter){ @@ -1323,7 +1323,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(skills.some(skillx=>{ var info=get.info(skillx); if(!info||!info.enable) return false; - if(info.enable!='phaseUse'&&info.enable!='chooseToUse'&&(!Array.isArray(info.enable)||!info.enable.contains('phaseUse')&&!info.enable.contains('chooseToUse'))) return false; + if(info.enable!='phaseUse'&&info.enable!='chooseToUse'&&(!Array.isArray(info.enable)||!info.enable.includes('phaseUse')&&!info.enable.includes('chooseToUse'))) return false; if(info.juexingji||info.hiddenSkill||info.charlotte||info.limited||info.dutySkill) return false; if(info.ai&&info.ai.notemp) return false; return true; @@ -1400,7 +1400,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ onremove:true, filter:function(event,player){ var skill=event.sourceSkill||event.skill; - return player.getStorage('dclongsong_remove').contains(skill)&&!player.getStockSkills(false,true).contains(skill); + return player.getStorage('dclongsong_remove').includes(skill)&&!player.getStockSkills(false,true).includes(skill); }, content:function(){ 'step 0' @@ -1443,15 +1443,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.logSkill('dcmoukui'); var choices=result.links; event.choices=choices; - if(choices.contains('draw')){ + if(choices.includes('draw')){ game.log(player,'选择了','#y选项一'); player.draw(); } - if(choices.contains('discard')){ + if(choices.includes('discard')){ game.log(player,'选择了','#y选项二'); if(trigger.targets.length==1) event.directtarget=trigger.targets[0]; else player.chooseTarget('谋溃:弃置一名目标角色的一张牌',true,(card,player,target)=>{ - return _status.event.getTrigger().targets.contains(target)&&target.countDiscardableCards(player,'he')>0; + return _status.event.getTrigger().targets.includes(target)&&target.countDiscardableCards(player,'he')>0; }).set('ai',target=>{ return get.effect(target,{name:'guohe_copy2'},_status.event.player); }); @@ -1477,7 +1477,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player,name){ if(!event.card) return false; var cards=player.getStorage('dcmoukui_conseq'); - if(!cards.contains(event.card)) return false; + if(!cards.includes(event.card)) return false; return true; }, content:function(){ @@ -1564,7 +1564,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' var num=Math.min(trigger.targets.length,num); player.chooseTarget('铤险:令此杀对其中至多'+get.cnNumber(num)+'个目标无效',[1,num],true,(card,player,target)=>{ - return _status.event.getTrigger().targets.contains(target); + return _status.event.getTrigger().targets.includes(target); }).set('ai',target=>{ return 1-get.effect(target,_status.event.getTrigger().card,_status.event.player,_status.event.player); }); @@ -1618,7 +1618,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(num!=='unchanged') return num; var range=1; var equips=player.getCards('e',function(card){ - return get.subtype(card)!='equip1'&&(!ui.selected.cards||!ui.selected.cards.contains(card)); + return get.subtype(card)!='equip1'&&(!ui.selected.cards||!ui.selected.cards.includes(card)); }); for(var i=0;i{ var controls=_status.event.controls,choice=_status.event.choice; - if(!controls.contains('选项一')||controls.contains('选项二')&&choice==1) return '选项二'; + if(!controls.includes('选项一')||controls.includes('选项二')&&choice==1) return '选项二'; return '选项一'; }).set('choice',eff<=0&&eff2<=0?'cancel2':(eff>-eff2?0:1)); 'step 1' @@ -2096,7 +2096,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hs=player.getCards('h'),suits=player.getStorage('dcbingji_mark'); if(!hs.length) return false; var suit=get.suit(hs[0],player); - if(suit=='none'||suits.contains(suit)) return false; + if(suit=='none'||suits.includes(suit)) return false; for(var i=1;i=0) return 0; @@ -2719,7 +2719,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, filter:function(event,player){ var list=player.storage.dcditing_effect; - return list&&event.player==list[0]&&event.cards.contains(list[1]); + return list&&event.player==list[0]&&event.cards.includes(list[1]); }, content:function(){ trigger.excluded.add(player); @@ -2734,7 +2734,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, filter:function(event,player){ var list=player.storage.dcditing_effect; - return list&&event.player==list[0]&&event.cards.contains(list[1])&&!event.targets.contains(player); + return list&&event.player==list[0]&&event.cards.includes(list[1])&&!event.targets.includes(player); }, content:function(){ player.draw(2); @@ -2747,7 +2747,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, filter:function(event,player){ var list=player.storage.dcditing_effect; - return list&&event.player==list[0]&&event.player.getCards('h').contains(list[1]); + return list&&event.player==list[0]&&event.player.getCards('h').includes(list[1]); }, content:function(){ var list=player.storage.dcditing_effect; @@ -3025,7 +3025,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hs=player.getCards('he'); for(var card of hs){ var type=get.type2(card,player); - if(list.contains(type)){ + if(list.includes(type)){ var bool=lib.filter.cardDiscardable(card,player,'dczhanyi'); if(bool) list2.add(type); else{ @@ -3043,7 +3043,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hs=player.getCards('he'); for(var card of hs){ var type=get.type2(card,player); - if(list.contains(type)){ + if(list.includes(type)){ var bool=lib.filter.cardDiscardable(card,player,'dczhanyi'); if(bool) list2.add(type); else{ @@ -3605,7 +3605,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(card,event.player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(card,event.player,current); })){ return true; } @@ -3618,7 +3618,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='是否为'+get.translation(trigger.card)+'增加至多'+get.cnNumber(num)+'个目标?' trigger.player.chooseTarget(prompt2,[1,num],function(card,player,target){ var player=_status.event.player; - return !_status.event.targets.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); + return !_status.event.targets.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); }).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -3649,12 +3649,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ effect:{ target:function(card,player,target,current){ if(get.tag(card,'damage')){ - if(player.hp==target.hp||lib.linked.contains(get.nature(card))) return; + if(player.hp==target.hp||lib.linked.includes(get.nature(card))) return; var cards=[card]; if(card.cards&&card.cards.length) cards.addArray(card.cards); if(ui.selected.cards.length) cards.addArray(ui.selected.cards); if(player.countCards('h',function(card){ - return !cards.contains(card); + return !cards.includes(card); })==target.countCards('h')) return; return 'zeroplayertarget'; } @@ -3841,14 +3841,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hs=player.getCards('h'); if(!hs.length) return false; for(var i of event.cards){ - if(hs.contains(i)&&get.color(i,player)=='red'&&lib.filter.cardDiscardable(i,player,'difa')) return true; + if(hs.includes(i)&&get.color(i,player)=='red'&&lib.filter.cardDiscardable(i,player,'difa')) return true; } return false; }, usable:1, check:function(event,player){ var hs=player.getCards('h'),cards=event.cards.filter(function(i){ - return (hs.contains(i)&&get.color(i,player)=='red'&&lib.filter.cardDiscardable(i,player,'difa')); + return (hs.includes(i)&&get.color(i,player)=='red'&&lib.filter.cardDiscardable(i,player,'difa')); }); var value=get.value(hs,player); return Array.from(ui.cardPile.childNodes).some(function(card){ @@ -3858,7 +3858,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' var hs=player.getCards('h'),cards=trigger.cards.filter(function(i){ - return (hs.contains(i)&&get.color(i,player)=='red'&&lib.filter.cardDiscardable(i,player,'difa')); + return (hs.includes(i)&&get.color(i,player)=='red'&&lib.filter.cardDiscardable(i,player,'difa')); }); if(!cards.length) event.finish(); else{ @@ -3872,19 +3872,19 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!list.length) event.finish(); else player.chooseButton(['选择获得一种锦囊牌',[list.map((i)=>['锦囊','',i]),'vcard']],true).set('ai',function(button){ var card={name:button.link[2]}; - if(!_status.event.list.contains(card.name)) return 0; + if(!_status.event.list.includes(card.name)) return 0; return _status.event.player.getUseValue(card); }).set('list',Array.from(ui.cardPile.childNodes).filter(function(card){ return get.type2(card,false)=='trick'; }).map(function(card){ return card.name; }).reduce(function(list,name){ - if(!list.contains(name)) list.add(name); + if(!list.includes(name)) list.add(name); return list; },[])); 'step 2' var card=get.cardPile(function(i){ - return i.name==result.links[0][2]&&!event.cards.contains(i); + return i.name==result.links[0][2]&&!event.cards.includes(i); }); if(card) player.gain(card,'gain2'); }, @@ -4326,7 +4326,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=[]; while(cards.length<2){ var card=get.cardPile2(function(card){ - return !cards.contains(card)&&get.number(card)==6; + return !cards.includes(card)&&get.number(card)==6; }); if(!card) break; cards.push(card); @@ -4419,7 +4419,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(list.length){ str+='获得一名角色装备区或判定区内的一张点数为'+nums+'的牌,或直接从牌堆中获得一张点数为'+nums+'的牌'; player.chooseTarget(get.prompt('rexingluan'),str,[0,1],function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('targets',list).set('ai',function(target){ if(!target) return 1; var player=_status.event.player,num=get.number(_status.event.getTrigger().card,false),att=-get.sgn(get.attitude(player,target)); @@ -4470,7 +4470,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(current==player) return false; var cardsx=event.getg(current); for(var i of cardsx){ - if(cards.contains(i)){ + if(cards.includes(i)){ if(current.isDamaged()) return true; return get.color(i,player)=='black'; } @@ -4487,7 +4487,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(current==player) return false; var cardsx=trigger.getg(current); for(var i of cardsx){ - if(cards.contains(i)) return true; + if(cards.includes(i)) return true; } return false; }).sortBySeat(); @@ -4497,7 +4497,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cardsx=trigger.getg(target); var goon=false; for(var i of cardsx){ - if(cards.contains(i)){ + if(cards.includes(i)){ if(target.isDamaged()||get.color(i,player)=='black'){goon=true;break;} } } @@ -5016,7 +5016,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return Math.sqrt(target.countCards('he')); } if(target.mayHaveShan()&&player.countCards('hs',function(card){ - return !ui.selected.cards.contains(card)&&get.name(card)=='sha'&&player.canUse(card,target)&&get.effect(target,card,player,player)!=0; + return !ui.selected.cards.includes(card)&&get.name(card)=='sha'&&player.canUse(card,target)&&get.effect(target,card,player,player)!=0; })) return -Math.sqrt(Math.abs(get.attitude(player,target)))/2; return 0.1; }, @@ -5048,7 +5048,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ directHit_ai:true, skillTagFilter:function(player,tag,arg){ - return player.getStorage('xuezhao_hit').contains(arg.target); + return player.getStorage('xuezhao_hit').includes(arg.target); }, }, }, @@ -5172,7 +5172,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=[]; while(cards.length0; }, @@ -5466,7 +5466,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=[],types=[]; for(var i=0;i<3;i++){ var card=get.cardPile2(function(card){ - return !cards.contains(card)&&!types.contains(get.type2(card,false)); + return !cards.includes(card)&&!types.includes(get.type2(card,false)); }); if(card){ cards.push(card); @@ -5846,7 +5846,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(card,player,current); })){ return true; } @@ -5858,7 +5858,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'增加一个目标' player.chooseTarget(get.prompt('hfjieying2'),function(card,player,target){ var player=_status.event.player; - return !_status.event.targets.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); + return !_status.event.targets.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -5944,7 +5944,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player:"useCard", }, filter:function(event,player){ - return event.card&&(get.type(event.card)=='trick'||get.type(event.card)=='basic'&&!['shan','tao','jiu','du'].contains(event.card.name))&&game.hasPlayer(function(current){ + return event.card&&(get.type(event.card)=='trick'||get.type(event.card)=='basic'&&!['shan','tao','jiu','du'].includes(event.card.name))&&game.hasPlayer(function(current){ return current!=player&&get.distance(player,current)<=1; }); }, @@ -5980,7 +5980,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=[]; while(cards.length<4){ var card=get.cardPile2(function(card){ - return !cards.contains(card)&&!names.contains(card.name)&&get.type(card)=='basic'; + return !cards.includes(card)&&!names.includes(card.name)&&get.type(card)=='basic'; }); if(card){ cards.push(card); @@ -6109,7 +6109,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ check:function(card){ var evt=_status.event; if(!evt.minsi_choice) evt.minsi_choice=lib.skill.minsi.getResult(evt.player.getCards('he')); - if(!evt.minsi_choice.contains(card)) return 0; + if(!evt.minsi_choice.includes(card)) return 0; return 1; }, position:'he', @@ -6200,7 +6200,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return list; }()); next.set('ai',function(card){ - if(!_status.event.cardResult.contains(card)) return 0; + if(!_status.event.cardResult.includes(card)) return 0; return 6-get.value(card); }); 'step 2' @@ -6309,7 +6309,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ targets:targets, forced:true, filterTarget:function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }, }); 'step 1' @@ -6584,19 +6584,19 @@ game.import('character',function(lib,game,ui,get,ai,_status){ usable:1, logTarget:function(event){ return event.parent.gongjian_targets.filter(function(target){ - return event.targets.contains(target)&&target.countCards('he')>0; + return event.targets.includes(target)&&target.countCards('he')>0; }); }, filter:function(event,player){ if(event.card.name!='sha'||!event.isFirstTarget) return false; if(event.parent.gongjian_targets&&event.parent.gongjian_targets.filter(function(target){ - return event.targets.contains(target)&&target.countCards('he')>0; + return event.targets.includes(target)&&target.countCards('he')>0; }).length>0) return true; return false; }, check:function(event,player){ var targets=event.parent.gongjian_targets.filter(function(target){ - return event.targets.contains(target)&&target.countCards('he')>0; + return event.targets.includes(target)&&target.countCards('he')>0; }),att=0; for(var i of targets){ att+=get.attitude(player,i); @@ -6606,7 +6606,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' event.targets=trigger.parent.gongjian_targets.filter(function(target){ - return trigger.targets.contains(target); + return trigger.targets.includes(target); }); event.num=0; 'step 1' @@ -6691,7 +6691,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ charlotte:true, usable:1, filter:function(event,player){ - return (event.player==player||event.player.hasMark('rexiemu'))&&['useCard','respond'].contains(event.getParent().name)&&event.hs&&event.hs.length&& + return (event.player==player||event.player.hasMark('rexiemu'))&&['useCard','respond'].includes(event.getParent().name)&&event.hs&&event.hs.length&& event.player!=_status.currentPhase&&game.hasPlayer(function(current){ return current.hasMark('rexiemu'); }); @@ -6772,7 +6772,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.name=='gain'&&event.player==player) return false; var evt=event.getl(player); return evt&&evt.cards2&&evt.cards2.length==1&& - ['equip','trick'].contains(get.type2(evt.cards2[0],(evt.type=='discard'&&evt.hs.contains(evt.cards2[0]))?player:false))&& + ['equip','trick'].includes(get.type2(evt.cards2[0],(evt.type=='discard'&&evt.hs.includes(evt.cards2[0]))?player:false))&& !player.hasSkill('moying2'); }, content:function(){ @@ -7068,7 +7068,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.name=='phaseUse') return true; else if(name=='useCardAfter') return event.getParent().juanhui; return event.player==player.storage.juanhui2&&event.player.isPhaseUsing()&& - ['basic','trick'].contains(get.type(event.card))&&player.getStorage('juanhui3').filter(function(vcard){ + ['basic','trick'].includes(get.type(event.card))&&player.getStorage('juanhui3').filter(function(vcard){ return vcard[2]==event.card.name; }).length==0; }, @@ -7189,18 +7189,18 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 5' var hs=player.getCards('h'); cards=cards.filter(function(card){ - return hs.contains(card); + return hs.includes(card); }); if(cards.length&&game.hasPlayer(function(current){ - return current!=player&&!event.given.contains(current); + return current!=player&&!event.given.includes(current); })) player.chooseCardTarget({ prompt:'是否将得到的牌中的任意张交给其他角色?', selectCard:[1,cards.length], filterCard:function(card){ - return _status.event.cards.contains(card); + return _status.event.cards.includes(card); }, filterTarget:function(card,player,target){ - return target!=player&&!_status.event.given.contains(target); + return target!=player&&!_status.event.given.includes(target); }, cards:cards, given:event.given, @@ -7226,7 +7226,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audioname:['sp_key_yuri'], trigger:{source:'damageBegin2'}, filter:function(event,player){ - return event.player!=player&&!player.getStorage('ziqu').contains(event.player)&& + return event.player!=player&&!player.getStorage('ziqu').includes(event.player)&& event.player.countCards('he')>0; }, check:function(event,player){ @@ -7580,7 +7580,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, filterCard:true, filterTarget:function(card,player,target){ - if(target.storage.mouzhi2&&target.storage.mouzhi2.contains(player)) return false; + if(target.storage.mouzhi2&&target.storage.mouzhi2.includes(player)) return false; return target!=player; }, delay:0, @@ -7718,7 +7718,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ enable:'phaseUse', position:'he', filter:function(event,player){ - return !player.storage.spshicai2||!player.getCards('h').contains(player.storage.spshicai2); + return !player.storage.spshicai2||!player.getCards('h').includes(player.storage.spshicai2); }, filterCard:true, prompt:function(){ @@ -7881,7 +7881,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ target:function(card,player,target,current){ if(target.hasMark('cangchu')){ if(card.name=='sha'){ - if(lib.skill.global.contains('huoshaowuchao')||game.hasNature(card,'fire')||player.hasSkill('zhuque_skill')) return 2; + if(lib.skill.global.includes('huoshaowuchao')||game.hasNature(card,'fire')||player.hasSkill('zhuque_skill')) return 2; } if(get.tag(card,'fireDamage')&¤t<0) return 2; } @@ -8415,10 +8415,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var filterSame=function(list1,list2){ if(list1[1].length==list2[0].length&&list1[0].length==list2[1].length){ for(var i=0;i0) player.chooseTarget('是否令一名手牌数最少的角色获得'+get.translation(cards),function(card,player,target){ @@ -8932,7 +8932,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'useCardAfter'}, audio:'xpchijie', filter:function(event,player){ - return event.player!=player&&event.targets.contains(player)&&event.cards.filterInD().length>0&&!game.hasPlayer2(function(current){ + return event.player!=player&&event.targets.includes(player)&&event.cards.filterInD().length>0&&!game.hasPlayer2(function(current){ return current.getHistory('damage',function(evt){ return evt.card==event.card; }).length>0; @@ -9141,11 +9141,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'phaseJieshuBegin'}, frequent:true, filter:function(event,player){ - //if(player.getHistory('skipped').contains('phaseUse')) return false; + //if(player.getHistory('skipped').includes('phaseUse')) return false; return player.getHistory('useCard',function(evt){ if(evt.targets&&evt.targets.length&&evt.isPhaseUsing()){ var targets=evt.targets.slice(0); - while(targets.contains(player)) targets.remove(player); + while(targets.includes(player)) targets.remove(player); return targets.length>0; } return false; @@ -9170,7 +9170,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(!lib.group.some(function(group){ if(group==player.group) return false; - return lib.group.contains(group)||game.hasPlayer(function(current){ + return lib.group.includes(group)||game.hasPlayer(function(current){ return current.group==group; }); })) return false; @@ -9180,7 +9180,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' var list=lib.group.filter(function(group){ if(group==player.group) return false; - return lib.group.contains(group)||game.hasPlayer(function(current){ + return lib.group.includes(group)||game.hasPlayer(function(current){ return current.group==group; }); }); @@ -9251,7 +9251,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.type=='delay') return false; return game.hasPlayer(function(current){ if(!current.hasMark('zongkui_mark')) return false; - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current); }); }, direct:true, @@ -9260,7 +9260,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseTarget(get.prompt2('bmcanshi'),[1,Infinity],function(card,player,target){ if(!target.hasMark('zongkui_mark')) return false; var trigger=_status.event.getTrigger(); - return !trigger.targets.contains(target)&&lib.filter.targetEnabled2(trigger.card,player,target); + return !trigger.targets.includes(target)&&lib.filter.targetEnabled2(trigger.card,player,target); }).set('ai',function(target){ var player=_status.event.player; return get.effect(target,_status.event.getTrigger().card,player,player); @@ -9291,7 +9291,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, logTarget:'player', filter:function(event,player){ - if(!['basic','trick'].contains(get.type(event.card))) return false; + if(!['basic','trick'].includes(get.type(event.card))) return false; if(!event.targets||event.targets.length!=1) return false; return event.player.hasMark('zongkui_mark'); }, @@ -9556,7 +9556,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var i=0;i0&&event.player.countCards('he')>0; }, @@ -9865,7 +9865,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 3' var tothrow=[]; for(var i=event.cards.length-1;i>=0;i--){ - if(result.bool&&result.links.contains(event.cards[i])){ + if(result.bool&&result.links.includes(event.cards[i])){ player.gain(event.cards[i],'gain2'); } else{ @@ -9890,7 +9890,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(num1>num2) num3=0; else if(player.storage.xinfu_qianxin){ for(var i=0;i0; }, filterTarget:function(card,player,target){ - if(![player.next,player.previous].contains(target)||target.countCards('h')==0) return false; + if(![player.next,player.previous].includes(target)||target.countCards('h')==0) return false; if(player.hasSkill('xinfu_fuhai_next')) return target==player.previous; if(player.hasSkill('xinfu_fuhai_previous')) return target==player.next; return true; @@ -10342,7 +10342,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var evt=player.getLastUsed(1); if(!evt||!evt.targets||!evt.targets.length||!evt.isPhaseUsing(player)) return false; for(var i=0;i0; + return evt.targets.includes(current)&&player.canUse(card,current)&&get.effect(current,card,player,player)>0; })){ return num+10; } @@ -10385,7 +10385,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ effect:{ player:function(card,player,target){ var evt=player.getLastUsed(); - if(evt&&evt.targets.contains(target)&&(!player.storage.counttrigger||!player.storage.counttrigger.xinfu_lianpian||!player.storage.counttrigger.xinfu_lianpian<3)&&player.isPhaseUsing(player)) return [1.5,0]; + if(evt&&evt.targets.includes(target)&&(!player.storage.counttrigger||!player.storage.counttrigger.xinfu_lianpian||!player.storage.counttrigger.xinfu_lianpian<3)&&player.isPhaseUsing(player)) return [1.5,0]; } }, }, @@ -10570,7 +10570,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return mode!='identity'&&mode!='guozhan'; }, sp_xuyou:function(mode){ - return mode=='versus'&&['guandu','4v4','four'].contains(_status.mode); + return mode=='versus'&&['guandu','4v4','four'].includes(_status.mode); }, }, dynamicTranslate:{ diff --git a/character/standard.js b/character/standard.js index 1064d154a..6d162be68 100755 --- a/character/standard.js +++ b/character/standard.js @@ -180,7 +180,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:'tongji', direct:true, filter(event,player){ - return event.card.name=='sha'&&event.player!=player&&!event.targets.contains(player)&& + return event.card.name=='sha'&&event.player!=player&&!event.targets.includes(player)&& event.target.inRange(player)&&event.target.countCards('he')>0; }, async content(event,trigger,player){ @@ -688,7 +688,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ let bool; if(judge>0){ event.cards.push(card); - bool=lib.config.autoskilllist.contains('luoshen')?(await player.chooseBool('是否再次发动【洛神】?')).result.bool:true; + bool=lib.config.autoskilllist.includes('luoshen')?(await player.chooseBool('是否再次发动【洛神】?')).result.bool:true; } else{ for(let i=0;i0&&event.targets.contains(player)==false; + player.countCards('h','sha')>0&&event.targets.includes(player)==false; }, direct:true, content:function(){ @@ -5303,7 +5303,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var storage=player.storage.kunlunjing; var num=0; for(var i=0;i0){ @@ -5569,7 +5569,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } } for(var i in hss){ - if(!suits.contains(i)){ + if(!suits.includes(i)){ choice=choice.concat(hss[i]); delete hss[i]; } @@ -5578,13 +5578,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ choice.length=0; } target.chooseToDiscard(cards.length,true,'he').ai=function(card){ - var num=choice.contains(card)?20:0; + var num=choice.includes(card)?20:0; return num-get.value(card); } "step 1" var damage=false; for(var i=0;i=10) continue; if(i!='list') list.push([suit,number,i]); } @@ -8157,7 +8157,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "step 0" var list=[]; for(var i in lib.card){ - if(lib.card[i].mode&&lib.card[i].mode.contains(lib.config.mode)==false) continue; + if(lib.card[i].mode&&lib.card[i].mode.includes(lib.config.mode)==false) continue; if(lib.card[i].type=='delay') list.push([cards[0].suit,cards[0].number,i]); } var dialog=ui.create.dialog('玄咒',[list,'vcard']); diff --git a/character/tw.js b/character/tw.js index be5aef49c..6685e8169 100644 --- a/character/tw.js +++ b/character/tw.js @@ -376,8 +376,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var trigger=_status.event.getTrigger(); var player=trigger.player; var target=trigger.target; - if(controls.contains('其弃置')&&_status.event.goon) return '其弃置'; - if(controls.contains('你弃置')){ + if(controls.includes('其弃置')&&_status.event.goon) return '其弃置'; + if(controls.includes('你弃置')){ if(game.hasPlayer(targetx=>!trigger.targets.includes(targetx)&&player.canUse(trigger.card,targetx)&&get.effect(targetx,trigger.card,player,player)>0)) return '你弃置'; } return 'cancel2'; @@ -481,7 +481,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return game.hasPlayer(target=>lib.skill.twchengxi.filterTarget(null,player,target)); }, filterTarget:function(card,player,target){ - if(player.getStorage('twchengxi_used').contains(target)||target==player) return false; + if(player.getStorage('twchengxi_used').includes(target)||target==player) return false; return !player.hasSkillTag('noCompareSource')&&target.countCards('h')>0&&!target.hasSkillTag('noCompareTarget'); }, content:function(){ @@ -731,7 +731,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:'twxinghan', trigger:{player:'addToExpansionEnd'}, filter:function(event,player){ - return event.gaintag.contains('twshenyi'); + return event.gaintag.includes('twshenyi'); }, forced:true, locked:false, @@ -1234,7 +1234,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced: true, logTarget: function (event, player) { return game.filterPlayer(function (target) { - return ['shu', 'qun'].contains(target.group); + return ['shu', 'qun'].includes(target.group); }); }, content: function () { @@ -1374,11 +1374,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ mod: { playerEnabled: function (card, player, target) { if (!player.hasZhuSkill('twchongwang')) return; - if (get.tag(card, 'damage') > 0 && player.storage.twchongwangx.contains(target)) return false; + if (get.tag(card, 'damage') > 0 && player.storage.twchongwangx.includes(target)) return false; }, targetEnabled: function (card, player, target) { if (!target.hasZhuSkill('twchongwang')) return; - if (get.tag(card, 'damage') > 0 && target.storage.twchongwangx.contains(player)) return false; + if (get.tag(card, 'damage') > 0 && target.storage.twchongwangx.includes(player)) return false; }, }, locked:false, @@ -1401,7 +1401,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger: { player: 'phaseUseBegin' }, filter: function (event, player) { return player.group == 'qun' && game.hasPlayer(function (current) { - return current != player && current.hasZhuSkill('twchongwang', player) && !current.storage.twchongwang.contains(player); + return current != player && current.hasZhuSkill('twchongwang', player) && !current.storage.twchongwang.includes(player); }); }, direct: true, @@ -1412,7 +1412,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ selectCard: 1, filterCard: true, filterTarget: function (card, player, target) { - return target != player && target.hasZhuSkill('twchongwang', player) && !target.storage.twchongwang.contains(player); + return target != player && target.hasZhuSkill('twchongwang', player) && !target.storage.twchongwang.includes(player); }, position: 'he', ai1: function (card) { @@ -1910,7 +1910,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ locked:false, filter:function(event,player){ if(!event.source||!event.source.isIn()) return false; - return player==event.player&&!player.getStorage('twyanshi').contains(event.source)||player!=event.source&&player.getStorage('twyanshi').contains(event.player); + return player==event.player&&!player.getStorage('twyanshi').includes(event.source)||player!=event.source&&player.getStorage('twyanshi').includes(event.player); }, content:function(){ trigger.source.addMark('twyanshi_mark',1); @@ -1957,7 +1957,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.player==player){ return player.getStorage('twyanshi').some(i=>i.isIn()&&i.hp>0); } - if(player.getStorage('twyanshi').contains(event.player)){ + if(player.getStorage('twyanshi').includes(event.player)){ return player.isIn()&&player.hp>0; } return false; @@ -1973,7 +1973,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(trigger.player==player){ avengers=player.getStorage('twyanshi').filter(i=>i.isIn()&&i.hp>0); } - if(player.getStorage('twyanshi').contains(trigger.player)){ + if(player.getStorage('twyanshi').includes(trigger.player)){ avengers=[player]; } event.avengers=avengers; @@ -2127,7 +2127,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } if(targets.length){ player.chooseTarget(get.prompt('twshezhong'),'将手牌摸至一名与一名本回合对你造成过伤害的角色的体力值相同,且至多摸至五张',(card,player,target)=>{ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('ai',target=>{ return Math.max(0.1,target.hp-_status.event.player.countCards('h')); }).set('targets',targets); @@ -2216,7 +2216,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var need=['trick','equip'].randomSort(); need.addArray(['sha','jiu'].randomSort()); for(var type of need){ - if(list.contains(type)) return type; + if(list.includes(type)) return type; } return list.randomGet(); }, @@ -2355,7 +2355,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var map={}; event.player.getHistory('useCard',evt=>{ var evtx=evt.getParent('phaseUse'),suit=get.suit(evt.card); - if(!lib.suit.contains(suit)) return; + if(!lib.suit.includes(suit)) return; if(evtx!=event.getParent('phaseUse')) return; if(typeof map[suit]!='number') map[suit]=0; map[suit]++; @@ -2384,7 +2384,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, check:function(event,player){ var map=event.twbingde_map; - var suit=lib.suit.filter(i=>!player.getStorage('twbingde_clear').contains(i)).sort((a,b)=>{ + var suit=lib.suit.filter(i=>!player.getStorage('twbingde_clear').includes(i)).sort((a,b)=>{ return map[b]-map[a]; })[0]; if(map[suit]==0) return 'cancel2'; @@ -2680,7 +2680,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var record=player.getStorage('twjichou'); for(var i of lib.inpile){ var type=get.type(i); - if(type=='trick'&&!record.contains(i)&&event.filterCard({name:i,isCard:true},player,event)) return true; + if(type=='trick'&&!record.includes(i)&&event.filterCard({name:i,isCard:true},player,event)) return true; } } return false; @@ -2689,7 +2689,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ dialog:function(event,player){ var dialog=ui.create.dialog('急筹'); if(!player.hasSkill('twjichou_used')&&!player.hasSkill('twjichou_given')&&event.type=='phase'&&player.countCards('h',card=>{ - return player.getStorage('twjichou').contains(get.name(card)); + return player.getStorage('twjichou').includes(get.name(card)); })){ dialog._chosenOpt=[]; var table=document.createElement('div'); @@ -2733,7 +2733,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } var list=[],record=player.getStorage('twjichou'); for(var name of lib.inpile){ - if(get.type(name)=='trick'&&!record.contains(name)&&event.filterCard({name:name,isCard:true},player,event)) list.push(['锦囊','',name]); + if(get.type(name)=='trick'&&!record.includes(name)&&event.filterCard({name:name,isCard:true},player,event)) list.push(['锦囊','',name]); } dialog.add([list,'vcard']); return dialog; @@ -2758,7 +2758,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ check:function(button){ if(_status.event.getParent().type!='phase') return 1; var player=_status.event.player; - if(['wugu','zhulu_card','yiyi','lulitongxin','lianjunshengyan','diaohulishan'].contains(button.link[2])) return 0.1; + if(['wugu','zhulu_card','yiyi','lulitongxin','lianjunshengyan','diaohulishan'].includes(button.link[2])) return 0.1; return player.getUseValue({name:button.link[2]}); }, backup:function(links,player){ @@ -2775,7 +2775,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ hiddenCard:function(player,name){ if(player.hasSkill('twjichou_used')) return false; var type=get.type(name); - return type=='trick'&&!player.getStorage('twjichou').contains(name); + return type=='trick'&&!player.getStorage('twjichou').includes(name); }, marktext:'筹', intro:{ @@ -2801,7 +2801,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ban:{ trigger:{global:'useCard1'}, filter:function(event,player){ - return player.getStorage('twjichou').contains(event.card.name); + return player.getStorage('twjichou').includes(event.card.name); }, forced:true, locked:false, @@ -2811,14 +2811,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ cardEnabled:function(card,player){ - if(player.getStorage('twjichou').contains(card.name)&&(get.position(card)=='h'||card.cards&&card.cards.some(i=>get.position(i)=='h'))) return false; + if(player.getStorage('twjichou').includes(card.name)&&(get.position(card)=='h'||card.cards&&card.cards.some(i=>get.position(i)=='h'))) return false; }, cardSavable:function(card,player){ - if(player.getStorage('twjichou').contains(card.name)&&(get.position(card)=='h'||card.cards&&card.cards.some(i=>get.position(i)=='h'))) return false; + if(player.getStorage('twjichou').includes(card.name)&&(get.position(card)=='h'||card.cards&&card.cards.some(i=>get.position(i)=='h'))) return false; }, aiValue:function(player,card){ if(get.type(card)!='trick'||_status.twjichou_give_aiCheck) return; - if(!player.getFriends().length&&player.getStorage('twjichou').contains(get.name(card))) return 0; + if(!player.getFriends().length&&player.getStorage('twjichou').includes(get.name(card))) return 0; }, aiUseful:function(){ return lib.skill.twjichou_ban.mod.aiValue.apply(this,arguments); @@ -2840,13 +2840,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:'twjichou', enable:'phaseUse', filter:function(event,player){ - return player.hasSkill('twjichou_used')&&!player.hasSkill('twjichou_given')&&player.countCards('h',i=>player.getStorage('twjichou').contains(get.name(i))); + return player.hasSkill('twjichou_used')&&!player.hasSkill('twjichou_given')&&player.countCards('h',i=>player.getStorage('twjichou').includes(get.name(i))); }, filterTarget:function(card,player,target){ return target!=player; }, filterCard:function(card,player){ - return player.getStorage('twjichou').contains(get.name(card)); + return player.getStorage('twjichou').includes(get.name(card)); }, check:function(card){ _status.twjichou_give_aiCheck=true; @@ -2869,7 +2869,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ target:function(player,target){ if(target.hasSkillTag('nogain')) return 0; if(target.hasJudge('lebu')) return 0; - return target.getCards('h',card=>player.getStorage('twjichou').contains(get.name(card))).reduce((p,c)=>p+(target.getUseValue(c)||1),0); + return target.getCards('h',card=>player.getStorage('twjichou').includes(get.name(card))).reduce((p,c)=>p+(target.getUseValue(c)||1),0); } }, } @@ -2887,7 +2887,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var choices=['选项一']; var choiceList=['摸'+get.cnNumber(num)+'张牌','视为使用一张在〖急筹〗记录内且不在〖机论〗记录内的普通锦囊牌']; if((!player.getStorage('twjichou').length)||player.getStorage('twjichou').filter(name=>{ - return !player.getStorage('twjilun').contains(name)&&player.hasUseTarget({name:name}); + return !player.getStorage('twjilun').includes(name)&&player.hasUseTarget({name:name}); }).length==0) choiceList[1]=''+choiceList[1]+''; else choices.push('选项二'); @@ -2895,7 +2895,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(_status.event.choiceList.length==1||!player.getStorage('twjichou').length) return 0; var val=_status.event.num>3?Math.min(1.5,1+(_status.event.num-3)*0.1):1; for(var name of player.getStorage('twjichou')){ - if(player.getStorage('twjilun').contains(name)) continue; + if(player.getStorage('twjilun').includes(name)) continue; if(player.getUseValue({name:name})>4*val) return 1; } return 0; @@ -2910,7 +2910,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else{ var list=[]; for(var name of player.getStorage('twjichou')){ - if(!player.getStorage('twjilun').contains(name)){ + if(!player.getStorage('twjilun').includes(name)){ list.push(['锦囊','',name]); } } @@ -2951,11 +2951,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ derivation:'twlinglu', filter:function(event,player){ return game.hasPlayer(function(current){ - return player.canUse({name:'sha',isCard:true},current,false)&¤t!=player&&!player.getStorage('twkunsi').contains(current); + return player.canUse({name:'sha',isCard:true},current,false)&¤t!=player&&!player.getStorage('twkunsi').includes(current); }); }, filterTarget:function(card,player,target){ - return player.canUse({name:'sha',isCard:true},target,false)&&target!=player&&!player.getStorage('twkunsi').contains(target); + return player.canUse({name:'sha',isCard:true},target,false)&&target!=player&&!player.getStorage('twkunsi').includes(target); }, content:function(){ 'step 0' @@ -3021,7 +3021,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }).set('ai',function(target){ var player=_status.event.player,att=get.attitude(player,target); if(target.countCards('hs')>4&&target.hp>=3) return att; - if(player.getStorage('twlinglu').contains(target)) return -2*att; + if(player.getStorage('twlinglu').includes(target)) return -2*att; return -att; }); 'step 1' @@ -3032,7 +3032,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ target.addTempSkill('twlinglu_order',{player:'phaseAfter'}); if(!target.storage.twlinglu_settle) target.storage.twlinglu_settle=[]; target.storage.twlinglu_settle.unshift([player,1]); - if(player.getStorage('twlinglu').contains(target)) player.chooseBool('是否令'+get.translation(target)+'于〖令戮〗失败时进行两次结算?').set('ai',function(){return true}); + if(player.getStorage('twlinglu').includes(target)) player.chooseBool('是否令'+get.translation(target)+'于〖令戮〗失败时进行两次结算?').set('ai',function(){return true}); else event.finish(); } else event.finish(); @@ -3152,7 +3152,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(target==player) return 0; return get.effect(target,{name:'sha'},player,player); }).reduce((p,c)=>p+c,0),eff2=list2.map(target=>2*get.effect(target,{name:'draw'},player,player)).reduce((p,c)=>p+c,0); - if(_status.event.controls.contains('选项二')&&eff2>eff) return '选项二'; + if(_status.event.controls.includes('选项二')&&eff2>eff) return '选项二'; if(eff>0) return 0; return 'cancel2'; }); @@ -3160,7 +3160,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(result.control=='选项一'){ event.bool=true; if(event.list2.length) player.chooseTarget('雄争:请选择任意名满足条件的角色,你视为依次对这些角色使用一张杀',[1,Infinity],true,function(card,player,target){ - return player.canUse('sha',target,false,false)&&_status.event.getParent().list2.contains(target); + return player.canUse('sha',target,false,false)&&_status.event.getParent().list2.includes(target); }).set('ai',function(target){ var player=_status.event.player; return get.effect(target,{name:'sha'},player,player); @@ -3170,7 +3170,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else if(result.control=='选项二'){ event.bool=false; if(event.list.length) player.chooseTarget('雄争:请选择任意名满足条件的角色,这些角色摸两张牌',[1,Infinity],true,function(card,player,target){ - return _status.event.getParent().list.contains(target); + return _status.event.getParent().list.includes(target); }).set('ai',function(target){ var player=_status.event.player; return get.effect(target,{name:'draw'},player,player); @@ -3187,12 +3187,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else game.asyncDraw(result.targets,2); 'step 3' if(!game.hasPlayer(function(current){ - return !player.getStorage('twxiongzheng').contains(current); + return !player.getStorage('twxiongzheng').includes(current); })) event.finish(); else game.delayx(); 'step 4' player.chooseTarget(get.prompt('twxiongzheng'),'选择一名未选择过的角色,称为“雄争”角色',function(card,player,target){ - return !player.getStorage('twxiongzheng').contains(target); + return !player.getStorage('twxiongzheng').includes(target); }).set('ai',function(target){ var player=_status.event.player,att=get.attitude(player,target); if(game.roundNumber<=1&&player.hasUnknown()) return 0; @@ -3285,7 +3285,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filterTarget:function(card,player,target){ return game.filterPlayer(function(current){ return current.hasZhuSkill('twluannian',player); - }).map(i=>i.storage.twxiongzheng_target).contains(target); + }).map(i=>i.storage.twxiongzheng_target).includes(target); }, selectTarget:function(){ return game.filterPlayer(function(current){ @@ -3382,8 +3382,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var evt=_status.event.getTrigger(),list=_status.event.list; var player=_status.event.player; var target=evt.player; - if((target.hp>=target.countCards('h')+2||target==player)&&list.contains('背水!')) return '背水!'; - if(target.countCards('h')&&list.contains('选项二')) return '选项二'; + if((target.hp>=target.countCards('h')+2||target==player)&&list.includes('背水!')) return '背水!'; + if(target.countCards('h')&&list.includes('选项二')) return '选项二'; return '选项一'; }).set('list',list); 'step 1' @@ -3591,7 +3591,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ mark:{ trigger:{player:'useCard1'}, filter:function(event,player){ - return !player.getStorage('twmibei').contains(event.card.name); + return !player.getStorage('twmibei').includes(event.card.name); }, charlotte:true, forced:true, @@ -3644,7 +3644,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ player.awakenSkill('twxingqi'); player.recover(); - if(!player.awakenedSkills.contains('twmibei')){ + if(!player.awakenedSkills.includes('twmibei')){ var list=['basic','equip','trick'],cards=[]; for(var i of list){ var card=get.cardPile2(function(card){ @@ -3756,10 +3756,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=[]; for(var i=0;i{ + if(cards.includes(i)&&event.player.countCards('he',card=>{ return card!=i&&get.type2(card)==get.type2(i); })) return true; } @@ -4121,7 +4121,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(current==player) return false; var cardsx=event.getg(current); for(var i of cardsx){ - if(cards.contains(i)&¤t.countCards('he',card=>{ + if(cards.includes(i)&¤t.countCards('he',card=>{ return card!=i&&get.type2(card)==get.type2(i); })) return true; } @@ -4137,7 +4137,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(current==player) return false; var cardsx=event.getg(current); for(var i of cardsx){ - if(cards.contains(i)&¤t.countCards('he',card=>{ + if(cards.includes(i)&¤t.countCards('he',card=>{ return card!=i&&get.type2(card)==get.type2(i); })) return true; } @@ -4155,7 +4155,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(current==player) return false; var cardsx=trigger.getg(current); for(var i of cardsx){ - if(cards.contains(i)&¤t.countCards('he',card=>{ + if(cards.includes(i)&¤t.countCards('he',card=>{ return card!=i&&get.type2(card)==get.type2(i); })) return true; } @@ -4184,7 +4184,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ]).set('ai',function(){ var player=_status.event.player; var types=_status.event.cardType,cards=player.getCards('he',function(card){ - return types.contains(get.type2(card)); + return types.includes(get.type2(card)); }); if(cards.length==1) return '选项二'; if(cards.length>=2){ @@ -4205,7 +4205,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 3' if(result.control=='选项一') target.damage(); else target.discard(target.getCards('he',card=>{ - return event.cardType.contains(get.type2(card))&&!cards.contains(card); + return event.cardType.includes(get.type2(card))&&!cards.includes(card); })); 'step 4' if(event.targets.length>0) event.goto(1); @@ -4503,7 +4503,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(_status.dying.length) return false; if(player==event.player) return false; if(event.target.hp>=player.hp) return false; - if(!['basic','trick'].contains(get.type(event.card))) return false; + if(!['basic','trick'].includes(get.type(event.card))) return false; return true; }, usable:1, @@ -4598,7 +4598,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.discard(player.getCards('he')); for(var i=0;i0; }); @@ -5135,7 +5135,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ player.addTempSkill('twxiangyu_range'); player.markAuto('twxiangyu_range',game.filterPlayer(function(current){ - if(player.getStorage('twxiangyu_range').contains(current)) return false; + if(player.getStorage('twxiangyu_range').includes(current)) return false; var evt=trigger.getl(current); return evt&&evt.cards2&&evt.cards2.length>0; })); @@ -5339,8 +5339,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(list.length==1) event._result={control:list[0]}; else player.chooseControl(list).set('choiceList',choiceList).set('ai',function(){ var list=_status.event.controls; - if(list.contains('背水!')) return '背水!'; - if(list.contains('选项一')) return '选项一'; + if(list.includes('背水!')) return '背水!'; + if(list.includes('选项一')) return '选项一'; return '选项二'; }).set('prompt','奋命:请选择一项'); } @@ -5433,7 +5433,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'useCard1'}, filter:function(event,player){ if(_status.currentPhase==player&&event.card.name=='sha'&& - player.getStorage('twgongji2').contains(get.suit(event.card))&&event.addCount!==false) return true; + player.getStorage('twgongji2').includes(get.suit(event.card))&&event.addCount!==false) return true; return false; }, forced:true, @@ -5448,10 +5448,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ cardUsable:function(card,player){ - if(card.name=='sha'&&player.getStorage('twgongji2').contains(get.suit(card))) return Infinity; + if(card.name=='sha'&&player.getStorage('twgongji2').includes(get.suit(card))) return Infinity; }, aiOrder:function(player,card,num){ - if(get.name(card)=='sha'&&!player.getStorage('twgongji2').contains(get.suit(card))) return num+1; + if(get.name(card)=='sha'&&!player.getStorage('twgongji2').includes(get.suit(card))) return num+1; }, }, }, @@ -5513,7 +5513,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ onremove:true, trigger:{global:'dying'}, filter:function(event,player){ - return player.getStorage('twjiefan2').contains(event.player); + return player.getStorage('twjiefan2').includes(event.player); }, forced:true, popup:false, @@ -5729,7 +5729,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return game.countPlayer(current=>{ if(current==player) return false; var evt=event.getl(current); - if(evt&&evt.cards&&evt.cards.filter(card=>cards.contains(card)).length>=2) return true; + if(evt&&evt.cards&&evt.cards.filter(card=>cards.includes(card)).length>=2) return true; return false; }); }, @@ -5738,7 +5738,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var target=game.filterPlayer(current=>{ if(current==player) return false; var evt=event.getl(current); - if(evt&&evt.cards&&evt.cards.filter(card=>cards.contains(card)).length>=2) return true; + if(evt&&evt.cards&&evt.cards.filter(card=>cards.includes(card)).length>=2) return true; return false; })[0]; return get.attitude(player,target)>0; @@ -5748,7 +5748,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return game.filterPlayer(current=>{ if(current==player) return false; var evt=event.getl(current); - if(evt&&evt.cards&&evt.cards.filter(card=>cards.contains(card)).length>=2) return true; + if(evt&&evt.cards&&evt.cards.filter(card=>cards.includes(card)).length>=2) return true; return false; }); }, @@ -5765,7 +5765,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ list.push('cancel2'); player.chooseControl(list).set('prompt',get.prompt('twenyuan',target)).set('prompt2',prompt2).set('ai',()=>_status.event.choice).set('choice',function(){ if(get.attitude(player,target)>0){ - if(target.hp<=2&&list.contains('回复1点体力')) return '回复1点体力'; + if(target.hp<=2&&list.includes('回复1点体力')) return '回复1点体力'; return 0; } return 'cancel2'; @@ -5885,7 +5885,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ return player.hasHistory('sourceDamage',evt=>{ if(!evt.card||evt.card.name!='sha'||!evt.player.isIn()) return false; - if(player.getStorage('twqianxi_self').contains(evt.player)) return true; + if(player.getStorage('twqianxi_self').includes(evt.player)) return true; return false; }); }, @@ -5894,7 +5894,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var targets=[]; player.getHistory('sourceDamage',evt=>{ if(!evt.card||evt.card.name!='sha') return false; - if(player.getStorage('twqianxi_self').contains(evt.player)){ + if(player.getStorage('twqianxi_self').includes(evt.player)){ targets.add(evt.player); } return false; @@ -5997,7 +5997,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, content:function(){ 'step 0' - if(!player.hasSkill('twcuorui',null,null,false)||!player.awakenedSkills.contains('twcuorui')) event._result={index:0}; + if(!player.hasSkill('twcuorui',null,null,false)||!player.awakenedSkills.includes('twcuorui')) event._result={index:0}; else player.chooseControl().set('prompt','裂围:请选择一项').set('choiceList',[ '摸两张牌', '重置〖挫锐〗' @@ -6352,7 +6352,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return num-2*player.getStorage('twxuewei_block').length; }, playerEnabled:function(card,player,target){ - if(card.name=='sha'&&player.getStorage('twxuewei_block').contains(target)) return false; + if(card.name=='sha'&&player.getStorage('twxuewei_block').includes(target)) return false; }, }, }, @@ -6384,7 +6384,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else choiceList[2]=''+choiceList[2]+'(未进入过濒死状态)'; player.chooseControl(list,'cancel2').set('prompt',get.prompt('twliechi',trigger.source)).set('choiceList',choiceList).set('ai',()=>_status.event.choice).set('choice',function(){ if(get.attitude(player,trigger.source)>0) return 'cancel2'; - if(list.contains('背水!')) return '背水!'; + if(list.includes('背水!')) return '背水!'; if(num>1) return '选项一'; return '选项二'; }()); @@ -6446,7 +6446,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=[]; player.countCards('he',function(cardx){ if(cardx!=card||get.color(cardx)!=color) return false; - if(list.contains(cardx.name)) return false; + if(list.includes(cardx.name)) return false; list.push(cardx.name); switch (cardx.name){ case 'wuxie':num+=(game.countPlayer()/2.2); break; @@ -6563,7 +6563,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.getHistory('useCard',function(evt){ if(get.type(evt.card)!='basic') return; var name=evt.card.name,nature=game.hasNature(evt.card)?get.nature(evt.card):''; - if(!list.contains(name+nature)) list.push(name+nature); + if(!list.includes(name+nature)) list.push(name+nature); }); event.addDamage=list.length>1; player.chooseTarget(get.prompt('twfenwu'),'失去1点体力并视为使用一张无距离限制的【杀】'+(event.addDamage?'(伤害基数+1)':''),function(card,player,target){ @@ -6765,7 +6765,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'对'+get.translation(target2)+'使用一张杀,否则本回合使用伤害牌指定'+get.translation(player)+'为目标时须交给'+get.translation(player)+'两张牌,否则此牌对'+get.translation(player)+'无效').set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.targetEnabled.apply(this,arguments); }).set('sourcex',target2).set('addCount',false); 'step 4' @@ -6809,8 +6809,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.getParent().name!='draw') return false; if(event.player!=player&&!event.player.isMinHp()) return false; var cards=event.cards,list=['basic','trick','equip']; - for(var card of cards) if(list.contains(get.type2(card))) list.remove(get.type2(card)); - for(var type of event.player.getStorage('twjiaohua_gained')) if(list.contains(type)) list.remove(type); + for(var card of cards) if(list.includes(get.type2(card))) list.remove(get.type2(card)); + for(var type of event.player.getStorage('twjiaohua_gained')) if(list.includes(type)) list.remove(type); return list.length>0; }, check:function(event,player){ @@ -6818,8 +6818,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, prompt2:function(event,player){ var cards=event.cards,list=['basic','trick','equip']; - for(var card of cards) if(list.contains(get.type2(card))) list.remove(get.type2(card)); - for(var type of event.player.getStorage('twjiaohua_gained')) if(list.contains(type)) list.remove(type); + for(var card of cards) if(list.includes(get.type2(card))) list.remove(get.type2(card)); + for(var type of event.player.getStorage('twjiaohua_gained')) if(list.includes(type)) list.remove(type); var name=event.player==player?'你':get.translation(event.player); return '令'+name+'从牌堆或弃牌堆中获得一张'+(event.player.isUnderControl(true)?list.map(i=>get.translation(i)+'牌').join('、').replace(/(.*)、/, '$1或'):'本次未获得的类别的牌'); }, @@ -6827,11 +6827,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ trigger.player.addTempSkill('twjiaohua_gained'); var cards=trigger.cards,list=['basic','trick','equip']; - for(var card of cards) if(list.contains(get.type2(card))) list.remove(get.type2(card)); - for(var type of trigger.player.getStorage('twjiaohua_gained')) if(list.contains(type)) list.remove(type); + for(var card of cards) if(list.includes(get.type2(card))) list.remove(get.type2(card)); + for(var type of trigger.player.getStorage('twjiaohua_gained')) if(list.includes(type)) list.remove(type); list.randomSort(); var card=get.cardPile(function(card){ - return list.contains(get.type2(card)); + return list.includes(get.type2(card)); }); if(card){ trigger.player.gain(card,'gain2'); @@ -6925,7 +6925,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return event.player.hasHistory('lose',evt=>{ if(event!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('twkujianx')) return true; + if(evt.gaintag_map[i].includes('twkujianx')) return true; } }); }, @@ -6948,14 +6948,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var name=event.getParent().name; if(name=='useCard'||name=='respond') return false; for(var i in event.gaintag_map){ - if(event.gaintag_map[i].contains('twkujianx')) return true; + if(event.gaintag_map[i].includes('twkujianx')) return true; } return false; } return current.hasHistory('lose',function(evt){ if(event!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('twkujianx')) return true; + if(evt.gaintag_map[i].includes('twkujianx')) return true; } return false; }); @@ -6970,14 +6970,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var name=event.getParent().name; if(name=='useCard'||name=='respond') return false; for(var i in event.gaintag_map){ - if(event.gaintag_map[i].contains('twkujianx')) return true; + if(event.gaintag_map[i].includes('twkujianx')) return true; } return false; } return current.hasHistory('lose',function(evt){ if(event!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('twkujianx')) return true; + if(evt.gaintag_map[i].includes('twkujianx')) return true; } return false; }); @@ -6993,14 +6993,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var name=event.getParent().name; if(name=='useCard'||name=='respond') return false; for(var i in event.gaintag_map){ - if(event.gaintag_map[i].contains('twkujianx')) return true; + if(event.gaintag_map[i].includes('twkujianx')) return true; } return false; } return current.hasHistory('lose',function(evt){ if(event!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('twkujianx')) return true; + if(evt.gaintag_map[i].includes('twkujianx')) return true; } return false; }); @@ -7073,7 +7073,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ charlotte:true, onremove:true, filter:function(event,player){ - return player.getStorage('twruilian2').contains(event.player); + return player.getStorage('twruilian2').includes(event.player); }, intro:{content:'已选择$'}, content:function(){ @@ -7100,9 +7100,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ list.push('cancel2'); player.chooseControl(list).set('prompt','睿敛:是否与'+get.translation(target)+'各获得一种类型的牌?').set('ai',function(){ var player=_status.event.player,list=_status.event.controls; - if(player.hp<=3&&!player.countCards('h',{name:['shan','tao']})&&list.contains('basic')) return 'basic'; - if(player.countCards('he',{type:'equip'})<2&&list.contains('equip')) return 'equip'; - if(list.contains('trick')) return 'trick'; + if(player.hp<=3&&!player.countCards('h',{name:['shan','tao']})&&list.includes('basic')) return 'basic'; + if(player.countCards('he',{type:'equip'})<2&&list.includes('equip')) return 'equip'; + if(list.includes('trick')) return 'trick'; return list.remove('cancel2').randomGet(); }); 'step 2' @@ -7112,7 +7112,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=[target,player].sortBySeat(_status.currentPhase),cards=[]; for(var current of list){ var card=get.discardPile(function(card){ - return get.type2(card)==type&&!cards.contains(card); + return get.type2(card)==type&&!cards.includes(card); }); if(card){ cards.push(card); @@ -7344,7 +7344,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, filterTarget:function(card,player,target){ var source=_status.event.getParent().player; - if(target!=source&&!ui.selected.targets.contains(source)) return false; + if(target!=source&&!ui.selected.targets.includes(source)) return false; card=get.autoViewAs({name:'sha'},[card]); return lib.filter.filterTarget.apply(this,arguments); }, @@ -7387,7 +7387,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list2=[]; event.map={phaseJudge:'判定阶段',phaseDraw:'摸牌阶段',phaseUse:'出牌阶段',phaseDiscard:'弃牌阶段'}; for(var i of ['phaseJudge','phaseDraw','phaseUse','phaseDiscard']){ - if(!player.skipList.contains(i)){ + if(!player.skipList.includes(i)){ i=event.map[i]; list.push(i); if(i!='判定阶段'&&i!='弃牌阶段') list2.push(i); @@ -7399,11 +7399,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var att=get.attitude(target,player); var num=player.countCards('j'); if(att>0){ - if(list.contains('判定阶段')&&num>0) return '判定阶段'; + if(list.includes('判定阶段')&&num>0) return '判定阶段'; return '弃牌阶段'; } - if(list.contains('摸牌阶段')&&player.hasJudge('lebu')) return '摸牌阶段'; - if(list.contains('出牌阶段')&&player.hasJudge('bingliang')||player.needsToDiscard()>0) return '出牌阶段'; + if(list.includes('摸牌阶段')&&player.hasJudge('lebu')) return '摸牌阶段'; + if(list.includes('出牌阶段')&&player.hasJudge('bingliang')||player.needsToDiscard()>0) return '出牌阶段'; return list2.randomGet(); }()); 'step 5' @@ -7471,7 +7471,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ list.push('cancel2'); player.chooseControl(list).set('prompt','直辩:选择一项').set('choiceList',list2).set('ai',function(){ var target=_status.event.getParent().target; - if(_status.event.controls.contains('背水!')&&player.isDamaged()&&(target.countCards('h')||target.countCards('e',function(card){ + if(_status.event.controls.includes('背水!')&&player.isDamaged()&&(target.countCards('h')||target.countCards('e',function(card){ return player.canEquip(card)&&get.value(card,target)>=4+player.getDamagedHp(); }))) return 2; if(player.isDamaged()&&(player.hp<=2||(!target.countCards('h')&&!target.countCards('e',function(card){ @@ -7553,7 +7553,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(card.name=='sha'&&player.hp>target.hp&&get.attitude(player,target)<0){ var num=get.number(card); var bs=player.getCards('h',function(cardx){ - return (typeof num=='number'?(get.number(cardx)>num):(get.type(cardx)!='basic'))&&!['','',''].contains(cardx.name); + return (typeof num=='number'?(get.number(cardx)>num):(get.type(cardx)!='basic'))&&!['','',''].includes(cardx.name); }); if(bs.length<2) return 0; if(player.hasSkill('jiu')||player.hasSkill('tianxianjiu')) return; @@ -7708,7 +7708,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return; } player.chooseCard('h','除害:将其中一张得到的牌置入弃牌堆',true,function(card){ - return _status.event.cards.contains(card); + return _status.event.cards.includes(card); }).set('ai',function(card){ return -get.value(card); }).set('cards',cards); @@ -7764,7 +7764,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player.getStorage('twyizhu').length&& event.player!=player&&event.targets.length==1&& event.cards.filter(function(i){ - return player.getStorage('twyizhu').contains(i); + return player.getStorage('twyizhu').includes(i); }).length>0; }, logTarget:'player', @@ -7818,7 +7818,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } 'step 2' var list=trigger.cards.filter(function(i){ - return player.getStorage('twyizhu').contains(i); + return player.getStorage('twyizhu').includes(i); }); player.unmarkAuto('twyizhu',list); player.draw(); @@ -7834,12 +7834,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ locked:false, filter:function(event,player){ return player.getStorage('twyizhu').length&&event.getd().filter(function(i){ - return player.getStorage('twyizhu').contains(i); + return player.getStorage('twyizhu').includes(i); }).length>0; }, content:function(){ var list=trigger.getd().filter(function(i){ - return player.getStorage('twyizhu').contains(i); + return player.getStorage('twyizhu').includes(i); }); player.unmarkAuto('twyizhu',list); }, @@ -7884,7 +7884,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, check:function(event,player){ if(get.damageEffect(event.player,event.source,player)>0||(get.attitude(player,event.player)>0&&get.damageEffect(event.player,event.source,event.player)>0)) return false; - return get.attitude(player,event.player)>0&&event.player.hp0); + return get.attitude(player,event.player)>0&&event.player.hp0); }, logTarget:'player', content:function(){ @@ -7963,7 +7963,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=[]; for(var i=1;i<=2;i++){ var card=get.cardPile2(function(card){ - return !cards.contains(card)&&get.type(card)=='basic'; + return !cards.includes(card)&&get.type(card)=='basic'; }); if(card) cards.push(card); } @@ -8043,7 +8043,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return !player.hasSkill('twqiongji_silent')&&player.getHistory('lose',function(evt){ if(evt.getParent()!=event) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('twxiawei')) return true; + if(evt.gaintag_map[i].includes('twxiawei')) return true; } return false; }).length>0; @@ -8423,7 +8423,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ prompt2:'从游戏外或牌堆中获得一张【调剂盐梅】', content:function(){ if(!_status.tiaojiyanmei_suits||_status.tiaojiyanmei_suits.length>0){ - if(!lib.inpile.contains('tiaojiyanmei')){ + if(!lib.inpile.includes('tiaojiyanmei')){ game.broadcastAll(function(){lib.inpile.add('tiaojiyanmei')}); } if(!_status.tiaojiyanmei_suits) _status.tiaojiyanmei_suits=lib.suit.slice(0); @@ -8512,7 +8512,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget(get.prompt2('twyulong'),(card,player,target)=>{ - return _status.event.getTrigger().targets.contains(target)&&player.canCompare(target); + return _status.event.getTrigger().targets.includes(target)&&player.canCompare(target); }).set('ai',target=>{ if(player.hasCard(card=>get.value(card)<6,'h')) return -get.attitude(_status.event.player,target); }); @@ -8564,7 +8564,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, trigger:{player:['useCard','respond']}, filter:function(event,player){ - if(event.card.name!='sha'||!lib.suit.contains(get.suit(event.card))) return false; + if(event.card.name!='sha'||!lib.suit.includes(get.suit(event.card))) return false; var list=[]; player.getHistory('useCard',function(evt){ if(evt.card.name=='sha'){ @@ -8576,7 +8576,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.card!=evt.card) list.push(get.suit(evt.card)); } }); - return !list.contains(get.suit(event.card)); + return !list.includes(get.suit(event.card)); }, forced:true, content:function(){ @@ -8607,7 +8607,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(hs.length==0) return -1; var ts=target.getCards('h').sort((a,b)=>get.number(b)-get.number(a)); if(Math.min(13,get.number(hs[0])+num)<=get.number(ts[0])) return -1; - return get.effect(target,{name:'guohe_copy2'},player,player)/2+(targets.contains(target)?get.damageEffect(target,player,player):0); + return get.effect(target,{name:'guohe_copy2'},player,player)/2+(targets.includes(target)?get.damageEffect(target,player,player):0); }); 'step 1' if(result.bool){ @@ -8641,7 +8641,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(!event.card||!event.card.storage) return false; var targets=event.card.storage.twzhenhu; - return targets&&targets.contains(event.player); + return targets&&targets.includes(event.player); }, content:function(){ trigger.num++; @@ -8680,7 +8680,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ return get.tag(card,'damage')&&event.targets&&game.hasPlayer(function(target){ - return target.hasMark('twlvren')&&!event.targets.contains(target)&&lib.filter.targetEnabled2(card,player,target); + return target.hasMark('twlvren')&&!event.targets.includes(target)&&lib.filter.targetEnabled2(card,player,target); }); } return false; @@ -8690,7 +8690,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' player.chooseTarget(get.prompt('twlvren'),'为'+get.translation(trigger.card)+'额外指定一个有“刃”的角色为目标',function(card,player,target){ var evt=_status.event.getTrigger(); - return target.hasMark('twlvren')&&!evt.targets.contains(target)&&lib.filter.targetEnabled2(evt.card,player,target); + return target.hasMark('twlvren')&&!evt.targets.includes(target)&&lib.filter.targetEnabled2(evt.card,player,target); }).set('ai',function(target){ return get.effect(target,_status.event.getTrigger().card,_status.event.player); }); @@ -8921,7 +8921,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var str='
  • 拼点牌点数+3;' if(player.hasMark('twchuanshu_mark')){ str+='
  • 使用的下一张【杀】对除'+get.translation(shisyou)+'外的角色造成伤害时,此伤害+'+player.countMark('twchuanshu_mark')+';'; - if(!shisyou.contains(player)){ + if(!shisyou.includes(player)){ str+='
  • 使用的下一张【杀】结算结束后,'+get.translation(shisyou)+'摸等同于伤害值的牌;'; } } @@ -8945,7 +8945,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:['useCard','useCardAfter'],source:'damageBegin1'}, filter:function(event,player,name){ if(name=='useCard') return (event.card.name=='sha'&&player.hasMark('twchuanshu_mark')); - if(name=='damageBegin1') return event.card&&event.card.twchuanshu_mark&&!player.getStorage('twchuanshu_effect').contains(event.player); + if(name=='damageBegin1') return event.card&&event.card.twchuanshu_mark&&!player.getStorage('twchuanshu_effect').includes(event.player); return event.card.twchuanshu_mark&&player.hasHistory('sourceDamage',function(evt){ return evt.card==event.card; })&&player.getStorage('twchuanshu_effect').filter(function(target){ @@ -9061,7 +9061,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'侠望:是否对'+get.translation(trigger.source)+'使用一张杀?').set('logSkill','twxiawang').set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.filterTarget.apply(this,arguments); }).set('sourcex',trigger.source); player.addTempSkill('twxiawang_damage'); @@ -9113,7 +9113,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' player.chooseTarget(get.prompt2('twgongge'),function(card,player,target){ var trigger=_status.event.getTrigger(); - return trigger.targets.contains(target); + return trigger.targets.includes(target); }).set('ai',function(target){ var player=_status.event.player; var trigger=_status.event.getTrigger(); @@ -9145,7 +9145,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(trigger.card.name=='huogong'&&trigger.player.countCards('h',function(card){ var list=[]; for(var i of player.getCards('h')) list.push(get.suit(i)); - return !list.contains(get.suit(card)); + return !list.includes(get.suit(card)); })) hit=false; var key; switch (trigger.card.name){ @@ -9156,7 +9156,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.type(trigger.card)=='trick') key.push('wuxie'); key.push('caochuan'); var bool1=((get.recoverEffect(target,player,player)>0)?1:-1); - var bool2=(((att>0&&!hit)||(target.countCards('hs',{name:key})&&!trigger.getParent().directHit.contains(target)))?1:-1); + var bool2=(((att>0&&!hit)||(target.countCards('hs',{name:key})&&!trigger.getParent().directHit.includes(target)))?1:-1); if(att<=0&&target.hp-damageNum>0) return false; return bool1=bool2&&att!=0; }); @@ -9198,7 +9198,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(trigger.card.name=='huogong'&&trigger.player.countCards('h',function(card){ var list=[]; for(var i of player.getCards('h')) list.push(get.suit(i)); - return !list.contains(get.suit(card)); + return !list.includes(get.suit(card)); })) hit=false; var key; switch (trigger.card.name){ @@ -9208,12 +9208,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } key.push('caochuan'); var bool1=((get.recoverEffect(target,player,player)>0)?1:-1); - var bool2=(((att>0&&!hit)||(target.countCards('hs',{name:key})&&!trigger.getParent().directHit.contains(target)))?1:-1); + var bool2=(((att>0&&!hit)||(target.countCards('hs',{name:key})&&!trigger.getParent().directHit.includes(target)))?1:-1); if(att<=0&&target.hp-damageNum>0) return false; return bool1=bool2&&att!=0; }; if(yimie()) return '加伤'; - if(list.contains('拆牌')&&get.effect(target,{name:'guohe_copy2'},player,player)>0&&target.hp-damageNum0&&target.hp-damageNum0){ if(eff2>0){ - if(choices.contains('全部执行')) return '全部执行'; + if(choices.includes('全部执行')) return '全部执行'; else if(eff2>=eff1) return '选项二'; } return '选项一'; @@ -10476,7 +10476,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, enable:['chooseToUse','chooseToRespond'], hiddenCard:function(player,name){ - return player!=_status.currentPhase&&lib.inpile.contains(name)&&player.countCards('h')==0; + return player!=_status.currentPhase&&lib.inpile.includes(name)&&player.countCards('h')==0; }, filter:function(event,player){ if(player==_status.currentPhase||player.countCards('h')>0) return false; @@ -10636,7 +10636,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 2' if(targets.length>1) game.delayx(); if(game.hasPlayer(function(current){ - return targets.contains(current)&¤t.hasHistory('gain',function(evt){ + return targets.includes(current)&¤t.hasHistory('gain',function(evt){ return evt.getParent(2)==event&&get.type(evt.cards[0],current)!='basic'; }) })) player.draw(); @@ -10651,7 +10651,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ popup:false, charlotte:true, filter:function(event,player){ - return !player.getStorage('twkaiji').contains(event.player); + return !player.getStorage('twkaiji').includes(event.player); }, content:function(){ player.markAuto('twkaiji',[trigger.player]); @@ -10742,7 +10742,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(list.length==1){ event._result={control:list[0]}; } - else player.chooseControl(list).set('prompt','选择变更'+get.translation(target)+'一个技能的状态').set('choice',list.contains('twfeifu')?'twfeifu':0).set('ai',()=>_status.event.choice); + else player.chooseControl(list).set('prompt','选择变更'+get.translation(target)+'一个技能的状态').set('choice',list.includes('twfeifu')?'twfeifu':0).set('ai',()=>_status.event.choice); 'step 1' var skill=result.control; target.changeZhuanhuanji(skill); @@ -10817,7 +10817,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseTarget('是否减1点体力上限,并令一名其他角色获得技能【复纂】?',lib.filter.notMe).set('ai',function(target){ var player=_status.event.player; if(player.hasUnknown()&&!target.isZhu) return 0; - if(player.getEnemies().contains(target)) return 0; + if(player.getEnemies().includes(target)) return 0; return get.attitude(player,target); }); 'step 2' @@ -10867,7 +10867,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else event.finish(); 'step 2' var target=trigger.player; - if(target.getCards('h').contains(card)&&get.type(card,target)=='equip'&&target.hasUseTarget(card)) target.chooseUseTarget(card,'nopopup'); + if(target.getCards('h').includes(card)&&get.type(card,target)=='equip'&&target.hasUseTarget(card)) target.chooseUseTarget(card,'nopopup'); }, }, //Powered by @污言噫对 @@ -10980,7 +10980,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audioname:['re_chengpu'], check:function(event,player){ return game.hasPlayer(function(current){ - return !event.targets.contains(current)&&player.canUse(event.card,current)&&get.effect(current,{name:'sha',nature:'fire',cards:event.cards.slice(0)},player,player)>0; + return !event.targets.includes(current)&&player.canUse(event.card,current)&&get.effect(current,{name:'sha',nature:'fire',cards:event.cards.slice(0)},player,player)>0; }); }, content:function(){ @@ -10997,14 +10997,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.card.name!='sha'||!game.hasNature(event.card,'fire')) return false; return game.hasPlayer(function(current){ - return !event.targets.contains(current)&&player.canUse(event.card,current); + return !event.targets.includes(current)&&player.canUse(event.card,current); }); }, direct:true, content:function(){ 'step 0' player.chooseTarget(get.prompt('twlihuo'),'为'+get.translation(trigger.card)+'增加一个目标',function(card,player,target){ - return !_status.event.sourcex.contains(target)&&player.canUse(_status.event.card,target); + return !_status.event.sourcex.includes(target)&&player.canUse(_status.event.card,target); }).set('sourcex',trigger.targets).set('card',trigger.card).set('ai',function(target){ var player=_status.event.player; return get.effect(target,_status.event.card,player,player); @@ -11201,7 +11201,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var card of cards){ for(var i=0;icards.contains(card)).length) return false; + if(!evt||!evt.cards2||!evt.cards2.filter((card)=>cards.includes(card)).length) return false; return (!current.hasSkill('twyujue_effect0'))||(!current.hasSkill('twyujue_effect1')); }) }, @@ -12040,7 +12040,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=game.filterPlayer(function(current){ if(current==player) return false; var evt=trigger.getl(current); - if(!evt||!evt.cards2||!evt.cards2.filter((card)=>cards.contains(card)).length) return false; + if(!evt||!evt.cards2||!evt.cards2.filter((card)=>cards.includes(card)).length) return false; return (!current.hasSkill('twyujue_effect0'))||(!current.hasSkill('twyujue_effect1')); }).sortBySeat(); event.targets=list; @@ -12271,11 +12271,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(list.length==1) event._result={control:list[0]}; else target.chooseControl(list).set('choiceList',['令自己的攻击范围+2','令自己的手牌上限+2','令自己的体力上限+1']).set('ai',function(){ var player=_status.event.player,controls=_status.event.controls; - if(controls.contains('选项一')&&game.hasPlayer(function(current){ + if(controls.includes('选项一')&&game.hasPlayer(function(current){ return (get.realAttitude||get.attitude)(player,current)<0&&get.distance(player,current,'attack')>1; })) return '选项一'; - if(controls.contains('选项二')&&player.needsToDiscard()) return '选项二'; - if(controls.contains('选项三')) return '选项三'; + if(controls.includes('选项二')&&player.needsToDiscard()) return '选项二'; + if(controls.includes('选项三')) return '选项三'; return controls.randomGet(); }); } @@ -12483,12 +12483,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=[],names=[]; for(var i=0;i1?2:0; return (get.suit(card)!=_status.event.suit?9:6)-get.value(card); }).set('num',num); - if(lib.suit.contains(suit)){ + if(lib.suit.includes(suit)){ next.set('prompt2','若弃置的是'+get.suit(suit)+'牌,则改为'+get.translation(player)+'获得之'); next.set('suit',suit); } @@ -13683,7 +13683,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, equipSkill:true, filter:function(event,player){ - if(!event.card||!event.card.name||player.getStorage('gx_chongyingshenfu_effect').contains(event.card.name)) return false; + if(!event.card||!event.card.name||player.getStorage('gx_chongyingshenfu_effect').includes(event.card.name)) return false; if(player.hasSkillTag('unequip2')) return false; if(event.source.hasSkillTag('unequip',false,{ name:event.card.name, @@ -13702,7 +13702,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, equipSkill:true, filter:function(event,player){ - if(!event.card||!event.card.name||!player.storage.gx_chongyingshenfu_effect||!player.getStorage('gx_chongyingshenfu_effect').contains(event.card.name)) return false; + if(!event.card||!event.card.name||!player.storage.gx_chongyingshenfu_effect||!player.getStorage('gx_chongyingshenfu_effect').includes(event.card.name)) return false; if(player.hasSkillTag('unequip2')) return false; if(event.source.hasSkillTag('unequip',false,{ name:event.card.name, @@ -13785,7 +13785,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(!player.storage.twdanfa||!player.storage.twdanfa.length) return false; var suit=get.suit(event.card,false); - if(suit=='none'||player.storage.twdanfa_count&&player.storage.twdanfa_count.contains(suit)) return false; + if(suit=='none'||player.storage.twdanfa_count&&player.storage.twdanfa_count.includes(suit)) return false; for(var i of player.storage.twdanfa){ if(get.suit(i,false)==suit) return true; } @@ -14175,7 +14175,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ enable:'phaseUse', filter:function(event,player){ return player.countCards('e',function(card){ - return !player.getStorage('twqijia_alka').contains(get.subtype(card)); + return !player.getStorage('twqijia_alka').includes(get.subtype(card)); }); }, filterTarget:function(card,player,target){ @@ -14183,7 +14183,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, position:'e', filterCard:function(card,player){ - return !player.getStorage('twqijia_alka').contains(get.subtype(card)); + return !player.getStorage('twqijia_alka').includes(get.subtype(card)); }, content:function(){ 'step 0' @@ -14205,7 +14205,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ globalFrom:function(from,to,distance){ - if(from.storage.twzhuchen&&from.storage.twzhuchen.contains(to)) return -Infinity; + if(from.storage.twzhuchen&&from.storage.twzhuchen.includes(to)) return -Infinity; } }, }, diff --git a/character/xiake.js b/character/xiake.js index b6e8a387d..5b430cc0c 100644 --- a/character/xiake.js +++ b/character/xiake.js @@ -66,7 +66,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{source:'damageEnd'}, frequent:true, filter:function(event,player){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return _status.currentPhase==player&&event.card&&event.card.name=='sha'; }, content:function(){ diff --git a/character/xianding.js b/character/xianding.js index 507e1f6a5..c66d1f949 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -967,7 +967,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var i=0;i=cards.length) break; @@ -1440,7 +1440,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=event.player; var evtx=event.getParent('phaseUse'); var suits=lib.suit.slice(0).reverse(); - suits=suits.filter(suit=>!player.getStorage('dcposuo_suits').contains(suit)&&player.countCards('hs',card=>get.suit(card,player)==suit)); + suits=suits.filter(suit=>!player.getStorage('dcposuo_suits').includes(suit)&&player.countCards('hs',card=>get.suit(card,player)==suit)); if(!suits.length||player.getHistory('sourceDamage',evt=>{ return evt.player!=player&&evt.getParent('phaseUse')==evtx; }).length) event.set('dcposuo_cards',undefined); @@ -1710,7 +1710,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filterTarget:function(card,player,target){ var players=_status.event.dcpandi; if(!players||!players.length) return false; - return players.contains(target); + return players.includes(target); }, content:function(){ if(target.isIn()){ @@ -2056,7 +2056,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player==target) return false; var next=player.getNext(),prev=player.getPrevious(); var selected=ui.selected.targets; - if(!selected.contains(next)&&!selected.contains(prev)) return (target==next||target==prev); + if(!selected.includes(next)&&!selected.includes(prev)) return (target==next||target==prev); for(var i of selected){ if(i.getNext()==target||i.getPrevious()==target) return true; } @@ -2229,7 +2229,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var name of lib.inpile){ var type=get.type(name); if(type!='trick') continue; - if(player.getStorage('dcshiji_used').contains(name)) continue; + if(player.getStorage('dcshiji_used').includes(name)) continue; var card={ name:name, storage:{dcshiji:true}, @@ -2322,7 +2322,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!player.countCards('he')) event.goto(5); else player.chooseCard('四论:选择一张牌('+(event.count+1)+'/'+'4)','然后选择将此牌置于场上或牌堆的两端',true,'he').set('ai',card=>{ var player=_status.event.player; - if(['equip','delay'].contains(get.type(card))&&player.hasValueTarget(card)) return 50; + if(['equip','delay'].includes(get.type(card))&&player.hasValueTarget(card)) return 50; return 50-get.value(card); }); 'step 2' @@ -2340,7 +2340,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseControl(choices).set('prompt','请选择要将'+get.translation(card)+'置于的位置').set('ai',()=>{ return _status.event.choice; }).set('choice',function(){ - if(['equip','delay'].contains(get.type(card))&&player.hasValueTarget(card)&&choices.contains('场上')) return '场上'; + if(['equip','delay'].includes(get.type(card))&&player.hasValueTarget(card)&&choices.includes('场上')) return '场上'; var val=get.value(card); var next=_status.currentPhase; if(trigger.name=='damage') next=next.getNext(); @@ -2352,7 +2352,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(result.control=='场上'){ var type=get.type(card); player.chooseTarget('将'+get.translation(card)+'置于一名角色的场上',true,(card,player,target)=>{ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('targets',game.filterPlayer(current=>{ if(type=='equip') return current.canEquip(card); if(type=='delay') return current.canAddJudge(card); @@ -2527,7 +2527,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return target!=player&&target.isIn(); }); player.chooseTarget(get.prompt('dcdyqingshi'),'对一名不为你的目标角色造成1点伤害',(card,player,target)=>{ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('ai',target=>{ var player=_status.event.player; return get.damageEffect(target,player,player); @@ -2566,9 +2566,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, filter:function(event,player){ if(event.targets.length!=1) return false; - if(!['basic','trick'].contains(get.type(event.card,false))) return false; + if(!['basic','trick'].includes(get.type(event.card,false))) return false; if(event.getParent(2).name=='dcchanjuan') return false; - return !player.getStorage('dcchanjuan').contains(event.card.name); + return !player.getStorage('dcchanjuan').includes(event.card.name); }, direct:true, content:function(){ @@ -2881,7 +2881,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.removeGaintag('dczhaowen_tag'); }, hiddenCard:function(player,name){ - return get.type(name)=='trick'&&!player.getStorage('dczhaowen_viewed').contains(name)&&player.countCards('h',card=>{ + return get.type(name)=='trick'&&!player.getStorage('dczhaowen_viewed').includes(name)&&player.countCards('h',card=>{ return get.color(card)=='black'&&card.hasGaintag('dczhaowen_tag'); })>0; }, @@ -2891,7 +2891,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ })) return false; var storage=player.getStorage('dczhaowen_viewed'); for(var i of lib.inpile){ - if(!storage.contains(i)&&get.type(i)=='trick'&&event.filterCard({name:i},player,event)) return true; + if(!storage.includes(i)&&get.type(i)=='trick'&&event.filterCard({name:i},player,event)) return true; } return false; }, @@ -2903,7 +2903,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var storage=player.getStorage('dczhaowen_viewed'); var list=[]; for(var i of lib.inpile){ - if(!storage.contains(i)&&get.type(i)=='trick'&&event.filterCard({name:i},player,event)){ + if(!storage.includes(i)&&get.type(i)=='trick'&&event.filterCard({name:i},player,event)){ list.push(['锦囊','',i]); } } @@ -2964,7 +2964,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player.hasHistory('lose',evt=>{ if(event!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('dczhaowen_tag')){ + if(evt.gaintag_map[i].includes('dczhaowen_tag')){ if(cards.some(card=>card.cardid==i)) return true; } } @@ -2976,7 +2976,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.getHistory('lose',evt=>{ if(trigger!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('dczhaowen_tag')){ + if(evt.gaintag_map[i].includes('dczhaowen_tag')){ if(cards.some(card=>card.cardid==i)) num++; } } @@ -3163,7 +3163,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'useCard'}, filter:function(event,player){ if(!player.isPhaseUsing()||player.hasSkill('dcqingshi_blocker')) return false; - if(player.getStorage('dcqingshi_clear').contains(event.card.name)) return false; + if(player.getStorage('dcqingshi_clear').includes(event.card.name)) return false; if(player.hasCard(card=>{ return get.name(card)==event.card.name; })) return true; @@ -3231,7 +3231,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content1:function(){ 'step 0' player.chooseTarget('令'+get.translation(card)+'对其中一个目标造成的伤害+1',true,(card,player,target)=>{ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('ai',target=>{ return 2-get.attitude(_status.event.player,target); }).set('targets',event.getParent().getTrigger().targets); @@ -3349,7 +3349,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player.hasHistory('lose',function(evt){ if(evt.getParent()!=event) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('dczhizhe')){ + if(evt.gaintag_map[i].includes('dczhizhe')){ if(event.cards.some(card=>{ return get.position(card,true)=='o'&&card.cardid==i; })) return true; @@ -3364,7 +3364,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.getHistory('lose',function(evt){ if(evt.getParent()!=trigger) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('dczhizhe')){ + if(evt.gaintag_map[i].includes('dczhizhe')){ var cardsx=trigger.cards.filter(card=>{ return get.position(card,true)=='o'&&card.cardid==i; }); @@ -3427,7 +3427,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ position:'he', filterCard:function(card,player){ var suit=get.suit(card); - if(!lib.suit.contains(suit)) return false; + if(!lib.suit.includes(suit)) return false; if(ui.selected.cards.length){ if(ui.selected.cards.some(i=>{ return get.suit(i)==suit; @@ -3448,7 +3448,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.countCards('h',card=>{ if(suits.length>=4) return; var suit=get.suit(card); - if(!lib.suit.contains(suit)) return; + if(!lib.suit.includes(suit)) return; suits.add(suit); }); if(suits.length>=cards.length) event.finish(); @@ -3466,7 +3466,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var suits2=[],cards=player.getCards('h'); for(var card of cards){ var suitx=get.suit(card); - if(suits2.contains(suitx)) continue; + if(suits2.includes(suitx)) continue; if(!player.hasCard(cardx=>cardx!=card&&get.suit(cardx)==suitx)&&get.value(card)<7.5||get.value(card)<6) suits2.add(suitx); } if(suits2.length<=suits.length) return 0; @@ -3602,7 +3602,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var i=history.length-1;i>=0;i--){ var evt=history[i]; var cards2=evt.cards.filter(function(card){ - return cards.contains(card); + return cards.includes(card); }); if(cards2.length){ if(!lib.skill.dcjijiao.isUse(evt,player)){ @@ -3661,7 +3661,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ popup:false, trigger:{global:'phaseAfter'}, content:function(){ - if(player.awakenedSkills.contains('dcjijiao')){ + if(player.awakenedSkills.includes('dcjijiao')){ player.restoreSkill('dcjijiao'); game.log(player,'重置了','#g【继椒】'); //player.removeSkill('dcjijiao_machi'); @@ -3680,7 +3680,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player.hasHistory('lose',function(evt){ if(evt.getParent()!=event) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('dcjijiao')) return true; + if(evt.gaintag_map[i].includes('dcjijiao')) return true; } return false; }); @@ -3724,7 +3724,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } 'step 3' if(player.hasHistory('useCard',evt=>{ - return evt.getParent(2).name=='dcjianzheng'&&evt.targets.contains(target); + return evt.getParent(2).name=='dcjianzheng'&&evt.targets.includes(target); })){ player.link(true); target.link(true); @@ -3928,7 +3928,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'damageSource'}, filter:function(event,player){ return event.card&&event.card.storage&&event.card.storage.dcctjiuxian&&event.player.isIn()&& - event.getParent(2).targets.contains(event.player)&&game.hasPlayer(current=>{ + event.getParent(2).targets.includes(event.player)&&game.hasPlayer(current=>{ return current!=player&&event.player.inRange(current)&¤t.isDamaged(); }); }, @@ -4263,7 +4263,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } } delete player._dcdanyi_aiChecking; - if((targets||[]).contains(target)) return [1,1]; + if((targets||[]).includes(target)) return [1,1]; } }, }, @@ -4310,7 +4310,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ intro:{content:'对$使用牌无次数限制'}, mod:{ cardUsableTarget:function(card,player,target){ - if(player.getStorage('dcwencan_paoxiao').contains(target)) return true; + if(player.getStorage('dcwencan_paoxiao').includes(target)) return true; }, } } @@ -4444,7 +4444,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ prompt:get.prompt('dcliying'), prompt2:'选择本次获得的任意张牌交给一名其他角色,然后摸一张牌', filterTarget:lib.filter.notMe, - filterCard:card=>_status.event.cards.contains(card), + filterCard:card=>_status.event.cards.includes(card), cards:cards, selectCard:[1,cards.length], ai1:function(card){ @@ -4507,7 +4507,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return _status.event.choice; }).set('prompt',get.prompt('dcyuandi',trigger.player)).set('choice',function(){ if(get.attitude(player,target)<0){ - if(choices.contains('选项一')) return '选项一'; + if(choices.includes('选项一')) return '选项一'; return 'cancel2'; } return '选项二'; @@ -5028,7 +5028,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ targets.remove(event.current); if(!targets.length) event._result={bool:false}; else event.current.chooseTarget('间计:是否视为对除'+get.translation(player)+'外的弃置过牌的一名角色使用一张杀?',(card,player,target)=>{ - return _status.event.targets.contains(target)&&player.canUse('sha',target,false); + return _status.event.targets.includes(target)&&player.canUse('sha',target,false); }).set('targets',event.targets).set('ai',target=>{ var player=_status.event.player; return get.effect(target,{name:'sha'},player,player); @@ -5125,7 +5125,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } 'step 2' player.chooseTarget('远谟:获得任意名本次进入你攻击范围的角色的一张牌',[1,targets.length],(card,player,target)=>{ - return _status.event.getParent().targets.contains(target)&&target.countGainableCards(player,'he')>0; + return _status.event.getParent().targets.includes(target)&&target.countGainableCards(player,'he')>0; }).set('ai',target=>{ var player=_status.event.player; return get.effect(target,{name:'shunshou_copy2'},player,player); @@ -5225,7 +5225,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } var card=event.cards[0]; if(get.color(card,player)=='red'&&player.isPhaseUsing()&&player.countCards('hs',card=>{ - return get.color(card)=='red'&&player.hasValueTarget(card)&&['basic','trick'].contains(get.type(card)); + return get.color(card)=='red'&&player.hasValueTarget(card)&&['basic','trick'].includes(get.type(card)); })>0) return false; if(get.color(card,player)=='black') return false; return true; @@ -5353,7 +5353,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return get.subtype(card)=='equip1'&&targets[0].hasUseTarget(card); }); if(card){ - if(card.name=='qinggang'&&!lib.inpile.contains('qibaodao')){ + if(card.name=='qinggang'&&!lib.inpile.includes('qibaodao')){ card.remove(); card=game.createCard('qibaodao',card.suit,card.number); } @@ -5377,7 +5377,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(card.length&&result.targets.filter(target=>target.isIn()).length>0){ event.card=card; targets[0].chooseTarget(true,'将'+get.translation(card)+'交给一名目标角色',(card,player,target)=>{ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('ai',function(target){ var card=_status.event.getParent().card[0]; return (target.hasSkillTag('nogain')?0:get.attitude(_status.event.player,target))*Math.max(0.1,target.getUseValue(card)); @@ -5557,7 +5557,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var history=current.actionHistory; if(history.length<2) return false; var list=history[history.length-2].useCard.map(evt=>evt.card.name); - if(list.contains(event.card.name)) return true; + if(list.includes(event.card.name)) return true; return false; }); }, @@ -5574,7 +5574,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var history=current.actionHistory; if(history.length<2) return false; var list=history[history.length-2].useCard.map(evt=>evt.card.name); - if(list.contains(trigger.card.name)) return true; + if(list.includes(trigger.card.name)) return true; return false; }); if(!player.hasSkill('dczhanmeng_choice0')&&!used) list.push('选项一'); @@ -5589,8 +5589,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var choices=_status.event.controls.slice().remove('cancel2'); var player=_status.event.player,evt=_status.event.getTrigger(); if(!game.hasPlayer(current=>get.attitude(player,current)<0)) choices.remove('选项三'); - else if(choices.contains('选项三')) return '选项三'; - if(choices.contains('选项二')){ + else if(choices.includes('选项三')) return '选项三'; + if(choices.includes('选项二')){ if(evt.card.name=='sha') return '选项二'; if(get.type(evt.card,null,false)=='equip') choices.remove('选项二'); } @@ -5712,7 +5712,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' target.chooseToDiscard('he').set('prompt',false).set('filterCard',card=>{ var names=_status.event.getParent().cards.map(i=>i.name); - return names.contains(get.name(card)); + return names.includes(get.name(card)); }).set('ai',card=>{ var target=_status.event.player,player=_status.event.getParent().player; var att=get.attitude(target,player),val=get.value(card); @@ -5745,7 +5745,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else{ var cards=cards.randomSort(),cards2=[]; for(var card of cards){ - if(!cards2.map(i=>i.name).contains(card.name)) cards2.push(card); + if(!cards2.map(i=>i.name).includes(card.name)) cards2.push(card); } if(cards2.length) player.gain(cards2,'gain2'); player.addTempSkill('dcjingzao_ban'); @@ -5770,7 +5770,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ return event.player!=player&&game.hasPlayer2(current=>{ return current.hasHistory('useCard',evt=>{ - return evt.card.name==event.card.name&&evt!=event.getParent()&&evt.targets&&evt.targets.contains(player); + return evt.card.name==event.card.name&&evt!=event.getParent()&&evt.targets&&evt.targets.includes(player); }); }); }, @@ -5782,7 +5782,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ target:(card,player,target)=>{ if(player===target) return; if(game.hasPlayer2(current=>{ - return current.hasHistory('useCard',evt=>evt.card.name==card.name&&evt.targets&&evt.targets.contains(player)); + return current.hasHistory('useCard',evt=>evt.card.name==card.name&&evt.targets&&evt.targets.includes(player)); })) return 'zeroplayertarget'; } } @@ -5822,7 +5822,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget('连枝:请选择一名其他角色',lib.translate.dclianzhi_info,true,(card,player,target)=>{ - return target!=player&&!player.getStorage('dclianzhi').contains(target); + return target!=player&&!player.getStorage('dclianzhi').includes(target); }).set('ai',target=>{ var att=get.attitude(_status.event.player,target); if(att>0) return att+1; @@ -5841,7 +5841,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:'dclianzhi', trigger:{global:'dieAfter'}, filter:function(event,player){ - return player.getStorage('dclianzhi').contains(event.player); + return player.getStorage('dclianzhi').includes(event.player); }, direct:true, content:function(){ @@ -5872,8 +5872,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.name!='useCard') return true; if(get.color(event.card)!='black') return false; - if(event.player==player) return !event.targets||!event.targets.contains(player); - return event.targets&&event.targets.contains(player); + if(event.player==player) return !event.targets||!event.targets.includes(player); + return event.targets&&event.targets.includes(player); }, content:function(){ player.addMark('dclingfang',1); @@ -5897,13 +5897,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!storage.length) return false; var storage2=player.getStorage('dcfengying_used') return storage.some(name=>{ - return !storage2.contains(name)&&event.filterCard({name:name},player,event); + return !storage2.includes(name)&&event.filterCard({name:name},player,event); }); }, hiddenCard:function(player,name){ var list=player.getStorage('dcfengying'); - if(player.getStorage('dcfengying_used').contains(name)) return false; - return list.contains(name)&&player.hasCard((card)=>(get.number(card)<=player.countMark('dclingfang')),'hs'); + if(player.getStorage('dcfengying_used').includes(name)) return false; + return list.includes(name)&&player.hasCard((card)=>(get.number(card)<=player.countMark('dclingfang')),'hs'); }, chooseButton:{ dialog:function(event,player){ @@ -5916,7 +5916,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, filter:function(button,player){ var card={name:button.link[2],storage:{dcfengying:true}}; - if(player.getStorage('dcfengying_used').contains(card.name)) return false; + if(player.getStorage('dcfengying_used').includes(card.name)) return false; return _status.event.getParent().filterCard(card,player,_status.event.getParent()); }, check:function(button){ @@ -5987,7 +5987,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var i=0;i{ @@ -6200,7 +6200,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:'dcxiangmian', trigger:{global:'phaseJieshuBegin'}, filter:function(event,player){ - return !player.getStorage('olddcxiangmian').contains(event.player)&&player!=event.player; + return !player.getStorage('olddcxiangmian').includes(event.player)&&player!=event.player; }, logTarget:'player', check:function(event,player){ @@ -6247,7 +6247,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, filter:function(event,player){ if(!player.getStorage('olddcxiangmian_countdown').length) return false; - return (player.getStorage('olddcxiangmian_countdown').filter((_,i)=>i%3==1)).contains(get.suit(event.card,player)); + return (player.getStorage('olddcxiangmian_countdown').filter((_,i)=>i%3==1)).includes(get.suit(event.card,player)); }, content:function(){ 'step 0' @@ -6297,7 +6297,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return game.hasPlayer(current=>lib.skill.dcxiangmian.filterTarget(null,player,current)); }, filterTarget:function(card,player,target){ - return !player.getStorage('dcxiangmian').contains(target)&&player!=target; + return !player.getStorage('dcxiangmian').includes(target)&&player!=target; }, content:function(){ 'step 0' @@ -6344,7 +6344,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, filter:function(event,player){ if(!player.getStorage('dcxiangmian_countdown').length) return false; - //return (player.getStorage('dcxiangmian_countdown').filter((_,i)=>i%3==1)).contains(get.suit(event.card,player)); + //return (player.getStorage('dcxiangmian_countdown').filter((_,i)=>i%3==1)).includes(get.suit(event.card,player)); return true; }, content:function(){ @@ -6399,7 +6399,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var card=trigger.cards[0],cards=[],func=['type2','suit','number']; for(var fn of func){ var cardx=get.cardPile2(cardxx=>{ - if(get[fn](card,player)==get[fn](cardxx,player)&&!cards.contains(cardxx)){ + if(get[fn](card,player)==get[fn](cardxx,player)&&!cards.includes(cardxx)){ return true; } }); @@ -6444,11 +6444,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var controls=_status.event.controls,target=_status.event.getTrigger().player; var str=target.getSkills(null,false,false).map(i=>get.skillInfoTranslation(i)).join(''); var choices=[]; - if(controls.contains('dctongguan_wuyong')&&/你对\S{1,15}造成\S{1,10}伤害/.test(str)) choices.push('dctongguan_wuyong'); - if(controls.contains('dctongguan_gangying')&&/回复\S{1,5}体力/.test(str)&&_status.event.player.getFriends().length) choices.push('dctongguan_gangying'); - if(controls.contains('dctongguan_duomou')&&/你(可|可以)?摸\S{1,3}张牌/.test(str)) choices.push('dctongguan_duomou'); - if(controls.contains('dctongguan_guojue')&&/(当【过河拆桥】使用|((弃置|获得)\S{1,5}其他角色\S{1,7}牌|))/.test(str)) choices.push('dctongguan_guojue'); - if(controls.contains('dctongguan_renzhi')&&/交给\S{0,5}其他角色/.test(str)&&_status.event.player.getFriends().length) choices.push('dctongguan_renzhi'); + if(controls.includes('dctongguan_wuyong')&&/你对\S{1,15}造成\S{1,10}伤害/.test(str)) choices.push('dctongguan_wuyong'); + if(controls.includes('dctongguan_gangying')&&/回复\S{1,5}体力/.test(str)&&_status.event.player.getFriends().length) choices.push('dctongguan_gangying'); + if(controls.includes('dctongguan_duomou')&&/你(可|可以)?摸\S{1,3}张牌/.test(str)) choices.push('dctongguan_duomou'); + if(controls.includes('dctongguan_guojue')&&/(当【过河拆桥】使用|((弃置|获得)\S{1,5}其他角色\S{1,7}牌|))/.test(str)) choices.push('dctongguan_guojue'); + if(controls.includes('dctongguan_renzhi')&&/交给\S{0,5}其他角色/.test(str)&&_status.event.player.getFriends().length) choices.push('dctongguan_renzhi'); if(choices.length) return choices.randomGet(); return _status.event.controls.randomGet(); }); @@ -6573,7 +6573,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!cards.length) return false; var cards2=evtx.getl(current).cards2; for(var card of cards2){ - if(cards.contains(card)) return true; + if(cards.includes(card)) return true; } } return false; @@ -6616,7 +6616,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!cards.length) return false; var cards2=evtx.getl(current).cards2; for(var card of cards2){ - if(cards.contains(card)) return true; + if(cards.includes(card)) return true; } } return false; @@ -6959,7 +6959,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(ui.selected.cards.length) base=get.value(ui.selected.cards[0]); var status=player.storage.dcshoutan; var cards=player.getCards('hs',function(card){ - return !ui.selected.cards.contains(card); + return !ui.selected.cards.includes(card); }); for(var card of cards){ var val1=player.getUseValue(card,null,true); @@ -6998,7 +6998,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var i=history.length-1;i>=0;i--){ var evt=history[i]; var cards2=evt.cards.filter(function(card){ - return cards.contains(card); + return cards.includes(card); }); if(cards2.length){ if(lib.skill.dcfuxue.isUse(evt)){ @@ -7190,7 +7190,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ var target=event.target; if(player==target||!target.isIn()) return false; - return player.getStorage('dcfudao_effect').contains(target); + return player.getStorage('dcfudao_effect').includes(target); }, logTarget:'target', content:function(){ @@ -7229,7 +7229,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ var storage1=event.player.getStorage('dcfudao_deadmark'),storage2=player.getStorage('dcfudao_effect'); for(var i of storage1){ - if(storage2.contains(i)) return true; + if(storage2.includes(i)) return true; } return false; }, @@ -7244,7 +7244,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ var storage1=event.player.getStorage('dcfudao_deadmark'),storage2=player.getStorage('dcfudao_effect'); for(var i of storage1){ - if(storage2.contains(i)) return true; + if(storage2.includes(i)) return true; } return false; }, @@ -7324,7 +7324,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=[]; for(var i=0;i{ var list=[1,10,11,12,13]; - if(list.contains(num)) return ['A','X','J','Q','K'][list.indexOf(num)]; + if(list.includes(num)) return ['A','X','J','Q','K'][list.indexOf(num)]; return parseFloat(num); }); return list.reduce((str,num)=>{ @@ -8191,7 +8191,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var td=document.createElement('div'); var color=''; if(list2[0]==list[i]) color=' class="yellowtext"'; - else if(list2.contains(list[i])) color=' class="greentext"'; + else if(list2.includes(list[i])) color=' class="greentext"'; td.innerHTML='['+fulllist[list[i]-1]+']'; td.style.position='absolute'; core.appendChild(td); @@ -8216,10 +8216,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ ignoredHandcard:function(card,player){ - if(!player.getStorage('dcgeyuan').contains(get.number(card))) return true; + if(!player.getStorage('dcgeyuan').includes(get.number(card))) return true; }, cardDiscardable:function(card,player,name){ - if(name=='phaseDiscard'&&!player.getStorage('dcgeyuan').contains(get.number(card))) return false; + if(name=='phaseDiscard'&&!player.getStorage('dcgeyuan').includes(get.number(card))) return false; }, }, }, @@ -8400,20 +8400,20 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=_status.event.player; var hs=player.getCards('h'); var changed=hs.filter(function(card){ - return !moved[1].contains(card); + return !moved[1].includes(card); }); var changed2=moved[1].filter(function(card){ - return !hs.contains(card); + return !hs.includes(card); }); if(changed.length'+choiceList[i]+''); } else if(!lib.skill.caiyi.filterx[event.index][i](target)||(i==3&&!storage.length)){ @@ -8590,7 +8590,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ]; var storage=player.storage.caiyi_info[event.index]; for(var i=0;i<4;i++){ - if(storage.contains(i)){ + if(storage.includes(i)){ choiceList[i]=(''+choiceList[i]+''); } else if(!lib.skill.caiyi.filterx[event.index][i](target)||(i==3&&!storage.length)){ @@ -8766,7 +8766,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ targets.sortBySeat(); player.logSkill('dcpijing',targets); game.countPlayer(function(current){ - if(!targets.contains(current)) current.removeSkill('dczimu'); + if(!targets.includes(current)) current.removeSkill('dczimu'); else current.addSkill('dczimu'); }); game.delayx(); @@ -8873,7 +8873,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else event.finish(); 'step 1' var suit=get.suit(trigger.card); - if(result.bool&&lib.suit.contains(suit)&&player.countCards('h')>1){ + if(result.bool&&lib.suit.includes(suit)&&player.countCards('h')>1){ var bool=false; for(var i of result.cards){ if(get.suit(i,target)==suit){ @@ -8902,7 +8902,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player==target) return false; var next=player.getNext(),prev=player.getPrevious(); var selected=ui.selected.targets; - if(!selected.contains(next)&&!selected.contains(prev)) return (target==next||target==prev); + if(!selected.includes(next)&&!selected.includes(prev)) return (target==next||target==prev); for(var i of selected){ if(i.getNext()==target||i.getPrevious()==target) return true; } @@ -9090,7 +9090,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ['自己获得'], ]) next.set('filterMove',function(from,to,moved){ - if(moved[0].contains(from.link)){ + if(moved[0].includes(from.link)){ if(typeof to=='number'){ if(to==1){ if(moved[1].length>=_status.event.player.getDamagedHp()) return false; @@ -9813,7 +9813,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ lib.skill.pingjian.initList(); } event.hp=1-player.hp; - if(_status.characterlist.contains('xushi')){ + if(_status.characterlist.includes('xushi')){ if(player.name1=='re_sunyi'||player.name2=='re_sunyi') event._result={control:'re_sunyi'}; else if(player.name2!=undefined){ player.chooseControl(player.name1,player.name2).set('prompt','请选择要更换的武将牌'); @@ -10146,17 +10146,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){ result.links.sort(); for(var i of result.links) game.log(player,'选择了','#g【玉陨】','的','#y选项'+get.cnNumber(1+i,true)) event.links=result.links; - if(result.links.contains(0)) player.draw(2); - if(result.links.contains(2)) player.addTempSkill('yuyun_114514'); + if(result.links.includes(0)) player.draw(2); + if(result.links.includes(2)) player.addTempSkill('yuyun_114514'); 'step 4' - if(event.links.contains(1)&&game.hasPlayer(function(current){ + if(event.links.includes(1)&&game.hasPlayer(function(current){ return current!=player; })) player.chooseTarget(lib.filter.notMe,true,'对一名其他角色造成1点伤害').set('ai',function(target){ var player=_status.event.player; return get.damageEffect(target,player,player); }); - else if(event.links.contains(3)) event.goto(6); - else if(event.links.contains(4)) event.goto(8); + else if(event.links.includes(3)) event.goto(6); + else if(event.links.includes(4)) event.goto(8); else event.finish(); 'step 5' if(result.bool){ @@ -10166,11 +10166,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.markAuto('yuyun_sha',[target]); player.addTempSkill('yuyun_sha'); } - if(event.links.contains(3)) event.goto(6); - else if(event.links.contains(4)) event.goto(8); + if(event.links.includes(3)) event.goto(6); + else if(event.links.includes(4)) event.goto(8); else event.finish(); 'step 6' - if(event.links.contains(3)&&game.hasPlayer(function(current){ + if(event.links.includes(3)&&game.hasPlayer(function(current){ return current!=player&¤t.hasCard((card)=>lib.filter.canBeGained(card,current,player),'hej'); })){ player.chooseTarget(true,'获得一名其他角色区域内的一张牌',function(card,player,current){ @@ -10180,7 +10180,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return get.effect(target,{name:'shunshou_copy'},player,player); }); } - else if(event.links.contains(4)) event.goto(8); + else if(event.links.includes(4)) event.goto(8); else event.finish(); 'step 7' if(result.bool){ @@ -10188,9 +10188,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.line(target,'green'); player.gainPlayerCard(target,'hej',true); } - if(!event.links.contains(4)) event.finish(); + if(!event.links.includes(4)) event.finish(); 'step 8' - if(event.links.contains(4)&&game.hasPlayer(function(current){ + if(event.links.includes(4)&&game.hasPlayer(function(current){ return current!=player&¤t.countCards('h')=8) break; @@ -11858,7 +11858,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var i=0;i=8) break; @@ -11885,7 +11885,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' player.judge(function(card){ var type=get.subtype(card); - return ['equip1','equip4','equip3','equip6'].contains(type)?6:-6; + return ['equip1','equip4','equip3','equip6'].includes(type)?6:-6; // switch(type){ // case 'equip':return 4; // case 'trick':return -4; @@ -12011,13 +12011,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!event.cards.filterInD().length) return false; var target=event.target; return player.getHistory('useCard',function(evt){ - return evt.targets&&evt.targets.contains(target); + return evt.targets&&evt.targets.includes(target); }).indexOf(event.getParent())>0; } else{ var source=event.player; return source.getHistory('useCard',function(evt){ - return evt.targets&&evt.targets.contains(player); + return evt.targets&&evt.targets.includes(player); }).indexOf(event.getParent())>0; } }, @@ -12116,7 +12116,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'phaseUseBegin'}, direct:true, filter:function(event,player){ - if(!['identity','guozhan'].contains(get.mode())){ + if(!['identity','guozhan'].includes(get.mode())){ return game.hasPlayer(function(current){ return current.isFriendOf(player)&¤t.countDiscardableCards(player,'hej')>0; }); @@ -12127,7 +12127,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, content:function(){ 'step 0' - if(!['identity','guozhan'].contains(get.mode())){ + if(!['identity','guozhan'].includes(get.mode())){ player.chooseTarget(function(card,player,target){ return target.isFriendOf(player)&&target.countDiscardableCards(player,'hej')>0; },get.prompt2('wlcuorui')).set('ai',function(target){ @@ -12156,7 +12156,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.target=target; player.logSkill('wlcuorui',target); player.discardPlayerCard(target,'hej',true); - if(['identity','guozhan'].contains(get.mode())) event.goto(7); + if(['identity','guozhan'].includes(get.mode())) event.goto(7); } else event.finish(); 'step 2' @@ -12353,7 +12353,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var player=_status.event.player; return get.damageEffect(target,player,player) }); - if(!['identity','guozhan'].contains(get.mode())){ + if(!['identity','guozhan'].includes(get.mode())){ next.set('prompt','选择一名体力值最大的敌方角色,对其造成2点伤害'); next.set('filterTarget',function(card,player,target){ return target.isEnemyOf(player)&&!game.hasPlayer(function(current){ @@ -12379,7 +12379,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ result:{ target:function(player,target){ - if(!['identity','guozhan'].contains(get.mode())) return 1; + if(!['identity','guozhan'].includes(get.mode())) return 1; var target=game.filterPlayer(i=>i!=player).sort((a,b)=>b.hp-a.hp)[0]; return target&&get.damageEffect(target,player,player)>0?1:0; }, @@ -12443,7 +12443,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' game.delay(1); var card=event.list.shift(); - if(player.getCards('h').contains(card)){ + if(player.getCards('h').includes(card)){ player.$give(card,player,false) player.equip(card); } @@ -12471,7 +12471,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' target.equip(cards[0]); 'step 1' - if(cards[0].name.indexOf('pyzhuren_')==0&&!player.getCards('e').contains(cards[0])) player.draw(2); + if(cards[0].name.indexOf('pyzhuren_')==0&&!player.getCards('e').includes(cards[0])) player.draw(2); }, ai:{ order:11, @@ -12563,7 +12563,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ mod:{ cardUsable:function(card,player,num){ var cardx=player.getEquip('pyzhuren_diamond'); - if(card.name=='sha'&&(!cardx||player.hasSkill('pyzhuren_diamond',null,false)||(!_status.pyzhuren_diamond_temp&&!ui.selected.cards.contains(cardx)))){ + if(card.name=='sha'&&(!cardx||player.hasSkill('pyzhuren_diamond',null,false)||(!_status.pyzhuren_diamond_temp&&!ui.selected.cards.includes(cardx)))){ return num+1; } }, @@ -12621,7 +12621,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(num>=2) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return lib.filter.targetEnabled2(event.card,player,current)&&!event.targets.contains(current); + return lib.filter.targetEnabled2(event.card,player,current)&&!event.targets.includes(current); })){ return true; } @@ -12633,7 +12633,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'额外指定一个目标'; player.chooseTarget([1,player.storage.fumian_red],get.prompt(event.name),function(card,player,target){ var player=_status.event.player; - if(_status.event.targets.contains(target)) return false; + if(_status.event.targets.includes(target)) return false; return lib.filter.targetEnabled2(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); @@ -12736,7 +12736,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return event.player!=player&&event.player.isIn()&&_status.currentPhase!=player; }, content:function(){ - player.storage.gxlianhua[player.getFriends().contains(trigger.player)?'red':'black']++; + player.storage.gxlianhua[player.getFriends().includes(trigger.player)?'red':'black']++; player.markSkill('gxlianhua'); }, group:'gxlianhua_harmonia', @@ -12877,7 +12877,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var i=0;i'+clip1+''); - if(list[1].contains(i)) clip2=(''+clip2+''); + if(list[0].includes(i)) clip1=(''+clip1+''); + if(list[1].includes(i)) clip2=(''+clip2+''); str1+=clip1; str2+=clip2; } diff --git a/character/xianjian.js b/character/xianjian.js index 8ab1d87df..c1f6c8dc1 100644 --- a/character/xianjian.js +++ b/character/xianjian.js @@ -222,7 +222,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, popup:false, filter:function(event,player){ - return _status.currentPhase==player&&[2,3,4].contains(player.countUsed()); + return _status.currentPhase==player&&[2,3,4].includes(player.countUsed()); }, content:function(){ var skill; @@ -385,7 +385,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var hs=player.getCards('h'); var suits=player.storage.lingdi||[]; for(var i=0;i0){ @@ -2194,7 +2194,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else{ player.chooseTarget('令一名角色获得1点护甲',function(card,player,target){ - return !event.targets.contains(target); + return !event.targets.includes(target); }).ai=function(target){ var att=get.attitude(player,target); if(att>0){ @@ -2218,7 +2218,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else{ player.chooseTarget('令一名角色装备一件随机装备',function(card,player,target){ - return !event.targets.contains(target); + return !event.targets.includes(target); }).ai=function(target){ var att=get.attitude(player,target); if(att>0&&!target.getEquip(5)){ @@ -2250,7 +2250,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else{ player.chooseTarget('令一名角色获得潜行',function(card,player,target){ - return !event.targets.contains(target); + return !event.targets.includes(target); }).ai=function(target){ var att=get.attitude(player,target); if(att>0){ @@ -2556,7 +2556,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{source:'damageEnd'}, forced:true, filter:function(event){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return event.player.isAlive()&&event.card&&event.card.name=='sha'; }, content:function(){ @@ -3020,7 +3020,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } var cards=player.getCards('h'); for(var i=0;i0&&event.player.countCards('he')>0; }, direct:true, @@ -3675,7 +3675,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ targetInRange:function(card,player,target){ - if(card.name=='sha'&&player.storage.zhuyue&&player.storage.zhuyue.contains(target)){ + if(card.name=='sha'&&player.storage.zhuyue&&player.storage.zhuyue.includes(target)){ return true; } }, @@ -3686,7 +3686,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, playerEnabled:function(card,player,target){ - if(card.name=='sha'&&player.storage.zhuyue&&player.storage.zhuyue.length&&!player.storage.zhuyue.contains(target)){ + if(card.name=='sha'&&player.storage.zhuyue&&player.storage.zhuyue.length&&!player.storage.zhuyue.includes(target)){ return false; } } diff --git a/character/xinghuoliaoyuan.js b/character/xinghuoliaoyuan.js index 09ef29831..47ddce3a1 100755 --- a/character/xinghuoliaoyuan.js +++ b/character/xinghuoliaoyuan.js @@ -344,7 +344,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function (event,player){ if(event.card.name=='sha'){ return game.hasPlayer(function(current){ - return current!=player&&player.storage.jixu_sha.contains(current)&&!event.targets.contains(current); + return current!=player&&player.storage.jixu_sha.includes(current)&&!event.targets.includes(current); }); } return false; @@ -355,7 +355,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function (){ player.logSkill("xinfu_jixu"); for(var i=0;i1) return false; if(get.type(event.card)=='equip'&&get.subtype(event.card)!='equip1') return false; - if(event.targets.contains(player)) return true; + if(event.targets.includes(player)) return true; return false; }, callback:function(){ @@ -657,9 +657,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ next.set('filterButton',function(button){ var player=_status.event.player,cards=player.getExpansions('xinfu_jijun'); if(ui.selected.buttons.length){ - if(!cards.contains(button.link)) return false; + if(!cards.includes(button.link)) return false; } - else if(cards.contains(button.link)) return false; + else if(cards.includes(button.link)) return false; var num=0; for(var i=0;i=0); @@ -896,7 +896,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var suit=false; for(var i=0;i1&&['shan','tao'].contains(card.name)) return 0; + if(player.getEquip('zhangba')&&player.countCards('hs')>1&&['shan','tao'].includes(card.name)) return 0; if(card.name=='shan'||card.name=='tao') return num/2; }, }, diff --git a/character/yijiang.js b/character/yijiang.js index 657eaad49..23d44cfbd 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -433,10 +433,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, mod:{ cardEnabled:function(card,player){ - if(player.getStorage('qingbei_effect').contains(get.suit(card))) return false; + if(player.getStorage('qingbei_effect').includes(get.suit(card))) return false; }, cardSavable:function(card,player){ - if(player.getStorage('qingbei_effect').contains(get.suit(card))) return false; + if(player.getStorage('qingbei_effect').includes(get.suit(card))) return false; }, }, } @@ -829,7 +829,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player.hasHistory('lose',evt=>{ if(evt.getParent()!=event) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('cibei_mark')) return true; + if(evt.gaintag_map[i].includes('cibei_mark')) return true; } return false; }); @@ -1120,7 +1120,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info&&!info.singleCard&&!info.notarget) add=true; } if(!add) continue; - if(used.contains(name)) list1.push(name); + if(used.includes(name)) list1.push(name); else list2.push(name); } var getv=function(name,player,arg){ @@ -1175,7 +1175,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info&&!info.singleCard&&!info.notarget) add=true; } if(!add) continue; - if(used.contains(name)) list1.push([type,'',name]); + if(used.includes(name)) list1.push([type,'',name]); else list2.push([type,'',name]); } if(!list1.length&&!list2.length) event.finish(); @@ -1193,11 +1193,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var card={name:button.link[2],storage:{sangu:true}},list=_status.event.list; var player=_status.event.player,target=_status.event.getParent().target; if(get.attitude(player,target)<0){ - if(!list.contains(card.name)) return 0; + if(!list.includes(card.name)) return 0; return -target.getUseValue(card); } else{ - if(player.hp<2&&!list.contains(card.name)) return 0; + if(player.hp<2&&!list.includes(card.name)) return 0; var val=target.getUseValue(card),base=5; val=Math.min(15,val-base); if(card.name=='wuzhong'||card.name=='dongzhuxianji') val+=15; @@ -1216,7 +1216,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ target.markSkill('sangu_effect'); var bool=true; for(var i of names){ - if(!event.used.contains(i)){ + if(!event.used.includes(i)){ bool=false; break; } @@ -1288,7 +1288,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ charlotte:true, onremove:true, filter:function(event,player){ - return event.card&&event.card.storage&&event.card.storage.sangu&&player.getStorage('sangu_prevent').contains(event.player); + return event.card&&event.card.storage&&event.card.storage.sangu&&player.getStorage('sangu_prevent').includes(event.player); }, content:function(){ trigger.cancel(); @@ -1361,7 +1361,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player.hasHistory('lose',function(evt){ if(evt.getParent()!=event) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('kousheng')) return true; + if(evt.gaintag_map[i].includes('kousheng')) return true; } return false; }); @@ -1550,7 +1550,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ direct:true, filter:function(event,player){ var list=lib.skill.lkbushi.getBushi(player); - return list[2]==get.suit(event.card)&&!event.excluded.contains(player)&&player.countCards('he')>0; + return list[2]==get.suit(event.card)&&!event.excluded.includes(player)&&player.countCards('he')>0; }, content:function(){ 'step 0' @@ -1802,7 +1802,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.getParent().name!='useCard'||player!=_status.currentPhase) return false; var list=player.getStorage('rejingce2'); for(var i of event.cards){ - if(!list.contains(get.suit(i,player))) return true; + if(!list.includes(get.suit(i,player))) return true; } return false; }, @@ -2065,7 +2065,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ direct:true, filter:function(event,player,name){ return ((name=='phaseJieshuBegin'&&event.player!=player&&player.countCards('he')>=event.player.countCards('h'))|| - (event.targets&&event.targets.contains(player)&&['basic','trick'].contains(get.type(event.card,'trick')))) + (event.targets&&event.targets.includes(player)&&['basic','trick'].includes(get.type(event.card,'trick')))) &&!player.hasSkill('xindanshou_as'); }, content:function(){ @@ -2085,7 +2085,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.countPlayer2(function(current){ var history=current.getHistory('useCard'); for(var j=0;j0&&player.getUseValue(card,null,true)>0; + return ['basic','trick'].includes(get.type(card,'trick'))&&player.canUse(card,player,null,true)&&get.effect(player,card,player)>0&&player.getUseValue(card,null,true)>0; })) return false; return true; } @@ -2131,12 +2131,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ threaten:0.6, effect:{ target:function(card,player,target,current){ - if(typeof card!='object'||target.hasSkill('xindanshou_as')||!['basic','trick'].contains(get.type(card,'trick'))) return; + if(typeof card!='object'||target.hasSkill('xindanshou_as')||!['basic','trick'].includes(get.type(card,'trick'))) return; var num=0; game.countPlayer2(function(current){ var history=current.getHistory('useCard'); for(var j=0;j0) return [1.1,num]; @@ -2159,7 +2159,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, wuxieRespondable:function(card,player,target,current){ - if(player!=current&&player.storage.xinbenxi_directHit.contains(card)){ + if(player!=current&&player.storage.xinbenxi_directHit.includes(card)){ return false; } }, @@ -2180,7 +2180,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return lib.filter.targetEnabled2(event.card,player,current)&&!event.targets.contains(current); + return lib.filter.targetEnabled2(event.card,player,current)&&!event.targets.includes(current); })){ return true; } @@ -2218,7 +2218,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ switch(button.link){ case 0:{ if(game.hasPlayer(function(current){ - return lib.filter.targetEnabled2(event.card,player,current)&&!event.targets.contains(current)&&get.effect(current,event.card,player,player)>0; + return lib.filter.targetEnabled2(event.card,player,current)&&!event.targets.includes(current)&&get.effect(current,event.card,player,player)>0; })) return 1.6+Math.random(); return 0; } @@ -2253,7 +2253,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ function(trigger,player,event){ player.chooseTarget('请选择'+get.translation(trigger.card)+'的额外目标',true,function(card,player,target){ var player=_status.event.player; - if(_status.event.targets.contains(target)) return false; + if(_status.event.targets.includes(target)) return false; return lib.filter.targetEnabled2(_status.event.card,player,target); }).set('targets',trigger.targets).set('card',trigger.card).set('ai',function(target){ var trigger=_status.event.getTrigger(); @@ -2277,7 +2277,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.log(player,'选择了','#g【奔袭】','的','#y选项'+get.cnNumber(result.links[i]+1,true)); map[result.links[i]](trigger,player,event); } - if(!result.links.contains(0)) event.finish(); + if(!result.links.includes(0)) event.finish(); "step 2" if(result.targets){ player.line(result.targets); @@ -2290,7 +2290,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ directHit_ai:true, skillTagFilter:function(player,tag,arg){ if(tag=='unequip'){ - if(arg&&player.storage.xinbenxi_unequip.contains(arg.card)) return true; + if(arg&&player.storage.xinbenxi_unequip.includes(arg.card)) return true; return false; } if(_status.currentPhase!=player||game.hasPlayer(function(current){ @@ -2310,7 +2310,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, forced:true, filter:function(event,player){ - return event.card&&player.storage.xinbenxi_damage.contains(event.card); + return event.card&&player.storage.xinbenxi_damage.includes(event.card); }, content:function(){player.draw()}, }, @@ -2351,7 +2351,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return game.hasPlayer(function(target){ return ['摸牌','弃牌','制衡'].some(function(control){ var storage=player.getStorage('xinyaoming_kanon'); - if(storage.contains(control)) return false; + if(storage.includes(control)) return false; if(control=='摸牌'&&target!=player) return true; if(control=='弃牌'&&target!=player&&target.countCards('h')) return true; if(control=='制衡') return true; @@ -2366,7 +2366,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ game.countPlayer(function(target){ var list=['摸牌','弃牌','制衡'].filter(function(control){ var storage=player.getStorage('xinyaoming_kanon'); - if(storage.contains(control)) return false; + if(storage.includes(control)) return false; if(control=='摸牌'&&target!=player) return true; if(control=='弃牌'&&target!=player&&target.countCards('h')) return true; if(control=='制衡') return true; @@ -2381,15 +2381,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){ else if(event.isOnline()) player.send(func); player.chooseTarget(get.prompt2('xinyaoming'),function(card,player,target){ var storage=player.getStorage('xinyaoming_kanon'); - if(!storage.contains('制衡')) return true; + if(!storage.includes('制衡')) return true; if(target==player) return false; - return !storage.contains('摸牌')||target.countCards('h'); + return !storage.includes('摸牌')||target.countCards('h'); }).set('ai',function(target){ var player=_status.event.player; var storage=player.getStorage('xinyaoming_kanon'); - if(get.attitude(player,target)>0&&!storage.contains('摸牌')&&target!=player) return get.effect(target,{name:'draw'},player,player); - if(get.attitude(player,target)<0&&!storage.contains('弃牌')&&target!=player&&target.countCards('h')) return get.effect(target,{name:'guohe_copy2'},player,player); - if(get.attitude(player,target)>0&&!storage.contains('制衡')) return get.effect(target,{name:'kaihua'},player,player); + if(get.attitude(player,target)>0&&!storage.includes('摸牌')&&target!=player) return get.effect(target,{name:'draw'},player,player); + if(get.attitude(player,target)<0&&!storage.includes('弃牌')&&target!=player&&target.countCards('h')) return get.effect(target,{name:'guohe_copy2'},player,player); + if(get.attitude(player,target)>0&&!storage.includes('制衡')) return get.effect(target,{name:'kaihua'},player,player); return 0; }); 'step 1' @@ -2399,7 +2399,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.logSkill('xinyaoming',target); var controls=['摸牌','弃牌','制衡'].filter(function(control){ var storage=player.getStorage('xinyaoming_kanon'); - if(storage.contains(control)) return false; + if(storage.includes(control)) return false; if(control=='摸牌'&&target!=player) return true; if(control=='弃牌'&&target!=player&&target.countCards('h')) return true; if(control=='制衡') return true; @@ -2415,7 +2415,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ]; var list=['摸牌','弃牌','制衡']; for(var i=0;i<3;i++){ - if(!controls.contains(list[i])){ + if(!controls.includes(list[i])){ choiceList[i]=''+choiceList[i]+''; } } @@ -2558,7 +2558,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ types.add(get.type(cards[i],'trick',player)); } target.chooseToDiscard(function(card){ - return !_status.event.types.contains(get.type(card,'trick')); + return !_status.event.types.includes(get.type(card,'trick')); }).set('ai',function(card){ if(_status.event.player.isTurnedOver()) return -1; return 8-get.value(card); @@ -2654,7 +2654,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, audio:'zongzuo', filter:function(event,player){ - if(!lib.group.contains(event.player.group)) return false; + if(!lib.group.includes(event.player.group)) return false; if(game.hasPlayer(function(current){ return current.group==event.player.group; })){ @@ -2914,11 +2914,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 3' var card=event.cards2.shift(); var bool=false; - if(event.suits.contains(get.suit(card))){ + if(event.suits.includes(get.suit(card))){ bool=true; player.draw(); } - if(event.nums.contains(get.number(card))){ + if(event.nums.includes(get.number(card))){ bool=true; target.damage('nocard'); } @@ -2958,7 +2958,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var number=game.countPlayer(function(target){ if(player==target) return false; var pe=player.countCards('e',function(card){ - return card!=cardx&&ui.selected.cards.contains(card)==false; + return card!=cardx&&ui.selected.cards.includes(card)==false; }); var te=target.countCards('e'); if(pe>te&&target.isDamaged()&&get.attitude(player,target)>2) return true; @@ -2971,7 +2971,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, targetprompt:function (target){ var pe=_status.event.player.countCards('e',function(card){ - return ui.selected.cards.contains(card)==false; + return ui.selected.cards.includes(card)==false; }); var te=target.countCards('e'); if(pe>te) return "回复体力"; @@ -2991,7 +2991,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ result:{ target:function (player,target){ var pe=player.countCards('e',function(card){ - return ui.selected.cards.contains(card)==false; + return ui.selected.cards.includes(card)==false; }); var te=target.countCards('e'); if(pe>te&&target.isDamaged()) return 2; @@ -3075,7 +3075,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var number=game.countPlayer(function(target){ if(player==target) return false; var pe=player.countCards('e',function(card){ - return card!=cardx&&ui.selected.cards.contains(card)==false; + return card!=cardx&&ui.selected.cards.includes(card)==false; }); var te=target.countCards('e'); if(pe>te&&target.isDamaged()&&get.attitude(player,target)>2) return true; @@ -3088,11 +3088,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function (event,player){ if(!player.storage.new_canyun) player.storage.new_canyun=[]; return game.hasPlayer(function(current){ - return current!=player&&!player.storage.new_canyun.contains(current); + return current!=player&&!player.storage.new_canyun.includes(current); }); }, filterTarget:function (card,player,target){ - return target!=player&&!player.storage.new_canyun.contains(target); + return target!=player&&!player.storage.new_canyun.includes(target); }, selectTarget:function (){ return ui.selected.cards.length; @@ -3104,7 +3104,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, targetprompt:function (target){ var pe=_status.event.player.countCards('e',function(card){ - return ui.selected.cards.contains(card)==false; + return ui.selected.cards.includes(card)==false; }); var te=target.countCards('e'); if(pe>te) return "回复体力"; @@ -3414,14 +3414,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filterTarget:function(card,player,target){ if(player==target) return false; if(player.storage.pindi_target&& - player.storage.pindi_target.contains(target)){ + player.storage.pindi_target.includes(target)){ return false; } return true; }, filterCard:function(card,player){ if(player.storage.pindi_type&& - player.storage.pindi_type.contains(get.type2(card))){ + player.storage.pindi_type.includes(get.type2(card))){ return false; } return true; @@ -3711,7 +3711,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ card:arg.card }))) return true; return player.countCards('h',function(card){ - return card!=arg.card&&(!arg.card.cards||!arg.card.cards.contains(card))&&get.value(card)<=4&&(get.number(card)>=(11+arg.target.countCards('h')/2)||get.suit(card,player)=='heart'); + return card!=arg.card&&(!arg.card.cards||!arg.card.cards.includes(card))&&get.value(card)<=4&&(get.number(card)>=(11+arg.target.countCards('h')/2)||get.suit(card,player)=='heart'); })>0; }(); delete player._zhuandui_temp; @@ -3746,10 +3746,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'compare',target:'compare'}, filter:function(event,player){ if(event.player==player){ - return !event.iwhile&&get.suit(event.card1)=='heart';//&&event.card1.vanishtag.contains('tianbian'); + return !event.iwhile&&get.suit(event.card1)=='heart';//&&event.card1.vanishtag.includes('tianbian'); } else{ - return get.suit(event.card2)=='heart';//&&event.card2.vanishtag.contains('tianbian'); + return get.suit(event.card2)=='heart';//&&event.card2.vanishtag.includes('tianbian'); } }, silent:true, @@ -3770,7 +3770,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:'useCardToPlayer'}, filter:function(event,player){ if(!player.countCards('h')) return false; - return event.player!=player&&event.card.name=='sha'&&!event.targets.contains(player)&& + return event.player!=player&&event.card.name=='sha'&&!event.targets.includes(player)&& event.player.inRange(player); }, direct:true, @@ -4360,7 +4360,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' var list=lib.inpile.filter(function(i){ - if(player.storage.shouxi.contains(i)) return false; + if(player.storage.shouxi.includes(i)) return false; var type=get.type2(i); if(type=='basic'||type=='trick') return true; return false; @@ -4436,7 +4436,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' player.chooseTarget(true,function(card,player,target){ var list=_status.event.list; - return list.contains(target); + return list.includes(target); },'选择一名角色作为分牌起点').set('ai',function(target){ var player=_status.event.player; var att=get.attitude(player,target); @@ -4492,7 +4492,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ next.set('dialogdisplay',true); next.set('cardFilter',event.togain.slice(0)); next.set('filterButton',function(button){ - return _status.event.cardFilter.contains(button.link); + return _status.event.cardFilter.includes(button.link); }) } else{ @@ -4650,7 +4650,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else if(targets.length>0){ player.chooseTarget(true,'选择【问卦】的目标',function(card,player,target){ - return _status.event.list.contains(target); + return _status.event.list.includes(target); }).set('list',targets).set('ai',function(target){ var player=_status.event.player; return get.attitude(player,target); @@ -4681,7 +4681,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ delete _status.noclearcountdown; game.stopCountChoose(); "step 3" - if(event.target.getCards('he').contains(event.card)){ + if(event.target.getCards('he').includes(event.card)){ event.target.chooseControlList('问卦','将'+get.translation(event.card)+'置于牌堆顶','将'+get.translation(event.card)+'置于牌堆底',event.target==player,function(){ if(get.attitude(event.target,player)<0) return 2; return 1; @@ -4896,7 +4896,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return lib.filter.targetEnabled2(event.card,player,current)&&!event.targets.contains(current); + return lib.filter.targetEnabled2(event.card,player,current)&&!event.targets.includes(current); })){ return true; } @@ -4915,7 +4915,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ prompt2+='名'+get.translation(trigger.card)+'的目标' player.chooseTarget([1,player.storage.fumian_red],get.prompt('fumian'),function(card,player,target){ var player=_status.event.player; - if(_status.event.targets.contains(target)) return false; + if(_status.event.targets.includes(target)) return false; return lib.filter.targetEnabled2(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); @@ -4978,8 +4978,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.bool1=false; event.bool2=false; for(var i=0;i0){ return [1,2]; } @@ -6772,7 +6772,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ return player.storage.xinxianzhen&&player.storage.xinxianzhen.isIn()&& (event.card.name=='sha'||get.type(event.card)=='trick')&& - event.targets&&event.targets.length==1&&!event.targets.contains(player.storage.xinxianzhen); + event.targets&&event.targets.length==1&&!event.targets.includes(player.storage.xinxianzhen); }, check:function(event,player){ return get.effect(player.storage.xinxianzhen,event.card,player,player)>0; @@ -6915,14 +6915,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(event.card.name!='sha'||!game.hasNature(event.card,'fire')) return false; return game.hasPlayer(function(current){ - return !event.targets.contains(current)&&player.canUse(event.card,current); + return !event.targets.includes(current)&&player.canUse(event.card,current); }); }, direct:true, content:function(){ 'step 0' player.chooseTarget(get.prompt('lihuo'),'为'+get.translation(trigger.card)+'增加一个目标',function(card,player,target){ - return !_status.event.sourcex.contains(target)&&player.canUse(_status.event.card,target); + return !_status.event.sourcex.includes(target)&&player.canUse(_status.event.card,target); }).set('sourcex',trigger.targets).set('card',trigger.card).set('ai',function(target){ var player=_status.event.player; return get.effect(target,_status.event.card,player,player); @@ -7068,8 +7068,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.type!='discard'||event.getlx===false) return; var evt=event.getl(player); for(var i=0;i0){ + if(!list.includes('jiu')&&event.filterCard({name:'jiu'},player,event)&&get.effect(player,{name:'jiu'})>0){ return 3.1; } return 2.9; @@ -8728,10 +8728,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=lib.skill.huomo.getUsed(player); if(tag=='respondSha'){ if(arg!='use') return false; - if(list.contains('sha')) return false; + if(list.includes('sha')) return false; } else if(tag=='respondShan'){ - if(list.contains('shan')) return false; + if(list.includes('shan')) return false; } } else{ @@ -8882,7 +8882,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!player.storage.taoxi_list||!player.storage.taoxi_list.length) return false; var list=player.storage.taoxi_list[1]; return event.cards&&event.cards.some(card=>{ - return list.contains(card); + return list.includes(card); }) }, content:function(){ @@ -8911,7 +8911,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ aiOrder:function(player,card,num){ var list=player.storage.taoxi_list; if(!list||!list[1]) return; - if(list[1].contains(card)) return num+0.5; + if(list[1].includes(card)) return num+0.5; }, cardEnabled2:function(card){ if(get.itemtype(card)=='card'&&card.hasGaintag('taoxi')&&_status.event.name=='chooseToRespond') return false; @@ -8922,7 +8922,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player_use:function(card,player,target){ var list=player.storage.taoxi_list; if(!list||!list[1]) return; - if(list[1].contains(card)) return [1,1]; + if(list[1].includes(card)) return [1,1]; } } } @@ -8939,7 +8939,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=player.storage.taoxi_list; if(!list||!list[0].length) return false; return game.hasPlayer(function(current){ - if(!list[0].contains(current)) return; + if(!list[0].includes(current)) return; var evt=event.getl(current); if(evt&&evt.hs&&evt.hs.some(card=>{ return list[1].some(i=>i._cardid==card.cardid); @@ -8950,7 +8950,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ var list=player.storage.taoxi_list; var targets=game.filterPlayer(function(current){ - if(!list[0].contains(current)) return; + if(!list[0].includes(current)) return; var evt=trigger.getl(current); if(evt&&evt.hs&&evt.hs.some(card=>{ return list[1].some(i=>i._cardid==card.cardid); @@ -9289,7 +9289,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, charlotte:true, filter:function(event,player){ - return player.storage.reanjian2&&event.card&&player.storage.reanjian2.contains(event.card); + return player.storage.reanjian2&&event.card&&player.storage.reanjian2.includes(event.card); }, silent:true, forced:true, @@ -9645,7 +9645,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); })){ return true; } @@ -9657,7 +9657,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "step 0" player.chooseTarget(get.prompt('mieji'),'为'+get.translation(trigger.card)+'增加一个额外目标',function(card,player,target){ var player=_status.event.player; - if(_status.event.targets.contains(target)) return false; + if(_status.event.targets.includes(target)) return false; return lib.filter.targetEnabled2(_status.event.card,player,target)&&lib.filter.targetInRange(_status.event.card,player,target); }).set('autodelay',true).set('ai',function(target){ var trigger=_status.event.getTrigger(); @@ -9696,7 +9696,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ types.add(get.type(cards[i],'trick',player)); } target.chooseToDiscard(function(card){ - return !_status.event.types.contains(get.type(card,'trick')); + return !_status.event.types.includes(get.type(card,'trick')); }).set('ai',function(card){ if(_status.event.player.isTurnedOver()) return -1; return 8-get.value(card); @@ -10288,7 +10288,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(trigger.targets&&!info.multitarget){ var players=game.filterPlayer(); for(var i=0;i0; }, filterCard:function(card){ var list=_status.event.dingpin_types||[]; - return !list.contains(get.type2(card)); + return !list.includes(get.type2(card)); }, position:'he', filterTarget:function(card,player,target){ @@ -10737,7 +10737,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseTarget(get.prompt2('chanhui'),function(card,player,target){ if(player==target) return false; var evt=_status.event.getTrigger(); - return !evt.targets.contains(target)&&lib.filter.targetEnabled2(evt.card,player,target)&&lib.filter.targetInRange(evt.card,player,target); + return !evt.targets.includes(target)&&lib.filter.targetEnabled2(evt.card,player,target)&&lib.filter.targetInRange(evt.card,player,target); }).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -10786,7 +10786,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseTarget(get.prompt2('rechanhui'),function(card,player,target){ if(player==target) return false; var trigger=_status.event; - return player.canUse(trigger.card,target,false)&&trigger.targets.contains(target)==false; + return player.canUse(trigger.card,target,false)&&trigger.targets.includes(target)==false; }).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -11201,14 +11201,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ inherit:'qiuyuan', filter:function(event,player){ return event.card.name=='sha'&&game.hasPlayer(function(current){ - return current!=player&&!event.targets.contains(current)&¤t.countCards('h')>0&&lib.filter.targetEnabled(event.card,event.player,current); + return current!=player&&!event.targets.includes(current)&¤t.countCards('h')>0&&lib.filter.targetEnabled(event.card,event.player,current); }); }, content:function(){ "step 0" player.chooseTarget(get.prompt2('oldqiuyuan'),function(card,player,target){ var evt=_status.event.getTrigger(); - return target!=player&&!evt.targets.contains(target)&&lib.filter.targetEnabled(evt.card,evt.player,target)&&target.countCards('h')>0; + return target!=player&&!evt.targets.includes(target)&&lib.filter.targetEnabled(evt.card,evt.player,target)&&target.countCards('h')>0; }).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -11246,14 +11246,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ direct:true, filter:function(event,player){ return event.card.name=='sha'&&game.hasPlayer(function(current){ - return current!=player&&!event.targets.contains(current)&&lib.filter.targetEnabled(event.card,event.player,current); + return current!=player&&!event.targets.includes(current)&&lib.filter.targetEnabled(event.card,event.player,current); }); }, content:function(){ "step 0" player.chooseTarget(get.prompt2('qiuyuan'),function(card,player,target){ var evt=_status.event.getTrigger(); - return target!=player&&!evt.targets.contains(target)&&lib.filter.targetEnabled(evt.card,evt.player,target); + return target!=player&&!evt.targets.includes(target)&&lib.filter.targetEnabled(evt.card,evt.player,target); }).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; @@ -11790,7 +11790,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "step 2" var card=result[0]; if(get.type(card)=='equip'){ - if(target.getCards('h').contains(card)&&target.hasUseTarget(card)){ + if(target.getCards('h').includes(card)&&target.hasUseTarget(card)){ event.target.chooseUseTarget(card,true,'nopopup'); game.delay(); } @@ -11881,7 +11881,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, logTarget:'player', check:function(event,player){ - if(event.getParent().excluded.contains(player)) return false; + if(event.getParent().excluded.includes(player)) return false; if(get.attitude(player,event.player)>0){ return false; } @@ -12128,7 +12128,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ effect:{ target:function(card,player,target){ - if(player==target&&get.subtypes(card).contains('equip2')){ + if(player==target&&get.subtypes(card).includes('equip2')){ if(get.equipValue(card)<=8) return 0; } if(!player.hasEmptySlot(2)) return; @@ -12373,7 +12373,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audioname:['re_liubiao'], trigger:{player:'phaseDrawBegin2'}, check:function(event,player){ - return player.countCards('h')<=(player.hasSkill('zongshi')?player.maxHp:(player.hp-2))||player.skipList.contains('phaseUse'); + return player.countCards('h')<=(player.hasSkill('zongshi')?player.maxHp:(player.hp-2))||player.skipList.includes('phaseUse'); }, filter:function(event,player){ return !event.numFixed; @@ -12749,7 +12749,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.gain(result.links,'draw'); } for(var i=event.cards.length-1;i>=0;i--){ - if(!result.bool||!result.links.contains(event.cards[i])){ + if(!result.bool||!result.links.includes(event.cards[i])){ ui.cardPile.insertBefore(event.cards[i],ui.cardPile.firstChild); } } @@ -12949,7 +12949,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "step 2" var source=target; event.card=result.links[0]; - if(player.getCards('h').contains(event.card)) player.chooseTarget('将'+get.translation(event.card)+'交给另一名其他角色',function(card,player,target){ + if(player.getCards('h').includes(event.card)) player.chooseTarget('将'+get.translation(event.card)+'交给另一名其他角色',function(card,player,target){ return target!=_status.event.sourcex&&target!=player; }).set('ai',function(target){ return get.attitude(_status.event.player,target); @@ -13096,7 +13096,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return get.attitude(player,event.player)>0; }, filter:function(event){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return event.card&&event.card.name=='sha'&&event.player.isIn(); }, logTarget:'player', @@ -13417,7 +13417,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } else if(targets.length>0){ player.chooseTarget(true,'选择弃置【陷嗣】牌的目标',function(card,player,target){ - return _status.event.list.contains(target); + return _status.event.list.includes(target); }).set('list',targets).set('ai',function(target){ var player=_status.event.player; return get.attitude(player,target); @@ -13640,7 +13640,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ markcount:function(card,player){ var num=get.number(card,player); var list=[1,11,12,13]; - if(list.contains(num)) return ['A','J','Q','K'][list.indexOf(num)]; + if(list.includes(num)) return ['A','J','Q','K'][list.indexOf(num)]; return parseFloat(num); }, content:function(card,player){ @@ -13649,7 +13649,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var str='
  • 上一张牌的花色:'+get.translation(suit); str+='
  • 上一张牌的点数:'; var list=[1,11,12,13]; - if(list.contains(num)) str+=['A(1)','J(11)','Q(12)','K(13)'][list.indexOf(num)]; + if(list.includes(num)) str+=['A(1)','J(11)','Q(12)','K(13)'][list.indexOf(num)]; else str+=parseFloat(num); return str; }, @@ -13676,7 +13676,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(result.bool){ player.logSkill('zzhenggong',trigger.source); var card=result.links[0]; - if(player.getCards('h').contains(card)){ + if(player.getCards('h').includes(card)){ player.$give(card,player,false); player.equip(card); } diff --git a/character/yingbian.js b/character/yingbian.js index 7c5d6795d..7a3f83d98 100644 --- a/character/yingbian.js +++ b/character/yingbian.js @@ -189,7 +189,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audio:2, enable:'chooseToUse', hiddenCard:function(player,name){ - if(get.type(name)=='basic'&&lib.inpile.contains(name)&&!player.getStorage('bingxin_count').contains(name)) return true; + if(get.type(name)=='basic'&&lib.inpile.includes(name)&&!player.getStorage('bingxin_count').includes(name)) return true; }, filter:function(event,player){ if(event.type=='wuxie') return false; @@ -204,7 +204,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var storage=player.storage.bingxin_count for(var i of lib.inpile){ if(get.type(i)!='basic') continue; - if(storage&&storage.contains(i)) continue; + if(storage&&storage.includes(i)) continue; var card={name:i,isCard:true}; if(event.filterCard(card,player,event)) return true; if(i=='sha'){ @@ -222,7 +222,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var storage=player.storage.bingxin_count; for(var i of lib.inpile){ if(get.type(i)!='basic') continue; - if(storage&&storage.contains(i)) continue; + if(storage&&storage.includes(i)) continue; var card={name:i,isCard:true}; if(event.filterCard(card,player,event)) list.push(['基本','',i]); if(i=='sha'){ @@ -285,7 +285,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } } var storage=player.storage.bingxin_count; - if(storage&&storage.contains('s'+tag.slice(8))) return false; + if(storage&&storage.includes('s'+tag.slice(8))) return false; }, result:{ player:function(player){ @@ -345,7 +345,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' player.chooseTarget(get.prompt2('yidu'),(card,player,target)=>{ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }).set('targets',trigger.targets.filter(target=>{ return target.countCards('h')>0&&!target.hasHistory('damage',function(evt){ return evt.card==trigger.card; @@ -604,7 +604,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return evt.card.name==info[1]&&evt.getParent('phaseUse')==trigger; })==info[2]) target.damage(); else{ - if(target.getCards('hej').contains(card)) player.gain(card,target,'give'); + if(target.getCards('hej').includes(card)) player.gain(card,target,'give'); else if(get.position(card,true)=='d') player.gain(card,'gain2'); } }, @@ -658,14 +658,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(!evt||!evt.hs||!evt.hs.length) return false; if(event.name=='lose'){ for(var i in event.gaintag_map){ - if(event.gaintag_map[i].contains('huaiyuanx')) return true; + if(event.gaintag_map[i].includes('huaiyuanx')) return true; } return false; } return player.hasHistory('lose',function(evt){ if(event!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('huaiyuanx')) return true; + if(evt.gaintag_map[i].includes('huaiyuanx')) return true; } return false; }); @@ -677,13 +677,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var num=0; if(trigger.name=='lose'){ for(var i in trigger.gaintag_map){ - if(trigger.gaintag_map[i].contains('huaiyuanx')) num++; + if(trigger.gaintag_map[i].includes('huaiyuanx')) num++; } } else player.getHistory('lose',function(evt){ if(trigger!=evt.getParent()) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('huaiyuanx')) num++; + if(evt.gaintag_map[i].includes('huaiyuanx')) num++; } return false; }); @@ -921,7 +921,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'showCharacterAfter'}, hiddenSkill:true, filter:function(event,player){ - return event.toShow.contains('xuangongzhu')&&player!=_status.currentPhase&&game.hasPlayer(function(current){ + return event.toShow.includes('xuangongzhu')&&player!=_status.currentPhase&&game.hasPlayer(function(current){ return current.isDamaged(); }); }, @@ -1081,7 +1081,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,event.player,current);//&&lib.filter.targetInRange(event.card,event.player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,event.player,current);//&&lib.filter.targetInRange(event.card,event.player,current); })){ return true; } @@ -1094,7 +1094,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'增加一个目标' player.chooseTarget(get.prompt('canmou'),function(card,player,target){ var player=_status.event.source; - return !_status.event.targets.contains(target)&&lib.filter.targetEnabled2(_status.event.card,player,target);//&&lib.filter.targetInRange(_status.event.card,player,target); + return !_status.event.targets.includes(target)&&lib.filter.targetEnabled2(_status.event.card,player,target);//&&lib.filter.targetInRange(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.source; @@ -1275,7 +1275,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=[]; while(cards.length<2){ var card=get.cardPile2(function(i){ - return get.is.yingbian(i)&&!cards.contains(i); + return get.is.yingbian(i)&&!cards.includes(i); }); if(!card) break; else cards.push(card); @@ -1436,7 +1436,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ })) return false; var list=player.getStorage('caozhao'); for(var i of lib.inpile){ - if(!list.contains(i)&&['basic','trick'].contains(get.type(i))) return true; + if(!list.includes(i)&&['basic','trick'].includes(get.type(i))) return true; } return false; }, @@ -1444,7 +1444,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ dialog:function(event,player){ var list=player.getStorage('caozhao'),vcards=[]; for(var i of lib.inpile){ - if(!list.contains(i)){ + if(!list.includes(i)){ var type=get.type(i); if(type=='basic'||type=='trick') vcards.push([type,'',i]); } @@ -1604,10 +1604,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ olxibing2:{ mod:{ targetEnabled:function(card,player,target){ - if(target.getStorage('olxibing2').contains(player)) return false; + if(target.getStorage('olxibing2').includes(player)) return false; }, cardSavable:function(card,player,target){ - if(target.getStorage('olxibing2').contains(player)) return false; + if(target.getStorage('olxibing2').includes(player)) return false; }, }, onremove:true, @@ -1635,7 +1635,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ for(var j of lib.character[i][3]){ if(j=='bolan') continue; var skill=lib.skill[j]; - if(!skill||skill.juexingji||skill.hiddenSkill||skill.zhuSkill||skill.dutySkill||skill.chargeSkill||lib.skill.bolan.banned.contains(j)) continue; + if(!skill||skill.juexingji||skill.hiddenSkill||skill.zhuSkill||skill.dutySkill||skill.chargeSkill||lib.skill.bolan.banned.includes(j)) continue; if(skill.init||skill.ai&&(skill.ai.combo||skill.ai.notemp||skill.ai.neg)) continue; var info=lib.translate[j+'_info']; if(info&&info.indexOf('出牌阶段限一次')!=-1) skills.add(j); @@ -1776,7 +1776,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ hiddenSkill:true, filter:function(event,player){ var target=_status.currentPhase; - return event.toShow.contains('jin_simayi')&&target&&target!=player&&target.countGainableCards(player,'he')>0; + return event.toShow.includes('jin_simayi')&&target&&target!=player&&target.countGainableCards(player,'he')>0; }, direct:true, content:function(){ @@ -1878,7 +1878,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var phase=event.getParent('phaseUse'); if(!phase||phase.player!=player) return false; var suit=get.suit(event.card); - if(!lib.suit.contains(suit)||!lib.skill.quanbian.hasHand(event)) return false; + if(!lib.suit.includes(suit)||!lib.skill.quanbian.hasHand(event)) return false; return player.getHistory('useCard',function(evt){ return evt!=event&&get.suit(evt.card)==suit&&lib.skill.quanbian.hasHand(evt)&&evt.getParent('phaseUse')==phase; }).length+player.getHistory('respond',function(evt){ @@ -1931,7 +1931,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ onremove:true, mod:{ cardEnabled2:function(card,player){ - if(get.position(card)=='h'&&player.storage.quanbian2.contains(get.suit(card))) return false; + if(get.position(card)=='h'&&player.storage.quanbian2.includes(get.suit(card))) return false; }, }, intro:{ @@ -2217,18 +2217,18 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{global:['useCard','respond']}, preHidden:true, filter:function(event,player){ - if(!Array.isArray(event.respondTo)||event.respondTo[0]==event.player||![event.respondTo[0],event.player].contains(player)) return false; + if(!Array.isArray(event.respondTo)||event.respondTo[0]==event.player||![event.respondTo[0],event.player].includes(player)) return false; var color=get.color(event.card); if(color=='none'||get.color(event.respondTo[1])!=color) return false; var target=lib.skill.caiwang.logTarget(event,player); - return target[player.getStorage('naxiang2').contains(target)?'countGainableCards':'countDiscardableCards'](player,'he')>0 + return target[player.getStorage('naxiang2').includes(target)?'countGainableCards':'countDiscardableCards'](player,'he')>0 }, logTarget:function(event,player){ return (player==event.respondTo[0]?event.player:event.respondTo[0]); }, prompt2:function(event,player){ var target=lib.skill.caiwang.logTarget(event,player); - return (player.getStorage('naxiang2').contains(target)?'获得':'弃置')+'该角色的一张牌'; + return (player.getStorage('naxiang2').includes(target)?'获得':'弃置')+'该角色的一张牌'; }, check:function(event,player){ return get.attitude(player,lib.skill.caiwang.logTarget(event,player))<=0; @@ -2240,7 +2240,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' var target=lib.skill.caiwang.logTarget(trigger,player); player.logSkill(event.name,target); - player[player.getStorage('naxiang2').contains(target)?'gainPlayerCard':'discardPlayerCard'](target,'he',true); + player[player.getStorage('naxiang2').includes(target)?'gainPlayerCard':'discardPlayerCard'](target,'he',true); }, }, naxiang:{ @@ -2374,7 +2374,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'showCharacterAfter'}, forced:true, filter:function(event,player){ - return event.toShow&&event.toShow.contains('jin_yanghuiyu')&&game.hasPlayer(function(target){ + return event.toShow&&event.toShow.includes('jin_yanghuiyu')&&game.hasPlayer(function(target){ var num=target.countCards('h'); return num>target.hp||num0; })) return; if(player.getHistory('useCard').length==0){ - if(['basic','trick'].contains(get.type(card))) return num+10; + if(['basic','trick'].includes(get.type(card))) return num+10; return; } - if(!['basic','trick'].contains(get.type(card))) return num+10; + if(!['basic','trick'].includes(get.type(card))) return num+10; if(!player._ciwei_temp){ player._ciwei_temp=true; num/=Math.max(1,player.getUseValue(card)); @@ -2495,7 +2495,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(all[i].isRound) break; } cards=cards.filter(function(i){ - return hs.contains(i); + return hs.includes(i); }); if(cards.length) player.addGaintag(cards,'zhuosheng'); } @@ -2528,7 +2528,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player.getHistory('lose',function(evt){ if(evt.getParent()!=event) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('zhuosheng')) return true; + if(evt.gaintag_map[i].includes('zhuosheng')) return true; } return false; }).length>0; @@ -2541,7 +2541,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); })){ return true; } @@ -2553,12 +2553,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'增加或减少一个目标' player.chooseTarget(get.prompt('zhuosheng'),function(card,player,target){ var player=_status.event.player; - if(_status.event.targets.contains(target)) return true; + if(_status.event.targets.includes(target)) return true; return lib.filter.targetEnabled2(_status.event.card,player,target)&&lib.filter.targetInRange(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; - return get.effect(target,trigger.card,player,player)*(_status.event.targets.contains(target)?-1:1); + return get.effect(target,trigger.card,player,player)*(_status.event.targets.includes(target)?-1:1); }).set('targets',trigger.targets).set('card',trigger.card); 'step 1' if(result.bool){ @@ -2571,7 +2571,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 2' if(event.targets){ player.logSkill('zhuosheng',event.targets); - if(trigger.targets.contains(event.targets[0])) trigger.targets.removeArray(event.targets); + if(trigger.targets.includes(event.targets[0])) trigger.targets.removeArray(event.targets); else trigger.targets.addArray(event.targets); } }, @@ -2630,7 +2630,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var phase=event.getParent('phaseUse'); if(!phase||phase.player!=player) return false; var suit=get.suit(event.card); - if(!lib.suit.contains(suit)||!lib.skill.quanbian.hasHand(event)) return false; + if(!lib.suit.includes(suit)||!lib.skill.quanbian.hasHand(event)) return false; return player.getHistory('useCard',function(evt){ return evt!=event&&get.suit(evt.card)==suit&&lib.skill.quanbian.hasHand(evt)&&evt.getParent('phaseUse')==phase; }).length+player.getHistory('respond',function(evt){ @@ -2650,7 +2650,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ]) next.set('filterMove',function(from,to,moved){ var suit=_status.event.suit; - if(moved[0].contains(from.link)){ + if(moved[0].includes(from.link)){ if(typeof to=='number'){ if(to==1){ if(moved[1].length) return false; @@ -2658,7 +2658,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } return true; } - if(moved[1].contains(to.link)) return get.suit(from.link,false)!=suit; + if(moved[1].includes(to.link)) return get.suit(from.link,false)!=suit; return true; } else{ @@ -2897,7 +2897,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, hiddenSkill:true, filter:function(event,player){ - return event.toShow&&event.toShow.contains('jin_xiahouhui'); + return event.toShow&&event.toShow.includes('jin_xiahouhui'); }, content:function(){ 'step 0' @@ -2911,7 +2911,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.card=card; player.gain(card,'gain2'); 'step 1' - if(player.getCards('h').contains(card)&&get.subtype(card)=='equip5') player.chooseUseTarget(card).nopopup=true; + if(player.getCards('h').includes(card)&&get.subtype(card)=='equip5') player.chooseUseTarget(card).nopopup=true; }, }, jyishi:{ @@ -3010,7 +3010,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ hiddenSkill:true, filter:function(event,player){ var target=_status.currentPhase; - return player!=target&&target&&target.isAlive()&&event.toShow&&event.toShow.contains('jin_simazhao'); + return player!=target&&target&&target.isAlive()&&event.toShow&&event.toShow.includes('jin_simazhao'); }, content:function(){ player.addTempSkill('tuishi2'); @@ -3168,7 +3168,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=player.getStorage('zhaoran2'); for(var i of evt.hs){ var suit=get.suit(i,player); - if(!list.contains(suit)&&!player.countCards('h',{suit:suit})) return true; + if(!list.includes(suit)&&!player.countCards('h',{suit:suit})) return true; } return false; }, @@ -3184,7 +3184,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var evt=trigger.getl(player); for(var i of evt.hs){ var suit=get.suit(i,player); - if(!suits.contains(suit)) list.add(suit); + if(!suits.includes(suit)) list.add(suit); } event.count=list.length; player.markAuto('zhaoran2',list); @@ -3256,7 +3256,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return _status.currentPhase; }, filter:function(event,player){ - if(!event.toShow||!event.toShow.contains('jin_wangyuanji')) return false; + if(!event.toShow||!event.toShow.includes('jin_wangyuanji')) return false; var target=_status.currentPhase; return target&&target!=player&&target.isAlive()&&target.countCards('h')>0; }, @@ -3365,12 +3365,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ var stat=player.getStat('sanchen'); return game.hasPlayer(function(current){ - return (!stat||!stat.contains(current)); + return (!stat||!stat.includes(current)); }); }, filterTarget:function(card,player,target){ var stat=player.getStat('sanchen'); - return (!stat||!stat.contains(target)); + return (!stat||!stat.includes(target)); }, content:function(){ 'step 0' @@ -3385,7 +3385,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var list=ui.selected.cards.map(function(i){ return get.type2(i); }); - if(!list.contains(get.type2(card))) return 7-get.value(card); + if(!list.includes(get.type2(card))) return 7-get.value(card); return -get.value(card); }); 'step 2' @@ -3471,7 +3471,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, filter:function(event,player){ if(player._xijue) return false; - if(get.mode()=='guozhan') return event.name=='showCharacter'&&event.toShow&&event.toShow.contains('gz_zhanghuyuechen'); + if(get.mode()=='guozhan') return event.name=='showCharacter'&&event.toShow&&event.toShow.includes('gz_zhanghuyuechen'); return (event.name!='showCharacter')&&(event.name!='phase'||game.phaseNumber==0); }, content:function(){ @@ -3614,7 +3614,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ['牌堆底'], ]); next.set('filterMove',function(from,to,moved){ - if(moved[0].contains(from)&&to==1) return moved[1].length<_status.event.num; + if(moved[0].includes(from)&&to==1) return moved[1].length<_status.event.num; return true; }); next.set('filterOk',function(moved){ @@ -3655,7 +3655,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' if(result.bool){ player.useCard(get.autoViewAs({name:'sha',nature:'ice'},result.cards),result.cards,false,trigger.player,'qingleng'); - if(!player.storage.qingleng||!player.storage.qingleng.contains(trigger.player)){ + if(!player.storage.qingleng||!player.storage.qingleng.includes(trigger.player)){ player.draw(); player.markAuto('qingleng',[trigger.player]); player.storage.qingleng.sortBySeat(); @@ -3672,7 +3672,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, hiddenSkill:true, filter:function(event,player){ - return event.toShow.contains('jin_zhangchunhua')&&player!=_status.currentPhase; + return event.toShow.includes('jin_zhangchunhua')&&player!=_status.currentPhase; }, content:function(){ player.addTempSkill('xuanmu2'); diff --git a/character/yxs.js b/character/yxs.js index cc159e5b5..2e4132357 100644 --- a/character/yxs.js +++ b/character/yxs.js @@ -216,7 +216,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, logTarget:'player', filter:function(event,player){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return event.player.isIn()&&!event.player.hasSkill('lyuxue2'); }, content:function(){ @@ -487,7 +487,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.cards=trigger.cards.slice(0); player.chooseCardTarget({ filterCard:function(card){ - return _status.event.getParent().cards.contains(card); + return _status.event.getParent().cards.includes(card); }, selectCard:1, filterTarget:function(card,player,target){ @@ -568,7 +568,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "step 2" player.chooseCardTarget({ filterCard:function(card){ - return _status.event.getParent().cards.contains(card); + return _status.event.getParent().cards.includes(card); }, selectCard:[1,event.cards.length], filterTarget:function(card,player,target){ @@ -962,7 +962,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{source:'damageEnd'}, frequent:true, filter:function(event){ - if(event._notrigger.contains(event.player)) return false; + if(event._notrigger.includes(event.player)) return false; return event.player.isAlive()&&event.parent.name=='yanyi'&&event.player.hp0&&event.targets.contains(player)==false; + player.countCards('h','sha')>0&&event.targets.includes(player)==false; }, direct:true, content:function(){ diff --git a/extension/boss/extension.js b/extension/boss/extension.js index a8ab39d49..6dad31016 100644 --- a/extension/boss/extension.js +++ b/extension/boss/extension.js @@ -95,7 +95,7 @@ game.import('play',function(lib,game,ui,get,ai,_status){ } storage.versus={}; for(var i in mode.jiangeboss){ - if(mode.jiangeboss[i][4].contains('bossallowed')){ + if(mode.jiangeboss[i][4].includes('bossallowed')){ storage.versus[i]=mode.jiangeboss[i]; } } @@ -123,7 +123,7 @@ game.import('play',function(lib,game,ui,get,ai,_status){ } storage.boss={}; for(var i in mode.characterPack.mode_boss){ - if(mode.characterPack.mode_boss[i][4].contains('bossallowed')){ + if(mode.characterPack.mode_boss[i][4].includes('bossallowed')){ storage.boss[i]=mode.characterPack.mode_boss[i]; } } diff --git a/mode/boss.js b/mode/boss.js index 0394b7485..8ac2e7a0a 100644 --- a/mode/boss.js +++ b/mode/boss.js @@ -82,7 +82,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var list=[]; for(var i in lib.character){ var info=lib.character[i]; - if(info[4].contains('boss')){ + if(info[4].includes('boss')){ // var cfg=i+'_bossconfig'; // if(get.config(cfg)==undefined){ // game.saveConfig(cfg,true,true); @@ -932,7 +932,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }, init:function(){ for(var i in lib.characterPack.mode_boss){ - if(lib.characterPack.mode_boss[i][4].contains('hiddenboss')) continue; + if(lib.characterPack.mode_boss[i][4].includes('hiddenboss')) continue; lib.mode.boss.config[i+'_boss_config']={ name:get.translation(i), init:true, @@ -1144,11 +1144,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var list=[]; event.list=list; for(i in lib.character){ - if(lib.character[i][4].contains('minskin')) continue; - if(lib.character[i][4].contains('boss')) continue; - if(lib.character[i][4].contains('hiddenboss')) continue; - if(lib.character[i][4]&&lib.character[i][4].contains('forbidai')) continue; - if(lib.config.forbidboss.contains(i)) continue; + if(lib.character[i][4].includes('minskin')) continue; + if(lib.character[i][4].includes('boss')) continue; + if(lib.character[i][4].includes('hiddenboss')) continue; + if(lib.character[i][4]&&lib.character[i][4].includes('forbidai')) continue; + if(lib.config.forbidboss.includes(i)) continue; if(lib.filter.characterDisabled(i)) continue; list.push(i); } @@ -1525,7 +1525,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ links.push(dialog.buttons[i].link); } for(var i=0;i(cardx!=card&&!ui.selected.cards.contains(cardx))); + if(!cards.includes(card)) return true; + return cards.some(cardx=>(cardx!=card&&!ui.selected.cards.includes(cardx))); }).set('ignoreCard',player.hasSkill('shanrangzhaoshu',null,false)); } 'step 3' @@ -2173,7 +2173,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ return card!=player.getEquip(1); }).set('logSkill',['noda_axe',trigger.target]).set('goon',function(event,player){ if(player.hasSkill('noda_axe2')) return false; - if(event.getParent().excluded.contains(player)) return false; + if(event.getParent().excluded.includes(player)) return false; if(get.attitude(event.player,player)>0){ return false; } @@ -2852,7 +2852,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ forced:true, audio:true, filter:function(event,player){ - if(player.getEnemies().contains(event.player)){return true;} + if(player.getEnemies().includes(event.player)){return true;} return false; }, logTarget:'player', @@ -2879,7 +2879,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ onremove:true, mod:{ cardEnabled2:function(card,player){ - if(player.storage.boss_wangshi2.contains(get.type(card,'trick'))) return false; + if(player.storage.boss_wangshi2.includes(get.type(card,'trick'))) return false; }, }, }, @@ -3598,7 +3598,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ boss_echou:{ trigger:{global:'useCard'}, filter:function(event,player){ - return !event.player.hasSkill('boss_duqu')&&['tao','jiu'].contains(event.card.name); + return !event.player.hasSkill('boss_duqu')&&['tao','jiu'].includes(event.card.name); }, content:function(){ var target=trigger.player; @@ -3731,7 +3731,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ event.togain=[]; while(event.togain.length0&&player.getHistory('gain',function(evt){ if(evt.getParent().name!='draw'||evt.getParent('phaseDraw')!=event) return false; for(var i of evt.cards){ - if(hs.contains(i)) return true; + if(hs.includes(i)) return true; } return false; }).length>0; @@ -2070,7 +2070,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ player.getHistory('gain',function(evt){ if(evt.getParent().name!='draw'||evt.getParent('phaseDraw')!=event) return false; for(var i of evt.cards){ - if(hs.contains(i)){ + if(hs.includes(i)){ cards.add(i); suits.add(get.suit(i,player)); } @@ -2083,7 +2083,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ player.getHistory('gain',function(evt){ if(evt.getParent().name!='draw'||evt.getParent('phaseDraw')!=trigger) return false; for(var i of evt.cards){ - if(hs.contains(i)){ + if(hs.includes(i)){ cards.add(i); suits.add(get.suit(i,player)); } @@ -2692,7 +2692,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var list=[]; while(list.length<2){ var card=get.cardPile(function(card){ - return !list.contains(card)&&get.type(card,'trick')=='trick'; + return !list.includes(card)&&get.type(card,'trick')=='trick'; }); if(!card) break; list.push(card); @@ -2720,7 +2720,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var list=[]; while(list.length<5){ var card=get.cardPile(function(card){ - return !list.contains(card)&&get.type(card)=='basic'; + return !list.includes(card)&&get.type(card)=='basic'; }); if(!card) break; list.push(card); @@ -3502,7 +3502,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ _status.sceneToLoad=scene; game.switchScene(); }); - if(_status.extensionmade.contains(name)){ + if(_status.extensionmade.includes(name)){ ui.create.node('button','管理扩展',this,function(){ ui.click.configMenu(); ui.click.extensionTab(name); @@ -3537,8 +3537,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var inpile=[]; for(var i=0;iMath.abs(dy)){ if(dx<0){ - if(!forbid.contains('moveLeft')&&this.movable(-1,0)){ + if(!forbid.includes('moveLeft')&&this.movable(-1,0)){ this.moveLeft(); return 'moveLeft'; } } else if(dx>0){ - if(!forbid.contains('moveRight')&&this.movable(1,0)){ + if(!forbid.includes('moveRight')&&this.movable(1,0)){ this.moveRight(); return 'moveRight'; } } if(dy<0){ - if(!forbid.contains('moveUp')&&this.movable(0,-1)){ + if(!forbid.includes('moveUp')&&this.movable(0,-1)){ this.moveUp(); return 'moveUp'; } } else if(dy>0){ - if(!forbid.contains('moveDown')&&this.movable(0,1)){ + if(!forbid.includes('moveDown')&&this.movable(0,1)){ this.moveDown(); return 'moveDown'; } @@ -645,25 +645,25 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } else{ if(dy<0){ - if(!forbid.contains('moveUp')&&this.movable(0,-1)){ + if(!forbid.includes('moveUp')&&this.movable(0,-1)){ this.moveUp(); return 'moveUp'; } } else if(dy>0){ - if(!forbid.contains('moveDown')&&this.movable(0,1)){ + if(!forbid.includes('moveDown')&&this.movable(0,1)){ this.moveDown(); return 'moveDown'; } } if(dx<0){ - if(!forbid.contains('moveLeft')&&this.movable(-1,0)){ + if(!forbid.includes('moveLeft')&&this.movable(-1,0)){ this.moveLeft(); return 'moveLeft'; } } else if(dx>0){ - if(!forbid.contains('moveRight')&&this.movable(1,0)){ + if(!forbid.includes('moveRight')&&this.movable(1,0)){ this.moveRight(); return 'moveRight'; } @@ -843,7 +843,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var notend=false; for(var i=1;i=10; }, filterTarget:function(card,player,target){ - return game.isChessNeighbour(player,target)&&!game.data.character.contains(target.name); + return game.isChessNeighbour(player,target)&&!game.data.character.includes(target.name); }, content:function(){ var chance=lib.skill.leader_zhaoxiang.chance(target,player); @@ -5151,28 +5151,28 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var xy=player.getXY(); var neighbour; neighbour=player.getNeighbour(-1,0); - if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.contains(neighbour)){ + if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.includes(neighbour)){ num++; } else if(xy[0]==0){ num++; } neighbour=player.getNeighbour(1,0); - if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.contains(neighbour)){ + if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.includes(neighbour)){ num++; } else if(xy[0]+1>=ui.chesswidth){ num++; } neighbour=player.getNeighbour(0,-1); - if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.contains(neighbour)){ + if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.includes(neighbour)){ num++; } else if(xy[1]==0){ num++; } neighbour=player.getNeighbour(0,1); - if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.contains(neighbour)){ + if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.includes(neighbour)){ num++; } else if(xy[1]+1>=ui.chessheight){ @@ -5186,28 +5186,28 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ event.movemap={}; var neighbour; neighbour=player.getNeighbour(-1,0); - if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.contains(neighbour)){ + if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.includes(neighbour)){ event.obstacles.push(neighbour); if(player.movable(-2,0)){ event.movemap['[-1,0]']=neighbour; } } neighbour=player.getNeighbour(1,0); - if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.contains(neighbour)){ + if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.includes(neighbour)){ event.obstacles.push(neighbour); if(player.movable(2,0)){ event.movemap['[1,0]']=neighbour; } } neighbour=player.getNeighbour(0,-1); - if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.contains(neighbour)){ + if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.includes(neighbour)){ event.obstacles.push(neighbour); if(player.movable(0,-2)){ event.movemap['[0,-1]']=neighbour; } } neighbour=player.getNeighbour(0,1); - if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.contains(neighbour)){ + if(neighbour&&typeof neighbour.tempObstacle!='number'&&game.obstacles.includes(neighbour)){ event.obstacles.push(neighbour); if(player.movable(0,2)){ event.movemap['[0,1]']=neighbour; @@ -5328,7 +5328,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ order:5, result:{ playerx:function(player){ - if(get.mode()=='tafang'&&_status.enemies.contains(player)){ + if(get.mode()=='tafang'&&_status.enemies.includes(player)){ return 1; } var nh=player.countCards('h'); @@ -5341,22 +5341,22 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } var neighbour; neighbour=player.getNeighbour(0,1); - if(neighbour&&game.players.contains(neighbour)&&neighbour.side!=player.side){ + if(neighbour&&game.players.includes(neighbour)&&neighbour.side!=player.side){ if(get.distance(player,neighbour,'attack')<1) return 1; return 0; } neighbour=player.getNeighbour(0,-1); - if(neighbour&&game.players.contains(neighbour)&&neighbour.side!=player.side){ + if(neighbour&&game.players.includes(neighbour)&&neighbour.side!=player.side){ if(get.distance(player,neighbour,'attack')<1) return 1; return 0; } neighbour=player.getNeighbour(1,0); - if(neighbour&&game.players.contains(neighbour)&&neighbour.side!=player.side){ + if(neighbour&&game.players.includes(neighbour)&&neighbour.side!=player.side){ if(get.distance(player,neighbour,'attack')<1) return 1; return 0; } neighbour=player.getNeighbour(-1,0); - if(neighbour&&game.players.contains(neighbour)&&neighbour.side!=player.side){ + if(neighbour&&game.players.includes(neighbour)&&neighbour.side!=player.side){ if(get.distance(player,neighbour,'attack')<1) return 1; return 0; } @@ -5793,7 +5793,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }, obstacle:function(){ if(_status.event.chooseObstacle&&_status.paused&& - _status.event.obstacles&&_status.event.obstacles.contains(this)){ + _status.event.obstacles&&_status.event.obstacles.includes(this)){ _status.event.obstacle=this; game.resume(); } @@ -5911,30 +5911,30 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }, selectTarget:-1, enable:function(event,player){ - if(game.obstacles.contains(player.getNeighbour(-1,0))&&player.movable(-2,0)) return true; - if(game.obstacles.contains(player.getNeighbour(1,0))&&player.movable(2,0)) return true; - if(game.obstacles.contains(player.getNeighbour(0,-1))&&player.movable(0,-2)) return true; - if(game.obstacles.contains(player.getNeighbour(0,1))&&player.movable(0,2)) return true; + if(game.obstacles.includes(player.getNeighbour(-1,0))&&player.movable(-2,0)) return true; + if(game.obstacles.includes(player.getNeighbour(1,0))&&player.movable(2,0)) return true; + if(game.obstacles.includes(player.getNeighbour(0,-1))&&player.movable(0,-2)) return true; + if(game.obstacles.includes(player.getNeighbour(0,1))&&player.movable(0,2)) return true; }, content:function(){ var neighbour,num=0; neighbour=player.getNeighbour(-1,0); - if(neighbour&&game.obstacles.contains(neighbour)&&player.movable(-2,0)){ + if(neighbour&&game.obstacles.includes(neighbour)&&player.movable(-2,0)){ game.moveObstacle(neighbour,-1,0); num++; } neighbour=player.getNeighbour(1,0); - if(neighbour&&game.obstacles.contains(neighbour)&&player.movable(2,0)){ + if(neighbour&&game.obstacles.includes(neighbour)&&player.movable(2,0)){ game.moveObstacle(neighbour,1,0); num++; } neighbour=player.getNeighbour(0,-1); - if(neighbour&&game.obstacles.contains(neighbour)&&player.movable(0,-2)){ + if(neighbour&&game.obstacles.includes(neighbour)&&player.movable(0,-2)){ game.moveObstacle(neighbour,0,-1); num++; } neighbour=player.getNeighbour(0,1); - if(neighbour&&game.obstacles.contains(neighbour)&&player.movable(0,2)){ + if(neighbour&&game.obstacles.includes(neighbour)&&player.movable(0,2)){ game.moveObstacle(neighbour,0,1); num++; } @@ -5947,19 +5947,19 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ event.obstacles=[]; var neighbour; neighbour=player.getNeighbour(-1,0); - if(neighbour&&game.obstacles.contains(neighbour)){ + if(neighbour&&game.obstacles.includes(neighbour)){ event.obstacles.push(neighbour); } neighbour=player.getNeighbour(1,0); - if(neighbour&&game.obstacles.contains(neighbour)){ + if(neighbour&&game.obstacles.includes(neighbour)){ event.obstacles.push(neighbour); } neighbour=player.getNeighbour(0,-1); - if(neighbour&&game.obstacles.contains(neighbour)){ + if(neighbour&&game.obstacles.includes(neighbour)){ event.obstacles.push(neighbour); } neighbour=player.getNeighbour(0,1); - if(neighbour&&game.obstacles.contains(neighbour)){ + if(neighbour&&game.obstacles.includes(neighbour)){ event.obstacles.push(neighbour); } if(!event.obstacles.length){ diff --git a/mode/doudizhu.js b/mode/doudizhu.js index 43ff0d49e..547f3addf 100644 --- a/mode/doudizhu.js +++ b/mode/doudizhu.js @@ -478,7 +478,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ list.push([event.map[friend.playerid],'character']); } game.me.chooseButton(list,true).set('list',event.map[game.me.playerid]).set('filterButton',function(button){ - return _status.event.list.contains(button.link); + return _status.event.list.includes(button.link); }); "step 6" game.me.init(result.links[0]); @@ -520,14 +520,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(ix.length){ var name=ix.randomGet(); event.list.push(name); - if(game.recommendDizhu.contains(name)) event.list2.push(name); + if(game.recommendDizhu.includes(name)) event.list2.push(name); list4.addArray(ix); } } for(i in lib.character){ - if(list4.contains(i)||lib.filter.characterDisabled(i)) continue; + if(list4.includes(i)||lib.filter.characterDisabled(i)) continue; event.list.push(i); - if(game.recommendDizhu.contains(i)) event.list2.push(i); + if(game.recommendDizhu.includes(i)) event.list2.push(i); } event.list.randomSort(); _status.characterlist=event.list.slice(0); @@ -629,7 +629,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } } for(i in lib.character){ - if(list4.contains(i)||lib.filter.characterDisabled(i)) continue; + if(list4.includes(i)||lib.filter.characterDisabled(i)) continue; event.list.push(i); } event.list.randomSort(); @@ -645,7 +645,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ createDialog.push([game.me._friend._characterChoice,'character']); } game.me.chooseButton(createDialog,true).set('onfree',true).set('filterButton',function(button){ - return _status.event.player._characterChoice.contains(button.link); + return _status.event.player._characterChoice.includes(button.link); }); "step 1" game.me.init(result.links[0]); @@ -908,7 +908,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ for(i in lib.characterReplace){ var ix=lib.characterReplace[i]; for(var j=0;j=3){ groups.push(i); @@ -1693,12 +1693,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ for(var i in lib.characterReplace){ var ix=lib.characterReplace[i]; for(var j=0;jnum1) num1=num; if(numnum){ @@ -2932,7 +2932,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ type:'trick', enable:function(card,player){ var hs=player.getCards('h',function(cardx){ - return cardx!=card&&(!card.cards||!card.cards.contains(cardx)); + return cardx!=card&&(!card.cards||!card.cards.includes(cardx)); }); if(!hs.length) return false; var use=true,discard=true; diff --git a/mode/guozhan.js b/mode/guozhan.js index c1a180daf..b403277e4 100644 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -19,7 +19,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ for(var i in lib.character){ if(lib.character[i][1]=='shen'){ if(lib.character[i][4]){ - var group=lib.character[i][4].find(group=>lib.group.contains(group)||group=='key'||group.startsWith('gzgroup:')); + var group=lib.character[i][4].find(group=>lib.group.includes(group)||group=='key'||group.startsWith('gzgroup:')); if(group){ if(group.startsWith('gzgroup:')) lib.character[i][1]=group.slice(8); else lib.character[i][1]=group; @@ -44,7 +44,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ for(var i in lib.character){ if(lib.character[i][1]=='shen'){ if(lib.character[i][4]){ - var group=lib.character[i][4].find(group=>lib.group.contains(group)||group=='key'); + var group=lib.character[i][4].find(group=>lib.group.includes(group)||group=='key'); if(group) lib.character[i][1]=group; else lib.character[i][1]='qun'; } @@ -78,7 +78,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } else{ _status.mode=get.config('guozhan_mode'); - if(!['normal','yingbian','old','free'].contains(_status.mode)) _status.mode='normal'; + if(!['normal','yingbian','old','free'].includes(_status.mode)) _status.mode='normal'; //决定牌堆 switch(_status.mode){ case 'old':lib.card.list=lib.guozhanPile_old.slice(0);break; @@ -107,7 +107,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ "step 1" if(_status.connectMode){ _status.mode=lib.configOL.guozhan_mode; - if(!['normal','yingbian','old'].contains(_status.mode)) _status.mode='normal'; + if(!['normal','yingbian','old'].includes(_status.mode)) _status.mode='normal'; if(lib.configOL.separatism) _status.separatism=true; //决定牌堆 switch(_status.mode){ @@ -143,7 +143,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ for(var i in lib.character){ if(lib.character[i][1]=='shen'){ if(lib.character[i][4]){ - var group=lib.character[i][4].find(group=>lib.group.contains(group)||group=='key'); + var group=lib.character[i][4].find(group=>lib.group.includes(group)||group=='key'); if(group) lib.character[i][1]=group; else lib.character[i][1]='qun'; } @@ -624,7 +624,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } else event.finish(); 'step 2' - if(result.bool&&player.getCards('h').contains(result.cards[0])){ + if(result.bool&&player.getCards('h').includes(result.cards[0])){ event.card=result.cards[0]; player.chooseTarget('将'+get.translation(event.card)+'交给另一名角色',function(card,player,current){ return current!=player&¤t!=_status.event.target; @@ -727,7 +727,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ target.chooseToUse(function(card,player,event){ return lib.filter.filterCard.apply(this,arguments); },'通令:是否对'+get.translation(trigger.player)+'使用一张牌?').set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.targetEnabled.apply(this,arguments); }).set('sourcex',trigger.player).set('addCount',false); } @@ -752,7 +752,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(!game.hasPlayer(function(current){ return get.distance(player,current)<=1; })) return false; - return event.toShow.some(name=>lib.character[name][3].contains('gzjinyu')); + return event.toShow.some(name=>lib.character[name][3].includes('gzjinyu')); }, logTarget:function(event,player){ return game.filterPlayer(function(current){ @@ -851,7 +851,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ 'step 7' var hs=player.getCards('h'); cards=cards.filter(function(card){ - return get.type(card)=='equip'&&hs.contains(card); + return get.type(card)=='equip'&&hs.includes(card); }); if(cards.length){ player.$give(cards,player,false); @@ -1041,7 +1041,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var targets=game.filterPlayer(current=>!current.hasSkill(event.skill)); if(!targets.length){event.finish();return;} player.chooseTarget('经合:令一名角色获得技能【'+get.translation(event.skill)+'】',function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); },true).set('ai',function(target){ var player=_status.event.player; return get.attitude(player,target); @@ -1381,7 +1381,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'是否对'+get.translation(event.target)+'使用一张【杀】?').set('targetRequired',true).set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.filterTarget.apply(this,arguments); }).set('sourcex',event.target); } @@ -1450,7 +1450,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(index<1) return false; var evt0=history[index-1]; for(var i of evt.targets){ - if(evt0.targets.contains(i)&&i.countCards('he')>0) return true; + if(evt0.targets.includes(i)&&i.countCards('he')>0) return true; } return false; }, @@ -1464,7 +1464,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var evt=event.getParent(),index=history.indexOf(evt); var evt0=history[index-1]; return evt.targets.filter(function(target){ - return (evt0.targets.contains(target)&&target.countCards('he')>0); + return (evt0.targets.includes(target)&&target.countCards('he')>0); }); }, check:function(event,player){ @@ -1481,7 +1481,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var evt=trigger.getParent(),index=history.indexOf(evt); var evt0=history[index-1]; var targets=evt.targets.filter(function(target){ - return evt0.targets.contains(target); + return evt0.targets.includes(target); }).sortBySeat(); for(var i of targets) i.chooseToDiscard(true,'he',2); }, @@ -1651,7 +1651,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ charlotte:true, popup:false, filter:function(event,player){ - return event.gzduanshi&&event.gzduanshi.contains(player); + return event.gzduanshi&&event.gzduanshi.includes(player); }, content:function(){ player.draw(); @@ -1703,7 +1703,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ trigger:{player:'showCharacterAfter'}, forced:true, filter:function(event,player){ - return event.toShow.contains('gz_xf_huangquan')&&!player.storage.gzdianhu_effect; + return event.toShow.includes('gz_xf_huangquan')&&!player.storage.gzdianhu_effect; }, content:function(){ 'step 0' @@ -1734,7 +1734,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ forced:true, charlotte:true, filter:function(event,player){ - if(!player.getStorage('gzdianhu_effect').contains(event.player)) return false; + if(!player.getStorage('gzdianhu_effect').includes(event.player)) return false; var source=event.source; return source&&source.isAlive()&&source.isFriendOf(player); }, @@ -1800,7 +1800,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ for(var i of evt.cards2){ list.add(get.suit(i,player)); } - cards=cards.filter(card=>!list.contains(get.suit(card,false))); + cards=cards.filter(card=>!list.includes(get.suit(card,false))); if(cards.length) player.gain(cards,'gain2'); }, ai:{ @@ -1834,7 +1834,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ else event.finish(); 'step 2' var next=player.chooseTarget('选择一名角色获得反伤效果','被选择的目标角色下次受到伤害后,其对伤害来源造成1点伤害;未被选择的目标角色下次受到伤害后,伤害来源弃置两张牌。',function(card,player,target){ - return _status.event.getParent().targets.contains(target); + return _status.event.getParent().targets.includes(target); }).set('ai',function(target){ return get.attitude(_status.event.player,target); }); @@ -1843,7 +1843,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ for(var target of targets){ player.addTempSkill('gzzhuihuan_timeout',{player:'phaseZhunbeiBegin'}); var id='gzzhuihuan_'+player.playerid; - if(result.targets.contains(target)){ + if(result.targets.includes(target)){ player.line(target,'fire'); target.addAdditionalSkill(id,'gzzhuihuan_damage'); } @@ -1946,8 +1946,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ player.chooseControl(list,'cancel2').set('prompt',get.prompt('gzzhenxi',target)).set('choiceList',choiceList).set('ai',function(){ var player=_status.event.player,trigger=_status.event.getTrigger(),list=_status.event.list; if(get.attitude(player,trigger.target)>0) return 'cancel2'; - if(list.contains('背水!')) return '背水!'; - if(list.contains('选项二')) return '选项二'; + if(list.includes('背水!')) return '背水!'; + if(list.includes('选项二')) return '选项二'; return '选项一'; }).set('list',list).set('hiddenSkill','gzzhenxi'); 'step 1' @@ -1980,7 +1980,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ prompt:'震袭', prompt2:'将一张♦非锦囊牌当做【乐不思蜀】或♣非锦囊牌当做【兵粮寸断】对'+get.translation(target)+'使用', filterCard:function(card,player){ - if(get.itemtype(card)!='card'||get.type2(card)=='trick'||!['diamond','club'].contains(get.suit(card))) return false; + if(get.itemtype(card)!='card'||get.type2(card)=='trick'||!['diamond','club'].includes(get.suit(card))) return false; var cardx={name:get.suit(card)=='diamond'?'lebu':'bingliang'}; return player.canUse(get.autoViewAs(cardx,[card]),_status.event.getParent().target,false); }, @@ -2180,8 +2180,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ limited:true, trigger:{source:'damageSource'}, filter:function(event,player){ - if(player.isUnseen(0)&&lib.character[player.name1][3].contains('gzyaowu')) return true; - if(player.isUnseen(1)&&lib.character[player.name2][3].contains('gzyaowu')) return true; + if(player.isUnseen(0)&&lib.character[player.name1][3].includes('gzyaowu')) return true; + if(player.isUnseen(1)&&lib.character[player.name2][3].includes('gzyaowu')) return true; return false; }, skillAnimation:true, @@ -2227,12 +2227,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ trigger:{player:'damageEnd'}, filter:function(event,player){ if(!event.card) return false; - if(player.awakenedSkills.contains('gzyaowu')) return event.source&&event.source.isIn()&&get.color(event.card)!='black'; + if(player.awakenedSkills.includes('gzyaowu')) return event.source&&event.source.isIn()&&get.color(event.card)!='black'; return get.color(event.card)!='red'; }, forced:true, logTarget:function(event,player){ - if(player.awakenedSkills.contains('gzyaowu')) return event.source; + if(player.awakenedSkills.includes('gzyaowu')) return event.source; return; }, content:function(){ @@ -2280,7 +2280,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var list2=[]; event.map={phaseJudge:'判定阶段',phaseDraw:'摸牌阶段',phaseUse:'出牌阶段',phaseDiscard:'弃牌阶段'}; for(var i of ['phaseJudge','phaseDraw','phaseUse','phaseDiscard']){ - if(!player.skipList.contains(i)){ + if(!player.skipList.includes(i)){ i=event.map[i]; list.push(i); if(i!='判定阶段'&&i!='弃牌阶段') list2.push(i); @@ -2292,11 +2292,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var att=get.attitude(target,player); var num=player.countCards('j'); if(att>0){ - if(list.contains('判定阶段')&&num>0) return '判定阶段'; + if(list.includes('判定阶段')&&num>0) return '判定阶段'; return '弃牌阶段'; } - if(list.contains('摸牌阶段')&&player.hasJudge('lebu')) return '摸牌阶段'; - if(list.contains('出牌阶段')&&player.hasJudge('bingliang')||player.needsToDiscard()>0) return '出牌阶段'; + if(list.includes('摸牌阶段')&&player.hasJudge('lebu')) return '摸牌阶段'; + if(list.includes('出牌阶段')&&player.hasJudge('bingliang')||player.needsToDiscard()>0) return '出牌阶段'; return list2.randomGet(); }()); 'step 5' @@ -2400,7 +2400,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ charlotte:true, popup:false, filter:function(event,player){ - return player.getStorage('gzmaihuo_effect').contains(event.player)&&event.player.canUse('sha',player,false); + return player.getStorage('gzmaihuo_effect').includes(event.player)&&event.player.canUse('sha',player,false); }, content:function(){ 'step 0' @@ -2465,7 +2465,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ enable:'phaseUse', preHidden:['gzzhaosong_dying','gzzhaosong_sha'], filter:function(event,player){ - return !player.getStorage('gzzhaosong').contains('效果②')&&game.hasPlayer((current)=>lib.skill.gzzhaosong.filterTarget(null,player,current)); + return !player.getStorage('gzzhaosong').includes('效果②')&&game.hasPlayer((current)=>lib.skill.gzzhaosong.filterTarget(null,player,current)); }, filterTarget:function(card,player,target){ return target!=player&&(target.isUnseen(2)||target.countCards('h')>0); @@ -2491,7 +2491,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ trigger:{global:'dying'}, logTarget:'player', filter:function(event,player){ - return !player.getStorage('gzzhaosong').contains('效果①')&&event.player.isDying()&&event.player.hp<=0; + return !player.getStorage('gzzhaosong').includes('效果①')&&event.player.isDying()&&event.player.hp<=0; }, prompt2:'令该角色回复至2点体力并摸一张牌', check:function(event,player){ @@ -2509,23 +2509,23 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ trigger:{global:'useCard2'}, direct:true, filter:function(event,player){ - if(event.card.name!='sha'||player.getStorage('gzzhaosong').contains('效果③')) return false; + if(event.card.name!='sha'||player.getStorage('gzzhaosong').includes('效果③')) return false; return game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.filterTarget(event.card,event.player,current); + return !event.targets.includes(current)&&lib.filter.filterTarget(event.card,event.player,current); }); }, content:function(){ 'step 0' player.chooseTarget([1,2],get.prompt('gzzhaosong'),'为'+get.translation(trigger.card)+'增加至多两个目标',function(card,player,target){ var event=_status.event.getTrigger(); - return !event.targets.contains(target)&&lib.filter.filterTarget(event.card,event.player,target); + return !event.targets.includes(target)&&lib.filter.filterTarget(event.card,event.player,target); }).set('ai',function(target){ var event=_status.event.getTrigger(); return get.effect(target,event.card,event.player,_status.event.player); }).set('goon',game.countPlayer(function(current){ - return !trigger.targets.contains(current)&&lib.filter.filterTarget(trigger.card,trigger.player,current)&&get.effect(current,trigger.card,trigger.player,player)>0; + return !trigger.targets.includes(current)&&lib.filter.filterTarget(trigger.card,trigger.player,current)&&get.effect(current,trigger.card,trigger.player,player)>0; })>=Math.min(2,game.countPlayer(function(current){ - return !trigger.targets.contains(current)&&lib.filter.filterTarget(trigger.card,trigger.player,current); + return !trigger.targets.includes(current)&&lib.filter.filterTarget(trigger.card,trigger.player,current); }))).setHiddenSkill('gzzhaosong_sha'); 'step 1' if(result.bool){ @@ -2565,7 +2565,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ audio:'xuanbei', trigger:{player:'showCharacterAfter'}, filter:function(event,player){ - return !player.storage.gzxuanbei&&event.toShow.contains('gz_yangyan'); + return !player.storage.gzxuanbei&&event.toShow.includes('gz_yangyan'); }, forced:true, locked:false, @@ -2575,7 +2575,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var cards=[]; while(cards.length<2){ var card=get.cardPile2(function(card){ - if(cards.contains(card)) return false; + if(cards.includes(card)) return false; return card.hasTag('lianheng')||get.is.yingbian(card); }); if(!card) break; @@ -2709,12 +2709,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ var stat=player.getStat('sanchen'); return game.hasPlayer(function(current){ - return (!stat||!stat.contains(current)); + return (!stat||!stat.includes(current)); }); }, filterTarget:function(card,player,target){ var stat=player.getStat('sanchen'); - return (!stat||!stat.contains(target)); + return (!stat||!stat.includes(target)); }, content:function(){ 'step 0' @@ -2728,7 +2728,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var list=ui.selected.cards.map(function(i){ return get.type2(i); }); - if(!list.contains(get.type2(card))) return 7-get.value(card); + if(!list.includes(get.type2(card))) return 7-get.value(card); return -get.value(card); }); 'step 2' @@ -2825,7 +2825,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var list1=['wei','shu','wu','qun','jin'],list2=['gzqice','tiaoxin','gzzhiheng','new_chuli','gzsanchen']; var skills=[]; for(var i=0;i0) return 'cancel2'; var list=['basic','trick','equip'].filter(function(name){ - return (!source.storage.jilei2||!source.storage.jilei2.contains(name)); + return (!source.storage.jilei2||!source.storage.jilei2.includes(name)); }); if(!list.length) return 'cancel2'; - if(list.contains('trick')&&source.countCards('h',function(card){ + if(list.includes('trick')&&source.countCards('h',function(card){ return get.type(card,source)=='trick'&&source.hasValueTarget(card); })>1) return 'trick'; return list[0]; @@ -3335,7 +3335,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ trigger:{player:'showCharacterAfter'}, forced:true, filter:function(event,player){ - return event.toShow.contains('gz_liaohua')&&!player.storage.gzdangxian_draw; + return event.toShow.includes('gz_liaohua')&&!player.storage.gzdangxian_draw; }, content:function(){ player.storage.gzdangxian_draw=true; @@ -3600,7 +3600,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(event.card.name!='juedou'||!event.card.isCard) return false; if(event.targets){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current); })){ return true; } @@ -3610,12 +3610,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' var num=game.countPlayer(function(current){ - return !trigger.targets.contains(current)&&lib.filter.targetEnabled2(trigger.card,player,current); + return !trigger.targets.includes(current)&&lib.filter.targetEnabled2(trigger.card,player,current); }); player.chooseTarget('无双:是否为'+get.translation(trigger.card)+'增加'+(num>1?'至多两个':'一个')+'目标?',[1,Math.min(2,num)],function(card,player,target){ var trigger=_status.event.getTrigger(); var card=trigger.card; - return !trigger.targets.contains(target)&&lib.filter.targetEnabled2(card,player,target); + return !trigger.targets.includes(target)&&lib.filter.targetEnabled2(card,player,target); }).set('ai',function(target){ var player=_status.event.player; var card=_status.event.getTrigger().card; @@ -4070,8 +4070,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ logTarget:'player', content:function(){ var list=[],target=trigger.player; - if(target.name1&&target.name1.indexOf('gz_shibing')!=0&&_status.characterlist.contains(target.name1)) list.push(target.name1); - if(target.name2&&target.name2.indexOf('gz_shibing')!=0&&_status.characterlist.contains(target.name1)) list.push(target.name2); + if(target.name1&&target.name1.indexOf('gz_shibing')!=0&&_status.characterlist.includes(target.name1)) list.push(target.name1); + if(target.name2&&target.name2.indexOf('gz_shibing')!=0&&_status.characterlist.includes(target.name1)) list.push(target.name2); _status.characterlist.removeArray(list); if(player==trigger.source) list.addArray(_status.characterlist.randomRemove(2)); if(list.length){ @@ -4213,7 +4213,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ trigger:{source:'damageBegin1'}, forced:true, filter:function(event,player){ - return player.getStorage('gzxiongnve_effect0').contains(event.player.identity); + return player.getStorage('gzxiongnve_effect0').includes(event.player.identity); }, logTarget:'player', content:function(){ @@ -4231,7 +4231,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ trigger:{source:'damageEnd'}, forced:true, filter:function(event,player){ - return player.getStorage('gzxiongnve_effect1').contains(event.player.identity)&&event.player.countGainableCards(player,'he')>0; + return player.getStorage('gzxiongnve_effect1').includes(event.player.identity)&&event.player.countGainableCards(player,'he')>0; }, logTarget:'player', content:function(){ @@ -4247,7 +4247,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }, mod:{ cardUsableTarget:function(card,player,target){ - if(player.getStorage('gzxiongnve_effect2').contains(target.identity)) return true; + if(player.getStorage('gzxiongnve_effect2').includes(target.identity)) return true; }, }, }, @@ -4436,7 +4436,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ silent:true, firstDo:true, filter:function(event,player){ - return player.getStorage('huoshui_norespond').contains(event.card); + return player.getStorage('huoshui_norespond').includes(event.card); }, content:function(){ player.unmarkAuto('huoshui_norespond',[trigger.card]); @@ -4563,7 +4563,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(player.hasSkill('gzfangyuan')){ if(list.length==1) event._result={bool:true,targets:list}; else player.chooseTarget('方圆:视为对一名围攻你的角色使用【杀】',function(card,player,target){ - return _status.event.list.contains(target); + return _status.event.list.includes(target); },true).set('list',list).set('ai',function(target){ var player=_status.event.player; return get.effect(target,{name:'sha',isCard:true},player,player); @@ -4571,7 +4571,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } else{ player.chooseTarget(get.prompt('gzfangyuan'),'视为对一名围攻你的角色使用【杀】',function(card,player,target){ - return _status.event.list.contains(target); + return _status.event.list.includes(target); }).set('list',list).set('ai',function(target){ var player=_status.event.player; return get.effect(target,{name:'sha',isCard:true},player,player); @@ -4696,7 +4696,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }); if(sha.length){ var next=player.chooseTarget('请选择'+get.translation(target)+'使用雷【杀】的目标',function(card,player,target){ - return _status.event.list.contains(target); + return _status.event.list.includes(target); }); next.set('prompt2','或点「取消」令其回复1点体力'); next.set('goon',get.recoverEffect(target,player,player)); @@ -4768,7 +4768,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(arg.card.cards) cards.addArray(arg.card.cards); cards.addArray(ui.selected.cards); var hhs=function(card){ - return !cards.contains(card); + return !cards.includes(card); }; var hs=player.countCards('h',hhs); for(var i of list){ @@ -4796,7 +4796,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(arg.card.cards) cards.addArray(arg.card.cards); cards.addArray(ui.selected.cards); var hhs=function(card){ - return !cards.contains(card); + return !cards.includes(card); }; var hs=player.countCards('h',hhs); for(var i of list){ @@ -4885,8 +4885,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ event.num++; if(event.num0; @@ -5764,7 +5764,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(info.allowMultiple==false) return false; if(event.targets&&!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(event.card,player,current)&&lib.filter.targetInRange(event.card,player,current); })){ return true; } @@ -5776,12 +5776,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var prompt2='为'+get.translation(trigger.card)+'增加或减少一个目标' player.chooseTarget(get.prompt('gzzhuosheng2'),function(card,player,target){ var player=_status.event.player; - if(_status.event.targets.contains(target)) return true; + if(_status.event.targets.includes(target)) return true; return lib.filter.targetEnabled2(_status.event.card,player,target)&&lib.filter.targetInRange(_status.event.card,player,target); }).set('prompt2',prompt2).set('ai',function(target){ var trigger=_status.event.getTrigger(); var player=_status.event.player; - return get.effect(target,trigger.card,player,player)*(_status.event.targets.contains(target)?-1:1); + return get.effect(target,trigger.card,player,player)*(_status.event.targets.includes(target)?-1:1); }).set('targets',trigger.targets).set('card',trigger.card); 'step 1' if(result.bool){ @@ -5794,7 +5794,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ 'step 2' if(event.targets){ player.logSkill('gzzhuosheng2',event.targets); - if(trigger.targets.contains(event.targets[0])) trigger.targets.removeArray(event.targets); + if(trigger.targets.includes(event.targets[0])) trigger.targets.removeArray(event.targets); else trigger.targets.addArray(event.targets); } }, @@ -5843,7 +5843,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(get.name(card)!='sha') return false; return lib.filter.filterCard.apply(this,arguments); },'诛害:是否对'+get.translation(trigger.player)+'使用一张杀?').set('logSkill','gzzhuhai').set('complexSelect',true).set('filterTarget',function(card,player,target){ - if(target!=_status.event.sourcex&&!ui.selected.targets.contains(_status.event.sourcex)) return false; + if(target!=_status.event.sourcex&&!ui.selected.targets.includes(_status.event.sourcex)) return false; return lib.filter.targetEnabled.apply(this,arguments); }).set('sourcex',trigger.player).setHiddenSkill(event.name); player.addTempSkill('gzzhuhai2'); @@ -5904,7 +5904,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }, filterCard:true, filterTarget:function(card,player,target){ - return _status.event.quanjin_list.contains(target); + return _status.event.quanjin_list.includes(target); }, discard:false, lose:false, @@ -6035,7 +6035,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ charlotte:true, mod:{ globalFrom:function(player,target){ - if(player.getStorage('zaoyun2').contains((target))) return -Infinity; + if(player.getStorage('zaoyun2').includes((target))) return -Infinity; }, }, }, @@ -6131,7 +6131,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ popup:false, forced:true, filter:function(event,player){ - return event.gzyjili&&event.gzyjili.contains(player)&&!event.addedTarget&&event.player + return event.gzyjili&&event.gzyjili.includes(player)&&!event.addedTarget&&event.player &&event.player.isAlive()&&event.player.canUse({ name:event.card.name, nature:event.card.nature, @@ -6726,7 +6726,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ return player.getHistory('lose',function(evt2){ if(evt2.getParent()!=evt) return false; for(var i in evt2.gaintag_map){ - if(evt2.gaintag_map[i].contains('liangfan')) return true; + if(evt2.gaintag_map[i].includes('liangfan')) return true; } return false; }).length>0; @@ -6822,7 +6822,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ return player.getHistory('lose',function(evt){ if(evt.getParent()!=event) return false; for(var i in evt.gaintag_map){ - if(evt.gaintag_map[i].contains('gzwenji')) return true; + if(evt.gaintag_map[i].includes('gzwenji')) return true; } return false; }).length>0; @@ -6858,7 +6858,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ return player.getHistory('useCard',function(evt){ if(evt.targets&&evt.targets.length&&evt.isPhaseUsing()){ var targets=evt.targets.slice(0); - while(targets.contains(player)) targets.remove(player); + while(targets.includes(player)) targets.remove(player); return targets.length>0; } return false; @@ -6962,7 +6962,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var target=event.player; return event.isFirstTarget&&target.isFriendOf(player)&& target.isPhaseUsing()&&(target==player||player.hasSkill('gzmidao'))&& - (['basic','trick'].contains(get.type(event.card))&&get.tag(event.card,'damage')>0)&& + (['basic','trick'].includes(get.type(event.card))&&get.tag(event.card,'damage')>0)&& event.cards&&event.cards.length&&!target.hasSkill('gzmidao2'); }, preHidden:true, @@ -7249,7 +7249,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ audio:2, hiddenCard:function(player,name){ var storage=player.storage.yigui; - if(name=='shan'||name=='wuxie'||!storage||!storage.character.length||storage.used.contains(name)||!lib.inpile.contains(name)) return false; + if(name=='shan'||name=='wuxie'||!storage||!storage.character.length||storage.used.includes(name)||!lib.inpile.includes(name)) return false; return true; }, init:function(player,skill){ @@ -7264,15 +7264,15 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var storage=player.storage.yigui; if(!storage||!storage.character.length) return false; if(event.type=='dying'){ - if((!event.filterCard({name:'tao'},player,event)||storage.used.contains('tao'))&& - (!event.filterCard({name:'jiu'},player,event)||storage.used.contains('jiu'))) return false; + if((!event.filterCard({name:'tao'},player,event)||storage.used.includes('tao'))&& + (!event.filterCard({name:'jiu'},player,event)||storage.used.includes('jiu'))) return false; var target=event.dying; if(target.identity=='unknown'||target.identity=='ye') return true; for(var i=0;i0 }, - filterTarget:function(card,player,target){return target!=player&&player.storage.gzweidi.contains(target)}, + filterTarget:function(card,player,target){return target!=player&&player.storage.gzweidi.includes(target)}, content:function(){ 'step 0' player.chooseJunlingFor(target); @@ -7960,7 +7960,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ trigger:{global:'gainBefore'}, silent:true, filter:function(event,player){ - if(player==event.player||player.storage.gzweidi.contains(event.player)||_status.currentPhase!=player) return false; + if(player==event.player||player.storage.gzweidi.includes(event.player)||_status.currentPhase!=player) return false; if(event.cards.length){ if(event.getParent().name=='draw') return true; for(var i=0;i1) rank=4; - if(skills.contains('gzjieyue')&&player.countCards('h',function(card){ + if(skills.includes('gzjieyue')&&player.countCards('h',function(card){ return get.value(card)<7; })>1) rank=5; - if(skills.contains('qiaobian')&&player.countCards('h')>4) rank=6; + if(skills.includes('qiaobian')&&player.countCards('h')>4) rank=6; if((get.guozhanRank(player.name1,player)3) return 'qiaobian'; - if(skills.contains('gzjieyue')&&player.countCards('h',function(card){ + if(skills.includes('qiaobian')&&player.countCards('h')>3) return 'qiaobian'; + if(skills.includes('gzjieyue')&&player.countCards('h',function(card){ return get.value(card)<7; })) return 'gzjieyue'; - if(skills.contains('new_retuxi')) return 'new_retuxi'; + if(skills.includes('new_retuxi')) return 'new_retuxi'; return skills.randomGet(); }).set("prompt","选择获得其中的一个技能直到君主的回合开始"); 'step 4' @@ -8321,7 +8321,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ trigger:{player:'equipAfter'}, forced:true, filter:function(event,player){ - if(!['equip3','equip4'].contains(get.subtype(event.card))) return false; + if(!['equip3','equip4'].includes(get.subtype(event.card))) return false; for(var i=0;i1; }, check:function(card){ @@ -10017,7 +10017,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }, charlotte:true, skillBlocker:function(skill,player){ - return lib.character[player.name1][3].contains(skill)&&!lib.skill[skill].charlotte&&!get.is.locked(skill,player); + return lib.character[player.name1][3].includes(skill)&&!lib.skill[skill].charlotte&&!get.is.locked(skill,player); }, mark:true, marktext:'主', @@ -10040,7 +10040,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }, charlotte:true, skillBlocker:function(skill,player){ - return lib.character[player.name2][3].contains(skill)&&!lib.skill[skill].charlotte&&!get.is.locked(skill,player); + return lib.character[player.name2][3].includes(skill)&&!lib.skill[skill].charlotte&&!get.is.locked(skill,player); }, mark:true, marktext:'副', @@ -10249,14 +10249,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var skillv=lib.character[player.name2][3]; if(player.isUnseen(0)){ for(var i=0;i=lib.suit.length) return false; return player.isFriendOf(event.player)&&player.hasCard(function(card){ if(_status.connectMode&&get.position(card)=='h') return true; - return !suits.contains(get.suit(card)); + return !suits.includes(get.suit(card)); },'he'); }, direct:true, @@ -10627,7 +10627,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ suits.add(get.suit(cards[i])); } player.chooseCard('he',get.prompt2('qianhuan'),function(card){ - return !_status.event.suits.contains(get.suit(card)); + return !_status.event.suits.includes(get.suit(card)); }).set('ai',function(card){ return 9-get.value(card); }).set('suits',suits).setHiddenSkill('qianhuan'); @@ -10642,7 +10642,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ use:{ trigger:{global:'useCardToTarget'}, filter:function(event,player){ - if(!['basic','trick'].contains(get.type(event.card,'trick'))) return false; + if(!['basic','trick'].includes(get.type(event.card,'trick'))) return false; return event.target&&player.isFriendOf(event.target)&&event.targets.length==1&&player.getExpansions('qianhuan').length; }, direct:true, @@ -10650,7 +10650,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ 'step 0' var goon=get.effect(trigger.target,trigger.card,trigger.player,player)<0; if(goon){ - if(['tiesuo','diaohulishan','lianjunshengyan','zhibi','chiling','lulitongxin'].contains(trigger.card.name)){ + if(['tiesuo','diaohulishan','lianjunshengyan','zhibi','chiling','lulitongxin'].includes(trigger.card.name)){ goon=false; } else if(trigger.card.name=='sha'){ @@ -11002,7 +11002,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ player.chooseControl(list).set('prompt',get.translation('yuanjiangfenghuotu')). set('prompt2',prompt2).set('centerprompt2',true).set('ai',function(evt,player){ var controls=_status.event.controls; - if(controls.contains('haoshi')){ + if(controls.includes('haoshi')){ var nh=player.countCards('h'); if(player.hasSkill('reyingzi')){ if(nh==0) return 'haoshi'; @@ -11011,13 +11011,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(nh<=1) return 'haoshi'; } } - if(controls.contains('shelie')){ + if(controls.includes('shelie')){ return 'shelie'; } - if(controls.contains('reyingzi')){ + if(controls.includes('reyingzi')){ return 'reyingzi'; } - if(controls.contains('duoshi')){ + if(controls.includes('duoshi')){ return 'duoshi'; } return controls.randomGet(); @@ -11136,7 +11136,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ return lib.filter.filterCard(card,player,_status.event.getParent()); }, check:function(button){ - if(['chiling','xietianzi','tiesuo','lulitongxin','diaohulishan','jiedao'].contains(button.link[2])) return 0; + if(['chiling','xietianzi','tiesuo','lulitongxin','diaohulishan','jiedao'].includes(button.link[2])) return 0; return _status.event.player.getUseValue(button.link[2]); }, backup:function(links,player){ @@ -11200,7 +11200,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ return event.player.getHistory('useCard',function(evt){ if(evt.targets){ var targets=evt.targets.slice(0); - while(targets.contains(event.player)) targets.remove(event.player); + while(targets.includes(event.player)) targets.remove(event.player); return targets.length!=0; } return false; @@ -11330,7 +11330,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ for(var i=0;i0; } @@ -11520,7 +11520,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var list=[]; var skills=target.getOriginalSkills(); for(var i=0;i1){ var skills=target.getOriginalSkills(); for(var i=0;idouble.contains(group)); - return doublex.contains(group2); + if(double) return doublex.some(group=>double.includes(group)); + return doublex.includes(group2); } else{ if(group1=='ye') return group2!='ye'; var double=get.is.double(name2,true); - if(double) return double.contains(group1); + if(double) return double.includes(group1); return group1==group2; } }; @@ -13743,8 +13743,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ player.init(mainx,vicex,false); if(get.is.double(mainx,true)){ if(!get.is.double(vicex,true)) player.trueIdentity=lib.character[vicex][1]; - else if(get.is.double(mainx,true).removeArray(get.is.double(vicex,true)).length==0||get.is.double(vicex,true).removeArray(get.is.double(mainx,true)).length==0) player.trueIdentity=get.is.double(vicex,true).filter(group=>get.is.double(mainx,true).contains(group)).randomGet(); - else player.trueIdentity=get.is.double(mainx,true).find(group=>get.is.double(vicex,true).contains(group)); + else if(get.is.double(mainx,true).removeArray(get.is.double(vicex,true)).length==0||get.is.double(vicex,true).removeArray(get.is.double(mainx,true)).length==0) player.trueIdentity=get.is.double(vicex,true).filter(group=>get.is.double(mainx,true).includes(group)).randomGet(); + else player.trueIdentity=get.is.double(mainx,true).find(group=>get.is.double(vicex,true).includes(group)); } else if(lib.character[mainx][1]=='ye'&&get.is.double(vicex,true)) player.trueIdentity=get.is.double(vicex,true).randomGet(); if(back){ @@ -13821,13 +13821,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ event.list=[]; for(i in lib.character){ if(i.indexOf('gz_shibing')==0) continue; - if(chosen.contains(i)) continue; + if(chosen.includes(i)) continue; if(lib.filter.characterDisabled(i)) continue; if(get.config('onlyguozhan')){ if(!lib.characterGuozhanFilter.some(pack=>lib.characterPack[pack][i])) continue; if(get.is.jun(i)) continue; } - if(lib.character[i][4].contains('hiddenSkill')) continue; + if(lib.character[i][4].includes('hiddenSkill')) continue; if(lib.character[i][2]==3||lib.character[i][2]==4||lib.character[i][2]==5) event.list.push(i); } @@ -13874,7 +13874,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } } } - if(lib.character[button.link][4].contains('hiddenSkill')) return false; + if(lib.character[button.link][4].includes('hiddenSkill')) return false; var filterChoice=function(name1,name2){ if(_status.separatism) return true; var group1=lib.character[name1][1]; @@ -13882,13 +13882,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var doublex=get.is.double(name1,true); if(doublex){ var double=get.is.double(name2,true); - if(double) return doublex.some(group=>double.contains(group)); - return doublex.contains(group2); + if(double) return doublex.some(group=>double.includes(group)); + return doublex.includes(group2); } else{ if(group1=='ye') return group2!='ye'; var double=get.is.double(name2,true); - if(double) return double.contains(group1); + if(double) return double.includes(group1); return group1==group2; } }; @@ -14005,8 +14005,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ event.choosen=[name1,name2]; if(get.is.double(name1,true)){ if(!get.is.double(name2,true)) event._result={control:lib.character[name2][1]}; - else if(get.is.double(name1,true).removeArray(get.is.double(name2,true)).length==0||get.is.double(name2,true).removeArray(get.is.double(name1,true)).length==0) game.me.chooseControl(get.is.double(name2,true).filter(group=>get.is.double(name1,true).contains(group))).set('prompt','请选择你代表的势力').set('ai',()=>_status.event.controls.randomGet()); - else event._result={control:get.is.double(name1,true).find(group=>get.is.double(name2,true).contains(group))}; + else if(get.is.double(name1,true).removeArray(get.is.double(name2,true)).length==0||get.is.double(name2,true).removeArray(get.is.double(name1,true)).length==0) game.me.chooseControl(get.is.double(name2,true).filter(group=>get.is.double(name1,true).includes(group))).set('prompt','请选择你代表的势力').set('ai',()=>_status.event.controls.randomGet()); + else event._result={control:get.is.double(name1,true).find(group=>get.is.double(name2,true).includes(group))}; } else if(lib.character[name1][1]=='ye'&&get.is.double(name2,true)) game.me.chooseControl(get.is.double(name2,true)).set('prompt','请选择副将代表的势力').set('ai',()=>_status.event.controls.randomGet()); } @@ -14074,7 +14074,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ for(var i in lib.characterPack.mode_guozhan){ if(i.indexOf('gz_shibing')==0) continue; if(get.is.jun(i)) continue; - if(lib.config.guozhan_banned&&lib.config.guozhan_banned.contains(i)) continue; + if(lib.config.guozhan_banned&&lib.config.guozhan_banned.includes(i)) continue; list.push(i); } _status.characterlist=list.slice(0); @@ -14112,13 +14112,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var doublex=get.is.double(name1,true); if(doublex){ var double=get.is.double(name2,true); - if(double) return doublex.some(group=>double.contains(group)); - return doublex.contains(group2); + if(double) return doublex.some(group=>double.includes(group)); + return doublex.includes(group2); } else{ if(group1=='ye') return group2!='ye'; var double=get.is.double(name2,true); - if(double) return double.contains(group1); + if(double) return double.includes(group1); return group1==group2; } }; @@ -14148,13 +14148,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var doublex=get.is.double(name1,true); if(doublex){ var double=get.is.double(name2,true); - if(double) return doublex.some(group=>double.contains(group)); - return doublex.contains(group2); + if(double) return doublex.some(group=>double.includes(group)); + return doublex.includes(group2); } else{ if(group1=='ye') return group2!='ye'; var double=get.is.double(name2,true); - if(double) return double.contains(group1); + if(double) return double.includes(group1); return group1==group2; } }; @@ -14211,7 +14211,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ chosen.push(lib.playerOL[i]); chosenCharacter.push([name1,name2]); } - else lib.playerOL[i].trueIdentity=get.is.double(name1,true).find(group=>get.is.double(name2,true).contains(group)); + else lib.playerOL[i].trueIdentity=get.is.double(name1,true).find(group=>get.is.double(name2,true).includes(group)); } else if(lib.character[name1][1]=='ye'&&get.is.double(name2,true)){ chosen.push(lib.playerOL[i]); @@ -14224,7 +14224,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var name1=chosenCharacter[i][0],name2=chosenCharacter[i][1],str,choice; if(get.is.double(name1,true)){ str='请选择你代表的势力'; - choice=get.is.double(name2,true).filter(group=>get.is.double(name1,true).contains(group)); + choice=get.is.double(name2,true).filter(group=>get.is.double(name1,true).includes(group)); } if(lib.character[name1][1]=='ye'){ str='请选择你的副将代表的势力'; @@ -14313,7 +14313,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var str='每局游戏每项限一次。'; var list2=['①一名角色进入濒死状态时,你可以令其回复至2点体力并摸一张牌。','②出牌阶段,你可观看一名其他角色的所有暗置武将牌和手牌,然后可以获得其区域内的一张牌。','③一名角色使用【杀】选择唯一目标后,你可以为此【杀】增加两个目标。']; for(var i=0;i<3;i++){ - var bool=storage.contains(list1[i]); + var bool=storage.includes(list1[i]); if(bool) str+=''; str+=list2[i]; if(bool) str+=''; @@ -14321,7 +14321,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ return str; }, gzshiyong:function(player){ - return player.awakenedSkills.contains('gzyaowu')?lib.translate.gzshiyongx_info:lib.translate.gzshiyong_info; + return player.awakenedSkills.includes('gzyaowu')?lib.translate.gzshiyongx_info:lib.translate.gzshiyong_info; }, }, translate:{ @@ -15493,7 +15493,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(group==group2) goon=true; else{ var double=get.is.double(_status.characterlist[i],true); - if(double&&double.contains(group)) goon=true; + if(double&&double.includes(group)) goon=true; } } if(goon){ @@ -15526,7 +15526,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ player.showCharacter(2); if(!event.num) event.num=3; var group=player.identity; - if(!lib.group.contains(group)) group=lib.character[player.name1][1]; + if(!lib.group.includes(group)) group=lib.character[player.name1][1]; _status.characterlist.randomSort(); event.tochange=[] for(var i=0;i<_status.characterlist.length;i++){ @@ -15539,7 +15539,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(group==group2) goon=true; else{ var double=get.is.double(_status.characterlist[i],true); - if(double&&double.contains(group)) goon=true; + if(double&&double.includes(group)) goon=true; } } if(goon){ @@ -15638,7 +15638,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ mayChangeVice:function(repeat,hidden){ if(!_status.changedSkills) _status.changedSkills={}; var skill=_status.event.name; - if(repeat||!_status.changedSkills[this.playerid]||!_status.changedSkills[this.playerid].contains(skill)){ + if(repeat||!_status.changedSkills[this.playerid]||!_status.changedSkills[this.playerid].includes(skill)){ var next=game.createEvent('mayChangeVice'); next.setContent('mayChangeVice'); next.player=this; @@ -15650,8 +15650,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }, differentIdentityFrom:function(target,self){ if(this==target) return false; - if(this.getStorage('yexinjia_friend').contains(target)) return false; - if(target.getStorage('yexinjia_friend').contains(this)) return false; + if(this.getStorage('yexinjia_friend').includes(target)) return false; + if(target.getStorage('yexinjia_friend').includes(this)) return false; if(self){ if(target.identity=='unknown') return false; if(target.identity=='ye'||this.identity=='ye') return true; @@ -15668,8 +15668,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ return this.identity!=target.identity; }, sameIdentityAs:function(target,shown){ - if(this.getStorage('yexinjia_friend').contains(target)) return true; - if(target.getStorage('yexinjia_friend').contains(this)) return true; + if(this.getStorage('yexinjia_friend').includes(target)) return true; + if(target.getStorage('yexinjia_friend').includes(this)) return true; if(shown){ if(this.identity=='ye'||this.identity=='unknown') return false; } @@ -15730,11 +15730,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ })); } else if(that.identity=='ye'){ - if(that.getStorage('yexinjia_friend').contains(source)||source.getStorage('yexinjia_friend').contains(that)) source.discard(source.getCards('he')); + if(that.getStorage('yexinjia_friend').includes(source)||source.getStorage('yexinjia_friend').includes(that)) source.discard(source.getCards('he')); else source.draw(1+game.countPlayer(function(current){ if(current==that) return false; - if(current.getStorage('yexinjia_friend').contains(that)) return true; - if(that.getStorage('yexinjia_friend').contains(current)) return true; + if(current.getStorage('yexinjia_friend').includes(that)) return true; + if(that.getStorage('yexinjia_friend').includes(current)) return true; return false; })); } @@ -15796,7 +15796,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }) }, checkViceSkill:function(skill,disable){ - if(game.expandSkills(lib.character[this.name2][3].slice(0)).contains(skill)){ + if(game.expandSkills(lib.character[this.name2][3].slice(0)).includes(skill)){ return true; } else{ @@ -15807,7 +15807,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } }, checkMainSkill:function(skill,disable){ - if(game.expandSkills(lib.character[this.name1][3].slice(0)).contains(skill)){ + if(game.expandSkills(lib.character[this.name1][3].slice(0)).includes(skill)){ return true; } else{ @@ -15868,13 +15868,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ case 1:player.classList.add('unseen2');break; } for(var i=0;i=0.5) return att*to.ai.shown; diff --git a/mode/identity.js b/mode/identity.js index 4942b5b32..390a9a451 100644 --- a/mode/identity.js +++ b/mode/identity.js @@ -27,7 +27,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }; for(var i=0;i=3&&from.identity=='fan')?2.9:-2.9)) - if(from==to||to.identityShown||((stratagem_expose&&stratagem_expose.contains(to))||(zhibi&&zhibi.contains(to)))&&!to.ai.stratagemCamouflage) return real*1.1; + if(to.ai.shown) return to.ai.shown*(real+(from.identity==to.identity||from.identity=='zhu'&&to.identity=='zhong'||from.identity=='zhong'&&to.identity=='zhu'||from.identity=='nei'&&to.identity=='zhu'&&get.situation()<=1||(to.identity=='nei'&&get.situation()<=0&&['zhu','zhong'].includes(from.identity)||get.situation()>=3&&from.identity=='fan')?2.9:-2.9)) + if(from==to||to.identityShown||((stratagem_expose&&stratagem_expose.includes(to))||(zhibi&&zhibi.includes(to)))&&!to.ai.stratagemCamouflage) return real*1.1; if(from.identity=='nei'&&to.ai.stratagemCamouflage) return real*1.1; if(to.identity=='nei'){ if(from.identity=='fan'){ @@ -3186,16 +3186,16 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(zhibi){ var dead=game.dead.slice(); for(var current of dead){ - if(from.storage.zhibi.contains(current)&¤t.ai.stratagemCamouflage){ - if(from.storage.stratagem_expose&&from.storage.stratagem_expose.contains(to)) return -7; + if(from.storage.zhibi.includes(current)&¤t.ai.stratagemCamouflage){ + if(from.storage.stratagem_expose&&from.storage.stratagem_expose.includes(to)) return -7; } } - if(zhibi.contains(to)) return 3; + if(zhibi.includes(to)) return 3; } } } } - if(to.identity=='fan'&&from.identity=='nei'&&zhibi.contains(game.zhu)&&game.players.filter(i=>i!=from&&!zhibi.contains(i)).map(i=>i.identity).reduce((p,c)=>(!p.contains(c)?(p.push(c)&&p):p),[]).length==1) return real; + if(to.identity=='fan'&&from.identity=='nei'&&zhibi.includes(game.zhu)&&game.players.filter(i=>i!=from&&!zhibi.includes(i)).map(i=>i.identity).reduce((p,c)=>(!p.includes(c)?(p.push(c)&&p):p),[]).length==1) return real; for(var fan of game.dead){ if(fan.identity!='fan'||!fan.storage.stratagem_revitalization) continue; for(var current of fan.storage.stratagem_expose){ @@ -3208,26 +3208,26 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(from.ai.stratagemCamouflage){ var zhu=game.zhu&&game.zhu.isZhu&&game.zhu.identityShown?game.zhu:undefined; if(zhu){ - if(zhu.storage.stratagem_expose&&zhu.storage.stratagem_expose.contains(to)) return 0; + if(zhu.storage.stratagem_expose&&zhu.storage.stratagem_expose.includes(to)) return 0; } - if(zhibi&&zhibi.contains(to)) return -7; + if(zhibi&&zhibi.includes(to)) return -7; } if(to.ai.stratagemCamouflage){ var zhu=game.zhu&&game.zhu.isZhu&&game.zhu.identityShown?game.zhu:undefined; if(zhu){ - if(zhu.storage.stratagem_expose&&zhu.storage.stratagem_expose.contains(to)) return 0; + if(zhu.storage.stratagem_expose&&zhu.storage.stratagem_expose.includes(to)) return 0; } - if(zhibi&&zhibi.contains(to)) return -7; + if(zhibi&&zhibi.includes(to)) return -7; } } - if(from.identity!='nei'&&zhibi&&zhibi.contains(to)&&!to.identityShown&&(followCamouflage&&to.ai.stratagemCamouflage)) return -5; - if(from.identity!='nei'&&stratagem_expose&&stratagem_expose.contains(to)&&!to.identityShown) return -5; + if(from.identity!='nei'&&zhibi&&zhibi.includes(to)&&!to.identityShown&&(followCamouflage&&to.ai.stratagemCamouflage)) return -5; + if(from.identity!='nei'&&stratagem_expose&&stratagem_expose.includes(to)&&!to.identityShown) return -5; if(zhibi){ for(var to2 of zhibi){ if(to2.storage.stratagem_expose){ if(to2.ai.stratagemCamouflage){ for(var to3 of to2.storage.stratagem_expose){ - if(zhibi.slice().addArray(stratagem_expose).contains(to3)){ + if(zhibi.slice().addArray(stratagem_expose).includes(to3)){ if(to==to2){ return real; } @@ -3237,7 +3237,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } }else{ for(var to3 of to2.storage.stratagem_expose){ - if(!zhibi.slice().addArray(stratagem_expose).contains(to3)&&to==to3){ + if(!zhibi.slice().addArray(stratagem_expose).includes(to3)&&to==to3){ return get.rawAttitude(to3,to)*Math.sign(real); } } @@ -3250,12 +3250,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ //正常身份模式态度 var difficulty=0; if(to==game.me) difficulty=2-get.difficulty(); - if(from==to||to.identityShown||(from.storage.dongcha==to)||to.identityShown||from.storage.zhibi&&from.storage.zhibi.contains(to)){ + if(from==to||to.identityShown||(from.storage.dongcha==to)||to.identityShown||from.storage.zhibi&&from.storage.zhibi.includes(to)){ return get.realAttitude(from,to)+difficulty*1.5; } else{ if(from.identity=='zhong'&&to.ai.shown==0&&from.ai.tempIgnore&& - !from.ai.tempIgnore.contains(to)){ + !from.ai.tempIgnore.includes(to)){ for(var i=0;i0) return 0; return -5; case 'fan': @@ -3654,7 +3654,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ return num; case 'nei': if(from==to) return 10; - if(from.ai.friend.contains(to)) return 5; + if(from.ai.friend.includes(to)) return 5; if(get.population('fan')+get.population('zhong')>0) return 0; return -5; case 'fan': diff --git a/mode/single.js b/mode/single.js index 418a4c506..7e20a93ce 100644 --- a/mode/single.js +++ b/mode/single.js @@ -350,7 +350,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } _status.characterlist=list; var filter=function(name){ - return !_status.characterlist.contains(name); + return !_status.characterlist.includes(name); }; var dialog=ui.create.characterDialog('heightset',filter).open(); dialog.videoId=event.videoId; @@ -408,7 +408,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ "step 2" var next=game.fan.chooseButton(true,1); next.filterButton=function(button){ - return _status.event.canChoose.contains(button.link); + return _status.event.canChoose.includes(button.link); }; next.set('onfree',true); next.dialog=event.videoIdx; @@ -428,7 +428,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } dialog.content.firstChild.innerHTML=choosing+'选择了'+get.translation(link); for(var i=0;i=8&&j!=0&&j!=ui.chesswidth-1) continue; - if(tafanglist.contains(j)){ + if(tafanglist.includes(j)){ var cg=i*ui.chesswidth+j; grids.remove(cg); game.addObstacle(cg.toString(),false); @@ -222,9 +222,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ for(i in lib.character){ if(i.indexOf('treasure_')==0) continue; if(i.indexOf('tafang_mech_')==0) continue; - if(lib.character[i][4].contains('minskin')) continue; - if(lib.config.forbidchess.contains(i)) continue; - if(lib.character[i][4].contains('boss')) continue; + if(lib.character[i][4].includes('minskin')) continue; + if(lib.config.forbidchess.includes(i)) continue; + if(lib.character[i][4].includes('boss')) continue; if(lib.filter.characterDisabled(i)) continue; list.push(i); } @@ -667,7 +667,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ 'step 6' var shalldelay=false; for(var i=0;i0&&!['delay','equip'].contains(get.type(trigger.card))){ + if(_status.shishengshibai%10==0&&trigger.targets&&trigger.targets.length>0&&!['delay','equip'].includes(get.type(trigger.card))){ trigger.effectCount++; } } @@ -4982,7 +4982,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }, mod:{ playerEnabled:function(card,player,target){ - if(player.getStorage('boss_fengjian2').contains(target)) return false; + if(player.getStorage('boss_fengjian2').includes(target)) return false; }, }, }, @@ -4998,7 +4998,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ if(!player.countCards('h')) return false; if(!info.multitarget){ if(game.hasPlayer(function(current){ - return !event.targets.contains(current)&&lib.filter.targetEnabled2(card,player,current)&&lib.filter.targetInRange(card,player,current); + return !event.targets.includes(current)&&lib.filter.targetEnabled2(card,player,current)&&lib.filter.targetInRange(card,player,current); })){ return true; } @@ -5010,7 +5010,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var card=trigger.card; var prompt2='弃置任意张手牌,并为'+get.translation(card)+'增加等量的目标'; var targets=game.filterPlayer(function(current){ - return !trigger.targets.contains(current)&&lib.filter.targetEnabled2(card,player,current)&&lib.filter.targetInRange(card,player,current); + return !trigger.targets.includes(current)&&lib.filter.targetEnabled2(card,player,current)&&lib.filter.targetInRange(card,player,current); }); var max=0; if(!trigger.targets[0].hasSkill('heiguangkai_skill')) max=targets.filter(function(target){ @@ -5030,7 +5030,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ position:'h', filterCard:lib.filter.cardDiscardable, filterTarget:function(card,player,target){ - return _status.event.targets.contains(target); + return _status.event.targets.includes(target); }, targets:targets, ai1:function(card){ @@ -5059,7 +5059,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ }, logTarget:'player', check:function(event,player){ - if(event.getParent().excluded.contains(player)) return false; + if(event.getParent().excluded.includes(player)) return false; if(get.attitude(player,event.player)>0){ return false; } @@ -5767,7 +5767,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var dialog=ui.create.dialog('将三张牌中的锦囊牌或装备牌交给一己方名角色','hidden'); dialog.add(event.cards); for(var i=0;i2)){ - if(game.friend.contains(this)){ + if(game.friend.includes(this)){ game.over(false); } else{ diff --git a/noname/game/index.js b/noname/game/index.js index 1c8eec333..dbe97027d 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -2230,9 +2230,9 @@ export class Game extends Uninstantable { _status.importingExtension = false; if (!game.importedPack) throw ('err'); const extensionName = game.importedPack.name; - if (lib.config.all.plays.contains(extensionName)) throw ('禁止安装游戏原生扩展'); + if (lib.config.all.plays.includes(extensionName)) throw ('禁止安装游戏原生扩展'); const extensions = lib.config.extensions; - if (extensions.contains(extensionName)) game.removeExtension(extensionName, true); + if (extensions.includes(extensionName)) game.removeExtension(extensionName, true); extensions.add(extensionName); game.saveConfigValue('extensions'); game.saveConfig(`extension_${extensionName}_enable`, true); @@ -4596,11 +4596,11 @@ export class Game extends Uninstantable { const audiosrc = 'die:ext:' + extname + '/' + j + '.mp3'; if (!pack[i][j][4].some(str => typeof str == "string" && /^(?:db:extension-|ext:):(?:.+)/.test(str))) pack[i][j][4].add(imgsrc); if (!pack[i][j][4].some(str => typeof str == "string" && /^die:(?:.+)/.test(str))) pack[i][j][4].add(audiosrc); - if (pack[i][j][4].contains('boss') || - pack[i][j][4].contains('hiddenboss')) { + if (pack[i][j][4].includes('boss') || + pack[i][j][4].includes('hiddenboss')) { lib.config.forbidai.add(j); } - if (lib.config.forbidai_user && lib.config.forbidai_user.contains(j)) { + if (lib.config.forbidai_user && lib.config.forbidai_user.includes(j)) { lib.config.forbidai.add(j); } for (var l = 0; l < pack[i][j][3].length; l++) { @@ -5730,10 +5730,10 @@ export class Game extends Uninstantable { } else if (event.after && event.after.length) { var next = event.after.shift(); - if (next.player && next.player.skipList.contains(next.name)) { + if (next.player && next.player.skipList.includes(next.name)) { event.trigger(next.name + 'Skipped'); next.player.skipList.remove(next.name); - if (lib.phaseName.contains(next.name)) next.player.getHistory('skipped').add(next.name) + if (lib.phaseName.includes(next.name)) next.player.getHistory('skipped').add(next.name) } else { next.parent = event; @@ -6142,7 +6142,7 @@ export class Game extends Uninstantable { nochess = false; } else if (event._cardChoice && !firstCheck) { - if (!event._cardChoice.contains(cards[i])) { + if (!event._cardChoice.includes(cards[i])) { nochess = false; } } @@ -6221,7 +6221,7 @@ export class Game extends Uninstantable { } else if (event._targetChoice && event._targetChoice.has(card)) { let targetChoice = event._targetChoice.get(card); - if (!Array.isArray(targetChoice) || !targetChoice.contains(players[i])) { + if (!Array.isArray(targetChoice) || !targetChoice.includes(players[i])) { nochess = false; } } @@ -6290,7 +6290,7 @@ export class Game extends Uninstantable { if (event._skillChoice) { skills2 = event._skillChoice; for (let i = 0; i < skills2.length; i++) { - if (event.isMine() || !event._aiexclude.contains(skills2[i])) { + if (event.isMine() || !event._aiexclude.includes(skills2[i])) { skills.push(skills2[i]); } } @@ -6310,11 +6310,11 @@ export class Game extends Uninstantable { info = get.info(skills2[i]); enable = false; if (typeof info.enable == 'function') enable = info.enable(event); - else if (Array.isArray(info.enable)) enable = info.enable.contains(event.name); + else if (Array.isArray(info.enable)) enable = info.enable.includes(event.name); else if (info.enable == 'phaseUse') enable = (event.type == 'phase'); else if (typeof info.enable == 'string') enable = (info.enable == event.name); if (enable) { - if (!game.expandSkills(player.getSkills(false).concat(lib.skill.global)).contains(skills2[i]) && (info.noHidden || get.mode() != 'guozhan' || player.hasSkillTag('nomingzhi', false, null, true))) enable = false; + if (!game.expandSkills(player.getSkills(false).concat(lib.skill.global)).includes(skills2[i]) && (info.noHidden || get.mode() != 'guozhan' || player.hasSkillTag('nomingzhi', false, null, true))) enable = false; if (info.filter && !info.filter(event, player)) enable = false; if (info.viewAs && typeof info.viewAs != 'function' && event.filterCard && !event.filterCard(info.viewAs, player, event)) enable = false; if (info.viewAs && typeof info.viewAs != 'function' && info.viewAsFilter && info.viewAsFilter(player) == false) enable = false; @@ -6324,7 +6324,7 @@ export class Game extends Uninstantable { if (player.storage[`temp_ban_${skills2[i]}`] === true) enable = false; } if (enable) { - if (event.isMine() || !event._aiexclude.contains(skills2[i])) { + if (event.isMine() || !event._aiexclude.includes(skills2[i])) { skills.add(skills2[i]); } event._skillChoice.add(skills2[i]); @@ -6336,7 +6336,7 @@ export class Game extends Uninstantable { let globallist = lib.skill.global.slice(0); game.expandSkills(globallist); for (let i = 0; i < skills.length; i++) { - if (globallist.contains(skills[i])) { + if (globallist.includes(skills[i])) { globalskills.push(skills.splice(i--, 1)[0]); } } @@ -6859,7 +6859,7 @@ export class Game extends Uninstantable { } lib.configOL.version = lib.versionOL; for (let i in lib.cardPackList) { - if (lib.configOL.cardPack.contains(i)) { + if (lib.configOL.cardPack.includes(i)) { lib.card.list = lib.card.list.concat(lib.cardPackList[i]); } } @@ -6878,7 +6878,7 @@ export class Game extends Uninstantable { lib.card.list.splice(i, 1); i--; } else if (lib.card[lib.card.list[i][2]].mode && - lib.card[lib.card.list[i][2]].mode.contains(lib.config.mode) == false) { + lib.card[lib.card.list[i][2]].mode.includes(lib.config.mode) == false) { lib.card.list.splice(i, 1); i--; } } @@ -7137,7 +7137,7 @@ export class Game extends Uninstantable { event.clickAvatar = function () { if (event.deciding) { if (this.index < event.config.width) return; - if (event.friendlist.contains(this)) { + if (event.friendlist.includes(this)) { event.friendlist.remove(this); event.moveNode(this, this.index); this.nodename.innerHTML = get.slimName(this.link); @@ -7542,7 +7542,7 @@ export class Game extends Uninstantable { if (lib.translate[iInfo]) lib.translate[iInfo] = '此模式下不可用'; if (lib.dynamicTranslate[skill]) lib.dynamicTranslate[skill] = () => '此模式下不可用'; }; - if ((info.forbid && info.forbid.contains(mode)) || (info.mode && info.mode.contains(mode) == false) || (info.available && info.available(mode) == false)) { + if ((info.forbid && info.forbid.includes(mode)) || (info.mode && info.mode.includes(mode) == false) || (info.available && info.available(mode) == false)) { deleteSkill(i, iInfo); return; } @@ -7649,7 +7649,7 @@ export class Game extends Uninstantable { const equipValue = get.equipValue(card, player) / 20; return player && player.hasSkillTag('reverseEquip') ? 8.5 - equipValue : 8 + equipValue; }, aiBasicValue = (card, player, index, method) => { - if (!player.getCards('e').contains(card) && !player.canEquip(card, true)) return 0.01; + if (!player.getCards('e').includes(card) && !player.canEquip(card, true)) return 0.01; const info = get.info(card), current = player.getEquip(info.subtype), value = current && card != current && get.value(current, player); let equipValue = info.ai.equipValue || info.ai.basic.equipValue; if (typeof equipValue == 'function') { diff --git a/noname/get/index.js b/noname/get/index.js index 523a04a5d..70f45b1b3 100644 --- a/noname/get/index.js +++ b/noname/get/index.js @@ -281,7 +281,7 @@ export class Is extends Uninstantable { skill=>{ return false; // if(_status.connectMode) return true; - // return !lib.config.vintageSkills.contains(skill); + // return !lib.config.vintageSkills.includes(skill); }, */ static node(obj) { @@ -523,14 +523,14 @@ export class Get extends Uninstantable { static yunmu(str) { //部分整体认读音节特化处理 const util = window.pinyinUtilx; - if (util && lib.pinyins._metadata.zhengtirendu.contains(util.removeTone(str))) { + if (util && lib.pinyins._metadata.zhengtirendu.includes(util.removeTone(str))) { return '-' + str[str.length - 1]; } //排除声母 for (let i of lib.pinyins._metadata.shengmu) { if (str.startsWith(i)) { str = str.slice(i.length); - if (str[0] == 'u' && lib.pinyins._metadata.special_shengmu.contains(i)) str = 'ü' + str.slice(1); + if (str[0] == 'u' && lib.pinyins._metadata.special_shengmu.includes(i)) str = 'ü' + str.slice(1); break; } } @@ -575,20 +575,20 @@ export class Get extends Uninstantable { static yunjiao(str) { const util = window.pinyinUtilx; if (util) str = util.removeTone(str) - if (lib.pinyins._metadata.zhengtirendu.contains(str)) { + if (lib.pinyins._metadata.zhengtirendu.includes(str)) { str = ('-' + str[str.length - 1]); } else { for (let i of lib.pinyins._metadata.shengmu) { if (str.startsWith(i)) { str = str.slice(i.length); - if (str[0] == 'u' && lib.pinyins._metadata.special_shengmu.contains(i)) str = 'ü' + str.slice(1); + if (str[0] == 'u' && lib.pinyins._metadata.special_shengmu.includes(i)) str = 'ü' + str.slice(1); break; } } } for (let i in lib.pinyins._metadata.yunjiao) { - if (lib.pinyins._metadata.yunjiao[i].contains(str)) return i; + if (lib.pinyins._metadata.yunjiao[i].includes(str)) return i; } return null; } @@ -1091,7 +1091,7 @@ export class Get extends Uninstantable { } else { try { - if (Array.isArray(obj) && obj.contains(Infinity)) { + if (Array.isArray(obj) && obj.includes(Infinity)) { obj = obj.slice(0); var rand = get.id(); for (var i = 0; i < obj.length; i++) { @@ -1174,11 +1174,11 @@ export class Get extends Uninstantable { static typeCard(type, filter) { var list = []; for (var i in lib.card) { - if (lib.card[i].mode && lib.card[i].mode.contains(get.mode()) == false) continue; + if (lib.card[i].mode && lib.card[i].mode.includes(get.mode()) == false) continue; // if(lib.card[i].vanish||lib.card[i].destroy) continue; if (lib.card[i].destroy) continue; if (typeof filter == 'function' && !filter(i)) continue; - if (lib.config.bannedcards.contains(i)) continue; + if (lib.config.bannedcards.includes(i)) continue; if (!lib.translate[i + '_info']) continue; if ((type.startsWith('equip') && type.length == 6) || (type.startsWith('hslingjian') && type.length == 11) || @@ -1194,10 +1194,10 @@ export class Get extends Uninstantable { static libCard(filter) { var list = []; for (var i in lib.card) { - if (lib.card[i].mode && lib.card[i].mode.contains(get.mode()) == false) continue; + if (lib.card[i].mode && lib.card[i].mode.includes(get.mode()) == false) continue; // if(lib.card[i].vanish||lib.card[i].destroy) continue; if (lib.card[i].destroy) continue; - if (lib.config.bannedcards.contains(i)) continue; + if (lib.config.bannedcards.includes(i)) continue; if (!lib.translate[i + '_info']) continue; if (filter(lib.card[i], i)) { list.push(i); @@ -1430,24 +1430,24 @@ export class Get extends Uninstantable { } } for (var i = 0; i < skills.length; i++) { - if (skills[i].alter && !lib.config.vintageSkills.contains(skills[i])) { + if (skills[i].alter && !lib.config.vintageSkills.includes(skills[i])) { name = lib.rank.a[0]; break; } } } - if (rank.s.contains(name)) return num ? Math.round(8 * (num - 1) / 8 + 1) : 's'; - if (rank.ap.contains(name)) return num ? Math.round(7 * (num - 1) / 8 + 1) : 'ap'; - if (rank.a.contains(name)) return num ? Math.round(6 * (num - 1) / 8 + 1) : 'a'; - if (rank.am.contains(name)) return num ? Math.round(5 * (num - 1) / 8 + 1) : 'am'; - if (rank.bp.contains(name)) return num ? Math.round(4 * (num - 1) / 8 + 1) : 'bp'; - if (rank.b.contains(name)) return num ? Math.round(3 * (num - 1) / 8 + 1) : 'b'; - if (rank.bm.contains(name)) return num ? Math.round(2 * (num - 1) / 8 + 1) : 'bm'; - if (rank.c.contains(name)) return num ? Math.round(1 * (num - 1) / 8 + 1) : 'c'; - if (rank.d.contains(name)) return num ? Math.round(0 * (num - 1) / 8 + 1) : 'd'; + if (rank.s.includes(name)) return num ? Math.round(8 * (num - 1) / 8 + 1) : 's'; + if (rank.ap.includes(name)) return num ? Math.round(7 * (num - 1) / 8 + 1) : 'ap'; + if (rank.a.includes(name)) return num ? Math.round(6 * (num - 1) / 8 + 1) : 'a'; + if (rank.am.includes(name)) return num ? Math.round(5 * (num - 1) / 8 + 1) : 'am'; + if (rank.bp.includes(name)) return num ? Math.round(4 * (num - 1) / 8 + 1) : 'bp'; + if (rank.b.includes(name)) return num ? Math.round(3 * (num - 1) / 8 + 1) : 'b'; + if (rank.bm.includes(name)) return num ? Math.round(2 * (num - 1) / 8 + 1) : 'bm'; + if (rank.c.includes(name)) return num ? Math.round(1 * (num - 1) / 8 + 1) : 'c'; + if (rank.d.includes(name)) return num ? Math.round(0 * (num - 1) / 8 + 1) : 'd'; if (lib.character[name] && lib.character[name][4]) { - if (lib.character[name][4].contains('boss') || - lib.character[name][4].contains('bossallowed') || - lib.character[name][4].contains('hiddenboss')) { + if (lib.character[name][4].includes('boss') || + lib.character[name][4].includes('bossallowed') || + lib.character[name][4].includes('hiddenboss')) { return num ? Math.round(9 * (num - 1) / 8 + 1) : 'sp'; } } @@ -2112,8 +2112,8 @@ export class Get extends Uninstantable { static judge2(card) { return card.viewAs ? lib.card[card.viewAs].judge2 : get.info(card).judge2 } static distance(from, to, method) { if (from == to) return 0; - if (!game.players.contains(from) && !game.dead.contains(from)) return Infinity; - if (!game.players.contains(to) && !game.dead.contains(to)) return Infinity; + if (!game.players.includes(from) && !game.dead.includes(from)) return Infinity; + if (!game.players.includes(to) && !game.dead.includes(to)) return Infinity; let n = 1; if (game.chess) { let fxy = from.getXY(), txy = to.getXY(); @@ -2149,9 +2149,9 @@ export class Get extends Uninstantable { n = game.checkMod(from, to, n, 'globalFrom', from); n = game.checkMod(from, to, n, 'globalTo', to); const equips1 = from.getCards('e', function (card) { - return !ui.selected.cards || !ui.selected.cards.contains(card); + return !ui.selected.cards || !ui.selected.cards.includes(card); }), equips2 = to.getCards('e', function (card) { - return !ui.selected.cards || !ui.selected.cards.contains(card); + return !ui.selected.cards || !ui.selected.cards.includes(card); }); for (let i = 0; i < equips1.length; i++) { let info = get.info(equips1[i]).distance; @@ -2337,7 +2337,7 @@ export class Get extends Uninstantable { if (_status.cardtag && str.cardid) { var tagstr = ''; for (var i in _status.cardtag) { - if (_status.cardtag[i].contains(str.cardid)) { + if (_status.cardtag[i].includes(str.cardid)) { tagstr += lib.translate[i + '_tag']; } } @@ -2347,7 +2347,7 @@ export class Get extends Uninstantable { } if (str.suit && str.number || str.isCard) { var cardnum = get.number(str, false) || ''; - if ([1, 11, 12, 13].contains(cardnum)) { + if ([1, 11, 12, 13].includes(cardnum)) { cardnum = { '1': 'A', '11': 'J', '12': 'Q', '13': 'K' }[cardnum] } if (arg == 'viewAs' && str.viewAs != str.name && str.viewAs) { @@ -2522,10 +2522,10 @@ export class Get extends Uninstantable { if (lib.filter.characterDisabled(i)) continue; if (lib.filter.characterDisabled2(i)) continue; if (lib.character[i][4]) { - if (lib.character[i][4].contains('boss')) continue; - if (lib.character[i][4].contains('hiddenboss')) continue; - if (lib.character[i][4].contains('minskin')) continue; - if (lib.character[i][4].contains('unseen')) continue; + if (lib.character[i][4].includes('boss')) continue; + if (lib.character[i][4].includes('hiddenboss')) continue; + if (lib.character[i][4].includes('minskin')) continue; + if (lib.character[i][4].includes('unseen')) continue; } for (var j = 0; j < lib.character[i][3].length; j++) { var skill = lib.character[i][3][j]; @@ -2542,10 +2542,10 @@ export class Get extends Uninstantable { var list = []; if (name && lib.character[name]) { if (lib.character[name][4]) { - if (lib.character[name][4].contains('boss')) return list; - if (lib.character[name][4].contains('hiddenboss')) return list; - if (lib.character[name][4].contains('minskin')) return list; - if (lib.character[name][4].contains('unseen')) return list; + if (lib.character[name][4].includes('boss')) return list; + if (lib.character[name][4].includes('hiddenboss')) return list; + if (lib.character[name][4].includes('minskin')) return list; + if (lib.character[name][4].includes('unseen')) return list; } for (var j = 0; j < lib.character[name][3].length; j++) { var skill = lib.character[name][3][j]; @@ -2607,7 +2607,7 @@ export class Get extends Uninstantable { if (get.itemtype(arguments[i]) == 'card') { if (j == 'name') { if (Array.isArray(filter[j])) { - if (filter[j].contains(get.name(arguments[i])) == false) return false; + if (filter[j].includes(get.name(arguments[i])) == false) return false; } else if (typeof filter[j] == 'string') { if (get.name(arguments[i]) != filter[j]) return false; @@ -2615,7 +2615,7 @@ export class Get extends Uninstantable { } else if (j == 'type') { if (Array.isArray(filter[j])) { - if (filter[j].contains(get.type(arguments[i])) == false) return false; + if (filter[j].includes(get.type(arguments[i])) == false) return false; } else if (typeof filter[j] == 'string') { if (get.type(arguments[i]) != filter[j]) return false; @@ -2623,7 +2623,7 @@ export class Get extends Uninstantable { } else if (j == 'subtype') { if (Array.isArray(filter[j])) { - if (filter[j].contains(get.subtype(arguments[i])) == false) return false; + if (filter[j].includes(get.subtype(arguments[i])) == false) return false; } else if (typeof filter[j] == 'string') { if (get.subtype(arguments[i]) != filter[j]) return false; @@ -2631,7 +2631,7 @@ export class Get extends Uninstantable { } else if (j == 'color') { if (Array.isArray(filter[j])) { - if (filter[j].contains(get.color(arguments[i])) == false) return false; + if (filter[j].includes(get.color(arguments[i])) == false) return false; } else if (typeof filter[j] == 'string') { if (get.color(arguments[i]) != filter[j]) return false; @@ -2639,7 +2639,7 @@ export class Get extends Uninstantable { } else if (j == 'suit') { if (Array.isArray(filter[j])) { - if (filter[j].contains(get.suit(arguments[i])) == false) return false; + if (filter[j].includes(get.suit(arguments[i])) == false) return false; } else if (typeof filter[j] == 'string') { if (get.suit(arguments[i]) != filter[j]) return false; @@ -2647,14 +2647,14 @@ export class Get extends Uninstantable { } else if (j == 'number') { if (Array.isArray(filter[j])) { - if (filter[j].contains(get.number(arguments[i])) == false) return false; + if (filter[j].includes(get.number(arguments[i])) == false) return false; } else if (typeof filter[j] == 'string') { if (get.number(arguments[i]) != filter[j]) return false; } } else if (Array.isArray(filter[j])) { - if (filter[j].contains(arguments[i][j]) == false) return false; + if (filter[j].includes(arguments[i][j]) == false) return false; } else if (typeof filter[j] == 'string') { if (arguments[i][j] != filter[j]) return false; @@ -2710,8 +2710,8 @@ export class Get extends Uninstantable { game.players.concat(game.dead).filter(current => current.identity == identity).length } static cardtag(item, tag) { - return (item.cardid && (get.itemtype(item) == 'card' || !item.cards || !item.cards.length || item.name == item.cards[0].name) && _status.cardtag && _status.cardtag[tag] && _status.cardtag[tag].contains(item.cardid)) - || (item.cardtags && item.cardtags.contains(tag)) + return (item.cardid && (get.itemtype(item) == 'card' || !item.cards || !item.cards.length || item.name == item.cards[0].name) && _status.cardtag && _status.cardtag[tag] && _status.cardtag[tag].includes(item.cardid)) + || (item.cardtags && item.cardtags.includes(tag)) } static tag(item, tag, item2, bool) { var result; @@ -2812,7 +2812,7 @@ export class Get extends Uninstantable { }); return found; } - if (create && !['cardPile', 'discardPile', 'field'].contains(create)) { + if (create && !['cardPile', 'discardPile', 'field'].includes(create)) { return game.createCard(name); } return null; @@ -3050,7 +3050,7 @@ export class Get extends Uninstantable { for (var i in node.disabledSkills) { if (node.disabledSkills[i].length == 1 && node.disabledSkills[i][0] == i + '_awake' && - !node.hiddenSkills.contains(i)) { + !node.hiddenSkills.includes(i)) { skills.add(i); } } @@ -3074,11 +3074,11 @@ export class Get extends Uninstantable { forbidstr += get.skillInfoTranslation(skills[i], node) + '' uiintro.add(forbidstr); } - else if (!skills2.contains(skills[i])) { + else if (!skills2.includes(skills[i])) { if (lib.skill[skills[i]].preHidden && get.mode() == 'guozhan') { uiintro.add('
    ' + translation + '
    ' + get.skillInfoTranslation(skills[i], node) + '
    预亮技能
    '); var underlinenode = uiintro.content.lastChild.querySelector('.underlinenode'); - if (_status.prehidden_skills.contains(skills[i])) { + if (_status.prehidden_skills.includes(skills[i])) { underlinenode.classList.remove('on'); } underlinenode.link = skills[i]; @@ -3086,23 +3086,23 @@ export class Get extends Uninstantable { } else uiintro.add('
    ' + translation + '
    ' + get.skillInfoTranslation(skills[i], node) + '
    '); } - else if (lib.skill[skills[i]].temp || !node.skills.contains(skills[i]) || lib.skill[skills[i]].thundertext) { + else if (lib.skill[skills[i]].temp || !node.skills.includes(skills[i]) || lib.skill[skills[i]].thundertext) { if (lib.skill[skills[i]].frequent || lib.skill[skills[i]].subfrequent) { uiintro.add('
    ' + translation + '
    ' + get.skillInfoTranslation(skills[i], node) + '
    自动发动
    '); var underlinenode = uiintro.content.lastChild.querySelector('.underlinenode'); if (lib.skill[skills[i]].frequent) { - if (lib.config.autoskilllist.contains(skills[i])) { + if (lib.config.autoskilllist.includes(skills[i])) { underlinenode.classList.remove('on'); } } if (lib.skill[skills[i]].subfrequent) { for (var j = 0; j < lib.skill[skills[i]].subfrequent.length; j++) { - if (lib.config.autoskilllist.contains(skills[i] + '_' + lib.skill[skills[i]].subfrequent[j])) { + if (lib.config.autoskilllist.includes(skills[i] + '_' + lib.skill[skills[i]].subfrequent[j])) { underlinenode.classList.remove('on'); } } } - if (lib.config.autoskilllist.contains(skills[i])) { + if (lib.config.autoskilllist.includes(skills[i])) { underlinenode.classList.remove('on'); } underlinenode.link = skills[i]; @@ -3116,18 +3116,18 @@ export class Get extends Uninstantable { uiintro.add('
    ' + translation + '
    ' + get.skillInfoTranslation(skills[i], node) + '
    自动发动
    '); var underlinenode = uiintro.content.lastChild.querySelector('.underlinenode'); if (lib.skill[skills[i]].frequent) { - if (lib.config.autoskilllist.contains(skills[i])) { + if (lib.config.autoskilllist.includes(skills[i])) { underlinenode.classList.remove('on'); } } if (lib.skill[skills[i]].subfrequent) { for (var j = 0; j < lib.skill[skills[i]].subfrequent.length; j++) { - if (lib.config.autoskilllist.contains(skills[i] + '_' + lib.skill[skills[i]].subfrequent[j])) { + if (lib.config.autoskilllist.includes(skills[i] + '_' + lib.skill[skills[i]].subfrequent[j])) { underlinenode.classList.remove('on'); } } } - if (lib.config.autoskilllist.contains(skills[i])) { + if (lib.config.autoskilllist.includes(skills[i])) { underlinenode.classList.remove('on'); } underlinenode.link = skills[i]; @@ -3159,7 +3159,7 @@ export class Get extends Uninstantable { // for(i in storage){ // if(get.info(i)&&get.info(i).intro){ // intro=get.info(i).intro; - // if(node.getSkills().concat(lib.skill.global).contains(i)==false&&!intro.show) continue; + // if(node.getSkills().concat(lib.skill.global).includes(i)==false&&!intro.show) continue; // var name=intro.name?intro.name:get.translation(i); // if(typeof name=='function'){ // name=name(storage[i],node); @@ -3340,11 +3340,11 @@ export class Get extends Uninstantable { uiintro.content.appendChild(table); } var modepack = lib.characterPack['mode_' + get.mode()]; - if (lib.config.show_favourite && lib.character[node.name] && game.players.contains(node) && + if (lib.config.show_favourite && lib.character[node.name] && game.players.includes(node) && (!modepack || !modepack[node.name]) && (!simple || get.is.phoneLayout())) { var addFavourite = ui.create.div('.text.center.pointerdiv'); addFavourite.link = node.name; - if (lib.config.favouriteCharacter.contains(node.name)) { + if (lib.config.favouriteCharacter.includes(node.name)) { addFavourite.innerHTML = '移除收藏'; } else { @@ -3389,11 +3389,11 @@ export class Get extends Uninstantable { else { delete lib.config.skin[nameskin]; if (avatar2) { - if (gzbool && lib.character[nameskin2][4].contains('gzskin') && lib.config.mode_config.guozhan.guozhanSkin) node.node.avatar2.setBackground(nameskin2, 'character'); + if (gzbool && lib.character[nameskin2][4].includes('gzskin') && lib.config.mode_config.guozhan.guozhanSkin) node.node.avatar2.setBackground(nameskin2, 'character'); else node.node.avatar2.setBackground(nameskin, 'character'); } else { - if (gzbool && lib.character[nameskin2][4].contains('gzskin') && lib.config.mode_config.guozhan.guozhanSkin) node.node.avatar.setBackground(nameskin2, 'character'); + if (gzbool && lib.character[nameskin2][4].includes('gzskin') && lib.config.mode_config.guozhan.guozhanSkin) node.node.avatar.setBackground(nameskin2, 'character'); else node.node.avatar.setBackground(nameskin, 'character'); } } @@ -3404,7 +3404,7 @@ export class Get extends Uninstantable { button.setBackgroundImage('image/skin/' + nameskin + '/' + i + '.jpg'); } else { - if (gzbool && lib.character[nameskin2][4].contains('gzskin') && lib.config.mode_config.guozhan.guozhanSkin) button.setBackground(nameskin2, 'character', 'noskin'); + if (gzbool && lib.character[nameskin2][4].includes('gzskin') && lib.config.mode_config.guozhan.guozhanSkin) button.setBackground(nameskin2, 'character', 'noskin'); else button.setBackground(nameskin, 'character', 'noskin'); } } @@ -3573,7 +3573,7 @@ export class Get extends Uninstantable { if (node._banning) { var clickBanned = function () { var banned = lib.config[this.bannedname] || []; - if (banned.contains(name)) { + if (banned.includes(name)) { banned.remove(name); } else { @@ -3601,7 +3601,7 @@ export class Get extends Uninstantable { else if (modeorder[i] == 'connect' || modeorder[i] == 'brawl') { continue; } - if (lib.config.all.mode.contains(modeorder[i])) { + if (lib.config.all.mode.includes(modeorder[i])) { list.push(modeorder[i]); } } @@ -3623,7 +3623,7 @@ export class Get extends Uninstantable { cfg.listen(clickBanned); ui.create.div(ui.create.div(cfg)); var banned = lib.config[cfg.bannedname] || []; - if (banned.contains(name) == (list[i] == 'zhinang_tricks')) { + if (banned.includes(name) == (list[i] == 'zhinang_tricks')) { cfg.classList.add('on'); banall = true; } @@ -3673,7 +3673,7 @@ export class Get extends Uninstantable { uiintro.add('
    ' + typeinfo + '
    '); } if (lib.card[name].unique && lib.card[name].type == 'equip') { - if (lib.cardPile.guozhan && lib.cardPack.guozhan.contains(name)) { + if (lib.cardPile.guozhan && lib.cardPack.guozhan.includes(name)) { uiintro.add('
    专属装备
    ').style.marginTop = '-5px'; } else { @@ -3746,7 +3746,7 @@ export class Get extends Uninstantable { if (node._banning) { var clickBanned = function () { var banned = lib.config[this.bannedname] || []; - if (banned.contains(character)) { + if (banned.includes(character)) { banned.remove(character); } else { @@ -3777,7 +3777,7 @@ export class Get extends Uninstantable { else if (modeorder[i] == 'connect' || modeorder[i] == 'brawl') { continue; } - if (lib.config.all.mode.contains(modeorder[i])) { + if (lib.config.all.mode.includes(modeorder[i])) { list.push(modeorder[i]); } } @@ -3795,7 +3795,7 @@ export class Get extends Uninstantable { cfg.listen(clickBanned); ui.create.div(ui.create.div(cfg)); var banned = lib.config[cfg.bannedname] || []; - if (!banned.contains(character)) { + if (!banned.includes(character)) { cfg.classList.add('on'); banall = true; } @@ -3814,7 +3814,7 @@ export class Get extends Uninstantable { game.saveConfig('forbidai_user', lib.config.forbidai_user); }); ui.create.div(ui.create.div(cfg)); - if (!lib.config.forbidai_user.contains(character)) { + if (!lib.config.forbidai_user.includes(character)) { cfg.classList.add('on'); } } @@ -3862,7 +3862,7 @@ export class Get extends Uninstantable { var addFavourite = ui.create.div('.text.center.pointerdiv'); addFavourite.link = node.link; addFavourite.style.marginBottom = '15px'; - if (lib.config.favouriteCharacter.contains(node.link)) { + if (lib.config.favouriteCharacter.includes(node.link)) { addFavourite.innerHTML = '移除收藏'; } else { @@ -3911,7 +3911,7 @@ export class Get extends Uninstantable { } else { delete lib.config.skin[nameskin]; - if (gzbool && lib.character[nameskin2][4].contains('gzskin') && lib.config.mode_config.guozhan.guozhanSkin) node.setBackground(nameskin2, 'character'); + if (gzbool && lib.character[nameskin2][4].includes('gzskin') && lib.config.mode_config.guozhan.guozhanSkin) node.setBackground(nameskin2, 'character'); else node.setBackground(nameskin, 'character'); game.saveConfig('skin', lib.config.skin); } @@ -3921,7 +3921,7 @@ export class Get extends Uninstantable { button.setBackgroundImage('image/skin/' + nameskin + '/' + i + '.jpg'); } else { - if (gzbool && lib.character[nameskin2][4].contains('gzskin') && lib.config.mode_config.guozhan.guozhanSkin) button.setBackground(nameskin2, 'character', 'noskin'); + if (gzbool && lib.character[nameskin2][4].includes('gzskin') && lib.config.mode_config.guozhan.guozhanSkin) button.setBackground(nameskin2, 'character', 'noskin'); else button.setBackground(nameskin, 'character', 'noskin'); } } @@ -4076,8 +4076,8 @@ export class Get extends Uninstantable { static types() { var types = []; for (var i in lib.card) { - if (lib.card[i].mode && lib.card[i].mode.contains(lib.config.mode) == false) continue; - if (lib.card[i].forbid && lib.card[i].forbid.contains(lib.config.mode)) continue; + if (lib.card[i].mode && lib.card[i].mode.includes(lib.config.mode) == false) continue; + if (lib.card[i].forbid && lib.card[i].forbid.includes(lib.config.mode)) continue; if (lib.card[i].type) { if (lib.card[i].type == 'delay') types.add('trick'); else types.add(lib.card[i].type); @@ -4246,7 +4246,7 @@ export class Get extends Uninstantable { var geti = function () { var num = 0, i; var cards = player.getCards('hs', card.name); - if (cards.contains(card)) { + if (cards.includes(card)) { return cards.indexOf(card); } return cards.length; diff --git a/noname/init/index.js b/noname/init/index.js index 95f1017dc..a4c1d60ff 100644 --- a/noname/init/index.js +++ b/noname/init/index.js @@ -188,13 +188,13 @@ export async function boot() { var pack = Reflect.get(window, 'noname_package'); Reflect.deleteProperty(window, 'noname_package'); for (const name in pack.character) { - if (config.get('all').sgscharacters.contains(name) || config.get('hiddenCharacterPack').indexOf(name) == -1) { + if (config.get('all').sgscharacters.includes(name) || config.get('hiddenCharacterPack').indexOf(name) == -1) { config.get('all').characters.push(name); lib.translate[name + '_character_config'] = pack.character[name]; } } for (const name in pack.card) { - if (config.get('all').sgscards.contains(name) || config.get('hiddenCardPack').indexOf(name) == -1) { + if (config.get('all').sgscards.includes(name) || config.get('hiddenCardPack').indexOf(name) == -1) { config.get('all').cards.push(name); lib.translate[name + '_card_config'] = pack.card[name]; } @@ -227,7 +227,7 @@ export async function boot() { } if (pack.background) { for (const name in pack.background) { - if (config.get('hiddenBackgroundPack').contains(name)) continue; + if (config.get('hiddenBackgroundPack').includes(name)) continue; lib.configMenu.appearence.config.image_background.item[name] = pack.background[name]; } for (let i = 0; i < config.get('customBackgroundPack').length; i++) { @@ -345,7 +345,7 @@ export async function boot() { } var alerted = false; for (var name = 0; name < config.get('extensions').length; name++) { - if (Reflect.get(window, 'bannedExtensions').contains(config.get('extensions')[name])) { + if (Reflect.get(window, 'bannedExtensions').includes(config.get('extensions')[name])) { //if(!alerted) alert('读取某些扩展时出现问题。'); alerted = true; continue; @@ -372,7 +372,7 @@ export async function boot() { if (config.get('mode') != 'connect' || (!localStorage.getItem(lib.configprefix + 'directstart') && show_splash)) { var alerted = false; for (var name = 0; name < config.get('extensions').length; name++) { - if (Reflect.get(window, 'bannedExtensions').contains(config.get('extensions')[name])) { + if (Reflect.get(window, 'bannedExtensions').includes(config.get('extensions')[name])) { //if(!alerted) alert('读取某些扩展时出现问题。'); alerted = true; continue; @@ -677,13 +677,13 @@ async function loadConfig() { idbOpenDBRequest.onupgradeneeded = idbVersionChangeEvent => { // @ts-expect-error MaybeHave const idbDatabase = idbVersionChangeEvent.target.result; - if (!idbDatabase.objectStoreNames.contains('video')) idbDatabase.createObjectStore('video', { + if (!idbDatabase.objectStoreNames.includes('video')) idbDatabase.createObjectStore('video', { keyPath: 'time' }); - if (!idbDatabase.objectStoreNames.contains('image')) idbDatabase.createObjectStore('image'); - if (!idbDatabase.objectStoreNames.contains('audio')) idbDatabase.createObjectStore('audio'); - if (!idbDatabase.objectStoreNames.contains('config')) idbDatabase.createObjectStore('config'); - if (!idbDatabase.objectStoreNames.contains('data')) idbDatabase.createObjectStore('data'); + if (!idbDatabase.objectStoreNames.includes('image')) idbDatabase.createObjectStore('image'); + if (!idbDatabase.objectStoreNames.includes('audio')) idbDatabase.createObjectStore('audio'); + if (!idbDatabase.objectStoreNames.includes('config')) idbDatabase.createObjectStore('config'); + if (!idbDatabase.objectStoreNames.includes('data')) idbDatabase.createObjectStore('data'); }; }); Reflect.set(lib, 'db', event.target.result); diff --git a/noname/init/polyfill.js b/noname/init/polyfill.js index f14356f45..35e41a06a 100644 --- a/noname/init/polyfill.js +++ b/noname/init/polyfill.js @@ -103,7 +103,7 @@ Reflect.defineProperty(HTMLDivElement.prototype, 'setBackground', { nameinfo = lib.character[name]; if (name.startsWith('gz_shibing')) name = name.slice(3, 11); else { - if (lib.config.mode_config.guozhan.guozhanSkin && lib.character[name] && lib.character[name][4].contains('gzskin')) gzbool = true; + if (lib.config.mode_config.guozhan.guozhanSkin && lib.character[name] && lib.character[name][4].includes('gzskin')) gzbool = true; name = name.slice(3); } } @@ -174,29 +174,29 @@ HTMLDivElement.prototype.setBackgroundDB = function (img) { HTMLDivElement.prototype.setBackgroundImage = function (img) { this.style.backgroundImage = `url("${lib.assetURL}${img}")`; return this; -}, - HTMLDivElement.prototype.listen = function (func) { - if (lib.config.touchscreen) { - this.addEventListener('touchend', function (e) { - if (!_status.dragged) { - func.call(this, e); - } - }); - var fallback = function (e) { - if (!_status.touchconfirmed) { - func.call(this, e); - } - else { - this.removeEventListener('click', fallback); - } +}; +HTMLDivElement.prototype.listen = function (func) { + if (lib.config.touchscreen) { + this.addEventListener('touchend', function (e) { + if (!_status.dragged) { + func.call(this, e); + } + }); + var fallback = function (e) { + if (!_status.touchconfirmed) { + func.call(this, e); + } + else { + this.removeEventListener('click', fallback); } - this.addEventListener('click', fallback); } - else { - this.addEventListener('click', func); - } - return this; - }; + this.addEventListener('click', fallback); + } + else { + this.addEventListener('click', func); + } + return this; +}; HTMLDivElement.prototype.listenTransition = function (func, time) { let done = false; const callback = () => { @@ -249,10 +249,11 @@ HTMLTableElement.prototype.get = function (row, col) { return this.childNodes[row].childNodes[col]; } }; -/*处理lib.nature的兼容性问题*/ +/*处理lib.nature等从array改为map的兼容性问题*/ const mapHasFunc = function (item) { - return this.has(item) -}; + console.warn(this, '已经从array改为map,请改为使用has方法'); + return this.has(item); +} Object.defineProperty(Map.prototype, "contains", { configurable: true, enumerable: false, @@ -266,6 +267,7 @@ Object.defineProperty(Map.prototype, "includes", { value: mapHasFunc }); const mapAddFunc = function (item) { + console.warn(this, '已经从array改为map,请改为使用set方法'); this.set(item, 0); return this; } @@ -286,7 +288,7 @@ Object.defineProperty(Map.prototype, "addArray", { enumerable: false, writable: true, value: function (arr) { - for (var i = 0; i < arr.length; i++) { + for (let i = 0; i < arr.length; i++) { this.add(arr[i]); } return this; @@ -297,6 +299,7 @@ Object.defineProperty(Map.prototype, "remove", { enumerable: false, writable: true, value: function (item) { + console.warn(this, '已经从array改为map,请改为使用delete方法'); this.delete(item); return this; } @@ -336,7 +339,10 @@ Object.defineProperty(Array.prototype, "contains", { configurable: true, enumerable: false, writable: true, - value: Array.prototype.includes + value: function (...args) { + console.warn(this, 'Array的contains方法已废弃,请使用includes方法'); + return this.includes(...args); + } }); Object.defineProperty(Array.prototype, "containsSome", { configurable: true, @@ -361,7 +367,7 @@ Object.defineProperty(Array.prototype, "add", { writable: true, value: function () { for (const arg of arguments) { - if (this.contains(arg)) continue; + if (this.includes(arg)) continue; this.push(arg); } return this; diff --git a/noname/library/element/card.js b/noname/library/element/card.js index f75be62db..6db575298 100644 --- a/noname/library/element/card.js +++ b/noname/library/element/card.js @@ -173,7 +173,7 @@ export class Card extends HTMLDivElement { } } hasGaintag(tag) { - return this.gaintag && this.gaintag.contains(tag); + return this.gaintag && this.gaintag.includes(tag); } /** * @param {[string, number, string, string] | { @@ -372,7 +372,7 @@ export class Card extends HTMLDivElement { } else { var cardPack = lib.cardPack['mode_' + get.mode()]; - if (Array.isArray(cardPack) && cardPack.contains(bg)) { + if (Array.isArray(cardPack) && cardPack.includes(bg)) { this.setBackground('mode/' + get.mode() + '/card/' + bg); } else { @@ -416,7 +416,7 @@ export class Card extends HTMLDivElement { } else { var cardPack = lib.cardPack['mode_' + get.mode()]; - if (Array.isArray(cardPack) && cardPack.contains(bg)) { + if (Array.isArray(cardPack) && cardPack.includes(bg)) { this.node.avatar.setBackground('mode/' + get.mode() + '/card/' + bg); } else { @@ -557,7 +557,7 @@ export class Card extends HTMLDivElement { _status.cardtag = {}; } for (var i in _status.cardtag) { - if (_status.cardtag[i].contains(this.cardid)) { + if (_status.cardtag[i].includes(this.cardid)) { tags.add(i); } } @@ -657,7 +657,7 @@ export class Card extends HTMLDivElement { if (this.name == name) return true; var info = lib.card[this.name]; if (info && Array.isArray(info.source)) { - return info.source.contains(name); + return info.source.includes(name); } return false; } @@ -773,15 +773,15 @@ export class Card extends HTMLDivElement { } } hasTag(tag) { - if (this.cardid && _status.cardtag && _status.cardtag[tag] && _status.cardtag[tag].contains(this.cardid)) { + if (this.cardid && _status.cardtag && _status.cardtag[tag] && _status.cardtag[tag].includes(this.cardid)) { return true; } return false; } hasPosition() { - return ['h', 'e', 'j', 's', 'x'].contains(get.position(this)); + return ['h', 'e', 'j', 's', 'x'].includes(get.position(this)); } isInPile() { - return ['c', 'd'].contains(get.position(this)); + return ['c', 'd'].includes(get.position(this)); } } \ No newline at end of file diff --git a/noname/library/element/content.js b/noname/library/element/content.js index 5de904b7e..f65eb8d87 100644 --- a/noname/library/element/content.js +++ b/noname/library/element/content.js @@ -193,7 +193,7 @@ export const Content = { if (!player.disabledSlots) player.disabledSlots = {}; if (!player.disabledSlots[slot_key]) player.disabledSlots[slot_key] = 0; player.disabledSlots[slot_key] += lose; - var cards = player.getEquips(slot).filter(card => !event.cards.contains(card)); + var cards = player.getEquips(slot).filter(card => !event.cards.includes(card)); if (cards.length > 0) { if (lose >= left) { event._result = { bool: true, links: cards }; @@ -305,7 +305,7 @@ export const Content = { if (lose <= 0) event.goto(3); else { var cards = player.getEquips(slot).filter(card => { - return !event.cards.contains(card) && lib.filter.canBeReplaced(card, player); + return !event.cards.includes(card) && lib.filter.canBeReplaced(card, player); }); if (cards.length > 0) { if (lose >= left) { @@ -357,7 +357,7 @@ export const Content = { return; } else if (event.owner) { - if (event.owner.getCards('hejsx').contains(card)) { + if (event.owner.getCards('hejsx').includes(card)) { event.finish(); return; } @@ -713,7 +713,7 @@ export const Content = { node.style.transition = 'all ' + speed * 110 + 'ms linear'; node.style.transform = 'translateY(' + Math.ceil(height * 1.1) + 'px)'; node.timeout = setTimeout(function () { - if (nodes.contains(node)) { + if (nodes.includes(node)) { nodes.remove(node); player.popup('Miss', 'fire', false); if (player.damagepopups.length) player.$damagepop(); @@ -961,7 +961,7 @@ export const Content = { event.custom.replace.button = function (button) { var node = button.parentNode; - if (!buttonss.contains(node)) return; + if (!buttonss.includes(node)) return; if (!ui.selected.guanxing_button) { ui.selected.guanxing_button = button; button.classList.add('glow2'); @@ -1108,7 +1108,7 @@ export const Content = { var next = player.chooseTarget(); next.set('_get_card', card); next.set('filterTarget', event.filterTarget || function (card, player, target) { - if (!_status.event.targets.contains(target)) return false; + if (!_status.event.targets.includes(target)) return false; if (!_status.event.nodistance && !lib.filter.targetInRange(card, player, target)) return false; return lib.filter.targetEnabledx(card, player, target); }); @@ -1435,7 +1435,7 @@ export const Content = { if (player.hasEnabledSlot(i)) list.push('equip' + i); } if (event.horse) { - if (list.contains('equip3') && (get.is.mountCombined() || list.contains('equip4'))) list.push('equip3_4'); + if (list.includes('equip3') && (get.is.mountCombined() || list.includes('equip4'))) list.push('equip3_4'); list.remove('equip3'); list.remove('equip4'); } @@ -1573,7 +1573,7 @@ export const Content = { } } else { - if (!list.contains(event.directresult)) { + if (!list.includes(event.directresult)) { event.finish(); } } @@ -1670,7 +1670,7 @@ export const Content = { } } else { - if (!list.contains(event.directresult)) { + if (!list.includes(event.directresult)) { event.finish(); } } @@ -1861,7 +1861,7 @@ export const Content = { } player.phase(); "step 2"; - if (!game.players.contains(event.player.next)) { + if (!game.players.includes(event.player.next)) { event.player = game.findNext(event.player.next); } else { @@ -1891,8 +1891,8 @@ export const Content = { if (characterPack) Object.assign(characterPack, character[i].character); else lib.characterPack[i] = character[i].character; } - if (character[i].forbid && character[i].forbid.contains(lib.config.mode)) continue; - if (character[i].mode && character[i].mode.contains(lib.config.mode) == false) continue; + if (character[i].forbid && character[i].forbid.includes(lib.config.mode)) continue; + if (character[i].mode && character[i].mode.includes(lib.config.mode) == false) continue; if (Array.isArray(lib[j]) && Array.isArray(character[i][j])) { lib[j].addArray(character[i][j]); @@ -1905,11 +1905,11 @@ export const Content = { if (!character[i][j][k][4]) { character[i][j][k][4] = []; } - if (character[i][j][k][4].contains('boss') || - character[i][j][k][4].contains('hiddenboss')) { + if (character[i][j][k][4].includes('boss') || + character[i][j][k][4].includes('hiddenboss')) { lib.config.forbidai.add(k); } - if (lib.config.forbidai_user && lib.config.forbidai_user.contains(k)) { + if (lib.config.forbidai_user && lib.config.forbidai_user.includes(k)) { lib.config.forbidai.add(k); } for (var l = 0; l < character[i][j][k][3].length; l++) { @@ -1951,7 +1951,7 @@ export const Content = { if (j == 'mode' || j == 'forbid') continue; if (j == 'list') continue; for (k in card[i][j]) { - if (j == 'skill' && k[0] == '_' && !lib.config.cards.contains(i)) { + if (j == 'skill' && k[0] == '_' && !lib.config.cards.includes(i)) { continue; } if (j == 'translate' && k == i) { @@ -2348,7 +2348,7 @@ export const Content = { }, replaceHandcards: function () { 'step 0'; - if (event.players.contains(game.me)) { + if (event.players.includes(game.me)) { game.me.chooseBool('是否置换手牌?'); } else { @@ -2646,7 +2646,7 @@ export const Content = { event.cards = player.getCards('j'); if (!event.cards.length) event.finish(); "step 1"; - if (cards.length && player.getCards('j').contains(cards[0])) { + if (cards.length && player.getCards('j').includes(cards[0])) { event.card = cards.shift(); if (event.card.classList.contains('removing')) { event.card.remove(); @@ -2766,7 +2766,7 @@ export const Content = { if (!info) continue; if (info.enable != undefined) { if (typeof info.enable == 'string' && info.enable == 'phaseUse') bool = true; - else if (typeof info.enable == 'object' && info.enable.contains('phaseUse')) bool = true; + else if (typeof info.enable == 'object' && info.enable.includes('phaseUse')) bool = true; } if (bool) stat.skill[i] = 0; } @@ -2842,7 +2842,7 @@ export const Content = { return; } else if (event.isMine()) { - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + if (event.hsskill && !event.forced && _status.prehidden_skills.includes(event.hsskill)) { ui.click.cancel(); return; } @@ -3095,7 +3095,7 @@ export const Content = { game.modeSwapPlayer(player); } if (event.isMine()) { - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + if (event.hsskill && !event.forced && _status.prehidden_skills.includes(event.hsskill)) { ui.click.cancel(); return; } @@ -3317,7 +3317,7 @@ export const Content = { } else if (event.isMine()) { game.check(); - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + if (event.hsskill && !event.forced && _status.prehidden_skills.includes(event.hsskill)) { ui.click.cancel(); return; } @@ -3451,7 +3451,7 @@ export const Content = { var range = get.select(event.selectCard); if (event.isMine()) { game.check(); - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + if (event.hsskill && !event.forced && _status.prehidden_skills.includes(event.hsskill)) { ui.click.cancel(); return; } @@ -3582,7 +3582,7 @@ export const Content = { if (get.itemtype(i[1]) == 'card') i[1] = [i[1]]; if (event._lose) { i[1] = i[1].filter(card => { - return !cards.contains(card) || !player.getCards('hejsx').contains(card); + return !cards.includes(card) || !player.getCards('hejsx').includes(card); }); } if (i[1].length > 0) i[0].$draw(i[1].length); @@ -3594,7 +3594,7 @@ export const Content = { if (get.itemtype(i[1]) == 'card') i[1] = [i[1]]; if (event._lose) { i[1] = i[1].filter(card => { - return !cards.contains(card) || !player.getCards('hejsx').contains(card); + return !cards.includes(card) || !player.getCards('hejsx').includes(card); }); } if (i[1].length > 0) i[0].$gain(i[1].length); @@ -3606,7 +3606,7 @@ export const Content = { if (get.itemtype(i[1]) == 'card') i[1] = [i[1]]; if (event._lose) { i[1] = i[1].filter(card => { - return !cards.contains(card) || !player.getCards('hejsx').contains(card); + return !cards.includes(card) || !player.getCards('hejsx').includes(card); }); } if (i[1].length > 0) i[0].$gain2(i[1]); @@ -3620,13 +3620,13 @@ export const Content = { if (get.itemtype(i[1]) == 'card') i[1] = [i[1]]; if (event._lose) { i[1] = i[1].filter(card => { - return !cards.contains(card) || !player.getCards('hejsx').contains(card); + return !cards.includes(card) || !player.getCards('hejsx').includes(card); }); } var shown = i[1].slice(0), hidden = []; if (event.animate == 'giveAuto') { for (var card of i[1]) { - if (evt.hs.contains(card)) { + if (evt.hs.includes(card)) { shown.remove(card); hidden.push(card); } @@ -3785,7 +3785,7 @@ export const Content = { else lose_list.push([player, result[0].cards]); } for (var j = 0; j < targets.length; j++) { - if (event.list.contains(targets[j])) { + if (event.list.includes(targets[j])) { var i = event.list.indexOf(targets[j]); if (result[i].skill && lib.skill[result[i].skill] && lib.skill[result[i].skill].onCompare) { event.list[i].logSkill(result[i].skill); @@ -3807,7 +3807,7 @@ export const Content = { event.lose_list = lose_list; event.getNum = function (card) { for (var i of event.lose_list) { - if (i[1].contains && i[1].contains(card)) return get.number(card, i[0]); + if (i[1].contains && i[1].includes(card)) return get.number(card, i[0]); } return get.number(card, false); }; @@ -3952,7 +3952,7 @@ export const Content = { else lose_list.push([player, result[0].cards]); } for (var j = 0; j < targets.length; j++) { - if (event.list.contains(targets[j])) { + if (event.list.includes(targets[j])) { var i = event.list.indexOf(targets[j]); if (result[i].skill && lib.skill[result[i].skill] && lib.skill[result[i].skill].onCompare) { event.list[i].logSkill(result[i].skill); @@ -3974,7 +3974,7 @@ export const Content = { event.lose_list = lose_list; event.getNum = function (card) { for (var i of event.lose_list) { - if (i[1].contains && i[1].contains(card)) return get.number(card, i[0]); + if (i[1].contains && i[1].includes(card)) return get.number(card, i[0]); } return get.number(card, false); }; @@ -4409,7 +4409,7 @@ export const Content = { } } if (event.isMine()) { - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + if (event.hsskill && !event.forced && _status.prehidden_skills.includes(event.hsskill)) { ui.click.cancel(); return; } @@ -4620,7 +4620,7 @@ export const Content = { if (event.isMine()) { game.check(); game.pause(); - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + if (event.hsskill && !event.forced && _status.prehidden_skills.includes(event.hsskill)) { ui.click.cancel(); return; } @@ -4692,7 +4692,7 @@ export const Content = { chooseTarget: function () { "step 0"; if (event.isMine()) { - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + if (event.hsskill && !event.forced && _status.prehidden_skills.includes(event.hsskill)) { ui.click.cancel(); return; } @@ -4767,7 +4767,7 @@ export const Content = { chooseCardTarget: function () { "step 0"; if (event.isMine()) { - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + if (event.hsskill && !event.forced && _status.prehidden_skills.includes(event.hsskill)) { ui.click.cancel(); return; } @@ -4846,7 +4846,7 @@ export const Content = { game.expandSkills(hidden); if (hidden.length) { for (var i of event.controls) { - if (_status.prehidden_skills.contains(i) && hidden.contains(i)) { + if (_status.prehidden_skills.includes(i) && hidden.includes(i)) { event.result = { bool: true, control: i, @@ -4856,7 +4856,7 @@ export const Content = { } } } - else if (event.hsskill && _status.prehidden_skills.contains(event.hsskill) && event.controls.contains('cancel2')) { + else if (event.hsskill && _status.prehidden_skills.includes(event.hsskill) && event.controls.includes('cancel2')) { event.result = { bool: true, control: 'cancel2', @@ -5008,11 +5008,11 @@ export const Content = { chooseBool: function () { "step 0"; if (event.isMine()) { - if (event.frequentSkill && !lib.config.autoskilllist.contains(event.frequentSkill)) { + if (event.frequentSkill && !lib.config.autoskilllist.includes(event.frequentSkill)) { ui.click.ok(); return; } - else if (event.hsskill && _status.prehidden_skills.contains(event.hsskill)) { + else if (event.hsskill && _status.prehidden_skills.includes(event.hsskill)) { ui.click.cancel(); return; } @@ -5223,7 +5223,7 @@ export const Content = { } else { if (event.isMine()) { - if (event.hsskill && !event.forced && _status.prehidden_skills.contains(event.hsskill)) { + if (event.hsskill && !event.forced && _status.prehidden_skills.includes(event.hsskill)) { ui.click.cancel(); return; } @@ -5664,7 +5664,7 @@ export const Content = { if (event.hiddencards) { for (var i = 0; i < event.dialog.buttons.length; i++) { - if (event.hiddencards.contains(event.dialog.buttons[i].link)) { + if (event.hiddencards.includes(event.dialog.buttons[i].link)) { event.dialog.buttons[i].className = 'button card'; event.dialog.buttons[i].innerHTML = ''; } @@ -5676,7 +5676,7 @@ export const Content = { dialog.videoId = id; if (cards2) { for (var i = 0; i < dialog.buttons.length; i++) { - if (cards2.contains(dialog.buttons[i].link)) { + if (cards2.includes(dialog.buttons[i].link)) { dialog.buttons[i].className = 'button card'; dialog.buttons[i].innerHTML = ''; } @@ -5902,7 +5902,7 @@ export const Content = { var next = owner.lose(cards, 'visible', ui.ordering).set('type', 'use'); var directDiscard = []; for (var i = 0; i < cards.length; i++) { - if (!next.cards.contains(cards[i])) { + if (!next.cards.includes(cards[i])) { directDiscard.push(cards[i]); } } @@ -6287,7 +6287,7 @@ export const Content = { if (targets[num] && targets[num].removed) return; if (targets[num] && info.ignoreTarget && info.ignoreTarget(card, player, targets[num])) return; if (targets.length == 0 && !info.notarget) return; - if (targets[num] && event.excluded.contains(targets[num])) { + if (targets[num] && event.excluded.includes(targets[num])) { var next = game.createEvent('useCardToExcluded', false); next.setContent('emptyEvent'); next.targets = targets; @@ -6325,7 +6325,7 @@ export const Content = { var customArgs = event.customArgs[next.target.playerid]; for (var i in customArgs) next[i] = customArgs[i]; } - if (next.target && event.directHit.contains(next.target)) next.directHit = true; + if (next.target && event.directHit.includes(next.target)) next.directHit = true; if (next.target && !info.multitarget) { if (num == 0 && targets.length > 1) { // var ttt=next.target; @@ -6509,26 +6509,26 @@ export const Content = { }; if (info.sourceSkill) { logInfo.sourceSkill = info.sourceSkill; - if (global.contains(info.sourceSkill)) { + if (global.includes(info.sourceSkill)) { logInfo.type = 'global'; } - else if (players.contains(info.sourceSkill)) { + else if (players.includes(info.sourceSkill)) { logInfo.type = 'player'; } - else if (equips.contains(info.sourceSkill)) { + else if (equips.includes(info.sourceSkill)) { logInfo.type = 'equip'; } } else { - if (global.contains(name)) { + if (global.includes(name)) { logInfo.sourceSkill = name; logInfo.type = 'global'; } - else if (players.contains(name)) { + else if (players.includes(name)) { logInfo.sourceSkill = name; logInfo.type = 'player'; } - else if (equips.contains(name)) { + else if (equips.includes(name)) { logInfo.sourceSkill = name; logInfo.type = 'equip'; } @@ -6537,7 +6537,7 @@ export const Content = { for (var i of players) { var expand = [i]; game.expandSkills(expand); - if (expand.contains(name)) { + if (expand.includes(name)) { bool = true; logInfo.sourceSkill = i; logInfo.type = 'player'; @@ -6548,7 +6548,7 @@ export const Content = { for (var i of players) { var expand = [i]; game.expandSkills(expand); - if (expand.contains(name)) { + if (expand.includes(name)) { logInfo.sourceSkill = i; logInfo.type = 'equip'; break; @@ -6803,7 +6803,7 @@ export const Content = { var next = owner.lose(cards, 'visible', ui.ordering).set('type', 'use'); var directDiscard = []; for (var i = 0; i < cards.length; i++) { - if (!next.cards.contains(cards[i])) { + if (!next.cards.includes(cards[i])) { directDiscard.push(cards[i]); } } @@ -6937,10 +6937,10 @@ export const Content = { } else if (event.losing_map) { for (var id in event.losing_map) { - if (event.losing_map[id][0].contains(cards[i])) { + if (event.losing_map[id][0].includes(cards[i])) { var source = (_status.connectMode ? lib.playerOL : game.playerMap)[id]; var hs = source.getCards('hejsx'); - if (hs.contains(cards[i])) { + if (hs.includes(cards[i])) { cards.splice(i--, 1); } else { cards[i].addKnower(event.visible ? 'everyone' : source); @@ -6968,14 +6968,14 @@ export const Content = { var frag2 = document.createDocumentFragment(); var hs = player.getCards('hs'); for (var i = 0; i < cards.length; i++) { - if (hs.contains(cards[i])) { + if (hs.includes(cards[i])) { cards.splice(i--, 1); } } for (var num = 0; num < cards.length; num++) { sort = lib.config.sort_card(cards[num]); if (lib.config.reverse_sort) sort = -sort; - if (['o', 'd'].contains(get.position(cards[num], true))) { + if (['o', 'd'].includes(get.position(cards[num], true))) { cards[num].addKnower('everyone'); } cards[num].fix(); @@ -7140,10 +7140,10 @@ export const Content = { } else if (event.losing_map) { for (var id in event.losing_map) { - if (event.losing_map[id][0].contains(cards[i])) { + if (event.losing_map[id][0].includes(cards[i])) { var source = (_status.connectMode ? lib.playerOL : game.playerMap)[id]; var hs = source.getCards('hejsx'); - if (hs.contains(cards[i])) { + if (hs.includes(cards[i])) { cards.splice(i--, 1); } } @@ -7157,7 +7157,7 @@ export const Content = { "step 2"; var hs = player.getCards('x'); for (var i = 0; i < cards.length; i++) { - if (hs.contains(cards[i])) { + if (hs.includes(cards[i])) { cards.splice(i--, 1); } } @@ -7306,7 +7306,7 @@ export const Content = { var hej = player.getCards('hejsx'); event.stockcards = cards.slice(0); for (var i = 0; i < cards.length; i++) { - if (!hej.contains(cards[i])) { + if (!hej.includes(cards[i])) { cards.splice(i--, 1); continue; } @@ -7393,7 +7393,7 @@ export const Content = { else { cards[i].remove(); } - //if(ss.contains(cards[i])) cards.splice(i--,1); + //if(ss.includes(cards[i])) cards.splice(i--,1); } if (player == game.me) ui.updatehl(); ui.updatej(player); @@ -7449,7 +7449,7 @@ export const Content = { } "step 2"; if (num < cards.length) { - if (event.es.contains(cards[num])) { + if (event.es.includes(cards[num])) { event.loseEquip = true; player.removeEquipTrigger(cards[num]); var info = get.info(cards[num]); @@ -7749,7 +7749,7 @@ export const Content = { if (event.popup !== false) { player.$damagepop(num, 'water'); } - if (_status.dying.contains(player) && player.hp > 0) { + if (_status.dying.includes(player) && player.hp > 0) { _status.dying.remove(player); game.broadcast(function (list) { _status.dying = list; @@ -7866,7 +7866,7 @@ export const Content = { // player.removeEquipTrigger(); // for(var i in lib.skill.globalmap){ - // if(lib.skill.globalmap[i].contains(player)){ + // if(lib.skill.globalmap[i].includes(player)){ // lib.skill.globalmap[i].remove(player); // if(lib.skill.globalmap[i].length==0&&!lib.skill[i].globalFixed){ // game.removeGlobalSkill(i); @@ -8036,7 +8036,7 @@ export const Content = { } else if (event.relatedLose) { var owner = event.relatedLose.player; - if (owner.getCards('hejsx').contains(card)) { + if (owner.getCards('hejsx').includes(card)) { event.finish(); return; } diff --git a/noname/library/element/gameEvent.js b/noname/library/element/gameEvent.js index ef465b9f1..4ede78fd2 100644 --- a/noname/library/element/gameEvent.js +++ b/noname/library/element/gameEvent.js @@ -218,7 +218,7 @@ export class GameEvent { this.finish(); if (notrigger != 'notrigger') { this.trigger(this.name + 'Cancelled'); - if (this.player && lib.phaseName.contains(this.name)) this.player.getHistory('skipped').add(this.name); + if (this.player && lib.phaseName.includes(this.name)) this.player.getHistory('skipped').add(this.name); } return this; } @@ -249,7 +249,7 @@ export class GameEvent { if (!this.player) return this; var hidden = this.player.hiddenSkills.slice(0); game.expandSkills(hidden); - if (hidden.contains(skill)) this.set('hsskill', skill); + if (hidden.includes(skill)) this.set('hsskill', skill); return this; } set(key, value) { diff --git a/noname/library/element/player.js b/noname/library/element/player.js index c06a7ae55..c331ec348 100644 --- a/noname/library/element/player.js +++ b/noname/library/element/player.js @@ -669,7 +669,7 @@ export class Player extends HTMLDivElement { } if (!subtype) return []; return this.getCards('e', function (card) { - return get.subtypes(card, false).contains(subtype); + return get.subtypes(card, false).includes(subtype); }); } //新的废除装备区/恢复装备区/扩展装备区 @@ -941,7 +941,7 @@ export class Player extends HTMLDivElement { removeCooperation(info) { var player = this; var storage = player.getStorage('cooperation'); - if (!storage.contains(info)) return; + if (!storage.includes(info)) return; storage.remove(info); var unmark = true, reason = info.type; if (!storage.length) { @@ -1060,7 +1060,7 @@ export class Player extends HTMLDivElement { game.broadcastAll(function (player, cards, tag) { var hs = player.getCards('hejsx'); for (var i of cards) { - if (hs.contains(i)) i.addGaintag(tag); + if (hs.includes(i)) i.addGaintag(tag); } }, this, cards, tag); } @@ -1077,7 +1077,7 @@ export class Player extends HTMLDivElement { var name = {}, hs = player.getCards('hs'); for (var i of hs) name[get.name(i)] = true; for (var i in lib.card) { - if (lib.card[i].savable && (lib.inpile.contains(i) || name[i])) { + if (lib.card[i].savable && (lib.inpile.includes(i) || name[i])) { if (lib.filter.cardSavable({ name: i }, player, target) && (_status.connectMode || player.hasUsableCard(i))) return true; } } @@ -1181,7 +1181,7 @@ export class Player extends HTMLDivElement { return true; }); for (var i = 0; i < skills.length; i++) { - if (this.hiddenSkills.contains(skills[i])) { + if (this.hiddenSkills.includes(skills[i])) { this.hiddenSkills.remove(skills[i]); this.addSkill(skills[i]); } @@ -1238,7 +1238,7 @@ export class Player extends HTMLDivElement { emotion.style.top = top + 'px'; var left2 = getLeft(target) - width; var top2 = target.getTop() + target.offsetHeight / 3 - height; - if (['egg', 'flower', 'shoe'].contains(name) || rotate) { + if (['egg', 'flower', 'shoe'].includes(name) || rotate) { var num1 = 0.95 + Math.random() * (1.1 - 0.95); var num2 = 1 + Math.random() * (3 - 1); var left2 = getLeft(target) / num1 - width; @@ -1250,7 +1250,7 @@ export class Player extends HTMLDivElement { } emotion.style['z-index'] = 10; emotion.style.transform = 'translateY(' + (top2 - top) + 'px) translateX(' + (left2 - left) + 'px)'; - if (['egg', 'flower', 'shoe'].contains(name) || rotate) emotion.firstElementChild.style.transform = 'rotate(1440deg)'; + if (['egg', 'flower', 'shoe'].includes(name) || rotate) emotion.firstElementChild.style.transform = 'rotate(1440deg)'; if (lib.config.background_audio) game.playAudio('effect', 'throw_' + name + get.rand(1, 2)); setTimeout(function () { emotion.innerHTML = ('
    '); @@ -1328,8 +1328,8 @@ export class Player extends HTMLDivElement { inRange(to) { var from = this; if (from == to || from.hasSkill('undist') || to.hasSkill('undist')) return false; - if (!game.players.contains(from) && !game.dead.contains(from)) return false; - if (!game.players.contains(to) && !game.dead.contains(to)) return false; + if (!game.players.includes(from) && !game.dead.includes(from)) return false; + if (!game.players.includes(to) && !game.dead.includes(to)) return false; var mod1 = game.checkMod(from, to, 'unchanged', 'inRange', from); if (mod1 != 'unchanged') return mod1; var mod2 = game.checkMod(from, to, 'unchanged', 'inRangeOf', to); @@ -1372,9 +1372,9 @@ export class Player extends HTMLDivElement { m = game.checkMod(from, to, m, 'attackFrom', from); m = game.checkMod(from, to, m, 'attackTo', to); var equips1 = from.getCards('e', function (card) { - return !ui.selected.cards || !ui.selected.cards.contains(card); + return !ui.selected.cards || !ui.selected.cards.includes(card); }), equips2 = to.getCards('e', function (card) { - return !ui.selected.cards || !ui.selected.cards.contains(card); + return !ui.selected.cards || !ui.selected.cards.includes(card); }); for (i = 0; i < equips1.length; i++) { var info = get.info(equips1[i]).distance; @@ -1422,7 +1422,7 @@ export class Player extends HTMLDivElement { next.log = true; for (var i = 0; i < arguments.length; i++) { var arg = arguments[i]; - if (lib.group.contains(arg)) { + if (lib.group.includes(arg)) { next.group = arg; } else if (typeof arg === 'boolean') { @@ -1563,7 +1563,7 @@ export class Player extends HTMLDivElement { if (this.classList.contains('minskin') && this.node.name.querySelectorAll('br').length >= 4) { this.node.name.classList.add('long'); } - if (info[4].contains('hiddenSkill') && !this.noclick) { + if (info[4].includes('hiddenSkill') && !this.noclick) { if (!this.hiddenSkills) this.hiddenSkills = []; this.hiddenSkills.addArray(skills); skills = []; @@ -1620,7 +1620,7 @@ export class Player extends HTMLDivElement { this.hp = hp1 + hp2 - 3; } } - if (info2[4].contains('hiddenSkill') && !this.noclick) { + if (info2[4].includes('hiddenSkill') && !this.noclick) { if (!this.hiddenSkills) this.hiddenSkills = []; this.hiddenSkills.addArray(info2[3]); this.storage.nohp = true; @@ -1673,13 +1673,13 @@ export class Player extends HTMLDivElement { info[4] = []; } - if (!game.minskin && get.is.newLayout() && !info[4].contains('minskin')) { + if (!game.minskin && get.is.newLayout() && !info[4].includes('minskin')) { this.classList.remove('minskin'); this.node.avatar.setBackground(character, 'character'); } else { this.node.avatar.setBackground(character, 'character'); - if (info[4].contains('minskin')) { + if (info[4].includes('minskin')) { this.classList.add('minskin'); } else if (game.minskin) { @@ -1701,7 +1701,7 @@ export class Player extends HTMLDivElement { if (this.classList.contains('minskin') && this.node.name.querySelectorAll('br').length >= 4) { this.node.name.classList.add('long'); } - if (info[4].contains('hiddenSkill') && !this.noclick) { + if (info[4].includes('hiddenSkill') && !this.noclick) { this.classList.add(_status.video ? 'unseen_v' : 'unseen'); if (!this.node.name_seat && !_status.video) { this.node.name_seat = ui.create.div('.name.name_seat', get.verticalStr(get.translation(this.name)), this); @@ -1722,7 +1722,7 @@ export class Player extends HTMLDivElement { this.name2 = character2; this.node.count.classList.add('p2'); - if (info2[4].contains('hiddenSkill') && !this.noclick) { + if (info2[4].includes('hiddenSkill') && !this.noclick) { this.classList.add(_status.video ? 'unseen2_v' : 'unseen2'); } this.node.name2.innerHTML = get.slimName(character2); @@ -2317,7 +2317,7 @@ export class Player extends HTMLDivElement { } for (var i = 0; i < list.length; i++) { for (var j in lib.characterPack[list[i]]) { - if (lib.characterPack[list[i]][j][3].contains(name)) { + if (lib.characterPack[list[i]][j][3].includes(name)) { name = j; stop = true; break; @@ -2328,7 +2328,7 @@ export class Player extends HTMLDivElement { } } } - if (lib.character[this.name2] && lib.character[this.name2][3].contains(skill)) { + if (lib.character[this.name2] && lib.character[this.name2][3].includes(skill)) { this.setAvatarQueue(this.name2, [name]); } else { @@ -2585,10 +2585,10 @@ export class Player extends HTMLDivElement { } else if (arg1 == 's') { if (typeof arg2 == 'boolean') { - return game.expandSkills(this.getSkills(arg2).concat(lib.skill.global)).contains(arg3); + return game.expandSkills(this.getSkills(arg2).concat(lib.skill.global)).includes(arg3); } else { - return game.expandSkills(this.getSkills().concat(lib.skill.global)).contains(arg2); + return game.expandSkills(this.getSkills().concat(lib.skill.global)).includes(arg2); } } } @@ -2790,7 +2790,7 @@ export class Player extends HTMLDivElement { value = cards[i][j]; } if ((typeof arg2[j] == 'string' && value != arg2[j]) || - (Array.isArray(arg2[j]) && !arg2[j].contains(value))) { + (Array.isArray(arg2[j]) && !arg2[j].includes(value))) { cards.splice(i--, 1); break; } } @@ -3020,7 +3020,7 @@ export class Player extends HTMLDivElement { for (j in arg2) { if (j == 'type') { if (typeof arg2[j] == 'object') { - if (arg2[j].contains(get.type(cards[i])) == false) { + if (arg2[j].includes(get.type(cards[i])) == false) { cards.splice(i, 1); i--; break; } } @@ -3032,7 +3032,7 @@ export class Player extends HTMLDivElement { } else if (j == 'subtype') { if (typeof arg2[j] == 'object') { - if (arg2[j].contains(get.subtype(cards[i])) == false) { + if (arg2[j].includes(get.subtype(cards[i])) == false) { cards.splice(i, 1); i--; break; } } @@ -3044,7 +3044,7 @@ export class Player extends HTMLDivElement { } else if (j == 'color') { if (typeof arg2[j] == 'object') { - if (arg2[j].contains(get.color(cards[i])) == false) { + if (arg2[j].includes(get.color(cards[i])) == false) { cards.splice(i, 1); i--; break; } } @@ -3056,7 +3056,7 @@ export class Player extends HTMLDivElement { } else if (j == 'suit') { if (typeof arg2[j] == 'object') { - if (arg2[j].contains(get.suit(cards[i])) == false) { + if (arg2[j].includes(get.suit(cards[i])) == false) { cards.splice(i, 1); i--; break; } } @@ -3068,7 +3068,7 @@ export class Player extends HTMLDivElement { } else if (j == 'number') { if (typeof arg2[j] == 'object') { - if (arg2[j].contains(get.number(cards[i])) == false) { + if (arg2[j].includes(get.number(cards[i])) == false) { cards.splice(i, 1); i--; break; } } @@ -3079,7 +3079,7 @@ export class Player extends HTMLDivElement { } } else if (typeof arg2[j] == 'object') { - if (arg2[j].contains(cards[i][j]) == false) { + if (arg2[j].includes(cards[i][j]) == false) { cards.splice(i, 1); i--; break; } } @@ -3179,7 +3179,7 @@ export class Player extends HTMLDivElement { evt = null; next = game.createEvent('phase', false); } - if (evt && insert && evt.next.contains(next)) { + if (evt && insert && evt.next.includes(next)) { evt.next.remove(next); evt.next.unshift(next); } @@ -4675,7 +4675,7 @@ export class Player extends HTMLDivElement { $addToExpansion(cards, broadcast, gaintag) { var hs = this.getCards('x'); for (var i = 0; i < cards.length; i++) { - if (hs.contains(cards[i])) { + if (hs.includes(cards[i])) { cards.splice(i--, 1); } } @@ -4693,7 +4693,7 @@ export class Player extends HTMLDivElement { directgain(cards, broadcast, gaintag) { var hs = this.getCards('hs'); for (var i = 0; i < cards.length; i++) { - if (hs.contains(cards[i])) { + if (hs.includes(cards[i])) { cards.splice(i--, 1); } } @@ -4724,7 +4724,7 @@ export class Player extends HTMLDivElement { directgains(cards, broadcast, gaintag) { var hs = this.getCards('hs'); for (var i = 0; i < cards.length; i++) { - if (hs.contains(cards[i])) { + if (hs.includes(cards[i])) { cards.splice(i--, 1); } } @@ -4984,7 +4984,7 @@ export class Player extends HTMLDivElement { if (next.cards) { var hej = this.getCards('hejsx'); for (var i = 0; i < next.cards.length; i++) { - if (!hej.contains(next.cards[i])) { + if (!hej.includes(next.cards[i])) { next.cards.splice(i--, 1); } } @@ -5797,26 +5797,26 @@ export class Player extends HTMLDivElement { }; if (info.sourceSkill) { logInfo.sourceSkill = info.sourceSkill; - if (global.contains(info.sourceSkill)) { + if (global.includes(info.sourceSkill)) { logInfo.type = 'global'; } - else if (players.contains(info.sourceSkill)) { + else if (players.includes(info.sourceSkill)) { logInfo.type = 'player'; } - else if (equips.contains(info.sourceSkill)) { + else if (equips.includes(info.sourceSkill)) { logInfo.type = 'equip'; } } else { - if (global.contains(name)) { + if (global.includes(name)) { logInfo.sourceSkill = name; logInfo.type = 'global'; } - else if (players.contains(name)) { + else if (players.includes(name)) { logInfo.sourceSkill = name; logInfo.type = 'player'; } - else if (equips.contains(name)) { + else if (equips.includes(name)) { logInfo.sourceSkill = name; logInfo.type = 'equip'; } @@ -5825,7 +5825,7 @@ export class Player extends HTMLDivElement { for (var i of players) { var expand = [i]; game.expandSkills(expand); - if (expand.contains(name)) { + if (expand.includes(name)) { bool = true; logInfo.sourceSkill = i; logInfo.type = 'player'; @@ -5836,7 +5836,7 @@ export class Player extends HTMLDivElement { for (var i of players) { var expand = [i]; game.expandSkills(expand); - if (expand.contains(name)) { + if (expand.includes(name)) { logInfo.sourceSkill = i; logInfo.type = 'equip'; break; @@ -6060,15 +6060,15 @@ export class Player extends HTMLDivElement { const storage = this.storage[name]; if (!Array.isArray(values)) values = Array.from(arguments).slice(1); if (!storage) return false; - if (!Array.isArray(storage)) return values.contains(storage); - return values.some(item => storage.contains(item)); + if (!Array.isArray(storage)) return values.includes(storage); + return values.some(item => storage.includes(item)); } hasStorageAll(name, values) { const storage = this.storage[name]; if (!Array.isArray(values)) values = Array.from(arguments).slice(1); if (!storage) return false; if (!Array.isArray(storage)) return false; - return values.every(item => storage.contains(item)); + return values.every(item => storage.includes(item)); } initStorage(name, value, mark) { return this.hasStorage(name) ? this.getStorage(name) : this.setStorage(name, value, mark); @@ -6419,7 +6419,7 @@ export class Player extends HTMLDivElement { cfg.skill = cfg.skill || _status.event.name; if (!cfg.source) { if (this.hasSkill(_status.event.name) && this.name2 && lib.character[this.name2] && - lib.character[this.name2][3].contains(_status.event.name)) { + lib.character[this.name2][3].includes(_status.event.name)) { cfg.source = this.name2; } else { @@ -6578,13 +6578,13 @@ export class Player extends HTMLDivElement { } } else { - if (this.invisibleSkills.contains(skill)) return; + if (this.invisibleSkills.includes(skill)) return; _status.event.clearStepCache(); var info = lib.skill[skill]; if (!info) return; this.invisibleSkills.add(skill); this.addSkillTrigger(skill); - if (this.awakenedSkills.contains(skill)) { + if (this.awakenedSkills.includes(skill)) { this.awakenSkill(skill); return; } @@ -6615,7 +6615,7 @@ export class Player extends HTMLDivElement { } } else { - if (this.skills.contains(skill)) return; + if (this.skills.includes(skill)) return; _status.event.clearStepCache(); var info = lib.skill[skill]; if (!info) return; @@ -6628,7 +6628,7 @@ export class Player extends HTMLDivElement { } } this.addSkillTrigger(skill); - if (this.awakenedSkills.contains(skill)) { + if (this.awakenedSkills.includes(skill)) { this.awakenSkill(skill); return; } @@ -6709,14 +6709,14 @@ export class Player extends HTMLDivElement { if (this.additionalSkills[skill]) { const additionalSkills = this.additionalSkills[skill]; const hasAnotherSKill = function (skillkey, skill) { - return (player.skills.contains(skill) || player.tempSkills[skill] || Object.keys(player.additionalSkills).some(key => { + return (player.skills.includes(skill) || player.tempSkills[skill] || Object.keys(player.additionalSkills).some(key => { if (key === skillkey) return false; if (Array.isArray(player.additionalSkills[key])) return player.additionalSkills[key].includes(skill); return player.additionalSkills[key] == skill; })); }; if (Array.isArray(additionalSkills) && typeof target == 'string') { - if (additionalSkills.contains(target)) { + if (additionalSkills.includes(target)) { additionalSkills.remove(target); if (!hasAnotherSKill(skill, target)) this.removeSkill(target); } @@ -6818,7 +6818,7 @@ export class Player extends HTMLDivElement { var skills = this.getSkills(); game.expandSkills(skills); for (var i in this.marks) { - if (!skills.contains(i) && !this.marks[i].info.fixed) { + if (!skills.includes(i) && !this.marks[i].info.fixed) { this.unmarkSkill(i); } } @@ -6848,7 +6848,7 @@ export class Player extends HTMLDivElement { var skills = this.getSkills(null, false); if (info.skills) { for (var j = 0; j < info.skills.length; j++) { - if (skills.contains(info.skills[j])) continue; + if (skills.includes(info.skills[j])) continue; this.removeSkillTrigger(info.skills[j]); } } @@ -7026,7 +7026,7 @@ export class Player extends HTMLDivElement { for (i = 0; i < this.skills.length; i++) { if (lib.skill[this.skills[i]].superCharlotte) continue; if (!all && (lib.skill[this.skills[i]].temp || lib.skill[this.skills[i]].charlotte)) continue; - if (!exclude.contains(this.skills[i])) { + if (!exclude.includes(this.skills[i])) { list.push(this.skills[i]); } } @@ -7069,10 +7069,10 @@ export class Player extends HTMLDivElement { var forbidlist = lib.config.forbid.concat(lib.config.customforbid); var skills = this.getSkills(); for (var i = 0; i < forbidlist.length; i++) { - if (lib.config.customforbid.contains(forbidlist[i]) || - !lib.config.forbidlist.contains(getName(forbidlist[i]))) { + if (lib.config.customforbid.includes(forbidlist[i]) || + !lib.config.forbidlist.includes(getName(forbidlist[i]))) { for (var j = 0; j < forbidlist[i].length; j++) { - if (!skills.contains(forbidlist[i][j])) break; + if (!skills.includes(forbidlist[i][j])) break; } if (j == forbidlist[i].length) { forbid.push(forbidlist[i]); @@ -7272,7 +7272,7 @@ export class Player extends HTMLDivElement { range = game.checkMod(player, player, range, 'globalFrom', player); range = game.checkMod(player, player, range, 'attackFrom', player); const equips = player.getCards('e', function (card) { - return !ui.selected.cards || !ui.selected.cards.contains(card); + return !ui.selected.cards || !ui.selected.cards.includes(card); }); equips.forEach(card => { const info = get.info(card, false).distance; @@ -7295,7 +7295,7 @@ export class Player extends HTMLDivElement { getEquipRange(cards) { const player = this; if (!cards) cards = player.getCards('e', function (card) { - return !ui.selected.cards || !ui.selected.cards.contains(card); + return !ui.selected.cards || !ui.selected.cards.includes(card); }); const range = cards.reduce((range, card) => { let newRange = false; @@ -7322,7 +7322,7 @@ export class Player extends HTMLDivElement { var range = 0; range = game.checkMod(player, player, range, 'globalFrom', player); var equips = player.getCards('e', function (card) { - return !ui.selected.cards || !ui.selected.cards.contains(card); + return !ui.selected.cards || !ui.selected.cards.includes(card); }); for (var i = 0; i < equips.length; i++) { var info = get.info(equips[i]).distance; @@ -7338,7 +7338,7 @@ export class Player extends HTMLDivElement { var range = 0; range = game.checkMod(player, player, range, 'globalTo', player); var equips = player.getCards('e', function (card) { - return !ui.selected.cards || !ui.selected.cards.contains(card); + return !ui.selected.cards || !ui.selected.cards.includes(card); }); for (var i = 0; i < equips.length; i++) { var info = get.info(equips[i]).distance; @@ -7365,15 +7365,15 @@ export class Player extends HTMLDivElement { switch (player.identity) { case 'bZhu': case 'bZhong': case 'rNei': targets = game.filterPlayer(function (target) { if (func && !func(target)) return false; - return ['rZhu', 'rZhong', 'bNei'].contains(target.identity); + return ['rZhu', 'rZhong', 'bNei'].includes(target.identity); }); break; case 'rZhu': case 'rZhong': case 'bNei': targets = game.filterPlayer(function (target) { if (func && !func(target)) return false; - return ['bZhu', 'bZhong', 'rNei'].contains(target.identity); + return ['bZhu', 'bZhong', 'rNei'].includes(target.identity); }); break; case 'rYe': case 'bYe': targets = game.filterPlayer(function (target) { if (func && !func(target)) return false; - return !['rYe', 'bYe'].contains(target.identity); + return !['rYe', 'bYe'].includes(target.identity); }); break; } } @@ -7447,15 +7447,15 @@ export class Player extends HTMLDivElement { switch (player.identity) { case 'rZhu': case 'rZhong': case 'bNei': targets = game.filterPlayer(function (target) { if (func && !func(target)) return false; - return ['rZhu', 'rZhong', 'bNei'].contains(target.identity); + return ['rZhu', 'rZhong', 'bNei'].includes(target.identity); }); break; case 'bZhu': case 'bZhong': case 'rNei': targets = game.filterPlayer(function (target) { if (func && !func(target)) return false; - return ['bZhu', 'bZhong', 'rNei'].contains(target.identity); + return ['bZhu', 'bZhong', 'rNei'].includes(target.identity); }); break; case 'rYe': case 'bYe': targets = game.filterPlayer(function (target) { if (func && !func(target)) return false; - return ['rYe', 'bYe'].contains(target.identity); + return ['rYe', 'bYe'].includes(target.identity); }); break; } } @@ -7463,7 +7463,7 @@ export class Player extends HTMLDivElement { switch (player.identity) { case 'zhu': case 'zhong': case 'mingzhong': targets = game.filterPlayer(function (target) { if (func && !func(target)) return false; - return ['zhu', 'zhong', 'mingzhong'].contains(target.identity); + return ['zhu', 'zhong', 'mingzhong'].includes(target.identity); }); break; case 'nei': targets = []; break; case 'fan': targets = game.filterPlayer(function (target) { @@ -7529,10 +7529,10 @@ export class Player extends HTMLDivElement { return this == player; } isFriendsOf(player) { - return player.getFriends(true).contains(this); + return player.getFriends(true).includes(this); } isEnemiesOf(player) { - return player.getEnemies().contains(this); + return player.getEnemies().includes(this); } isAlive() { return this.classList.contains('dead') == false; @@ -7541,7 +7541,7 @@ export class Player extends HTMLDivElement { return this.classList.contains('dead'); } isDying() { - return _status.dying.contains(this) && this.hp <= 0 && this.isAlive(); + return _status.dying.includes(this) && this.hp <= 0 && this.isAlive(); } isDamaged() { return this.hp < this.maxHp && !this.storage.nohp; @@ -7684,8 +7684,8 @@ export class Player extends HTMLDivElement { if (sourceSkill && sourceSkill.sourceSkill) { skill = sourceSkill.sourceSkill; } - if (lib.skill.global.contains(skill)) return false; - if (get.mode() != 'guozhan' || game.expandSkills(this.getSkills()).contains(skill)) { + if (lib.skill.global.includes(skill)) return false; + if (get.mode() != 'guozhan' || game.expandSkills(this.getSkills()).includes(skill)) { if (showonly) { return false; } @@ -7697,7 +7697,7 @@ export class Player extends HTMLDivElement { var name1 = this.name1 || this.name; if (lib.character[name1] && (!showonly || unseen0)) { var skills = game.expandSkills(lib.character[name1][3].slice(0)); - if (skills.contains(skill)) { + if (skills.includes(skill)) { if (!noshow && this.isUnseen(0)) this.showCharacter(0); return 'main'; } @@ -7706,7 +7706,7 @@ export class Player extends HTMLDivElement { var name2 = this.name2; if (lib.character[name2] && (!showonly || unseen1)) { var skills = game.expandSkills(lib.character[name2][3].slice(0)); - if (skills.contains(skill)) { + if (skills.includes(skill)) { if (!noshow && this.isUnseen(1)) this.showCharacter(1); return 'vice'; } @@ -7735,10 +7735,10 @@ export class Player extends HTMLDivElement { return get.distance(target, this, method); } hasSkill(skill, arg2, arg3, arg4) { - return game.expandSkills(this.getSkills(arg2, arg3, arg4)).contains(skill); + return game.expandSkills(this.getSkills(arg2, arg3, arg4)).includes(skill); } hasStockSkill(skill, arg1, arg2, arg3) { - return game.expandSkills(this.getStockSkills(arg1, arg2, arg3)).contains(skill); + return game.expandSkills(this.getStockSkills(arg1, arg2, arg3)).includes(skill); } isZhu2() { var player = this, mode = get.mode(); @@ -8006,7 +8006,7 @@ export class Player extends HTMLDivElement { else { if (es[i].name === name) return es[i]; var source = get.info(es[i]).source; - if (Array.isArray(source) && source.contains(name)) { + if (Array.isArray(source) && source.includes(name)) { return es[i]; } } diff --git a/noname/library/index.js b/noname/library/index.js index 91381d0ef..acf125aff 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -1598,7 +1598,7 @@ export class Library extends Uninstantable { } }, onclick: function (layout) { - if (lib.layoutfixed.contains(lib.config.mode)) { + if (lib.layoutfixed.includes(lib.config.mode)) { game.saveConfig('layout', layout); } else { @@ -4333,7 +4333,7 @@ export class Library extends Uninstantable { this.lastChild.innerHTML = this._link.config.item[lib.config.background_music]; var menu = this._link.menu; for (var i = 0; i < menu.childElementCount; i++) { - if (!['music_off', 'music_custom', 'music_random'].concat(lib.config.all.background_music).contains(menu.childNodes[i]._link)) menu.childNodes[i].delete(); + if (!['music_off', 'music_custom', 'music_random'].concat(lib.config.all.background_music).includes(menu.childNodes[i]._link)) menu.childNodes[i].delete(); } }, name: '背景音乐', @@ -4434,7 +4434,7 @@ export class Library extends Uninstantable { update: function (config, map) { for (var i in map) { if (map[i]._link.config.type == 'autoskill') { - if (!lib.config.autoskilllist.contains(i)) { + if (!lib.config.autoskilllist.includes(i)) { map[i].classList.add('on'); } else { @@ -4442,7 +4442,7 @@ export class Library extends Uninstantable { } } else if (map[i]._link.config.type == 'banskill') { - if (!lib.config.forbidlist.contains(i)) { + if (!lib.config.forbidlist.includes(i)) { map[i].classList.add('on'); } else { @@ -4640,7 +4640,7 @@ export class Library extends Uninstantable { // } // } // for(var i=0;i { if (!player.canUse(card, current)) return false; const storage = player.storage, zhibi = storage.zhibi; - return (zhibi && !zhibi.contains(current) || (get.effect(current, card, player, player) >= 2 - Math.max(0, (storage.stratagem_fury || 0) - 1))) && current.mayHaveShan(); + return (zhibi && !zhibi.includes(current) || (get.effect(current, card, player, player) >= 2 - Math.max(0, (storage.stratagem_fury || 0) - 1))) && current.mayHaveShan(); })) return get.order(card, player) + 0.5; } else if (cardName == 'tao' && player.hp <= 2 && player.getDamagedHp() >= 2) return get.order(card, player) + 0.5; @@ -10599,7 +10599,7 @@ export class Library extends Uninstantable { if (!info.discard) info.discard = []; for (var i of trigger.cards2) { var suit = get.suit(i, player); - if (lib.suit.contains(suit)) info.discard.add(suit); + if (lib.suit.includes(suit)) info.discard.add(suit); } } } @@ -10623,7 +10623,7 @@ export class Library extends Uninstantable { var suits = info.discard || []; var suits2 = [['spade', '♠', '♤'], ['heart', '♥', '♡'], ['club', '♣', '♧'], ['diamond', '♦', '♢']]; for (var i of suits2) { - str += (suits.contains(i[0]) ? i[1] : i[2]); + str += (suits.includes(i[0]) ? i[1] : i[2]); } str += (suits.length > 3 ? ' (已完成)' : ' (未完成)'); str += '
      '; @@ -10642,12 +10642,12 @@ export class Library extends Uninstantable { firstDo: true, filter: function (event, player) { var suit = get.suit(event.card); - if (!lib.suit.contains(suit)) return false; + if (!lib.suit.includes(suit)) return false; var storage = player.getStorage('cooperation'); for (var info of storage) { if (info.type == 'use' && (event.player == player || event.player == info.target) && - (!info.used || !info.used.contains(suit))) return true; + (!info.used || !info.used.includes(suit))) return true; } return false; }, @@ -10681,7 +10681,7 @@ export class Library extends Uninstantable { var suits = info.used || []; var suits2 = [['spade', '♠', '♤'], ['heart', '♥', '♡'], ['club', '♣', '♧'], ['diamond', '♦', '♢']]; for (var i of suits2) { - str += (suits.contains(i[0]) ? i[1] : i[2]); + str += (suits.includes(i[0]) ? i[1] : i[2]); } str += (suits.length > 3 ? ' (已完成)' : ' (未完成)'); str += '
      '; @@ -10832,7 +10832,7 @@ export class Library extends Uninstantable { if (!history.length) { var val = 0; if (player.hasCard(function (cardx) { - return get.suit(cardx) == suitx && card != cardx && (!card.cards || !card.cards.contains(cardx)) && player.hasValueTarget(cardx); + return get.suit(cardx) == suitx && card != cardx && (!card.cards || !card.cards.includes(cardx)) && player.hasValueTarget(cardx); }, 'hs')) val = [2, 0.1]; if (val) return val; return; @@ -10841,7 +10841,7 @@ export class Library extends Uninstantable { var suit = false; for (var i = 0; i < history.length; i++) { var suit2 = get.suit(history[i].card); - if (!lib.suit.contains(suit2)) return; + if (!lib.suit.includes(suit2)) return; if (suit && suit != suit2) return; suit = suit2; num++; @@ -10875,7 +10875,7 @@ export class Library extends Uninstantable { if (evt && evt.player == player) { for (var i of event.cards2) { var suit = get.suit(i, player); - if (list.contains(suit)) { + if (list.includes(suit)) { goon = false; break; } @@ -11132,7 +11132,7 @@ export class Library extends Uninstantable { for (var i = 0; i < list.length; i++) { if (list[i] && lib.character[list[i]]) { var info = lib.character[list[i]]; - if (info[3].contains('dualside') && info[4]) { + if (info[3].includes('dualside') && info[4]) { player.storage.dualside = [list[i], player.hp, player.maxHp]; for (var j = 0; j < info[4].length; j++) { if (info[4][j].startsWith('dualside:')) { @@ -11499,7 +11499,7 @@ export class Library extends Uninstantable { } else { for (var i = 0; i < 20; i++) { - if (event.acted.contains(event.player.next)) { + if (event.acted.includes(event.player.next)) { break; } else { @@ -11728,14 +11728,14 @@ export class Library extends Uninstantable { this.inited = true; }, result: function (result) { - if (lib.node.observing.contains(this)) return; + if (lib.node.observing.includes(this)) return; var player = lib.playerOL[this.id]; if (player) { player.unwait(result); } }, tempResult: function (result) { - if (lib.node.observing.contains(this)) return; + if (lib.node.observing.includes(this)) return; var player = lib.playerOL[this.id]; if (player) { player.tempUnwait(result); @@ -11789,14 +11789,14 @@ export class Library extends Uninstantable { } }, throwEmotion: function (target, emotion, rotate) { - if (lib.node.observing.contains(this)) return; + if (lib.node.observing.includes(this)) return; var player = lib.playerOL[this.id]; if (player) { player.throwEmotion(target, emotion, rotate); } }, emotion: function (id, pack, emotion) { - if (lib.node.observing.contains(this)) return; + if (lib.node.observing.includes(this)) return; var that = this; if (!this.id || (!lib.playerOL[this.id] && (!game.connectPlayers || !function () { for (var i = 0; i < game.connectPlayers.length; i++) { @@ -11820,7 +11820,7 @@ export class Library extends Uninstantable { if (player) player.emotion(pack, emotion); }, chat: function (id, str) { - if (lib.node.observing.contains(this)) return; + if (lib.node.observing.includes(this)) return; var that = this; if (!this.id || (!lib.playerOL[this.id] && (!game.connectPlayers || !function () { for (var i = 0; i < game.connectPlayers.length; i++) { @@ -11844,7 +11844,7 @@ export class Library extends Uninstantable { if (player) player.chat(str); }, giveup: function (player) { - if (lib.node.observing.contains(this) || !player || !player._giveUp) return; + if (lib.node.observing.includes(this) || !player || !player._giveUp) return; _status.event.next.length = 0; game.createEvent('giveup', false).set('includeOut', true).setContent(function () { game.log(player, '投降'); @@ -11853,7 +11853,7 @@ export class Library extends Uninstantable { }).player = player; }, auto: function () { - if (lib.node.observing.contains(this)) return; + if (lib.node.observing.includes(this)) return; var player = lib.playerOL[this.id]; if (player) { player.isAuto = true; @@ -11864,7 +11864,7 @@ export class Library extends Uninstantable { } }, unauto: function () { - if (lib.node.observing.contains(this)) return; + if (lib.node.observing.includes(this)) return; var player = lib.playerOL[this.id]; if (player) { player.isAuto = false; diff --git a/noname/library/init/index.js b/noname/library/init/index.js index fb1c68a7c..f31e92b5a 100644 --- a/noname/library/init/index.js +++ b/noname/library/init/index.js @@ -376,7 +376,7 @@ export class LibInit extends Uninstantable { connectCharacterPack.push(i); continue; } - if (j == 'character' && !lib.config.characters.contains(i) && lib.config.mode != 'connect') { + if (j == 'character' && !lib.config.characters.includes(i) && lib.config.mode != 'connect') { if (lib.config.mode == 'chess' && get.config('chess_mode') == 'leader' && get.config('chess_leader_allcharacter')) { for (k in character[i][j]) { lib.hiddenCharacters.push(k); @@ -395,18 +395,18 @@ export class LibInit extends Uninstantable { if (!character[i][j][k][4]) { character[i][j][k][4] = []; } - if (character[i][j][k][4].contains('boss') || - character[i][j][k][4].contains('hiddenboss')) { + if (character[i][j][k][4].includes('boss') || + character[i][j][k][4].includes('hiddenboss')) { lib.config.forbidai.add(k); } - if (lib.config.forbidai_user && lib.config.forbidai_user.contains(k)) { + if (lib.config.forbidai_user && lib.config.forbidai_user.includes(k)) { lib.config.forbidai.add(k); } for (var l = 0; l < character[i][j][k][3].length; l++) { lib.skilllist.add(character[i][j][k][3][l]); } } - if (j == 'skill' && k[0] == '_' && (lib.config.mode != 'connect' ? (!lib.config.characters.contains(i)) : (!character[i].connect))) { + if (j == 'skill' && k[0] == '_' && (lib.config.mode != 'connect' ? (!lib.config.characters.includes(i)) : (!character[i].connect))) { continue; } if (j == 'translate' && k == i) { @@ -492,7 +492,7 @@ export class LibInit extends Uninstantable { else lib.cardPackList[i] = card[i][j]; } else { - if (lib.config.cards.contains(i)) { + if (lib.config.cards.includes(i)) { var pile; if (typeof card[i][j] == 'function') { pile = card[i][j](); @@ -524,7 +524,7 @@ export class LibInit extends Uninstantable { } else { for (k in card[i][j]) { - if (j == 'skill' && k[0] == '_' && !card[i][j][k].forceLoad && (lib.config.mode != 'connect' ? (!lib.config.cards.contains(i)) : (!card[i].connect))) { + if (j == 'skill' && k[0] == '_' && !card[i][j][k].forceLoad && (lib.config.mode != 'connect' ? (!lib.config.cards.includes(i)) : (!card[i].connect))) { continue; } if (j == 'translate' && k == i) { @@ -568,7 +568,7 @@ export class LibInit extends Uninstantable { if (typeof lib.card[lib.cardPack.mode_derivation[i]].derivation == 'string' && !lib.character[lib.card[lib.cardPack.mode_derivation[i]].derivation]) { lib.cardPack.mode_derivation.splice(i--, 1); } - else if (typeof lib.card[lib.cardPack.mode_derivation[i]].derivationpack == 'string' && !lib.config.cards.contains(lib.card[lib.cardPack.mode_derivation[i]].derivationpack)) { + else if (typeof lib.card[lib.cardPack.mode_derivation[i]].derivationpack == 'string' && !lib.config.cards.includes(lib.card[lib.cardPack.mode_derivation[i]].derivationpack)) { lib.cardPack.mode_derivation.splice(i--, 1); } } @@ -578,9 +578,9 @@ export class LibInit extends Uninstantable { } if (lib.config.mode != 'connect') { for (i in play) { - if (lib.config.hiddenPlayPack.contains(i)) continue; - if (play[i].forbid && play[i].forbid.contains(lib.config.mode)) continue; - if (play[i].mode && play[i].mode.contains(lib.config.mode) == false) continue; + if (lib.config.hiddenPlayPack.includes(i)) continue; + if (play[i].forbid && play[i].forbid.includes(lib.config.mode)) continue; + if (play[i].mode && play[i].mode.includes(lib.config.mode) == false) continue; for (j in play[i].element) { if (!lib.element[j]) lib.element[j] = []; for (k in play[i].element[j]) { @@ -639,13 +639,13 @@ export class LibInit extends Uninstantable { lib.connectCardPack = []; for (var i = 0; i < lib.config.all.characters.length; i++) { var packname = lib.config.all.characters[i]; - if (connectCharacterPack.contains(packname)) { + if (connectCharacterPack.includes(packname)) { lib.connectCharacterPack.push(packname) } } for (var i = 0; i < lib.config.all.cards.length; i++) { var packname = lib.config.all.cards[i]; - if (connectCardPack.contains(packname)) { + if (connectCardPack.includes(packname)) { lib.connectCardPack.push(packname) } } @@ -665,7 +665,7 @@ export class LibInit extends Uninstantable { lib.card.list.splice(i, 1); i--; } else if (lib.card[lib.card.list[i][2]].mode && - lib.card[lib.card.list[i][2]].mode.contains(lib.config.mode) == false) { + lib.card[lib.card.list[i][2]].mode.includes(lib.config.mode) == false) { lib.card.list.splice(i, 1); i--; } } diff --git a/noname/ui/index.js b/noname/ui/index.js index 055a24c6e..422ac9bdc 100644 --- a/noname/ui/index.js +++ b/noname/ui/index.js @@ -364,7 +364,7 @@ class Create extends Uninstantable { } else { let cardPack = lib.cardPack['mode_' + get.mode()]; - if (Array.isArray(cardPack) && cardPack.contains(cardName)) { + if (Array.isArray(cardPack) && cardPack.includes(cardName)) { bg.setBackground('mode/' + get.mode() + '/card/' + cardName); } else { @@ -1493,7 +1493,7 @@ class Create extends Uninstantable { lib.config['connect_' + modeorder[i] + '_bannedcards'] = []; } } - if (lib.config.all.mode.contains(modeorder[i])) { + if (lib.config.all.mode.includes(modeorder[i])) { createModeConfig(modeorder[i], start.firstChild); } } @@ -1553,7 +1553,7 @@ class Create extends Uninstantable { }; var skilllistexpanded = game.expandSkills(lib.skilllist); for (var i in lib.skill) { - if (!skilllistexpanded.contains(i)) continue; + if (!skilllistexpanded.includes(i)) continue; if (lib.skill[i].frequent && lib.translate[i]) { lib.configMenu.skill.config[i] = { name: lib.translate[i + '_noconf'] || lib.translate[i], @@ -1585,7 +1585,7 @@ class Create extends Uninstantable { var str2 = ''; var str3 = ''; for (var j = 0; j < forbid[i].length; j++) { - if (!lib.skilllist.contains(forbid[i][j])) { + if (!lib.skilllist.includes(forbid[i][j])) { skip = true; break; } @@ -1673,7 +1673,7 @@ class Create extends Uninstantable { var matchBanSkill = function (skills1, skills2) { if (skills1.length != skills2.length) return false; for (var i = 0; i < skills1.length; i++) { - if (!skills2.contains(skills1[i])) return false; + if (!skills2.includes(skills1[i])) return false; } return true; } @@ -2603,7 +2603,7 @@ class Create extends Uninstantable { if (node.mode.startsWith('mode_')) continue; if (node.mode == 'custom') continue; if (connectMenu) { - if (!lib.config.connect_characters.contains(node.mode)) { + if (!lib.config.connect_characters.includes(node.mode)) { node.classList.remove('off'); if (node.link) node.link.firstChild.classList.add('on'); } @@ -2613,7 +2613,7 @@ class Create extends Uninstantable { } } else { - if (lib.config.characters.contains(node.mode)) { + if (lib.config.characters.includes(node.mode)) { node.classList.remove('off'); if (node.link) node.link.firstChild.classList.add('on'); } @@ -2668,10 +2668,10 @@ class Create extends Uninstantable { var alterableCharacters = []; var charactersToAlter = []; for (var i in _info) { - if (_info[i][4] && _info[i][4].contains('unseen')) continue; - if (connectMenu && lib.connectBanned.contains(i)) continue; + if (_info[i][4] && _info[i][4].includes('unseen')) continue; + if (connectMenu && lib.connectBanned.includes(i)) continue; list.push(i); - if (boolAI && !lib.config.forbidai_user.contains(i)) boolAI = false; + if (boolAI && !lib.config.forbidai_user.includes(i)) boolAI = false; for (var j = 0; j < _info[i][3].length; j++) { if (!lib.skill[_info[i][3][j]]) { continue; @@ -2679,7 +2679,7 @@ class Create extends Uninstantable { if (lib.skill[_info[i][3][j]].alter) { alterableSkills.add(_info[i][3][j]); alterableCharacters.add(i); - if (lib.config.vintageSkills.contains(_info[i][3][j])) { + if (lib.config.vintageSkills.includes(_info[i][3][j])) { charactersToAlter.add(i); } } @@ -2691,7 +2691,7 @@ class Create extends Uninstantable { var cfgnode = createConfig({ name: '开启', _name: mode, - init: connectMenu ? (!lib.config.connect_characters.contains(mode)) : (lib.config.characters.contains(mode)), + init: connectMenu ? (!lib.config.connect_characters.includes(mode)) : (lib.config.characters.includes(mode)), onclick: togglePack }); var cfgnodeAI = createConfig({ @@ -2783,7 +2783,7 @@ class Create extends Uninstantable { else { _list = lib.config[get.mode() + '_banned']; } - if (_list && _list.contains(this.link)) { + if (_list && _list.includes(this.link)) { this.classList.add('banned'); } else { @@ -2806,9 +2806,9 @@ class Create extends Uninstantable { var listx = []; var boolx = false; for (var ii = 0; ii < list2.length; ii++) { - if (info.contains(list2[ii])) { + if (info.includes(list2[ii])) { listx.add(list2[ii]); - if (!listb.contains(list2[ii])) boolx = true; + if (!listb.includes(list2[ii])) boolx = true; list2.splice(ii--, 1); } } @@ -2897,7 +2897,7 @@ class Create extends Uninstantable { page.classList.add('menu-buttons'); page.classList.add('leftbutton'); if (!connectMenu) { - if (lib.config.all.sgscharacters.contains(mode)) { + if (lib.config.all.sgscharacters.includes(mode)) { ui.create.div('.config.pointerspan', '该武将包不可被隐藏', page); } else if (!mode.startsWith('mode_')) { @@ -3048,7 +3048,7 @@ class Create extends Uninstantable { if (node.mode == 'custom') continue; if (node.mode == 'cardpile') continue; if (connectMenu) { - if (!lib.config.connect_cards.contains(node.mode)) { + if (!lib.config.connect_cards.includes(node.mode)) { node.classList.remove('off'); if (node.link) node.link.firstChild.classList.add('on'); } @@ -3058,7 +3058,7 @@ class Create extends Uninstantable { } } else { - if (lib.config.cards.contains(node.mode)) { + if (lib.config.cards.includes(node.mode)) { node.classList.remove('off'); if (node.link) node.link.firstChild.classList.add('on'); } @@ -3166,7 +3166,7 @@ class Create extends Uninstantable { var cfgnode = createConfig({ name: '开启', _name: mode, - init: lib.config.cards.contains(mode), + init: lib.config.cards.includes(mode), onclick: togglePack }); if (!mode.startsWith('mode_')) { @@ -3200,7 +3200,7 @@ class Create extends Uninstantable { else { list = lib.config[get.mode() + '_bannedcards']; } - if (list && list.contains(this.link[2])) { + if (list && list.includes(this.link[2])) { this.classList.add('banned'); } else { @@ -3217,7 +3217,7 @@ class Create extends Uninstantable { } page.classList.add('menu-buttons'); page.classList.add('leftbutton'); - if (!connectMenu && !lib.config.all.sgscards.contains(mode) && !mode.startsWith('mode_')) { + if (!connectMenu && !lib.config.all.sgscards.includes(mode) && !mode.startsWith('mode_')) { ui.create.div('.config.pointerspan', '隐藏卡牌包', page, function () { if (this.firstChild.innerHTML == '隐藏卡牌包') { this.firstChild.innerHTML = '卡牌包将在重启后隐藏'; @@ -3374,7 +3374,7 @@ class Create extends Uninstantable { name: ((card[2] == 'sha' && card[3]) ? (get.translation(card[3])) : '') + get.translation(card[2]) + ' ' + get.translation(card[0]) + get.strNumber(card[1]), _number: i, _name: mode, - init: !lib.config.bannedpile[mode].contains(i), + init: !lib.config.bannedpile[mode].includes(i), onclick: toggleCardPile }); cfgnode.type = 'defaultcards'; @@ -3406,7 +3406,7 @@ class Create extends Uninstantable { delete lib.cardPack.mode_banned; } for (var i = 0; i < lib.config.all.cards.length; i++) { - if (connectMenu && !lib.connectCardPack.contains(lib.config.all.cards[i])) continue; + if (connectMenu && !lib.connectCardPack.includes(lib.config.all.cards[i])) continue; createModeConfig(lib.config.all.cards[i], start.firstChild); } if (!connectMenu) Object.keys(lib.cardPack).forEach(key => { @@ -3450,7 +3450,7 @@ class Create extends Uninstantable { } var currentpile = get.config('cardpilename'); if (!currentpile) { - if (list.contains('当前牌堆')) { + if (list.includes('当前牌堆')) { currentpile = '当前牌堆'; } else { @@ -3613,7 +3613,7 @@ class Create extends Uninstantable { } } else { - if (lib.config.plays.contains(node.mode)) { + if (lib.config.plays.includes(node.mode)) { node.classList.remove('off'); if (node.link) node.link.firstChild.classList.add('on'); } @@ -3704,8 +3704,8 @@ class Create extends Uninstantable { return node; }; for (var i in lib.extensionMenu) { - if (lib.config.all.stockextension.contains(i) && !lib.config.all.plays.contains(i)) continue; - if (lib.config.hiddenPlayPack.contains(i)) continue; + if (lib.config.all.stockextension.includes(i) && !lib.config.all.plays.includes(i)) continue; + if (lib.config.hiddenPlayPack.includes(i)) continue; createModeConfig(i, start.firstChild); } (function () { @@ -4213,7 +4213,7 @@ class Create extends Uninstantable { groups.value = info[1]; if (info[4]) { for (var i = 0; i < options.childNodes.length - 1; i++) { - if (options.childNodes[i].lastChild && info[4].contains(options.childNodes[i].lastChild.name)) { + if (options.childNodes[i].lastChild && info[4].includes(options.childNodes[i].lastChild.name)) { options.childNodes[i].lastChild.checked = true; } else if (options.childNodes[i].lastChild) { @@ -4652,7 +4652,7 @@ class Create extends Uninstantable { tags.push(options.childNodes[i].lastChild.name); } } - if (tags.contains('boss')) { + if (tags.includes('boss')) { tags.add('bossallowed'); } var des = page.querySelector('input.new_des').value; @@ -5291,7 +5291,7 @@ class Create extends Uninstantable { cardpileaddname.appendChild(option); } for (var i = 0; i < pile.childNodes.length; i++) { - if (!list2.contains(pile.childNodes[i].name)) { + if (!list2.includes(pile.childNodes[i].name)) { pile.childNodes[i].remove(); i--; } } @@ -5610,7 +5610,7 @@ class Create extends Uninstantable { var selectname = ui.create.selectlist(list, list[0], commandline); var list3 = []; for (var i in lib.skill) { - if (i != 'global' && !get.is.empty(lib.skill[i]) && !lib.skilllist.contains(i)) { + if (i != 'global' && !get.is.empty(lib.skill[i]) && !lib.skilllist.includes(i)) { list3.push(i); } } @@ -6063,7 +6063,7 @@ class Create extends Uninstantable { if (!lib.config.dev) delete window.game; if (game.importedPack) { var extname = game.importedPack.name; - if (lib.config.extensions.contains(extname)) { + if (lib.config.extensions.includes(extname)) { game.removeExtension(extname, true); } lib.config.extensions.add(extname); @@ -6590,13 +6590,13 @@ class Create extends Uninstantable { } else { if (updates[i].startsWith('image/character')) { - if (updates[i].indexOf('jun_') != 16 && updates[i].indexOf('gz_') != 16 && !skipcharacter.contains(updates[i].slice(16, updates[i].lastIndexOf('.')))) { + if (updates[i].indexOf('jun_') != 16 && updates[i].indexOf('gz_') != 16 && !skipcharacter.includes(updates[i].slice(16, updates[i].lastIndexOf('.')))) { updates.splice(i--, 1); } } else if (updates[i].startsWith('image/card')) { let cardname = updates[i].slice(11, updates[i].lastIndexOf('.')); - if (lib.card[cardname] && !skipcard.contains(cardname)) { + if (lib.card[cardname] && !skipcard.includes(cardname)) { updates.splice(i--, 1); } } @@ -7183,7 +7183,7 @@ class Create extends Uninstantable { var buttons = ui.create.buttons(list, 'player', row3, true); for (var i = 0; i < buttons.length; i++) { buttons[i].listen(clickrow3); - if (game.dead.contains(buttons[i].link)) { + if (game.dead.includes(buttons[i].link)) { buttons[i].dead = true; } } @@ -7354,7 +7354,7 @@ class Create extends Uninstantable { } `))(proxyWindow); const runCommand = () => { - if (text2.value && !['up', 'down'].contains(text2.value)) { + if (text2.value && !['up', 'down'].includes(text2.value)) { logindex = -1; logs.unshift(text2.value); } @@ -7927,14 +7927,14 @@ class Create extends Uninstantable { static characterDialog2(filter) { var list = []; for (var i in lib.character) { - if (lib.character[i][4].contains('minskin')) continue; - if (lib.character[i][4].contains('boss') || lib.character[i][4].contains('hiddenboss')) { + if (lib.character[i][4].includes('minskin')) continue; + if (lib.character[i][4].includes('boss') || lib.character[i][4].includes('hiddenboss')) { if (lib.config.mode == 'boss') continue; - if (!lib.character[i][4].contains('bossallowed')) continue; + if (!lib.character[i][4].includes('bossallowed')) continue; } - if (lib.character[i][4].contains('stonehidden')) continue; - if (lib.config.banned.contains(i)) continue; + if (lib.character[i][4].includes('stonehidden')) continue; + if (lib.config.banned.includes(i)) continue; if (filter && filter(i)) continue; list.push(i); } @@ -7962,7 +7962,7 @@ class Create extends Uninstantable { } this.classList.add('active'); for (var i = 0; i < dialog.buttons.length; i++) { - if (this.pack && !this.pack.contains(dialog.buttons[i].link)) { + if (this.pack && !this.pack.includes(dialog.buttons[i].link)) { dialog.buttons[i].classList.add('nodisplay'); } else { @@ -8091,15 +8091,15 @@ class Create extends Uninstantable { } else { for (var i in lib.character) { - if (lib.character[i][4].contains('minskin')) continue; - if (lib.character[i][4].contains('boss') || lib.character[i][4].contains('hiddenboss')) { + if (lib.character[i][4].includes('minskin')) continue; + if (lib.character[i][4].includes('boss') || lib.character[i][4].includes('hiddenboss')) { if (lib.config.mode == 'boss') continue; - if (!lib.character[i][4].contains('bossallowed')) continue; + if (!lib.character[i][4].includes('bossallowed')) continue; } - if (lib.character[i][4].contains('stonehidden')) continue; - if (lib.character[i][4].contains('unseen')) continue; - if (lib.config.banned.contains(i)) continue; + if (lib.character[i][4].includes('stonehidden')) continue; + if (lib.character[i][4].includes('unseen')) continue; + if (lib.config.banned.includes(i)) continue; if (lib.characterFilter[i] && !lib.characterFilter[i](get.mode())) continue; if (filter && filter(i)) continue; list.push(i); @@ -8474,11 +8474,11 @@ class Create extends Uninstantable { }); var packlist = []; for (var i = 0; i < lib.config.all.characters.length; i++) { - if (!lib.config.characters.contains(lib.config.all.characters[i])) continue; + if (!lib.config.characters.includes(lib.config.all.characters[i])) continue; packlist.push(lib.config.all.characters[i]); } for (var i in lib.characterPack) { - if (!lib.config.all.characters.contains(i)) { + if (!lib.config.all.characters.includes(i)) { packlist.push(i); } } @@ -8555,7 +8555,7 @@ class Create extends Uninstantable { dialog.getCurrentCapt = function (link, capt, noalph) { var currentcapt = noalph ? this.currentcapt2 : this.currentcapt; if (this.seperatelist && noalph) { - if (this.seperatelist[currentcapt].contains(link)) return capt; + if (this.seperatelist[currentcapt].includes(link)) return capt; return null; } if (lib.characterDialogGroup[currentcapt]) { @@ -8762,7 +8762,7 @@ class Create extends Uninstantable { if (ui.skills.skills.length == skills.length && ui.skills.style.display != 'none') { same = true; for (i = 0; i < skills.length; i++) { - if (ui.skills.skills.contains(skills[i]) == false) { + if (ui.skills.skills.includes(skills[i]) == false) { same = false; break; } @@ -8796,7 +8796,7 @@ class Create extends Uninstantable { if (ui.skills2.skills.length == skills.length && ui.skills2.style.display != 'none') { same = true; for (i = 0; i < skills.length; i++) { - if (ui.skills2.skills.contains(skills[i]) == false) { + if (ui.skills2.skills.includes(skills[i]) == false) { same = false; break; } @@ -8830,7 +8830,7 @@ class Create extends Uninstantable { if (ui.skills3.skills.length == skills.length && ui.skills3.style.display != 'none') { same = true; for (i = 0; i < skills.length; i++) { - if (ui.skills3.skills.contains(skills[i]) == false) { + if (ui.skills3.skills.includes(skills[i]) == false) { same = false; break; } @@ -9100,7 +9100,7 @@ class Create extends Uninstantable { }, 1000); } if (get.is.nomenu()) { - if (!['menu', 'system'].contains(lib.config.round_menu_func)) { + if (!['menu', 'system'].includes(lib.config.round_menu_func)) { lib.config.round_menu_func = 'system'; } } @@ -9235,11 +9235,11 @@ class Create extends Uninstantable { } if (lib.forcehide) { - if (lib.forcehide.contains('replay')) ui.replay.classList.add('forcehide'); - if (lib.forcehide.contains('auto')) ui.auto.classList.add('forcehide'); - if (lib.forcehide.contains('pause')) ui.pause.classList.add('forcehide'); - if (lib.forcehide.contains('wuxie')) ui.wuxie.classList.add('forcehide'); - if (lib.forcehide.contains('cardPileButton')) ui.cardPileButton.classList.add('forcehide'); + if (lib.forcehide.includes('replay')) ui.replay.classList.add('forcehide'); + if (lib.forcehide.includes('auto')) ui.auto.classList.add('forcehide'); + if (lib.forcehide.includes('pause')) ui.pause.classList.add('forcehide'); + if (lib.forcehide.includes('wuxie')) ui.wuxie.classList.add('forcehide'); + if (lib.forcehide.includes('cardPileButton')) ui.cardPileButton.classList.add('forcehide'); } ui.volumn = ui.create.system('♫'); lib.setPopped(ui.volumn, ui.click.volumn, 200); @@ -9395,7 +9395,7 @@ class Create extends Uninstantable { let mode = lib.config.mode; const config = get.config(`${mode}_mode`); if (typeof config == 'string') mode += `|${config}`; - if (favouriteMode.contains(mode)) ui.favmode.classList.add('glow'); + if (favouriteMode.includes(mode)) ui.favmode.classList.add('glow'); else ui.favmode.classList.remove('glow'); }; ui.favmodelist.add = function (name, index) { @@ -10072,12 +10072,12 @@ class Create extends Uninstantable { if (lib.card[lib.card.list[i][2]]) { if (!lib.card.list[i]._replaced) { if (!_status.connectMode) { - if (lib.config.bannedcards.contains(lib.card.list[i][2])) continue; + if (lib.config.bannedcards.includes(lib.card.list[i][2])) continue; } else { - if (lib.configOL.bannedcards.contains(lib.card.list[i][2])) continue; + if (lib.configOL.bannedcards.includes(lib.card.list[i][2])) continue; } - if (game.bannedcards && game.bannedcards.contains(lib.card.list[i][2])) continue; + if (game.bannedcards && game.bannedcards.includes(lib.card.list[i][2])) continue; } lib.inpile.add(lib.card.list[i][2]); if (lib.card.list[i][2] == 'sha' && lib.card.list[i][3]) lib.inpile_nature.add(lib.card.list[i][3]); @@ -10303,7 +10303,7 @@ class Click extends Uninstantable { } ui.create.div('', '已有' + (fakeinfo.members.length) + '人加入', eventnode); ui.create.div('', '时间:' + str, eventnode); - if (fakeinfo.members.contains(game.onlineKey)) { + if (fakeinfo.members.includes(game.onlineKey)) { eventnode.classList.add('active'); } button.input.value = ''; @@ -10384,7 +10384,7 @@ class Click extends Uninstantable { //ui.create.div('','创建者:'+(button.info[i].nickname)+'
    ID:'+button.info[i].creator,eventnode); ui.create.div('', '已有' + (button.info[i].members.length) + '人加入', eventnode); ui.create.div('', '时间:' + str, eventnode); - if (button.info[i].members.contains(game.onlineKey)) { + if (button.info[i].members.includes(game.onlineKey)) { eventnode.classList.add('active'); } } @@ -10705,7 +10705,7 @@ class Click extends Uninstantable { lib.config.favouriteCharacter.remove(this.link); } if (ui.favouriteCharacter) { - if (lib.config.favouriteCharacter.contains(this.link)) { + if (lib.config.favouriteCharacter.includes(this.link)) { for (var i = 0; i < ui.favouriteCharacter.childElementCount; i++) { if (ui.favouriteCharacter.childNodes[i].link == this.link) { break; @@ -10877,7 +10877,7 @@ class Click extends Uninstantable { } if (get.mode() == 'guozhan') { if (source._guozhanguess) { - if (!source._guozhanguess.contains(i)) { + if (!source._guozhanguess.includes(i)) { node.classList.add('transparent'); } } @@ -10991,7 +10991,7 @@ class Click extends Uninstantable { uiintro.type = 'config'; var modes = lib.config.modeorder || lib.config.all.mode.slice(0); for (var i = 0; i < modes.length; i++) { - if (!lib.config.all.mode.contains(modes[i])) { + if (!lib.config.all.mode.includes(modes[i])) { modes.splice(i--, 1); } } @@ -12671,7 +12671,7 @@ class Click extends Uninstantable { if (!ui.menuContainer) return; var avatar = this; var player = this.parentNode; - if (!game.players.contains(player) && !game.dead.contains(player)) return; + if (!game.players.includes(player) && !game.dead.includes(player)) return; if (!this._doubleClicking) { this._doubleClicking = true; setTimeout(function () { @@ -12690,7 +12690,7 @@ class Click extends Uninstantable { if (!ui.menuContainer) return; var avatar = this; var player = this.parentNode; - if (!game.players.contains(player) && !game.dead.contains(player)) return; + if (!game.players.includes(player) && !game.dead.includes(player)) return; if (!this._doubleClicking) { this._doubleClicking = true; setTimeout(function () { @@ -13158,7 +13158,7 @@ class Click extends Uninstantable { } else { delete lib.config.skin[nameskin]; - if (gzbool && lib.character[nameskin2][4].contains('gzskin') && lib.config.mode_config.guozhan.guozhanSkin) { + if (gzbool && lib.character[nameskin2][4].includes('gzskin') && lib.config.mode_config.guozhan.guozhanSkin) { bg.setBackground(nameskin2, 'character'); if (sourcenode) sourcenode.setBackground(nameskin2, 'character'); if (avatar) avatar.setBackground(nameskin2, 'character'); @@ -13176,7 +13176,7 @@ class Click extends Uninstantable { button.setBackgroundImage('image/skin/' + nameskin + '/' + i + '.jpg'); } else { - if (gzbool && lib.character[nameskin2][4].contains('gzskin') && lib.config.mode_config.guozhan.guozhanSkin) button.setBackground(nameskin2, 'character', 'noskin'); + if (gzbool && lib.character[nameskin2][4].includes('gzskin') && lib.config.mode_config.guozhan.guozhanSkin) button.setBackground(nameskin2, 'character', 'noskin'); else button.setBackground(nameskin, 'character', 'noskin'); } } @@ -13237,7 +13237,7 @@ class Click extends Uninstantable { ban._banning = 'offline'; ban.updateBanned = function () { if (noedit === true) return; - if (lib.config[get.mode() + '_banned'] && lib.config[get.mode() + '_banned'].contains(name)) { + if (lib.config[get.mode() + '_banned'] && lib.config[get.mode() + '_banned'].includes(name)) { ban.classList.add('active'); } else { @@ -13263,7 +13263,7 @@ class Click extends Uninstantable { fav.classList.add('unselectable'); ban.classList.add('unselectable'); } - else if (lib.config.favouriteCharacter.contains(name)) { + else if (lib.config.favouriteCharacter.includes(name)) { fav.classList.add('active'); } @@ -13337,14 +13337,14 @@ class Click extends Uninstantable { if (info.alter) { intro2.innerHTML += '

    '; var skillversionnode = intro2.querySelector('.hrefnode.skillversion'); - if (lib.config.vintageSkills.contains(skill)) { + if (lib.config.vintageSkills.includes(skill)) { skillversionnode.innerHTML = '切换至新版'; } else { skillversionnode.innerHTML = '切换至旧版'; } skillversionnode.listen(function () { - if (lib.config.vintageSkills.contains(skill)) { + if (lib.config.vintageSkills.includes(skill)) { lib.config.vintageSkills.remove(skill); lib.translate[skill + '_info'] = lib.translate[skill + '_info_alter']; } @@ -13552,14 +13552,14 @@ class Click extends Uninstantable { introduction2.appendChild(document.createElement('br')); ui.create.div('.hrefnode.skillversion', introduction2); var skillversionnode = introduction2.querySelector('.hrefnode.skillversion'); - if (lib.config.vintageSkills.contains(skill)) { + if (lib.config.vintageSkills.includes(skill)) { skillversionnode.innerHTML = '切换至新版'; } else { skillversionnode.innerHTML = '切换至旧版'; } skillversionnode.listen(function () { - if (lib.config.vintageSkills.contains(skill)) { + if (lib.config.vintageSkills.includes(skill)) { lib.config.vintageSkills.remove(skill); lib.translate[skill + '_info'] = lib.translate[skill + '_info_alter']; } From f19847cea0256ec14da2893e976979e870106a9b Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Fri, 29 Dec 2023 23:33:36 +0800 Subject: [PATCH 113/234] =?UTF-8?q?HTMLDivElement#animate=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E6=B5=8F=E8=A7=88=E5=99=A8=E8=87=AA=E5=B8=A6=E7=9A=84?= =?UTF-8?q?animate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/init/polyfill.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/noname/init/polyfill.js b/noname/init/polyfill.js index 35e41a06a..0dfc548a2 100644 --- a/noname/init/polyfill.js +++ b/noname/init/polyfill.js @@ -6,6 +6,10 @@ import { status as _status } from '../status/index.js'; import { UI as ui } from '../ui/index.js'; HTMLDivElement.prototype.animate = function (name, time) { + // 兼容原先的Div.animate + if (Array.isArray(name) || get.objtype(name) == 'object') { + return Element.prototype.animate.call(this, name, time); + } var that; if (get.is.mobileMe(this) && name == 'target') { that = ui.mebg; From 68c00bea3af53206cbc036a9d5b635b2fe388b57 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Sat, 30 Dec 2023 00:04:42 +0800 Subject: [PATCH 114/234] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E5=A4=84str?= =?UTF-8?q?ing.contains=E7=9A=84=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/library/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noname/library/index.js b/noname/library/index.js index 0a2f0f0f9..659af65bd 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -8447,7 +8447,7 @@ export class Library extends Uninstantable { gl(str, function (folders, files) { if (files.length > 1) { for (let j = 0; j < files.length; j++) { - if (files[i] && files[i].contains && files[i].contains('extension.js')) { + if (typeof files[i] == 'string' && files[i].includes('extension.js')) { files.splice(j--, 1); } else { From dacf68d0b5fa6d898f7d4c9dba5552d03685577b Mon Sep 17 00:00:00 2001 From: Ansolve Date: Sat, 30 Dec 2023 00:12:56 +0800 Subject: [PATCH 115/234] fix: make sure not use new feature. --- noname/init/index.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/noname/init/index.js b/noname/init/index.js index 95f1017dc..479aed4d4 100644 --- a/noname/init/index.js +++ b/noname/init/index.js @@ -747,14 +747,13 @@ async function onWindowReady() { var script = document.createElement('script'); script.src = 'cordova.js'; document.body.appendChild(script); - // @ts-ignore - const { promise, resolve } = Promise.withResolvers(); - document.addEventListener('deviceready', async () => { - const { cordovaReady } = await import('./cordova.js'); - await cordovaReady(); - resolve() - }); - await promise; + await new Promise((resolve) => { + document.addEventListener('deviceready', async () => { + const { cordovaReady } = await import('./cordova.js'); + await cordovaReady(); + resolve(void 0) + }); + }) } /* if (_status.packLoaded) { From bbe154c41af55aceff781a64633b4941c2341281 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Sat, 30 Dec 2023 00:22:32 +0800 Subject: [PATCH 116/234] =?UTF-8?q?order=E5=8F=8D=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/yingbian.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/yingbian.js b/character/yingbian.js index 974c1d08d..8f4d6d04b 100644 --- a/character/yingbian.js +++ b/character/yingbian.js @@ -2873,7 +2873,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ tairan2:{ mod:{ aiOrder:function(player,card,num){ - if(card.hasGaintag&&card.hasGaintag('tairan')) return num/10; + if(card.hasGaintag&&card.hasGaintag('tairan')) return 10*num; }, aiValue:function(player,card,num){ if(card.hasGaintag&&card.hasGaintag('tairan')){ From bbe50e5a34f436ffd43c4401d1153fda92695389 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Sat, 30 Dec 2023 11:20:12 +0800 Subject: [PATCH 117/234] =?UTF-8?q?=E7=95=8C=E5=BE=90=E7=9B=9B=E6=8A=80?= =?UTF-8?q?=E8=83=BD=E6=9B=B4=E6=96=B0=EF=BC=8C=E7=95=8C=E6=9B=B9=E5=BD=B0?= =?UTF-8?q?=E9=85=8D=E9=9F=B3=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/onlyOL.js | 4 ++-- character/refresh.js | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/character/onlyOL.js b/character/onlyOL.js index e6efb8eef..7ce6015b7 100644 --- a/character/onlyOL.js +++ b/character/onlyOL.js @@ -5,7 +5,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ connect:true, character:{ ol_sb_jiangwei:['male','shu',4,['olsbzhuri','olsbranji']], - ol_caozhang:['male','wei',4,['oljiangchi']], + ol_caozhang:['male','wei',4,['oljiangchi'],['die_audio:xin_caozhang']], ol_jianyong:['male','shu',3,['olqiaoshui','jyzongshi'],['tempname:re_jianyong','die_audio:re_jianyong']], ol_lingtong:['male','wu',4,['olxuanfeng'],['die_audio:re_lingtong']], }, @@ -185,7 +185,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, //界曹彰 oljiangchi:{ - audio:2, + audio:'rejiangchi', trigger:{player:'phaseDrawEnd'}, direct:true, content:function*(event,map){ diff --git a/character/refresh.js b/character/refresh.js index cc636cbe9..16c7324c0 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -10008,13 +10008,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ repojun3:{ audio:'repojun', trigger:{source:'damageBegin1'}, + filter:function(event,player){ + var target=event.player; + return event.card&&event.card.name=='sha'&&player.countCards('h')>=target.countCards('h')&&player.countCards('e')>=target.countCards('e'); + }, forced:true, locked:false, logTarget:'player', - filter:function(event,player){ - var target=event.player; - return event.getParent().name=='sha'&&player.countCards('h')>=target.countCards('h')&&player.countCards('e')>=target.countCards('e'); - }, content:function(){ trigger.num++; }, @@ -15021,7 +15021,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ repojun:'破军', repojun2:'破军', repojun3:'破军', - repojun_info:'当你使用【杀】指定目标后,你可以将其的至多X张牌置于其武将牌上(X为其体力值),然后其于当前回合结束时获得这些牌。当你因执行【杀】的效果而对一名角色造成伤害时,若该角色的手牌数和装备区内的牌数均不大于你,则此伤害+1。', + repojun_info:'当你使用【杀】指定目标后,你可以将其的至多X张牌置于其武将牌上(X为其体力值),然后其于当前回合结束时获得这些牌。当你使用【杀】对一名角色造成伤害时,若该角色的手牌数和装备区内的牌数均不大于你,则此伤害+1。', rexianzhen:'陷阵', rexianzhen_info:'出牌阶段限一次,你可以和一名其他角色拼点。若你赢,你本回合内对其使用牌没有次数和距离限制且无视其防具。若你没赢,你本回合内不能使用【杀】。若你以此法失去的拼点牌为【杀】,则你的【杀】不计入本回合的手牌上限。', rejinjiu:'禁酒', From 08483c2ad8ef37ff82087b60be9624ff82cc6c00 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Sat, 30 Dec 2023 11:35:10 +0800 Subject: [PATCH 118/234] =?UTF-8?q?OL=E7=95=8C=E6=9B=B9=E5=BD=B0=E6=94=BE?= =?UTF-8?q?=E5=88=B0=E5=B0=862=E5=88=86=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/onlyOL.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/character/onlyOL.js b/character/onlyOL.js index 7ce6015b7..f3735db30 100644 --- a/character/onlyOL.js +++ b/character/onlyOL.js @@ -11,7 +11,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, characterSort:{ onlyOL:{ - onlyOL_yijiang1:['ol_caozhang','ol_jianyong','ol_lingtong'], + onlyOL_yijiang1:['ol_jianyong','ol_lingtong'], + onlyOL_yijiang2:['ol_caozhang'], onlyOL_sb:['ol_sb_jiangwei'], }, }, @@ -355,6 +356,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ kunfenx_info:'结束阶段开始时,你可以失去1点体力,然后摸两张牌。', onlyOL_yijiang1:'OL专属·将1', + onlyOL_yijiang2:'OL专属·将2', onlyOL_sb:'OL专属·上兵伐谋', }, }; From d2cc6d6cfae4cf9d0e97c7200e8c73fb013ebb6a Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Sat, 30 Dec 2023 12:09:33 +0800 Subject: [PATCH 119/234] =?UTF-8?q?=E8=B0=8B=E9=B2=81=E8=82=83bugfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/xianding.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/character/xianding.js b/character/xianding.js index 6f79143c1..fbda9031d 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -277,16 +277,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(!player.getHp()) return false; if(event.name=='loseAsync'&&event.type!='gain') return false; + if(player.hasSkill('dcsbmengmou_true')&&player.hasSkill('dcsbmengmou_false')) return false; var cards1=event.getl(player).cards2,cards2=event.getg(player); - return (!player.hasSkill('dcsbmengmou_true')&&game.hasPlayer(function(current){ + return game.hasPlayer(function(current){ if(current==player) return false; var cardsx=event.getg(current); return cardsx.some(i=>cards1.includes(i)); - }))||(!player.hasSkill('dcsbmengmou_false')&&game.hasPlayer(function(current){ + })||game.hasPlayer(function(current){ if(current==player) return false; var cardsx=event.getl(current).cards2; return cards2.some(i=>cardsx.includes(i)); - })); + }); }, direct:true, content:function*(event,map){ @@ -296,12 +297,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var targets=[],num=player.getHp(); var cards1=trigger.getl(player).cards2; var cards2=trigger.getg(player); - if(!player.hasSkill('dcsbmengmou_true')) targets.addArray(game.filterPlayer(function(current){ + targets.addArray(game.filterPlayer(function(current){ if(current==player) return false; var cardsx=trigger.getg(current); return cardsx.some(i=>cards1.includes(i)); })); - if(!player.hasSkill('dcsbmengmou_false')) targets.addArray(game.filterPlayer(function(current){ + targets.addArray(game.filterPlayer(function(current){ if(current==player) return false; var cardsx=trigger.getl(current).cards2; return cards2.some(i=>cardsx.includes(i)); From 6841892dbedf5c54da72764dc2e0ddd318554287 Mon Sep 17 00:00:00 2001 From: Ansolve Date: Sat, 30 Dec 2023 14:08:28 +0800 Subject: [PATCH 120/234] fix: error file name. --- noname.js | 2 +- noname/init/onload.js | 0 noname/library/element/index.js | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 noname/init/onload.js diff --git a/noname.js b/noname.js index 944ce9d63..45db36bc4 100644 --- a/noname.js +++ b/noname.js @@ -5,4 +5,4 @@ export { Get as get } from './noname/get/index.js'; export { Library as lib } from './noname/library/index.js'; export { status as _status } from './noname/status/index.js'; export { UI as ui } from './noname/ui/index.js'; -export { boot } from './noname/init/index.js'; \ No newline at end of file +export { boot } from './noname/init/index.js'; diff --git a/noname/init/onload.js b/noname/init/onload.js new file mode 100644 index 000000000..e69de29bb diff --git a/noname/library/element/index.js b/noname/library/element/index.js index 817d3cc2e..0b0417fb3 100644 --- a/noname/library/element/index.js +++ b/noname/library/element/index.js @@ -7,6 +7,6 @@ export { Control } from "./control.js"; export { Dialog } from "./dialog.js"; export { GameEvent } from "./gameEvent.js"; export { GameEventPromise } from "./gameEventPromise.js"; -export { NodeWS } from "./nodeWs.js"; +export { NodeWS } from "./nodeWS.js"; export { Player } from "./player.js"; -export { VCard } from "./vcard.js"; \ No newline at end of file +export { VCard } from "./vcard.js"; From 7025291198f576bba0ecd02224a2048d8a592ddb Mon Sep 17 00:00:00 2001 From: Rintim Date: Sat, 30 Dec 2023 14:17:06 +0800 Subject: [PATCH 121/234] pref: move onload outside. --- noname/init/index.js | 4 +- noname/init/onload.js | 806 +++++++++++++++++++++++++++++++++++ noname/library/init/index.js | 797 +--------------------------------- 3 files changed, 812 insertions(+), 795 deletions(-) diff --git a/noname/init/index.js b/noname/init/index.js index 479aed4d4..e4d7b5e0e 100644 --- a/noname/init/index.js +++ b/noname/init/index.js @@ -10,6 +10,8 @@ import { userAgent } from '../util/index.js'; import * as config from '../util/config.js'; import { gnc } from '../gnc/index.js'; +import { onload } from './onload.js'; + // 无名杀,启动! export async function boot() { // 不想看,反正别动 @@ -557,7 +559,7 @@ export async function boot() { } await waitDomLoad; - lib.init.onload(); + await onload(); } /** diff --git a/noname/init/onload.js b/noname/init/onload.js index e69de29bb..7da58c837 100644 --- a/noname/init/onload.js +++ b/noname/init/onload.js @@ -0,0 +1,806 @@ +// @ts-nocheck +import { AI as ai } from '../ai/index.js'; +import { Get as get } from '../get/index.js'; +import { Library as lib } from '../library/index.js'; +import { Game as game } from '../game/index.js'; +import { status as _status } from '../status/index.js'; +import { UI as ui } from '../ui/index.js'; + +import { userAgent } from '../util/index.js'; +import * as config from '../util/config.js'; +import { gnc } from '../gnc/index.js'; + +export async function onload() { + const libOnload = lib.onload; + delete lib.onload; + while (Array.isArray(libOnload) && libOnload.length) { + const fun = libOnload.shift(); + if (typeof fun !== "function") continue; + await (gnc.is.generatorFunc(fun) ? gnc.of(fun) : fun)(); + } + ui.updated(); + game.documentZoom = game.deviceZoom; + if (game.documentZoom != 1) { + ui.updatez(); + } + ui.background = ui.create.div('.background'); + ui.background.style.backgroundSize = "cover"; + ui.background.style.backgroundPosition = '50% 50%'; + if (lib.config.image_background && lib.config.image_background != 'default' && !lib.config.image_background.startsWith('custom_')) { + ui.background.setBackgroundImage('image/background/' + lib.config.image_background + '.jpg'); + if (lib.config.image_background_blur) { + ui.background.style.filter = 'blur(8px)'; + ui.background.style.webkitFilter = 'blur(8px)'; + ui.background.style.transform = 'scale(1.05)'; + } + } + document.documentElement.style.backgroundImage = ''; + document.documentElement.style.backgroundSize = ''; + document.documentElement.style.backgroundPosition = ''; + document.body.insertBefore(ui.background, document.body.firstChild); + document.body.onresize = ui.updatexr; + if (lib.config.touchscreen) { + document.body.addEventListener('touchstart', function (e) { + this.startX = e.touches[0].clientX / game.documentZoom; + this.startY = e.touches[0].clientY / game.documentZoom; + _status.dragged = false; + }); + document.body.addEventListener('touchmove', function (e) { + if (_status.dragged) return; + if (Math.abs(e.touches[0].clientX / game.documentZoom - this.startX) > 10 || + Math.abs(e.touches[0].clientY / game.documentZoom - this.startY) > 10) { + _status.dragged = true; + } + }); + } + + if (lib.config.image_background.startsWith('custom_')) { + ui.background.style.backgroundImage = "none"; + game.getDB('image', lib.config.image_background, function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + var data = fileLoadedEvent.target.result; + ui.background.style.backgroundImage = 'url(' + data + ')'; + if (lib.config.image_background_blur) { + ui.background.style.filter = 'blur(8px)'; + ui.background.style.webkitFilter = 'blur(8px)'; + ui.background.style.transform = 'scale(1.05)'; + } + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + if (lib.config.card_style == 'custom') { + game.getDB('image', 'card_style', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.card_stylesheet) { + ui.css.card_stylesheet.remove(); + } + ui.css.card_stylesheet = lib.init.sheet('.card:not(*:empty){background-image:url(' + fileLoadedEvent.target.result + ')}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + if (lib.config.cardback_style == 'custom') { + game.getDB('image', 'cardback_style', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.cardback_stylesheet) { + ui.css.cardback_stylesheet.remove(); + } + ui.css.cardback_stylesheet = lib.init.sheet('.card:empty,.card.infohidden{background-image:url(' + fileLoadedEvent.target.result + ')}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + game.getDB('image', 'cardback_style2', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.cardback_stylesheet2) { + ui.css.cardback_stylesheet2.remove(); + } + ui.css.cardback_stylesheet2 = lib.init.sheet('.card.infohidden:not(.infoflip){background-image:url(' + fileLoadedEvent.target.result + ')}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + if (lib.config.hp_style == 'custom') { + game.getDB('image', 'hp_style1', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.hp_stylesheet1) { + ui.css.hp_stylesheet1.remove(); + } + ui.css.hp_stylesheet1 = lib.init.sheet('.hp:not(.text):not(.actcount)[data-condition="high"]>div:not(.lost){background-image:url(' + fileLoadedEvent.target.result + ')}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + game.getDB('image', 'hp_style2', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.hp_stylesheet2) { + ui.css.hp_stylesheet2.remove(); + } + ui.css.hp_stylesheet2 = lib.init.sheet('.hp:not(.text):not(.actcount)[data-condition="mid"]>div:not(.lost){background-image:url(' + fileLoadedEvent.target.result + ')}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + game.getDB('image', 'hp_style3', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.hp_stylesheet3) { + ui.css.hp_stylesheet3.remove(); + } + ui.css.hp_stylesheet3 = lib.init.sheet('.hp:not(.text):not(.actcount)[data-condition="low"]>div:not(.lost){background-image:url(' + fileLoadedEvent.target.result + ')}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + game.getDB('image', 'hp_style4', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.hp_stylesheet4) { + ui.css.hp_stylesheet4.remove(); + } + ui.css.hp_stylesheet4 = lib.init.sheet('.hp:not(.text):not(.actcount)>.lost{background-image:url(' + fileLoadedEvent.target.result + ')}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + if (lib.config.player_style == 'custom') { + ui.css.player_stylesheet = lib.init.sheet('#window .player{background-image:none;background-size:100% 100%;}'); + game.getDB('image', 'player_style', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.player_stylesheet) { + ui.css.player_stylesheet.remove(); + } + ui.css.player_stylesheet = lib.init.sheet('#window .player{background-image:url("' + fileLoadedEvent.target.result + '");background-size:100% 100%;}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + if (lib.config.border_style == 'custom') { + game.getDB('image', 'border_style', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.border_stylesheet) { + ui.css.border_stylesheet.remove(); + } + ui.css.border_stylesheet = lib.init.sheet(); + ui.css.border_stylesheet.sheet.insertRule('#window .player>.framebg{display:block;background-image:url("' + fileLoadedEvent.target.result + '")}', 0); + ui.css.border_stylesheet.sheet.insertRule('.player>.count{z-index: 3 !important;border-radius: 2px !important;text-align: center !important;}', 0); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + if (lib.config.control_style == 'custom') { + game.getDB('image', 'control_style', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.control_stylesheet) { + ui.css.control_stylesheet.remove(); + } + ui.css.control_stylesheet = lib.init.sheet('#window .control,.menubutton:not(.active):not(.highlight):not(.red):not(.blue),#window #system>div>div{background-image:url("' + fileLoadedEvent.target.result + '")}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + if (lib.config.menu_style == 'custom') { + game.getDB('image', 'menu_style', function (fileToLoad) { + if (!fileToLoad) return; + var fileReader = new FileReader(); + fileReader.onload = function (fileLoadedEvent) { + if (ui.css.menu_stylesheet) { + ui.css.menu_stylesheet.remove(); + } + ui.css.menu_stylesheet = lib.init.sheet('html #window>.dialog.popped,html .menu,html .menubg{background-image:url("' + fileLoadedEvent.target.result + '");background-size:cover}'); + }; + fileReader.readAsDataURL(fileToLoad, "UTF-8"); + }); + } + + var proceed2 = async () => { + var mode = lib.imported.mode; + var card = lib.imported.card; + var character = lib.imported.character; + var play = lib.imported.play; + delete window.game; + var i, j, k; + for (i in mode[lib.config.mode].element) { + if (!lib.element[i]) lib.element[i] = []; + for (j in mode[lib.config.mode].element[i]) { + if (j == 'init') { + if (!lib.element[i].inits) lib.element[i].inits = []; + lib.element[i].inits.push(mode[lib.config.mode].element[i][j]); + } + else { + lib.element[i][j] = mode[lib.config.mode].element[i][j]; + } + } + } + for (i in mode[lib.config.mode].ai) { + if (typeof mode[lib.config.mode].ai[i] == 'object') { + if (ai[i] == undefined) ai[i] = {}; + for (j in mode[lib.config.mode].ai[i]) { + ai[i][j] = mode[lib.config.mode].ai[i][j]; + } + } + else { + ai[i] = mode[lib.config.mode].ai[i]; + } + } + for (i in mode[lib.config.mode].ui) { + if (typeof mode[lib.config.mode].ui[i] == 'object') { + if (ui[i] == undefined) ui[i] = {}; + for (j in mode[lib.config.mode].ui[i]) { + ui[i][j] = mode[lib.config.mode].ui[i][j]; + } + } + else { + ui[i] = mode[lib.config.mode].ui[i]; + } + } + for (i in mode[lib.config.mode].game) { + game[i] = mode[lib.config.mode].game[i]; + } + for (i in mode[lib.config.mode].get) { + get[i] = mode[lib.config.mode].get[i]; + } + lib.init.start = mode[lib.config.mode].start; + lib.init.startBefore = mode[lib.config.mode].startBefore; + if (game.onwash) { + lib.onwash.push(game.onwash); + delete game.onwash; + } + if (game.onover) { + lib.onover.push(game.onover); + delete game.onover; + } + lib.config.banned = lib.config[lib.config.mode + '_banned'] || []; + lib.config.bannedcards = lib.config[lib.config.mode + '_bannedcards'] || []; + + lib.rank = window.noname_character_rank; + delete window.noname_character_rank; + for (i in mode[lib.config.mode]) { + if (i == 'element') continue; + if (i == 'game') continue; + if (i == 'ai') continue; + if (i == 'ui') continue; + if (i == 'get') continue; + if (i == 'config') continue; + if (i == 'onreinit') continue; + if (i == 'start') continue; + if (i == 'startBefore') continue; + if (lib[i] == undefined) lib[i] = (Array.isArray(mode[lib.config.mode][i])) ? [] : {}; + for (j in mode[lib.config.mode][i]) { + lib[i][j] = mode[lib.config.mode][i][j]; + } + } + if (typeof mode[lib.config.mode].init == 'function') { + mode[lib.config.mode].init(); + } + + var connectCharacterPack = []; + var connectCardPack = []; + for (i in character) { + if (character[i].character) { + const characterPack = lib.characterPack[i]; + if (characterPack) Object.assign(characterPack, character[i].character); + else lib.characterPack[i] = character[i].character; + } + for (j in character[i]) { + if (j == 'mode' || j == 'forbid') continue; + if (j == 'connect') { + connectCharacterPack.push(i); + continue; + } + if (j == 'character' && !lib.config.characters.contains(i) && lib.config.mode != 'connect') { + if (lib.config.mode == 'chess' && get.config('chess_mode') == 'leader' && get.config('chess_leader_allcharacter')) { + for (k in character[i][j]) { + lib.hiddenCharacters.push(k); + } + } + else if (lib.config.mode != 'boss' || i != 'boss') { + continue; + } + } + if (Array.isArray(lib[j]) && Array.isArray(character[i][j])) { + lib[j].addArray(character[i][j]); + continue; + } + for (k in character[i][j]) { + if (j == 'character') { + if (!character[i][j][k][4]) { + character[i][j][k][4] = []; + } + if (character[i][j][k][4].contains('boss') || + character[i][j][k][4].contains('hiddenboss')) { + lib.config.forbidai.add(k); + } + if (lib.config.forbidai_user && lib.config.forbidai_user.contains(k)) { + lib.config.forbidai.add(k); + } + for (var l = 0; l < character[i][j][k][3].length; l++) { + lib.skilllist.add(character[i][j][k][3][l]); + } + } + if (j == 'skill' && k[0] == '_' && (lib.config.mode != 'connect' ? (!lib.config.characters.contains(i)) : (!character[i].connect))) { + continue; + } + if (j == 'translate' && k == i) { + lib[j][k + '_character_config'] = character[i][j][k]; + } + else { + if (lib[j][k] == undefined) { + if (j == 'skill' && !character[i][j][k].forceLoad && lib.config.mode == 'connect' && !character[i].connect) { + lib[j][k] = { + nopop: character[i][j][k].nopop, + derivation: character[i][j][k].derivation + }; + } + else { + Object.defineProperty(lib[j], k, Object.getOwnPropertyDescriptor(character[i][j], k)); + } + if (j == 'card' && lib[j][k].derivation) { + if (!lib.cardPack.mode_derivation) { + lib.cardPack.mode_derivation = [k]; + } + else { + lib.cardPack.mode_derivation.push(k); + } + } + } + else if (Array.isArray(lib[j][k]) && Array.isArray(character[i][j][k])) { + lib[j][k].addArray(character[i][j][k]); + } + else { + console.log( + `dublicate ${j} in character ${i}:\n${k}:\nlib.${j}.${k}`, + lib[j][k], + `\ncharacter.${i}.${j}.${k}`, + character[i][j][k] + ); + } + } + } + } + } + var connect_avatar_list = []; + for (var i in lib.character) { + connect_avatar_list.push(i); + } + connect_avatar_list.sort(lib.sort.capt); + for (var i = 0; i < connect_avatar_list.length; i++) { + var ia = connect_avatar_list[i]; + lib.mode.connect.config.connect_avatar.item[ia] = lib.translate[ia]; + } + if (lib.config.mode != 'connect') { + var pilecfg = lib.config.customcardpile[get.config('cardpilename') || '当前牌堆']; + if (pilecfg) { + lib.config.bannedpile = get.copy(pilecfg[0] || {}); + lib.config.addedpile = get.copy(pilecfg[1] || {}); + } + else { + lib.config.bannedpile = {}; + lib.config.addedpile = {}; + } + } + else { + lib.cardPackList = {}; + } + for (i in card) { + const cardPack = lib.cardPack[i] ? lib.cardPack[i] : lib.cardPack[i] = []; + if (card[i].card) { + for (var j in card[i].card) { + if (!card[i].card[j].hidden && card[i].translate[j + '_info']) { + cardPack.push(j); + } + } + } + for (j in card[i]) { + if (j == 'mode' || j == 'forbid') continue; + if (j == 'connect') { + connectCardPack.push(i); + continue; + } + if (j == 'list') { + if (lib.config.mode == 'connect') { + const cardPackList = lib.cardPackList[i]; + if (cardPackList) cardPackList.addArray(card[i][j]); + else lib.cardPackList[i] = card[i][j]; + } + else { + if (lib.config.cards.contains(i)) { + var pile; + if (typeof card[i][j] == 'function') { + pile = card[i][j](); + } + else { + pile = card[i][j]; + } + const cardPile = lib.cardPile[i]; + if (cardPile) cardPile.addArray(pile); + else lib.cardPile[i] = pile.slice(0); + if (lib.config.bannedpile[i]) { + for (var k = 0; k < lib.config.bannedpile[i].length; k++) { + pile[lib.config.bannedpile[i][k]] = null; + } + } + for (var k = 0; k < pile.length; k++) { + if (!pile[k]) { + pile.splice(k--, 1); + } + } + if (lib.config.addedpile[i]) { + for (var k = 0; k < lib.config.addedpile[i].length; k++) { + pile.push(lib.config.addedpile[i][k]); + } + } + lib.card.list.addArray(pile); + } + } + } + else { + for (k in card[i][j]) { + if (j == 'skill' && k[0] == '_' && !card[i][j][k].forceLoad && (lib.config.mode != 'connect' ? (!lib.config.cards.contains(i)) : (!card[i].connect))) { + continue; + } + if (j == 'translate' && k == i) { + lib[j][k + '_card_config'] = card[i][j][k]; + } + else { + if (lib[j][k] == undefined) { + if (j == 'skill' && !card[i][j][k].forceLoad && lib.config.mode == 'connect' && !card[i].connect) { + lib[j][k] = { + nopop: card[i][j][k].nopop, + derivation: card[i][j][k].derivation + }; + } + else { + Object.defineProperty(lib[j], k, Object.getOwnPropertyDescriptor(card[i][j], k)); + } + } + else { + console.log( + `dublicate ${j} in card ${i}:\n${k}:\nlib.${j}.${k}`, + lib[j][k], + `\ncard.${i}.${j}.${k}`, + card[i][j][k] + ); + } + if (j == 'card' && lib[j][k].derivation) { + if (!lib.cardPack.mode_derivation) { + lib.cardPack.mode_derivation = [k]; + } + else { + lib.cardPack.mode_derivation.push(k); + } + } + } + } + } + } + } + if (lib.cardPack.mode_derivation) { + for (var i = 0; i < lib.cardPack.mode_derivation.length; i++) { + if (typeof lib.card[lib.cardPack.mode_derivation[i]].derivation == 'string' && !lib.character[lib.card[lib.cardPack.mode_derivation[i]].derivation]) { + lib.cardPack.mode_derivation.splice(i--, 1); + } + else if (typeof lib.card[lib.cardPack.mode_derivation[i]].derivationpack == 'string' && !lib.config.cards.contains(lib.card[lib.cardPack.mode_derivation[i]].derivationpack)) { + lib.cardPack.mode_derivation.splice(i--, 1); + } + } + if (lib.cardPack.mode_derivation.length == 0) { + delete lib.cardPack.mode_derivation; + } + } + if (lib.config.mode != 'connect') { + for (i in play) { + if (lib.config.hiddenPlayPack.contains(i)) continue; + if (play[i].forbid && play[i].forbid.contains(lib.config.mode)) continue; + if (play[i].mode && play[i].mode.contains(lib.config.mode) == false) continue; + for (j in play[i].element) { + if (!lib.element[j]) lib.element[j] = []; + for (k in play[i].element[j]) { + if (k == 'init') { + if (!lib.element[j].inits) lib.element[j].inits = []; + lib.element[j].inits.push(play[i].element[j][k]); + } + else { + lib.element[j][k] = play[i].element[j][k]; + } + } + } + for (j in play[i].ui) { + if (typeof play[i].ui[j] == 'object') { + if (ui[j] == undefined) ui[j] = {}; + for (k in play[i].ui[j]) { + ui[j][k] = play[i].ui[j][k]; + } + } + else { + ui[j] = play[i].ui[j]; + } + } + for (j in play[i].game) { + game[j] = play[i].game[j]; + } + for (j in play[i].get) { + get[j] = play[i].get[j]; + } + for (j in play[i]) { + if (j == 'mode' || j == 'forbid' || j == 'init' || j == 'element' || + j == 'game' || j == 'get' || j == 'ui' || j == 'arenaReady') continue; + for (k in play[i][j]) { + if (j == 'translate' && k == i) { + // lib[j][k+'_play_config']=play[i][j][k]; + } + else { + if (lib[j][k] != undefined) { + console.log( + `dublicate ${j} in play ${i}:\n${k}:\nlib.${j}.${k}`, + lib[j][k], + `\nplay.${i}.${j}.${k}`, + play[i][j][k] + ); + } + lib[j][k] = play[i][j][k]; + } + } + } + if (typeof play[i].init == 'function') play[i].init(); + if (typeof play[i].arenaReady == 'function') lib.arenaReady.push(play[i].arenaReady); + } + } + + lib.connectCharacterPack = []; + lib.connectCardPack = []; + for (var i = 0; i < lib.config.all.characters.length; i++) { + var packname = lib.config.all.characters[i]; + if (connectCharacterPack.contains(packname)) { + lib.connectCharacterPack.push(packname) + } + } + for (var i = 0; i < lib.config.all.cards.length; i++) { + var packname = lib.config.all.cards[i]; + if (connectCardPack.contains(packname)) { + lib.connectCardPack.push(packname) + } + } + if (lib.config.mode != 'connect') { + for (i = 0; i < lib.card.list.length; i++) { + if (lib.card.list[i][2] == 'huosha') { + lib.card.list[i] = lib.card.list[i].slice(0); + lib.card.list[i][2] = 'sha'; + lib.card.list[i][3] = 'fire'; + } + else if (lib.card.list[i][2] == 'leisha') { + lib.card.list[i] = lib.card.list[i].slice(0); + lib.card.list[i][2] = 'sha'; + lib.card.list[i][3] = 'thunder'; + } + if (!lib.card[lib.card.list[i][2]]) { + lib.card.list.splice(i, 1); i--; + } + else if (lib.card[lib.card.list[i][2]].mode && + lib.card[lib.card.list[i][2]].mode.contains(lib.config.mode) == false) { + lib.card.list.splice(i, 1); i--; + } + } + } + + if (lib.config.mode == 'connect') { + _status.connectMode = true; + } + if (window.isNonameServer) { + lib.cheat.i(); + } + else if (lib.config.dev && (!_status.connectMode || lib.config.debug)) { + lib.cheat.i(); + } + lib.config.sort_card = get.sortCard(lib.config.sort); + delete lib.imported.character; + delete lib.imported.card; + delete lib.imported.mode; + delete lib.imported.play; + for (var i in lib.init) { + if (i.startsWith('setMode_')) { + delete lib.init[i]; + } + } + if (!_status.connectMode) { + for (var i = 0; i < lib.extensions.length; i++) { + try { + _status.extension = lib.extensions[i][0]; + _status.evaluatingExtension = lib.extensions[i][3]; + if (typeof lib.extensions[i][1] == "function") + await (gnc.is.coroutine(lib.extensions[i][1]) ? gnc.of(lib.extensions[i][1]) : lib.extensions[i][1]).call(lib.extensions[i], lib.extensions[i][2], lib.extensions[i][4]); + if (lib.extensions[i][4]) { + if (lib.extensions[i][4].character) { + for (var j in lib.extensions[i][4].character.character) { + game.addCharacterPack(get.copy(lib.extensions[i][4].character)); + break; + } + } + if (lib.extensions[i][4].card) { + for (var j in lib.extensions[i][4].card.card) { + game.addCardPack(get.copy(lib.extensions[i][4].card)); + break; + } + } + if (lib.extensions[i][4].skill) { + for (var j in lib.extensions[i][4].skill.skill) { + game.addSkill(j, lib.extensions[i][4].skill.skill[j], + lib.extensions[i][4].skill.translate[j], + lib.extensions[i][4].skill.translate[j + '_info'], + lib.extensions[i][4].skill.translate[j + '_append'], + lib.extensions[i][4].skill.translate[j + '_ab']); + } + } + } + delete _status.extension; + delete _status.evaluatingExtension; + } + catch (e) { + console.log(e); + } + } + } + delete lib.extensions; + + if (lib.init.startBefore) { + lib.init.startBefore(); + delete lib.init.startBefore; + } + ui.create.arena(); + game.createEvent('game', false).setContent(lib.init.start); + if (lib.mode[lib.config.mode] && lib.mode[lib.config.mode].fromextension) { + var startstr = mode[lib.config.mode].start.toString(); + if (startstr.indexOf('onfree') == -1) { + setTimeout(lib.init.onfree, 500); + } + } + delete lib.init.start; + if (Array.isArray(_status.onprepare) && _status.onprepare.length) { + await Promise.allSettled(_status.onprepare); + delete _status.onprepare; + } + game.loop(); + }; + var proceed = async () => { + if (!lib.db) { + try { + lib.storage = JSON.parse(localStorage.getItem(lib.configprefix + lib.config.mode)); + if (typeof lib.storage !== 'object') throw ('err'); + if (lib.storage === null) throw ('err'); + } catch (err) { + lib.storage = {}; + localStorage.setItem(lib.configprefix + lib.config.mode, "{}"); + } + await proceed2(); + } + else { + await game.getDB('data', lib.config.mode, async (obj) => { + lib.storage = obj || {}; + await proceed2(); + }); + } + }; + if (!lib.imported.mode || !lib.imported.mode[lib.config.mode]) { + window.inSplash = true; + clearTimeout(window.resetGameTimeout); + delete window.resetGameTimeout; + var clickedNode = false; + var clickNode = function () { + if (clickedNode) return; + this.classList.add('clicked'); + clickedNode = true; + lib.config.mode = this.link; + game.saveConfig('mode', this.link); + if (this.link == 'connect') { + localStorage.setItem(lib.configprefix + 'directstart', true); + game.reload(); + } + else { + if (game.layout != 'mobile' && lib.layoutfixed.indexOf(lib.config.mode) !== -1) { + game.layout = 'mobile'; + ui.css.layout.href = lib.assetURL + 'layout/' + game.layout + '/layout.css'; + } + else if (game.layout == 'mobile' && lib.config.layout != 'mobile' && lib.layoutfixed.indexOf(lib.config.mode) === -1) { + game.layout = lib.config.layout; + if (game.layout == 'default') { + ui.css.layout.href = ''; + } + else { + ui.css.layout.href = lib.assetURL + 'layout/' + game.layout + '/layout.css'; + } + } + splash.delete(1000); + delete window.inSplash; + window.resetGameTimeout = setTimeout(lib.init.reset, 10000); + + this.listenTransition(function () { + lib.init.js(lib.assetURL + 'mode', lib.config.mode, proceed); + }, 500); + } + } + var downNode = function () { + this.classList.add('glow'); + } + var upNode = function () { + this.classList.remove('glow'); + } + var splash = ui.create.div('#splash', document.body); + if (lib.config.touchscreen) { + splash.classList.add('touch'); + lib.setScroll(splash); + } + if (lib.config.player_border != 'wide') { + splash.classList.add('slim'); + } + splash.dataset.radius_size = lib.config.radius_size; + for (var i = 0; i < lib.config.all.mode.length; i++) { + var node = ui.create.div('.hidden', splash, clickNode); + node.link = lib.config.all.mode[i]; + ui.create.div(node, '.splashtext', get.verticalStr(get.translation(lib.config.all.mode[i]))); + if (lib.config.all.stockmode.includes(lib.config.all.mode[i])) { + // 初始启动页设置 + if (lib.config.splash_style == undefined) game.saveConfig('splash_style', 'style1'); + splash.dataset.splash_style = lib.config.splash_style; + // 扩展可通过window.splashurl设置素材读取路径 + if (window.splashurl == undefined) window.splashurl = 'image/splash/'; + if (lib.config.splash_style == 'style1' || lib.config.splash_style == 'style2') { + ui.create.div(node, '.avatar').setBackgroundImage('image/splash/' + lib.config.splash_style + '/' + lib.config.all.mode[i] + '.jpg'); + } else { + ui.create.div(node, '.avatar').setBackgroundImage(splashurl + lib.config.splash_style + '/' + lib.config.all.mode[i] + '.jpg'); + } + } + else { + var avatarnode = ui.create.div(node, '.avatar'); + var avatarbg = lib.mode[lib.config.all.mode[i]].splash; + if (avatarbg.startsWith('ext:')) { + avatarnode.setBackgroundImage(avatarbg.replace(/^ext:/, 'extension/')); + } + else { + avatarnode.setBackgroundDB(avatarbg); + } + } + if (!lib.config.touchscreen) { + node.addEventListener('mousedown', downNode); + node.addEventListener('mouseup', upNode); + node.addEventListener('mouseleave', upNode); + } + setTimeout((function (node) { + return function () { + node.show(); + } + }(node)), i * 100); + } + if (lib.config.mousewheel) { + splash.onmousewheel = ui.click.mousewheel; + } + } + else { + await proceed(); + } + localStorage.removeItem(lib.configprefix + 'directstart'); + delete lib.init.init; + const libOnload2 = lib.onload2; + delete lib.onload2; + while (Array.isArray(libOnload2) && libOnload2.length) { + const fun = libOnload2.shift(); + if (typeof fun != "function") continue; + await (gnc.is.generatorFunc(fun) ? gnc.of(fun) : fun)(); + } +} diff --git a/noname/library/init/index.js b/noname/library/init/index.js index fb1c68a7c..fbab8665c 100644 --- a/noname/library/init/index.js +++ b/noname/library/init/index.js @@ -16,7 +16,7 @@ export class LibInit extends Uninstantable { static promises = LibInitPromises static init() { - return; + throw new Error('lib.init.init is moved to noname/init') } static reset() { @@ -80,800 +80,9 @@ export class LibInit extends Uninstantable { } } - //lib.onload支持传入GeneratorFunction以解决异步函数的问题 by诗笺 + // 现在改lib.init.onload的都给我无报错被创 static async onload() { - const libOnload = lib.onload; - delete lib.onload; - while (Array.isArray(libOnload) && libOnload.length) { - const fun = libOnload.shift(); - if (typeof fun !== "function") continue; - await (gnc.is.generatorFunc(fun) ? gnc.of(fun) : fun)(); - } - ui.updated(); - game.documentZoom = game.deviceZoom; - if (game.documentZoom != 1) { - ui.updatez(); - } - ui.background = ui.create.div('.background'); - ui.background.style.backgroundSize = "cover"; - ui.background.style.backgroundPosition = '50% 50%'; - if (lib.config.image_background && lib.config.image_background != 'default' && !lib.config.image_background.startsWith('custom_')) { - ui.background.setBackgroundImage('image/background/' + lib.config.image_background + '.jpg'); - if (lib.config.image_background_blur) { - ui.background.style.filter = 'blur(8px)'; - ui.background.style.webkitFilter = 'blur(8px)'; - ui.background.style.transform = 'scale(1.05)'; - } - } - document.documentElement.style.backgroundImage = ''; - document.documentElement.style.backgroundSize = ''; - document.documentElement.style.backgroundPosition = ''; - document.body.insertBefore(ui.background, document.body.firstChild); - document.body.onresize = ui.updatexr; - if (lib.config.touchscreen) { - document.body.addEventListener('touchstart', function (e) { - this.startX = e.touches[0].clientX / game.documentZoom; - this.startY = e.touches[0].clientY / game.documentZoom; - _status.dragged = false; - }); - document.body.addEventListener('touchmove', function (e) { - if (_status.dragged) return; - if (Math.abs(e.touches[0].clientX / game.documentZoom - this.startX) > 10 || - Math.abs(e.touches[0].clientY / game.documentZoom - this.startY) > 10) { - _status.dragged = true; - } - }); - } - - if (lib.config.image_background.startsWith('custom_')) { - ui.background.style.backgroundImage = "none"; - game.getDB('image', lib.config.image_background, function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - var data = fileLoadedEvent.target.result; - ui.background.style.backgroundImage = 'url(' + data + ')'; - if (lib.config.image_background_blur) { - ui.background.style.filter = 'blur(8px)'; - ui.background.style.webkitFilter = 'blur(8px)'; - ui.background.style.transform = 'scale(1.05)'; - } - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - if (lib.config.card_style == 'custom') { - game.getDB('image', 'card_style', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.card_stylesheet) { - ui.css.card_stylesheet.remove(); - } - ui.css.card_stylesheet = lib.init.sheet('.card:not(*:empty){background-image:url(' + fileLoadedEvent.target.result + ')}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - if (lib.config.cardback_style == 'custom') { - game.getDB('image', 'cardback_style', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.cardback_stylesheet) { - ui.css.cardback_stylesheet.remove(); - } - ui.css.cardback_stylesheet = lib.init.sheet('.card:empty,.card.infohidden{background-image:url(' + fileLoadedEvent.target.result + ')}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - game.getDB('image', 'cardback_style2', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.cardback_stylesheet2) { - ui.css.cardback_stylesheet2.remove(); - } - ui.css.cardback_stylesheet2 = lib.init.sheet('.card.infohidden:not(.infoflip){background-image:url(' + fileLoadedEvent.target.result + ')}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - if (lib.config.hp_style == 'custom') { - game.getDB('image', 'hp_style1', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.hp_stylesheet1) { - ui.css.hp_stylesheet1.remove(); - } - ui.css.hp_stylesheet1 = lib.init.sheet('.hp:not(.text):not(.actcount)[data-condition="high"]>div:not(.lost){background-image:url(' + fileLoadedEvent.target.result + ')}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - game.getDB('image', 'hp_style2', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.hp_stylesheet2) { - ui.css.hp_stylesheet2.remove(); - } - ui.css.hp_stylesheet2 = lib.init.sheet('.hp:not(.text):not(.actcount)[data-condition="mid"]>div:not(.lost){background-image:url(' + fileLoadedEvent.target.result + ')}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - game.getDB('image', 'hp_style3', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.hp_stylesheet3) { - ui.css.hp_stylesheet3.remove(); - } - ui.css.hp_stylesheet3 = lib.init.sheet('.hp:not(.text):not(.actcount)[data-condition="low"]>div:not(.lost){background-image:url(' + fileLoadedEvent.target.result + ')}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - game.getDB('image', 'hp_style4', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.hp_stylesheet4) { - ui.css.hp_stylesheet4.remove(); - } - ui.css.hp_stylesheet4 = lib.init.sheet('.hp:not(.text):not(.actcount)>.lost{background-image:url(' + fileLoadedEvent.target.result + ')}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - if (lib.config.player_style == 'custom') { - ui.css.player_stylesheet = lib.init.sheet('#window .player{background-image:none;background-size:100% 100%;}'); - game.getDB('image', 'player_style', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.player_stylesheet) { - ui.css.player_stylesheet.remove(); - } - ui.css.player_stylesheet = lib.init.sheet('#window .player{background-image:url("' + fileLoadedEvent.target.result + '");background-size:100% 100%;}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - if (lib.config.border_style == 'custom') { - game.getDB('image', 'border_style', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.border_stylesheet) { - ui.css.border_stylesheet.remove(); - } - ui.css.border_stylesheet = lib.init.sheet(); - ui.css.border_stylesheet.sheet.insertRule('#window .player>.framebg{display:block;background-image:url("' + fileLoadedEvent.target.result + '")}', 0); - ui.css.border_stylesheet.sheet.insertRule('.player>.count{z-index: 3 !important;border-radius: 2px !important;text-align: center !important;}', 0); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - if (lib.config.control_style == 'custom') { - game.getDB('image', 'control_style', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.control_stylesheet) { - ui.css.control_stylesheet.remove(); - } - ui.css.control_stylesheet = lib.init.sheet('#window .control,.menubutton:not(.active):not(.highlight):not(.red):not(.blue),#window #system>div>div{background-image:url("' + fileLoadedEvent.target.result + '")}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - if (lib.config.menu_style == 'custom') { - game.getDB('image', 'menu_style', function (fileToLoad) { - if (!fileToLoad) return; - var fileReader = new FileReader(); - fileReader.onload = function (fileLoadedEvent) { - if (ui.css.menu_stylesheet) { - ui.css.menu_stylesheet.remove(); - } - ui.css.menu_stylesheet = lib.init.sheet('html #window>.dialog.popped,html .menu,html .menubg{background-image:url("' + fileLoadedEvent.target.result + '");background-size:cover}'); - }; - fileReader.readAsDataURL(fileToLoad, "UTF-8"); - }); - } - - var proceed2 = async () => { - var mode = lib.imported.mode; - var card = lib.imported.card; - var character = lib.imported.character; - var play = lib.imported.play; - delete window.game; - var i, j, k; - for (i in mode[lib.config.mode].element) { - if (!lib.element[i]) lib.element[i] = []; - for (j in mode[lib.config.mode].element[i]) { - if (j == 'init') { - if (!lib.element[i].inits) lib.element[i].inits = []; - lib.element[i].inits.push(mode[lib.config.mode].element[i][j]); - } - else { - lib.element[i][j] = mode[lib.config.mode].element[i][j]; - } - } - } - for (i in mode[lib.config.mode].ai) { - if (typeof mode[lib.config.mode].ai[i] == 'object') { - if (ai[i] == undefined) ai[i] = {}; - for (j in mode[lib.config.mode].ai[i]) { - ai[i][j] = mode[lib.config.mode].ai[i][j]; - } - } - else { - ai[i] = mode[lib.config.mode].ai[i]; - } - } - for (i in mode[lib.config.mode].ui) { - if (typeof mode[lib.config.mode].ui[i] == 'object') { - if (ui[i] == undefined) ui[i] = {}; - for (j in mode[lib.config.mode].ui[i]) { - ui[i][j] = mode[lib.config.mode].ui[i][j]; - } - } - else { - ui[i] = mode[lib.config.mode].ui[i]; - } - } - for (i in mode[lib.config.mode].game) { - game[i] = mode[lib.config.mode].game[i]; - } - for (i in mode[lib.config.mode].get) { - get[i] = mode[lib.config.mode].get[i]; - } - lib.init.start = mode[lib.config.mode].start; - lib.init.startBefore = mode[lib.config.mode].startBefore; - if (game.onwash) { - lib.onwash.push(game.onwash); - delete game.onwash; - } - if (game.onover) { - lib.onover.push(game.onover); - delete game.onover; - } - lib.config.banned = lib.config[lib.config.mode + '_banned'] || []; - lib.config.bannedcards = lib.config[lib.config.mode + '_bannedcards'] || []; - - lib.rank = window.noname_character_rank; - delete window.noname_character_rank; - for (i in mode[lib.config.mode]) { - if (i == 'element') continue; - if (i == 'game') continue; - if (i == 'ai') continue; - if (i == 'ui') continue; - if (i == 'get') continue; - if (i == 'config') continue; - if (i == 'onreinit') continue; - if (i == 'start') continue; - if (i == 'startBefore') continue; - if (lib[i] == undefined) lib[i] = (Array.isArray(mode[lib.config.mode][i])) ? [] : {}; - for (j in mode[lib.config.mode][i]) { - lib[i][j] = mode[lib.config.mode][i][j]; - } - } - if (typeof mode[lib.config.mode].init == 'function') { - mode[lib.config.mode].init(); - } - - var connectCharacterPack = []; - var connectCardPack = []; - for (i in character) { - if (character[i].character) { - const characterPack = lib.characterPack[i]; - if (characterPack) Object.assign(characterPack, character[i].character); - else lib.characterPack[i] = character[i].character; - } - for (j in character[i]) { - if (j == 'mode' || j == 'forbid') continue; - if (j == 'connect') { - connectCharacterPack.push(i); - continue; - } - if (j == 'character' && !lib.config.characters.contains(i) && lib.config.mode != 'connect') { - if (lib.config.mode == 'chess' && get.config('chess_mode') == 'leader' && get.config('chess_leader_allcharacter')) { - for (k in character[i][j]) { - lib.hiddenCharacters.push(k); - } - } - else if (lib.config.mode != 'boss' || i != 'boss') { - continue; - } - } - if (Array.isArray(lib[j]) && Array.isArray(character[i][j])) { - lib[j].addArray(character[i][j]); - continue; - } - for (k in character[i][j]) { - if (j == 'character') { - if (!character[i][j][k][4]) { - character[i][j][k][4] = []; - } - if (character[i][j][k][4].contains('boss') || - character[i][j][k][4].contains('hiddenboss')) { - lib.config.forbidai.add(k); - } - if (lib.config.forbidai_user && lib.config.forbidai_user.contains(k)) { - lib.config.forbidai.add(k); - } - for (var l = 0; l < character[i][j][k][3].length; l++) { - lib.skilllist.add(character[i][j][k][3][l]); - } - } - if (j == 'skill' && k[0] == '_' && (lib.config.mode != 'connect' ? (!lib.config.characters.contains(i)) : (!character[i].connect))) { - continue; - } - if (j == 'translate' && k == i) { - lib[j][k + '_character_config'] = character[i][j][k]; - } - else { - if (lib[j][k] == undefined) { - if (j == 'skill' && !character[i][j][k].forceLoad && lib.config.mode == 'connect' && !character[i].connect) { - lib[j][k] = { - nopop: character[i][j][k].nopop, - derivation: character[i][j][k].derivation - }; - } - else { - Object.defineProperty(lib[j], k, Object.getOwnPropertyDescriptor(character[i][j], k)); - } - if (j == 'card' && lib[j][k].derivation) { - if (!lib.cardPack.mode_derivation) { - lib.cardPack.mode_derivation = [k]; - } - else { - lib.cardPack.mode_derivation.push(k); - } - } - } - else if (Array.isArray(lib[j][k]) && Array.isArray(character[i][j][k])) { - lib[j][k].addArray(character[i][j][k]); - } - else { - console.log( - `dublicate ${j} in character ${i}:\n${k}:\nlib.${j}.${k}`, - lib[j][k], - `\ncharacter.${i}.${j}.${k}`, - character[i][j][k] - ); - } - } - } - } - } - var connect_avatar_list = []; - for (var i in lib.character) { - connect_avatar_list.push(i); - } - connect_avatar_list.sort(lib.sort.capt); - for (var i = 0; i < connect_avatar_list.length; i++) { - var ia = connect_avatar_list[i]; - lib.mode.connect.config.connect_avatar.item[ia] = lib.translate[ia]; - } - if (lib.config.mode != 'connect') { - var pilecfg = lib.config.customcardpile[get.config('cardpilename') || '当前牌堆']; - if (pilecfg) { - lib.config.bannedpile = get.copy(pilecfg[0] || {}); - lib.config.addedpile = get.copy(pilecfg[1] || {}); - } - else { - lib.config.bannedpile = {}; - lib.config.addedpile = {}; - } - } - else { - lib.cardPackList = {}; - } - for (i in card) { - const cardPack = lib.cardPack[i] ? lib.cardPack[i] : lib.cardPack[i] = []; - if (card[i].card) { - for (var j in card[i].card) { - if (!card[i].card[j].hidden && card[i].translate[j + '_info']) { - cardPack.push(j); - } - } - } - for (j in card[i]) { - if (j == 'mode' || j == 'forbid') continue; - if (j == 'connect') { - connectCardPack.push(i); - continue; - } - if (j == 'list') { - if (lib.config.mode == 'connect') { - const cardPackList = lib.cardPackList[i]; - if (cardPackList) cardPackList.addArray(card[i][j]); - else lib.cardPackList[i] = card[i][j]; - } - else { - if (lib.config.cards.contains(i)) { - var pile; - if (typeof card[i][j] == 'function') { - pile = card[i][j](); - } - else { - pile = card[i][j]; - } - const cardPile = lib.cardPile[i]; - if (cardPile) cardPile.addArray(pile); - else lib.cardPile[i] = pile.slice(0); - if (lib.config.bannedpile[i]) { - for (var k = 0; k < lib.config.bannedpile[i].length; k++) { - pile[lib.config.bannedpile[i][k]] = null; - } - } - for (var k = 0; k < pile.length; k++) { - if (!pile[k]) { - pile.splice(k--, 1); - } - } - if (lib.config.addedpile[i]) { - for (var k = 0; k < lib.config.addedpile[i].length; k++) { - pile.push(lib.config.addedpile[i][k]); - } - } - lib.card.list.addArray(pile); - } - } - } - else { - for (k in card[i][j]) { - if (j == 'skill' && k[0] == '_' && !card[i][j][k].forceLoad && (lib.config.mode != 'connect' ? (!lib.config.cards.contains(i)) : (!card[i].connect))) { - continue; - } - if (j == 'translate' && k == i) { - lib[j][k + '_card_config'] = card[i][j][k]; - } - else { - if (lib[j][k] == undefined) { - if (j == 'skill' && !card[i][j][k].forceLoad && lib.config.mode == 'connect' && !card[i].connect) { - lib[j][k] = { - nopop: card[i][j][k].nopop, - derivation: card[i][j][k].derivation - }; - } - else { - Object.defineProperty(lib[j], k, Object.getOwnPropertyDescriptor(card[i][j], k)); - } - } - else { - console.log( - `dublicate ${j} in card ${i}:\n${k}:\nlib.${j}.${k}`, - lib[j][k], - `\ncard.${i}.${j}.${k}`, - card[i][j][k] - ); - } - if (j == 'card' && lib[j][k].derivation) { - if (!lib.cardPack.mode_derivation) { - lib.cardPack.mode_derivation = [k]; - } - else { - lib.cardPack.mode_derivation.push(k); - } - } - } - } - } - } - } - if (lib.cardPack.mode_derivation) { - for (var i = 0; i < lib.cardPack.mode_derivation.length; i++) { - if (typeof lib.card[lib.cardPack.mode_derivation[i]].derivation == 'string' && !lib.character[lib.card[lib.cardPack.mode_derivation[i]].derivation]) { - lib.cardPack.mode_derivation.splice(i--, 1); - } - else if (typeof lib.card[lib.cardPack.mode_derivation[i]].derivationpack == 'string' && !lib.config.cards.contains(lib.card[lib.cardPack.mode_derivation[i]].derivationpack)) { - lib.cardPack.mode_derivation.splice(i--, 1); - } - } - if (lib.cardPack.mode_derivation.length == 0) { - delete lib.cardPack.mode_derivation; - } - } - if (lib.config.mode != 'connect') { - for (i in play) { - if (lib.config.hiddenPlayPack.contains(i)) continue; - if (play[i].forbid && play[i].forbid.contains(lib.config.mode)) continue; - if (play[i].mode && play[i].mode.contains(lib.config.mode) == false) continue; - for (j in play[i].element) { - if (!lib.element[j]) lib.element[j] = []; - for (k in play[i].element[j]) { - if (k == 'init') { - if (!lib.element[j].inits) lib.element[j].inits = []; - lib.element[j].inits.push(play[i].element[j][k]); - } - else { - lib.element[j][k] = play[i].element[j][k]; - } - } - } - for (j in play[i].ui) { - if (typeof play[i].ui[j] == 'object') { - if (ui[j] == undefined) ui[j] = {}; - for (k in play[i].ui[j]) { - ui[j][k] = play[i].ui[j][k]; - } - } - else { - ui[j] = play[i].ui[j]; - } - } - for (j in play[i].game) { - game[j] = play[i].game[j]; - } - for (j in play[i].get) { - get[j] = play[i].get[j]; - } - for (j in play[i]) { - if (j == 'mode' || j == 'forbid' || j == 'init' || j == 'element' || - j == 'game' || j == 'get' || j == 'ui' || j == 'arenaReady') continue; - for (k in play[i][j]) { - if (j == 'translate' && k == i) { - // lib[j][k+'_play_config']=play[i][j][k]; - } - else { - if (lib[j][k] != undefined) { - console.log( - `dublicate ${j} in play ${i}:\n${k}:\nlib.${j}.${k}`, - lib[j][k], - `\nplay.${i}.${j}.${k}`, - play[i][j][k] - ); - } - lib[j][k] = play[i][j][k]; - } - } - } - if (typeof play[i].init == 'function') play[i].init(); - if (typeof play[i].arenaReady == 'function') lib.arenaReady.push(play[i].arenaReady); - } - } - - lib.connectCharacterPack = []; - lib.connectCardPack = []; - for (var i = 0; i < lib.config.all.characters.length; i++) { - var packname = lib.config.all.characters[i]; - if (connectCharacterPack.contains(packname)) { - lib.connectCharacterPack.push(packname) - } - } - for (var i = 0; i < lib.config.all.cards.length; i++) { - var packname = lib.config.all.cards[i]; - if (connectCardPack.contains(packname)) { - lib.connectCardPack.push(packname) - } - } - if (lib.config.mode != 'connect') { - for (i = 0; i < lib.card.list.length; i++) { - if (lib.card.list[i][2] == 'huosha') { - lib.card.list[i] = lib.card.list[i].slice(0); - lib.card.list[i][2] = 'sha'; - lib.card.list[i][3] = 'fire'; - } - else if (lib.card.list[i][2] == 'leisha') { - lib.card.list[i] = lib.card.list[i].slice(0); - lib.card.list[i][2] = 'sha'; - lib.card.list[i][3] = 'thunder'; - } - if (!lib.card[lib.card.list[i][2]]) { - lib.card.list.splice(i, 1); i--; - } - else if (lib.card[lib.card.list[i][2]].mode && - lib.card[lib.card.list[i][2]].mode.contains(lib.config.mode) == false) { - lib.card.list.splice(i, 1); i--; - } - } - } - - if (lib.config.mode == 'connect') { - _status.connectMode = true; - } - if (window.isNonameServer) { - lib.cheat.i(); - } - else if (lib.config.dev && (!_status.connectMode || lib.config.debug)) { - lib.cheat.i(); - } - lib.config.sort_card = get.sortCard(lib.config.sort); - delete lib.imported.character; - delete lib.imported.card; - delete lib.imported.mode; - delete lib.imported.play; - for (var i in lib.init) { - if (i.startsWith('setMode_')) { - delete lib.init[i]; - } - } - if (!_status.connectMode) { - for (var i = 0; i < lib.extensions.length; i++) { - try { - _status.extension = lib.extensions[i][0]; - _status.evaluatingExtension = lib.extensions[i][3]; - if (typeof lib.extensions[i][1] == "function") - await (gnc.is.coroutine(lib.extensions[i][1]) ? gnc.of(lib.extensions[i][1]) : lib.extensions[i][1]).call(lib.extensions[i], lib.extensions[i][2], lib.extensions[i][4]); - if (lib.extensions[i][4]) { - if (lib.extensions[i][4].character) { - for (var j in lib.extensions[i][4].character.character) { - game.addCharacterPack(get.copy(lib.extensions[i][4].character)); - break; - } - } - if (lib.extensions[i][4].card) { - for (var j in lib.extensions[i][4].card.card) { - game.addCardPack(get.copy(lib.extensions[i][4].card)); - break; - } - } - if (lib.extensions[i][4].skill) { - for (var j in lib.extensions[i][4].skill.skill) { - game.addSkill(j, lib.extensions[i][4].skill.skill[j], - lib.extensions[i][4].skill.translate[j], - lib.extensions[i][4].skill.translate[j + '_info'], - lib.extensions[i][4].skill.translate[j + '_append'], - lib.extensions[i][4].skill.translate[j + '_ab']); - } - } - } - delete _status.extension; - delete _status.evaluatingExtension; - } - catch (e) { - console.log(e); - } - } - } - delete lib.extensions; - - if (lib.init.startBefore) { - lib.init.startBefore(); - delete lib.init.startBefore; - } - ui.create.arena(); - game.createEvent('game', false).setContent(lib.init.start); - if (lib.mode[lib.config.mode] && lib.mode[lib.config.mode].fromextension) { - var startstr = mode[lib.config.mode].start.toString(); - if (startstr.indexOf('onfree') == -1) { - setTimeout(lib.init.onfree, 500); - } - } - delete lib.init.start; - if (Array.isArray(_status.onprepare) && _status.onprepare.length) { - await Promise.allSettled(_status.onprepare); - delete _status.onprepare; - } - game.loop(); - }; - var proceed = async () => { - if (!lib.db) { - try { - lib.storage = JSON.parse(localStorage.getItem(lib.configprefix + lib.config.mode)); - if (typeof lib.storage !== 'object') throw ('err'); - if (lib.storage === null) throw ('err'); - } catch (err) { - lib.storage = {}; - localStorage.setItem(lib.configprefix + lib.config.mode, "{}"); - } - await proceed2(); - } - else { - await game.getDB('data', lib.config.mode, async (obj) => { - lib.storage = obj || {}; - await proceed2(); - }); - } - }; - if (!lib.imported.mode || !lib.imported.mode[lib.config.mode]) { - window.inSplash = true; - clearTimeout(window.resetGameTimeout); - delete window.resetGameTimeout; - var clickedNode = false; - var clickNode = function () { - if (clickedNode) return; - this.classList.add('clicked'); - clickedNode = true; - lib.config.mode = this.link; - game.saveConfig('mode', this.link); - if (this.link == 'connect') { - localStorage.setItem(lib.configprefix + 'directstart', true); - game.reload(); - } - else { - if (game.layout != 'mobile' && lib.layoutfixed.indexOf(lib.config.mode) !== -1) { - game.layout = 'mobile'; - ui.css.layout.href = lib.assetURL + 'layout/' + game.layout + '/layout.css'; - } - else if (game.layout == 'mobile' && lib.config.layout != 'mobile' && lib.layoutfixed.indexOf(lib.config.mode) === -1) { - game.layout = lib.config.layout; - if (game.layout == 'default') { - ui.css.layout.href = ''; - } - else { - ui.css.layout.href = lib.assetURL + 'layout/' + game.layout + '/layout.css'; - } - } - splash.delete(1000); - delete window.inSplash; - window.resetGameTimeout = setTimeout(lib.init.reset, 10000); - - this.listenTransition(function () { - lib.init.js(lib.assetURL + 'mode', lib.config.mode, proceed); - }, 500); - } - } - var downNode = function () { - this.classList.add('glow'); - } - var upNode = function () { - this.classList.remove('glow'); - } - var splash = ui.create.div('#splash', document.body); - if (lib.config.touchscreen) { - splash.classList.add('touch'); - lib.setScroll(splash); - } - if (lib.config.player_border != 'wide') { - splash.classList.add('slim'); - } - splash.dataset.radius_size = lib.config.radius_size; - for (var i = 0; i < lib.config.all.mode.length; i++) { - var node = ui.create.div('.hidden', splash, clickNode); - node.link = lib.config.all.mode[i]; - ui.create.div(node, '.splashtext', get.verticalStr(get.translation(lib.config.all.mode[i]))); - if (lib.config.all.stockmode.includes(lib.config.all.mode[i])) { - // 初始启动页设置 - if (lib.config.splash_style == undefined) game.saveConfig('splash_style', 'style1'); - splash.dataset.splash_style = lib.config.splash_style; - // 扩展可通过window.splashurl设置素材读取路径 - if (window.splashurl == undefined) window.splashurl = 'image/splash/'; - if (lib.config.splash_style == 'style1' || lib.config.splash_style == 'style2') { - ui.create.div(node, '.avatar').setBackgroundImage('image/splash/' + lib.config.splash_style + '/' + lib.config.all.mode[i] + '.jpg'); - } else { - ui.create.div(node, '.avatar').setBackgroundImage(splashurl + lib.config.splash_style + '/' + lib.config.all.mode[i] + '.jpg'); - } - } - else { - var avatarnode = ui.create.div(node, '.avatar'); - var avatarbg = lib.mode[lib.config.all.mode[i]].splash; - if (avatarbg.startsWith('ext:')) { - avatarnode.setBackgroundImage(avatarbg.replace(/^ext:/, 'extension/')); - } - else { - avatarnode.setBackgroundDB(avatarbg); - } - } - if (!lib.config.touchscreen) { - node.addEventListener('mousedown', downNode); - node.addEventListener('mouseup', upNode); - node.addEventListener('mouseleave', upNode); - } - setTimeout((function (node) { - return function () { - node.show(); - } - }(node)), i * 100); - } - if (lib.config.mousewheel) { - splash.onmousewheel = ui.click.mousewheel; - } - } - else { - await proceed(); - } - localStorage.removeItem(lib.configprefix + 'directstart'); - delete lib.init.init; - const libOnload2 = lib.onload2; - delete lib.onload2; - while (Array.isArray(libOnload2) && libOnload2.length) { - const fun = libOnload2.shift(); - if (typeof fun != "function") continue; - await (gnc.is.generatorFunc(fun) ? gnc.of(fun) : fun)(); - } + throw new Error('lib.init.onload is moved to noname/init/onload') } static startOnline() { From 91be8bfb24531a382069a1b3a5d7d1d0934ab149 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Sat, 30 Dec 2023 15:53:39 +0800 Subject: [PATCH 122/234] =?UTF-8?q?=E4=BC=98=E5=8C=96=E3=80=90=E5=87=BA?= =?UTF-8?q?=E5=85=B6=E4=B8=8D=E6=84=8F=E3=80=91ai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/yingbian.js | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/card/yingbian.js b/card/yingbian.js index 885564123..431a2d8d2 100644 --- a/card/yingbian.js +++ b/card/yingbian.js @@ -184,12 +184,29 @@ game.import('card',function(lib,game,ui,get,ai,_status){ return 0; }, result:{ - target:function(player,target,cardx){ - if(player.hasSkillTag('viewHandcard',null,target,true)) return target.countCards('h',function(card){ - return get.suit(card)!=get.suit(cardx) - })>0?-1.5:0; - return -1.4; - }, + target:(player,target,card)=>{ + //if(typeof card!=='object') return -2; + let suit=get.suit(card), + view=player.hasSkillTag('viewHandcard',null,target,true), + fz=0, + fm=0; + target.getCards('h',i=>{ + if(i.isKnownBy(player)){ + if(suit!==get.suit(i)){ + if(view||get.is.shownCard(i)) return -2; + fz++; + fm++; + } + else if(!view&&!get.is.shownCard(i)) fm++; + } + else{ + fz+=0.75; + fm++; + } + }); + if(!fm) return 0; + return -2*fz/fm; + } }, tag:{ damage:1, From e235809703002485ef4a4df22e784fb4ff071af1 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Sat, 30 Dec 2023 16:45:02 +0800 Subject: [PATCH 123/234] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dnodews=E7=9A=84?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/library/element/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noname/library/element/index.js b/noname/library/element/index.js index 817d3cc2e..313a6518f 100644 --- a/noname/library/element/index.js +++ b/noname/library/element/index.js @@ -7,6 +7,6 @@ export { Control } from "./control.js"; export { Dialog } from "./dialog.js"; export { GameEvent } from "./gameEvent.js"; export { GameEventPromise } from "./gameEventPromise.js"; -export { NodeWS } from "./nodeWs.js"; +export { NodeWS } from "./nodeWS.js"; export { Player } from "./player.js"; export { VCard } from "./vcard.js"; \ No newline at end of file From 3a1deb2ffc21f708ec6ecb6a97f1dc1c4a053040 Mon Sep 17 00:00:00 2001 From: S-N-O-R-L-A-X Date: Sat, 30 Dec 2023 17:07:01 +0800 Subject: [PATCH 124/234] fix: fix boss_xiaoshou having nature --- mode/boss.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mode/boss.js b/mode/boss.js index dcaf37e59..76070143d 100644 --- a/mode/boss.js +++ b/mode/boss.js @@ -7316,12 +7316,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ player.chooseTarget(get.prompt('boss_xiaoshou'),function(card,player,target){ return player!=target&&target.hp>=player.hp; }).ai=function(target){ - return get.damageEffect(target,player,player,'fire'); + return get.damageEffect(target,player,player); } "step 1" if(result.bool){ player.logSkill('boss_xiaoshou',result.targets); - result.targets[0].damage('fire',3); + result.targets[0].damage(3); } }, }, From 66c8c6cba97c6f9511d1df15f4c5aa1a608b64f0 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Sat, 30 Dec 2023 17:08:40 +0800 Subject: [PATCH 125/234] =?UTF-8?q?=E5=BA=9F=E5=BC=83HTMLDivElement.protot?= =?UTF-8?q?ype.animate=EF=BC=8C=E6=94=B9=E4=B8=BA=E4=BD=BF=E7=94=A8HTMLDiv?= =?UTF-8?q?Element.prototype.addTempClass?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/gwent.js | 2 +- card/swd.js | 4 ++-- character/ddd.js | 2 +- character/hearth.js | 4 ++-- character/refresh.js | 8 +++---- character/shenhua.js | 2 +- character/sp.js | 2 +- character/tw.js | 2 +- character/yijiang.js | 2 +- mode/boss.js | 30 +++++++++++------------ mode/brawl.js | 10 ++++---- mode/chess.js | 38 ++++++++++++++--------------- mode/doudizhu.js | 8 +++---- mode/guozhan.js | 8 +++---- mode/identity.js | 8 +++---- mode/stone.js | 10 ++++---- mode/tafang.js | 8 +++---- mode/versus.js | 30 +++++++++++------------ noname/game/index.js | 40 +++++++++++++++---------------- noname/init/polyfill.js | 26 ++++++++++---------- noname/library/element/content.js | 32 ++++++++++++------------- noname/library/element/control.js | 10 ++++---- noname/library/index.js | 4 ++-- noname/ui/index.js | 20 ++++++++-------- 24 files changed, 155 insertions(+), 155 deletions(-) diff --git a/card/gwent.js b/card/gwent.js index 6402e877d..612723b0a 100644 --- a/card/gwent.js +++ b/card/gwent.js @@ -520,7 +520,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }); player.line(list1); for(var i=0;i=0) return 0; diff --git a/character/refresh.js b/character/refresh.js index a4afec844..ff4dd5a06 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -6779,7 +6779,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "step 1" if(event.players.length){ event.current=event.players.shift(); - event.current.animate('target'); + event.current.addTempClass('target'); player.line(event.current,'green'); if(event.current.countCards('he')&&target.isIn()){ event.current.chooseToDiscard({subtype:'equip1'},'he','弃置一张武器牌或让'+ @@ -8790,7 +8790,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event=_status.event; } if(game.chess){ - event.node=card.copy('thrown','center',ui.arena).animate('start'); + event.node=card.copy('thrown','center',ui.arena).addTempClass('start'); } else{ event.node=player.$throwordered(card.copy(),true); @@ -13446,9 +13446,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.card=get.cards()[0]; game.broadcast(function(card){ ui.arena.classList.add('thrownhighlight'); - card.copy('thrown','center','thrownhighlight',ui.arena).animate('start'); + card.copy('thrown','center','thrownhighlight',ui.arena).addTempClass('start'); },event.card); - event.node=event.card.copy('thrown','center','thrownhighlight',ui.arena).animate('start'); + event.node=event.card.copy('thrown','center','thrownhighlight',ui.arena).addTempClass('start'); ui.arena.classList.add('thrownhighlight'); game.addVideo('thrownhighlight1'); game.addVideo('centernode',null,get.cardInfo(event.card)); diff --git a/character/shenhua.js b/character/shenhua.js index 984080f88..da2d446ad 100755 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -5278,7 +5278,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.currented=[]; "step 1" event.currented.push(event.current); - event.current.animate('target'); + event.current.addTempClass('target'); event.current.chooseToUse('乱武:使用一张杀或失去1点体力',function(card){ if(get.name(card)!='sha') return false; return lib.filter.cardEnabled.apply(this,arguments) diff --git a/character/sp.js b/character/sp.js index 907475367..72cfeddcf 100755 --- a/character/sp.js +++ b/character/sp.js @@ -3333,7 +3333,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event=_status.event; } if(game.chess){ - event.node=card.copy('thrown','center',ui.arena).animate('start'); + event.node=card.copy('thrown','center',ui.arena).addTempClass('start'); } else{ event.node=player.$throwordered(card.copy(),true); diff --git a/character/tw.js b/character/tw.js index 20a28e814..94501ee07 100644 --- a/character/tw.js +++ b/character/tw.js @@ -5472,7 +5472,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 1' if(event.players.length){ event.current=event.players.shift(); - event.current.animate('target'); + event.current.addTempClass('target'); player.line(event.current,'green'); if(!event.current.countCards('he')||!target.isIn()) event._result={bool:false}; else{ diff --git a/character/yijiang.js b/character/yijiang.js index 3a54d326b..f9db8e5d5 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -9792,7 +9792,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "step 1" if(event.players.length){ event.current=event.players.shift(); - event.current.animate('target'); + event.current.addTempClass('target'); player.line(event.current,'green'); if(event.current.countCards('he')&&target.isIn()){ event.current.chooseToDiscard({subtype:'equip1'},'he','弃置一张武器牌或让'+ diff --git a/mode/boss.js b/mode/boss.js index 8ac2e7a0a..74b54043f 100644 --- a/mode/boss.js +++ b/mode/boss.js @@ -226,14 +226,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ boss.side=true; if(!event.noslide){ var rect=event.current.getBoundingClientRect(); - boss.animate('bossing'); - boss.node.hp.animate('start'); + boss.addTempClass('bossing'); + boss.node.hp.addTempClass('start'); boss.bossinginfo=[rect.left+rect.width/2,rect.top+rect.height/2]; boss.style.transition='all 0s'; boss.node.equips.style.opacity='0'; } else{ - boss.animate('start'); + boss.addTempClass('start'); } boss.setIdentity('zhu'); boss.identity='zhu'; @@ -244,7 +244,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ for(var i=0;i0?player.node.handcards1:player.node.handcards2; card.fix(); - card.animate('start'); + card.addTempClass('start'); position.insertBefore(card,position.firstChild); } player.update(); @@ -1184,7 +1184,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var node=_status.event.dialog.buttons[0].parentNode; _status.event.dialog.buttons=ui.create.buttons(list.slice(0,20),'character',buttons); _status.event.dialog.content.insertBefore(buttons,node); - buttons.animate('start'); + buttons.addTempClass('start'); node.remove(); game.uncheck(); @@ -1201,7 +1201,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ event.dialogxx.classList.add('withbg'); event.dialogxx.classList.add('fixed'); if(ui.cheat2){ - ui.cheat2.animate('controlpressdownx',500); + ui.cheat2.addTempClass('controlpressdownx',500); ui.cheat2.classList.remove('disabled'); } }; @@ -1225,11 +1225,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ game.uncheck(); game.check(); if(ui.cheat){ - ui.cheat.animate('controlpressdownx',500); + ui.cheat.addTempClass('controlpressdownx',500); ui.cheat.classList.remove('disabled'); } if(_status.bosschoice){ - _status.bosschoice.animate('controlpressdownx',500); + _status.bosschoice.addTempClass('controlpressdownx',500); _status.bosschoice.classList.remove('disabled'); } } @@ -6462,10 +6462,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ game.addVideo('judge1',player,[get.cardInfo(card),judgestr,event.videoId]); for(var i=0;i3&&selected.character.length){ - event.removeCharacter.animate('controlpressdownx',500); + event.removeCharacter.addTempClass('controlpressdownx',500); event.removeCharacter.classList.remove('disabled'); } if(game.data.money<150&&!game.data._arena){ event.enterArena.classList.add('disabled'); } else{ - event.enterArena.animate('controlpressdownx',500); + event.enterArena.addTempClass('controlpressdownx',500); event.enterArena.classList.remove('disabled'); } if(game.data.money<100){ event.addCharacter.classList.add('disabled'); } else{ - event.addCharacter.animate('controlpressdownx',500); + event.addCharacter.addTempClass('controlpressdownx',500); event.addCharacter.classList.remove('disabled'); } initcapt(); @@ -2713,11 +2713,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ game.data.character.remove(node.link); game.saveData(); if(game.data.money>=100){ - event.addCharacter.animate('controlpressdownx',500); + event.addCharacter.addTempClass('controlpressdownx',500); event.addCharacter.classList.remove('disabled'); } if(game.data.money>=150){ - event.enterArena.animate('controlpressdownx',500); + event.enterArena.addTempClass('controlpressdownx',500); event.enterArena.classList.remove('disabled'); } node.delete(); @@ -2952,7 +2952,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } } if(selected.character.length&&game.data.character.length>3){ - event.removeCharacter.animate('controlpressdownx',500); + event.removeCharacter.addTempClass('controlpressdownx',500); event.removeCharacter.classList.remove('disabled'); } else{ @@ -2990,14 +2990,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ _status.qianfan=false; event.removeCharacter.replace('遣返',qianfan); if(game.data.money>=100){ - event.addCharacter.animate('controlpressdownx',500); + event.addCharacter.addTempClass('controlpressdownx',500); event.addCharacter.classList.remove('disabled'); } else{ event.addCharacter.classList.add('disabled'); } if(game.data.money>=150||game.data._arena){ - event.enterArena.animate('controlpressdownx',500); + event.enterArena.addTempClass('controlpressdownx',500); event.enterArena.classList.remove('disabled'); } else{ @@ -3885,7 +3885,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } else if(dialog.buttons.length=0) return 0; @@ -13913,7 +13913,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ } },get.config('onlyguozhanexpand')?'expandall':undefined,get.config('onlyguozhan')?'onlypack:mode_guozhan':undefined); if(ui.cheat2){ - ui.cheat2.animate('controlpressdownx',500); + ui.cheat2.addTempClass('controlpressdownx',500); ui.cheat2.classList.remove('disabled'); } }; @@ -13936,7 +13936,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ game.uncheck(); game.check(); if(ui.cheat){ - ui.cheat.animate('controlpressdownx',500); + ui.cheat.addTempClass('controlpressdownx',500); ui.cheat.classList.remove('disabled'); } } @@ -13977,7 +13977,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var node=_status.event.dialog.buttons[0].parentNode; _status.event.dialog.buttons=ui.create.buttons(list,'character',buttons); _status.event.dialog.content.insertBefore(buttons,node); - buttons.animate('start'); + buttons.addTempClass('start'); node.remove(); game.uncheck(); game.check(); diff --git a/mode/identity.js b/mode/identity.js index 390a9a451..c6807ea05 100644 --- a/mode/identity.js +++ b/mode/identity.js @@ -1582,7 +1582,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var node=dialog.buttons[0].parentNode; dialog.buttons=ui.create.buttons(list,'characterx',buttons); dialog.content.insertBefore(buttons,node); - buttons.animate('start'); + buttons.addTempClass('start'); node.remove(); game.uncheck(); game.check(); @@ -1992,7 +1992,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var node=_status.event.dialog.buttons[0].parentNode; _status.event.dialog.buttons=ui.create.buttons(list,'characterx',buttons); _status.event.dialog.content.insertBefore(buttons,node); - buttons.animate('start'); + buttons.addTempClass('start'); node.remove(); game.uncheck(); game.check(); @@ -2003,7 +2003,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ lib.onfree.push(function(){ event.dialogxx=ui.create.characterDialog('heightset'); if(ui.cheat2){ - ui.cheat2.animate('controlpressdownx',500); + ui.cheat2.addTempClass('controlpressdownx',500); ui.cheat2.classList.remove('disabled'); } }); @@ -2025,7 +2025,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ game.uncheck(); game.check(); if(ui.cheat){ - ui.cheat.animate('controlpressdownx',500); + ui.cheat.addTempClass('controlpressdownx',500); ui.cheat.classList.remove('disabled'); } } diff --git a/mode/stone.js b/mode/stone.js index a8ae716ef..f6c1b09a9 100644 --- a/mode/stone.js +++ b/mode/stone.js @@ -934,7 +934,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ player.dataset.position=dead.dataset.position; player.side=dead.side; player.actcharacterlist=dead.actcharacterlist; - player.animate('replaceme'); + player.addTempClass('replaceme'); player.actcount=game.enemy.actcount; player.actcount=dead.actcount; if(_status.double_character){ @@ -994,7 +994,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ player.dataset.position=dead.dataset.position; player.side=dead.side; player.actcharacterlist=dead.actcharacterlist; - player.animate('replaceenemy'); + player.addTempClass('replaceenemy'); player.actcount=dead.actcount; if(_status.double_character){ player.init(_status.enemylist.shift(),_status.enemylist.shift()); @@ -1495,7 +1495,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var node=_status.event.dialog.buttons[0].parentNode; _status.event.dialog.buttons=ui.create.buttons(list.slice(0,get.config('battle_number')*2+5),'character',buttons); _status.event.dialog.content.insertBefore(buttons,node); - buttons.animate('start'); + buttons.addTempClass('start'); node.remove(); game.uncheck(); @@ -1510,7 +1510,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ lib.onfree.push(function(){ event.dialogxx=ui.create.characterDialog('heightset'); if(ui.cheat2){ - ui.cheat2.animate('controlpressdownx',500); + ui.cheat2.addTempClass('controlpressdownx',500); ui.cheat2.classList.remove('disabled'); } event.dialogxx.style.height=(game.layout=='newlayout'?350:410)+'px'; @@ -1533,7 +1533,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ game.uncheck(); game.check(); if(ui.cheat){ - ui.cheat.animate('controlpressdownx',500); + ui.cheat.addTempClass('controlpressdownx',500); ui.cheat.classList.remove('disabled'); } } diff --git a/mode/tafang.js b/mode/tafang.js index a20887631..695be18ed 100644 --- a/mode/tafang.js +++ b/mode/tafang.js @@ -616,8 +616,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ ui.me.querySelector('.fakeme.avatar').show(); ui.me.querySelector('.fakeme.player').show(); ui.create.fakeme(); - ui.handcards1=player.node.handcards1.animate('start').fix(); - ui.handcards2=player.node.handcards2.animate('start').fix(); + ui.handcards1=player.node.handcards1.addTempClass('start').fix(); + ui.handcards2=player.node.handcards2.addTempClass('start').fix(); ui.handcards1Container.appendChild(ui.handcards1); ui.handcards2Container.appendChild(ui.handcards2); ui.updatehl(); @@ -633,7 +633,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ for(var i=ui.chesswidth;i { if (parseInt(value.dataset.position) >= position) value.dataset.position = parseInt(value.dataset.position) + 1; }); - const player = ui.create.player(ui.arena).animate('start'); + const player = ui.create.player(ui.arena).addTempClass('start'); if (character) player.init(character, character2); game.players.push(player); player.dataset.position = position; @@ -8445,7 +8445,7 @@ export class Game extends Uninstantable { */ static addFellow(position, character, animation) { game.addVideo('addFellow', null, [position, character, animation]); - const player = ui.create.player(ui.arena).animate(animation || 'start'); + const player = ui.create.player(ui.arena).addTempClass(animation || 'start'); player.dataset.position = position || game.players.length + game.dead.length; player.getId(); if (character) player.init(character); @@ -8479,7 +8479,7 @@ export class Game extends Uninstantable { game.players.push(player); delete player.removed; player.removeAttribute('style'); - player.animate('start'); + player.addTempClass('start'); ui.arena.appendChild(player); game.arrangePlayers(); return player; @@ -8527,7 +8527,7 @@ export class Game extends Uninstantable { game.players.remove(player); game.dead.remove(player); player.delete(); - const player2 = ui.create.player(ui.arena).animate('start'); + const player2 = ui.create.player(ui.arena).addTempClass('start'); if (character) player2.init(character, character2); game.players.push(player2); player2.dataset.position = position; diff --git a/noname/init/polyfill.js b/noname/init/polyfill.js index 0dfc548a2..34cab532b 100644 --- a/noname/init/polyfill.js +++ b/noname/init/polyfill.js @@ -5,22 +5,22 @@ import { Game as game } from '../game/index.js'; import { status as _status } from '../status/index.js'; import { UI as ui } from '../ui/index.js'; -HTMLDivElement.prototype.animate = function (name, time) { - // 兼容原先的Div.animate - if (Array.isArray(name) || get.objtype(name) == 'object') { - return Element.prototype.animate.call(this, name, time); - } - var that; - if (get.is.mobileMe(this) && name == 'target') { - that = ui.mebg; - } - else { - that = this; +// 废弃覆盖原型的HTMLDivElement.prototype.animate +// 改为HTMLDivElement.prototype.addTempClass +HTMLDivElement.prototype.animate = function (keyframes, options) { + if (typeof keyframes == 'string') { + console.warn(this, '无名杀开发者修改的animate方法已废弃,请改为使用addTempClass方法'); + return HTMLDivElement.prototype.addTempClass.call(this, keyframes, options); } + else return HTMLElement.prototype.animate.call(this, keyframes, options); +}; + +HTMLDivElement.prototype.addTempClass = function (name, time = 1000) { + let that = get.is.mobileMe(this) && name == 'target' ? ui.mebg : this; that.classList.add(name); - setTimeout(function () { + setTimeout(() => { that.classList.remove(name); - }, time || 1000); + }, time); return this; }; HTMLDivElement.prototype.hide = function () { diff --git a/noname/library/element/content.js b/noname/library/element/content.js index f65eb8d87..95007a4ce 100644 --- a/noname/library/element/content.js +++ b/noname/library/element/content.js @@ -3036,7 +3036,7 @@ export const Content = { } } else { - ui.control.animate('nozoom', 100); + ui.control.addTempClass('nozoom', 100); event._aiexclude.add(event.buttoned); } event.goto(0); @@ -3230,7 +3230,7 @@ export const Content = { } } else { - ui.control.animate('nozoom', 100); + ui.control.addTempClass('nozoom', 100); event._aiexclude.add(event.buttoned); } event.goto(0); @@ -3834,7 +3834,7 @@ export const Content = { event.cardlist.forEach((card, index) => { game.log(targets[index], '的拼点牌为', card); }); - player.animate('target'); + player.addTempClass('target'); game.delay(0, 1000); 'step 5'; event.target = null; @@ -3842,7 +3842,7 @@ export const Content = { 'step 6'; if (event.iwhile < targets.length) { event.target = targets[event.iwhile]; - event.target.animate('target'); + event.target.addTempClass('target'); event.card2 = event.cardlist[event.iwhile]; event.num2 = event.getNum(event.card2); //event.tempplayer.line(event.target); @@ -3996,8 +3996,8 @@ export const Content = { "step 5"; if (event.iwhile < targets.length) { event.target = targets[event.iwhile]; - event.target.animate('target'); - player.animate('target'); + event.target.addTempClass('target'); + player.addTempClass('target'); event.card2 = event.cardlist[event.iwhile]; event.num2 = event.getNum(event.card2); game.log(event.target, '的拼点牌为', event.card2); @@ -4746,7 +4746,7 @@ export const Content = { } if (event.result.bool && event.animate !== false) { for (var i = 0; i < event.result.targets.length; i++) { - event.result.targets[i].animate('target'); + event.result.targets[i].addTempClass('target'); } } if (event.dialog) event.dialog.close(); @@ -4806,7 +4806,7 @@ export const Content = { event.resume(); if (event.result.bool && event.animate !== false) { for (var i = 0; i < event.result.targets.length; i++) { - event.result.targets[i].animate('target'); + event.result.targets[i].addTempClass('target'); } } if (event.dialog) event.dialog.close(); @@ -6105,12 +6105,12 @@ export const Content = { targets.sortBySeat((_status.currentPhase || player)); } if (animate) for (var i = 0; i < targets.length; i++) { - targets[i].animate('target'); + targets[i].addTempClass('target'); } } else if (animate) { for (var i = 0; i < targets.length; i++) { - targets[i].animate('target'); + targets[i].addTempClass('target'); } } } @@ -6329,10 +6329,10 @@ export const Content = { if (next.target && !info.multitarget) { if (num == 0 && targets.length > 1) { // var ttt=next.target; - // setTimeout(function(){ttt.animate('target');},0.5*lib.config.duration); + // setTimeout(function(){ttt.addTempClass('target');},0.5*lib.config.duration); } else { - next.target.animate('target'); + next.target.addTempClass('target'); } } if (!info.nodelay && num > 0) { @@ -6608,7 +6608,7 @@ export const Content = { delete lib.tempSortSeat; } for (var i = 0; i < targets.length; i++) { - targets[i].animate('target'); + targets[i].addTempClass('target'); } } next.target = targets[num]; @@ -6617,10 +6617,10 @@ export const Content = { if (next.target && !info.multitarget) { if (num == 0 && targets.length > 1) { // var ttt=next.target; - // setTimeout(function(){ttt.animate('target');},0.5*lib.config.duration); + // setTimeout(function(){ttt.addTempClass('target');},0.5*lib.config.duration); } else { - next.target.animate('target'); + next.target.addTempClass('target'); } } if (num == 0) { @@ -8131,7 +8131,7 @@ export const Content = { event = _status.event; } if (game.chess) { - event.node = card.copy('thrown', 'center', ui.arena).animate('start'); + event.node = card.copy('thrown', 'center', ui.arena).addTempClass('start'); } else { event.node = player.$throwordered(card.copy(), true); diff --git a/noname/library/element/control.js b/noname/library/element/control.js index b3d4252dd..561f73da0 100644 --- a/noname/library/element/control.js +++ b/noname/library/element/control.js @@ -28,10 +28,10 @@ export class Control extends HTMLDivElement { else control.add(argument); }); ui.controls.unshift(control); - if (nc) ui.control.animate('nozoom', 100); + if (nc) ui.control.addTempClass('nozoom', 100); if (control.childNodes.length) { control.style.transition = 'opacity 0.5s'; - control.animate('controlpressdownx', 500); + control.addTempClass('controlpressdownx', 500); ui.refresh(control); if (!control.stayleft) control.style.transform = `translateX(-${control.offsetWidth / 2}px)`; control.style.opacity = 1; @@ -68,7 +68,7 @@ export class Control extends HTMLDivElement { this.style.transition = ''; } else { - this.animate('controlpressdownx', 500); + this.addTempClass('controlpressdownx', 500); } ui.updatec(); return this; @@ -81,7 +81,7 @@ export class Control extends HTMLDivElement { node.addEventListener(lib.config.touchscreen ? 'touchend' : 'click', ui.click.control); } close() { - this.animate('controlpressdownx', 500); + this.addTempClass('controlpressdownx', 500); ui.controls.remove(this); this.delete(); @@ -95,7 +95,7 @@ export class Control extends HTMLDivElement { if (ui.skills3 == this) delete ui.skills3; } replace() { - // this.animate('controlpressdownx',500); + // this.addTempClass('controlpressdownx',500); if (this.replaceTransition === false) { this.style.transitionProperty = 'none'; ui.refresh(this); diff --git a/noname/library/index.js b/noname/library/index.js index 659af65bd..3703c1ef8 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -3680,7 +3680,7 @@ export class Library extends Uninstantable { right: '靠右', }, onclick: function (bool) { - if (lib.config.show_history == 'right') ui.window.animate('rightbar2'); + if (lib.config.show_history == 'right') ui.window.addTempClass('rightbar2'); game.saveConfig('show_history', bool); if (_status.video || !_status.prepareArena) return; if (bool == 'left') { @@ -12444,7 +12444,7 @@ export class Library extends Uninstantable { var pos = state.players[observe || game.onlineID].position; for (var i in state.players) { var info = state.players[i]; - var player = ui.create.player(ui.arena).animate('start'); + var player = ui.create.player(ui.arena).addTempClass('start'); player.dataset.position = (info.position < pos) ? info.position - pos + parseInt(state.number) : info.position - pos; if (i == observe || i == game.onlineID) { game.me = player; diff --git a/noname/ui/index.js b/noname/ui/index.js index 422ac9bdc..6baaad5cb 100644 --- a/noname/ui/index.js +++ b/noname/ui/index.js @@ -9295,7 +9295,7 @@ class Create extends Uninstantable { if (!lib.config.show_replay) { ui.replay.style.display = 'none'; } - ui.control = ui.create.div('#control', ui.arena).animate('nozoom'); + ui.control = ui.create.div('#control', ui.arena).addTempClass('nozoom'); ui.cardPile = ui.create.div('#cardPile'); ui.discardPile = ui.create.div('#discardPile'); ui.special = ui.create.div('#special'); @@ -9504,7 +9504,7 @@ class Create extends Uninstantable { _status.auto = true; ui.auto.classList.add('glow'); setTimeout(function () { - var node = ui.create.pause().animate('start'); + var node = ui.create.pause().addTempClass('start'); node.appendChild(ui.sidebar); node.firstChild.innerHTML = '正在测试'; node.removeEventListener('click', ui.click.resume); @@ -9985,7 +9985,7 @@ class Create extends Uninstantable { } if (!numberOfPlayers) numberOfPlayers = 5; for (let ordinal = 0; ordinal < numberOfPlayers; ordinal++) { - const player = ui.create.player().animate('start'); + const player = ui.create.player().addTempClass('start'); game.players.push(player); player.dataset.position = ordinal; } @@ -10010,7 +10010,7 @@ class Create extends Uninstantable { } static me(hasme) { ui.mebg = ui.create.div('#mebg', ui.arena); - ui.me = ui.create.div('#me', ui.arena).animate('start'); + ui.me = ui.create.div('#me', ui.arena).addTempClass('start'); ui.handcards1Container = ui.create.div('#handcards1', ui.me); ui.handcards2Container = ui.create.div('#handcards2', ui.me); ui.arena.classList.remove('nome'); @@ -12527,7 +12527,7 @@ class Click extends Uninstantable { _status.clicked = true; _status.tempunpop = true; this.previousSibling.hide(); - var node = ui.create.div('.switcher', this.parentNode).animate('start'); + var node = ui.create.div('.switcher', this.parentNode).addTempClass('start'); for (var i = 0; i < this.choice.length; i++) { var choice = ui.create.div('.pointerdiv', node); choice.innerHTML = get.translation(this.choice[i]); @@ -13020,7 +13020,7 @@ class Click extends Uninstantable { if (_status.event.type == 'phase' && ui.confirm) { ui.confirm.classList.add('removing'); } - // ui.control.animate('nozoom',100); + // ui.control.addTempClass('nozoom',100); event.restore(); var cards = event.player.getCards('hej'); for (var i = 0; i < cards.length; i++) { @@ -13801,7 +13801,7 @@ class Click extends Uninstantable { game.pause2(); var node = ui.create.pause(); if (!node) return; - node.animate('start'); + node.addTempClass('start'); ui.sidebar3.innerHTML = ''; if (lib.config.show_discardpile) { for (var i = 0; i < ui.discardPile.childNodes.length; i++) { @@ -14141,7 +14141,7 @@ export class UI extends Uninstantable { stayleft._offset += stayleft.currentLeft; if (current_offset != stayleft._offset) { - stayleft.animate('controlpressdownx', 500); + stayleft.addTempClass('controlpressdownx', 500); stayleft.style.transform = 'translateX(' + stayleft._offset + 'px)'; } } @@ -14159,7 +14159,7 @@ export class UI extends Uninstantable { if (minoffset > offset) offset = minoffset; var control = controls.shift(); if (control._offset != offset) { - control.animate('controlpressdownx', 500); + control.addTempClass('controlpressdownx', 500); control.style.transform = 'translateX(' + offset + 'px)'; control._offset = offset; } @@ -14171,7 +14171,7 @@ export class UI extends Uninstantable { offset += 6; } if (control._offset != offset) { - control.animate('controlpressdownx', 500); + control.addTempClass('controlpressdownx', 500); control.style.transform = 'translateX(' + offset + 'px)'; control._offset = offset; } From 1cdbf05a03582fe1852cb50b41026211c825ed0c Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Sat, 30 Dec 2023 18:51:52 +0800 Subject: [PATCH 126/234] =?UTF-8?q?=E5=A4=9A=E4=BA=86=E4=B8=AA=E8=B4=9F?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/xianding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/xianding.js b/character/xianding.js index 8b07d74ba..49958fa81 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -9182,7 +9182,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ 'step 0' player.chooseTarget(get.prompt2('juetao'),lib.filter.notMe).set('ai',function(target){ let att=-get.attitude(_status.event.player,target); - if(att<=0) return -att; + if(att<=0) return att; if(target.hasSkillTag('nodamage')) return 0.01*att; if(target.getEquip('tengjia')||target.getEquip('renwang')) return 0.2*att; if(target.getEquip('bugua')) return 0.3*att; From 26cd6fae95a006ca368e65c57c750f472e425658 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Sat, 30 Dec 2023 19:19:22 +0800 Subject: [PATCH 127/234] =?UTF-8?q?=E6=B7=BB=E5=8A=A0noname-typings?= =?UTF-8?q?=E5=BA=93=E4=BB=A5=E8=8E=B7=E5=8F=96=E6=9B=B4=E5=85=A8=E9=9D=A2?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 + node_modules/@types/cordova/LICENSE | 21 + node_modules/@types/cordova/README.md | 15 + node_modules/@types/cordova/index.d.ts | 86 + node_modules/@types/cordova/package.json | 24 + node_modules/@types/node/LICENSE | 21 + node_modules/@types/node/README.md | 15 + node_modules/@types/node/assert.d.ts | 996 + node_modules/@types/node/assert/strict.d.ts | 8 + node_modules/@types/node/async_hooks.d.ts | 539 + node_modules/@types/node/buffer.d.ts | 2362 ++ node_modules/@types/node/child_process.d.ts | 1540 ++ node_modules/@types/node/cluster.d.ts | 432 + node_modules/@types/node/console.d.ts | 415 + node_modules/@types/node/constants.d.ts | 19 + node_modules/@types/node/crypto.d.ts | 4462 ++++ node_modules/@types/node/dgram.d.ts | 586 + .../@types/node/diagnostics_channel.d.ts | 191 + node_modules/@types/node/dns.d.ts | 809 + node_modules/@types/node/dns/promises.d.ts | 425 + node_modules/@types/node/dom-events.d.ts | 122 + node_modules/@types/node/domain.d.ts | 170 + node_modules/@types/node/events.d.ts | 879 + node_modules/@types/node/fs.d.ts | 4291 ++++ node_modules/@types/node/fs/promises.d.ts | 1239 ++ node_modules/@types/node/globals.d.ts | 411 + node_modules/@types/node/globals.global.d.ts | 1 + node_modules/@types/node/http.d.ts | 1888 ++ node_modules/@types/node/http2.d.ts | 2382 ++ node_modules/@types/node/https.d.ts | 550 + node_modules/@types/node/index.d.ts | 88 + node_modules/@types/node/inspector.d.ts | 2747 +++ node_modules/@types/node/module.d.ts | 301 + node_modules/@types/node/net.d.ts | 949 + node_modules/@types/node/os.d.ts | 478 + node_modules/@types/node/package.json | 230 + node_modules/@types/node/path.d.ts | 191 + node_modules/@types/node/perf_hooks.d.ts | 639 + node_modules/@types/node/process.d.ts | 1539 ++ node_modules/@types/node/punycode.d.ts | 117 + node_modules/@types/node/querystring.d.ts | 141 + node_modules/@types/node/readline.d.ts | 539 + .../@types/node/readline/promises.d.ts | 150 + node_modules/@types/node/repl.d.ts | 430 + node_modules/@types/node/stream.d.ts | 1701 ++ .../@types/node/stream/consumers.d.ts | 12 + node_modules/@types/node/stream/promises.d.ts | 83 + node_modules/@types/node/stream/web.d.ts | 350 + node_modules/@types/node/string_decoder.d.ts | 67 + node_modules/@types/node/test.d.ts | 1382 ++ node_modules/@types/node/timers.d.ts | 240 + node_modules/@types/node/timers/promises.d.ts | 93 + node_modules/@types/node/tls.d.ts | 1210 + node_modules/@types/node/trace_events.d.ts | 182 + node_modules/@types/node/ts4.8/assert.d.ts | 996 + .../@types/node/ts4.8/assert/strict.d.ts | 8 + .../@types/node/ts4.8/async_hooks.d.ts | 539 + node_modules/@types/node/ts4.8/buffer.d.ts | 2362 ++ .../@types/node/ts4.8/child_process.d.ts | 1540 ++ node_modules/@types/node/ts4.8/cluster.d.ts | 432 + node_modules/@types/node/ts4.8/console.d.ts | 415 + node_modules/@types/node/ts4.8/constants.d.ts | 19 + node_modules/@types/node/ts4.8/crypto.d.ts | 4461 ++++ node_modules/@types/node/ts4.8/dgram.d.ts | 586 + .../node/ts4.8/diagnostics_channel.d.ts | 191 + node_modules/@types/node/ts4.8/dns.d.ts | 809 + .../@types/node/ts4.8/dns/promises.d.ts | 425 + .../@types/node/ts4.8/dom-events.d.ts | 122 + node_modules/@types/node/ts4.8/domain.d.ts | 170 + node_modules/@types/node/ts4.8/events.d.ts | 879 + node_modules/@types/node/ts4.8/fs.d.ts | 4291 ++++ .../@types/node/ts4.8/fs/promises.d.ts | 1239 ++ node_modules/@types/node/ts4.8/globals.d.ts | 411 + .../@types/node/ts4.8/globals.global.d.ts | 1 + node_modules/@types/node/ts4.8/http.d.ts | 1888 ++ node_modules/@types/node/ts4.8/http2.d.ts | 2382 ++ node_modules/@types/node/ts4.8/https.d.ts | 550 + node_modules/@types/node/ts4.8/index.d.ts | 88 + node_modules/@types/node/ts4.8/inspector.d.ts | 2747 +++ node_modules/@types/node/ts4.8/module.d.ts | 301 + node_modules/@types/node/ts4.8/net.d.ts | 949 + node_modules/@types/node/ts4.8/os.d.ts | 478 + node_modules/@types/node/ts4.8/path.d.ts | 191 + .../@types/node/ts4.8/perf_hooks.d.ts | 639 + node_modules/@types/node/ts4.8/process.d.ts | 1539 ++ node_modules/@types/node/ts4.8/punycode.d.ts | 117 + .../@types/node/ts4.8/querystring.d.ts | 141 + node_modules/@types/node/ts4.8/readline.d.ts | 539 + .../@types/node/ts4.8/readline/promises.d.ts | 150 + node_modules/@types/node/ts4.8/repl.d.ts | 430 + node_modules/@types/node/ts4.8/stream.d.ts | 1701 ++ .../@types/node/ts4.8/stream/consumers.d.ts | 12 + .../@types/node/ts4.8/stream/promises.d.ts | 83 + .../@types/node/ts4.8/stream/web.d.ts | 350 + .../@types/node/ts4.8/string_decoder.d.ts | 67 + node_modules/@types/node/ts4.8/test.d.ts | 1382 ++ node_modules/@types/node/ts4.8/timers.d.ts | 240 + .../@types/node/ts4.8/timers/promises.d.ts | 93 + node_modules/@types/node/ts4.8/tls.d.ts | 1210 + .../@types/node/ts4.8/trace_events.d.ts | 182 + node_modules/@types/node/ts4.8/tty.d.ts | 208 + node_modules/@types/node/ts4.8/url.d.ts | 927 + node_modules/@types/node/ts4.8/util.d.ts | 2183 ++ node_modules/@types/node/ts4.8/v8.d.ts | 635 + node_modules/@types/node/ts4.8/vm.d.ts | 903 + node_modules/@types/node/ts4.8/wasi.d.ts | 158 + .../@types/node/ts4.8/worker_threads.d.ts | 691 + node_modules/@types/node/ts4.8/zlib.d.ts | 517 + node_modules/@types/node/tty.d.ts | 208 + node_modules/@types/node/url.d.ts | 927 + node_modules/@types/node/util.d.ts | 2183 ++ node_modules/@types/node/v8.d.ts | 635 + node_modules/@types/node/vm.d.ts | 903 + node_modules/@types/node/wasi.d.ts | 158 + node_modules/@types/node/worker_threads.d.ts | 691 + node_modules/@types/node/zlib.d.ts | 517 + .../.github/workflows/release-package.yml | 20 + node_modules/noname-typings/ArrayEx.d.ts | 104 + node_modules/noname-typings/DateEx.d.ts | 5 + .../noname-typings/HTMLDivElementEx.d.ts | 78 + .../noname-typings/HTMLTableElementEx.d.ts | 8 + node_modules/noname-typings/LICENSE | 674 + node_modules/noname-typings/MapEx.d.ts | 27 + .../cordova-plugin-dialogs.d.ts | 69 + .../cordova-plugin-file-transfer.d.ts | 136 + .../noname-typings/cordova-plugin-file.d.ts | 374 + .../cordova-plugin-local-notifications.d.ts | 390 + node_modules/noname-typings/electron.d.ts | 18368 ++++++++++++++++ node_modules/noname-typings/index.d.ts | 13 + node_modules/noname-typings/package.json | 27 + node_modules/noname-typings/type.d.ts | 33 + node_modules/noname-typings/windowEx.d.ts | 69 + node_modules/undici-types/README.md | 6 + node_modules/undici-types/agent.d.ts | 31 + node_modules/undici-types/api.d.ts | 43 + node_modules/undici-types/balanced-pool.d.ts | 18 + node_modules/undici-types/cache.d.ts | 36 + node_modules/undici-types/client.d.ts | 97 + node_modules/undici-types/connector.d.ts | 34 + node_modules/undici-types/content-type.d.ts | 21 + node_modules/undici-types/cookies.d.ts | 28 + .../undici-types/diagnostics-channel.d.ts | 67 + node_modules/undici-types/dispatcher.d.ts | 241 + node_modules/undici-types/errors.d.ts | 128 + node_modules/undici-types/fetch.d.ts | 209 + node_modules/undici-types/file.d.ts | 39 + node_modules/undici-types/filereader.d.ts | 54 + node_modules/undici-types/formdata.d.ts | 108 + .../undici-types/global-dispatcher.d.ts | 9 + node_modules/undici-types/global-origin.d.ts | 7 + node_modules/undici-types/handlers.d.ts | 9 + node_modules/undici-types/header.d.ts | 4 + node_modules/undici-types/index.d.ts | 63 + node_modules/undici-types/interceptors.d.ts | 5 + node_modules/undici-types/mock-agent.d.ts | 50 + node_modules/undici-types/mock-client.d.ts | 25 + node_modules/undici-types/mock-errors.d.ts | 12 + .../undici-types/mock-interceptor.d.ts | 93 + node_modules/undici-types/mock-pool.d.ts | 25 + node_modules/undici-types/package.json | 55 + node_modules/undici-types/patch.d.ts | 71 + node_modules/undici-types/pool-stats.d.ts | 19 + node_modules/undici-types/pool.d.ts | 28 + node_modules/undici-types/proxy-agent.d.ts | 30 + node_modules/undici-types/readable.d.ts | 61 + node_modules/undici-types/webidl.d.ts | 220 + node_modules/undici-types/websocket.d.ts | 131 + tsconfig.json | 102 + 168 files changed, 112125 insertions(+) create mode 100644 node_modules/@types/cordova/LICENSE create mode 100644 node_modules/@types/cordova/README.md create mode 100644 node_modules/@types/cordova/index.d.ts create mode 100644 node_modules/@types/cordova/package.json create mode 100644 node_modules/@types/node/LICENSE create mode 100644 node_modules/@types/node/README.md create mode 100644 node_modules/@types/node/assert.d.ts create mode 100644 node_modules/@types/node/assert/strict.d.ts create mode 100644 node_modules/@types/node/async_hooks.d.ts create mode 100644 node_modules/@types/node/buffer.d.ts create mode 100644 node_modules/@types/node/child_process.d.ts create mode 100644 node_modules/@types/node/cluster.d.ts create mode 100644 node_modules/@types/node/console.d.ts create mode 100644 node_modules/@types/node/constants.d.ts create mode 100644 node_modules/@types/node/crypto.d.ts create mode 100644 node_modules/@types/node/dgram.d.ts create mode 100644 node_modules/@types/node/diagnostics_channel.d.ts create mode 100644 node_modules/@types/node/dns.d.ts create mode 100644 node_modules/@types/node/dns/promises.d.ts create mode 100644 node_modules/@types/node/dom-events.d.ts create mode 100644 node_modules/@types/node/domain.d.ts create mode 100644 node_modules/@types/node/events.d.ts create mode 100644 node_modules/@types/node/fs.d.ts create mode 100644 node_modules/@types/node/fs/promises.d.ts create mode 100644 node_modules/@types/node/globals.d.ts create mode 100644 node_modules/@types/node/globals.global.d.ts create mode 100644 node_modules/@types/node/http.d.ts create mode 100644 node_modules/@types/node/http2.d.ts create mode 100644 node_modules/@types/node/https.d.ts create mode 100644 node_modules/@types/node/index.d.ts create mode 100644 node_modules/@types/node/inspector.d.ts create mode 100644 node_modules/@types/node/module.d.ts create mode 100644 node_modules/@types/node/net.d.ts create mode 100644 node_modules/@types/node/os.d.ts create mode 100644 node_modules/@types/node/package.json create mode 100644 node_modules/@types/node/path.d.ts create mode 100644 node_modules/@types/node/perf_hooks.d.ts create mode 100644 node_modules/@types/node/process.d.ts create mode 100644 node_modules/@types/node/punycode.d.ts create mode 100644 node_modules/@types/node/querystring.d.ts create mode 100644 node_modules/@types/node/readline.d.ts create mode 100644 node_modules/@types/node/readline/promises.d.ts create mode 100644 node_modules/@types/node/repl.d.ts create mode 100644 node_modules/@types/node/stream.d.ts create mode 100644 node_modules/@types/node/stream/consumers.d.ts create mode 100644 node_modules/@types/node/stream/promises.d.ts create mode 100644 node_modules/@types/node/stream/web.d.ts create mode 100644 node_modules/@types/node/string_decoder.d.ts create mode 100644 node_modules/@types/node/test.d.ts create mode 100644 node_modules/@types/node/timers.d.ts create mode 100644 node_modules/@types/node/timers/promises.d.ts create mode 100644 node_modules/@types/node/tls.d.ts create mode 100644 node_modules/@types/node/trace_events.d.ts create mode 100644 node_modules/@types/node/ts4.8/assert.d.ts create mode 100644 node_modules/@types/node/ts4.8/assert/strict.d.ts create mode 100644 node_modules/@types/node/ts4.8/async_hooks.d.ts create mode 100644 node_modules/@types/node/ts4.8/buffer.d.ts create mode 100644 node_modules/@types/node/ts4.8/child_process.d.ts create mode 100644 node_modules/@types/node/ts4.8/cluster.d.ts create mode 100644 node_modules/@types/node/ts4.8/console.d.ts create mode 100644 node_modules/@types/node/ts4.8/constants.d.ts create mode 100644 node_modules/@types/node/ts4.8/crypto.d.ts create mode 100644 node_modules/@types/node/ts4.8/dgram.d.ts create mode 100644 node_modules/@types/node/ts4.8/diagnostics_channel.d.ts create mode 100644 node_modules/@types/node/ts4.8/dns.d.ts create mode 100644 node_modules/@types/node/ts4.8/dns/promises.d.ts create mode 100644 node_modules/@types/node/ts4.8/dom-events.d.ts create mode 100644 node_modules/@types/node/ts4.8/domain.d.ts create mode 100644 node_modules/@types/node/ts4.8/events.d.ts create mode 100644 node_modules/@types/node/ts4.8/fs.d.ts create mode 100644 node_modules/@types/node/ts4.8/fs/promises.d.ts create mode 100644 node_modules/@types/node/ts4.8/globals.d.ts create mode 100644 node_modules/@types/node/ts4.8/globals.global.d.ts create mode 100644 node_modules/@types/node/ts4.8/http.d.ts create mode 100644 node_modules/@types/node/ts4.8/http2.d.ts create mode 100644 node_modules/@types/node/ts4.8/https.d.ts create mode 100644 node_modules/@types/node/ts4.8/index.d.ts create mode 100644 node_modules/@types/node/ts4.8/inspector.d.ts create mode 100644 node_modules/@types/node/ts4.8/module.d.ts create mode 100644 node_modules/@types/node/ts4.8/net.d.ts create mode 100644 node_modules/@types/node/ts4.8/os.d.ts create mode 100644 node_modules/@types/node/ts4.8/path.d.ts create mode 100644 node_modules/@types/node/ts4.8/perf_hooks.d.ts create mode 100644 node_modules/@types/node/ts4.8/process.d.ts create mode 100644 node_modules/@types/node/ts4.8/punycode.d.ts create mode 100644 node_modules/@types/node/ts4.8/querystring.d.ts create mode 100644 node_modules/@types/node/ts4.8/readline.d.ts create mode 100644 node_modules/@types/node/ts4.8/readline/promises.d.ts create mode 100644 node_modules/@types/node/ts4.8/repl.d.ts create mode 100644 node_modules/@types/node/ts4.8/stream.d.ts create mode 100644 node_modules/@types/node/ts4.8/stream/consumers.d.ts create mode 100644 node_modules/@types/node/ts4.8/stream/promises.d.ts create mode 100644 node_modules/@types/node/ts4.8/stream/web.d.ts create mode 100644 node_modules/@types/node/ts4.8/string_decoder.d.ts create mode 100644 node_modules/@types/node/ts4.8/test.d.ts create mode 100644 node_modules/@types/node/ts4.8/timers.d.ts create mode 100644 node_modules/@types/node/ts4.8/timers/promises.d.ts create mode 100644 node_modules/@types/node/ts4.8/tls.d.ts create mode 100644 node_modules/@types/node/ts4.8/trace_events.d.ts create mode 100644 node_modules/@types/node/ts4.8/tty.d.ts create mode 100644 node_modules/@types/node/ts4.8/url.d.ts create mode 100644 node_modules/@types/node/ts4.8/util.d.ts create mode 100644 node_modules/@types/node/ts4.8/v8.d.ts create mode 100644 node_modules/@types/node/ts4.8/vm.d.ts create mode 100644 node_modules/@types/node/ts4.8/wasi.d.ts create mode 100644 node_modules/@types/node/ts4.8/worker_threads.d.ts create mode 100644 node_modules/@types/node/ts4.8/zlib.d.ts create mode 100644 node_modules/@types/node/tty.d.ts create mode 100644 node_modules/@types/node/url.d.ts create mode 100644 node_modules/@types/node/util.d.ts create mode 100644 node_modules/@types/node/v8.d.ts create mode 100644 node_modules/@types/node/vm.d.ts create mode 100644 node_modules/@types/node/wasi.d.ts create mode 100644 node_modules/@types/node/worker_threads.d.ts create mode 100644 node_modules/@types/node/zlib.d.ts create mode 100644 node_modules/noname-typings/.github/workflows/release-package.yml create mode 100644 node_modules/noname-typings/ArrayEx.d.ts create mode 100644 node_modules/noname-typings/DateEx.d.ts create mode 100644 node_modules/noname-typings/HTMLDivElementEx.d.ts create mode 100644 node_modules/noname-typings/HTMLTableElementEx.d.ts create mode 100644 node_modules/noname-typings/LICENSE create mode 100644 node_modules/noname-typings/MapEx.d.ts create mode 100644 node_modules/noname-typings/cordova-plugin-dialogs.d.ts create mode 100644 node_modules/noname-typings/cordova-plugin-file-transfer.d.ts create mode 100644 node_modules/noname-typings/cordova-plugin-file.d.ts create mode 100644 node_modules/noname-typings/cordova-plugin-local-notifications.d.ts create mode 100644 node_modules/noname-typings/electron.d.ts create mode 100644 node_modules/noname-typings/index.d.ts create mode 100644 node_modules/noname-typings/package.json create mode 100644 node_modules/noname-typings/type.d.ts create mode 100644 node_modules/noname-typings/windowEx.d.ts create mode 100644 node_modules/undici-types/README.md create mode 100644 node_modules/undici-types/agent.d.ts create mode 100644 node_modules/undici-types/api.d.ts create mode 100644 node_modules/undici-types/balanced-pool.d.ts create mode 100644 node_modules/undici-types/cache.d.ts create mode 100644 node_modules/undici-types/client.d.ts create mode 100644 node_modules/undici-types/connector.d.ts create mode 100644 node_modules/undici-types/content-type.d.ts create mode 100644 node_modules/undici-types/cookies.d.ts create mode 100644 node_modules/undici-types/diagnostics-channel.d.ts create mode 100644 node_modules/undici-types/dispatcher.d.ts create mode 100644 node_modules/undici-types/errors.d.ts create mode 100644 node_modules/undici-types/fetch.d.ts create mode 100644 node_modules/undici-types/file.d.ts create mode 100644 node_modules/undici-types/filereader.d.ts create mode 100644 node_modules/undici-types/formdata.d.ts create mode 100644 node_modules/undici-types/global-dispatcher.d.ts create mode 100644 node_modules/undici-types/global-origin.d.ts create mode 100644 node_modules/undici-types/handlers.d.ts create mode 100644 node_modules/undici-types/header.d.ts create mode 100644 node_modules/undici-types/index.d.ts create mode 100644 node_modules/undici-types/interceptors.d.ts create mode 100644 node_modules/undici-types/mock-agent.d.ts create mode 100644 node_modules/undici-types/mock-client.d.ts create mode 100644 node_modules/undici-types/mock-errors.d.ts create mode 100644 node_modules/undici-types/mock-interceptor.d.ts create mode 100644 node_modules/undici-types/mock-pool.d.ts create mode 100644 node_modules/undici-types/package.json create mode 100644 node_modules/undici-types/patch.d.ts create mode 100644 node_modules/undici-types/pool-stats.d.ts create mode 100644 node_modules/undici-types/pool.d.ts create mode 100644 node_modules/undici-types/proxy-agent.d.ts create mode 100644 node_modules/undici-types/readable.d.ts create mode 100644 node_modules/undici-types/webidl.d.ts create mode 100644 node_modules/undici-types/websocket.d.ts create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore index 41a5761d6..1dfc2e31e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,8 +2,11 @@ !extension/cardpile !extension/coin !extension/wuxing +!node_modules/@types +!node_modules/noname-typings !node_modules/options !node_modules/ultron +!node_modules/undici-types !node_modules/ws ._* .DS_Store @@ -21,5 +24,6 @@ localStorage.json main.js node_modules noname.ico +package-lock.json package.json Thumbs.db diff --git a/node_modules/@types/cordova/LICENSE b/node_modules/@types/cordova/LICENSE new file mode 100644 index 000000000..9e841e7a2 --- /dev/null +++ b/node_modules/@types/cordova/LICENSE @@ -0,0 +1,21 @@ + MIT License + + Copyright (c) Microsoft Corporation. + + 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/node_modules/@types/cordova/README.md b/node_modules/@types/cordova/README.md new file mode 100644 index 000000000..5a0567b7e --- /dev/null +++ b/node_modules/@types/cordova/README.md @@ -0,0 +1,15 @@ +# Installation +> `npm install --save @types/cordova` + +# Summary +This package contains type definitions for cordova (http://cordova.apache.org). + +# Details +Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cordova. + +### Additional Details + * Last updated: Mon, 06 Nov 2023 22:41:05 GMT + * Dependencies: none + +# Credits +These definitions were written by [Microsoft Open Technologies Inc](http://msopentech.com). diff --git a/node_modules/@types/cordova/index.d.ts b/node_modules/@types/cordova/index.d.ts new file mode 100644 index 000000000..28d999985 --- /dev/null +++ b/node_modules/@types/cordova/index.d.ts @@ -0,0 +1,86 @@ +// +// Copyright (c) Microsoft Open Technologies Inc +// Licensed under the MIT license. + +interface Cordova { + /** Invokes native functionality by specifying corresponding service name, action and optional parameters. + * @param success A success callback function. + * @param fail An error callback function. + * @param service The service name to call on the native side (corresponds to a native class). + * @param action The action name to call on the native side (generally corresponds to the native class method). + * @param args An array of arguments to pass into the native environment. + */ + exec(success: (data: any) => any, fail: (err: any) => any, service: string, action: string, args?: any[]): void; + /** Gets the operating system name. */ + platformId: string; + /** Gets Cordova framework version */ + version: string; + /** Defines custom logic as a Cordova module. Other modules can later access it using module name provided. */ + define(moduleName: string, factory: (require: any, exports: any, module: any) => any): void; + /** Access a Cordova module by name. */ + require(moduleName: string): any; + /** Namespace for Cordova plugin functionality */ + plugins: CordovaPlugins; +} + +interface CordovaPlugins {} + +interface Document { + addEventListener(type: "deviceready", listener: (ev: Event) => any, useCapture?: boolean): void; + addEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): void; + addEventListener(type: "resume", listener: (ev: Event) => any, useCapture?: boolean): void; + addEventListener(type: "backbutton", listener: (ev: Event) => any, useCapture?: boolean): void; + addEventListener(type: "menubutton", listener: (ev: Event) => any, useCapture?: boolean): void; + addEventListener(type: "searchbutton", listener: (ev: Event) => any, useCapture?: boolean): void; + addEventListener(type: "startcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void; + addEventListener(type: "endcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void; + addEventListener(type: "volumedownbutton", listener: (ev: Event) => any, useCapture?: boolean): void; + addEventListener(type: "volumeupbutton", listener: (ev: Event) => any, useCapture?: boolean): void; + + removeEventListener(type: "deviceready", listener: (ev: Event) => any, useCapture?: boolean): void; + removeEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): void; + removeEventListener(type: "resume", listener: (ev: Event) => any, useCapture?: boolean): void; + removeEventListener(type: "backbutton", listener: (ev: Event) => any, useCapture?: boolean): void; + removeEventListener(type: "menubutton", listener: (ev: Event) => any, useCapture?: boolean): void; + removeEventListener(type: "searchbutton", listener: (ev: Event) => any, useCapture?: boolean): void; + removeEventListener(type: "startcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void; + removeEventListener(type: "endcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void; + removeEventListener(type: "volumedownbutton", listener: (ev: Event) => any, useCapture?: boolean): void; + removeEventListener(type: "volumeupbutton", listener: (ev: Event) => any, useCapture?: boolean): void; + + addEventListener(type: string, listener: (ev: Event) => any, useCapture?: boolean): void; + removeEventListener(type: string, listener: (ev: Event) => any, useCapture?: boolean): void; +} + +interface Window { + cordova: Cordova; +} + +// cordova/argscheck module +interface ArgsCheck { + checkArgs(argsSpec: string, functionName: string, args: any[], callee?: any): void; + getValue(value?: any, defaultValue?: any): any; + enableChecks: boolean; +} + +// cordova/urlutil module +interface UrlUtil { + makeAbsolute(url: string): string; +} + +/** Apache Cordova instance */ +declare var cordova: Cordova; + +declare module "cordova" { + export = cordova; +} + +interface Navigator { + /** This plugin displays and hides a splash screen during application launch. */ + splashscreen: { + /** Dismiss the splash screen. */ + hide(): void; + /** Displays the splash screen. */ + show(): void; + }; +} diff --git a/node_modules/@types/cordova/package.json b/node_modules/@types/cordova/package.json new file mode 100644 index 000000000..50a018abc --- /dev/null +++ b/node_modules/@types/cordova/package.json @@ -0,0 +1,24 @@ +{ + "name": "@types/cordova", + "version": "11.0.3", + "description": "TypeScript definitions for cordova", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cordova", + "license": "MIT", + "contributors": [ + { + "name": "Microsoft Open Technologies Inc", + "url": "http://msopentech.com" + } + ], + "main": "", + "types": "index.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/cordova" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "f0396139ab25db9d5cfedadf71a9626433e4ed3322853eb34c562a9775cc1c02", + "typeScriptVersion": "4.5" +} \ No newline at end of file diff --git a/node_modules/@types/node/LICENSE b/node_modules/@types/node/LICENSE new file mode 100644 index 000000000..9e841e7a2 --- /dev/null +++ b/node_modules/@types/node/LICENSE @@ -0,0 +1,21 @@ + MIT License + + Copyright (c) Microsoft Corporation. + + 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/node_modules/@types/node/README.md b/node_modules/@types/node/README.md new file mode 100644 index 000000000..a30c83b5c --- /dev/null +++ b/node_modules/@types/node/README.md @@ -0,0 +1,15 @@ +# Installation +> `npm install --save @types/node` + +# Summary +This package contains type definitions for node (https://nodejs.org/). + +# Details +Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node. + +### Additional Details + * Last updated: Sat, 30 Dec 2023 00:22:50 GMT + * Dependencies: [undici-types](https://npmjs.com/package/undici-types) + +# Credits +These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), and [Dmitry Semigradsky](https://github.com/Semigradsky). diff --git a/node_modules/@types/node/assert.d.ts b/node_modules/@types/node/assert.d.ts new file mode 100644 index 000000000..cd8214335 --- /dev/null +++ b/node_modules/@types/node/assert.d.ts @@ -0,0 +1,996 @@ +/** + * The `node:assert` module provides a set of assertion functions for verifying + * invariants. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/assert.js) + */ +declare module "assert" { + /** + * An alias of {@link ok}. + * @since v0.5.9 + * @param value The input that is checked for being truthy. + */ + function assert(value: unknown, message?: string | Error): asserts value; + namespace assert { + /** + * Indicates the failure of an assertion. All errors thrown by the `node:assert`module will be instances of the `AssertionError` class. + */ + class AssertionError extends Error { + /** + * Set to the `actual` argument for methods such as {@link assert.strictEqual()}. + */ + actual: unknown; + /** + * Set to the `expected` argument for methods such as {@link assert.strictEqual()}. + */ + expected: unknown; + /** + * Set to the passed in operator value. + */ + operator: string; + /** + * Indicates if the message was auto-generated (`true`) or not. + */ + generatedMessage: boolean; + /** + * Value is always `ERR_ASSERTION` to show that the error is an assertion error. + */ + code: "ERR_ASSERTION"; + constructor(options?: { + /** If provided, the error message is set to this value. */ + message?: string | undefined; + /** The `actual` property on the error instance. */ + actual?: unknown | undefined; + /** The `expected` property on the error instance. */ + expected?: unknown | undefined; + /** The `operator` property on the error instance. */ + operator?: string | undefined; + /** If provided, the generated stack trace omits frames before this function. */ + // eslint-disable-next-line @typescript-eslint/ban-types + stackStartFn?: Function | undefined; + }); + } + /** + * This feature is deprecated and will be removed in a future version. + * Please consider using alternatives such as the `mock` helper function. + * @since v14.2.0, v12.19.0 + * @deprecated Deprecated + */ + class CallTracker { + /** + * The wrapper function is expected to be called exactly `exact` times. If the + * function has not been called exactly `exact` times when `tracker.verify()` is called, then `tracker.verify()` will throw an + * error. + * + * ```js + * import assert from 'node:assert'; + * + * // Creates call tracker. + * const tracker = new assert.CallTracker(); + * + * function func() {} + * + * // Returns a function that wraps func() that must be called exact times + * // before tracker.verify(). + * const callsfunc = tracker.calls(func); + * ``` + * @since v14.2.0, v12.19.0 + * @param [fn='A no-op function'] + * @param [exact=1] + * @return that wraps `fn`. + */ + calls(exact?: number): () => void; + calls any>(fn?: Func, exact?: number): Func; + /** + * Example: + * + * ```js + * import assert from 'node:assert'; + * + * const tracker = new assert.CallTracker(); + * + * function func() {} + * const callsfunc = tracker.calls(func); + * callsfunc(1, 2, 3); + * + * assert.deepStrictEqual(tracker.getCalls(callsfunc), + * [{ thisArg: undefined, arguments: [1, 2, 3] }]); + * ``` + * @since v18.8.0, v16.18.0 + * @param fn + * @return An Array with all the calls to a tracked function. + */ + getCalls(fn: Function): CallTrackerCall[]; + /** + * The arrays contains information about the expected and actual number of calls of + * the functions that have not been called the expected number of times. + * + * ```js + * import assert from 'node:assert'; + * + * // Creates call tracker. + * const tracker = new assert.CallTracker(); + * + * function func() {} + * + * // Returns a function that wraps func() that must be called exact times + * // before tracker.verify(). + * const callsfunc = tracker.calls(func, 2); + * + * // Returns an array containing information on callsfunc() + * console.log(tracker.report()); + * // [ + * // { + * // message: 'Expected the func function to be executed 2 time(s) but was + * // executed 0 time(s).', + * // actual: 0, + * // expected: 2, + * // operator: 'func', + * // stack: stack trace + * // } + * // ] + * ``` + * @since v14.2.0, v12.19.0 + * @return An Array of objects containing information about the wrapper functions returned by `calls`. + */ + report(): CallTrackerReportInformation[]; + /** + * Reset calls of the call tracker. + * If a tracked function is passed as an argument, the calls will be reset for it. + * If no arguments are passed, all tracked functions will be reset. + * + * ```js + * import assert from 'node:assert'; + * + * const tracker = new assert.CallTracker(); + * + * function func() {} + * const callsfunc = tracker.calls(func); + * + * callsfunc(); + * // Tracker was called once + * assert.strictEqual(tracker.getCalls(callsfunc).length, 1); + * + * tracker.reset(callsfunc); + * assert.strictEqual(tracker.getCalls(callsfunc).length, 0); + * ``` + * @since v18.8.0, v16.18.0 + * @param fn a tracked function to reset. + */ + reset(fn?: Function): void; + /** + * Iterates through the list of functions passed to `tracker.calls()` and will throw an error for functions that + * have not been called the expected number of times. + * + * ```js + * import assert from 'node:assert'; + * + * // Creates call tracker. + * const tracker = new assert.CallTracker(); + * + * function func() {} + * + * // Returns a function that wraps func() that must be called exact times + * // before tracker.verify(). + * const callsfunc = tracker.calls(func, 2); + * + * callsfunc(); + * + * // Will throw an error since callsfunc() was only called once. + * tracker.verify(); + * ``` + * @since v14.2.0, v12.19.0 + */ + verify(): void; + } + interface CallTrackerCall { + thisArg: object; + arguments: unknown[]; + } + interface CallTrackerReportInformation { + message: string; + /** The actual number of times the function was called. */ + actual: number; + /** The number of times the function was expected to be called. */ + expected: number; + /** The name of the function that is wrapped. */ + operator: string; + /** A stack trace of the function. */ + stack: object; + } + type AssertPredicate = RegExp | (new() => object) | ((thrown: unknown) => boolean) | object | Error; + /** + * Throws an `AssertionError` with the provided error message or a default + * error message. If the `message` parameter is an instance of an `Error` then + * it will be thrown instead of the `AssertionError`. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.fail(); + * // AssertionError [ERR_ASSERTION]: Failed + * + * assert.fail('boom'); + * // AssertionError [ERR_ASSERTION]: boom + * + * assert.fail(new TypeError('need array')); + * // TypeError: need array + * ``` + * + * Using `assert.fail()` with more than two arguments is possible but deprecated. + * See below for further details. + * @since v0.1.21 + * @param [message='Failed'] + */ + function fail(message?: string | Error): never; + /** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */ + function fail( + actual: unknown, + expected: unknown, + message?: string | Error, + operator?: string, + // eslint-disable-next-line @typescript-eslint/ban-types + stackStartFn?: Function, + ): never; + /** + * Tests if `value` is truthy. It is equivalent to`assert.equal(!!value, true, message)`. + * + * If `value` is not truthy, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is `undefined`, a default + * error message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`. + * If no arguments are passed in at all `message` will be set to the string:`` 'No value argument passed to `assert.ok()`' ``. + * + * Be aware that in the `repl` the error message will be different to the one + * thrown in a file! See below for further details. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.ok(true); + * // OK + * assert.ok(1); + * // OK + * + * assert.ok(); + * // AssertionError: No value argument passed to `assert.ok()` + * + * assert.ok(false, 'it\'s false'); + * // AssertionError: it's false + * + * // In the repl: + * assert.ok(typeof 123 === 'string'); + * // AssertionError: false == true + * + * // In a file (e.g. test.js): + * assert.ok(typeof 123 === 'string'); + * // AssertionError: The expression evaluated to a falsy value: + * // + * // assert.ok(typeof 123 === 'string') + * + * assert.ok(false); + * // AssertionError: The expression evaluated to a falsy value: + * // + * // assert.ok(false) + * + * assert.ok(0); + * // AssertionError: The expression evaluated to a falsy value: + * // + * // assert.ok(0) + * ``` + * + * ```js + * import assert from 'node:assert/strict'; + * + * // Using `assert()` works the same: + * assert(0); + * // AssertionError: The expression evaluated to a falsy value: + * // + * // assert(0) + * ``` + * @since v0.1.21 + */ + function ok(value: unknown, message?: string | Error): asserts value; + /** + * **Strict assertion mode** + * + * An alias of {@link strictEqual}. + * + * **Legacy assertion mode** + * + * > Stability: 3 - Legacy: Use {@link strictEqual} instead. + * + * Tests shallow, coercive equality between the `actual` and `expected` parameters + * using the [`==` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality). `NaN` is specially handled + * and treated as being identical if both sides are `NaN`. + * + * ```js + * import assert from 'node:assert'; + * + * assert.equal(1, 1); + * // OK, 1 == 1 + * assert.equal(1, '1'); + * // OK, 1 == '1' + * assert.equal(NaN, NaN); + * // OK + * + * assert.equal(1, 2); + * // AssertionError: 1 == 2 + * assert.equal({ a: { b: 1 } }, { a: { b: 1 } }); + * // AssertionError: { a: { b: 1 } } == { a: { b: 1 } } + * ``` + * + * If the values are not equal, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is undefined, a default + * error message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`. + * @since v0.1.21 + */ + function equal(actual: unknown, expected: unknown, message?: string | Error): void; + /** + * **Strict assertion mode** + * + * An alias of {@link notStrictEqual}. + * + * **Legacy assertion mode** + * + * > Stability: 3 - Legacy: Use {@link notStrictEqual} instead. + * + * Tests shallow, coercive inequality with the [`!=` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Inequality). `NaN` is + * specially handled and treated as being identical if both sides are `NaN`. + * + * ```js + * import assert from 'node:assert'; + * + * assert.notEqual(1, 2); + * // OK + * + * assert.notEqual(1, 1); + * // AssertionError: 1 != 1 + * + * assert.notEqual(1, '1'); + * // AssertionError: 1 != '1' + * ``` + * + * If the values are equal, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is undefined, a default error + * message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`. + * @since v0.1.21 + */ + function notEqual(actual: unknown, expected: unknown, message?: string | Error): void; + /** + * **Strict assertion mode** + * + * An alias of {@link deepStrictEqual}. + * + * **Legacy assertion mode** + * + * > Stability: 3 - Legacy: Use {@link deepStrictEqual} instead. + * + * Tests for deep equality between the `actual` and `expected` parameters. Consider + * using {@link deepStrictEqual} instead. {@link deepEqual} can have + * surprising results. + * + * _Deep equality_ means that the enumerable "own" properties of child objects + * are also recursively evaluated by the following rules. + * @since v0.1.21 + */ + function deepEqual(actual: unknown, expected: unknown, message?: string | Error): void; + /** + * **Strict assertion mode** + * + * An alias of {@link notDeepStrictEqual}. + * + * **Legacy assertion mode** + * + * > Stability: 3 - Legacy: Use {@link notDeepStrictEqual} instead. + * + * Tests for any deep inequality. Opposite of {@link deepEqual}. + * + * ```js + * import assert from 'node:assert'; + * + * const obj1 = { + * a: { + * b: 1, + * }, + * }; + * const obj2 = { + * a: { + * b: 2, + * }, + * }; + * const obj3 = { + * a: { + * b: 1, + * }, + * }; + * const obj4 = { __proto__: obj1 }; + * + * assert.notDeepEqual(obj1, obj1); + * // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } } + * + * assert.notDeepEqual(obj1, obj2); + * // OK + * + * assert.notDeepEqual(obj1, obj3); + * // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } } + * + * assert.notDeepEqual(obj1, obj4); + * // OK + * ``` + * + * If the values are deeply equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a default + * error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown + * instead of the `AssertionError`. + * @since v0.1.21 + */ + function notDeepEqual(actual: unknown, expected: unknown, message?: string | Error): void; + /** + * Tests strict equality between the `actual` and `expected` parameters as + * determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is). + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.strictEqual(1, 2); + * // AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal: + * // + * // 1 !== 2 + * + * assert.strictEqual(1, 1); + * // OK + * + * assert.strictEqual('Hello foobar', 'Hello World!'); + * // AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal: + * // + actual - expected + * // + * // + 'Hello foobar' + * // - 'Hello World!' + * // ^ + * + * const apples = 1; + * const oranges = 2; + * assert.strictEqual(apples, oranges, `apples ${apples} !== oranges ${oranges}`); + * // AssertionError [ERR_ASSERTION]: apples 1 !== oranges 2 + * + * assert.strictEqual(1, '1', new TypeError('Inputs are not identical')); + * // TypeError: Inputs are not identical + * ``` + * + * If the values are not strictly equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a + * default error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown + * instead of the `AssertionError`. + * @since v0.1.21 + */ + function strictEqual(actual: unknown, expected: T, message?: string | Error): asserts actual is T; + /** + * Tests strict inequality between the `actual` and `expected` parameters as + * determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is). + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.notStrictEqual(1, 2); + * // OK + * + * assert.notStrictEqual(1, 1); + * // AssertionError [ERR_ASSERTION]: Expected "actual" to be strictly unequal to: + * // + * // 1 + * + * assert.notStrictEqual(1, '1'); + * // OK + * ``` + * + * If the values are strictly equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a + * default error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown + * instead of the `AssertionError`. + * @since v0.1.21 + */ + function notStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void; + /** + * Tests for deep equality between the `actual` and `expected` parameters. + * "Deep" equality means that the enumerable "own" properties of child objects + * are recursively evaluated also by the following rules. + * @since v1.2.0 + */ + function deepStrictEqual(actual: unknown, expected: T, message?: string | Error): asserts actual is T; + /** + * Tests for deep strict inequality. Opposite of {@link deepStrictEqual}. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.notDeepStrictEqual({ a: 1 }, { a: '1' }); + * // OK + * ``` + * + * If the values are deeply and strictly equal, an `AssertionError` is thrown + * with a `message` property set equal to the value of the `message` parameter. If + * the `message` parameter is undefined, a default error message is assigned. If + * the `message` parameter is an instance of an `Error` then it will be thrown + * instead of the `AssertionError`. + * @since v1.2.0 + */ + function notDeepStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void; + /** + * Expects the function `fn` to throw an error. + * + * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), + * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), a validation function, + * a validation object where each property will be tested for strict deep equality, + * or an instance of error where each property will be tested for strict deep + * equality including the non-enumerable `message` and `name` properties. When + * using an object, it is also possible to use a regular expression, when + * validating against a string property. See below for examples. + * + * If specified, `message` will be appended to the message provided by the`AssertionError` if the `fn` call fails to throw or in case the error validation + * fails. + * + * Custom validation object/error instance: + * + * ```js + * import assert from 'node:assert/strict'; + * + * const err = new TypeError('Wrong value'); + * err.code = 404; + * err.foo = 'bar'; + * err.info = { + * nested: true, + * baz: 'text', + * }; + * err.reg = /abc/i; + * + * assert.throws( + * () => { + * throw err; + * }, + * { + * name: 'TypeError', + * message: 'Wrong value', + * info: { + * nested: true, + * baz: 'text', + * }, + * // Only properties on the validation object will be tested for. + * // Using nested objects requires all properties to be present. Otherwise + * // the validation is going to fail. + * }, + * ); + * + * // Using regular expressions to validate error properties: + * assert.throws( + * () => { + * throw err; + * }, + * { + * // The `name` and `message` properties are strings and using regular + * // expressions on those will match against the string. If they fail, an + * // error is thrown. + * name: /^TypeError$/, + * message: /Wrong/, + * foo: 'bar', + * info: { + * nested: true, + * // It is not possible to use regular expressions for nested properties! + * baz: 'text', + * }, + * // The `reg` property contains a regular expression and only if the + * // validation object contains an identical regular expression, it is going + * // to pass. + * reg: /abc/i, + * }, + * ); + * + * // Fails due to the different `message` and `name` properties: + * assert.throws( + * () => { + * const otherErr = new Error('Not found'); + * // Copy all enumerable properties from `err` to `otherErr`. + * for (const [key, value] of Object.entries(err)) { + * otherErr[key] = value; + * } + * throw otherErr; + * }, + * // The error's `message` and `name` properties will also be checked when using + * // an error as validation object. + * err, + * ); + * ``` + * + * Validate instanceof using constructor: + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.throws( + * () => { + * throw new Error('Wrong value'); + * }, + * Error, + * ); + * ``` + * + * Validate error message using [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions): + * + * Using a regular expression runs `.toString` on the error object, and will + * therefore also include the error name. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.throws( + * () => { + * throw new Error('Wrong value'); + * }, + * /^Error: Wrong value$/, + * ); + * ``` + * + * Custom error validation: + * + * The function must return `true` to indicate all internal validations passed. + * It will otherwise fail with an `AssertionError`. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.throws( + * () => { + * throw new Error('Wrong value'); + * }, + * (err) => { + * assert(err instanceof Error); + * assert(/value/.test(err)); + * // Avoid returning anything from validation functions besides `true`. + * // Otherwise, it's not clear what part of the validation failed. Instead, + * // throw an error about the specific validation that failed (as done in this + * // example) and add as much helpful debugging information to that error as + * // possible. + * return true; + * }, + * 'unexpected error', + * ); + * ``` + * + * `error` cannot be a string. If a string is provided as the second + * argument, then `error` is assumed to be omitted and the string will be used for`message` instead. This can lead to easy-to-miss mistakes. Using the same + * message as the thrown error message is going to result in an`ERR_AMBIGUOUS_ARGUMENT` error. Please read the example below carefully if using + * a string as the second argument gets considered: + * + * ```js + * import assert from 'node:assert/strict'; + * + * function throwingFirst() { + * throw new Error('First'); + * } + * + * function throwingSecond() { + * throw new Error('Second'); + * } + * + * function notThrowing() {} + * + * // The second argument is a string and the input function threw an Error. + * // The first case will not throw as it does not match for the error message + * // thrown by the input function! + * assert.throws(throwingFirst, 'Second'); + * // In the next example the message has no benefit over the message from the + * // error and since it is not clear if the user intended to actually match + * // against the error message, Node.js throws an `ERR_AMBIGUOUS_ARGUMENT` error. + * assert.throws(throwingSecond, 'Second'); + * // TypeError [ERR_AMBIGUOUS_ARGUMENT] + * + * // The string is only used (as message) in case the function does not throw: + * assert.throws(notThrowing, 'Second'); + * // AssertionError [ERR_ASSERTION]: Missing expected exception: Second + * + * // If it was intended to match for the error message do this instead: + * // It does not throw because the error messages match. + * assert.throws(throwingSecond, /Second$/); + * + * // If the error message does not match, an AssertionError is thrown. + * assert.throws(throwingFirst, /Second$/); + * // AssertionError [ERR_ASSERTION] + * ``` + * + * Due to the confusing error-prone notation, avoid a string as the second + * argument. + * @since v0.1.21 + */ + function throws(block: () => unknown, message?: string | Error): void; + function throws(block: () => unknown, error: AssertPredicate, message?: string | Error): void; + /** + * Asserts that the function `fn` does not throw an error. + * + * Using `assert.doesNotThrow()` is actually not useful because there + * is no benefit in catching an error and then rethrowing it. Instead, consider + * adding a comment next to the specific code path that should not throw and keep + * error messages as expressive as possible. + * + * When `assert.doesNotThrow()` is called, it will immediately call the `fn`function. + * + * If an error is thrown and it is the same type as that specified by the `error`parameter, then an `AssertionError` is thrown. If the error is of a + * different type, or if the `error` parameter is undefined, the error is + * propagated back to the caller. + * + * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), + * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), or a validation + * function. See {@link throws} for more details. + * + * The following, for instance, will throw the `TypeError` because there is no + * matching error type in the assertion: + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.doesNotThrow( + * () => { + * throw new TypeError('Wrong value'); + * }, + * SyntaxError, + * ); + * ``` + * + * However, the following will result in an `AssertionError` with the message + * 'Got unwanted exception...': + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.doesNotThrow( + * () => { + * throw new TypeError('Wrong value'); + * }, + * TypeError, + * ); + * ``` + * + * If an `AssertionError` is thrown and a value is provided for the `message`parameter, the value of `message` will be appended to the `AssertionError` message: + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.doesNotThrow( + * () => { + * throw new TypeError('Wrong value'); + * }, + * /Wrong value/, + * 'Whoops', + * ); + * // Throws: AssertionError: Got unwanted exception: Whoops + * ``` + * @since v0.1.21 + */ + function doesNotThrow(block: () => unknown, message?: string | Error): void; + function doesNotThrow(block: () => unknown, error: AssertPredicate, message?: string | Error): void; + /** + * Throws `value` if `value` is not `undefined` or `null`. This is useful when + * testing the `error` argument in callbacks. The stack trace contains all frames + * from the error passed to `ifError()` including the potential new frames for`ifError()` itself. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.ifError(null); + * // OK + * assert.ifError(0); + * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: 0 + * assert.ifError('error'); + * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: 'error' + * assert.ifError(new Error()); + * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Error + * + * // Create some random error frames. + * let err; + * (function errorFrame() { + * err = new Error('test error'); + * })(); + * + * (function ifErrorFrame() { + * assert.ifError(err); + * })(); + * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: test error + * // at ifErrorFrame + * // at errorFrame + * ``` + * @since v0.1.97 + */ + function ifError(value: unknown): asserts value is null | undefined; + /** + * Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately + * calls the function and awaits the returned promise to complete. It will then + * check that the promise is rejected. + * + * If `asyncFn` is a function and it throws an error synchronously,`assert.rejects()` will return a rejected `Promise` with that error. If the + * function does not return a promise, `assert.rejects()` will return a rejected`Promise` with an `ERR_INVALID_RETURN_VALUE` error. In both cases the error + * handler is skipped. + * + * Besides the async nature to await the completion behaves identically to {@link throws}. + * + * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), + * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), a validation function, + * an object where each property will be tested for, or an instance of error where + * each property will be tested for including the non-enumerable `message` and`name` properties. + * + * If specified, `message` will be the message provided by the `AssertionError` if the `asyncFn` fails to reject. + * + * ```js + * import assert from 'node:assert/strict'; + * + * await assert.rejects( + * async () => { + * throw new TypeError('Wrong value'); + * }, + * { + * name: 'TypeError', + * message: 'Wrong value', + * }, + * ); + * ``` + * + * ```js + * import assert from 'node:assert/strict'; + * + * await assert.rejects( + * async () => { + * throw new TypeError('Wrong value'); + * }, + * (err) => { + * assert.strictEqual(err.name, 'TypeError'); + * assert.strictEqual(err.message, 'Wrong value'); + * return true; + * }, + * ); + * ``` + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.rejects( + * Promise.reject(new Error('Wrong value')), + * Error, + * ).then(() => { + * // ... + * }); + * ``` + * + * `error` cannot be a string. If a string is provided as the second + * argument, then `error` is assumed to be omitted and the string will be used for`message` instead. This can lead to easy-to-miss mistakes. Please read the + * example in {@link throws} carefully if using a string as the second + * argument gets considered. + * @since v10.0.0 + */ + function rejects(block: (() => Promise) | Promise, message?: string | Error): Promise; + function rejects( + block: (() => Promise) | Promise, + error: AssertPredicate, + message?: string | Error, + ): Promise; + /** + * Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately + * calls the function and awaits the returned promise to complete. It will then + * check that the promise is not rejected. + * + * If `asyncFn` is a function and it throws an error synchronously,`assert.doesNotReject()` will return a rejected `Promise` with that error. If + * the function does not return a promise, `assert.doesNotReject()` will return a + * rejected `Promise` with an `ERR_INVALID_RETURN_VALUE` error. In both cases + * the error handler is skipped. + * + * Using `assert.doesNotReject()` is actually not useful because there is little + * benefit in catching a rejection and then rejecting it again. Instead, consider + * adding a comment next to the specific code path that should not reject and keep + * error messages as expressive as possible. + * + * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), + * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), or a validation + * function. See {@link throws} for more details. + * + * Besides the async nature to await the completion behaves identically to {@link doesNotThrow}. + * + * ```js + * import assert from 'node:assert/strict'; + * + * await assert.doesNotReject( + * async () => { + * throw new TypeError('Wrong value'); + * }, + * SyntaxError, + * ); + * ``` + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.doesNotReject(Promise.reject(new TypeError('Wrong value'))) + * .then(() => { + * // ... + * }); + * ``` + * @since v10.0.0 + */ + function doesNotReject( + block: (() => Promise) | Promise, + message?: string | Error, + ): Promise; + function doesNotReject( + block: (() => Promise) | Promise, + error: AssertPredicate, + message?: string | Error, + ): Promise; + /** + * Expects the `string` input to match the regular expression. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.match('I will fail', /pass/); + * // AssertionError [ERR_ASSERTION]: The input did not match the regular ... + * + * assert.match(123, /pass/); + * // AssertionError [ERR_ASSERTION]: The "string" argument must be of type string. + * + * assert.match('I will pass', /pass/); + * // OK + * ``` + * + * If the values do not match, or if the `string` argument is of another type than`string`, an `AssertionError` is thrown with a `message` property set equal + * to the value of the `message` parameter. If the `message` parameter is + * undefined, a default error message is assigned. If the `message` parameter is an + * instance of an `Error` then it will be thrown instead of the `AssertionError`. + * @since v13.6.0, v12.16.0 + */ + function match(value: string, regExp: RegExp, message?: string | Error): void; + /** + * Expects the `string` input not to match the regular expression. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.doesNotMatch('I will fail', /fail/); + * // AssertionError [ERR_ASSERTION]: The input was expected to not match the ... + * + * assert.doesNotMatch(123, /pass/); + * // AssertionError [ERR_ASSERTION]: The "string" argument must be of type string. + * + * assert.doesNotMatch('I will pass', /different/); + * // OK + * ``` + * + * If the values do match, or if the `string` argument is of another type than`string`, an `AssertionError` is thrown with a `message` property set equal + * to the value of the `message` parameter. If the `message` parameter is + * undefined, a default error message is assigned. If the `message` parameter is an + * instance of an `Error` then it will be thrown instead of the `AssertionError`. + * @since v13.6.0, v12.16.0 + */ + function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void; + const strict: + & Omit< + typeof assert, + | "equal" + | "notEqual" + | "deepEqual" + | "notDeepEqual" + | "ok" + | "strictEqual" + | "deepStrictEqual" + | "ifError" + | "strict" + > + & { + (value: unknown, message?: string | Error): asserts value; + equal: typeof strictEqual; + notEqual: typeof notStrictEqual; + deepEqual: typeof deepStrictEqual; + notDeepEqual: typeof notDeepStrictEqual; + // Mapped types and assertion functions are incompatible? + // TS2775: Assertions require every name in the call target + // to be declared with an explicit type annotation. + ok: typeof ok; + strictEqual: typeof strictEqual; + deepStrictEqual: typeof deepStrictEqual; + ifError: typeof ifError; + strict: typeof strict; + }; + } + export = assert; +} +declare module "node:assert" { + import assert = require("assert"); + export = assert; +} diff --git a/node_modules/@types/node/assert/strict.d.ts b/node_modules/@types/node/assert/strict.d.ts new file mode 100644 index 000000000..f333913a4 --- /dev/null +++ b/node_modules/@types/node/assert/strict.d.ts @@ -0,0 +1,8 @@ +declare module "assert/strict" { + import { strict } from "node:assert"; + export = strict; +} +declare module "node:assert/strict" { + import { strict } from "node:assert"; + export = strict; +} diff --git a/node_modules/@types/node/async_hooks.d.ts b/node_modules/@types/node/async_hooks.d.ts new file mode 100644 index 000000000..0667a6150 --- /dev/null +++ b/node_modules/@types/node/async_hooks.d.ts @@ -0,0 +1,539 @@ +/** + * We strongly discourage the use of the `async_hooks` API. + * Other APIs that can cover most of its use cases include: + * + * * `AsyncLocalStorage` tracks async context + * * `process.getActiveResourcesInfo()` tracks active resources + * + * The `node:async_hooks` module provides an API to track asynchronous resources. + * It can be accessed using: + * + * ```js + * import async_hooks from 'node:async_hooks'; + * ``` + * @experimental + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/async_hooks.js) + */ +declare module "async_hooks" { + /** + * ```js + * import { executionAsyncId } from 'node:async_hooks'; + * import fs from 'node:fs'; + * + * console.log(executionAsyncId()); // 1 - bootstrap + * const path = '.'; + * fs.open(path, 'r', (err, fd) => { + * console.log(executionAsyncId()); // 6 - open() + * }); + * ``` + * + * The ID returned from `executionAsyncId()` is related to execution timing, not + * causality (which is covered by `triggerAsyncId()`): + * + * ```js + * const server = net.createServer((conn) => { + * // Returns the ID of the server, not of the new connection, because the + * // callback runs in the execution scope of the server's MakeCallback(). + * async_hooks.executionAsyncId(); + * + * }).listen(port, () => { + * // Returns the ID of a TickObject (process.nextTick()) because all + * // callbacks passed to .listen() are wrapped in a nextTick(). + * async_hooks.executionAsyncId(); + * }); + * ``` + * + * Promise contexts may not get precise `executionAsyncIds` by default. + * See the section on `promise execution tracking`. + * @since v8.1.0 + * @return The `asyncId` of the current execution context. Useful to track when something calls. + */ + function executionAsyncId(): number; + /** + * Resource objects returned by `executionAsyncResource()` are most often internal + * Node.js handle objects with undocumented APIs. Using any functions or properties + * on the object is likely to crash your application and should be avoided. + * + * Using `executionAsyncResource()` in the top-level execution context will + * return an empty object as there is no handle or request object to use, + * but having an object representing the top-level can be helpful. + * + * ```js + * import { open } from 'node:fs'; + * import { executionAsyncId, executionAsyncResource } from 'node:async_hooks'; + * + * console.log(executionAsyncId(), executionAsyncResource()); // 1 {} + * open(new URL(import.meta.url), 'r', (err, fd) => { + * console.log(executionAsyncId(), executionAsyncResource()); // 7 FSReqWrap + * }); + * ``` + * + * This can be used to implement continuation local storage without the + * use of a tracking `Map` to store the metadata: + * + * ```js + * import { createServer } from 'node:http'; + * import { + * executionAsyncId, + * executionAsyncResource, + * createHook, + * } from 'async_hooks'; + * const sym = Symbol('state'); // Private symbol to avoid pollution + * + * createHook({ + * init(asyncId, type, triggerAsyncId, resource) { + * const cr = executionAsyncResource(); + * if (cr) { + * resource[sym] = cr[sym]; + * } + * }, + * }).enable(); + * + * const server = createServer((req, res) => { + * executionAsyncResource()[sym] = { state: req.url }; + * setTimeout(function() { + * res.end(JSON.stringify(executionAsyncResource()[sym])); + * }, 100); + * }).listen(3000); + * ``` + * @since v13.9.0, v12.17.0 + * @return The resource representing the current execution. Useful to store data within the resource. + */ + function executionAsyncResource(): object; + /** + * ```js + * const server = net.createServer((conn) => { + * // The resource that caused (or triggered) this callback to be called + * // was that of the new connection. Thus the return value of triggerAsyncId() + * // is the asyncId of "conn". + * async_hooks.triggerAsyncId(); + * + * }).listen(port, () => { + * // Even though all callbacks passed to .listen() are wrapped in a nextTick() + * // the callback itself exists because the call to the server's .listen() + * // was made. So the return value would be the ID of the server. + * async_hooks.triggerAsyncId(); + * }); + * ``` + * + * Promise contexts may not get valid `triggerAsyncId`s by default. See + * the section on `promise execution tracking`. + * @return The ID of the resource responsible for calling the callback that is currently being executed. + */ + function triggerAsyncId(): number; + interface HookCallbacks { + /** + * Called when a class is constructed that has the possibility to emit an asynchronous event. + * @param asyncId a unique ID for the async resource + * @param type the type of the async resource + * @param triggerAsyncId the unique ID of the async resource in whose execution context this async resource was created + * @param resource reference to the resource representing the async operation, needs to be released during destroy + */ + init?(asyncId: number, type: string, triggerAsyncId: number, resource: object): void; + /** + * When an asynchronous operation is initiated or completes a callback is called to notify the user. + * The before callback is called just before said callback is executed. + * @param asyncId the unique identifier assigned to the resource about to execute the callback. + */ + before?(asyncId: number): void; + /** + * Called immediately after the callback specified in before is completed. + * @param asyncId the unique identifier assigned to the resource which has executed the callback. + */ + after?(asyncId: number): void; + /** + * Called when a promise has resolve() called. This may not be in the same execution id + * as the promise itself. + * @param asyncId the unique id for the promise that was resolve()d. + */ + promiseResolve?(asyncId: number): void; + /** + * Called after the resource corresponding to asyncId is destroyed + * @param asyncId a unique ID for the async resource + */ + destroy?(asyncId: number): void; + } + interface AsyncHook { + /** + * Enable the callbacks for a given AsyncHook instance. If no callbacks are provided enabling is a noop. + */ + enable(): this; + /** + * Disable the callbacks for a given AsyncHook instance from the global pool of AsyncHook callbacks to be executed. Once a hook has been disabled it will not be called again until enabled. + */ + disable(): this; + } + /** + * Registers functions to be called for different lifetime events of each async + * operation. + * + * The callbacks `init()`/`before()`/`after()`/`destroy()` are called for the + * respective asynchronous event during a resource's lifetime. + * + * All callbacks are optional. For example, if only resource cleanup needs to + * be tracked, then only the `destroy` callback needs to be passed. The + * specifics of all functions that can be passed to `callbacks` is in the `Hook Callbacks` section. + * + * ```js + * import { createHook } from 'node:async_hooks'; + * + * const asyncHook = createHook({ + * init(asyncId, type, triggerAsyncId, resource) { }, + * destroy(asyncId) { }, + * }); + * ``` + * + * The callbacks will be inherited via the prototype chain: + * + * ```js + * class MyAsyncCallbacks { + * init(asyncId, type, triggerAsyncId, resource) { } + * destroy(asyncId) {} + * } + * + * class MyAddedCallbacks extends MyAsyncCallbacks { + * before(asyncId) { } + * after(asyncId) { } + * } + * + * const asyncHook = async_hooks.createHook(new MyAddedCallbacks()); + * ``` + * + * Because promises are asynchronous resources whose lifecycle is tracked + * via the async hooks mechanism, the `init()`, `before()`, `after()`, and`destroy()` callbacks _must not_ be async functions that return promises. + * @since v8.1.0 + * @param callbacks The `Hook Callbacks` to register + * @return Instance used for disabling and enabling hooks + */ + function createHook(callbacks: HookCallbacks): AsyncHook; + interface AsyncResourceOptions { + /** + * The ID of the execution context that created this async event. + * @default executionAsyncId() + */ + triggerAsyncId?: number | undefined; + /** + * Disables automatic `emitDestroy` when the object is garbage collected. + * This usually does not need to be set (even if `emitDestroy` is called + * manually), unless the resource's `asyncId` is retrieved and the + * sensitive API's `emitDestroy` is called with it. + * @default false + */ + requireManualDestroy?: boolean | undefined; + } + /** + * The class `AsyncResource` is designed to be extended by the embedder's async + * resources. Using this, users can easily trigger the lifetime events of their + * own resources. + * + * The `init` hook will trigger when an `AsyncResource` is instantiated. + * + * The following is an overview of the `AsyncResource` API. + * + * ```js + * import { AsyncResource, executionAsyncId } from 'node:async_hooks'; + * + * // AsyncResource() is meant to be extended. Instantiating a + * // new AsyncResource() also triggers init. If triggerAsyncId is omitted then + * // async_hook.executionAsyncId() is used. + * const asyncResource = new AsyncResource( + * type, { triggerAsyncId: executionAsyncId(), requireManualDestroy: false }, + * ); + * + * // Run a function in the execution context of the resource. This will + * // * establish the context of the resource + * // * trigger the AsyncHooks before callbacks + * // * call the provided function `fn` with the supplied arguments + * // * trigger the AsyncHooks after callbacks + * // * restore the original execution context + * asyncResource.runInAsyncScope(fn, thisArg, ...args); + * + * // Call AsyncHooks destroy callbacks. + * asyncResource.emitDestroy(); + * + * // Return the unique ID assigned to the AsyncResource instance. + * asyncResource.asyncId(); + * + * // Return the trigger ID for the AsyncResource instance. + * asyncResource.triggerAsyncId(); + * ``` + */ + class AsyncResource { + /** + * AsyncResource() is meant to be extended. Instantiating a + * new AsyncResource() also triggers init. If triggerAsyncId is omitted then + * async_hook.executionAsyncId() is used. + * @param type The type of async event. + * @param triggerAsyncId The ID of the execution context that created + * this async event (default: `executionAsyncId()`), or an + * AsyncResourceOptions object (since v9.3.0) + */ + constructor(type: string, triggerAsyncId?: number | AsyncResourceOptions); + /** + * Binds the given function to the current execution context. + * @since v14.8.0, v12.19.0 + * @param fn The function to bind to the current execution context. + * @param type An optional name to associate with the underlying `AsyncResource`. + */ + static bind any, ThisArg>( + fn: Func, + type?: string, + thisArg?: ThisArg, + ): Func; + /** + * Binds the given function to execute to this `AsyncResource`'s scope. + * @since v14.8.0, v12.19.0 + * @param fn The function to bind to the current `AsyncResource`. + */ + bind any>(fn: Func): Func; + /** + * Call the provided function with the provided arguments in the execution context + * of the async resource. This will establish the context, trigger the AsyncHooks + * before callbacks, call the function, trigger the AsyncHooks after callbacks, and + * then restore the original execution context. + * @since v9.6.0 + * @param fn The function to call in the execution context of this async resource. + * @param thisArg The receiver to be used for the function call. + * @param args Optional arguments to pass to the function. + */ + runInAsyncScope( + fn: (this: This, ...args: any[]) => Result, + thisArg?: This, + ...args: any[] + ): Result; + /** + * Call all `destroy` hooks. This should only ever be called once. An error will + * be thrown if it is called more than once. This **must** be manually called. If + * the resource is left to be collected by the GC then the `destroy` hooks will + * never be called. + * @return A reference to `asyncResource`. + */ + emitDestroy(): this; + /** + * @return The unique `asyncId` assigned to the resource. + */ + asyncId(): number; + /** + * @return The same `triggerAsyncId` that is passed to the `AsyncResource` constructor. + */ + triggerAsyncId(): number; + } + /** + * This class creates stores that stay coherent through asynchronous operations. + * + * While you can create your own implementation on top of the `node:async_hooks`module, `AsyncLocalStorage` should be preferred as it is a performant and memory + * safe implementation that involves significant optimizations that are non-obvious + * to implement. + * + * The following example uses `AsyncLocalStorage` to build a simple logger + * that assigns IDs to incoming HTTP requests and includes them in messages + * logged within each request. + * + * ```js + * import http from 'node:http'; + * import { AsyncLocalStorage } from 'node:async_hooks'; + * + * const asyncLocalStorage = new AsyncLocalStorage(); + * + * function logWithId(msg) { + * const id = asyncLocalStorage.getStore(); + * console.log(`${id !== undefined ? id : '-'}:`, msg); + * } + * + * let idSeq = 0; + * http.createServer((req, res) => { + * asyncLocalStorage.run(idSeq++, () => { + * logWithId('start'); + * // Imagine any chain of async operations here + * setImmediate(() => { + * logWithId('finish'); + * res.end(); + * }); + * }); + * }).listen(8080); + * + * http.get('http://localhost:8080'); + * http.get('http://localhost:8080'); + * // Prints: + * // 0: start + * // 1: start + * // 0: finish + * // 1: finish + * ``` + * + * Each instance of `AsyncLocalStorage` maintains an independent storage context. + * Multiple instances can safely exist simultaneously without risk of interfering + * with each other's data. + * @since v13.10.0, v12.17.0 + */ + class AsyncLocalStorage { + /** + * Binds the given function to the current execution context. + * @since v19.8.0 + * @experimental + * @param fn The function to bind to the current execution context. + * @return A new function that calls `fn` within the captured execution context. + */ + static bind any>(fn: Func): Func; + /** + * Captures the current execution context and returns a function that accepts a + * function as an argument. Whenever the returned function is called, it + * calls the function passed to it within the captured context. + * + * ```js + * const asyncLocalStorage = new AsyncLocalStorage(); + * const runInAsyncScope = asyncLocalStorage.run(123, () => AsyncLocalStorage.snapshot()); + * const result = asyncLocalStorage.run(321, () => runInAsyncScope(() => asyncLocalStorage.getStore())); + * console.log(result); // returns 123 + * ``` + * + * AsyncLocalStorage.snapshot() can replace the use of AsyncResource for simple + * async context tracking purposes, for example: + * + * ```js + * class Foo { + * #runInAsyncScope = AsyncLocalStorage.snapshot(); + * + * get() { return this.#runInAsyncScope(() => asyncLocalStorage.getStore()); } + * } + * + * const foo = asyncLocalStorage.run(123, () => new Foo()); + * console.log(asyncLocalStorage.run(321, () => foo.get())); // returns 123 + * ``` + * @since v19.8.0 + * @experimental + * @return A new function with the signature `(fn: (...args) : R, ...args) : R`. + */ + static snapshot(): (fn: (...args: TArgs) => R, ...args: TArgs) => R; + /** + * Disables the instance of `AsyncLocalStorage`. All subsequent calls + * to `asyncLocalStorage.getStore()` will return `undefined` until`asyncLocalStorage.run()` or `asyncLocalStorage.enterWith()` is called again. + * + * When calling `asyncLocalStorage.disable()`, all current contexts linked to the + * instance will be exited. + * + * Calling `asyncLocalStorage.disable()` is required before the`asyncLocalStorage` can be garbage collected. This does not apply to stores + * provided by the `asyncLocalStorage`, as those objects are garbage collected + * along with the corresponding async resources. + * + * Use this method when the `asyncLocalStorage` is not in use anymore + * in the current process. + * @since v13.10.0, v12.17.0 + * @experimental + */ + disable(): void; + /** + * Returns the current store. + * If called outside of an asynchronous context initialized by + * calling `asyncLocalStorage.run()` or `asyncLocalStorage.enterWith()`, it + * returns `undefined`. + * @since v13.10.0, v12.17.0 + */ + getStore(): T | undefined; + /** + * Runs a function synchronously within a context and returns its + * return value. The store is not accessible outside of the callback function. + * The store is accessible to any asynchronous operations created within the + * callback. + * + * The optional `args` are passed to the callback function. + * + * If the callback function throws an error, the error is thrown by `run()` too. + * The stacktrace is not impacted by this call and the context is exited. + * + * Example: + * + * ```js + * const store = { id: 2 }; + * try { + * asyncLocalStorage.run(store, () => { + * asyncLocalStorage.getStore(); // Returns the store object + * setTimeout(() => { + * asyncLocalStorage.getStore(); // Returns the store object + * }, 200); + * throw new Error(); + * }); + * } catch (e) { + * asyncLocalStorage.getStore(); // Returns undefined + * // The error will be caught here + * } + * ``` + * @since v13.10.0, v12.17.0 + */ + run(store: T, callback: () => R): R; + run(store: T, callback: (...args: TArgs) => R, ...args: TArgs): R; + /** + * Runs a function synchronously outside of a context and returns its + * return value. The store is not accessible within the callback function or + * the asynchronous operations created within the callback. Any `getStore()`call done within the callback function will always return `undefined`. + * + * The optional `args` are passed to the callback function. + * + * If the callback function throws an error, the error is thrown by `exit()` too. + * The stacktrace is not impacted by this call and the context is re-entered. + * + * Example: + * + * ```js + * // Within a call to run + * try { + * asyncLocalStorage.getStore(); // Returns the store object or value + * asyncLocalStorage.exit(() => { + * asyncLocalStorage.getStore(); // Returns undefined + * throw new Error(); + * }); + * } catch (e) { + * asyncLocalStorage.getStore(); // Returns the same object or value + * // The error will be caught here + * } + * ``` + * @since v13.10.0, v12.17.0 + * @experimental + */ + exit(callback: (...args: TArgs) => R, ...args: TArgs): R; + /** + * Transitions into the context for the remainder of the current + * synchronous execution and then persists the store through any following + * asynchronous calls. + * + * Example: + * + * ```js + * const store = { id: 1 }; + * // Replaces previous store with the given store object + * asyncLocalStorage.enterWith(store); + * asyncLocalStorage.getStore(); // Returns the store object + * someAsyncOperation(() => { + * asyncLocalStorage.getStore(); // Returns the same object + * }); + * ``` + * + * This transition will continue for the _entire_ synchronous execution. + * This means that if, for example, the context is entered within an event + * handler subsequent event handlers will also run within that context unless + * specifically bound to another context with an `AsyncResource`. That is why`run()` should be preferred over `enterWith()` unless there are strong reasons + * to use the latter method. + * + * ```js + * const store = { id: 1 }; + * + * emitter.on('my-event', () => { + * asyncLocalStorage.enterWith(store); + * }); + * emitter.on('my-event', () => { + * asyncLocalStorage.getStore(); // Returns the same object + * }); + * + * asyncLocalStorage.getStore(); // Returns undefined + * emitter.emit('my-event'); + * asyncLocalStorage.getStore(); // Returns the same object + * ``` + * @since v13.11.0, v12.17.0 + * @experimental + */ + enterWith(store: T): void; + } +} +declare module "node:async_hooks" { + export * from "async_hooks"; +} diff --git a/node_modules/@types/node/buffer.d.ts b/node_modules/@types/node/buffer.d.ts new file mode 100644 index 000000000..1ee5c0135 --- /dev/null +++ b/node_modules/@types/node/buffer.d.ts @@ -0,0 +1,2362 @@ +/** + * `Buffer` objects are used to represent a fixed-length sequence of bytes. Many + * Node.js APIs support `Buffer`s. + * + * The `Buffer` class is a subclass of JavaScript's [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) class and + * extends it with methods that cover additional use cases. Node.js APIs accept + * plain [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) s wherever `Buffer`s are supported as well. + * + * While the `Buffer` class is available within the global scope, it is still + * recommended to explicitly reference it via an import or require statement. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Creates a zero-filled Buffer of length 10. + * const buf1 = Buffer.alloc(10); + * + * // Creates a Buffer of length 10, + * // filled with bytes which all have the value `1`. + * const buf2 = Buffer.alloc(10, 1); + * + * // Creates an uninitialized buffer of length 10. + * // This is faster than calling Buffer.alloc() but the returned + * // Buffer instance might contain old data that needs to be + * // overwritten using fill(), write(), or other functions that fill the Buffer's + * // contents. + * const buf3 = Buffer.allocUnsafe(10); + * + * // Creates a Buffer containing the bytes [1, 2, 3]. + * const buf4 = Buffer.from([1, 2, 3]); + * + * // Creates a Buffer containing the bytes [1, 1, 1, 1] – the entries + * // are all truncated using `(value & 255)` to fit into the range 0–255. + * const buf5 = Buffer.from([257, 257.5, -255, '1']); + * + * // Creates a Buffer containing the UTF-8-encoded bytes for the string 'tést': + * // [0x74, 0xc3, 0xa9, 0x73, 0x74] (in hexadecimal notation) + * // [116, 195, 169, 115, 116] (in decimal notation) + * const buf6 = Buffer.from('tést'); + * + * // Creates a Buffer containing the Latin-1 bytes [0x74, 0xe9, 0x73, 0x74]. + * const buf7 = Buffer.from('tést', 'latin1'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/buffer.js) + */ +declare module "buffer" { + import { BinaryLike } from "node:crypto"; + import { ReadableStream as WebReadableStream } from "node:stream/web"; + /** + * This function returns `true` if `input` contains only valid UTF-8-encoded data, + * including the case in which `input` is empty. + * + * Throws if the `input` is a detached array buffer. + * @since v19.4.0, v18.14.0 + * @param input The input to validate. + */ + export function isUtf8(input: Buffer | ArrayBuffer | NodeJS.TypedArray): boolean; + /** + * This function returns `true` if `input` contains only valid ASCII-encoded data, + * including the case in which `input` is empty. + * + * Throws if the `input` is a detached array buffer. + * @since v19.6.0, v18.15.0 + * @param input The input to validate. + */ + export function isAscii(input: Buffer | ArrayBuffer | NodeJS.TypedArray): boolean; + export const INSPECT_MAX_BYTES: number; + export const kMaxLength: number; + export const kStringMaxLength: number; + export const constants: { + MAX_LENGTH: number; + MAX_STRING_LENGTH: number; + }; + export type TranscodeEncoding = + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "latin1" + | "binary"; + /** + * Re-encodes the given `Buffer` or `Uint8Array` instance from one character + * encoding to another. Returns a new `Buffer` instance. + * + * Throws if the `fromEnc` or `toEnc` specify invalid character encodings or if + * conversion from `fromEnc` to `toEnc` is not permitted. + * + * Encodings supported by `buffer.transcode()` are: `'ascii'`, `'utf8'`,`'utf16le'`, `'ucs2'`, `'latin1'`, and `'binary'`. + * + * The transcoding process will use substitution characters if a given byte + * sequence cannot be adequately represented in the target encoding. For instance: + * + * ```js + * import { Buffer, transcode } from 'node:buffer'; + * + * const newBuf = transcode(Buffer.from('€'), 'utf8', 'ascii'); + * console.log(newBuf.toString('ascii')); + * // Prints: '?' + * ``` + * + * Because the Euro (`€`) sign is not representable in US-ASCII, it is replaced + * with `?` in the transcoded `Buffer`. + * @since v7.1.0 + * @param source A `Buffer` or `Uint8Array` instance. + * @param fromEnc The current encoding. + * @param toEnc To target encoding. + */ + export function transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer; + export const SlowBuffer: { + /** @deprecated since v6.0.0, use `Buffer.allocUnsafeSlow()` */ + new(size: number): Buffer; + prototype: Buffer; + }; + /** + * Resolves a `'blob:nodedata:...'` an associated `Blob` object registered using + * a prior call to `URL.createObjectURL()`. + * @since v16.7.0 + * @experimental + * @param id A `'blob:nodedata:...` URL string returned by a prior call to `URL.createObjectURL()`. + */ + export function resolveObjectURL(id: string): Blob | undefined; + export { Buffer }; + /** + * @experimental + */ + export interface BlobOptions { + /** + * @default 'utf8' + */ + encoding?: BufferEncoding | undefined; + /** + * The Blob content-type. The intent is for `type` to convey + * the MIME media type of the data, however no validation of the type format + * is performed. + */ + type?: string | undefined; + } + /** + * A [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob) encapsulates immutable, raw data that can be safely shared across + * multiple worker threads. + * @since v15.7.0, v14.18.0 + */ + export class Blob { + /** + * The total size of the `Blob` in bytes. + * @since v15.7.0, v14.18.0 + */ + readonly size: number; + /** + * The content-type of the `Blob`. + * @since v15.7.0, v14.18.0 + */ + readonly type: string; + /** + * Creates a new `Blob` object containing a concatenation of the given sources. + * + * {ArrayBuffer}, {TypedArray}, {DataView}, and {Buffer} sources are copied into + * the 'Blob' and can therefore be safely modified after the 'Blob' is created. + * + * String sources are also copied into the `Blob`. + */ + constructor(sources: Array, options?: BlobOptions); + /** + * Returns a promise that fulfills with an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) containing a copy of + * the `Blob` data. + * @since v15.7.0, v14.18.0 + */ + arrayBuffer(): Promise; + /** + * Creates and returns a new `Blob` containing a subset of this `Blob` objects + * data. The original `Blob` is not altered. + * @since v15.7.0, v14.18.0 + * @param start The starting index. + * @param end The ending index. + * @param type The content-type for the new `Blob` + */ + slice(start?: number, end?: number, type?: string): Blob; + /** + * Returns a promise that fulfills with the contents of the `Blob` decoded as a + * UTF-8 string. + * @since v15.7.0, v14.18.0 + */ + text(): Promise; + /** + * Returns a new `ReadableStream` that allows the content of the `Blob` to be read. + * @since v16.7.0 + */ + stream(): WebReadableStream; + } + export interface FileOptions { + /** + * One of either `'transparent'` or `'native'`. When set to `'native'`, line endings in string source parts will be + * converted to the platform native line-ending as specified by `require('node:os').EOL`. + */ + endings?: "native" | "transparent"; + /** The File content-type. */ + type?: string; + /** The last modified date of the file. `Default`: Date.now(). */ + lastModified?: number; + } + /** + * A [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File) provides information about files. + * @since v19.2.0, v18.13.0 + */ + export class File extends Blob { + constructor(sources: Array, fileName: string, options?: FileOptions); + /** + * The name of the `File`. + * @since v19.2.0, v18.13.0 + */ + readonly name: string; + /** + * The last modified date of the `File`. + * @since v19.2.0, v18.13.0 + */ + readonly lastModified: number; + } + export import atob = globalThis.atob; + export import btoa = globalThis.btoa; + import { Blob as NodeBlob } from "buffer"; + // This conditional type will be the existing global Blob in a browser, or + // the copy below in a Node environment. + type __Blob = typeof globalThis extends { onmessage: any; Blob: any } ? {} : NodeBlob; + global { + namespace NodeJS { + export { BufferEncoding }; + } + // Buffer class + type BufferEncoding = + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "base64" + | "base64url" + | "latin1" + | "binary" + | "hex"; + type WithImplicitCoercion = + | T + | { + valueOf(): T; + }; + /** + * Raw data is stored in instances of the Buffer class. + * A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. + * Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'base64url'|'binary'(deprecated)|'hex' + */ + interface BufferConstructor { + /** + * Allocates a new buffer containing the given {str}. + * + * @param str String to store in buffer. + * @param encoding encoding to use, optional. Default is 'utf8' + * @deprecated since v10.0.0 - Use `Buffer.from(string[, encoding])` instead. + */ + new(str: string, encoding?: BufferEncoding): Buffer; + /** + * Allocates a new buffer of {size} octets. + * + * @param size count of octets to allocate. + * @deprecated since v10.0.0 - Use `Buffer.alloc()` instead (also see `Buffer.allocUnsafe()`). + */ + new(size: number): Buffer; + /** + * Allocates a new buffer containing the given {array} of octets. + * + * @param array The octets to store. + * @deprecated since v10.0.0 - Use `Buffer.from(array)` instead. + */ + new(array: Uint8Array): Buffer; + /** + * Produces a Buffer backed by the same allocated memory as + * the given {ArrayBuffer}/{SharedArrayBuffer}. + * + * @param arrayBuffer The ArrayBuffer with which to share memory. + * @deprecated since v10.0.0 - Use `Buffer.from(arrayBuffer[, byteOffset[, length]])` instead. + */ + new(arrayBuffer: ArrayBuffer | SharedArrayBuffer): Buffer; + /** + * Allocates a new buffer containing the given {array} of octets. + * + * @param array The octets to store. + * @deprecated since v10.0.0 - Use `Buffer.from(array)` instead. + */ + new(array: readonly any[]): Buffer; + /** + * Copies the passed {buffer} data onto a new {Buffer} instance. + * + * @param buffer The buffer to copy. + * @deprecated since v10.0.0 - Use `Buffer.from(buffer)` instead. + */ + new(buffer: Buffer): Buffer; + /** + * Allocates a new `Buffer` using an `array` of bytes in the range `0` – `255`. + * Array entries outside that range will be truncated to fit into it. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Creates a new Buffer containing the UTF-8 bytes of the string 'buffer'. + * const buf = Buffer.from([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]); + * ``` + * + * If `array` is an `Array`\-like object (that is, one with a `length` property of + * type `number`), it is treated as if it is an array, unless it is a `Buffer` or + * a `Uint8Array`. This means all other `TypedArray` variants get treated as an`Array`. To create a `Buffer` from the bytes backing a `TypedArray`, use `Buffer.copyBytesFrom()`. + * + * A `TypeError` will be thrown if `array` is not an `Array` or another type + * appropriate for `Buffer.from()` variants. + * + * `Buffer.from(array)` and `Buffer.from(string)` may also use the internal`Buffer` pool like `Buffer.allocUnsafe()` does. + * @since v5.10.0 + */ + from( + arrayBuffer: WithImplicitCoercion, + byteOffset?: number, + length?: number, + ): Buffer; + /** + * Creates a new Buffer using the passed {data} + * @param data data to create a new Buffer + */ + from(data: Uint8Array | readonly number[]): Buffer; + from(data: WithImplicitCoercion): Buffer; + /** + * Creates a new Buffer containing the given JavaScript string {str}. + * If provided, the {encoding} parameter identifies the character encoding. + * If not provided, {encoding} defaults to 'utf8'. + */ + from( + str: + | WithImplicitCoercion + | { + [Symbol.toPrimitive](hint: "string"): string; + }, + encoding?: BufferEncoding, + ): Buffer; + /** + * Creates a new Buffer using the passed {data} + * @param values to create a new Buffer + */ + of(...items: number[]): Buffer; + /** + * Returns `true` if `obj` is a `Buffer`, `false` otherwise. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * Buffer.isBuffer(Buffer.alloc(10)); // true + * Buffer.isBuffer(Buffer.from('foo')); // true + * Buffer.isBuffer('a string'); // false + * Buffer.isBuffer([]); // false + * Buffer.isBuffer(new Uint8Array(1024)); // false + * ``` + * @since v0.1.101 + */ + isBuffer(obj: any): obj is Buffer; + /** + * Returns `true` if `encoding` is the name of a supported character encoding, + * or `false` otherwise. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * console.log(Buffer.isEncoding('utf8')); + * // Prints: true + * + * console.log(Buffer.isEncoding('hex')); + * // Prints: true + * + * console.log(Buffer.isEncoding('utf/8')); + * // Prints: false + * + * console.log(Buffer.isEncoding('')); + * // Prints: false + * ``` + * @since v0.9.1 + * @param encoding A character encoding name to check. + */ + isEncoding(encoding: string): encoding is BufferEncoding; + /** + * Returns the byte length of a string when encoded using `encoding`. + * This is not the same as [`String.prototype.length`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length), which does not account + * for the encoding that is used to convert the string into bytes. + * + * For `'base64'`, `'base64url'`, and `'hex'`, this function assumes valid input. + * For strings that contain non-base64/hex-encoded data (e.g. whitespace), the + * return value might be greater than the length of a `Buffer` created from the + * string. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const str = '\u00bd + \u00bc = \u00be'; + * + * console.log(`${str}: ${str.length} characters, ` + + * `${Buffer.byteLength(str, 'utf8')} bytes`); + * // Prints: ½ + ¼ = ¾: 9 characters, 12 bytes + * ``` + * + * When `string` is a + * `Buffer`/[`DataView`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView)/[`TypedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/- + * Reference/Global_Objects/TypedArray)/[`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer)/[`SharedArrayBuffer`](https://develop- + * er.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer), the byte length as reported by `.byteLength`is returned. + * @since v0.1.90 + * @param string A value to calculate the length of. + * @param [encoding='utf8'] If `string` is a string, this is its encoding. + * @return The number of bytes contained within `string`. + */ + byteLength( + string: string | NodeJS.ArrayBufferView | ArrayBuffer | SharedArrayBuffer, + encoding?: BufferEncoding, + ): number; + /** + * Returns a new `Buffer` which is the result of concatenating all the `Buffer`instances in the `list` together. + * + * If the list has no items, or if the `totalLength` is 0, then a new zero-length`Buffer` is returned. + * + * If `totalLength` is not provided, it is calculated from the `Buffer` instances + * in `list` by adding their lengths. + * + * If `totalLength` is provided, it is coerced to an unsigned integer. If the + * combined length of the `Buffer`s in `list` exceeds `totalLength`, the result is + * truncated to `totalLength`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Create a single `Buffer` from a list of three `Buffer` instances. + * + * const buf1 = Buffer.alloc(10); + * const buf2 = Buffer.alloc(14); + * const buf3 = Buffer.alloc(18); + * const totalLength = buf1.length + buf2.length + buf3.length; + * + * console.log(totalLength); + * // Prints: 42 + * + * const bufA = Buffer.concat([buf1, buf2, buf3], totalLength); + * + * console.log(bufA); + * // Prints: + * console.log(bufA.length); + * // Prints: 42 + * ``` + * + * `Buffer.concat()` may also use the internal `Buffer` pool like `Buffer.allocUnsafe()` does. + * @since v0.7.11 + * @param list List of `Buffer` or {@link Uint8Array} instances to concatenate. + * @param totalLength Total length of the `Buffer` instances in `list` when concatenated. + */ + concat(list: readonly Uint8Array[], totalLength?: number): Buffer; + /** + * Copies the underlying memory of `view` into a new `Buffer`. + * + * ```js + * const u16 = new Uint16Array([0, 0xffff]); + * const buf = Buffer.copyBytesFrom(u16, 1, 1); + * u16[1] = 0; + * console.log(buf.length); // 2 + * console.log(buf[0]); // 255 + * console.log(buf[1]); // 255 + * ``` + * @since v19.8.0 + * @param view The {TypedArray} to copy. + * @param [offset=': 0'] The starting offset within `view`. + * @param [length=view.length - offset] The number of elements from `view` to copy. + */ + copyBytesFrom(view: NodeJS.TypedArray, offset?: number, length?: number): Buffer; + /** + * Compares `buf1` to `buf2`, typically for the purpose of sorting arrays of`Buffer` instances. This is equivalent to calling `buf1.compare(buf2)`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from('1234'); + * const buf2 = Buffer.from('0123'); + * const arr = [buf1, buf2]; + * + * console.log(arr.sort(Buffer.compare)); + * // Prints: [ , ] + * // (This result is equal to: [buf2, buf1].) + * ``` + * @since v0.11.13 + * @return Either `-1`, `0`, or `1`, depending on the result of the comparison. See `compare` for details. + */ + compare(buf1: Uint8Array, buf2: Uint8Array): -1 | 0 | 1; + /** + * Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the`Buffer` will be zero-filled. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.alloc(5); + * + * console.log(buf); + * // Prints: + * ``` + * + * If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown. + * + * If `fill` is specified, the allocated `Buffer` will be initialized by calling `buf.fill(fill)`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.alloc(5, 'a'); + * + * console.log(buf); + * // Prints: + * ``` + * + * If both `fill` and `encoding` are specified, the allocated `Buffer` will be + * initialized by calling `buf.fill(fill, encoding)`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.alloc(11, 'aGVsbG8gd29ybGQ=', 'base64'); + * + * console.log(buf); + * // Prints: + * ``` + * + * Calling `Buffer.alloc()` can be measurably slower than the alternative `Buffer.allocUnsafe()` but ensures that the newly created `Buffer` instance + * contents will never contain sensitive data from previous allocations, including + * data that might not have been allocated for `Buffer`s. + * + * A `TypeError` will be thrown if `size` is not a number. + * @since v5.10.0 + * @param size The desired length of the new `Buffer`. + * @param [fill=0] A value to pre-fill the new `Buffer` with. + * @param [encoding='utf8'] If `fill` is a string, this is its encoding. + */ + alloc(size: number, fill?: string | Uint8Array | number, encoding?: BufferEncoding): Buffer; + /** + * Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown. + * + * The underlying memory for `Buffer` instances created in this way is _not_ + * _initialized_. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `Buffer.alloc()` instead to initialize`Buffer` instances with zeroes. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(10); + * + * console.log(buf); + * // Prints (contents may vary): + * + * buf.fill(0); + * + * console.log(buf); + * // Prints: + * ``` + * + * A `TypeError` will be thrown if `size` is not a number. + * + * The `Buffer` module pre-allocates an internal `Buffer` instance of + * size `Buffer.poolSize` that is used as a pool for the fast allocation of new`Buffer` instances created using `Buffer.allocUnsafe()`, `Buffer.from(array)`, + * and `Buffer.concat()` only when `size` is less than or equal to`Buffer.poolSize >> 1` (floor of `Buffer.poolSize` divided by two). + * + * Use of this pre-allocated internal memory pool is a key difference between + * calling `Buffer.alloc(size, fill)` vs. `Buffer.allocUnsafe(size).fill(fill)`. + * Specifically, `Buffer.alloc(size, fill)` will _never_ use the internal `Buffer`pool, while `Buffer.allocUnsafe(size).fill(fill)`_will_ use the internal`Buffer` pool if `size` is less + * than or equal to half `Buffer.poolSize`. The + * difference is subtle but can be important when an application requires the + * additional performance that `Buffer.allocUnsafe()` provides. + * @since v5.10.0 + * @param size The desired length of the new `Buffer`. + */ + allocUnsafe(size: number): Buffer; + /** + * Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown. A zero-length `Buffer` is created if + * `size` is 0. + * + * The underlying memory for `Buffer` instances created in this way is _not_ + * _initialized_. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `buf.fill(0)` to initialize + * such `Buffer` instances with zeroes. + * + * When using `Buffer.allocUnsafe()` to allocate new `Buffer` instances, + * allocations under 4 KiB are sliced from a single pre-allocated `Buffer`. This + * allows applications to avoid the garbage collection overhead of creating many + * individually allocated `Buffer` instances. This approach improves both + * performance and memory usage by eliminating the need to track and clean up as + * many individual `ArrayBuffer` objects. + * + * However, in the case where a developer may need to retain a small chunk of + * memory from a pool for an indeterminate amount of time, it may be appropriate + * to create an un-pooled `Buffer` instance using `Buffer.allocUnsafeSlow()` and + * then copying out the relevant bits. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Need to keep around a few small chunks of memory. + * const store = []; + * + * socket.on('readable', () => { + * let data; + * while (null !== (data = readable.read())) { + * // Allocate for retained data. + * const sb = Buffer.allocUnsafeSlow(10); + * + * // Copy the data into the new allocation. + * data.copy(sb, 0, 0, 10); + * + * store.push(sb); + * } + * }); + * ``` + * + * A `TypeError` will be thrown if `size` is not a number. + * @since v5.12.0 + * @param size The desired length of the new `Buffer`. + */ + allocUnsafeSlow(size: number): Buffer; + /** + * This is the size (in bytes) of pre-allocated internal `Buffer` instances used + * for pooling. This value may be modified. + * @since v0.11.3 + */ + poolSize: number; + } + interface Buffer extends Uint8Array { + /** + * Writes `string` to `buf` at `offset` according to the character encoding in`encoding`. The `length` parameter is the number of bytes to write. If `buf` did + * not contain enough space to fit the entire string, only part of `string` will be + * written. However, partially encoded characters will not be written. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.alloc(256); + * + * const len = buf.write('\u00bd + \u00bc = \u00be', 0); + * + * console.log(`${len} bytes: ${buf.toString('utf8', 0, len)}`); + * // Prints: 12 bytes: ½ + ¼ = ¾ + * + * const buffer = Buffer.alloc(10); + * + * const length = buffer.write('abcd', 8); + * + * console.log(`${length} bytes: ${buffer.toString('utf8', 8, 10)}`); + * // Prints: 2 bytes : ab + * ``` + * @since v0.1.90 + * @param string String to write to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write `string`. + * @param [length=buf.length - offset] Maximum number of bytes to write (written bytes will not exceed `buf.length - offset`). + * @param [encoding='utf8'] The character encoding of `string`. + * @return Number of bytes written. + */ + write(string: string, encoding?: BufferEncoding): number; + write(string: string, offset: number, encoding?: BufferEncoding): number; + write(string: string, offset: number, length: number, encoding?: BufferEncoding): number; + /** + * Decodes `buf` to a string according to the specified character encoding in`encoding`. `start` and `end` may be passed to decode only a subset of `buf`. + * + * If `encoding` is `'utf8'` and a byte sequence in the input is not valid UTF-8, + * then each invalid byte is replaced with the replacement character `U+FFFD`. + * + * The maximum length of a string instance (in UTF-16 code units) is available + * as {@link constants.MAX_STRING_LENGTH}. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.allocUnsafe(26); + * + * for (let i = 0; i < 26; i++) { + * // 97 is the decimal ASCII value for 'a'. + * buf1[i] = i + 97; + * } + * + * console.log(buf1.toString('utf8')); + * // Prints: abcdefghijklmnopqrstuvwxyz + * console.log(buf1.toString('utf8', 0, 5)); + * // Prints: abcde + * + * const buf2 = Buffer.from('tést'); + * + * console.log(buf2.toString('hex')); + * // Prints: 74c3a97374 + * console.log(buf2.toString('utf8', 0, 3)); + * // Prints: té + * console.log(buf2.toString(undefined, 0, 3)); + * // Prints: té + * ``` + * @since v0.1.90 + * @param [encoding='utf8'] The character encoding to use. + * @param [start=0] The byte offset to start decoding at. + * @param [end=buf.length] The byte offset to stop decoding at (not inclusive). + */ + toString(encoding?: BufferEncoding, start?: number, end?: number): string; + /** + * Returns a JSON representation of `buf`. [`JSON.stringify()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify) implicitly calls + * this function when stringifying a `Buffer` instance. + * + * `Buffer.from()` accepts objects in the format returned from this method. + * In particular, `Buffer.from(buf.toJSON())` works like `Buffer.from(buf)`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5]); + * const json = JSON.stringify(buf); + * + * console.log(json); + * // Prints: {"type":"Buffer","data":[1,2,3,4,5]} + * + * const copy = JSON.parse(json, (key, value) => { + * return value && value.type === 'Buffer' ? + * Buffer.from(value) : + * value; + * }); + * + * console.log(copy); + * // Prints: + * ``` + * @since v0.9.2 + */ + toJSON(): { + type: "Buffer"; + data: number[]; + }; + /** + * Returns `true` if both `buf` and `otherBuffer` have exactly the same bytes,`false` otherwise. Equivalent to `buf.compare(otherBuffer) === 0`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from('ABC'); + * const buf2 = Buffer.from('414243', 'hex'); + * const buf3 = Buffer.from('ABCD'); + * + * console.log(buf1.equals(buf2)); + * // Prints: true + * console.log(buf1.equals(buf3)); + * // Prints: false + * ``` + * @since v0.11.13 + * @param otherBuffer A `Buffer` or {@link Uint8Array} with which to compare `buf`. + */ + equals(otherBuffer: Uint8Array): boolean; + /** + * Compares `buf` with `target` and returns a number indicating whether `buf`comes before, after, or is the same as `target` in sort order. + * Comparison is based on the actual sequence of bytes in each `Buffer`. + * + * * `0` is returned if `target` is the same as `buf` + * * `1` is returned if `target` should come _before_`buf` when sorted. + * * `-1` is returned if `target` should come _after_`buf` when sorted. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from('ABC'); + * const buf2 = Buffer.from('BCD'); + * const buf3 = Buffer.from('ABCD'); + * + * console.log(buf1.compare(buf1)); + * // Prints: 0 + * console.log(buf1.compare(buf2)); + * // Prints: -1 + * console.log(buf1.compare(buf3)); + * // Prints: -1 + * console.log(buf2.compare(buf1)); + * // Prints: 1 + * console.log(buf2.compare(buf3)); + * // Prints: 1 + * console.log([buf1, buf2, buf3].sort(Buffer.compare)); + * // Prints: [ , , ] + * // (This result is equal to: [buf1, buf3, buf2].) + * ``` + * + * The optional `targetStart`, `targetEnd`, `sourceStart`, and `sourceEnd`arguments can be used to limit the comparison to specific ranges within `target`and `buf` respectively. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8, 9]); + * const buf2 = Buffer.from([5, 6, 7, 8, 9, 1, 2, 3, 4]); + * + * console.log(buf1.compare(buf2, 5, 9, 0, 4)); + * // Prints: 0 + * console.log(buf1.compare(buf2, 0, 6, 4)); + * // Prints: -1 + * console.log(buf1.compare(buf2, 5, 6, 5)); + * // Prints: 1 + * ``` + * + * `ERR_OUT_OF_RANGE` is thrown if `targetStart < 0`, `sourceStart < 0`,`targetEnd > target.byteLength`, or `sourceEnd > source.byteLength`. + * @since v0.11.13 + * @param target A `Buffer` or {@link Uint8Array} with which to compare `buf`. + * @param [targetStart=0] The offset within `target` at which to begin comparison. + * @param [targetEnd=target.length] The offset within `target` at which to end comparison (not inclusive). + * @param [sourceStart=0] The offset within `buf` at which to begin comparison. + * @param [sourceEnd=buf.length] The offset within `buf` at which to end comparison (not inclusive). + */ + compare( + target: Uint8Array, + targetStart?: number, + targetEnd?: number, + sourceStart?: number, + sourceEnd?: number, + ): -1 | 0 | 1; + /** + * Copies data from a region of `buf` to a region in `target`, even if the `target`memory region overlaps with `buf`. + * + * [`TypedArray.prototype.set()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/set) performs the same operation, and is available + * for all TypedArrays, including Node.js `Buffer`s, although it takes + * different function arguments. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Create two `Buffer` instances. + * const buf1 = Buffer.allocUnsafe(26); + * const buf2 = Buffer.allocUnsafe(26).fill('!'); + * + * for (let i = 0; i < 26; i++) { + * // 97 is the decimal ASCII value for 'a'. + * buf1[i] = i + 97; + * } + * + * // Copy `buf1` bytes 16 through 19 into `buf2` starting at byte 8 of `buf2`. + * buf1.copy(buf2, 8, 16, 20); + * // This is equivalent to: + * // buf2.set(buf1.subarray(16, 20), 8); + * + * console.log(buf2.toString('ascii', 0, 25)); + * // Prints: !!!!!!!!qrst!!!!!!!!!!!!! + * ``` + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Create a `Buffer` and copy data from one region to an overlapping region + * // within the same `Buffer`. + * + * const buf = Buffer.allocUnsafe(26); + * + * for (let i = 0; i < 26; i++) { + * // 97 is the decimal ASCII value for 'a'. + * buf[i] = i + 97; + * } + * + * buf.copy(buf, 0, 4, 10); + * + * console.log(buf.toString()); + * // Prints: efghijghijklmnopqrstuvwxyz + * ``` + * @since v0.1.90 + * @param target A `Buffer` or {@link Uint8Array} to copy into. + * @param [targetStart=0] The offset within `target` at which to begin writing. + * @param [sourceStart=0] The offset within `buf` from which to begin copying. + * @param [sourceEnd=buf.length] The offset within `buf` at which to stop copying (not inclusive). + * @return The number of bytes copied. + */ + copy(target: Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; + /** + * Returns a new `Buffer` that references the same memory as the original, but + * offset and cropped by the `start` and `end` indices. + * + * This method is not compatible with the `Uint8Array.prototype.slice()`, + * which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('buffer'); + * + * const copiedBuf = Uint8Array.prototype.slice.call(buf); + * copiedBuf[0]++; + * console.log(copiedBuf.toString()); + * // Prints: cuffer + * + * console.log(buf.toString()); + * // Prints: buffer + * + * // With buf.slice(), the original buffer is modified. + * const notReallyCopiedBuf = buf.slice(); + * notReallyCopiedBuf[0]++; + * console.log(notReallyCopiedBuf.toString()); + * // Prints: cuffer + * console.log(buf.toString()); + * // Also prints: cuffer (!) + * ``` + * @since v0.3.0 + * @deprecated Use `subarray` instead. + * @param [start=0] Where the new `Buffer` will start. + * @param [end=buf.length] Where the new `Buffer` will end (not inclusive). + */ + slice(start?: number, end?: number): Buffer; + /** + * Returns a new `Buffer` that references the same memory as the original, but + * offset and cropped by the `start` and `end` indices. + * + * Specifying `end` greater than `buf.length` will return the same result as + * that of `end` equal to `buf.length`. + * + * This method is inherited from [`TypedArray.prototype.subarray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray). + * + * Modifying the new `Buffer` slice will modify the memory in the original `Buffer`because the allocated memory of the two objects overlap. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Create a `Buffer` with the ASCII alphabet, take a slice, and modify one byte + * // from the original `Buffer`. + * + * const buf1 = Buffer.allocUnsafe(26); + * + * for (let i = 0; i < 26; i++) { + * // 97 is the decimal ASCII value for 'a'. + * buf1[i] = i + 97; + * } + * + * const buf2 = buf1.subarray(0, 3); + * + * console.log(buf2.toString('ascii', 0, buf2.length)); + * // Prints: abc + * + * buf1[0] = 33; + * + * console.log(buf2.toString('ascii', 0, buf2.length)); + * // Prints: !bc + * ``` + * + * Specifying negative indexes causes the slice to be generated relative to the + * end of `buf` rather than the beginning. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('buffer'); + * + * console.log(buf.subarray(-6, -1).toString()); + * // Prints: buffe + * // (Equivalent to buf.subarray(0, 5).) + * + * console.log(buf.subarray(-6, -2).toString()); + * // Prints: buff + * // (Equivalent to buf.subarray(0, 4).) + * + * console.log(buf.subarray(-5, -2).toString()); + * // Prints: uff + * // (Equivalent to buf.subarray(1, 4).) + * ``` + * @since v3.0.0 + * @param [start=0] Where the new `Buffer` will start. + * @param [end=buf.length] Where the new `Buffer` will end (not inclusive). + */ + subarray(start?: number, end?: number): Buffer; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. + * + * `value` is interpreted and written as a two's complement signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(8); + * + * buf.writeBigInt64BE(0x0102030405060708n, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v12.0.0, v10.20.0 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. + * @return `offset` plus the number of bytes written. + */ + writeBigInt64BE(value: bigint, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian. + * + * `value` is interpreted and written as a two's complement signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(8); + * + * buf.writeBigInt64LE(0x0102030405060708n, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v12.0.0, v10.20.0 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. + * @return `offset` plus the number of bytes written. + */ + writeBigInt64LE(value: bigint, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. + * + * This function is also available under the `writeBigUint64BE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(8); + * + * buf.writeBigUInt64BE(0xdecafafecacefaden, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v12.0.0, v10.20.0 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. + * @return `offset` plus the number of bytes written. + */ + writeBigUInt64BE(value: bigint, offset?: number): number; + /** + * @alias Buffer.writeBigUInt64BE + * @since v14.10.0, v12.19.0 + */ + writeBigUint64BE(value: bigint, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(8); + * + * buf.writeBigUInt64LE(0xdecafafecacefaden, 0); + * + * console.log(buf); + * // Prints: + * ``` + * + * This function is also available under the `writeBigUint64LE` alias. + * @since v12.0.0, v10.20.0 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. + * @return `offset` plus the number of bytes written. + */ + writeBigUInt64LE(value: bigint, offset?: number): number; + /** + * @alias Buffer.writeBigUInt64LE + * @since v14.10.0, v12.19.0 + */ + writeBigUint64LE(value: bigint, offset?: number): number; + /** + * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined + * when `value` is anything other than an unsigned integer. + * + * This function is also available under the `writeUintLE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(6); + * + * buf.writeUIntLE(0x1234567890ab, 0, 6); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. + * @return `offset` plus the number of bytes written. + */ + writeUIntLE(value: number, offset: number, byteLength: number): number; + /** + * @alias Buffer.writeUIntLE + * @since v14.9.0, v12.19.0 + */ + writeUintLE(value: number, offset: number, byteLength: number): number; + /** + * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined + * when `value` is anything other than an unsigned integer. + * + * This function is also available under the `writeUintBE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(6); + * + * buf.writeUIntBE(0x1234567890ab, 0, 6); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. + * @return `offset` plus the number of bytes written. + */ + writeUIntBE(value: number, offset: number, byteLength: number): number; + /** + * @alias Buffer.writeUIntBE + * @since v14.9.0, v12.19.0 + */ + writeUintBE(value: number, offset: number, byteLength: number): number; + /** + * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined + * when `value` is anything other than a signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(6); + * + * buf.writeIntLE(0x1234567890ab, 0, 6); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.11.15 + * @param value Number to be written to `buf`. + * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. + * @return `offset` plus the number of bytes written. + */ + writeIntLE(value: number, offset: number, byteLength: number): number; + /** + * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined when`value` is anything other than a + * signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(6); + * + * buf.writeIntBE(0x1234567890ab, 0, 6); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.11.15 + * @param value Number to be written to `buf`. + * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. + * @return `offset` plus the number of bytes written. + */ + writeIntBE(value: number, offset: number, byteLength: number): number; + /** + * Reads an unsigned, big-endian 64-bit integer from `buf` at the specified`offset`. + * + * This function is also available under the `readBigUint64BE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]); + * + * console.log(buf.readBigUInt64BE(0)); + * // Prints: 4294967295n + * ``` + * @since v12.0.0, v10.20.0 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. + */ + readBigUInt64BE(offset?: number): bigint; + /** + * @alias Buffer.readBigUInt64BE + * @since v14.10.0, v12.19.0 + */ + readBigUint64BE(offset?: number): bigint; + /** + * Reads an unsigned, little-endian 64-bit integer from `buf` at the specified`offset`. + * + * This function is also available under the `readBigUint64LE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]); + * + * console.log(buf.readBigUInt64LE(0)); + * // Prints: 18446744069414584320n + * ``` + * @since v12.0.0, v10.20.0 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. + */ + readBigUInt64LE(offset?: number): bigint; + /** + * @alias Buffer.readBigUInt64LE + * @since v14.10.0, v12.19.0 + */ + readBigUint64LE(offset?: number): bigint; + /** + * Reads a signed, big-endian 64-bit integer from `buf` at the specified `offset`. + * + * Integers read from a `Buffer` are interpreted as two's complement signed + * values. + * @since v12.0.0, v10.20.0 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. + */ + readBigInt64BE(offset?: number): bigint; + /** + * Reads a signed, little-endian 64-bit integer from `buf` at the specified`offset`. + * + * Integers read from a `Buffer` are interpreted as two's complement signed + * values. + * @since v12.0.0, v10.20.0 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. + */ + readBigInt64LE(offset?: number): bigint; + /** + * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as an unsigned, little-endian integer supporting + * up to 48 bits of accuracy. + * + * This function is also available under the `readUintLE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); + * + * console.log(buf.readUIntLE(0, 6).toString(16)); + * // Prints: ab9078563412 + * ``` + * @since v0.11.15 + * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. + */ + readUIntLE(offset: number, byteLength: number): number; + /** + * @alias Buffer.readUIntLE + * @since v14.9.0, v12.19.0 + */ + readUintLE(offset: number, byteLength: number): number; + /** + * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as an unsigned big-endian integer supporting + * up to 48 bits of accuracy. + * + * This function is also available under the `readUintBE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); + * + * console.log(buf.readUIntBE(0, 6).toString(16)); + * // Prints: 1234567890ab + * console.log(buf.readUIntBE(1, 6).toString(16)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.11.15 + * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. + */ + readUIntBE(offset: number, byteLength: number): number; + /** + * @alias Buffer.readUIntBE + * @since v14.9.0, v12.19.0 + */ + readUintBE(offset: number, byteLength: number): number; + /** + * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as a little-endian, two's complement signed value + * supporting up to 48 bits of accuracy. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); + * + * console.log(buf.readIntLE(0, 6).toString(16)); + * // Prints: -546f87a9cbee + * ``` + * @since v0.11.15 + * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. + */ + readIntLE(offset: number, byteLength: number): number; + /** + * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as a big-endian, two's complement signed value + * supporting up to 48 bits of accuracy. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); + * + * console.log(buf.readIntBE(0, 6).toString(16)); + * // Prints: 1234567890ab + * console.log(buf.readIntBE(1, 6).toString(16)); + * // Throws ERR_OUT_OF_RANGE. + * console.log(buf.readIntBE(1, 0).toString(16)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.11.15 + * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. + */ + readIntBE(offset: number, byteLength: number): number; + /** + * Reads an unsigned 8-bit integer from `buf` at the specified `offset`. + * + * This function is also available under the `readUint8` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([1, -2]); + * + * console.log(buf.readUInt8(0)); + * // Prints: 1 + * console.log(buf.readUInt8(1)); + * // Prints: 254 + * console.log(buf.readUInt8(2)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.5.0 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 1`. + */ + readUInt8(offset?: number): number; + /** + * @alias Buffer.readUInt8 + * @since v14.9.0, v12.19.0 + */ + readUint8(offset?: number): number; + /** + * Reads an unsigned, little-endian 16-bit integer from `buf` at the specified`offset`. + * + * This function is also available under the `readUint16LE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56]); + * + * console.log(buf.readUInt16LE(0).toString(16)); + * // Prints: 3412 + * console.log(buf.readUInt16LE(1).toString(16)); + * // Prints: 5634 + * console.log(buf.readUInt16LE(2).toString(16)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. + */ + readUInt16LE(offset?: number): number; + /** + * @alias Buffer.readUInt16LE + * @since v14.9.0, v12.19.0 + */ + readUint16LE(offset?: number): number; + /** + * Reads an unsigned, big-endian 16-bit integer from `buf` at the specified`offset`. + * + * This function is also available under the `readUint16BE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56]); + * + * console.log(buf.readUInt16BE(0).toString(16)); + * // Prints: 1234 + * console.log(buf.readUInt16BE(1).toString(16)); + * // Prints: 3456 + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. + */ + readUInt16BE(offset?: number): number; + /** + * @alias Buffer.readUInt16BE + * @since v14.9.0, v12.19.0 + */ + readUint16BE(offset?: number): number; + /** + * Reads an unsigned, little-endian 32-bit integer from `buf` at the specified`offset`. + * + * This function is also available under the `readUint32LE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]); + * + * console.log(buf.readUInt32LE(0).toString(16)); + * // Prints: 78563412 + * console.log(buf.readUInt32LE(1).toString(16)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. + */ + readUInt32LE(offset?: number): number; + /** + * @alias Buffer.readUInt32LE + * @since v14.9.0, v12.19.0 + */ + readUint32LE(offset?: number): number; + /** + * Reads an unsigned, big-endian 32-bit integer from `buf` at the specified`offset`. + * + * This function is also available under the `readUint32BE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]); + * + * console.log(buf.readUInt32BE(0).toString(16)); + * // Prints: 12345678 + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. + */ + readUInt32BE(offset?: number): number; + /** + * @alias Buffer.readUInt32BE + * @since v14.9.0, v12.19.0 + */ + readUint32BE(offset?: number): number; + /** + * Reads a signed 8-bit integer from `buf` at the specified `offset`. + * + * Integers read from a `Buffer` are interpreted as two's complement signed values. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([-1, 5]); + * + * console.log(buf.readInt8(0)); + * // Prints: -1 + * console.log(buf.readInt8(1)); + * // Prints: 5 + * console.log(buf.readInt8(2)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.5.0 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 1`. + */ + readInt8(offset?: number): number; + /** + * Reads a signed, little-endian 16-bit integer from `buf` at the specified`offset`. + * + * Integers read from a `Buffer` are interpreted as two's complement signed values. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0, 5]); + * + * console.log(buf.readInt16LE(0)); + * // Prints: 1280 + * console.log(buf.readInt16LE(1)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. + */ + readInt16LE(offset?: number): number; + /** + * Reads a signed, big-endian 16-bit integer from `buf` at the specified `offset`. + * + * Integers read from a `Buffer` are interpreted as two's complement signed values. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0, 5]); + * + * console.log(buf.readInt16BE(0)); + * // Prints: 5 + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. + */ + readInt16BE(offset?: number): number; + /** + * Reads a signed, little-endian 32-bit integer from `buf` at the specified`offset`. + * + * Integers read from a `Buffer` are interpreted as two's complement signed values. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0, 0, 0, 5]); + * + * console.log(buf.readInt32LE(0)); + * // Prints: 83886080 + * console.log(buf.readInt32LE(1)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. + */ + readInt32LE(offset?: number): number; + /** + * Reads a signed, big-endian 32-bit integer from `buf` at the specified `offset`. + * + * Integers read from a `Buffer` are interpreted as two's complement signed values. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0, 0, 0, 5]); + * + * console.log(buf.readInt32BE(0)); + * // Prints: 5 + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. + */ + readInt32BE(offset?: number): number; + /** + * Reads a 32-bit, little-endian float from `buf` at the specified `offset`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([1, 2, 3, 4]); + * + * console.log(buf.readFloatLE(0)); + * // Prints: 1.539989614439558e-36 + * console.log(buf.readFloatLE(1)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.11.15 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. + */ + readFloatLE(offset?: number): number; + /** + * Reads a 32-bit, big-endian float from `buf` at the specified `offset`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([1, 2, 3, 4]); + * + * console.log(buf.readFloatBE(0)); + * // Prints: 2.387939260590663e-38 + * ``` + * @since v0.11.15 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. + */ + readFloatBE(offset?: number): number; + /** + * Reads a 64-bit, little-endian double from `buf` at the specified `offset`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]); + * + * console.log(buf.readDoubleLE(0)); + * // Prints: 5.447603722011605e-270 + * console.log(buf.readDoubleLE(1)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.11.15 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 8`. + */ + readDoubleLE(offset?: number): number; + /** + * Reads a 64-bit, big-endian double from `buf` at the specified `offset`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]); + * + * console.log(buf.readDoubleBE(0)); + * // Prints: 8.20788039913184e-304 + * ``` + * @since v0.11.15 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 8`. + */ + readDoubleBE(offset?: number): number; + reverse(): this; + /** + * Interprets `buf` as an array of unsigned 16-bit integers and swaps the + * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 2. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]); + * + * console.log(buf1); + * // Prints: + * + * buf1.swap16(); + * + * console.log(buf1); + * // Prints: + * + * const buf2 = Buffer.from([0x1, 0x2, 0x3]); + * + * buf2.swap16(); + * // Throws ERR_INVALID_BUFFER_SIZE. + * ``` + * + * One convenient use of `buf.swap16()` is to perform a fast in-place conversion + * between UTF-16 little-endian and UTF-16 big-endian: + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('This is little-endian UTF-16', 'utf16le'); + * buf.swap16(); // Convert to big-endian UTF-16 text. + * ``` + * @since v5.10.0 + * @return A reference to `buf`. + */ + swap16(): Buffer; + /** + * Interprets `buf` as an array of unsigned 32-bit integers and swaps the + * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 4. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]); + * + * console.log(buf1); + * // Prints: + * + * buf1.swap32(); + * + * console.log(buf1); + * // Prints: + * + * const buf2 = Buffer.from([0x1, 0x2, 0x3]); + * + * buf2.swap32(); + * // Throws ERR_INVALID_BUFFER_SIZE. + * ``` + * @since v5.10.0 + * @return A reference to `buf`. + */ + swap32(): Buffer; + /** + * Interprets `buf` as an array of 64-bit numbers and swaps byte order _in-place_. + * Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 8. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]); + * + * console.log(buf1); + * // Prints: + * + * buf1.swap64(); + * + * console.log(buf1); + * // Prints: + * + * const buf2 = Buffer.from([0x1, 0x2, 0x3]); + * + * buf2.swap64(); + * // Throws ERR_INVALID_BUFFER_SIZE. + * ``` + * @since v6.3.0 + * @return A reference to `buf`. + */ + swap64(): Buffer; + /** + * Writes `value` to `buf` at the specified `offset`. `value` must be a + * valid unsigned 8-bit integer. Behavior is undefined when `value` is anything + * other than an unsigned 8-bit integer. + * + * This function is also available under the `writeUint8` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeUInt8(0x3, 0); + * buf.writeUInt8(0x4, 1); + * buf.writeUInt8(0x23, 2); + * buf.writeUInt8(0x42, 3); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.0 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 1`. + * @return `offset` plus the number of bytes written. + */ + writeUInt8(value: number, offset?: number): number; + /** + * @alias Buffer.writeUInt8 + * @since v14.9.0, v12.19.0 + */ + writeUint8(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value` is + * anything other than an unsigned 16-bit integer. + * + * This function is also available under the `writeUint16LE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeUInt16LE(0xdead, 0); + * buf.writeUInt16LE(0xbeef, 2); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. + * @return `offset` plus the number of bytes written. + */ + writeUInt16LE(value: number, offset?: number): number; + /** + * @alias Buffer.writeUInt16LE + * @since v14.9.0, v12.19.0 + */ + writeUint16LE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value`is anything other than an + * unsigned 16-bit integer. + * + * This function is also available under the `writeUint16BE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeUInt16BE(0xdead, 0); + * buf.writeUInt16BE(0xbeef, 2); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. + * @return `offset` plus the number of bytes written. + */ + writeUInt16BE(value: number, offset?: number): number; + /** + * @alias Buffer.writeUInt16BE + * @since v14.9.0, v12.19.0 + */ + writeUint16BE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value` is + * anything other than an unsigned 32-bit integer. + * + * This function is also available under the `writeUint32LE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeUInt32LE(0xfeedface, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. + * @return `offset` plus the number of bytes written. + */ + writeUInt32LE(value: number, offset?: number): number; + /** + * @alias Buffer.writeUInt32LE + * @since v14.9.0, v12.19.0 + */ + writeUint32LE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value`is anything other than an + * unsigned 32-bit integer. + * + * This function is also available under the `writeUint32BE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeUInt32BE(0xfeedface, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. + * @return `offset` plus the number of bytes written. + */ + writeUInt32BE(value: number, offset?: number): number; + /** + * @alias Buffer.writeUInt32BE + * @since v14.9.0, v12.19.0 + */ + writeUint32BE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset`. `value` must be a valid + * signed 8-bit integer. Behavior is undefined when `value` is anything other than + * a signed 8-bit integer. + * + * `value` is interpreted and written as a two's complement signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(2); + * + * buf.writeInt8(2, 0); + * buf.writeInt8(-2, 1); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.0 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 1`. + * @return `offset` plus the number of bytes written. + */ + writeInt8(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid signed 16-bit integer. Behavior is undefined when `value` is + * anything other than a signed 16-bit integer. + * + * The `value` is interpreted and written as a two's complement signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(2); + * + * buf.writeInt16LE(0x0304, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. + * @return `offset` plus the number of bytes written. + */ + writeInt16LE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid signed 16-bit integer. Behavior is undefined when `value` is + * anything other than a signed 16-bit integer. + * + * The `value` is interpreted and written as a two's complement signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(2); + * + * buf.writeInt16BE(0x0102, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. + * @return `offset` plus the number of bytes written. + */ + writeInt16BE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid signed 32-bit integer. Behavior is undefined when `value` is + * anything other than a signed 32-bit integer. + * + * The `value` is interpreted and written as a two's complement signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeInt32LE(0x05060708, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. + * @return `offset` plus the number of bytes written. + */ + writeInt32LE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid signed 32-bit integer. Behavior is undefined when `value` is + * anything other than a signed 32-bit integer. + * + * The `value` is interpreted and written as a two's complement signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeInt32BE(0x01020304, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. + * @return `offset` plus the number of bytes written. + */ + writeInt32BE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian. Behavior is + * undefined when `value` is anything other than a JavaScript number. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeFloatLE(0xcafebabe, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.11.15 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. + * @return `offset` plus the number of bytes written. + */ + writeFloatLE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. Behavior is + * undefined when `value` is anything other than a JavaScript number. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeFloatBE(0xcafebabe, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.11.15 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. + * @return `offset` plus the number of bytes written. + */ + writeFloatBE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a JavaScript number. Behavior is undefined when `value` is anything + * other than a JavaScript number. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(8); + * + * buf.writeDoubleLE(123.456, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.11.15 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 8`. + * @return `offset` plus the number of bytes written. + */ + writeDoubleLE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a JavaScript number. Behavior is undefined when `value` is anything + * other than a JavaScript number. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(8); + * + * buf.writeDoubleBE(123.456, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.11.15 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 8`. + * @return `offset` plus the number of bytes written. + */ + writeDoubleBE(value: number, offset?: number): number; + /** + * Fills `buf` with the specified `value`. If the `offset` and `end` are not given, + * the entire `buf` will be filled: + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Fill a `Buffer` with the ASCII character 'h'. + * + * const b = Buffer.allocUnsafe(50).fill('h'); + * + * console.log(b.toString()); + * // Prints: hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh + * + * // Fill a buffer with empty string + * const c = Buffer.allocUnsafe(5).fill(''); + * + * console.log(c.fill('')); + * // Prints: + * ``` + * + * `value` is coerced to a `uint32` value if it is not a string, `Buffer`, or + * integer. If the resulting integer is greater than `255` (decimal), `buf` will be + * filled with `value & 255`. + * + * If the final write of a `fill()` operation falls on a multi-byte character, + * then only the bytes of that character that fit into `buf` are written: + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Fill a `Buffer` with character that takes up two bytes in UTF-8. + * + * console.log(Buffer.allocUnsafe(5).fill('\u0222')); + * // Prints: + * ``` + * + * If `value` contains invalid characters, it is truncated; if no valid + * fill data remains, an exception is thrown: + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(5); + * + * console.log(buf.fill('a')); + * // Prints: + * console.log(buf.fill('aazz', 'hex')); + * // Prints: + * console.log(buf.fill('zz', 'hex')); + * // Throws an exception. + * ``` + * @since v0.5.0 + * @param value The value with which to fill `buf`. Empty value (string, Uint8Array, Buffer) is coerced to `0`. + * @param [offset=0] Number of bytes to skip before starting to fill `buf`. + * @param [end=buf.length] Where to stop filling `buf` (not inclusive). + * @param [encoding='utf8'] The encoding for `value` if `value` is a string. + * @return A reference to `buf`. + */ + fill(value: string | Uint8Array | number, offset?: number, end?: number, encoding?: BufferEncoding): this; + /** + * If `value` is: + * + * * a string, `value` is interpreted according to the character encoding in`encoding`. + * * a `Buffer` or [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array), `value` will be used in its entirety. + * To compare a partial `Buffer`, use `buf.subarray`. + * * a number, `value` will be interpreted as an unsigned 8-bit integer + * value between `0` and `255`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('this is a buffer'); + * + * console.log(buf.indexOf('this')); + * // Prints: 0 + * console.log(buf.indexOf('is')); + * // Prints: 2 + * console.log(buf.indexOf(Buffer.from('a buffer'))); + * // Prints: 8 + * console.log(buf.indexOf(97)); + * // Prints: 8 (97 is the decimal ASCII value for 'a') + * console.log(buf.indexOf(Buffer.from('a buffer example'))); + * // Prints: -1 + * console.log(buf.indexOf(Buffer.from('a buffer example').slice(0, 8))); + * // Prints: 8 + * + * const utf16Buffer = Buffer.from('\u039a\u0391\u03a3\u03a3\u0395', 'utf16le'); + * + * console.log(utf16Buffer.indexOf('\u03a3', 0, 'utf16le')); + * // Prints: 4 + * console.log(utf16Buffer.indexOf('\u03a3', -4, 'utf16le')); + * // Prints: 6 + * ``` + * + * If `value` is not a string, number, or `Buffer`, this method will throw a`TypeError`. If `value` is a number, it will be coerced to a valid byte value, + * an integer between 0 and 255. + * + * If `byteOffset` is not a number, it will be coerced to a number. If the result + * of coercion is `NaN` or `0`, then the entire buffer will be searched. This + * behavior matches [`String.prototype.indexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf). + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const b = Buffer.from('abcdef'); + * + * // Passing a value that's a number, but not a valid byte. + * // Prints: 2, equivalent to searching for 99 or 'c'. + * console.log(b.indexOf(99.9)); + * console.log(b.indexOf(256 + 99)); + * + * // Passing a byteOffset that coerces to NaN or 0. + * // Prints: 1, searching the whole buffer. + * console.log(b.indexOf('b', undefined)); + * console.log(b.indexOf('b', {})); + * console.log(b.indexOf('b', null)); + * console.log(b.indexOf('b', [])); + * ``` + * + * If `value` is an empty string or empty `Buffer` and `byteOffset` is less + * than `buf.length`, `byteOffset` will be returned. If `value` is empty and`byteOffset` is at least `buf.length`, `buf.length` will be returned. + * @since v1.5.0 + * @param value What to search for. + * @param [byteOffset=0] Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`. + * @param [encoding='utf8'] If `value` is a string, this is the encoding used to determine the binary representation of the string that will be searched for in `buf`. + * @return The index of the first occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`. + */ + indexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number; + /** + * Identical to `buf.indexOf()`, except the last occurrence of `value` is found + * rather than the first occurrence. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('this buffer is a buffer'); + * + * console.log(buf.lastIndexOf('this')); + * // Prints: 0 + * console.log(buf.lastIndexOf('buffer')); + * // Prints: 17 + * console.log(buf.lastIndexOf(Buffer.from('buffer'))); + * // Prints: 17 + * console.log(buf.lastIndexOf(97)); + * // Prints: 15 (97 is the decimal ASCII value for 'a') + * console.log(buf.lastIndexOf(Buffer.from('yolo'))); + * // Prints: -1 + * console.log(buf.lastIndexOf('buffer', 5)); + * // Prints: 5 + * console.log(buf.lastIndexOf('buffer', 4)); + * // Prints: -1 + * + * const utf16Buffer = Buffer.from('\u039a\u0391\u03a3\u03a3\u0395', 'utf16le'); + * + * console.log(utf16Buffer.lastIndexOf('\u03a3', undefined, 'utf16le')); + * // Prints: 6 + * console.log(utf16Buffer.lastIndexOf('\u03a3', -5, 'utf16le')); + * // Prints: 4 + * ``` + * + * If `value` is not a string, number, or `Buffer`, this method will throw a`TypeError`. If `value` is a number, it will be coerced to a valid byte value, + * an integer between 0 and 255. + * + * If `byteOffset` is not a number, it will be coerced to a number. Any arguments + * that coerce to `NaN`, like `{}` or `undefined`, will search the whole buffer. + * This behavior matches [`String.prototype.lastIndexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf). + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const b = Buffer.from('abcdef'); + * + * // Passing a value that's a number, but not a valid byte. + * // Prints: 2, equivalent to searching for 99 or 'c'. + * console.log(b.lastIndexOf(99.9)); + * console.log(b.lastIndexOf(256 + 99)); + * + * // Passing a byteOffset that coerces to NaN. + * // Prints: 1, searching the whole buffer. + * console.log(b.lastIndexOf('b', undefined)); + * console.log(b.lastIndexOf('b', {})); + * + * // Passing a byteOffset that coerces to 0. + * // Prints: -1, equivalent to passing 0. + * console.log(b.lastIndexOf('b', null)); + * console.log(b.lastIndexOf('b', [])); + * ``` + * + * If `value` is an empty string or empty `Buffer`, `byteOffset` will be returned. + * @since v6.0.0 + * @param value What to search for. + * @param [byteOffset=buf.length - 1] Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`. + * @param [encoding='utf8'] If `value` is a string, this is the encoding used to determine the binary representation of the string that will be searched for in `buf`. + * @return The index of the last occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`. + */ + lastIndexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number; + /** + * Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) of `[index, byte]` pairs from the contents + * of `buf`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Log the entire contents of a `Buffer`. + * + * const buf = Buffer.from('buffer'); + * + * for (const pair of buf.entries()) { + * console.log(pair); + * } + * // Prints: + * // [0, 98] + * // [1, 117] + * // [2, 102] + * // [3, 102] + * // [4, 101] + * // [5, 114] + * ``` + * @since v1.1.0 + */ + entries(): IterableIterator<[number, number]>; + /** + * Equivalent to `buf.indexOf() !== -1`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('this is a buffer'); + * + * console.log(buf.includes('this')); + * // Prints: true + * console.log(buf.includes('is')); + * // Prints: true + * console.log(buf.includes(Buffer.from('a buffer'))); + * // Prints: true + * console.log(buf.includes(97)); + * // Prints: true (97 is the decimal ASCII value for 'a') + * console.log(buf.includes(Buffer.from('a buffer example'))); + * // Prints: false + * console.log(buf.includes(Buffer.from('a buffer example').slice(0, 8))); + * // Prints: true + * console.log(buf.includes('this', 4)); + * // Prints: false + * ``` + * @since v5.3.0 + * @param value What to search for. + * @param [byteOffset=0] Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`. + * @param [encoding='utf8'] If `value` is a string, this is its encoding. + * @return `true` if `value` was found in `buf`, `false` otherwise. + */ + includes(value: string | number | Buffer, byteOffset?: number, encoding?: BufferEncoding): boolean; + /** + * Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) of `buf` keys (indices). + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('buffer'); + * + * for (const key of buf.keys()) { + * console.log(key); + * } + * // Prints: + * // 0 + * // 1 + * // 2 + * // 3 + * // 4 + * // 5 + * ``` + * @since v1.1.0 + */ + keys(): IterableIterator; + /** + * Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) for `buf` values (bytes). This function is + * called automatically when a `Buffer` is used in a `for..of` statement. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('buffer'); + * + * for (const value of buf.values()) { + * console.log(value); + * } + * // Prints: + * // 98 + * // 117 + * // 102 + * // 102 + * // 101 + * // 114 + * + * for (const value of buf) { + * console.log(value); + * } + * // Prints: + * // 98 + * // 117 + * // 102 + * // 102 + * // 101 + * // 114 + * ``` + * @since v1.1.0 + */ + values(): IterableIterator; + } + var Buffer: BufferConstructor; + /** + * Decodes a string of Base64-encoded data into bytes, and encodes those bytes + * into a string using Latin-1 (ISO-8859-1). + * + * The `data` may be any JavaScript-value that can be coerced into a string. + * + * **This function is only provided for compatibility with legacy web platform APIs** + * **and should never be used in new code, because they use strings to represent** + * **binary data and predate the introduction of typed arrays in JavaScript.** + * **For code running using Node.js APIs, converting between base64-encoded strings** + * **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.** + * @since v15.13.0, v14.17.0 + * @legacy Use `Buffer.from(data, 'base64')` instead. + * @param data The Base64-encoded input string. + */ + function atob(data: string): string; + /** + * Decodes a string into bytes using Latin-1 (ISO-8859), and encodes those bytes + * into a string using Base64. + * + * The `data` may be any JavaScript-value that can be coerced into a string. + * + * **This function is only provided for compatibility with legacy web platform APIs** + * **and should never be used in new code, because they use strings to represent** + * **binary data and predate the introduction of typed arrays in JavaScript.** + * **For code running using Node.js APIs, converting between base64-encoded strings** + * **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.** + * @since v15.13.0, v14.17.0 + * @legacy Use `buf.toString('base64')` instead. + * @param data An ASCII (Latin1) string. + */ + function btoa(data: string): string; + interface Blob extends __Blob {} + /** + * `Blob` class is a global reference for `require('node:buffer').Blob` + * https://nodejs.org/api/buffer.html#class-blob + * @since v18.0.0 + */ + var Blob: typeof globalThis extends { + onmessage: any; + Blob: infer T; + } ? T + : typeof NodeBlob; + } +} +declare module "node:buffer" { + export * from "buffer"; +} diff --git a/node_modules/@types/node/child_process.d.ts b/node_modules/@types/node/child_process.d.ts new file mode 100644 index 000000000..a97532b47 --- /dev/null +++ b/node_modules/@types/node/child_process.d.ts @@ -0,0 +1,1540 @@ +/** + * The `node:child_process` module provides the ability to spawn subprocesses in + * a manner that is similar, but not identical, to [`popen(3)`](http://man7.org/linux/man-pages/man3/popen.3.html). This capability + * is primarily provided by the {@link spawn} function: + * + * ```js + * const { spawn } = require('node:child_process'); + * const ls = spawn('ls', ['-lh', '/usr']); + * + * ls.stdout.on('data', (data) => { + * console.log(`stdout: ${data}`); + * }); + * + * ls.stderr.on('data', (data) => { + * console.error(`stderr: ${data}`); + * }); + * + * ls.on('close', (code) => { + * console.log(`child process exited with code ${code}`); + * }); + * ``` + * + * By default, pipes for `stdin`, `stdout`, and `stderr` are established between + * the parent Node.js process and the spawned subprocess. These pipes have + * limited (and platform-specific) capacity. If the subprocess writes to + * stdout in excess of that limit without the output being captured, the + * subprocess blocks waiting for the pipe buffer to accept more data. This is + * identical to the behavior of pipes in the shell. Use the `{ stdio: 'ignore' }`option if the output will not be consumed. + * + * The command lookup is performed using the `options.env.PATH` environment + * variable if `env` is in the `options` object. Otherwise, `process.env.PATH` is + * used. If `options.env` is set without `PATH`, lookup on Unix is performed + * on a default search path search of `/usr/bin:/bin` (see your operating system's + * manual for execvpe/execvp), on Windows the current processes environment + * variable `PATH` is used. + * + * On Windows, environment variables are case-insensitive. Node.js + * lexicographically sorts the `env` keys and uses the first one that + * case-insensitively matches. Only first (in lexicographic order) entry will be + * passed to the subprocess. This might lead to issues on Windows when passing + * objects to the `env` option that have multiple variants of the same key, such as`PATH` and `Path`. + * + * The {@link spawn} method spawns the child process asynchronously, + * without blocking the Node.js event loop. The {@link spawnSync} function provides equivalent functionality in a synchronous manner that blocks + * the event loop until the spawned process either exits or is terminated. + * + * For convenience, the `node:child_process` module provides a handful of + * synchronous and asynchronous alternatives to {@link spawn} and {@link spawnSync}. Each of these alternatives are implemented on + * top of {@link spawn} or {@link spawnSync}. + * + * * {@link exec}: spawns a shell and runs a command within that + * shell, passing the `stdout` and `stderr` to a callback function when + * complete. + * * {@link execFile}: similar to {@link exec} except + * that it spawns the command directly without first spawning a shell by + * default. + * * {@link fork}: spawns a new Node.js process and invokes a + * specified module with an IPC communication channel established that allows + * sending messages between parent and child. + * * {@link execSync}: a synchronous version of {@link exec} that will block the Node.js event loop. + * * {@link execFileSync}: a synchronous version of {@link execFile} that will block the Node.js event loop. + * + * For certain use cases, such as automating shell scripts, the `synchronous counterparts` may be more convenient. In many cases, however, + * the synchronous methods can have significant impact on performance due to + * stalling the event loop while spawned processes complete. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/child_process.js) + */ +declare module "child_process" { + import { ObjectEncodingOptions } from "node:fs"; + import { Abortable, EventEmitter } from "node:events"; + import * as net from "node:net"; + import { Pipe, Readable, Stream, Writable } from "node:stream"; + import { URL } from "node:url"; + type Serializable = string | object | number | boolean | bigint; + type SendHandle = net.Socket | net.Server; + /** + * Instances of the `ChildProcess` represent spawned child processes. + * + * Instances of `ChildProcess` are not intended to be created directly. Rather, + * use the {@link spawn}, {@link exec},{@link execFile}, or {@link fork} methods to create + * instances of `ChildProcess`. + * @since v2.2.0 + */ + class ChildProcess extends EventEmitter { + /** + * A `Writable Stream` that represents the child process's `stdin`. + * + * If a child process waits to read all of its input, the child will not continue + * until this stream has been closed via `end()`. + * + * If the child was spawned with `stdio[0]` set to anything other than `'pipe'`, + * then this will be `null`. + * + * `subprocess.stdin` is an alias for `subprocess.stdio[0]`. Both properties will + * refer to the same value. + * + * The `subprocess.stdin` property can be `null` or `undefined`if the child process could not be successfully spawned. + * @since v0.1.90 + */ + stdin: Writable | null; + /** + * A `Readable Stream` that represents the child process's `stdout`. + * + * If the child was spawned with `stdio[1]` set to anything other than `'pipe'`, + * then this will be `null`. + * + * `subprocess.stdout` is an alias for `subprocess.stdio[1]`. Both properties will + * refer to the same value. + * + * ```js + * const { spawn } = require('node:child_process'); + * + * const subprocess = spawn('ls'); + * + * subprocess.stdout.on('data', (data) => { + * console.log(`Received chunk ${data}`); + * }); + * ``` + * + * The `subprocess.stdout` property can be `null` or `undefined`if the child process could not be successfully spawned. + * @since v0.1.90 + */ + stdout: Readable | null; + /** + * A `Readable Stream` that represents the child process's `stderr`. + * + * If the child was spawned with `stdio[2]` set to anything other than `'pipe'`, + * then this will be `null`. + * + * `subprocess.stderr` is an alias for `subprocess.stdio[2]`. Both properties will + * refer to the same value. + * + * The `subprocess.stderr` property can be `null` or `undefined`if the child process could not be successfully spawned. + * @since v0.1.90 + */ + stderr: Readable | null; + /** + * The `subprocess.channel` property is a reference to the child's IPC channel. If + * no IPC channel exists, this property is `undefined`. + * @since v7.1.0 + */ + readonly channel?: Pipe | null | undefined; + /** + * A sparse array of pipes to the child process, corresponding with positions in + * the `stdio` option passed to {@link spawn} that have been set + * to the value `'pipe'`. `subprocess.stdio[0]`, `subprocess.stdio[1]`, and`subprocess.stdio[2]` are also available as `subprocess.stdin`,`subprocess.stdout`, and `subprocess.stderr`, + * respectively. + * + * In the following example, only the child's fd `1` (stdout) is configured as a + * pipe, so only the parent's `subprocess.stdio[1]` is a stream, all other values + * in the array are `null`. + * + * ```js + * const assert = require('node:assert'); + * const fs = require('node:fs'); + * const child_process = require('node:child_process'); + * + * const subprocess = child_process.spawn('ls', { + * stdio: [ + * 0, // Use parent's stdin for child. + * 'pipe', // Pipe child's stdout to parent. + * fs.openSync('err.out', 'w'), // Direct child's stderr to a file. + * ], + * }); + * + * assert.strictEqual(subprocess.stdio[0], null); + * assert.strictEqual(subprocess.stdio[0], subprocess.stdin); + * + * assert(subprocess.stdout); + * assert.strictEqual(subprocess.stdio[1], subprocess.stdout); + * + * assert.strictEqual(subprocess.stdio[2], null); + * assert.strictEqual(subprocess.stdio[2], subprocess.stderr); + * ``` + * + * The `subprocess.stdio` property can be `undefined` if the child process could + * not be successfully spawned. + * @since v0.7.10 + */ + readonly stdio: [ + Writable | null, + // stdin + Readable | null, + // stdout + Readable | null, + // stderr + Readable | Writable | null | undefined, + // extra + Readable | Writable | null | undefined, // extra + ]; + /** + * The `subprocess.killed` property indicates whether the child process + * successfully received a signal from `subprocess.kill()`. The `killed` property + * does not indicate that the child process has been terminated. + * @since v0.5.10 + */ + readonly killed: boolean; + /** + * Returns the process identifier (PID) of the child process. If the child process + * fails to spawn due to errors, then the value is `undefined` and `error` is + * emitted. + * + * ```js + * const { spawn } = require('node:child_process'); + * const grep = spawn('grep', ['ssh']); + * + * console.log(`Spawned child pid: ${grep.pid}`); + * grep.stdin.end(); + * ``` + * @since v0.1.90 + */ + readonly pid?: number | undefined; + /** + * The `subprocess.connected` property indicates whether it is still possible to + * send and receive messages from a child process. When `subprocess.connected` is`false`, it is no longer possible to send or receive messages. + * @since v0.7.2 + */ + readonly connected: boolean; + /** + * The `subprocess.exitCode` property indicates the exit code of the child process. + * If the child process is still running, the field will be `null`. + */ + readonly exitCode: number | null; + /** + * The `subprocess.signalCode` property indicates the signal received by + * the child process if any, else `null`. + */ + readonly signalCode: NodeJS.Signals | null; + /** + * The `subprocess.spawnargs` property represents the full list of command-line + * arguments the child process was launched with. + */ + readonly spawnargs: string[]; + /** + * The `subprocess.spawnfile` property indicates the executable file name of + * the child process that is launched. + * + * For {@link fork}, its value will be equal to `process.execPath`. + * For {@link spawn}, its value will be the name of + * the executable file. + * For {@link exec}, its value will be the name of the shell + * in which the child process is launched. + */ + readonly spawnfile: string; + /** + * The `subprocess.kill()` method sends a signal to the child process. If no + * argument is given, the process will be sent the `'SIGTERM'` signal. See [`signal(7)`](http://man7.org/linux/man-pages/man7/signal.7.html) for a list of available signals. This function + * returns `true` if [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) succeeds, and `false` otherwise. + * + * ```js + * const { spawn } = require('node:child_process'); + * const grep = spawn('grep', ['ssh']); + * + * grep.on('close', (code, signal) => { + * console.log( + * `child process terminated due to receipt of signal ${signal}`); + * }); + * + * // Send SIGHUP to process. + * grep.kill('SIGHUP'); + * ``` + * + * The `ChildProcess` object may emit an `'error'` event if the signal + * cannot be delivered. Sending a signal to a child process that has already exited + * is not an error but may have unforeseen consequences. Specifically, if the + * process identifier (PID) has been reassigned to another process, the signal will + * be delivered to that process instead which can have unexpected results. + * + * While the function is called `kill`, the signal delivered to the child process + * may not actually terminate the process. + * + * See [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) for reference. + * + * On Windows, where POSIX signals do not exist, the `signal` argument will be + * ignored, and the process will be killed forcefully and abruptly (similar to`'SIGKILL'`). + * See `Signal Events` for more details. + * + * On Linux, child processes of child processes will not be terminated + * when attempting to kill their parent. This is likely to happen when running a + * new process in a shell or with the use of the `shell` option of `ChildProcess`: + * + * ```js + * 'use strict'; + * const { spawn } = require('node:child_process'); + * + * const subprocess = spawn( + * 'sh', + * [ + * '-c', + * `node -e "setInterval(() => { + * console.log(process.pid, 'is alive') + * }, 500);"`, + * ], { + * stdio: ['inherit', 'inherit', 'inherit'], + * }, + * ); + * + * setTimeout(() => { + * subprocess.kill(); // Does not terminate the Node.js process in the shell. + * }, 2000); + * ``` + * @since v0.1.90 + */ + kill(signal?: NodeJS.Signals | number): boolean; + /** + * Calls {@link ChildProcess.kill} with `'SIGTERM'`. + * @since v20.5.0 + */ + [Symbol.dispose](): void; + /** + * When an IPC channel has been established between the parent and child ( + * i.e. when using {@link fork}), the `subprocess.send()` method can + * be used to send messages to the child process. When the child process is a + * Node.js instance, these messages can be received via the `'message'` event. + * + * The message goes through serialization and parsing. The resulting + * message might not be the same as what is originally sent. + * + * For example, in the parent script: + * + * ```js + * const cp = require('node:child_process'); + * const n = cp.fork(`${__dirname}/sub.js`); + * + * n.on('message', (m) => { + * console.log('PARENT got message:', m); + * }); + * + * // Causes the child to print: CHILD got message: { hello: 'world' } + * n.send({ hello: 'world' }); + * ``` + * + * And then the child script, `'sub.js'` might look like this: + * + * ```js + * process.on('message', (m) => { + * console.log('CHILD got message:', m); + * }); + * + * // Causes the parent to print: PARENT got message: { foo: 'bar', baz: null } + * process.send({ foo: 'bar', baz: NaN }); + * ``` + * + * Child Node.js processes will have a `process.send()` method of their own + * that allows the child to send messages back to the parent. + * + * There is a special case when sending a `{cmd: 'NODE_foo'}` message. Messages + * containing a `NODE_` prefix in the `cmd` property are reserved for use within + * Node.js core and will not be emitted in the child's `'message'` event. Rather, such messages are emitted using the`'internalMessage'` event and are consumed internally by Node.js. + * Applications should avoid using such messages or listening for`'internalMessage'` events as it is subject to change without notice. + * + * The optional `sendHandle` argument that may be passed to `subprocess.send()` is + * for passing a TCP server or socket object to the child process. The child will + * receive the object as the second argument passed to the callback function + * registered on the `'message'` event. Any data that is received + * and buffered in the socket will not be sent to the child. + * + * The optional `callback` is a function that is invoked after the message is + * sent but before the child may have received it. The function is called with a + * single argument: `null` on success, or an `Error` object on failure. + * + * If no `callback` function is provided and the message cannot be sent, an`'error'` event will be emitted by the `ChildProcess` object. This can + * happen, for instance, when the child process has already exited. + * + * `subprocess.send()` will return `false` if the channel has closed or when the + * backlog of unsent messages exceeds a threshold that makes it unwise to send + * more. Otherwise, the method returns `true`. The `callback` function can be + * used to implement flow control. + * + * #### Example: sending a server object + * + * The `sendHandle` argument can be used, for instance, to pass the handle of + * a TCP server object to the child process as illustrated in the example below: + * + * ```js + * const subprocess = require('node:child_process').fork('subprocess.js'); + * + * // Open up the server object and send the handle. + * const server = require('node:net').createServer(); + * server.on('connection', (socket) => { + * socket.end('handled by parent'); + * }); + * server.listen(1337, () => { + * subprocess.send('server', server); + * }); + * ``` + * + * The child would then receive the server object as: + * + * ```js + * process.on('message', (m, server) => { + * if (m === 'server') { + * server.on('connection', (socket) => { + * socket.end('handled by child'); + * }); + * } + * }); + * ``` + * + * Once the server is now shared between the parent and child, some connections + * can be handled by the parent and some by the child. + * + * While the example above uses a server created using the `node:net` module,`node:dgram` module servers use exactly the same workflow with the exceptions of + * listening on a `'message'` event instead of `'connection'` and using`server.bind()` instead of `server.listen()`. This is, however, only + * supported on Unix platforms. + * + * #### Example: sending a socket object + * + * Similarly, the `sendHandler` argument can be used to pass the handle of a + * socket to the child process. The example below spawns two children that each + * handle connections with "normal" or "special" priority: + * + * ```js + * const { fork } = require('node:child_process'); + * const normal = fork('subprocess.js', ['normal']); + * const special = fork('subprocess.js', ['special']); + * + * // Open up the server and send sockets to child. Use pauseOnConnect to prevent + * // the sockets from being read before they are sent to the child process. + * const server = require('node:net').createServer({ pauseOnConnect: true }); + * server.on('connection', (socket) => { + * + * // If this is special priority... + * if (socket.remoteAddress === '74.125.127.100') { + * special.send('socket', socket); + * return; + * } + * // This is normal priority. + * normal.send('socket', socket); + * }); + * server.listen(1337); + * ``` + * + * The `subprocess.js` would receive the socket handle as the second argument + * passed to the event callback function: + * + * ```js + * process.on('message', (m, socket) => { + * if (m === 'socket') { + * if (socket) { + * // Check that the client socket exists. + * // It is possible for the socket to be closed between the time it is + * // sent and the time it is received in the child process. + * socket.end(`Request handled with ${process.argv[2]} priority`); + * } + * } + * }); + * ``` + * + * Do not use `.maxConnections` on a socket that has been passed to a subprocess. + * The parent cannot track when the socket is destroyed. + * + * Any `'message'` handlers in the subprocess should verify that `socket` exists, + * as the connection may have been closed during the time it takes to send the + * connection to the child. + * @since v0.5.9 + * @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties: + */ + send(message: Serializable, callback?: (error: Error | null) => void): boolean; + send(message: Serializable, sendHandle?: SendHandle, callback?: (error: Error | null) => void): boolean; + send( + message: Serializable, + sendHandle?: SendHandle, + options?: MessageOptions, + callback?: (error: Error | null) => void, + ): boolean; + /** + * Closes the IPC channel between parent and child, allowing the child to exit + * gracefully once there are no other connections keeping it alive. After calling + * this method the `subprocess.connected` and `process.connected` properties in + * both the parent and child (respectively) will be set to `false`, and it will be + * no longer possible to pass messages between the processes. + * + * The `'disconnect'` event will be emitted when there are no messages in the + * process of being received. This will most often be triggered immediately after + * calling `subprocess.disconnect()`. + * + * When the child process is a Node.js instance (e.g. spawned using {@link fork}), the `process.disconnect()` method can be invoked + * within the child process to close the IPC channel as well. + * @since v0.7.2 + */ + disconnect(): void; + /** + * By default, the parent will wait for the detached child to exit. To prevent the + * parent from waiting for a given `subprocess` to exit, use the`subprocess.unref()` method. Doing so will cause the parent's event loop to not + * include the child in its reference count, allowing the parent to exit + * independently of the child, unless there is an established IPC channel between + * the child and the parent. + * + * ```js + * const { spawn } = require('node:child_process'); + * + * const subprocess = spawn(process.argv[0], ['child_program.js'], { + * detached: true, + * stdio: 'ignore', + * }); + * + * subprocess.unref(); + * ``` + * @since v0.7.10 + */ + unref(): void; + /** + * Calling `subprocess.ref()` after making a call to `subprocess.unref()` will + * restore the removed reference count for the child process, forcing the parent + * to wait for the child to exit before exiting itself. + * + * ```js + * const { spawn } = require('node:child_process'); + * + * const subprocess = spawn(process.argv[0], ['child_program.js'], { + * detached: true, + * stdio: 'ignore', + * }); + * + * subprocess.unref(); + * subprocess.ref(); + * ``` + * @since v0.7.10 + */ + ref(): void; + /** + * events.EventEmitter + * 1. close + * 2. disconnect + * 3. error + * 4. exit + * 5. message + * 6. spawn + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + addListener(event: "disconnect", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + addListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; + addListener(event: "spawn", listener: () => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "close", code: number | null, signal: NodeJS.Signals | null): boolean; + emit(event: "disconnect"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "exit", code: number | null, signal: NodeJS.Signals | null): boolean; + emit(event: "message", message: Serializable, sendHandle: SendHandle): boolean; + emit(event: "spawn", listener: () => void): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + on(event: "disconnect", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + on(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; + on(event: "spawn", listener: () => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + once(event: "disconnect", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + once(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; + once(event: "spawn", listener: () => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + prependListener(event: "disconnect", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + prependListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; + prependListener(event: "spawn", listener: () => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener( + event: "close", + listener: (code: number | null, signal: NodeJS.Signals | null) => void, + ): this; + prependOnceListener(event: "disconnect", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener( + event: "exit", + listener: (code: number | null, signal: NodeJS.Signals | null) => void, + ): this; + prependOnceListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; + prependOnceListener(event: "spawn", listener: () => void): this; + } + // return this object when stdio option is undefined or not specified + interface ChildProcessWithoutNullStreams extends ChildProcess { + stdin: Writable; + stdout: Readable; + stderr: Readable; + readonly stdio: [ + Writable, + Readable, + Readable, + // stderr + Readable | Writable | null | undefined, + // extra, no modification + Readable | Writable | null | undefined, // extra, no modification + ]; + } + // return this object when stdio option is a tuple of 3 + interface ChildProcessByStdio + extends ChildProcess + { + stdin: I; + stdout: O; + stderr: E; + readonly stdio: [ + I, + O, + E, + Readable | Writable | null | undefined, + // extra, no modification + Readable | Writable | null | undefined, // extra, no modification + ]; + } + interface MessageOptions { + keepOpen?: boolean | undefined; + } + type IOType = "overlapped" | "pipe" | "ignore" | "inherit"; + type StdioOptions = IOType | Array; + type SerializationType = "json" | "advanced"; + interface MessagingOptions extends Abortable { + /** + * Specify the kind of serialization used for sending messages between processes. + * @default 'json' + */ + serialization?: SerializationType | undefined; + /** + * The signal value to be used when the spawned process will be killed by the abort signal. + * @default 'SIGTERM' + */ + killSignal?: NodeJS.Signals | number | undefined; + /** + * In milliseconds the maximum amount of time the process is allowed to run. + */ + timeout?: number | undefined; + } + interface ProcessEnvOptions { + uid?: number | undefined; + gid?: number | undefined; + cwd?: string | URL | undefined; + env?: NodeJS.ProcessEnv | undefined; + } + interface CommonOptions extends ProcessEnvOptions { + /** + * @default false + */ + windowsHide?: boolean | undefined; + /** + * @default 0 + */ + timeout?: number | undefined; + } + interface CommonSpawnOptions extends CommonOptions, MessagingOptions, Abortable { + argv0?: string | undefined; + /** + * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings. + * If passed as an array, the first element is used for `stdin`, the second for + * `stdout`, and the third for `stderr`. A fourth element can be used to + * specify the `stdio` behavior beyond the standard streams. See + * {@link ChildProcess.stdio} for more information. + * + * @default 'pipe' + */ + stdio?: StdioOptions | undefined; + shell?: boolean | string | undefined; + windowsVerbatimArguments?: boolean | undefined; + } + interface SpawnOptions extends CommonSpawnOptions { + detached?: boolean | undefined; + } + interface SpawnOptionsWithoutStdio extends SpawnOptions { + stdio?: StdioPipeNamed | StdioPipe[] | undefined; + } + type StdioNull = "inherit" | "ignore" | Stream; + type StdioPipeNamed = "pipe" | "overlapped"; + type StdioPipe = undefined | null | StdioPipeNamed; + interface SpawnOptionsWithStdioTuple< + Stdin extends StdioNull | StdioPipe, + Stdout extends StdioNull | StdioPipe, + Stderr extends StdioNull | StdioPipe, + > extends SpawnOptions { + stdio: [Stdin, Stdout, Stderr]; + } + /** + * The `child_process.spawn()` method spawns a new process using the given`command`, with command-line arguments in `args`. If omitted, `args` defaults + * to an empty array. + * + * **If the `shell` option is enabled, do not pass unsanitized user input to this** + * **function. Any input containing shell metacharacters may be used to trigger** + * **arbitrary command execution.** + * + * A third argument may be used to specify additional options, with these defaults: + * + * ```js + * const defaults = { + * cwd: undefined, + * env: process.env, + * }; + * ``` + * + * Use `cwd` to specify the working directory from which the process is spawned. + * If not given, the default is to inherit the current working directory. If given, + * but the path does not exist, the child process emits an `ENOENT` error + * and exits immediately. `ENOENT` is also emitted when the command + * does not exist. + * + * Use `env` to specify environment variables that will be visible to the new + * process, the default is `process.env`. + * + * `undefined` values in `env` will be ignored. + * + * Example of running `ls -lh /usr`, capturing `stdout`, `stderr`, and the + * exit code: + * + * ```js + * const { spawn } = require('node:child_process'); + * const ls = spawn('ls', ['-lh', '/usr']); + * + * ls.stdout.on('data', (data) => { + * console.log(`stdout: ${data}`); + * }); + * + * ls.stderr.on('data', (data) => { + * console.error(`stderr: ${data}`); + * }); + * + * ls.on('close', (code) => { + * console.log(`child process exited with code ${code}`); + * }); + * ``` + * + * Example: A very elaborate way to run `ps ax | grep ssh` + * + * ```js + * const { spawn } = require('node:child_process'); + * const ps = spawn('ps', ['ax']); + * const grep = spawn('grep', ['ssh']); + * + * ps.stdout.on('data', (data) => { + * grep.stdin.write(data); + * }); + * + * ps.stderr.on('data', (data) => { + * console.error(`ps stderr: ${data}`); + * }); + * + * ps.on('close', (code) => { + * if (code !== 0) { + * console.log(`ps process exited with code ${code}`); + * } + * grep.stdin.end(); + * }); + * + * grep.stdout.on('data', (data) => { + * console.log(data.toString()); + * }); + * + * grep.stderr.on('data', (data) => { + * console.error(`grep stderr: ${data}`); + * }); + * + * grep.on('close', (code) => { + * if (code !== 0) { + * console.log(`grep process exited with code ${code}`); + * } + * }); + * ``` + * + * Example of checking for failed `spawn`: + * + * ```js + * const { spawn } = require('node:child_process'); + * const subprocess = spawn('bad_command'); + * + * subprocess.on('error', (err) => { + * console.error('Failed to start subprocess.'); + * }); + * ``` + * + * Certain platforms (macOS, Linux) will use the value of `argv[0]` for the process + * title while others (Windows, SunOS) will use `command`. + * + * Node.js overwrites `argv[0]` with `process.execPath` on startup, so`process.argv[0]` in a Node.js child process will not match the `argv0`parameter passed to `spawn` from the parent. Retrieve + * it with the`process.argv0` property instead. + * + * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except + * the error passed to the callback will be an `AbortError`: + * + * ```js + * const { spawn } = require('node:child_process'); + * const controller = new AbortController(); + * const { signal } = controller; + * const grep = spawn('grep', ['ssh'], { signal }); + * grep.on('error', (err) => { + * // This will be called with err being an AbortError if the controller aborts + * }); + * controller.abort(); // Stops the child process + * ``` + * @since v0.1.90 + * @param command The command to run. + * @param args List of string arguments. + */ + function spawn(command: string, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn(command: string, options: SpawnOptions): ChildProcess; + // overloads of spawn with 'args' + function spawn( + command: string, + args?: readonly string[], + options?: SpawnOptionsWithoutStdio, + ): ChildProcessWithoutNullStreams; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn(command: string, args: readonly string[], options: SpawnOptions): ChildProcess; + interface ExecOptions extends CommonOptions { + shell?: string | undefined; + signal?: AbortSignal | undefined; + maxBuffer?: number | undefined; + killSignal?: NodeJS.Signals | number | undefined; + } + interface ExecOptionsWithStringEncoding extends ExecOptions { + encoding: BufferEncoding; + } + interface ExecOptionsWithBufferEncoding extends ExecOptions { + encoding: BufferEncoding | null; // specify `null`. + } + interface ExecException extends Error { + cmd?: string | undefined; + killed?: boolean | undefined; + code?: number | undefined; + signal?: NodeJS.Signals | undefined; + } + /** + * Spawns a shell then executes the `command` within that shell, buffering any + * generated output. The `command` string passed to the exec function is processed + * directly by the shell and special characters (vary based on [shell](https://en.wikipedia.org/wiki/List_of_command-line_interpreters)) + * need to be dealt with accordingly: + * + * ```js + * const { exec } = require('node:child_process'); + * + * exec('"/path/to/test file/test.sh" arg1 arg2'); + * // Double quotes are used so that the space in the path is not interpreted as + * // a delimiter of multiple arguments. + * + * exec('echo "The \\$HOME variable is $HOME"'); + * // The $HOME variable is escaped in the first instance, but not in the second. + * ``` + * + * **Never pass unsanitized user input to this function. Any input containing shell** + * **metacharacters may be used to trigger arbitrary command execution.** + * + * If a `callback` function is provided, it is called with the arguments`(error, stdout, stderr)`. On success, `error` will be `null`. On error,`error` will be an instance of `Error`. The + * `error.code` property will be + * the exit code of the process. By convention, any exit code other than `0`indicates an error. `error.signal` will be the signal that terminated the + * process. + * + * The `stdout` and `stderr` arguments passed to the callback will contain the + * stdout and stderr output of the child process. By default, Node.js will decode + * the output as UTF-8 and pass strings to the callback. The `encoding` option + * can be used to specify the character encoding used to decode the stdout and + * stderr output. If `encoding` is `'buffer'`, or an unrecognized character + * encoding, `Buffer` objects will be passed to the callback instead. + * + * ```js + * const { exec } = require('node:child_process'); + * exec('cat *.js missing_file | wc -l', (error, stdout, stderr) => { + * if (error) { + * console.error(`exec error: ${error}`); + * return; + * } + * console.log(`stdout: ${stdout}`); + * console.error(`stderr: ${stderr}`); + * }); + * ``` + * + * If `timeout` is greater than `0`, the parent will send the signal + * identified by the `killSignal` property (the default is `'SIGTERM'`) if the + * child runs longer than `timeout` milliseconds. + * + * Unlike the [`exec(3)`](http://man7.org/linux/man-pages/man3/exec.3.html) POSIX system call, `child_process.exec()` does not replace + * the existing process and uses a shell to execute the command. + * + * If this method is invoked as its `util.promisify()` ed version, it returns + * a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned`ChildProcess` instance is attached to the `Promise` as a `child` property. In + * case of an error (including any error resulting in an exit code other than 0), a + * rejected promise is returned, with the same `error` object given in the + * callback, but with two additional properties `stdout` and `stderr`. + * + * ```js + * const util = require('node:util'); + * const exec = util.promisify(require('node:child_process').exec); + * + * async function lsExample() { + * const { stdout, stderr } = await exec('ls'); + * console.log('stdout:', stdout); + * console.error('stderr:', stderr); + * } + * lsExample(); + * ``` + * + * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except + * the error passed to the callback will be an `AbortError`: + * + * ```js + * const { exec } = require('node:child_process'); + * const controller = new AbortController(); + * const { signal } = controller; + * const child = exec('grep ssh', { signal }, (error) => { + * console.error(error); // an AbortError + * }); + * controller.abort(); + * ``` + * @since v0.1.90 + * @param command The command to run, with space-separated arguments. + * @param callback called with the output when process terminates. + */ + function exec( + command: string, + callback?: (error: ExecException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`. + function exec( + command: string, + options: { + encoding: "buffer" | null; + } & ExecOptions, + callback?: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void, + ): ChildProcess; + // `options` with well known `encoding` means stdout/stderr are definitely `string`. + function exec( + command: string, + options: { + encoding: BufferEncoding; + } & ExecOptions, + callback?: (error: ExecException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`. + // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`. + function exec( + command: string, + options: { + encoding: BufferEncoding; + } & ExecOptions, + callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, + ): ChildProcess; + // `options` without an `encoding` means stdout/stderr are definitely `string`. + function exec( + command: string, + options: ExecOptions, + callback?: (error: ExecException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + // fallback if nothing else matches. Worst case is always `string | Buffer`. + function exec( + command: string, + options: (ObjectEncodingOptions & ExecOptions) | undefined | null, + callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, + ): ChildProcess; + interface PromiseWithChild extends Promise { + child: ChildProcess; + } + namespace exec { + function __promisify__(command: string): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + command: string, + options: { + encoding: "buffer" | null; + } & ExecOptions, + ): PromiseWithChild<{ + stdout: Buffer; + stderr: Buffer; + }>; + function __promisify__( + command: string, + options: { + encoding: BufferEncoding; + } & ExecOptions, + ): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + command: string, + options: ExecOptions, + ): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + command: string, + options?: (ObjectEncodingOptions & ExecOptions) | null, + ): PromiseWithChild<{ + stdout: string | Buffer; + stderr: string | Buffer; + }>; + } + interface ExecFileOptions extends CommonOptions, Abortable { + maxBuffer?: number | undefined; + killSignal?: NodeJS.Signals | number | undefined; + windowsVerbatimArguments?: boolean | undefined; + shell?: boolean | string | undefined; + signal?: AbortSignal | undefined; + } + interface ExecFileOptionsWithStringEncoding extends ExecFileOptions { + encoding: BufferEncoding; + } + interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions { + encoding: "buffer" | null; + } + interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions { + encoding: BufferEncoding; + } + type ExecFileException = + & Omit + & Omit + & { code?: string | number | undefined | null }; + /** + * The `child_process.execFile()` function is similar to {@link exec} except that it does not spawn a shell by default. Rather, the specified + * executable `file` is spawned directly as a new process making it slightly more + * efficient than {@link exec}. + * + * The same options as {@link exec} are supported. Since a shell is + * not spawned, behaviors such as I/O redirection and file globbing are not + * supported. + * + * ```js + * const { execFile } = require('node:child_process'); + * const child = execFile('node', ['--version'], (error, stdout, stderr) => { + * if (error) { + * throw error; + * } + * console.log(stdout); + * }); + * ``` + * + * The `stdout` and `stderr` arguments passed to the callback will contain the + * stdout and stderr output of the child process. By default, Node.js will decode + * the output as UTF-8 and pass strings to the callback. The `encoding` option + * can be used to specify the character encoding used to decode the stdout and + * stderr output. If `encoding` is `'buffer'`, or an unrecognized character + * encoding, `Buffer` objects will be passed to the callback instead. + * + * If this method is invoked as its `util.promisify()` ed version, it returns + * a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned`ChildProcess` instance is attached to the `Promise` as a `child` property. In + * case of an error (including any error resulting in an exit code other than 0), a + * rejected promise is returned, with the same `error` object given in the + * callback, but with two additional properties `stdout` and `stderr`. + * + * ```js + * const util = require('node:util'); + * const execFile = util.promisify(require('node:child_process').execFile); + * async function getVersion() { + * const { stdout } = await execFile('node', ['--version']); + * console.log(stdout); + * } + * getVersion(); + * ``` + * + * **If the `shell` option is enabled, do not pass unsanitized user input to this** + * **function. Any input containing shell metacharacters may be used to trigger** + * **arbitrary command execution.** + * + * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except + * the error passed to the callback will be an `AbortError`: + * + * ```js + * const { execFile } = require('node:child_process'); + * const controller = new AbortController(); + * const { signal } = controller; + * const child = execFile('node', ['--version'], { signal }, (error) => { + * console.error(error); // an AbortError + * }); + * controller.abort(); + * ``` + * @since v0.1.91 + * @param file The name or path of the executable file to run. + * @param args List of string arguments. + * @param callback Called with the output when process terminates. + */ + function execFile(file: string): ChildProcess; + function execFile( + file: string, + options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, + ): ChildProcess; + function execFile(file: string, args?: readonly string[] | null): ChildProcess; + function execFile( + file: string, + args: readonly string[] | undefined | null, + options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, + ): ChildProcess; + // no `options` definitely means stdout/stderr are `string`. + function execFile( + file: string, + callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + function execFile( + file: string, + args: readonly string[] | undefined | null, + callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`. + function execFile( + file: string, + options: ExecFileOptionsWithBufferEncoding, + callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void, + ): ChildProcess; + function execFile( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptionsWithBufferEncoding, + callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void, + ): ChildProcess; + // `options` with well known `encoding` means stdout/stderr are definitely `string`. + function execFile( + file: string, + options: ExecFileOptionsWithStringEncoding, + callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + function execFile( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptionsWithStringEncoding, + callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`. + // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`. + function execFile( + file: string, + options: ExecFileOptionsWithOtherEncoding, + callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void, + ): ChildProcess; + function execFile( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptionsWithOtherEncoding, + callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void, + ): ChildProcess; + // `options` without an `encoding` means stdout/stderr are definitely `string`. + function execFile( + file: string, + options: ExecFileOptions, + callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + function execFile( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptions, + callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + // fallback if nothing else matches. Worst case is always `string | Buffer`. + function execFile( + file: string, + options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, + callback: + | ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) + | undefined + | null, + ): ChildProcess; + function execFile( + file: string, + args: readonly string[] | undefined | null, + options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, + callback: + | ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) + | undefined + | null, + ): ChildProcess; + namespace execFile { + function __promisify__(file: string): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + file: string, + args: readonly string[] | undefined | null, + ): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + file: string, + options: ExecFileOptionsWithBufferEncoding, + ): PromiseWithChild<{ + stdout: Buffer; + stderr: Buffer; + }>; + function __promisify__( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptionsWithBufferEncoding, + ): PromiseWithChild<{ + stdout: Buffer; + stderr: Buffer; + }>; + function __promisify__( + file: string, + options: ExecFileOptionsWithStringEncoding, + ): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptionsWithStringEncoding, + ): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + file: string, + options: ExecFileOptionsWithOtherEncoding, + ): PromiseWithChild<{ + stdout: string | Buffer; + stderr: string | Buffer; + }>; + function __promisify__( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptionsWithOtherEncoding, + ): PromiseWithChild<{ + stdout: string | Buffer; + stderr: string | Buffer; + }>; + function __promisify__( + file: string, + options: ExecFileOptions, + ): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptions, + ): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + file: string, + options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, + ): PromiseWithChild<{ + stdout: string | Buffer; + stderr: string | Buffer; + }>; + function __promisify__( + file: string, + args: readonly string[] | undefined | null, + options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, + ): PromiseWithChild<{ + stdout: string | Buffer; + stderr: string | Buffer; + }>; + } + interface ForkOptions extends ProcessEnvOptions, MessagingOptions, Abortable { + execPath?: string | undefined; + execArgv?: string[] | undefined; + silent?: boolean | undefined; + /** + * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings. + * If passed as an array, the first element is used for `stdin`, the second for + * `stdout`, and the third for `stderr`. A fourth element can be used to + * specify the `stdio` behavior beyond the standard streams. See + * {@link ChildProcess.stdio} for more information. + * + * @default 'pipe' + */ + stdio?: StdioOptions | undefined; + detached?: boolean | undefined; + windowsVerbatimArguments?: boolean | undefined; + } + /** + * The `child_process.fork()` method is a special case of {@link spawn} used specifically to spawn new Node.js processes. + * Like {@link spawn}, a `ChildProcess` object is returned. The + * returned `ChildProcess` will have an additional communication channel + * built-in that allows messages to be passed back and forth between the parent and + * child. See `subprocess.send()` for details. + * + * Keep in mind that spawned Node.js child processes are + * independent of the parent with exception of the IPC communication channel + * that is established between the two. Each process has its own memory, with + * their own V8 instances. Because of the additional resource allocations + * required, spawning a large number of child Node.js processes is not + * recommended. + * + * By default, `child_process.fork()` will spawn new Node.js instances using the `process.execPath` of the parent process. The `execPath` property in the`options` object allows for an alternative + * execution path to be used. + * + * Node.js processes launched with a custom `execPath` will communicate with the + * parent process using the file descriptor (fd) identified using the + * environment variable `NODE_CHANNEL_FD` on the child process. + * + * Unlike the [`fork(2)`](http://man7.org/linux/man-pages/man2/fork.2.html) POSIX system call, `child_process.fork()` does not clone the + * current process. + * + * The `shell` option available in {@link spawn} is not supported by`child_process.fork()` and will be ignored if set. + * + * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except + * the error passed to the callback will be an `AbortError`: + * + * ```js + * if (process.argv[2] === 'child') { + * setTimeout(() => { + * console.log(`Hello from ${process.argv[2]}!`); + * }, 1_000); + * } else { + * const { fork } = require('node:child_process'); + * const controller = new AbortController(); + * const { signal } = controller; + * const child = fork(__filename, ['child'], { signal }); + * child.on('error', (err) => { + * // This will be called with err being an AbortError if the controller aborts + * }); + * controller.abort(); // Stops the child process + * } + * ``` + * @since v0.5.0 + * @param modulePath The module to run in the child. + * @param args List of string arguments. + */ + function fork(modulePath: string, options?: ForkOptions): ChildProcess; + function fork(modulePath: string, args?: readonly string[], options?: ForkOptions): ChildProcess; + interface SpawnSyncOptions extends CommonSpawnOptions { + input?: string | NodeJS.ArrayBufferView | undefined; + maxBuffer?: number | undefined; + encoding?: BufferEncoding | "buffer" | null | undefined; + } + interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions { + encoding: BufferEncoding; + } + interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions { + encoding?: "buffer" | null | undefined; + } + interface SpawnSyncReturns { + pid: number; + output: Array; + stdout: T; + stderr: T; + status: number | null; + signal: NodeJS.Signals | null; + error?: Error | undefined; + } + /** + * The `child_process.spawnSync()` method is generally identical to {@link spawn} with the exception that the function will not return + * until the child process has fully closed. When a timeout has been encountered + * and `killSignal` is sent, the method won't return until the process has + * completely exited. If the process intercepts and handles the `SIGTERM` signal + * and doesn't exit, the parent process will wait until the child process has + * exited. + * + * **If the `shell` option is enabled, do not pass unsanitized user input to this** + * **function. Any input containing shell metacharacters may be used to trigger** + * **arbitrary command execution.** + * @since v0.11.12 + * @param command The command to run. + * @param args List of string arguments. + */ + function spawnSync(command: string): SpawnSyncReturns; + function spawnSync(command: string, options: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; + function spawnSync(command: string, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; + function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns; + function spawnSync(command: string, args: readonly string[]): SpawnSyncReturns; + function spawnSync( + command: string, + args: readonly string[], + options: SpawnSyncOptionsWithStringEncoding, + ): SpawnSyncReturns; + function spawnSync( + command: string, + args: readonly string[], + options: SpawnSyncOptionsWithBufferEncoding, + ): SpawnSyncReturns; + function spawnSync( + command: string, + args?: readonly string[], + options?: SpawnSyncOptions, + ): SpawnSyncReturns; + interface CommonExecOptions extends CommonOptions { + input?: string | NodeJS.ArrayBufferView | undefined; + /** + * Can be set to 'pipe', 'inherit, or 'ignore', or an array of these strings. + * If passed as an array, the first element is used for `stdin`, the second for + * `stdout`, and the third for `stderr`. A fourth element can be used to + * specify the `stdio` behavior beyond the standard streams. See + * {@link ChildProcess.stdio} for more information. + * + * @default 'pipe' + */ + stdio?: StdioOptions | undefined; + killSignal?: NodeJS.Signals | number | undefined; + maxBuffer?: number | undefined; + encoding?: BufferEncoding | "buffer" | null | undefined; + } + interface ExecSyncOptions extends CommonExecOptions { + shell?: string | undefined; + } + interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions { + encoding: BufferEncoding; + } + interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions { + encoding?: "buffer" | null | undefined; + } + /** + * The `child_process.execSync()` method is generally identical to {@link exec} with the exception that the method will not return + * until the child process has fully closed. When a timeout has been encountered + * and `killSignal` is sent, the method won't return until the process has + * completely exited. If the child process intercepts and handles the `SIGTERM`signal and doesn't exit, the parent process will wait until the child process + * has exited. + * + * If the process times out or has a non-zero exit code, this method will throw. + * The `Error` object will contain the entire result from {@link spawnSync}. + * + * **Never pass unsanitized user input to this function. Any input containing shell** + * **metacharacters may be used to trigger arbitrary command execution.** + * @since v0.11.12 + * @param command The command to run. + * @return The stdout from the command. + */ + function execSync(command: string): Buffer; + function execSync(command: string, options: ExecSyncOptionsWithStringEncoding): string; + function execSync(command: string, options: ExecSyncOptionsWithBufferEncoding): Buffer; + function execSync(command: string, options?: ExecSyncOptions): string | Buffer; + interface ExecFileSyncOptions extends CommonExecOptions { + shell?: boolean | string | undefined; + } + interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions { + encoding: BufferEncoding; + } + interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions { + encoding?: "buffer" | null; // specify `null`. + } + /** + * The `child_process.execFileSync()` method is generally identical to {@link execFile} with the exception that the method will not + * return until the child process has fully closed. When a timeout has been + * encountered and `killSignal` is sent, the method won't return until the process + * has completely exited. + * + * If the child process intercepts and handles the `SIGTERM` signal and + * does not exit, the parent process will still wait until the child process has + * exited. + * + * If the process times out or has a non-zero exit code, this method will throw an `Error` that will include the full result of the underlying {@link spawnSync}. + * + * **If the `shell` option is enabled, do not pass unsanitized user input to this** + * **function. Any input containing shell metacharacters may be used to trigger** + * **arbitrary command execution.** + * @since v0.11.12 + * @param file The name or path of the executable file to run. + * @param args List of string arguments. + * @return The stdout from the command. + */ + function execFileSync(file: string): Buffer; + function execFileSync(file: string, options: ExecFileSyncOptionsWithStringEncoding): string; + function execFileSync(file: string, options: ExecFileSyncOptionsWithBufferEncoding): Buffer; + function execFileSync(file: string, options?: ExecFileSyncOptions): string | Buffer; + function execFileSync(file: string, args: readonly string[]): Buffer; + function execFileSync( + file: string, + args: readonly string[], + options: ExecFileSyncOptionsWithStringEncoding, + ): string; + function execFileSync( + file: string, + args: readonly string[], + options: ExecFileSyncOptionsWithBufferEncoding, + ): Buffer; + function execFileSync(file: string, args?: readonly string[], options?: ExecFileSyncOptions): string | Buffer; +} +declare module "node:child_process" { + export * from "child_process"; +} diff --git a/node_modules/@types/node/cluster.d.ts b/node_modules/@types/node/cluster.d.ts new file mode 100644 index 000000000..39cd56ad3 --- /dev/null +++ b/node_modules/@types/node/cluster.d.ts @@ -0,0 +1,432 @@ +/** + * Clusters of Node.js processes can be used to run multiple instances of Node.js + * that can distribute workloads among their application threads. When process + * isolation is not needed, use the `worker_threads` module instead, which + * allows running multiple application threads within a single Node.js instance. + * + * The cluster module allows easy creation of child processes that all share + * server ports. + * + * ```js + * import cluster from 'node:cluster'; + * import http from 'node:http'; + * import { availableParallelism } from 'node:os'; + * import process from 'node:process'; + * + * const numCPUs = availableParallelism(); + * + * if (cluster.isPrimary) { + * console.log(`Primary ${process.pid} is running`); + * + * // Fork workers. + * for (let i = 0; i < numCPUs; i++) { + * cluster.fork(); + * } + * + * cluster.on('exit', (worker, code, signal) => { + * console.log(`worker ${worker.process.pid} died`); + * }); + * } else { + * // Workers can share any TCP connection + * // In this case it is an HTTP server + * http.createServer((req, res) => { + * res.writeHead(200); + * res.end('hello world\n'); + * }).listen(8000); + * + * console.log(`Worker ${process.pid} started`); + * } + * ``` + * + * Running Node.js will now share port 8000 between the workers: + * + * ```console + * $ node server.js + * Primary 3596 is running + * Worker 4324 started + * Worker 4520 started + * Worker 6056 started + * Worker 5644 started + * ``` + * + * On Windows, it is not yet possible to set up a named pipe server in a worker. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/cluster.js) + */ +declare module "cluster" { + import * as child from "node:child_process"; + import EventEmitter = require("node:events"); + import * as net from "node:net"; + type SerializationType = "json" | "advanced"; + export interface ClusterSettings { + execArgv?: string[] | undefined; // default: process.execArgv + exec?: string | undefined; + args?: string[] | undefined; + silent?: boolean | undefined; + stdio?: any[] | undefined; + uid?: number | undefined; + gid?: number | undefined; + inspectPort?: number | (() => number) | undefined; + serialization?: SerializationType | undefined; + cwd?: string | undefined; + windowsHide?: boolean | undefined; + } + export interface Address { + address: string; + port: number; + addressType: number | "udp4" | "udp6"; // 4, 6, -1, "udp4", "udp6" + } + /** + * A `Worker` object contains all public information and method about a worker. + * In the primary it can be obtained using `cluster.workers`. In a worker + * it can be obtained using `cluster.worker`. + * @since v0.7.0 + */ + export class Worker extends EventEmitter { + /** + * Each new worker is given its own unique id, this id is stored in the`id`. + * + * While a worker is alive, this is the key that indexes it in`cluster.workers`. + * @since v0.8.0 + */ + id: number; + /** + * All workers are created using `child_process.fork()`, the returned object + * from this function is stored as `.process`. In a worker, the global `process`is stored. + * + * See: `Child Process module`. + * + * Workers will call `process.exit(0)` if the `'disconnect'` event occurs + * on `process` and `.exitedAfterDisconnect` is not `true`. This protects against + * accidental disconnection. + * @since v0.7.0 + */ + process: child.ChildProcess; + /** + * Send a message to a worker or primary, optionally with a handle. + * + * In the primary, this sends a message to a specific worker. It is identical to `ChildProcess.send()`. + * + * In a worker, this sends a message to the primary. It is identical to`process.send()`. + * + * This example will echo back all messages from the primary: + * + * ```js + * if (cluster.isPrimary) { + * const worker = cluster.fork(); + * worker.send('hi there'); + * + * } else if (cluster.isWorker) { + * process.on('message', (msg) => { + * process.send(msg); + * }); + * } + * ``` + * @since v0.7.0 + * @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties: + */ + send(message: child.Serializable, callback?: (error: Error | null) => void): boolean; + send( + message: child.Serializable, + sendHandle: child.SendHandle, + callback?: (error: Error | null) => void, + ): boolean; + send( + message: child.Serializable, + sendHandle: child.SendHandle, + options?: child.MessageOptions, + callback?: (error: Error | null) => void, + ): boolean; + /** + * This function will kill the worker. In the primary worker, it does this by + * disconnecting the `worker.process`, and once disconnected, killing with`signal`. In the worker, it does it by killing the process with `signal`. + * + * The `kill()` function kills the worker process without waiting for a graceful + * disconnect, it has the same behavior as `worker.process.kill()`. + * + * This method is aliased as `worker.destroy()` for backwards compatibility. + * + * In a worker, `process.kill()` exists, but it is not this function; + * it is `kill()`. + * @since v0.9.12 + * @param [signal='SIGTERM'] Name of the kill signal to send to the worker process. + */ + kill(signal?: string): void; + destroy(signal?: string): void; + /** + * In a worker, this function will close all servers, wait for the `'close'` event + * on those servers, and then disconnect the IPC channel. + * + * In the primary, an internal message is sent to the worker causing it to call`.disconnect()` on itself. + * + * Causes `.exitedAfterDisconnect` to be set. + * + * After a server is closed, it will no longer accept new connections, + * but connections may be accepted by any other listening worker. Existing + * connections will be allowed to close as usual. When no more connections exist, + * see `server.close()`, the IPC channel to the worker will close allowing it + * to die gracefully. + * + * The above applies _only_ to server connections, client connections are not + * automatically closed by workers, and disconnect does not wait for them to close + * before exiting. + * + * In a worker, `process.disconnect` exists, but it is not this function; + * it is `disconnect()`. + * + * Because long living server connections may block workers from disconnecting, it + * may be useful to send a message, so application specific actions may be taken to + * close them. It also may be useful to implement a timeout, killing a worker if + * the `'disconnect'` event has not been emitted after some time. + * + * ```js + * if (cluster.isPrimary) { + * const worker = cluster.fork(); + * let timeout; + * + * worker.on('listening', (address) => { + * worker.send('shutdown'); + * worker.disconnect(); + * timeout = setTimeout(() => { + * worker.kill(); + * }, 2000); + * }); + * + * worker.on('disconnect', () => { + * clearTimeout(timeout); + * }); + * + * } else if (cluster.isWorker) { + * const net = require('node:net'); + * const server = net.createServer((socket) => { + * // Connections never end + * }); + * + * server.listen(8000); + * + * process.on('message', (msg) => { + * if (msg === 'shutdown') { + * // Initiate graceful close of any connections to server + * } + * }); + * } + * ``` + * @since v0.7.7 + * @return A reference to `worker`. + */ + disconnect(): void; + /** + * This function returns `true` if the worker is connected to its primary via its + * IPC channel, `false` otherwise. A worker is connected to its primary after it + * has been created. It is disconnected after the `'disconnect'` event is emitted. + * @since v0.11.14 + */ + isConnected(): boolean; + /** + * This function returns `true` if the worker's process has terminated (either + * because of exiting or being signaled). Otherwise, it returns `false`. + * + * ```js + * import cluster from 'node:cluster'; + * import http from 'node:http'; + * import { availableParallelism } from 'node:os'; + * import process from 'node:process'; + * + * const numCPUs = availableParallelism(); + * + * if (cluster.isPrimary) { + * console.log(`Primary ${process.pid} is running`); + * + * // Fork workers. + * for (let i = 0; i < numCPUs; i++) { + * cluster.fork(); + * } + * + * cluster.on('fork', (worker) => { + * console.log('worker is dead:', worker.isDead()); + * }); + * + * cluster.on('exit', (worker, code, signal) => { + * console.log('worker is dead:', worker.isDead()); + * }); + * } else { + * // Workers can share any TCP connection. In this case, it is an HTTP server. + * http.createServer((req, res) => { + * res.writeHead(200); + * res.end(`Current process\n ${process.pid}`); + * process.kill(process.pid); + * }).listen(8000); + * } + * ``` + * @since v0.11.14 + */ + isDead(): boolean; + /** + * This property is `true` if the worker exited due to `.disconnect()`. + * If the worker exited any other way, it is `false`. If the + * worker has not exited, it is `undefined`. + * + * The boolean `worker.exitedAfterDisconnect` allows distinguishing between + * voluntary and accidental exit, the primary may choose not to respawn a worker + * based on this value. + * + * ```js + * cluster.on('exit', (worker, code, signal) => { + * if (worker.exitedAfterDisconnect === true) { + * console.log('Oh, it was just voluntary – no need to worry'); + * } + * }); + * + * // kill worker + * worker.kill(); + * ``` + * @since v6.0.0 + */ + exitedAfterDisconnect: boolean; + /** + * events.EventEmitter + * 1. disconnect + * 2. error + * 3. exit + * 4. listening + * 5. message + * 6. online + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "disconnect", listener: () => void): this; + addListener(event: "error", listener: (error: Error) => void): this; + addListener(event: "exit", listener: (code: number, signal: string) => void): this; + addListener(event: "listening", listener: (address: Address) => void): this; + addListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + addListener(event: "online", listener: () => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "disconnect"): boolean; + emit(event: "error", error: Error): boolean; + emit(event: "exit", code: number, signal: string): boolean; + emit(event: "listening", address: Address): boolean; + emit(event: "message", message: any, handle: net.Socket | net.Server): boolean; + emit(event: "online"): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "disconnect", listener: () => void): this; + on(event: "error", listener: (error: Error) => void): this; + on(event: "exit", listener: (code: number, signal: string) => void): this; + on(event: "listening", listener: (address: Address) => void): this; + on(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + on(event: "online", listener: () => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "disconnect", listener: () => void): this; + once(event: "error", listener: (error: Error) => void): this; + once(event: "exit", listener: (code: number, signal: string) => void): this; + once(event: "listening", listener: (address: Address) => void): this; + once(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + once(event: "online", listener: () => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "disconnect", listener: () => void): this; + prependListener(event: "error", listener: (error: Error) => void): this; + prependListener(event: "exit", listener: (code: number, signal: string) => void): this; + prependListener(event: "listening", listener: (address: Address) => void): this; + prependListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + prependListener(event: "online", listener: () => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "disconnect", listener: () => void): this; + prependOnceListener(event: "error", listener: (error: Error) => void): this; + prependOnceListener(event: "exit", listener: (code: number, signal: string) => void): this; + prependOnceListener(event: "listening", listener: (address: Address) => void): this; + prependOnceListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + prependOnceListener(event: "online", listener: () => void): this; + } + export interface Cluster extends EventEmitter { + disconnect(callback?: () => void): void; + fork(env?: any): Worker; + /** @deprecated since v16.0.0 - use isPrimary. */ + readonly isMaster: boolean; + readonly isPrimary: boolean; + readonly isWorker: boolean; + schedulingPolicy: number; + readonly settings: ClusterSettings; + /** @deprecated since v16.0.0 - use setupPrimary. */ + setupMaster(settings?: ClusterSettings): void; + /** + * `setupPrimary` is used to change the default 'fork' behavior. Once called, the settings will be present in cluster.settings. + */ + setupPrimary(settings?: ClusterSettings): void; + readonly worker?: Worker | undefined; + readonly workers?: NodeJS.Dict | undefined; + readonly SCHED_NONE: number; + readonly SCHED_RR: number; + /** + * events.EventEmitter + * 1. disconnect + * 2. exit + * 3. fork + * 4. listening + * 5. message + * 6. online + * 7. setup + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "disconnect", listener: (worker: Worker) => void): this; + addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; + addListener(event: "fork", listener: (worker: Worker) => void): this; + addListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; + addListener( + event: "message", + listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void, + ): this; // the handle is a net.Socket or net.Server object, or undefined. + addListener(event: "online", listener: (worker: Worker) => void): this; + addListener(event: "setup", listener: (settings: ClusterSettings) => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "disconnect", worker: Worker): boolean; + emit(event: "exit", worker: Worker, code: number, signal: string): boolean; + emit(event: "fork", worker: Worker): boolean; + emit(event: "listening", worker: Worker, address: Address): boolean; + emit(event: "message", worker: Worker, message: any, handle: net.Socket | net.Server): boolean; + emit(event: "online", worker: Worker): boolean; + emit(event: "setup", settings: ClusterSettings): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "disconnect", listener: (worker: Worker) => void): this; + on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; + on(event: "fork", listener: (worker: Worker) => void): this; + on(event: "listening", listener: (worker: Worker, address: Address) => void): this; + on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + on(event: "online", listener: (worker: Worker) => void): this; + on(event: "setup", listener: (settings: ClusterSettings) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "disconnect", listener: (worker: Worker) => void): this; + once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; + once(event: "fork", listener: (worker: Worker) => void): this; + once(event: "listening", listener: (worker: Worker, address: Address) => void): this; + once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + once(event: "online", listener: (worker: Worker) => void): this; + once(event: "setup", listener: (settings: ClusterSettings) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "disconnect", listener: (worker: Worker) => void): this; + prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; + prependListener(event: "fork", listener: (worker: Worker) => void): this; + prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; + // the handle is a net.Socket or net.Server object, or undefined. + prependListener( + event: "message", + listener: (worker: Worker, message: any, handle?: net.Socket | net.Server) => void, + ): this; + prependListener(event: "online", listener: (worker: Worker) => void): this; + prependListener(event: "setup", listener: (settings: ClusterSettings) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): this; + prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; + prependOnceListener(event: "fork", listener: (worker: Worker) => void): this; + prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; + // the handle is a net.Socket or net.Server object, or undefined. + prependOnceListener( + event: "message", + listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void, + ): this; + prependOnceListener(event: "online", listener: (worker: Worker) => void): this; + prependOnceListener(event: "setup", listener: (settings: ClusterSettings) => void): this; + } + const cluster: Cluster; + export default cluster; +} +declare module "node:cluster" { + export * from "cluster"; + export { default as default } from "cluster"; +} diff --git a/node_modules/@types/node/console.d.ts b/node_modules/@types/node/console.d.ts new file mode 100644 index 000000000..bcc345042 --- /dev/null +++ b/node_modules/@types/node/console.d.ts @@ -0,0 +1,415 @@ +/** + * The `node:console` module provides a simple debugging console that is similar to + * the JavaScript console mechanism provided by web browsers. + * + * The module exports two specific components: + * + * * A `Console` class with methods such as `console.log()`, `console.error()`, and`console.warn()` that can be used to write to any Node.js stream. + * * A global `console` instance configured to write to `process.stdout` and `process.stderr`. The global `console` can be used without calling`require('node:console')`. + * + * _**Warning**_: The global console object's methods are neither consistently + * synchronous like the browser APIs they resemble, nor are they consistently + * asynchronous like all other Node.js streams. See the `note on process I/O` for + * more information. + * + * Example using the global `console`: + * + * ```js + * console.log('hello world'); + * // Prints: hello world, to stdout + * console.log('hello %s', 'world'); + * // Prints: hello world, to stdout + * console.error(new Error('Whoops, something bad happened')); + * // Prints error message and stack trace to stderr: + * // Error: Whoops, something bad happened + * // at [eval]:5:15 + * // at Script.runInThisContext (node:vm:132:18) + * // at Object.runInThisContext (node:vm:309:38) + * // at node:internal/process/execution:77:19 + * // at [eval]-wrapper:6:22 + * // at evalScript (node:internal/process/execution:76:60) + * // at node:internal/main/eval_string:23:3 + * + * const name = 'Will Robinson'; + * console.warn(`Danger ${name}! Danger!`); + * // Prints: Danger Will Robinson! Danger!, to stderr + * ``` + * + * Example using the `Console` class: + * + * ```js + * const out = getStreamSomehow(); + * const err = getStreamSomehow(); + * const myConsole = new console.Console(out, err); + * + * myConsole.log('hello world'); + * // Prints: hello world, to out + * myConsole.log('hello %s', 'world'); + * // Prints: hello world, to out + * myConsole.error(new Error('Whoops, something bad happened')); + * // Prints: [Error: Whoops, something bad happened], to err + * + * const name = 'Will Robinson'; + * myConsole.warn(`Danger ${name}! Danger!`); + * // Prints: Danger Will Robinson! Danger!, to err + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/console.js) + */ +declare module "console" { + import console = require("node:console"); + export = console; +} +declare module "node:console" { + import { InspectOptions } from "node:util"; + global { + // This needs to be global to avoid TS2403 in case lib.dom.d.ts is present in the same build + interface Console { + Console: console.ConsoleConstructor; + /** + * `console.assert()` writes a message if `value` is [falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy) or omitted. It only + * writes a message and does not otherwise affect execution. The output always + * starts with `"Assertion failed"`. If provided, `message` is formatted using `util.format()`. + * + * If `value` is [truthy](https://developer.mozilla.org/en-US/docs/Glossary/Truthy), nothing happens. + * + * ```js + * console.assert(true, 'does nothing'); + * + * console.assert(false, 'Whoops %s work', 'didn\'t'); + * // Assertion failed: Whoops didn't work + * + * console.assert(); + * // Assertion failed + * ``` + * @since v0.1.101 + * @param value The value tested for being truthy. + * @param message All arguments besides `value` are used as error message. + */ + assert(value: any, message?: string, ...optionalParams: any[]): void; + /** + * When `stdout` is a TTY, calling `console.clear()` will attempt to clear the + * TTY. When `stdout` is not a TTY, this method does nothing. + * + * The specific operation of `console.clear()` can vary across operating systems + * and terminal types. For most Linux operating systems, `console.clear()`operates similarly to the `clear` shell command. On Windows, `console.clear()`will clear only the output in the + * current terminal viewport for the Node.js + * binary. + * @since v8.3.0 + */ + clear(): void; + /** + * Maintains an internal counter specific to `label` and outputs to `stdout` the + * number of times `console.count()` has been called with the given `label`. + * + * ```js + * > console.count() + * default: 1 + * undefined + * > console.count('default') + * default: 2 + * undefined + * > console.count('abc') + * abc: 1 + * undefined + * > console.count('xyz') + * xyz: 1 + * undefined + * > console.count('abc') + * abc: 2 + * undefined + * > console.count() + * default: 3 + * undefined + * > + * ``` + * @since v8.3.0 + * @param [label='default'] The display label for the counter. + */ + count(label?: string): void; + /** + * Resets the internal counter specific to `label`. + * + * ```js + * > console.count('abc'); + * abc: 1 + * undefined + * > console.countReset('abc'); + * undefined + * > console.count('abc'); + * abc: 1 + * undefined + * > + * ``` + * @since v8.3.0 + * @param [label='default'] The display label for the counter. + */ + countReset(label?: string): void; + /** + * The `console.debug()` function is an alias for {@link log}. + * @since v8.0.0 + */ + debug(message?: any, ...optionalParams: any[]): void; + /** + * Uses `util.inspect()` on `obj` and prints the resulting string to `stdout`. + * This function bypasses any custom `inspect()` function defined on `obj`. + * @since v0.1.101 + */ + dir(obj: any, options?: InspectOptions): void; + /** + * This method calls `console.log()` passing it the arguments received. + * This method does not produce any XML formatting. + * @since v8.0.0 + */ + dirxml(...data: any[]): void; + /** + * Prints to `stderr` with newline. Multiple arguments can be passed, with the + * first used as the primary message and all additional used as substitution + * values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html) (the arguments are all passed to `util.format()`). + * + * ```js + * const code = 5; + * console.error('error #%d', code); + * // Prints: error #5, to stderr + * console.error('error', code); + * // Prints: error 5, to stderr + * ``` + * + * If formatting elements (e.g. `%d`) are not found in the first string then `util.inspect()` is called on each argument and the resulting string + * values are concatenated. See `util.format()` for more information. + * @since v0.1.100 + */ + error(message?: any, ...optionalParams: any[]): void; + /** + * Increases indentation of subsequent lines by spaces for `groupIndentation`length. + * + * If one or more `label`s are provided, those are printed first without the + * additional indentation. + * @since v8.5.0 + */ + group(...label: any[]): void; + /** + * An alias for {@link group}. + * @since v8.5.0 + */ + groupCollapsed(...label: any[]): void; + /** + * Decreases indentation of subsequent lines by spaces for `groupIndentation`length. + * @since v8.5.0 + */ + groupEnd(): void; + /** + * The `console.info()` function is an alias for {@link log}. + * @since v0.1.100 + */ + info(message?: any, ...optionalParams: any[]): void; + /** + * Prints to `stdout` with newline. Multiple arguments can be passed, with the + * first used as the primary message and all additional used as substitution + * values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html) (the arguments are all passed to `util.format()`). + * + * ```js + * const count = 5; + * console.log('count: %d', count); + * // Prints: count: 5, to stdout + * console.log('count:', count); + * // Prints: count: 5, to stdout + * ``` + * + * See `util.format()` for more information. + * @since v0.1.100 + */ + log(message?: any, ...optionalParams: any[]): void; + /** + * Try to construct a table with the columns of the properties of `tabularData`(or use `properties`) and rows of `tabularData` and log it. Falls back to just + * logging the argument if it can't be parsed as tabular. + * + * ```js + * // These can't be parsed as tabular data + * console.table(Symbol()); + * // Symbol() + * + * console.table(undefined); + * // undefined + * + * console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }]); + * // ┌─────────┬─────┬─────┐ + * // │ (index) │ a │ b │ + * // ├─────────┼─────┼─────┤ + * // │ 0 │ 1 │ 'Y' │ + * // │ 1 │ 'Z' │ 2 │ + * // └─────────┴─────┴─────┘ + * + * console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }], ['a']); + * // ┌─────────┬─────┐ + * // │ (index) │ a │ + * // ├─────────┼─────┤ + * // │ 0 │ 1 │ + * // │ 1 │ 'Z' │ + * // └─────────┴─────┘ + * ``` + * @since v10.0.0 + * @param properties Alternate properties for constructing the table. + */ + table(tabularData: any, properties?: readonly string[]): void; + /** + * Starts a timer that can be used to compute the duration of an operation. Timers + * are identified by a unique `label`. Use the same `label` when calling {@link timeEnd} to stop the timer and output the elapsed time in + * suitable time units to `stdout`. For example, if the elapsed + * time is 3869ms, `console.timeEnd()` displays "3.869s". + * @since v0.1.104 + * @param [label='default'] + */ + time(label?: string): void; + /** + * Stops a timer that was previously started by calling {@link time} and + * prints the result to `stdout`: + * + * ```js + * console.time('bunch-of-stuff'); + * // Do a bunch of stuff. + * console.timeEnd('bunch-of-stuff'); + * // Prints: bunch-of-stuff: 225.438ms + * ``` + * @since v0.1.104 + * @param [label='default'] + */ + timeEnd(label?: string): void; + /** + * For a timer that was previously started by calling {@link time}, prints + * the elapsed time and other `data` arguments to `stdout`: + * + * ```js + * console.time('process'); + * const value = expensiveProcess1(); // Returns 42 + * console.timeLog('process', value); + * // Prints "process: 365.227ms 42". + * doExpensiveProcess2(value); + * console.timeEnd('process'); + * ``` + * @since v10.7.0 + * @param [label='default'] + */ + timeLog(label?: string, ...data: any[]): void; + /** + * Prints to `stderr` the string `'Trace: '`, followed by the `util.format()` formatted message and stack trace to the current position in the code. + * + * ```js + * console.trace('Show me'); + * // Prints: (stack trace will vary based on where trace is called) + * // Trace: Show me + * // at repl:2:9 + * // at REPLServer.defaultEval (repl.js:248:27) + * // at bound (domain.js:287:14) + * // at REPLServer.runBound [as eval] (domain.js:300:12) + * // at REPLServer. (repl.js:412:12) + * // at emitOne (events.js:82:20) + * // at REPLServer.emit (events.js:169:7) + * // at REPLServer.Interface._onLine (readline.js:210:10) + * // at REPLServer.Interface._line (readline.js:549:8) + * // at REPLServer.Interface._ttyWrite (readline.js:826:14) + * ``` + * @since v0.1.104 + */ + trace(message?: any, ...optionalParams: any[]): void; + /** + * The `console.warn()` function is an alias for {@link error}. + * @since v0.1.100 + */ + warn(message?: any, ...optionalParams: any[]): void; + // --- Inspector mode only --- + /** + * This method does not display anything unless used in the inspector. + * Starts a JavaScript CPU profile with an optional label. + */ + profile(label?: string): void; + /** + * This method does not display anything unless used in the inspector. + * Stops the current JavaScript CPU profiling session if one has been started and prints the report to the Profiles panel of the inspector. + */ + profileEnd(label?: string): void; + /** + * This method does not display anything unless used in the inspector. + * Adds an event with the label `label` to the Timeline panel of the inspector. + */ + timeStamp(label?: string): void; + } + /** + * The `console` module provides a simple debugging console that is similar to the + * JavaScript console mechanism provided by web browsers. + * + * The module exports two specific components: + * + * * A `Console` class with methods such as `console.log()`, `console.error()` and`console.warn()` that can be used to write to any Node.js stream. + * * A global `console` instance configured to write to `process.stdout` and `process.stderr`. The global `console` can be used without calling`require('console')`. + * + * _**Warning**_: The global console object's methods are neither consistently + * synchronous like the browser APIs they resemble, nor are they consistently + * asynchronous like all other Node.js streams. See the `note on process I/O` for + * more information. + * + * Example using the global `console`: + * + * ```js + * console.log('hello world'); + * // Prints: hello world, to stdout + * console.log('hello %s', 'world'); + * // Prints: hello world, to stdout + * console.error(new Error('Whoops, something bad happened')); + * // Prints error message and stack trace to stderr: + * // Error: Whoops, something bad happened + * // at [eval]:5:15 + * // at Script.runInThisContext (node:vm:132:18) + * // at Object.runInThisContext (node:vm:309:38) + * // at node:internal/process/execution:77:19 + * // at [eval]-wrapper:6:22 + * // at evalScript (node:internal/process/execution:76:60) + * // at node:internal/main/eval_string:23:3 + * + * const name = 'Will Robinson'; + * console.warn(`Danger ${name}! Danger!`); + * // Prints: Danger Will Robinson! Danger!, to stderr + * ``` + * + * Example using the `Console` class: + * + * ```js + * const out = getStreamSomehow(); + * const err = getStreamSomehow(); + * const myConsole = new console.Console(out, err); + * + * myConsole.log('hello world'); + * // Prints: hello world, to out + * myConsole.log('hello %s', 'world'); + * // Prints: hello world, to out + * myConsole.error(new Error('Whoops, something bad happened')); + * // Prints: [Error: Whoops, something bad happened], to err + * + * const name = 'Will Robinson'; + * myConsole.warn(`Danger ${name}! Danger!`); + * // Prints: Danger Will Robinson! Danger!, to err + * ``` + * @see [source](https://github.com/nodejs/node/blob/v16.4.2/lib/console.js) + */ + namespace console { + interface ConsoleConstructorOptions { + stdout: NodeJS.WritableStream; + stderr?: NodeJS.WritableStream | undefined; + ignoreErrors?: boolean | undefined; + colorMode?: boolean | "auto" | undefined; + inspectOptions?: InspectOptions | undefined; + /** + * Set group indentation + * @default 2 + */ + groupIndentation?: number | undefined; + } + interface ConsoleConstructor { + prototype: Console; + new(stdout: NodeJS.WritableStream, stderr?: NodeJS.WritableStream, ignoreErrors?: boolean): Console; + new(options: ConsoleConstructorOptions): Console; + } + } + var console: Console; + } + export = globalThis.console; +} diff --git a/node_modules/@types/node/constants.d.ts b/node_modules/@types/node/constants.d.ts new file mode 100644 index 000000000..c3ac2b826 --- /dev/null +++ b/node_modules/@types/node/constants.d.ts @@ -0,0 +1,19 @@ +/** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */ +declare module "constants" { + import { constants as osConstants, SignalConstants } from "node:os"; + import { constants as cryptoConstants } from "node:crypto"; + import { constants as fsConstants } from "node:fs"; + + const exp: + & typeof osConstants.errno + & typeof osConstants.priority + & SignalConstants + & typeof cryptoConstants + & typeof fsConstants; + export = exp; +} + +declare module "node:constants" { + import constants = require("constants"); + export = constants; +} diff --git a/node_modules/@types/node/crypto.d.ts b/node_modules/@types/node/crypto.d.ts new file mode 100644 index 000000000..e847507f2 --- /dev/null +++ b/node_modules/@types/node/crypto.d.ts @@ -0,0 +1,4462 @@ +/** + * The `node:crypto` module provides cryptographic functionality that includes a + * set of wrappers for OpenSSL's hash, HMAC, cipher, decipher, sign, and verify + * functions. + * + * ```js + * const { createHmac } = await import('node:crypto'); + * + * const secret = 'abcdefg'; + * const hash = createHmac('sha256', secret) + * .update('I love cupcakes') + * .digest('hex'); + * console.log(hash); + * // Prints: + * // c0fa1bc00531bd78ef38c628449c5102aeabd49b5dc3a2a516ea6ea959d6658e + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/crypto.js) + */ +declare module "crypto" { + import * as stream from "node:stream"; + import { PeerCertificate } from "node:tls"; + /** + * SPKAC is a Certificate Signing Request mechanism originally implemented by + * Netscape and was specified formally as part of HTML5's `keygen` element. + * + * `` is deprecated since [HTML 5.2](https://www.w3.org/TR/html52/changes.html#features-removed) and new projects + * should not use this element anymore. + * + * The `node:crypto` module provides the `Certificate` class for working with SPKAC + * data. The most common usage is handling output generated by the HTML5`` element. Node.js uses [OpenSSL's SPKAC + * implementation](https://www.openssl.org/docs/man3.0/man1/openssl-spkac.html) internally. + * @since v0.11.8 + */ + class Certificate { + /** + * ```js + * const { Certificate } = await import('node:crypto'); + * const spkac = getSpkacSomehow(); + * const challenge = Certificate.exportChallenge(spkac); + * console.log(challenge.toString('utf8')); + * // Prints: the challenge as a UTF8 string + * ``` + * @since v9.0.0 + * @param encoding The `encoding` of the `spkac` string. + * @return The challenge component of the `spkac` data structure, which includes a public key and a challenge. + */ + static exportChallenge(spkac: BinaryLike): Buffer; + /** + * ```js + * const { Certificate } = await import('node:crypto'); + * const spkac = getSpkacSomehow(); + * const publicKey = Certificate.exportPublicKey(spkac); + * console.log(publicKey); + * // Prints: the public key as + * ``` + * @since v9.0.0 + * @param encoding The `encoding` of the `spkac` string. + * @return The public key component of the `spkac` data structure, which includes a public key and a challenge. + */ + static exportPublicKey(spkac: BinaryLike, encoding?: string): Buffer; + /** + * ```js + * import { Buffer } from 'node:buffer'; + * const { Certificate } = await import('node:crypto'); + * + * const spkac = getSpkacSomehow(); + * console.log(Certificate.verifySpkac(Buffer.from(spkac))); + * // Prints: true or false + * ``` + * @since v9.0.0 + * @param encoding The `encoding` of the `spkac` string. + * @return `true` if the given `spkac` data structure is valid, `false` otherwise. + */ + static verifySpkac(spkac: NodeJS.ArrayBufferView): boolean; + /** + * @deprecated + * @param spkac + * @returns The challenge component of the `spkac` data structure, + * which includes a public key and a challenge. + */ + exportChallenge(spkac: BinaryLike): Buffer; + /** + * @deprecated + * @param spkac + * @param encoding The encoding of the spkac string. + * @returns The public key component of the `spkac` data structure, + * which includes a public key and a challenge. + */ + exportPublicKey(spkac: BinaryLike, encoding?: string): Buffer; + /** + * @deprecated + * @param spkac + * @returns `true` if the given `spkac` data structure is valid, + * `false` otherwise. + */ + verifySpkac(spkac: NodeJS.ArrayBufferView): boolean; + } + namespace constants { + // https://nodejs.org/dist/latest-v20.x/docs/api/crypto.html#crypto-constants + const OPENSSL_VERSION_NUMBER: number; + /** Applies multiple bug workarounds within OpenSSL. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html for detail. */ + const SSL_OP_ALL: number; + /** Allows legacy insecure renegotiation between OpenSSL and unpatched clients or servers. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html. */ + const SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number; + /** Attempts to use the server's preferences instead of the client's when selecting a cipher. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html. */ + const SSL_OP_CIPHER_SERVER_PREFERENCE: number; + /** Instructs OpenSSL to use Cisco's "speshul" version of DTLS_BAD_VER. */ + const SSL_OP_CISCO_ANYCONNECT: number; + /** Instructs OpenSSL to turn on cookie exchange. */ + const SSL_OP_COOKIE_EXCHANGE: number; + /** Instructs OpenSSL to add server-hello extension from an early version of the cryptopro draft. */ + const SSL_OP_CRYPTOPRO_TLSEXT_BUG: number; + /** Instructs OpenSSL to disable a SSL 3.0/TLS 1.0 vulnerability workaround added in OpenSSL 0.9.6d. */ + const SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: number; + /** Allows initial connection to servers that do not support RI. */ + const SSL_OP_LEGACY_SERVER_CONNECT: number; + /** Instructs OpenSSL to disable support for SSL/TLS compression. */ + const SSL_OP_NO_COMPRESSION: number; + const SSL_OP_NO_QUERY_MTU: number; + /** Instructs OpenSSL to always start a new session when performing renegotiation. */ + const SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: number; + const SSL_OP_NO_SSLv2: number; + const SSL_OP_NO_SSLv3: number; + const SSL_OP_NO_TICKET: number; + const SSL_OP_NO_TLSv1: number; + const SSL_OP_NO_TLSv1_1: number; + const SSL_OP_NO_TLSv1_2: number; + /** Instructs OpenSSL to disable version rollback attack detection. */ + const SSL_OP_TLS_ROLLBACK_BUG: number; + const ENGINE_METHOD_RSA: number; + const ENGINE_METHOD_DSA: number; + const ENGINE_METHOD_DH: number; + const ENGINE_METHOD_RAND: number; + const ENGINE_METHOD_EC: number; + const ENGINE_METHOD_CIPHERS: number; + const ENGINE_METHOD_DIGESTS: number; + const ENGINE_METHOD_PKEY_METHS: number; + const ENGINE_METHOD_PKEY_ASN1_METHS: number; + const ENGINE_METHOD_ALL: number; + const ENGINE_METHOD_NONE: number; + const DH_CHECK_P_NOT_SAFE_PRIME: number; + const DH_CHECK_P_NOT_PRIME: number; + const DH_UNABLE_TO_CHECK_GENERATOR: number; + const DH_NOT_SUITABLE_GENERATOR: number; + const RSA_PKCS1_PADDING: number; + const RSA_SSLV23_PADDING: number; + const RSA_NO_PADDING: number; + const RSA_PKCS1_OAEP_PADDING: number; + const RSA_X931_PADDING: number; + const RSA_PKCS1_PSS_PADDING: number; + /** Sets the salt length for RSA_PKCS1_PSS_PADDING to the digest size when signing or verifying. */ + const RSA_PSS_SALTLEN_DIGEST: number; + /** Sets the salt length for RSA_PKCS1_PSS_PADDING to the maximum permissible value when signing data. */ + const RSA_PSS_SALTLEN_MAX_SIGN: number; + /** Causes the salt length for RSA_PKCS1_PSS_PADDING to be determined automatically when verifying a signature. */ + const RSA_PSS_SALTLEN_AUTO: number; + const POINT_CONVERSION_COMPRESSED: number; + const POINT_CONVERSION_UNCOMPRESSED: number; + const POINT_CONVERSION_HYBRID: number; + /** Specifies the built-in default cipher list used by Node.js (colon-separated values). */ + const defaultCoreCipherList: string; + /** Specifies the active default cipher list used by the current Node.js process (colon-separated values). */ + const defaultCipherList: string; + } + interface HashOptions extends stream.TransformOptions { + /** + * For XOF hash functions such as `shake256`, the + * outputLength option can be used to specify the desired output length in bytes. + */ + outputLength?: number | undefined; + } + /** @deprecated since v10.0.0 */ + const fips: boolean; + /** + * Creates and returns a `Hash` object that can be used to generate hash digests + * using the given `algorithm`. Optional `options` argument controls stream + * behavior. For XOF hash functions such as `'shake256'`, the `outputLength` option + * can be used to specify the desired output length in bytes. + * + * The `algorithm` is dependent on the available algorithms supported by the + * version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. + * On recent releases of OpenSSL, `openssl list -digest-algorithms` will + * display the available digest algorithms. + * + * Example: generating the sha256 sum of a file + * + * ```js + * import { + * createReadStream, + * } from 'node:fs'; + * import { argv } from 'node:process'; + * const { + * createHash, + * } = await import('node:crypto'); + * + * const filename = argv[2]; + * + * const hash = createHash('sha256'); + * + * const input = createReadStream(filename); + * input.on('readable', () => { + * // Only one element is going to be produced by the + * // hash stream. + * const data = input.read(); + * if (data) + * hash.update(data); + * else { + * console.log(`${hash.digest('hex')} ${filename}`); + * } + * }); + * ``` + * @since v0.1.92 + * @param options `stream.transform` options + */ + function createHash(algorithm: string, options?: HashOptions): Hash; + /** + * Creates and returns an `Hmac` object that uses the given `algorithm` and `key`. + * Optional `options` argument controls stream behavior. + * + * The `algorithm` is dependent on the available algorithms supported by the + * version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. + * On recent releases of OpenSSL, `openssl list -digest-algorithms` will + * display the available digest algorithms. + * + * The `key` is the HMAC key used to generate the cryptographic HMAC hash. If it is + * a `KeyObject`, its type must be `secret`. If it is a string, please consider `caveats when using strings as inputs to cryptographic APIs`. If it was + * obtained from a cryptographically secure source of entropy, such as {@link randomBytes} or {@link generateKey}, its length should not + * exceed the block size of `algorithm` (e.g., 512 bits for SHA-256). + * + * Example: generating the sha256 HMAC of a file + * + * ```js + * import { + * createReadStream, + * } from 'node:fs'; + * import { argv } from 'node:process'; + * const { + * createHmac, + * } = await import('node:crypto'); + * + * const filename = argv[2]; + * + * const hmac = createHmac('sha256', 'a secret'); + * + * const input = createReadStream(filename); + * input.on('readable', () => { + * // Only one element is going to be produced by the + * // hash stream. + * const data = input.read(); + * if (data) + * hmac.update(data); + * else { + * console.log(`${hmac.digest('hex')} ${filename}`); + * } + * }); + * ``` + * @since v0.1.94 + * @param options `stream.transform` options + */ + function createHmac(algorithm: string, key: BinaryLike | KeyObject, options?: stream.TransformOptions): Hmac; + // https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings + type BinaryToTextEncoding = "base64" | "base64url" | "hex" | "binary"; + type CharacterEncoding = "utf8" | "utf-8" | "utf16le" | "utf-16le" | "latin1"; + type LegacyCharacterEncoding = "ascii" | "binary" | "ucs2" | "ucs-2"; + type Encoding = BinaryToTextEncoding | CharacterEncoding | LegacyCharacterEncoding; + type ECDHKeyFormat = "compressed" | "uncompressed" | "hybrid"; + /** + * The `Hash` class is a utility for creating hash digests of data. It can be + * used in one of two ways: + * + * * As a `stream` that is both readable and writable, where data is written + * to produce a computed hash digest on the readable side, or + * * Using the `hash.update()` and `hash.digest()` methods to produce the + * computed hash. + * + * The {@link createHash} method is used to create `Hash` instances. `Hash`objects are not to be created directly using the `new` keyword. + * + * Example: Using `Hash` objects as streams: + * + * ```js + * const { + * createHash, + * } = await import('node:crypto'); + * + * const hash = createHash('sha256'); + * + * hash.on('readable', () => { + * // Only one element is going to be produced by the + * // hash stream. + * const data = hash.read(); + * if (data) { + * console.log(data.toString('hex')); + * // Prints: + * // 6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50 + * } + * }); + * + * hash.write('some data to hash'); + * hash.end(); + * ``` + * + * Example: Using `Hash` and piped streams: + * + * ```js + * import { createReadStream } from 'node:fs'; + * import { stdout } from 'node:process'; + * const { createHash } = await import('node:crypto'); + * + * const hash = createHash('sha256'); + * + * const input = createReadStream('test.js'); + * input.pipe(hash).setEncoding('hex').pipe(stdout); + * ``` + * + * Example: Using the `hash.update()` and `hash.digest()` methods: + * + * ```js + * const { + * createHash, + * } = await import('node:crypto'); + * + * const hash = createHash('sha256'); + * + * hash.update('some data to hash'); + * console.log(hash.digest('hex')); + * // Prints: + * // 6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50 + * ``` + * @since v0.1.92 + */ + class Hash extends stream.Transform { + private constructor(); + /** + * Creates a new `Hash` object that contains a deep copy of the internal state + * of the current `Hash` object. + * + * The optional `options` argument controls stream behavior. For XOF hash + * functions such as `'shake256'`, the `outputLength` option can be used to + * specify the desired output length in bytes. + * + * An error is thrown when an attempt is made to copy the `Hash` object after + * its `hash.digest()` method has been called. + * + * ```js + * // Calculate a rolling hash. + * const { + * createHash, + * } = await import('node:crypto'); + * + * const hash = createHash('sha256'); + * + * hash.update('one'); + * console.log(hash.copy().digest('hex')); + * + * hash.update('two'); + * console.log(hash.copy().digest('hex')); + * + * hash.update('three'); + * console.log(hash.copy().digest('hex')); + * + * // Etc. + * ``` + * @since v13.1.0 + * @param options `stream.transform` options + */ + copy(options?: stream.TransformOptions): Hash; + /** + * Updates the hash content with the given `data`, the encoding of which + * is given in `inputEncoding`. + * If `encoding` is not provided, and the `data` is a string, an + * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. + * + * This can be called many times with new data as it is streamed. + * @since v0.1.92 + * @param inputEncoding The `encoding` of the `data` string. + */ + update(data: BinaryLike): Hash; + update(data: string, inputEncoding: Encoding): Hash; + /** + * Calculates the digest of all of the data passed to be hashed (using the `hash.update()` method). + * If `encoding` is provided a string will be returned; otherwise + * a `Buffer` is returned. + * + * The `Hash` object can not be used again after `hash.digest()` method has been + * called. Multiple calls will cause an error to be thrown. + * @since v0.1.92 + * @param encoding The `encoding` of the return value. + */ + digest(): Buffer; + digest(encoding: BinaryToTextEncoding): string; + } + /** + * The `Hmac` class is a utility for creating cryptographic HMAC digests. It can + * be used in one of two ways: + * + * * As a `stream` that is both readable and writable, where data is written + * to produce a computed HMAC digest on the readable side, or + * * Using the `hmac.update()` and `hmac.digest()` methods to produce the + * computed HMAC digest. + * + * The {@link createHmac} method is used to create `Hmac` instances. `Hmac`objects are not to be created directly using the `new` keyword. + * + * Example: Using `Hmac` objects as streams: + * + * ```js + * const { + * createHmac, + * } = await import('node:crypto'); + * + * const hmac = createHmac('sha256', 'a secret'); + * + * hmac.on('readable', () => { + * // Only one element is going to be produced by the + * // hash stream. + * const data = hmac.read(); + * if (data) { + * console.log(data.toString('hex')); + * // Prints: + * // 7fd04df92f636fd450bc841c9418e5825c17f33ad9c87c518115a45971f7f77e + * } + * }); + * + * hmac.write('some data to hash'); + * hmac.end(); + * ``` + * + * Example: Using `Hmac` and piped streams: + * + * ```js + * import { createReadStream } from 'node:fs'; + * import { stdout } from 'node:process'; + * const { + * createHmac, + * } = await import('node:crypto'); + * + * const hmac = createHmac('sha256', 'a secret'); + * + * const input = createReadStream('test.js'); + * input.pipe(hmac).pipe(stdout); + * ``` + * + * Example: Using the `hmac.update()` and `hmac.digest()` methods: + * + * ```js + * const { + * createHmac, + * } = await import('node:crypto'); + * + * const hmac = createHmac('sha256', 'a secret'); + * + * hmac.update('some data to hash'); + * console.log(hmac.digest('hex')); + * // Prints: + * // 7fd04df92f636fd450bc841c9418e5825c17f33ad9c87c518115a45971f7f77e + * ``` + * @since v0.1.94 + */ + class Hmac extends stream.Transform { + private constructor(); + /** + * Updates the `Hmac` content with the given `data`, the encoding of which + * is given in `inputEncoding`. + * If `encoding` is not provided, and the `data` is a string, an + * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. + * + * This can be called many times with new data as it is streamed. + * @since v0.1.94 + * @param inputEncoding The `encoding` of the `data` string. + */ + update(data: BinaryLike): Hmac; + update(data: string, inputEncoding: Encoding): Hmac; + /** + * Calculates the HMAC digest of all of the data passed using `hmac.update()`. + * If `encoding` is + * provided a string is returned; otherwise a `Buffer` is returned; + * + * The `Hmac` object can not be used again after `hmac.digest()` has been + * called. Multiple calls to `hmac.digest()` will result in an error being thrown. + * @since v0.1.94 + * @param encoding The `encoding` of the return value. + */ + digest(): Buffer; + digest(encoding: BinaryToTextEncoding): string; + } + type KeyObjectType = "secret" | "public" | "private"; + interface KeyExportOptions { + type: "pkcs1" | "spki" | "pkcs8" | "sec1"; + format: T; + cipher?: string | undefined; + passphrase?: string | Buffer | undefined; + } + interface JwkKeyExportOptions { + format: "jwk"; + } + interface JsonWebKey { + crv?: string | undefined; + d?: string | undefined; + dp?: string | undefined; + dq?: string | undefined; + e?: string | undefined; + k?: string | undefined; + kty?: string | undefined; + n?: string | undefined; + p?: string | undefined; + q?: string | undefined; + qi?: string | undefined; + x?: string | undefined; + y?: string | undefined; + [key: string]: unknown; + } + interface AsymmetricKeyDetails { + /** + * Key size in bits (RSA, DSA). + */ + modulusLength?: number | undefined; + /** + * Public exponent (RSA). + */ + publicExponent?: bigint | undefined; + /** + * Name of the message digest (RSA-PSS). + */ + hashAlgorithm?: string | undefined; + /** + * Name of the message digest used by MGF1 (RSA-PSS). + */ + mgf1HashAlgorithm?: string | undefined; + /** + * Minimal salt length in bytes (RSA-PSS). + */ + saltLength?: number | undefined; + /** + * Size of q in bits (DSA). + */ + divisorLength?: number | undefined; + /** + * Name of the curve (EC). + */ + namedCurve?: string | undefined; + } + /** + * Node.js uses a `KeyObject` class to represent a symmetric or asymmetric key, + * and each kind of key exposes different functions. The {@link createSecretKey}, {@link createPublicKey} and {@link createPrivateKey} methods are used to create `KeyObject`instances. `KeyObject` + * objects are not to be created directly using the `new`keyword. + * + * Most applications should consider using the new `KeyObject` API instead of + * passing keys as strings or `Buffer`s due to improved security features. + * + * `KeyObject` instances can be passed to other threads via `postMessage()`. + * The receiver obtains a cloned `KeyObject`, and the `KeyObject` does not need to + * be listed in the `transferList` argument. + * @since v11.6.0 + */ + class KeyObject { + private constructor(); + /** + * Example: Converting a `CryptoKey` instance to a `KeyObject`: + * + * ```js + * const { KeyObject } = await import('node:crypto'); + * const { subtle } = globalThis.crypto; + * + * const key = await subtle.generateKey({ + * name: 'HMAC', + * hash: 'SHA-256', + * length: 256, + * }, true, ['sign', 'verify']); + * + * const keyObject = KeyObject.from(key); + * console.log(keyObject.symmetricKeySize); + * // Prints: 32 (symmetric key size in bytes) + * ``` + * @since v15.0.0 + */ + static from(key: webcrypto.CryptoKey): KeyObject; + /** + * For asymmetric keys, this property represents the type of the key. Supported key + * types are: + * + * * `'rsa'` (OID 1.2.840.113549.1.1.1) + * * `'rsa-pss'` (OID 1.2.840.113549.1.1.10) + * * `'dsa'` (OID 1.2.840.10040.4.1) + * * `'ec'` (OID 1.2.840.10045.2.1) + * * `'x25519'` (OID 1.3.101.110) + * * `'x448'` (OID 1.3.101.111) + * * `'ed25519'` (OID 1.3.101.112) + * * `'ed448'` (OID 1.3.101.113) + * * `'dh'` (OID 1.2.840.113549.1.3.1) + * + * This property is `undefined` for unrecognized `KeyObject` types and symmetric + * keys. + * @since v11.6.0 + */ + asymmetricKeyType?: KeyType | undefined; + /** + * For asymmetric keys, this property represents the size of the embedded key in + * bytes. This property is `undefined` for symmetric keys. + */ + asymmetricKeySize?: number | undefined; + /** + * This property exists only on asymmetric keys. Depending on the type of the key, + * this object contains information about the key. None of the information obtained + * through this property can be used to uniquely identify a key or to compromise + * the security of the key. + * + * For RSA-PSS keys, if the key material contains a `RSASSA-PSS-params` sequence, + * the `hashAlgorithm`, `mgf1HashAlgorithm`, and `saltLength` properties will be + * set. + * + * Other key details might be exposed via this API using additional attributes. + * @since v15.7.0 + */ + asymmetricKeyDetails?: AsymmetricKeyDetails | undefined; + /** + * For symmetric keys, the following encoding options can be used: + * + * For public keys, the following encoding options can be used: + * + * For private keys, the following encoding options can be used: + * + * The result type depends on the selected encoding format, when PEM the + * result is a string, when DER it will be a buffer containing the data + * encoded as DER, when [JWK](https://tools.ietf.org/html/rfc7517) it will be an object. + * + * When [JWK](https://tools.ietf.org/html/rfc7517) encoding format was selected, all other encoding options are + * ignored. + * + * PKCS#1, SEC1, and PKCS#8 type keys can be encrypted by using a combination of + * the `cipher` and `format` options. The PKCS#8 `type` can be used with any`format` to encrypt any key algorithm (RSA, EC, or DH) by specifying a`cipher`. PKCS#1 and SEC1 can only be + * encrypted by specifying a `cipher`when the PEM `format` is used. For maximum compatibility, use PKCS#8 for + * encrypted private keys. Since PKCS#8 defines its own + * encryption mechanism, PEM-level encryption is not supported when encrypting + * a PKCS#8 key. See [RFC 5208](https://www.rfc-editor.org/rfc/rfc5208.txt) for PKCS#8 encryption and [RFC 1421](https://www.rfc-editor.org/rfc/rfc1421.txt) for + * PKCS#1 and SEC1 encryption. + * @since v11.6.0 + */ + export(options: KeyExportOptions<"pem">): string | Buffer; + export(options?: KeyExportOptions<"der">): Buffer; + export(options?: JwkKeyExportOptions): JsonWebKey; + /** + * Returns `true` or `false` depending on whether the keys have exactly the same type, value, and parameters. + * This method is not [constant time](https://en.wikipedia.org/wiki/Timing_attack). + * @since v16.15.0 + */ + equals(otherKeyObject: KeyObject): boolean; + /** + * For secret keys, this property represents the size of the key in bytes. This + * property is `undefined` for asymmetric keys. + * @since v11.6.0 + */ + symmetricKeySize?: number | undefined; + /** + * Depending on the type of this `KeyObject`, this property is either`'secret'` for secret (symmetric) keys, `'public'` for public (asymmetric) keys + * or `'private'` for private (asymmetric) keys. + * @since v11.6.0 + */ + type: KeyObjectType; + } + type CipherCCMTypes = "aes-128-ccm" | "aes-192-ccm" | "aes-256-ccm" | "chacha20-poly1305"; + type CipherGCMTypes = "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm"; + type CipherOCBTypes = "aes-128-ocb" | "aes-192-ocb" | "aes-256-ocb"; + type BinaryLike = string | NodeJS.ArrayBufferView; + type CipherKey = BinaryLike | KeyObject; + interface CipherCCMOptions extends stream.TransformOptions { + authTagLength: number; + } + interface CipherGCMOptions extends stream.TransformOptions { + authTagLength?: number | undefined; + } + interface CipherOCBOptions extends stream.TransformOptions { + authTagLength: number; + } + /** + * Creates and returns a `Cipher` object that uses the given `algorithm` and`password`. + * + * The `options` argument controls stream behavior and is optional except when a + * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the + * authentication tag in bytes, see `CCM mode`. In GCM mode, the `authTagLength`option is not required but can be used to set the length of the authentication + * tag that will be returned by `getAuthTag()` and defaults to 16 bytes. + * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. + * + * The `algorithm` is dependent on OpenSSL, examples are `'aes192'`, etc. On + * recent OpenSSL releases, `openssl list -cipher-algorithms` will + * display the available cipher algorithms. + * + * The `password` is used to derive the cipher key and initialization vector (IV). + * The value must be either a `'latin1'` encoded string, a `Buffer`, a`TypedArray`, or a `DataView`. + * + * **This function is semantically insecure for all** + * **supported ciphers and fatally flawed for ciphers in counter mode (such as CTR,** + * **GCM, or CCM).** + * + * The implementation of `crypto.createCipher()` derives keys using the OpenSSL + * function [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) with the digest algorithm set to MD5, one + * iteration, and no salt. The lack of salt allows dictionary attacks as the same + * password always creates the same key. The low iteration count and + * non-cryptographically secure hash algorithm allow passwords to be tested very + * rapidly. + * + * In line with OpenSSL's recommendation to use a more modern algorithm instead of [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) it is recommended that + * developers derive a key and IV on + * their own using {@link scrypt} and to use {@link createCipheriv} to create the `Cipher` object. Users should not use ciphers with counter mode + * (e.g. CTR, GCM, or CCM) in `crypto.createCipher()`. A warning is emitted when + * they are used in order to avoid the risk of IV reuse that causes + * vulnerabilities. For the case when IV is reused in GCM, see [Nonce-Disrespecting Adversaries](https://github.com/nonce-disrespect/nonce-disrespect) for details. + * @since v0.1.94 + * @deprecated Since v10.0.0 - Use {@link createCipheriv} instead. + * @param options `stream.transform` options + */ + function createCipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): CipherCCM; + /** @deprecated since v10.0.0 use `createCipheriv()` */ + function createCipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): CipherGCM; + /** @deprecated since v10.0.0 use `createCipheriv()` */ + function createCipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Cipher; + /** + * Creates and returns a `Cipher` object, with the given `algorithm`, `key` and + * initialization vector (`iv`). + * + * The `options` argument controls stream behavior and is optional except when a + * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the + * authentication tag in bytes, see `CCM mode`. In GCM mode, the `authTagLength`option is not required but can be used to set the length of the authentication + * tag that will be returned by `getAuthTag()` and defaults to 16 bytes. + * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. + * + * The `algorithm` is dependent on OpenSSL, examples are `'aes192'`, etc. On + * recent OpenSSL releases, `openssl list -cipher-algorithms` will + * display the available cipher algorithms. + * + * The `key` is the raw key used by the `algorithm` and `iv` is an [initialization vector](https://en.wikipedia.org/wiki/Initialization_vector). Both arguments must be `'utf8'` encoded + * strings,`Buffers`, `TypedArray`, or `DataView`s. The `key` may optionally be + * a `KeyObject` of type `secret`. If the cipher does not need + * an initialization vector, `iv` may be `null`. + * + * When passing strings for `key` or `iv`, please consider `caveats when using strings as inputs to cryptographic APIs`. + * + * Initialization vectors should be unpredictable and unique; ideally, they will be + * cryptographically random. They do not have to be secret: IVs are typically just + * added to ciphertext messages unencrypted. It may sound contradictory that + * something has to be unpredictable and unique, but does not have to be secret; + * remember that an attacker must not be able to predict ahead of time what a + * given IV will be. + * @since v0.1.94 + * @param options `stream.transform` options + */ + function createCipheriv( + algorithm: CipherCCMTypes, + key: CipherKey, + iv: BinaryLike, + options: CipherCCMOptions, + ): CipherCCM; + function createCipheriv( + algorithm: CipherOCBTypes, + key: CipherKey, + iv: BinaryLike, + options: CipherOCBOptions, + ): CipherOCB; + function createCipheriv( + algorithm: CipherGCMTypes, + key: CipherKey, + iv: BinaryLike, + options?: CipherGCMOptions, + ): CipherGCM; + function createCipheriv( + algorithm: string, + key: CipherKey, + iv: BinaryLike | null, + options?: stream.TransformOptions, + ): Cipher; + /** + * Instances of the `Cipher` class are used to encrypt data. The class can be + * used in one of two ways: + * + * * As a `stream` that is both readable and writable, where plain unencrypted + * data is written to produce encrypted data on the readable side, or + * * Using the `cipher.update()` and `cipher.final()` methods to produce + * the encrypted data. + * + * The {@link createCipher} or {@link createCipheriv} methods are + * used to create `Cipher` instances. `Cipher` objects are not to be created + * directly using the `new` keyword. + * + * Example: Using `Cipher` objects as streams: + * + * ```js + * const { + * scrypt, + * randomFill, + * createCipheriv, + * } = await import('node:crypto'); + * + * const algorithm = 'aes-192-cbc'; + * const password = 'Password used to generate key'; + * + * // First, we'll generate the key. The key length is dependent on the algorithm. + * // In this case for aes192, it is 24 bytes (192 bits). + * scrypt(password, 'salt', 24, (err, key) => { + * if (err) throw err; + * // Then, we'll generate a random initialization vector + * randomFill(new Uint8Array(16), (err, iv) => { + * if (err) throw err; + * + * // Once we have the key and iv, we can create and use the cipher... + * const cipher = createCipheriv(algorithm, key, iv); + * + * let encrypted = ''; + * cipher.setEncoding('hex'); + * + * cipher.on('data', (chunk) => encrypted += chunk); + * cipher.on('end', () => console.log(encrypted)); + * + * cipher.write('some clear text data'); + * cipher.end(); + * }); + * }); + * ``` + * + * Example: Using `Cipher` and piped streams: + * + * ```js + * import { + * createReadStream, + * createWriteStream, + * } from 'node:fs'; + * + * import { + * pipeline, + * } from 'node:stream'; + * + * const { + * scrypt, + * randomFill, + * createCipheriv, + * } = await import('node:crypto'); + * + * const algorithm = 'aes-192-cbc'; + * const password = 'Password used to generate key'; + * + * // First, we'll generate the key. The key length is dependent on the algorithm. + * // In this case for aes192, it is 24 bytes (192 bits). + * scrypt(password, 'salt', 24, (err, key) => { + * if (err) throw err; + * // Then, we'll generate a random initialization vector + * randomFill(new Uint8Array(16), (err, iv) => { + * if (err) throw err; + * + * const cipher = createCipheriv(algorithm, key, iv); + * + * const input = createReadStream('test.js'); + * const output = createWriteStream('test.enc'); + * + * pipeline(input, cipher, output, (err) => { + * if (err) throw err; + * }); + * }); + * }); + * ``` + * + * Example: Using the `cipher.update()` and `cipher.final()` methods: + * + * ```js + * const { + * scrypt, + * randomFill, + * createCipheriv, + * } = await import('node:crypto'); + * + * const algorithm = 'aes-192-cbc'; + * const password = 'Password used to generate key'; + * + * // First, we'll generate the key. The key length is dependent on the algorithm. + * // In this case for aes192, it is 24 bytes (192 bits). + * scrypt(password, 'salt', 24, (err, key) => { + * if (err) throw err; + * // Then, we'll generate a random initialization vector + * randomFill(new Uint8Array(16), (err, iv) => { + * if (err) throw err; + * + * const cipher = createCipheriv(algorithm, key, iv); + * + * let encrypted = cipher.update('some clear text data', 'utf8', 'hex'); + * encrypted += cipher.final('hex'); + * console.log(encrypted); + * }); + * }); + * ``` + * @since v0.1.94 + */ + class Cipher extends stream.Transform { + private constructor(); + /** + * Updates the cipher with `data`. If the `inputEncoding` argument is given, + * the `data`argument is a string using the specified encoding. If the `inputEncoding`argument is not given, `data` must be a `Buffer`, `TypedArray`, or`DataView`. If `data` is a `Buffer`, + * `TypedArray`, or `DataView`, then`inputEncoding` is ignored. + * + * The `outputEncoding` specifies the output format of the enciphered + * data. If the `outputEncoding`is specified, a string using the specified encoding is returned. If no`outputEncoding` is provided, a `Buffer` is returned. + * + * The `cipher.update()` method can be called multiple times with new data until `cipher.final()` is called. Calling `cipher.update()` after `cipher.final()` will result in an error being + * thrown. + * @since v0.1.94 + * @param inputEncoding The `encoding` of the data. + * @param outputEncoding The `encoding` of the return value. + */ + update(data: BinaryLike): Buffer; + update(data: string, inputEncoding: Encoding): Buffer; + update(data: NodeJS.ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): string; + update(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): string; + /** + * Once the `cipher.final()` method has been called, the `Cipher` object can no + * longer be used to encrypt data. Attempts to call `cipher.final()` more than + * once will result in an error being thrown. + * @since v0.1.94 + * @param outputEncoding The `encoding` of the return value. + * @return Any remaining enciphered contents. If `outputEncoding` is specified, a string is returned. If an `outputEncoding` is not provided, a {@link Buffer} is returned. + */ + final(): Buffer; + final(outputEncoding: BufferEncoding): string; + /** + * When using block encryption algorithms, the `Cipher` class will automatically + * add padding to the input data to the appropriate block size. To disable the + * default padding call `cipher.setAutoPadding(false)`. + * + * When `autoPadding` is `false`, the length of the entire input data must be a + * multiple of the cipher's block size or `cipher.final()` will throw an error. + * Disabling automatic padding is useful for non-standard padding, for instance + * using `0x0` instead of PKCS padding. + * + * The `cipher.setAutoPadding()` method must be called before `cipher.final()`. + * @since v0.7.1 + * @param [autoPadding=true] + * @return for method chaining. + */ + setAutoPadding(autoPadding?: boolean): this; + } + interface CipherCCM extends Cipher { + setAAD( + buffer: NodeJS.ArrayBufferView, + options: { + plaintextLength: number; + }, + ): this; + getAuthTag(): Buffer; + } + interface CipherGCM extends Cipher { + setAAD( + buffer: NodeJS.ArrayBufferView, + options?: { + plaintextLength: number; + }, + ): this; + getAuthTag(): Buffer; + } + interface CipherOCB extends Cipher { + setAAD( + buffer: NodeJS.ArrayBufferView, + options?: { + plaintextLength: number; + }, + ): this; + getAuthTag(): Buffer; + } + /** + * Creates and returns a `Decipher` object that uses the given `algorithm` and`password` (key). + * + * The `options` argument controls stream behavior and is optional except when a + * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the + * authentication tag in bytes, see `CCM mode`. + * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. + * + * **This function is semantically insecure for all** + * **supported ciphers and fatally flawed for ciphers in counter mode (such as CTR,** + * **GCM, or CCM).** + * + * The implementation of `crypto.createDecipher()` derives keys using the OpenSSL + * function [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) with the digest algorithm set to MD5, one + * iteration, and no salt. The lack of salt allows dictionary attacks as the same + * password always creates the same key. The low iteration count and + * non-cryptographically secure hash algorithm allow passwords to be tested very + * rapidly. + * + * In line with OpenSSL's recommendation to use a more modern algorithm instead of [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) it is recommended that + * developers derive a key and IV on + * their own using {@link scrypt} and to use {@link createDecipheriv} to create the `Decipher` object. + * @since v0.1.94 + * @deprecated Since v10.0.0 - Use {@link createDecipheriv} instead. + * @param options `stream.transform` options + */ + function createDecipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): DecipherCCM; + /** @deprecated since v10.0.0 use `createDecipheriv()` */ + function createDecipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): DecipherGCM; + /** @deprecated since v10.0.0 use `createDecipheriv()` */ + function createDecipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Decipher; + /** + * Creates and returns a `Decipher` object that uses the given `algorithm`, `key`and initialization vector (`iv`). + * + * The `options` argument controls stream behavior and is optional except when a + * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the + * authentication tag in bytes, see `CCM mode`. In GCM mode, the `authTagLength`option is not required but can be used to restrict accepted authentication tags + * to those with the specified length. + * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. + * + * The `algorithm` is dependent on OpenSSL, examples are `'aes192'`, etc. On + * recent OpenSSL releases, `openssl list -cipher-algorithms` will + * display the available cipher algorithms. + * + * The `key` is the raw key used by the `algorithm` and `iv` is an [initialization vector](https://en.wikipedia.org/wiki/Initialization_vector). Both arguments must be `'utf8'` encoded + * strings,`Buffers`, `TypedArray`, or `DataView`s. The `key` may optionally be + * a `KeyObject` of type `secret`. If the cipher does not need + * an initialization vector, `iv` may be `null`. + * + * When passing strings for `key` or `iv`, please consider `caveats when using strings as inputs to cryptographic APIs`. + * + * Initialization vectors should be unpredictable and unique; ideally, they will be + * cryptographically random. They do not have to be secret: IVs are typically just + * added to ciphertext messages unencrypted. It may sound contradictory that + * something has to be unpredictable and unique, but does not have to be secret; + * remember that an attacker must not be able to predict ahead of time what a given + * IV will be. + * @since v0.1.94 + * @param options `stream.transform` options + */ + function createDecipheriv( + algorithm: CipherCCMTypes, + key: CipherKey, + iv: BinaryLike, + options: CipherCCMOptions, + ): DecipherCCM; + function createDecipheriv( + algorithm: CipherOCBTypes, + key: CipherKey, + iv: BinaryLike, + options: CipherOCBOptions, + ): DecipherOCB; + function createDecipheriv( + algorithm: CipherGCMTypes, + key: CipherKey, + iv: BinaryLike, + options?: CipherGCMOptions, + ): DecipherGCM; + function createDecipheriv( + algorithm: string, + key: CipherKey, + iv: BinaryLike | null, + options?: stream.TransformOptions, + ): Decipher; + /** + * Instances of the `Decipher` class are used to decrypt data. The class can be + * used in one of two ways: + * + * * As a `stream` that is both readable and writable, where plain encrypted + * data is written to produce unencrypted data on the readable side, or + * * Using the `decipher.update()` and `decipher.final()` methods to + * produce the unencrypted data. + * + * The {@link createDecipher} or {@link createDecipheriv} methods are + * used to create `Decipher` instances. `Decipher` objects are not to be created + * directly using the `new` keyword. + * + * Example: Using `Decipher` objects as streams: + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { + * scryptSync, + * createDecipheriv, + * } = await import('node:crypto'); + * + * const algorithm = 'aes-192-cbc'; + * const password = 'Password used to generate key'; + * // Key length is dependent on the algorithm. In this case for aes192, it is + * // 24 bytes (192 bits). + * // Use the async `crypto.scrypt()` instead. + * const key = scryptSync(password, 'salt', 24); + * // The IV is usually passed along with the ciphertext. + * const iv = Buffer.alloc(16, 0); // Initialization vector. + * + * const decipher = createDecipheriv(algorithm, key, iv); + * + * let decrypted = ''; + * decipher.on('readable', () => { + * let chunk; + * while (null !== (chunk = decipher.read())) { + * decrypted += chunk.toString('utf8'); + * } + * }); + * decipher.on('end', () => { + * console.log(decrypted); + * // Prints: some clear text data + * }); + * + * // Encrypted with same algorithm, key and iv. + * const encrypted = + * 'e5f79c5915c02171eec6b212d5520d44480993d7d622a7c4c2da32f6efda0ffa'; + * decipher.write(encrypted, 'hex'); + * decipher.end(); + * ``` + * + * Example: Using `Decipher` and piped streams: + * + * ```js + * import { + * createReadStream, + * createWriteStream, + * } from 'node:fs'; + * import { Buffer } from 'node:buffer'; + * const { + * scryptSync, + * createDecipheriv, + * } = await import('node:crypto'); + * + * const algorithm = 'aes-192-cbc'; + * const password = 'Password used to generate key'; + * // Use the async `crypto.scrypt()` instead. + * const key = scryptSync(password, 'salt', 24); + * // The IV is usually passed along with the ciphertext. + * const iv = Buffer.alloc(16, 0); // Initialization vector. + * + * const decipher = createDecipheriv(algorithm, key, iv); + * + * const input = createReadStream('test.enc'); + * const output = createWriteStream('test.js'); + * + * input.pipe(decipher).pipe(output); + * ``` + * + * Example: Using the `decipher.update()` and `decipher.final()` methods: + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { + * scryptSync, + * createDecipheriv, + * } = await import('node:crypto'); + * + * const algorithm = 'aes-192-cbc'; + * const password = 'Password used to generate key'; + * // Use the async `crypto.scrypt()` instead. + * const key = scryptSync(password, 'salt', 24); + * // The IV is usually passed along with the ciphertext. + * const iv = Buffer.alloc(16, 0); // Initialization vector. + * + * const decipher = createDecipheriv(algorithm, key, iv); + * + * // Encrypted using same algorithm, key and iv. + * const encrypted = + * 'e5f79c5915c02171eec6b212d5520d44480993d7d622a7c4c2da32f6efda0ffa'; + * let decrypted = decipher.update(encrypted, 'hex', 'utf8'); + * decrypted += decipher.final('utf8'); + * console.log(decrypted); + * // Prints: some clear text data + * ``` + * @since v0.1.94 + */ + class Decipher extends stream.Transform { + private constructor(); + /** + * Updates the decipher with `data`. If the `inputEncoding` argument is given, + * the `data`argument is a string using the specified encoding. If the `inputEncoding`argument is not given, `data` must be a `Buffer`. If `data` is a `Buffer` then `inputEncoding` is + * ignored. + * + * The `outputEncoding` specifies the output format of the enciphered + * data. If the `outputEncoding`is specified, a string using the specified encoding is returned. If no`outputEncoding` is provided, a `Buffer` is returned. + * + * The `decipher.update()` method can be called multiple times with new data until `decipher.final()` is called. Calling `decipher.update()` after `decipher.final()` will result in an error + * being thrown. + * @since v0.1.94 + * @param inputEncoding The `encoding` of the `data` string. + * @param outputEncoding The `encoding` of the return value. + */ + update(data: NodeJS.ArrayBufferView): Buffer; + update(data: string, inputEncoding: Encoding): Buffer; + update(data: NodeJS.ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): string; + update(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): string; + /** + * Once the `decipher.final()` method has been called, the `Decipher` object can + * no longer be used to decrypt data. Attempts to call `decipher.final()` more + * than once will result in an error being thrown. + * @since v0.1.94 + * @param outputEncoding The `encoding` of the return value. + * @return Any remaining deciphered contents. If `outputEncoding` is specified, a string is returned. If an `outputEncoding` is not provided, a {@link Buffer} is returned. + */ + final(): Buffer; + final(outputEncoding: BufferEncoding): string; + /** + * When data has been encrypted without standard block padding, calling`decipher.setAutoPadding(false)` will disable automatic padding to prevent `decipher.final()` from checking for and + * removing padding. + * + * Turning auto padding off will only work if the input data's length is a + * multiple of the ciphers block size. + * + * The `decipher.setAutoPadding()` method must be called before `decipher.final()`. + * @since v0.7.1 + * @param [autoPadding=true] + * @return for method chaining. + */ + setAutoPadding(auto_padding?: boolean): this; + } + interface DecipherCCM extends Decipher { + setAuthTag(buffer: NodeJS.ArrayBufferView): this; + setAAD( + buffer: NodeJS.ArrayBufferView, + options: { + plaintextLength: number; + }, + ): this; + } + interface DecipherGCM extends Decipher { + setAuthTag(buffer: NodeJS.ArrayBufferView): this; + setAAD( + buffer: NodeJS.ArrayBufferView, + options?: { + plaintextLength: number; + }, + ): this; + } + interface DecipherOCB extends Decipher { + setAuthTag(buffer: NodeJS.ArrayBufferView): this; + setAAD( + buffer: NodeJS.ArrayBufferView, + options?: { + plaintextLength: number; + }, + ): this; + } + interface PrivateKeyInput { + key: string | Buffer; + format?: KeyFormat | undefined; + type?: "pkcs1" | "pkcs8" | "sec1" | undefined; + passphrase?: string | Buffer | undefined; + encoding?: string | undefined; + } + interface PublicKeyInput { + key: string | Buffer; + format?: KeyFormat | undefined; + type?: "pkcs1" | "spki" | undefined; + encoding?: string | undefined; + } + /** + * Asynchronously generates a new random secret key of the given `length`. The`type` will determine which validations will be performed on the `length`. + * + * ```js + * const { + * generateKey, + * } = await import('node:crypto'); + * + * generateKey('hmac', { length: 512 }, (err, key) => { + * if (err) throw err; + * console.log(key.export().toString('hex')); // 46e..........620 + * }); + * ``` + * + * The size of a generated HMAC key should not exceed the block size of the + * underlying hash function. See {@link createHmac} for more information. + * @since v15.0.0 + * @param type The intended use of the generated secret key. Currently accepted values are `'hmac'` and `'aes'`. + */ + function generateKey( + type: "hmac" | "aes", + options: { + length: number; + }, + callback: (err: Error | null, key: KeyObject) => void, + ): void; + /** + * Synchronously generates a new random secret key of the given `length`. The`type` will determine which validations will be performed on the `length`. + * + * ```js + * const { + * generateKeySync, + * } = await import('node:crypto'); + * + * const key = generateKeySync('hmac', { length: 512 }); + * console.log(key.export().toString('hex')); // e89..........41e + * ``` + * + * The size of a generated HMAC key should not exceed the block size of the + * underlying hash function. See {@link createHmac} for more information. + * @since v15.0.0 + * @param type The intended use of the generated secret key. Currently accepted values are `'hmac'` and `'aes'`. + */ + function generateKeySync( + type: "hmac" | "aes", + options: { + length: number; + }, + ): KeyObject; + interface JsonWebKeyInput { + key: JsonWebKey; + format: "jwk"; + } + /** + * Creates and returns a new key object containing a private key. If `key` is a + * string or `Buffer`, `format` is assumed to be `'pem'`; otherwise, `key`must be an object with the properties described above. + * + * If the private key is encrypted, a `passphrase` must be specified. The length + * of the passphrase is limited to 1024 bytes. + * @since v11.6.0 + */ + function createPrivateKey(key: PrivateKeyInput | string | Buffer | JsonWebKeyInput): KeyObject; + /** + * Creates and returns a new key object containing a public key. If `key` is a + * string or `Buffer`, `format` is assumed to be `'pem'`; if `key` is a `KeyObject`with type `'private'`, the public key is derived from the given private key; + * otherwise, `key` must be an object with the properties described above. + * + * If the format is `'pem'`, the `'key'` may also be an X.509 certificate. + * + * Because public keys can be derived from private keys, a private key may be + * passed instead of a public key. In that case, this function behaves as if {@link createPrivateKey} had been called, except that the type of the + * returned `KeyObject` will be `'public'` and that the private key cannot be + * extracted from the returned `KeyObject`. Similarly, if a `KeyObject` with type`'private'` is given, a new `KeyObject` with type `'public'` will be returned + * and it will be impossible to extract the private key from the returned object. + * @since v11.6.0 + */ + function createPublicKey(key: PublicKeyInput | string | Buffer | KeyObject | JsonWebKeyInput): KeyObject; + /** + * Creates and returns a new key object containing a secret key for symmetric + * encryption or `Hmac`. + * @since v11.6.0 + * @param encoding The string encoding when `key` is a string. + */ + function createSecretKey(key: NodeJS.ArrayBufferView): KeyObject; + function createSecretKey(key: string, encoding: BufferEncoding): KeyObject; + /** + * Creates and returns a `Sign` object that uses the given `algorithm`. Use {@link getHashes} to obtain the names of the available digest algorithms. + * Optional `options` argument controls the `stream.Writable` behavior. + * + * In some cases, a `Sign` instance can be created using the name of a signature + * algorithm, such as `'RSA-SHA256'`, instead of a digest algorithm. This will use + * the corresponding digest algorithm. This does not work for all signature + * algorithms, such as `'ecdsa-with-SHA256'`, so it is best to always use digest + * algorithm names. + * @since v0.1.92 + * @param options `stream.Writable` options + */ + function createSign(algorithm: string, options?: stream.WritableOptions): Sign; + type DSAEncoding = "der" | "ieee-p1363"; + interface SigningOptions { + /** + * @see crypto.constants.RSA_PKCS1_PADDING + */ + padding?: number | undefined; + saltLength?: number | undefined; + dsaEncoding?: DSAEncoding | undefined; + } + interface SignPrivateKeyInput extends PrivateKeyInput, SigningOptions {} + interface SignKeyObjectInput extends SigningOptions { + key: KeyObject; + } + interface VerifyPublicKeyInput extends PublicKeyInput, SigningOptions {} + interface VerifyKeyObjectInput extends SigningOptions { + key: KeyObject; + } + interface VerifyJsonWebKeyInput extends JsonWebKeyInput, SigningOptions {} + type KeyLike = string | Buffer | KeyObject; + /** + * The `Sign` class is a utility for generating signatures. It can be used in one + * of two ways: + * + * * As a writable `stream`, where data to be signed is written and the `sign.sign()` method is used to generate and return the signature, or + * * Using the `sign.update()` and `sign.sign()` methods to produce the + * signature. + * + * The {@link createSign} method is used to create `Sign` instances. The + * argument is the string name of the hash function to use. `Sign` objects are not + * to be created directly using the `new` keyword. + * + * Example: Using `Sign` and `Verify` objects as streams: + * + * ```js + * const { + * generateKeyPairSync, + * createSign, + * createVerify, + * } = await import('node:crypto'); + * + * const { privateKey, publicKey } = generateKeyPairSync('ec', { + * namedCurve: 'sect239k1', + * }); + * + * const sign = createSign('SHA256'); + * sign.write('some data to sign'); + * sign.end(); + * const signature = sign.sign(privateKey, 'hex'); + * + * const verify = createVerify('SHA256'); + * verify.write('some data to sign'); + * verify.end(); + * console.log(verify.verify(publicKey, signature, 'hex')); + * // Prints: true + * ``` + * + * Example: Using the `sign.update()` and `verify.update()` methods: + * + * ```js + * const { + * generateKeyPairSync, + * createSign, + * createVerify, + * } = await import('node:crypto'); + * + * const { privateKey, publicKey } = generateKeyPairSync('rsa', { + * modulusLength: 2048, + * }); + * + * const sign = createSign('SHA256'); + * sign.update('some data to sign'); + * sign.end(); + * const signature = sign.sign(privateKey); + * + * const verify = createVerify('SHA256'); + * verify.update('some data to sign'); + * verify.end(); + * console.log(verify.verify(publicKey, signature)); + * // Prints: true + * ``` + * @since v0.1.92 + */ + class Sign extends stream.Writable { + private constructor(); + /** + * Updates the `Sign` content with the given `data`, the encoding of which + * is given in `inputEncoding`. + * If `encoding` is not provided, and the `data` is a string, an + * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. + * + * This can be called many times with new data as it is streamed. + * @since v0.1.92 + * @param inputEncoding The `encoding` of the `data` string. + */ + update(data: BinaryLike): this; + update(data: string, inputEncoding: Encoding): this; + /** + * Calculates the signature on all the data passed through using either `sign.update()` or `sign.write()`. + * + * If `privateKey` is not a `KeyObject`, this function behaves as if`privateKey` had been passed to {@link createPrivateKey}. If it is an + * object, the following additional properties can be passed: + * + * If `outputEncoding` is provided a string is returned; otherwise a `Buffer` is returned. + * + * The `Sign` object can not be again used after `sign.sign()` method has been + * called. Multiple calls to `sign.sign()` will result in an error being thrown. + * @since v0.1.92 + */ + sign(privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput): Buffer; + sign( + privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, + outputFormat: BinaryToTextEncoding, + ): string; + } + /** + * Creates and returns a `Verify` object that uses the given algorithm. + * Use {@link getHashes} to obtain an array of names of the available + * signing algorithms. Optional `options` argument controls the`stream.Writable` behavior. + * + * In some cases, a `Verify` instance can be created using the name of a signature + * algorithm, such as `'RSA-SHA256'`, instead of a digest algorithm. This will use + * the corresponding digest algorithm. This does not work for all signature + * algorithms, such as `'ecdsa-with-SHA256'`, so it is best to always use digest + * algorithm names. + * @since v0.1.92 + * @param options `stream.Writable` options + */ + function createVerify(algorithm: string, options?: stream.WritableOptions): Verify; + /** + * The `Verify` class is a utility for verifying signatures. It can be used in one + * of two ways: + * + * * As a writable `stream` where written data is used to validate against the + * supplied signature, or + * * Using the `verify.update()` and `verify.verify()` methods to verify + * the signature. + * + * The {@link createVerify} method is used to create `Verify` instances.`Verify` objects are not to be created directly using the `new` keyword. + * + * See `Sign` for examples. + * @since v0.1.92 + */ + class Verify extends stream.Writable { + private constructor(); + /** + * Updates the `Verify` content with the given `data`, the encoding of which + * is given in `inputEncoding`. + * If `inputEncoding` is not provided, and the `data` is a string, an + * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. + * + * This can be called many times with new data as it is streamed. + * @since v0.1.92 + * @param inputEncoding The `encoding` of the `data` string. + */ + update(data: BinaryLike): Verify; + update(data: string, inputEncoding: Encoding): Verify; + /** + * Verifies the provided data using the given `object` and `signature`. + * + * If `object` is not a `KeyObject`, this function behaves as if`object` had been passed to {@link createPublicKey}. If it is an + * object, the following additional properties can be passed: + * + * The `signature` argument is the previously calculated signature for the data, in + * the `signatureEncoding`. + * If a `signatureEncoding` is specified, the `signature` is expected to be a + * string; otherwise `signature` is expected to be a `Buffer`,`TypedArray`, or `DataView`. + * + * The `verify` object can not be used again after `verify.verify()` has been + * called. Multiple calls to `verify.verify()` will result in an error being + * thrown. + * + * Because public keys can be derived from private keys, a private key may + * be passed instead of a public key. + * @since v0.1.92 + */ + verify( + object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, + signature: NodeJS.ArrayBufferView, + ): boolean; + verify( + object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, + signature: string, + signature_format?: BinaryToTextEncoding, + ): boolean; + } + /** + * Creates a `DiffieHellman` key exchange object using the supplied `prime` and an + * optional specific `generator`. + * + * The `generator` argument can be a number, string, or `Buffer`. If`generator` is not specified, the value `2` is used. + * + * If `primeEncoding` is specified, `prime` is expected to be a string; otherwise + * a `Buffer`, `TypedArray`, or `DataView` is expected. + * + * If `generatorEncoding` is specified, `generator` is expected to be a string; + * otherwise a number, `Buffer`, `TypedArray`, or `DataView` is expected. + * @since v0.11.12 + * @param primeEncoding The `encoding` of the `prime` string. + * @param [generator=2] + * @param generatorEncoding The `encoding` of the `generator` string. + */ + function createDiffieHellman(primeLength: number, generator?: number): DiffieHellman; + function createDiffieHellman( + prime: ArrayBuffer | NodeJS.ArrayBufferView, + generator?: number | ArrayBuffer | NodeJS.ArrayBufferView, + ): DiffieHellman; + function createDiffieHellman( + prime: ArrayBuffer | NodeJS.ArrayBufferView, + generator: string, + generatorEncoding: BinaryToTextEncoding, + ): DiffieHellman; + function createDiffieHellman( + prime: string, + primeEncoding: BinaryToTextEncoding, + generator?: number | ArrayBuffer | NodeJS.ArrayBufferView, + ): DiffieHellman; + function createDiffieHellman( + prime: string, + primeEncoding: BinaryToTextEncoding, + generator: string, + generatorEncoding: BinaryToTextEncoding, + ): DiffieHellman; + /** + * The `DiffieHellman` class is a utility for creating Diffie-Hellman key + * exchanges. + * + * Instances of the `DiffieHellman` class can be created using the {@link createDiffieHellman} function. + * + * ```js + * import assert from 'node:assert'; + * + * const { + * createDiffieHellman, + * } = await import('node:crypto'); + * + * // Generate Alice's keys... + * const alice = createDiffieHellman(2048); + * const aliceKey = alice.generateKeys(); + * + * // Generate Bob's keys... + * const bob = createDiffieHellman(alice.getPrime(), alice.getGenerator()); + * const bobKey = bob.generateKeys(); + * + * // Exchange and generate the secret... + * const aliceSecret = alice.computeSecret(bobKey); + * const bobSecret = bob.computeSecret(aliceKey); + * + * // OK + * assert.strictEqual(aliceSecret.toString('hex'), bobSecret.toString('hex')); + * ``` + * @since v0.5.0 + */ + class DiffieHellman { + private constructor(); + /** + * Generates private and public Diffie-Hellman key values unless they have been + * generated or computed already, and returns + * the public key in the specified `encoding`. This key should be + * transferred to the other party. + * If `encoding` is provided a string is returned; otherwise a `Buffer` is returned. + * + * This function is a thin wrapper around [`DH_generate_key()`](https://www.openssl.org/docs/man3.0/man3/DH_generate_key.html). In particular, + * once a private key has been generated or set, calling this function only updates + * the public key but does not generate a new private key. + * @since v0.5.0 + * @param encoding The `encoding` of the return value. + */ + generateKeys(): Buffer; + generateKeys(encoding: BinaryToTextEncoding): string; + /** + * Computes the shared secret using `otherPublicKey` as the other + * party's public key and returns the computed shared secret. The supplied + * key is interpreted using the specified `inputEncoding`, and secret is + * encoded using specified `outputEncoding`. + * If the `inputEncoding` is not + * provided, `otherPublicKey` is expected to be a `Buffer`,`TypedArray`, or `DataView`. + * + * If `outputEncoding` is given a string is returned; otherwise, a `Buffer` is returned. + * @since v0.5.0 + * @param inputEncoding The `encoding` of an `otherPublicKey` string. + * @param outputEncoding The `encoding` of the return value. + */ + computeSecret(otherPublicKey: NodeJS.ArrayBufferView, inputEncoding?: null, outputEncoding?: null): Buffer; + computeSecret(otherPublicKey: string, inputEncoding: BinaryToTextEncoding, outputEncoding?: null): Buffer; + computeSecret( + otherPublicKey: NodeJS.ArrayBufferView, + inputEncoding: null, + outputEncoding: BinaryToTextEncoding, + ): string; + computeSecret( + otherPublicKey: string, + inputEncoding: BinaryToTextEncoding, + outputEncoding: BinaryToTextEncoding, + ): string; + /** + * Returns the Diffie-Hellman prime in the specified `encoding`. + * If `encoding` is provided a string is + * returned; otherwise a `Buffer` is returned. + * @since v0.5.0 + * @param encoding The `encoding` of the return value. + */ + getPrime(): Buffer; + getPrime(encoding: BinaryToTextEncoding): string; + /** + * Returns the Diffie-Hellman generator in the specified `encoding`. + * If `encoding` is provided a string is + * returned; otherwise a `Buffer` is returned. + * @since v0.5.0 + * @param encoding The `encoding` of the return value. + */ + getGenerator(): Buffer; + getGenerator(encoding: BinaryToTextEncoding): string; + /** + * Returns the Diffie-Hellman public key in the specified `encoding`. + * If `encoding` is provided a + * string is returned; otherwise a `Buffer` is returned. + * @since v0.5.0 + * @param encoding The `encoding` of the return value. + */ + getPublicKey(): Buffer; + getPublicKey(encoding: BinaryToTextEncoding): string; + /** + * Returns the Diffie-Hellman private key in the specified `encoding`. + * If `encoding` is provided a + * string is returned; otherwise a `Buffer` is returned. + * @since v0.5.0 + * @param encoding The `encoding` of the return value. + */ + getPrivateKey(): Buffer; + getPrivateKey(encoding: BinaryToTextEncoding): string; + /** + * Sets the Diffie-Hellman public key. If the `encoding` argument is provided,`publicKey` is expected + * to be a string. If no `encoding` is provided, `publicKey` is expected + * to be a `Buffer`, `TypedArray`, or `DataView`. + * @since v0.5.0 + * @param encoding The `encoding` of the `publicKey` string. + */ + setPublicKey(publicKey: NodeJS.ArrayBufferView): void; + setPublicKey(publicKey: string, encoding: BufferEncoding): void; + /** + * Sets the Diffie-Hellman private key. If the `encoding` argument is provided,`privateKey` is expected + * to be a string. If no `encoding` is provided, `privateKey` is expected + * to be a `Buffer`, `TypedArray`, or `DataView`. + * + * This function does not automatically compute the associated public key. Either `diffieHellman.setPublicKey()` or `diffieHellman.generateKeys()` can be + * used to manually provide the public key or to automatically derive it. + * @since v0.5.0 + * @param encoding The `encoding` of the `privateKey` string. + */ + setPrivateKey(privateKey: NodeJS.ArrayBufferView): void; + setPrivateKey(privateKey: string, encoding: BufferEncoding): void; + /** + * A bit field containing any warnings and/or errors resulting from a check + * performed during initialization of the `DiffieHellman` object. + * + * The following values are valid for this property (as defined in `node:constants` module): + * + * * `DH_CHECK_P_NOT_SAFE_PRIME` + * * `DH_CHECK_P_NOT_PRIME` + * * `DH_UNABLE_TO_CHECK_GENERATOR` + * * `DH_NOT_SUITABLE_GENERATOR` + * @since v0.11.12 + */ + verifyError: number; + } + /** + * The `DiffieHellmanGroup` class takes a well-known modp group as its argument. + * It works the same as `DiffieHellman`, except that it does not allow changing its keys after creation. + * In other words, it does not implement `setPublicKey()` or `setPrivateKey()` methods. + * + * ```js + * const { createDiffieHellmanGroup } = await import('node:crypto'); + * const dh = createDiffieHellmanGroup('modp1'); + * ``` + * The name (e.g. `'modp1'`) is taken from [RFC 2412](https://www.rfc-editor.org/rfc/rfc2412.txt) (modp1 and 2) and [RFC 3526](https://www.rfc-editor.org/rfc/rfc3526.txt): + * ```bash + * $ perl -ne 'print "$1\n" if /"(modp\d+)"/' src/node_crypto_groups.h + * modp1 # 768 bits + * modp2 # 1024 bits + * modp5 # 1536 bits + * modp14 # 2048 bits + * modp15 # etc. + * modp16 + * modp17 + * modp18 + * ``` + * @since v0.7.5 + */ + const DiffieHellmanGroup: DiffieHellmanGroupConstructor; + interface DiffieHellmanGroupConstructor { + new(name: string): DiffieHellmanGroup; + (name: string): DiffieHellmanGroup; + readonly prototype: DiffieHellmanGroup; + } + type DiffieHellmanGroup = Omit; + /** + * Creates a predefined `DiffieHellmanGroup` key exchange object. The + * supported groups are listed in the documentation for `DiffieHellmanGroup`. + * + * The returned object mimics the interface of objects created by {@link createDiffieHellman}, but will not allow changing + * the keys (with `diffieHellman.setPublicKey()`, for example). The + * advantage of using this method is that the parties do not have to + * generate nor exchange a group modulus beforehand, saving both processor + * and communication time. + * + * Example (obtaining a shared secret): + * + * ```js + * const { + * getDiffieHellman, + * } = await import('node:crypto'); + * const alice = getDiffieHellman('modp14'); + * const bob = getDiffieHellman('modp14'); + * + * alice.generateKeys(); + * bob.generateKeys(); + * + * const aliceSecret = alice.computeSecret(bob.getPublicKey(), null, 'hex'); + * const bobSecret = bob.computeSecret(alice.getPublicKey(), null, 'hex'); + * + * // aliceSecret and bobSecret should be the same + * console.log(aliceSecret === bobSecret); + * ``` + * @since v0.7.5 + */ + function getDiffieHellman(groupName: string): DiffieHellmanGroup; + /** + * An alias for {@link getDiffieHellman} + * @since v0.9.3 + */ + function createDiffieHellmanGroup(name: string): DiffieHellmanGroup; + /** + * Provides an asynchronous Password-Based Key Derivation Function 2 (PBKDF2) + * implementation. A selected HMAC digest algorithm specified by `digest` is + * applied to derive a key of the requested byte length (`keylen`) from the`password`, `salt` and `iterations`. + * + * The supplied `callback` function is called with two arguments: `err` and`derivedKey`. If an error occurs while deriving the key, `err` will be set; + * otherwise `err` will be `null`. By default, the successfully generated`derivedKey` will be passed to the callback as a `Buffer`. An error will be + * thrown if any of the input arguments specify invalid values or types. + * + * The `iterations` argument must be a number set as high as possible. The + * higher the number of iterations, the more secure the derived key will be, + * but will take a longer amount of time to complete. + * + * The `salt` should be as unique as possible. It is recommended that a salt is + * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. + * + * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. + * + * ```js + * const { + * pbkdf2, + * } = await import('node:crypto'); + * + * pbkdf2('secret', 'salt', 100000, 64, 'sha512', (err, derivedKey) => { + * if (err) throw err; + * console.log(derivedKey.toString('hex')); // '3745e48...08d59ae' + * }); + * ``` + * + * An array of supported digest functions can be retrieved using {@link getHashes}. + * + * This API uses libuv's threadpool, which can have surprising and + * negative performance implications for some applications; see the `UV_THREADPOOL_SIZE` documentation for more information. + * @since v0.5.5 + */ + function pbkdf2( + password: BinaryLike, + salt: BinaryLike, + iterations: number, + keylen: number, + digest: string, + callback: (err: Error | null, derivedKey: Buffer) => void, + ): void; + /** + * Provides a synchronous Password-Based Key Derivation Function 2 (PBKDF2) + * implementation. A selected HMAC digest algorithm specified by `digest` is + * applied to derive a key of the requested byte length (`keylen`) from the`password`, `salt` and `iterations`. + * + * If an error occurs an `Error` will be thrown, otherwise the derived key will be + * returned as a `Buffer`. + * + * The `iterations` argument must be a number set as high as possible. The + * higher the number of iterations, the more secure the derived key will be, + * but will take a longer amount of time to complete. + * + * The `salt` should be as unique as possible. It is recommended that a salt is + * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. + * + * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. + * + * ```js + * const { + * pbkdf2Sync, + * } = await import('node:crypto'); + * + * const key = pbkdf2Sync('secret', 'salt', 100000, 64, 'sha512'); + * console.log(key.toString('hex')); // '3745e48...08d59ae' + * ``` + * + * An array of supported digest functions can be retrieved using {@link getHashes}. + * @since v0.9.3 + */ + function pbkdf2Sync( + password: BinaryLike, + salt: BinaryLike, + iterations: number, + keylen: number, + digest: string, + ): Buffer; + /** + * Generates cryptographically strong pseudorandom data. The `size` argument + * is a number indicating the number of bytes to generate. + * + * If a `callback` function is provided, the bytes are generated asynchronously + * and the `callback` function is invoked with two arguments: `err` and `buf`. + * If an error occurs, `err` will be an `Error` object; otherwise it is `null`. The`buf` argument is a `Buffer` containing the generated bytes. + * + * ```js + * // Asynchronous + * const { + * randomBytes, + * } = await import('node:crypto'); + * + * randomBytes(256, (err, buf) => { + * if (err) throw err; + * console.log(`${buf.length} bytes of random data: ${buf.toString('hex')}`); + * }); + * ``` + * + * If the `callback` function is not provided, the random bytes are generated + * synchronously and returned as a `Buffer`. An error will be thrown if + * there is a problem generating the bytes. + * + * ```js + * // Synchronous + * const { + * randomBytes, + * } = await import('node:crypto'); + * + * const buf = randomBytes(256); + * console.log( + * `${buf.length} bytes of random data: ${buf.toString('hex')}`); + * ``` + * + * The `crypto.randomBytes()` method will not complete until there is + * sufficient entropy available. + * This should normally never take longer than a few milliseconds. The only time + * when generating the random bytes may conceivably block for a longer period of + * time is right after boot, when the whole system is still low on entropy. + * + * This API uses libuv's threadpool, which can have surprising and + * negative performance implications for some applications; see the `UV_THREADPOOL_SIZE` documentation for more information. + * + * The asynchronous version of `crypto.randomBytes()` is carried out in a single + * threadpool request. To minimize threadpool task length variation, partition + * large `randomBytes` requests when doing so as part of fulfilling a client + * request. + * @since v0.5.8 + * @param size The number of bytes to generate. The `size` must not be larger than `2**31 - 1`. + * @return if the `callback` function is not provided. + */ + function randomBytes(size: number): Buffer; + function randomBytes(size: number, callback: (err: Error | null, buf: Buffer) => void): void; + function pseudoRandomBytes(size: number): Buffer; + function pseudoRandomBytes(size: number, callback: (err: Error | null, buf: Buffer) => void): void; + /** + * Return a random integer `n` such that `min <= n < max`. This + * implementation avoids [modulo bias](https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle#Modulo_bias). + * + * The range (`max - min`) must be less than 248. `min` and `max` must + * be [safe integers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger). + * + * If the `callback` function is not provided, the random integer is + * generated synchronously. + * + * ```js + * // Asynchronous + * const { + * randomInt, + * } = await import('node:crypto'); + * + * randomInt(3, (err, n) => { + * if (err) throw err; + * console.log(`Random number chosen from (0, 1, 2): ${n}`); + * }); + * ``` + * + * ```js + * // Synchronous + * const { + * randomInt, + * } = await import('node:crypto'); + * + * const n = randomInt(3); + * console.log(`Random number chosen from (0, 1, 2): ${n}`); + * ``` + * + * ```js + * // With `min` argument + * const { + * randomInt, + * } = await import('node:crypto'); + * + * const n = randomInt(1, 7); + * console.log(`The dice rolled: ${n}`); + * ``` + * @since v14.10.0, v12.19.0 + * @param [min=0] Start of random range (inclusive). + * @param max End of random range (exclusive). + * @param callback `function(err, n) {}`. + */ + function randomInt(max: number): number; + function randomInt(min: number, max: number): number; + function randomInt(max: number, callback: (err: Error | null, value: number) => void): void; + function randomInt(min: number, max: number, callback: (err: Error | null, value: number) => void): void; + /** + * Synchronous version of {@link randomFill}. + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { randomFillSync } = await import('node:crypto'); + * + * const buf = Buffer.alloc(10); + * console.log(randomFillSync(buf).toString('hex')); + * + * randomFillSync(buf, 5); + * console.log(buf.toString('hex')); + * + * // The above is equivalent to the following: + * randomFillSync(buf, 5, 5); + * console.log(buf.toString('hex')); + * ``` + * + * Any `ArrayBuffer`, `TypedArray` or `DataView` instance may be passed as`buffer`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { randomFillSync } = await import('node:crypto'); + * + * const a = new Uint32Array(10); + * console.log(Buffer.from(randomFillSync(a).buffer, + * a.byteOffset, a.byteLength).toString('hex')); + * + * const b = new DataView(new ArrayBuffer(10)); + * console.log(Buffer.from(randomFillSync(b).buffer, + * b.byteOffset, b.byteLength).toString('hex')); + * + * const c = new ArrayBuffer(10); + * console.log(Buffer.from(randomFillSync(c)).toString('hex')); + * ``` + * @since v7.10.0, v6.13.0 + * @param buffer Must be supplied. The size of the provided `buffer` must not be larger than `2**31 - 1`. + * @param [offset=0] + * @param [size=buffer.length - offset] + * @return The object passed as `buffer` argument. + */ + function randomFillSync(buffer: T, offset?: number, size?: number): T; + /** + * This function is similar to {@link randomBytes} but requires the first + * argument to be a `Buffer` that will be filled. It also + * requires that a callback is passed in. + * + * If the `callback` function is not provided, an error will be thrown. + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { randomFill } = await import('node:crypto'); + * + * const buf = Buffer.alloc(10); + * randomFill(buf, (err, buf) => { + * if (err) throw err; + * console.log(buf.toString('hex')); + * }); + * + * randomFill(buf, 5, (err, buf) => { + * if (err) throw err; + * console.log(buf.toString('hex')); + * }); + * + * // The above is equivalent to the following: + * randomFill(buf, 5, 5, (err, buf) => { + * if (err) throw err; + * console.log(buf.toString('hex')); + * }); + * ``` + * + * Any `ArrayBuffer`, `TypedArray`, or `DataView` instance may be passed as`buffer`. + * + * While this includes instances of `Float32Array` and `Float64Array`, this + * function should not be used to generate random floating-point numbers. The + * result may contain `+Infinity`, `-Infinity`, and `NaN`, and even if the array + * contains finite numbers only, they are not drawn from a uniform random + * distribution and have no meaningful lower or upper bounds. + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { randomFill } = await import('node:crypto'); + * + * const a = new Uint32Array(10); + * randomFill(a, (err, buf) => { + * if (err) throw err; + * console.log(Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength) + * .toString('hex')); + * }); + * + * const b = new DataView(new ArrayBuffer(10)); + * randomFill(b, (err, buf) => { + * if (err) throw err; + * console.log(Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength) + * .toString('hex')); + * }); + * + * const c = new ArrayBuffer(10); + * randomFill(c, (err, buf) => { + * if (err) throw err; + * console.log(Buffer.from(buf).toString('hex')); + * }); + * ``` + * + * This API uses libuv's threadpool, which can have surprising and + * negative performance implications for some applications; see the `UV_THREADPOOL_SIZE` documentation for more information. + * + * The asynchronous version of `crypto.randomFill()` is carried out in a single + * threadpool request. To minimize threadpool task length variation, partition + * large `randomFill` requests when doing so as part of fulfilling a client + * request. + * @since v7.10.0, v6.13.0 + * @param buffer Must be supplied. The size of the provided `buffer` must not be larger than `2**31 - 1`. + * @param [offset=0] + * @param [size=buffer.length - offset] + * @param callback `function(err, buf) {}`. + */ + function randomFill( + buffer: T, + callback: (err: Error | null, buf: T) => void, + ): void; + function randomFill( + buffer: T, + offset: number, + callback: (err: Error | null, buf: T) => void, + ): void; + function randomFill( + buffer: T, + offset: number, + size: number, + callback: (err: Error | null, buf: T) => void, + ): void; + interface ScryptOptions { + cost?: number | undefined; + blockSize?: number | undefined; + parallelization?: number | undefined; + N?: number | undefined; + r?: number | undefined; + p?: number | undefined; + maxmem?: number | undefined; + } + /** + * Provides an asynchronous [scrypt](https://en.wikipedia.org/wiki/Scrypt) implementation. Scrypt is a password-based + * key derivation function that is designed to be expensive computationally and + * memory-wise in order to make brute-force attacks unrewarding. + * + * The `salt` should be as unique as possible. It is recommended that a salt is + * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. + * + * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. + * + * The `callback` function is called with two arguments: `err` and `derivedKey`.`err` is an exception object when key derivation fails, otherwise `err` is`null`. `derivedKey` is passed to the + * callback as a `Buffer`. + * + * An exception is thrown when any of the input arguments specify invalid values + * or types. + * + * ```js + * const { + * scrypt, + * } = await import('node:crypto'); + * + * // Using the factory defaults. + * scrypt('password', 'salt', 64, (err, derivedKey) => { + * if (err) throw err; + * console.log(derivedKey.toString('hex')); // '3745e48...08d59ae' + * }); + * // Using a custom N parameter. Must be a power of two. + * scrypt('password', 'salt', 64, { N: 1024 }, (err, derivedKey) => { + * if (err) throw err; + * console.log(derivedKey.toString('hex')); // '3745e48...aa39b34' + * }); + * ``` + * @since v10.5.0 + */ + function scrypt( + password: BinaryLike, + salt: BinaryLike, + keylen: number, + callback: (err: Error | null, derivedKey: Buffer) => void, + ): void; + function scrypt( + password: BinaryLike, + salt: BinaryLike, + keylen: number, + options: ScryptOptions, + callback: (err: Error | null, derivedKey: Buffer) => void, + ): void; + /** + * Provides a synchronous [scrypt](https://en.wikipedia.org/wiki/Scrypt) implementation. Scrypt is a password-based + * key derivation function that is designed to be expensive computationally and + * memory-wise in order to make brute-force attacks unrewarding. + * + * The `salt` should be as unique as possible. It is recommended that a salt is + * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. + * + * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. + * + * An exception is thrown when key derivation fails, otherwise the derived key is + * returned as a `Buffer`. + * + * An exception is thrown when any of the input arguments specify invalid values + * or types. + * + * ```js + * const { + * scryptSync, + * } = await import('node:crypto'); + * // Using the factory defaults. + * + * const key1 = scryptSync('password', 'salt', 64); + * console.log(key1.toString('hex')); // '3745e48...08d59ae' + * // Using a custom N parameter. Must be a power of two. + * const key2 = scryptSync('password', 'salt', 64, { N: 1024 }); + * console.log(key2.toString('hex')); // '3745e48...aa39b34' + * ``` + * @since v10.5.0 + */ + function scryptSync(password: BinaryLike, salt: BinaryLike, keylen: number, options?: ScryptOptions): Buffer; + interface RsaPublicKey { + key: KeyLike; + padding?: number | undefined; + } + interface RsaPrivateKey { + key: KeyLike; + passphrase?: string | undefined; + /** + * @default 'sha1' + */ + oaepHash?: string | undefined; + oaepLabel?: NodeJS.TypedArray | undefined; + padding?: number | undefined; + } + /** + * Encrypts the content of `buffer` with `key` and returns a new `Buffer` with encrypted content. The returned data can be decrypted using + * the corresponding private key, for example using {@link privateDecrypt}. + * + * If `key` is not a `KeyObject`, this function behaves as if`key` had been passed to {@link createPublicKey}. If it is an + * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_OAEP_PADDING`. + * + * Because RSA public keys can be derived from private keys, a private key may + * be passed instead of a public key. + * @since v0.11.14 + */ + function publicEncrypt(key: RsaPublicKey | RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; + /** + * Decrypts `buffer` with `key`.`buffer` was previously encrypted using + * the corresponding private key, for example using {@link privateEncrypt}. + * + * If `key` is not a `KeyObject`, this function behaves as if`key` had been passed to {@link createPublicKey}. If it is an + * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_PADDING`. + * + * Because RSA public keys can be derived from private keys, a private key may + * be passed instead of a public key. + * @since v1.1.0 + */ + function publicDecrypt(key: RsaPublicKey | RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; + /** + * Decrypts `buffer` with `privateKey`. `buffer` was previously encrypted using + * the corresponding public key, for example using {@link publicEncrypt}. + * + * If `privateKey` is not a `KeyObject`, this function behaves as if`privateKey` had been passed to {@link createPrivateKey}. If it is an + * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_OAEP_PADDING`. + * @since v0.11.14 + */ + function privateDecrypt(privateKey: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; + /** + * Encrypts `buffer` with `privateKey`. The returned data can be decrypted using + * the corresponding public key, for example using {@link publicDecrypt}. + * + * If `privateKey` is not a `KeyObject`, this function behaves as if`privateKey` had been passed to {@link createPrivateKey}. If it is an + * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_PADDING`. + * @since v1.1.0 + */ + function privateEncrypt(privateKey: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; + /** + * ```js + * const { + * getCiphers, + * } = await import('node:crypto'); + * + * console.log(getCiphers()); // ['aes-128-cbc', 'aes-128-ccm', ...] + * ``` + * @since v0.9.3 + * @return An array with the names of the supported cipher algorithms. + */ + function getCiphers(): string[]; + /** + * ```js + * const { + * getCurves, + * } = await import('node:crypto'); + * + * console.log(getCurves()); // ['Oakley-EC2N-3', 'Oakley-EC2N-4', ...] + * ``` + * @since v2.3.0 + * @return An array with the names of the supported elliptic curves. + */ + function getCurves(): string[]; + /** + * @since v10.0.0 + * @return `1` if and only if a FIPS compliant crypto provider is currently in use, `0` otherwise. A future semver-major release may change the return type of this API to a {boolean}. + */ + function getFips(): 1 | 0; + /** + * Enables the FIPS compliant crypto provider in a FIPS-enabled Node.js build. + * Throws an error if FIPS mode is not available. + * @since v10.0.0 + * @param bool `true` to enable FIPS mode. + */ + function setFips(bool: boolean): void; + /** + * ```js + * const { + * getHashes, + * } = await import('node:crypto'); + * + * console.log(getHashes()); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...] + * ``` + * @since v0.9.3 + * @return An array of the names of the supported hash algorithms, such as `'RSA-SHA256'`. Hash algorithms are also called "digest" algorithms. + */ + function getHashes(): string[]; + /** + * The `ECDH` class is a utility for creating Elliptic Curve Diffie-Hellman (ECDH) + * key exchanges. + * + * Instances of the `ECDH` class can be created using the {@link createECDH} function. + * + * ```js + * import assert from 'node:assert'; + * + * const { + * createECDH, + * } = await import('node:crypto'); + * + * // Generate Alice's keys... + * const alice = createECDH('secp521r1'); + * const aliceKey = alice.generateKeys(); + * + * // Generate Bob's keys... + * const bob = createECDH('secp521r1'); + * const bobKey = bob.generateKeys(); + * + * // Exchange and generate the secret... + * const aliceSecret = alice.computeSecret(bobKey); + * const bobSecret = bob.computeSecret(aliceKey); + * + * assert.strictEqual(aliceSecret.toString('hex'), bobSecret.toString('hex')); + * // OK + * ``` + * @since v0.11.14 + */ + class ECDH { + private constructor(); + /** + * Converts the EC Diffie-Hellman public key specified by `key` and `curve` to the + * format specified by `format`. The `format` argument specifies point encoding + * and can be `'compressed'`, `'uncompressed'` or `'hybrid'`. The supplied key is + * interpreted using the specified `inputEncoding`, and the returned key is encoded + * using the specified `outputEncoding`. + * + * Use {@link getCurves} to obtain a list of available curve names. + * On recent OpenSSL releases, `openssl ecparam -list_curves` will also display + * the name and description of each available elliptic curve. + * + * If `format` is not specified the point will be returned in `'uncompressed'`format. + * + * If the `inputEncoding` is not provided, `key` is expected to be a `Buffer`,`TypedArray`, or `DataView`. + * + * Example (uncompressing a key): + * + * ```js + * const { + * createECDH, + * ECDH, + * } = await import('node:crypto'); + * + * const ecdh = createECDH('secp256k1'); + * ecdh.generateKeys(); + * + * const compressedKey = ecdh.getPublicKey('hex', 'compressed'); + * + * const uncompressedKey = ECDH.convertKey(compressedKey, + * 'secp256k1', + * 'hex', + * 'hex', + * 'uncompressed'); + * + * // The converted key and the uncompressed public key should be the same + * console.log(uncompressedKey === ecdh.getPublicKey('hex')); + * ``` + * @since v10.0.0 + * @param inputEncoding The `encoding` of the `key` string. + * @param outputEncoding The `encoding` of the return value. + * @param [format='uncompressed'] + */ + static convertKey( + key: BinaryLike, + curve: string, + inputEncoding?: BinaryToTextEncoding, + outputEncoding?: "latin1" | "hex" | "base64" | "base64url", + format?: "uncompressed" | "compressed" | "hybrid", + ): Buffer | string; + /** + * Generates private and public EC Diffie-Hellman key values, and returns + * the public key in the specified `format` and `encoding`. This key should be + * transferred to the other party. + * + * The `format` argument specifies point encoding and can be `'compressed'` or`'uncompressed'`. If `format` is not specified, the point will be returned in`'uncompressed'` format. + * + * If `encoding` is provided a string is returned; otherwise a `Buffer` is returned. + * @since v0.11.14 + * @param encoding The `encoding` of the return value. + * @param [format='uncompressed'] + */ + generateKeys(): Buffer; + generateKeys(encoding: BinaryToTextEncoding, format?: ECDHKeyFormat): string; + /** + * Computes the shared secret using `otherPublicKey` as the other + * party's public key and returns the computed shared secret. The supplied + * key is interpreted using specified `inputEncoding`, and the returned secret + * is encoded using the specified `outputEncoding`. + * If the `inputEncoding` is not + * provided, `otherPublicKey` is expected to be a `Buffer`, `TypedArray`, or`DataView`. + * + * If `outputEncoding` is given a string will be returned; otherwise a `Buffer` is returned. + * + * `ecdh.computeSecret` will throw an`ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY` error when `otherPublicKey`lies outside of the elliptic curve. Since `otherPublicKey` is + * usually supplied from a remote user over an insecure network, + * be sure to handle this exception accordingly. + * @since v0.11.14 + * @param inputEncoding The `encoding` of the `otherPublicKey` string. + * @param outputEncoding The `encoding` of the return value. + */ + computeSecret(otherPublicKey: NodeJS.ArrayBufferView): Buffer; + computeSecret(otherPublicKey: string, inputEncoding: BinaryToTextEncoding): Buffer; + computeSecret(otherPublicKey: NodeJS.ArrayBufferView, outputEncoding: BinaryToTextEncoding): string; + computeSecret( + otherPublicKey: string, + inputEncoding: BinaryToTextEncoding, + outputEncoding: BinaryToTextEncoding, + ): string; + /** + * If `encoding` is specified, a string is returned; otherwise a `Buffer` is + * returned. + * @since v0.11.14 + * @param encoding The `encoding` of the return value. + * @return The EC Diffie-Hellman in the specified `encoding`. + */ + getPrivateKey(): Buffer; + getPrivateKey(encoding: BinaryToTextEncoding): string; + /** + * The `format` argument specifies point encoding and can be `'compressed'` or`'uncompressed'`. If `format` is not specified the point will be returned in`'uncompressed'` format. + * + * If `encoding` is specified, a string is returned; otherwise a `Buffer` is + * returned. + * @since v0.11.14 + * @param encoding The `encoding` of the return value. + * @param [format='uncompressed'] + * @return The EC Diffie-Hellman public key in the specified `encoding` and `format`. + */ + getPublicKey(encoding?: null, format?: ECDHKeyFormat): Buffer; + getPublicKey(encoding: BinaryToTextEncoding, format?: ECDHKeyFormat): string; + /** + * Sets the EC Diffie-Hellman private key. + * If `encoding` is provided, `privateKey` is expected + * to be a string; otherwise `privateKey` is expected to be a `Buffer`,`TypedArray`, or `DataView`. + * + * If `privateKey` is not valid for the curve specified when the `ECDH` object was + * created, an error is thrown. Upon setting the private key, the associated + * public point (key) is also generated and set in the `ECDH` object. + * @since v0.11.14 + * @param encoding The `encoding` of the `privateKey` string. + */ + setPrivateKey(privateKey: NodeJS.ArrayBufferView): void; + setPrivateKey(privateKey: string, encoding: BinaryToTextEncoding): void; + } + /** + * Creates an Elliptic Curve Diffie-Hellman (`ECDH`) key exchange object using a + * predefined curve specified by the `curveName` string. Use {@link getCurves} to obtain a list of available curve names. On recent + * OpenSSL releases, `openssl ecparam -list_curves` will also display the name + * and description of each available elliptic curve. + * @since v0.11.14 + */ + function createECDH(curveName: string): ECDH; + /** + * This function compares the underlying bytes that represent the given`ArrayBuffer`, `TypedArray`, or `DataView` instances using a constant-time + * algorithm. + * + * This function does not leak timing information that + * would allow an attacker to guess one of the values. This is suitable for + * comparing HMAC digests or secret values like authentication cookies or [capability urls](https://www.w3.org/TR/capability-urls/). + * + * `a` and `b` must both be `Buffer`s, `TypedArray`s, or `DataView`s, and they + * must have the same byte length. An error is thrown if `a` and `b` have + * different byte lengths. + * + * If at least one of `a` and `b` is a `TypedArray` with more than one byte per + * entry, such as `Uint16Array`, the result will be computed using the platform + * byte order. + * + * **When both of the inputs are `Float32Array`s or`Float64Array`s, this function might return unexpected results due to IEEE 754** + * **encoding of floating-point numbers. In particular, neither `x === y` nor`Object.is(x, y)` implies that the byte representations of two floating-point** + * **numbers `x` and `y` are equal.** + * + * Use of `crypto.timingSafeEqual` does not guarantee that the _surrounding_ code + * is timing-safe. Care should be taken to ensure that the surrounding code does + * not introduce timing vulnerabilities. + * @since v6.6.0 + */ + function timingSafeEqual(a: NodeJS.ArrayBufferView, b: NodeJS.ArrayBufferView): boolean; + type KeyType = "rsa" | "rsa-pss" | "dsa" | "ec" | "ed25519" | "ed448" | "x25519" | "x448"; + type KeyFormat = "pem" | "der" | "jwk"; + interface BasePrivateKeyEncodingOptions { + format: T; + cipher?: string | undefined; + passphrase?: string | undefined; + } + interface KeyPairKeyObjectResult { + publicKey: KeyObject; + privateKey: KeyObject; + } + interface ED25519KeyPairKeyObjectOptions {} + interface ED448KeyPairKeyObjectOptions {} + interface X25519KeyPairKeyObjectOptions {} + interface X448KeyPairKeyObjectOptions {} + interface ECKeyPairKeyObjectOptions { + /** + * Name of the curve to use + */ + namedCurve: string; + /** + * Must be `'named'` or `'explicit'`. Default: `'named'`. + */ + paramEncoding?: "explicit" | "named" | undefined; + } + interface RSAKeyPairKeyObjectOptions { + /** + * Key size in bits + */ + modulusLength: number; + /** + * Public exponent + * @default 0x10001 + */ + publicExponent?: number | undefined; + } + interface RSAPSSKeyPairKeyObjectOptions { + /** + * Key size in bits + */ + modulusLength: number; + /** + * Public exponent + * @default 0x10001 + */ + publicExponent?: number | undefined; + /** + * Name of the message digest + */ + hashAlgorithm?: string; + /** + * Name of the message digest used by MGF1 + */ + mgf1HashAlgorithm?: string; + /** + * Minimal salt length in bytes + */ + saltLength?: string; + } + interface DSAKeyPairKeyObjectOptions { + /** + * Key size in bits + */ + modulusLength: number; + /** + * Size of q in bits + */ + divisorLength: number; + } + interface RSAKeyPairOptions { + /** + * Key size in bits + */ + modulusLength: number; + /** + * Public exponent + * @default 0x10001 + */ + publicExponent?: number | undefined; + publicKeyEncoding: { + type: "pkcs1" | "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "pkcs1" | "pkcs8"; + }; + } + interface RSAPSSKeyPairOptions { + /** + * Key size in bits + */ + modulusLength: number; + /** + * Public exponent + * @default 0x10001 + */ + publicExponent?: number | undefined; + /** + * Name of the message digest + */ + hashAlgorithm?: string; + /** + * Name of the message digest used by MGF1 + */ + mgf1HashAlgorithm?: string; + /** + * Minimal salt length in bytes + */ + saltLength?: string; + publicKeyEncoding: { + type: "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "pkcs8"; + }; + } + interface DSAKeyPairOptions { + /** + * Key size in bits + */ + modulusLength: number; + /** + * Size of q in bits + */ + divisorLength: number; + publicKeyEncoding: { + type: "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "pkcs8"; + }; + } + interface ECKeyPairOptions extends ECKeyPairKeyObjectOptions { + publicKeyEncoding: { + type: "pkcs1" | "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "sec1" | "pkcs8"; + }; + } + interface ED25519KeyPairOptions { + publicKeyEncoding: { + type: "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "pkcs8"; + }; + } + interface ED448KeyPairOptions { + publicKeyEncoding: { + type: "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "pkcs8"; + }; + } + interface X25519KeyPairOptions { + publicKeyEncoding: { + type: "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "pkcs8"; + }; + } + interface X448KeyPairOptions { + publicKeyEncoding: { + type: "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "pkcs8"; + }; + } + interface KeyPairSyncResult { + publicKey: T1; + privateKey: T2; + } + /** + * Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC, + * Ed25519, Ed448, X25519, X448, and DH are currently supported. + * + * If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function + * behaves as if `keyObject.export()` had been called on its result. Otherwise, + * the respective part of the key is returned as a `KeyObject`. + * + * When encoding public keys, it is recommended to use `'spki'`. When encoding + * private keys, it is recommended to use `'pkcs8'` with a strong passphrase, + * and to keep the passphrase confidential. + * + * ```js + * const { + * generateKeyPairSync, + * } = await import('node:crypto'); + * + * const { + * publicKey, + * privateKey, + * } = generateKeyPairSync('rsa', { + * modulusLength: 4096, + * publicKeyEncoding: { + * type: 'spki', + * format: 'pem', + * }, + * privateKeyEncoding: { + * type: 'pkcs8', + * format: 'pem', + * cipher: 'aes-256-cbc', + * passphrase: 'top secret', + * }, + * }); + * ``` + * + * The return value `{ publicKey, privateKey }` represents the generated key pair. + * When PEM encoding was selected, the respective key will be a string, otherwise + * it will be a buffer containing the data encoded as DER. + * @since v10.12.0 + * @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`, `'ed448'`, `'x25519'`, `'x448'`, or `'dh'`. + */ + function generateKeyPairSync( + type: "rsa", + options: RSAKeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "rsa", + options: RSAKeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "rsa", + options: RSAKeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "rsa", + options: RSAKeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "rsa", options: RSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult; + function generateKeyPairSync( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "rsa-pss", options: RSAPSSKeyPairKeyObjectOptions): KeyPairKeyObjectResult; + function generateKeyPairSync( + type: "dsa", + options: DSAKeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "dsa", + options: DSAKeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "dsa", + options: DSAKeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "dsa", + options: DSAKeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "dsa", options: DSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult; + function generateKeyPairSync( + type: "ec", + options: ECKeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ec", + options: ECKeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ec", + options: ECKeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ec", + options: ECKeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "ec", options: ECKeyPairKeyObjectOptions): KeyPairKeyObjectResult; + function generateKeyPairSync( + type: "ed25519", + options: ED25519KeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ed25519", + options: ED25519KeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ed25519", + options: ED25519KeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ed25519", + options: ED25519KeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "ed25519", options?: ED25519KeyPairKeyObjectOptions): KeyPairKeyObjectResult; + function generateKeyPairSync( + type: "ed448", + options: ED448KeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ed448", + options: ED448KeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ed448", + options: ED448KeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ed448", + options: ED448KeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "ed448", options?: ED448KeyPairKeyObjectOptions): KeyPairKeyObjectResult; + function generateKeyPairSync( + type: "x25519", + options: X25519KeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "x25519", + options: X25519KeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "x25519", + options: X25519KeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "x25519", + options: X25519KeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "x25519", options?: X25519KeyPairKeyObjectOptions): KeyPairKeyObjectResult; + function generateKeyPairSync( + type: "x448", + options: X448KeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "x448", + options: X448KeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "x448", + options: X448KeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "x448", + options: X448KeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "x448", options?: X448KeyPairKeyObjectOptions): KeyPairKeyObjectResult; + /** + * Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC, + * Ed25519, Ed448, X25519, X448, and DH are currently supported. + * + * If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function + * behaves as if `keyObject.export()` had been called on its result. Otherwise, + * the respective part of the key is returned as a `KeyObject`. + * + * It is recommended to encode public keys as `'spki'` and private keys as`'pkcs8'` with encryption for long-term storage: + * + * ```js + * const { + * generateKeyPair, + * } = await import('node:crypto'); + * + * generateKeyPair('rsa', { + * modulusLength: 4096, + * publicKeyEncoding: { + * type: 'spki', + * format: 'pem', + * }, + * privateKeyEncoding: { + * type: 'pkcs8', + * format: 'pem', + * cipher: 'aes-256-cbc', + * passphrase: 'top secret', + * }, + * }, (err, publicKey, privateKey) => { + * // Handle errors and use the generated key pair. + * }); + * ``` + * + * On completion, `callback` will be called with `err` set to `undefined` and`publicKey` / `privateKey` representing the generated key pair. + * + * If this method is invoked as its `util.promisify()` ed version, it returns + * a `Promise` for an `Object` with `publicKey` and `privateKey` properties. + * @since v10.12.0 + * @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`, `'ed448'`, `'x25519'`, `'x448'`, or `'dh'`. + */ + function generateKeyPair( + type: "rsa", + options: RSAKeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "rsa", + options: RSAKeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "rsa", + options: RSAKeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "rsa", + options: RSAKeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "rsa", + options: RSAKeyPairKeyObjectOptions, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + function generateKeyPair( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "rsa-pss", + options: RSAPSSKeyPairKeyObjectOptions, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + function generateKeyPair( + type: "dsa", + options: DSAKeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "dsa", + options: DSAKeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "dsa", + options: DSAKeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "dsa", + options: DSAKeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "dsa", + options: DSAKeyPairKeyObjectOptions, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + function generateKeyPair( + type: "ec", + options: ECKeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "ec", + options: ECKeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "ec", + options: ECKeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "ec", + options: ECKeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "ec", + options: ECKeyPairKeyObjectOptions, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + function generateKeyPair( + type: "ed25519", + options: ED25519KeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "ed25519", + options: ED25519KeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "ed25519", + options: ED25519KeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "ed25519", + options: ED25519KeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "ed25519", + options: ED25519KeyPairKeyObjectOptions | undefined, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + function generateKeyPair( + type: "ed448", + options: ED448KeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "ed448", + options: ED448KeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "ed448", + options: ED448KeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "ed448", + options: ED448KeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "ed448", + options: ED448KeyPairKeyObjectOptions | undefined, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + function generateKeyPair( + type: "x25519", + options: X25519KeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "x25519", + options: X25519KeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "x25519", + options: X25519KeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "x25519", + options: X25519KeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "x25519", + options: X25519KeyPairKeyObjectOptions | undefined, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + function generateKeyPair( + type: "x448", + options: X448KeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "x448", + options: X448KeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "x448", + options: X448KeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "x448", + options: X448KeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "x448", + options: X448KeyPairKeyObjectOptions | undefined, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + namespace generateKeyPair { + function __promisify__( + type: "rsa", + options: RSAKeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "rsa", + options: RSAKeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "rsa", + options: RSAKeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "rsa", + options: RSAKeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__(type: "rsa", options: RSAKeyPairKeyObjectOptions): Promise; + function __promisify__( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__( + type: "rsa-pss", + options: RSAPSSKeyPairKeyObjectOptions, + ): Promise; + function __promisify__( + type: "dsa", + options: DSAKeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "dsa", + options: DSAKeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "dsa", + options: DSAKeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "dsa", + options: DSAKeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__(type: "dsa", options: DSAKeyPairKeyObjectOptions): Promise; + function __promisify__( + type: "ec", + options: ECKeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "ec", + options: ECKeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "ec", + options: ECKeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "ec", + options: ECKeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__(type: "ec", options: ECKeyPairKeyObjectOptions): Promise; + function __promisify__( + type: "ed25519", + options: ED25519KeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "ed25519", + options: ED25519KeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "ed25519", + options: ED25519KeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "ed25519", + options: ED25519KeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__( + type: "ed25519", + options?: ED25519KeyPairKeyObjectOptions, + ): Promise; + function __promisify__( + type: "ed448", + options: ED448KeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "ed448", + options: ED448KeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "ed448", + options: ED448KeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "ed448", + options: ED448KeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__(type: "ed448", options?: ED448KeyPairKeyObjectOptions): Promise; + function __promisify__( + type: "x25519", + options: X25519KeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "x25519", + options: X25519KeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "x25519", + options: X25519KeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "x25519", + options: X25519KeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__( + type: "x25519", + options?: X25519KeyPairKeyObjectOptions, + ): Promise; + function __promisify__( + type: "x448", + options: X448KeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "x448", + options: X448KeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "x448", + options: X448KeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "x448", + options: X448KeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__(type: "x448", options?: X448KeyPairKeyObjectOptions): Promise; + } + /** + * Calculates and returns the signature for `data` using the given private key and + * algorithm. If `algorithm` is `null` or `undefined`, then the algorithm is + * dependent upon the key type (especially Ed25519 and Ed448). + * + * If `key` is not a `KeyObject`, this function behaves as if `key` had been + * passed to {@link createPrivateKey}. If it is an object, the following + * additional properties can be passed: + * + * If the `callback` function is provided this function uses libuv's threadpool. + * @since v12.0.0 + */ + function sign( + algorithm: string | null | undefined, + data: NodeJS.ArrayBufferView, + key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, + ): Buffer; + function sign( + algorithm: string | null | undefined, + data: NodeJS.ArrayBufferView, + key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, + callback: (error: Error | null, data: Buffer) => void, + ): void; + /** + * Verifies the given signature for `data` using the given key and algorithm. If`algorithm` is `null` or `undefined`, then the algorithm is dependent upon the + * key type (especially Ed25519 and Ed448). + * + * If `key` is not a `KeyObject`, this function behaves as if `key` had been + * passed to {@link createPublicKey}. If it is an object, the following + * additional properties can be passed: + * + * The `signature` argument is the previously calculated signature for the `data`. + * + * Because public keys can be derived from private keys, a private key or a public + * key may be passed for `key`. + * + * If the `callback` function is provided this function uses libuv's threadpool. + * @since v12.0.0 + */ + function verify( + algorithm: string | null | undefined, + data: NodeJS.ArrayBufferView, + key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, + signature: NodeJS.ArrayBufferView, + ): boolean; + function verify( + algorithm: string | null | undefined, + data: NodeJS.ArrayBufferView, + key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, + signature: NodeJS.ArrayBufferView, + callback: (error: Error | null, result: boolean) => void, + ): void; + /** + * Computes the Diffie-Hellman secret based on a `privateKey` and a `publicKey`. + * Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'`(for Diffie-Hellman), `'ec'` (for ECDH), `'x448'`, or `'x25519'` (for ECDH-ES). + * @since v13.9.0, v12.17.0 + */ + function diffieHellman(options: { privateKey: KeyObject; publicKey: KeyObject }): Buffer; + type CipherMode = "cbc" | "ccm" | "cfb" | "ctr" | "ecb" | "gcm" | "ocb" | "ofb" | "stream" | "wrap" | "xts"; + interface CipherInfoOptions { + /** + * A test key length. + */ + keyLength?: number | undefined; + /** + * A test IV length. + */ + ivLength?: number | undefined; + } + interface CipherInfo { + /** + * The name of the cipher. + */ + name: string; + /** + * The nid of the cipher. + */ + nid: number; + /** + * The block size of the cipher in bytes. + * This property is omitted when mode is 'stream'. + */ + blockSize?: number | undefined; + /** + * The expected or default initialization vector length in bytes. + * This property is omitted if the cipher does not use an initialization vector. + */ + ivLength?: number | undefined; + /** + * The expected or default key length in bytes. + */ + keyLength: number; + /** + * The cipher mode. + */ + mode: CipherMode; + } + /** + * Returns information about a given cipher. + * + * Some ciphers accept variable length keys and initialization vectors. By default, + * the `crypto.getCipherInfo()` method will return the default values for these + * ciphers. To test if a given key length or iv length is acceptable for given + * cipher, use the `keyLength` and `ivLength` options. If the given values are + * unacceptable, `undefined` will be returned. + * @since v15.0.0 + * @param nameOrNid The name or nid of the cipher to query. + */ + function getCipherInfo(nameOrNid: string | number, options?: CipherInfoOptions): CipherInfo | undefined; + /** + * HKDF is a simple key derivation function defined in RFC 5869\. The given `ikm`,`salt` and `info` are used with the `digest` to derive a key of `keylen` bytes. + * + * The supplied `callback` function is called with two arguments: `err` and`derivedKey`. If an errors occurs while deriving the key, `err` will be set; + * otherwise `err` will be `null`. The successfully generated `derivedKey` will + * be passed to the callback as an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). An error will be thrown if any + * of the input arguments specify invalid values or types. + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { + * hkdf, + * } = await import('node:crypto'); + * + * hkdf('sha512', 'key', 'salt', 'info', 64, (err, derivedKey) => { + * if (err) throw err; + * console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653' + * }); + * ``` + * @since v15.0.0 + * @param digest The digest algorithm to use. + * @param ikm The input keying material. Must be provided but can be zero-length. + * @param salt The salt value. Must be provided but can be zero-length. + * @param info Additional info value. Must be provided but can be zero-length, and cannot be more than 1024 bytes. + * @param keylen The length of the key to generate. Must be greater than 0. The maximum allowable value is `255` times the number of bytes produced by the selected digest function (e.g. `sha512` + * generates 64-byte hashes, making the maximum HKDF output 16320 bytes). + */ + function hkdf( + digest: string, + irm: BinaryLike | KeyObject, + salt: BinaryLike, + info: BinaryLike, + keylen: number, + callback: (err: Error | null, derivedKey: ArrayBuffer) => void, + ): void; + /** + * Provides a synchronous HKDF key derivation function as defined in RFC 5869\. The + * given `ikm`, `salt` and `info` are used with the `digest` to derive a key of`keylen` bytes. + * + * The successfully generated `derivedKey` will be returned as an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). + * + * An error will be thrown if any of the input arguments specify invalid values or + * types, or if the derived key cannot be generated. + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { + * hkdfSync, + * } = await import('node:crypto'); + * + * const derivedKey = hkdfSync('sha512', 'key', 'salt', 'info', 64); + * console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653' + * ``` + * @since v15.0.0 + * @param digest The digest algorithm to use. + * @param ikm The input keying material. Must be provided but can be zero-length. + * @param salt The salt value. Must be provided but can be zero-length. + * @param info Additional info value. Must be provided but can be zero-length, and cannot be more than 1024 bytes. + * @param keylen The length of the key to generate. Must be greater than 0. The maximum allowable value is `255` times the number of bytes produced by the selected digest function (e.g. `sha512` + * generates 64-byte hashes, making the maximum HKDF output 16320 bytes). + */ + function hkdfSync( + digest: string, + ikm: BinaryLike | KeyObject, + salt: BinaryLike, + info: BinaryLike, + keylen: number, + ): ArrayBuffer; + interface SecureHeapUsage { + /** + * The total allocated secure heap size as specified using the `--secure-heap=n` command-line flag. + */ + total: number; + /** + * The minimum allocation from the secure heap as specified using the `--secure-heap-min` command-line flag. + */ + min: number; + /** + * The total number of bytes currently allocated from the secure heap. + */ + used: number; + /** + * The calculated ratio of `used` to `total` allocated bytes. + */ + utilization: number; + } + /** + * @since v15.6.0 + */ + function secureHeapUsed(): SecureHeapUsage; + interface RandomUUIDOptions { + /** + * By default, to improve performance, + * Node.js will pre-emptively generate and persistently cache enough + * random data to generate up to 128 random UUIDs. To generate a UUID + * without using the cache, set `disableEntropyCache` to `true`. + * + * @default `false` + */ + disableEntropyCache?: boolean | undefined; + } + type UUID = `${string}-${string}-${string}-${string}-${string}`; + /** + * Generates a random [RFC 4122](https://www.rfc-editor.org/rfc/rfc4122.txt) version 4 UUID. The UUID is generated using a + * cryptographic pseudorandom number generator. + * @since v15.6.0, v14.17.0 + */ + function randomUUID(options?: RandomUUIDOptions): UUID; + interface X509CheckOptions { + /** + * @default 'always' + */ + subject?: "always" | "default" | "never"; + /** + * @default true + */ + wildcards?: boolean; + /** + * @default true + */ + partialWildcards?: boolean; + /** + * @default false + */ + multiLabelWildcards?: boolean; + /** + * @default false + */ + singleLabelSubdomains?: boolean; + } + /** + * Encapsulates an X509 certificate and provides read-only access to + * its information. + * + * ```js + * const { X509Certificate } = await import('node:crypto'); + * + * const x509 = new X509Certificate('{... pem encoded cert ...}'); + * + * console.log(x509.subject); + * ``` + * @since v15.6.0 + */ + class X509Certificate { + /** + * Will be \`true\` if this is a Certificate Authority (CA) certificate. + * @since v15.6.0 + */ + readonly ca: boolean; + /** + * The SHA-1 fingerprint of this certificate. + * + * Because SHA-1 is cryptographically broken and because the security of SHA-1 is + * significantly worse than that of algorithms that are commonly used to sign + * certificates, consider using `x509.fingerprint256` instead. + * @since v15.6.0 + */ + readonly fingerprint: string; + /** + * The SHA-256 fingerprint of this certificate. + * @since v15.6.0 + */ + readonly fingerprint256: string; + /** + * The SHA-512 fingerprint of this certificate. + * + * Because computing the SHA-256 fingerprint is usually faster and because it is + * only half the size of the SHA-512 fingerprint, `x509.fingerprint256` may be + * a better choice. While SHA-512 presumably provides a higher level of security in + * general, the security of SHA-256 matches that of most algorithms that are + * commonly used to sign certificates. + * @since v17.2.0, v16.14.0 + */ + readonly fingerprint512: string; + /** + * The complete subject of this certificate. + * @since v15.6.0 + */ + readonly subject: string; + /** + * The subject alternative name specified for this certificate. + * + * This is a comma-separated list of subject alternative names. Each entry begins + * with a string identifying the kind of the subject alternative name followed by + * a colon and the value associated with the entry. + * + * Earlier versions of Node.js incorrectly assumed that it is safe to split this + * property at the two-character sequence `', '` (see [CVE-2021-44532](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44532)). However, + * both malicious and legitimate certificates can contain subject alternative names + * that include this sequence when represented as a string. + * + * After the prefix denoting the type of the entry, the remainder of each entry + * might be enclosed in quotes to indicate that the value is a JSON string literal. + * For backward compatibility, Node.js only uses JSON string literals within this + * property when necessary to avoid ambiguity. Third-party code should be prepared + * to handle both possible entry formats. + * @since v15.6.0 + */ + readonly subjectAltName: string | undefined; + /** + * A textual representation of the certificate's authority information access + * extension. + * + * This is a line feed separated list of access descriptions. Each line begins with + * the access method and the kind of the access location, followed by a colon and + * the value associated with the access location. + * + * After the prefix denoting the access method and the kind of the access location, + * the remainder of each line might be enclosed in quotes to indicate that the + * value is a JSON string literal. For backward compatibility, Node.js only uses + * JSON string literals within this property when necessary to avoid ambiguity. + * Third-party code should be prepared to handle both possible entry formats. + * @since v15.6.0 + */ + readonly infoAccess: string | undefined; + /** + * An array detailing the key usages for this certificate. + * @since v15.6.0 + */ + readonly keyUsage: string[]; + /** + * The issuer identification included in this certificate. + * @since v15.6.0 + */ + readonly issuer: string; + /** + * The issuer certificate or `undefined` if the issuer certificate is not + * available. + * @since v15.9.0 + */ + readonly issuerCertificate?: X509Certificate | undefined; + /** + * The public key `KeyObject` for this certificate. + * @since v15.6.0 + */ + readonly publicKey: KeyObject; + /** + * A `Buffer` containing the DER encoding of this certificate. + * @since v15.6.0 + */ + readonly raw: Buffer; + /** + * The serial number of this certificate. + * + * Serial numbers are assigned by certificate authorities and do not uniquely + * identify certificates. Consider using `x509.fingerprint256` as a unique + * identifier instead. + * @since v15.6.0 + */ + readonly serialNumber: string; + /** + * The date/time from which this certificate is considered valid. + * @since v15.6.0 + */ + readonly validFrom: string; + /** + * The date/time until which this certificate is considered valid. + * @since v15.6.0 + */ + readonly validTo: string; + constructor(buffer: BinaryLike); + /** + * Checks whether the certificate matches the given email address. + * + * If the `'subject'` option is undefined or set to `'default'`, the certificate + * subject is only considered if the subject alternative name extension either does + * not exist or does not contain any email addresses. + * + * If the `'subject'` option is set to `'always'` and if the subject alternative + * name extension either does not exist or does not contain a matching email + * address, the certificate subject is considered. + * + * If the `'subject'` option is set to `'never'`, the certificate subject is never + * considered, even if the certificate contains no subject alternative names. + * @since v15.6.0 + * @return Returns `email` if the certificate matches, `undefined` if it does not. + */ + checkEmail(email: string, options?: Pick): string | undefined; + /** + * Checks whether the certificate matches the given host name. + * + * If the certificate matches the given host name, the matching subject name is + * returned. The returned name might be an exact match (e.g., `foo.example.com`) + * or it might contain wildcards (e.g., `*.example.com`). Because host name + * comparisons are case-insensitive, the returned subject name might also differ + * from the given `name` in capitalization. + * + * If the `'subject'` option is undefined or set to `'default'`, the certificate + * subject is only considered if the subject alternative name extension either does + * not exist or does not contain any DNS names. This behavior is consistent with [RFC 2818](https://www.rfc-editor.org/rfc/rfc2818.txt) ("HTTP Over TLS"). + * + * If the `'subject'` option is set to `'always'` and if the subject alternative + * name extension either does not exist or does not contain a matching DNS name, + * the certificate subject is considered. + * + * If the `'subject'` option is set to `'never'`, the certificate subject is never + * considered, even if the certificate contains no subject alternative names. + * @since v15.6.0 + * @return Returns a subject name that matches `name`, or `undefined` if no subject name matches `name`. + */ + checkHost(name: string, options?: X509CheckOptions): string | undefined; + /** + * Checks whether the certificate matches the given IP address (IPv4 or IPv6). + * + * Only [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280.txt) `iPAddress` subject alternative names are considered, and they + * must match the given `ip` address exactly. Other subject alternative names as + * well as the subject field of the certificate are ignored. + * @since v15.6.0 + * @return Returns `ip` if the certificate matches, `undefined` if it does not. + */ + checkIP(ip: string): string | undefined; + /** + * Checks whether this certificate was issued by the given `otherCert`. + * @since v15.6.0 + */ + checkIssued(otherCert: X509Certificate): boolean; + /** + * Checks whether the public key for this certificate is consistent with + * the given private key. + * @since v15.6.0 + * @param privateKey A private key. + */ + checkPrivateKey(privateKey: KeyObject): boolean; + /** + * There is no standard JSON encoding for X509 certificates. The`toJSON()` method returns a string containing the PEM encoded + * certificate. + * @since v15.6.0 + */ + toJSON(): string; + /** + * Returns information about this certificate using the legacy `certificate object` encoding. + * @since v15.6.0 + */ + toLegacyObject(): PeerCertificate; + /** + * Returns the PEM-encoded certificate. + * @since v15.6.0 + */ + toString(): string; + /** + * Verifies that this certificate was signed by the given public key. + * Does not perform any other validation checks on the certificate. + * @since v15.6.0 + * @param publicKey A public key. + */ + verify(publicKey: KeyObject): boolean; + } + type LargeNumberLike = NodeJS.ArrayBufferView | SharedArrayBuffer | ArrayBuffer | bigint; + interface GeneratePrimeOptions { + add?: LargeNumberLike | undefined; + rem?: LargeNumberLike | undefined; + /** + * @default false + */ + safe?: boolean | undefined; + bigint?: boolean | undefined; + } + interface GeneratePrimeOptionsBigInt extends GeneratePrimeOptions { + bigint: true; + } + interface GeneratePrimeOptionsArrayBuffer extends GeneratePrimeOptions { + bigint?: false | undefined; + } + /** + * Generates a pseudorandom prime of `size` bits. + * + * If `options.safe` is `true`, the prime will be a safe prime -- that is,`(prime - 1) / 2` will also be a prime. + * + * The `options.add` and `options.rem` parameters can be used to enforce additional + * requirements, e.g., for Diffie-Hellman: + * + * * If `options.add` and `options.rem` are both set, the prime will satisfy the + * condition that `prime % add = rem`. + * * If only `options.add` is set and `options.safe` is not `true`, the prime will + * satisfy the condition that `prime % add = 1`. + * * If only `options.add` is set and `options.safe` is set to `true`, the prime + * will instead satisfy the condition that `prime % add = 3`. This is necessary + * because `prime % add = 1` for `options.add > 2` would contradict the condition + * enforced by `options.safe`. + * * `options.rem` is ignored if `options.add` is not given. + * + * Both `options.add` and `options.rem` must be encoded as big-endian sequences + * if given as an `ArrayBuffer`, `SharedArrayBuffer`, `TypedArray`, `Buffer`, or`DataView`. + * + * By default, the prime is encoded as a big-endian sequence of octets + * in an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). If the `bigint` option is `true`, then a + * [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) is provided. + * @since v15.8.0 + * @param size The size (in bits) of the prime to generate. + */ + function generatePrime(size: number, callback: (err: Error | null, prime: ArrayBuffer) => void): void; + function generatePrime( + size: number, + options: GeneratePrimeOptionsBigInt, + callback: (err: Error | null, prime: bigint) => void, + ): void; + function generatePrime( + size: number, + options: GeneratePrimeOptionsArrayBuffer, + callback: (err: Error | null, prime: ArrayBuffer) => void, + ): void; + function generatePrime( + size: number, + options: GeneratePrimeOptions, + callback: (err: Error | null, prime: ArrayBuffer | bigint) => void, + ): void; + /** + * Generates a pseudorandom prime of `size` bits. + * + * If `options.safe` is `true`, the prime will be a safe prime -- that is,`(prime - 1) / 2` will also be a prime. + * + * The `options.add` and `options.rem` parameters can be used to enforce additional + * requirements, e.g., for Diffie-Hellman: + * + * * If `options.add` and `options.rem` are both set, the prime will satisfy the + * condition that `prime % add = rem`. + * * If only `options.add` is set and `options.safe` is not `true`, the prime will + * satisfy the condition that `prime % add = 1`. + * * If only `options.add` is set and `options.safe` is set to `true`, the prime + * will instead satisfy the condition that `prime % add = 3`. This is necessary + * because `prime % add = 1` for `options.add > 2` would contradict the condition + * enforced by `options.safe`. + * * `options.rem` is ignored if `options.add` is not given. + * + * Both `options.add` and `options.rem` must be encoded as big-endian sequences + * if given as an `ArrayBuffer`, `SharedArrayBuffer`, `TypedArray`, `Buffer`, or`DataView`. + * + * By default, the prime is encoded as a big-endian sequence of octets + * in an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). If the `bigint` option is `true`, then a + * [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) is provided. + * @since v15.8.0 + * @param size The size (in bits) of the prime to generate. + */ + function generatePrimeSync(size: number): ArrayBuffer; + function generatePrimeSync(size: number, options: GeneratePrimeOptionsBigInt): bigint; + function generatePrimeSync(size: number, options: GeneratePrimeOptionsArrayBuffer): ArrayBuffer; + function generatePrimeSync(size: number, options: GeneratePrimeOptions): ArrayBuffer | bigint; + interface CheckPrimeOptions { + /** + * The number of Miller-Rabin probabilistic primality iterations to perform. + * When the value is 0 (zero), a number of checks is used that yields a false positive rate of at most `2**-64` for random input. + * Care must be used when selecting a number of checks. + * Refer to the OpenSSL documentation for the BN_is_prime_ex function nchecks options for more details. + * + * @default 0 + */ + checks?: number | undefined; + } + /** + * Checks the primality of the `candidate`. + * @since v15.8.0 + * @param candidate A possible prime encoded as a sequence of big endian octets of arbitrary length. + */ + function checkPrime(value: LargeNumberLike, callback: (err: Error | null, result: boolean) => void): void; + function checkPrime( + value: LargeNumberLike, + options: CheckPrimeOptions, + callback: (err: Error | null, result: boolean) => void, + ): void; + /** + * Checks the primality of the `candidate`. + * @since v15.8.0 + * @param candidate A possible prime encoded as a sequence of big endian octets of arbitrary length. + * @return `true` if the candidate is a prime with an error probability less than `0.25 ** options.checks`. + */ + function checkPrimeSync(candidate: LargeNumberLike, options?: CheckPrimeOptions): boolean; + /** + * Load and set the `engine` for some or all OpenSSL functions (selected by flags). + * + * `engine` could be either an id or a path to the engine's shared library. + * + * The optional `flags` argument uses `ENGINE_METHOD_ALL` by default. The `flags`is a bit field taking one of or a mix of the following flags (defined in`crypto.constants`): + * + * * `crypto.constants.ENGINE_METHOD_RSA` + * * `crypto.constants.ENGINE_METHOD_DSA` + * * `crypto.constants.ENGINE_METHOD_DH` + * * `crypto.constants.ENGINE_METHOD_RAND` + * * `crypto.constants.ENGINE_METHOD_EC` + * * `crypto.constants.ENGINE_METHOD_CIPHERS` + * * `crypto.constants.ENGINE_METHOD_DIGESTS` + * * `crypto.constants.ENGINE_METHOD_PKEY_METHS` + * * `crypto.constants.ENGINE_METHOD_PKEY_ASN1_METHS` + * * `crypto.constants.ENGINE_METHOD_ALL` + * * `crypto.constants.ENGINE_METHOD_NONE` + * @since v0.11.11 + * @param flags + */ + function setEngine(engine: string, flags?: number): void; + /** + * A convenient alias for {@link webcrypto.getRandomValues}. This + * implementation is not compliant with the Web Crypto spec, to write + * web-compatible code use {@link webcrypto.getRandomValues} instead. + * @since v17.4.0 + * @return Returns `typedArray`. + */ + function getRandomValues(typedArray: T): T; + /** + * A convenient alias for `crypto.webcrypto.subtle`. + * @since v17.4.0 + */ + const subtle: webcrypto.SubtleCrypto; + /** + * An implementation of the Web Crypto API standard. + * + * See the {@link https://nodejs.org/docs/latest/api/webcrypto.html Web Crypto API documentation} for details. + * @since v15.0.0 + */ + const webcrypto: webcrypto.Crypto; + namespace webcrypto { + type BufferSource = ArrayBufferView | ArrayBuffer; + type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki"; + type KeyType = "private" | "public" | "secret"; + type KeyUsage = + | "decrypt" + | "deriveBits" + | "deriveKey" + | "encrypt" + | "sign" + | "unwrapKey" + | "verify" + | "wrapKey"; + type AlgorithmIdentifier = Algorithm | string; + type HashAlgorithmIdentifier = AlgorithmIdentifier; + type NamedCurve = string; + type BigInteger = Uint8Array; + interface AesCbcParams extends Algorithm { + iv: BufferSource; + } + interface AesCtrParams extends Algorithm { + counter: BufferSource; + length: number; + } + interface AesDerivedKeyParams extends Algorithm { + length: number; + } + interface AesGcmParams extends Algorithm { + additionalData?: BufferSource; + iv: BufferSource; + tagLength?: number; + } + interface AesKeyAlgorithm extends KeyAlgorithm { + length: number; + } + interface AesKeyGenParams extends Algorithm { + length: number; + } + interface Algorithm { + name: string; + } + interface EcKeyAlgorithm extends KeyAlgorithm { + namedCurve: NamedCurve; + } + interface EcKeyGenParams extends Algorithm { + namedCurve: NamedCurve; + } + interface EcKeyImportParams extends Algorithm { + namedCurve: NamedCurve; + } + interface EcdhKeyDeriveParams extends Algorithm { + public: CryptoKey; + } + interface EcdsaParams extends Algorithm { + hash: HashAlgorithmIdentifier; + } + interface Ed448Params extends Algorithm { + context?: BufferSource; + } + interface HkdfParams extends Algorithm { + hash: HashAlgorithmIdentifier; + info: BufferSource; + salt: BufferSource; + } + interface HmacImportParams extends Algorithm { + hash: HashAlgorithmIdentifier; + length?: number; + } + interface HmacKeyAlgorithm extends KeyAlgorithm { + hash: KeyAlgorithm; + length: number; + } + interface HmacKeyGenParams extends Algorithm { + hash: HashAlgorithmIdentifier; + length?: number; + } + interface JsonWebKey { + alg?: string; + crv?: string; + d?: string; + dp?: string; + dq?: string; + e?: string; + ext?: boolean; + k?: string; + key_ops?: string[]; + kty?: string; + n?: string; + oth?: RsaOtherPrimesInfo[]; + p?: string; + q?: string; + qi?: string; + use?: string; + x?: string; + y?: string; + } + interface KeyAlgorithm { + name: string; + } + interface Pbkdf2Params extends Algorithm { + hash: HashAlgorithmIdentifier; + iterations: number; + salt: BufferSource; + } + interface RsaHashedImportParams extends Algorithm { + hash: HashAlgorithmIdentifier; + } + interface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm { + hash: KeyAlgorithm; + } + interface RsaHashedKeyGenParams extends RsaKeyGenParams { + hash: HashAlgorithmIdentifier; + } + interface RsaKeyAlgorithm extends KeyAlgorithm { + modulusLength: number; + publicExponent: BigInteger; + } + interface RsaKeyGenParams extends Algorithm { + modulusLength: number; + publicExponent: BigInteger; + } + interface RsaOaepParams extends Algorithm { + label?: BufferSource; + } + interface RsaOtherPrimesInfo { + d?: string; + r?: string; + t?: string; + } + interface RsaPssParams extends Algorithm { + saltLength: number; + } + /** + * Calling `require('node:crypto').webcrypto` returns an instance of the `Crypto` class. + * `Crypto` is a singleton that provides access to the remainder of the crypto API. + * @since v15.0.0 + */ + interface Crypto { + /** + * Provides access to the `SubtleCrypto` API. + * @since v15.0.0 + */ + readonly subtle: SubtleCrypto; + /** + * Generates cryptographically strong random values. + * The given `typedArray` is filled with random values, and a reference to `typedArray` is returned. + * + * The given `typedArray` must be an integer-based instance of {@link NodeJS.TypedArray}, i.e. `Float32Array` and `Float64Array` are not accepted. + * + * An error will be thrown if the given `typedArray` is larger than 65,536 bytes. + * @since v15.0.0 + */ + getRandomValues>(typedArray: T): T; + /** + * Generates a random {@link https://www.rfc-editor.org/rfc/rfc4122.txt RFC 4122} version 4 UUID. + * The UUID is generated using a cryptographic pseudorandom number generator. + * @since v16.7.0 + */ + randomUUID(): UUID; + CryptoKey: CryptoKeyConstructor; + } + // This constructor throws ILLEGAL_CONSTRUCTOR so it should not be newable. + interface CryptoKeyConstructor { + /** Illegal constructor */ + (_: { readonly _: unique symbol }): never; // Allows instanceof to work but not be callable by the user. + readonly length: 0; + readonly name: "CryptoKey"; + readonly prototype: CryptoKey; + } + /** + * @since v15.0.0 + */ + interface CryptoKey { + /** + * An object detailing the algorithm for which the key can be used along with additional algorithm-specific parameters. + * @since v15.0.0 + */ + readonly algorithm: KeyAlgorithm; + /** + * When `true`, the {@link CryptoKey} can be extracted using either `subtleCrypto.exportKey()` or `subtleCrypto.wrapKey()`. + * @since v15.0.0 + */ + readonly extractable: boolean; + /** + * A string identifying whether the key is a symmetric (`'secret'`) or asymmetric (`'private'` or `'public'`) key. + * @since v15.0.0 + */ + readonly type: KeyType; + /** + * An array of strings identifying the operations for which the key may be used. + * + * The possible usages are: + * - `'encrypt'` - The key may be used to encrypt data. + * - `'decrypt'` - The key may be used to decrypt data. + * - `'sign'` - The key may be used to generate digital signatures. + * - `'verify'` - The key may be used to verify digital signatures. + * - `'deriveKey'` - The key may be used to derive a new key. + * - `'deriveBits'` - The key may be used to derive bits. + * - `'wrapKey'` - The key may be used to wrap another key. + * - `'unwrapKey'` - The key may be used to unwrap another key. + * + * Valid key usages depend on the key algorithm (identified by `cryptokey.algorithm.name`). + * @since v15.0.0 + */ + readonly usages: KeyUsage[]; + } + /** + * The `CryptoKeyPair` is a simple dictionary object with `publicKey` and `privateKey` properties, representing an asymmetric key pair. + * @since v15.0.0 + */ + interface CryptoKeyPair { + /** + * A {@link CryptoKey} whose type will be `'private'`. + * @since v15.0.0 + */ + privateKey: CryptoKey; + /** + * A {@link CryptoKey} whose type will be `'public'`. + * @since v15.0.0 + */ + publicKey: CryptoKey; + } + /** + * @since v15.0.0 + */ + interface SubtleCrypto { + /** + * Using the method and parameters specified in `algorithm` and the keying material provided by `key`, + * `subtle.decrypt()` attempts to decipher the provided `data`. If successful, + * the returned promise will be resolved with an `` containing the plaintext result. + * + * The algorithms currently supported include: + * + * - `'RSA-OAEP'` + * - `'AES-CTR'` + * - `'AES-CBC'` + * - `'AES-GCM'` + * @since v15.0.0 + */ + decrypt( + algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, + key: CryptoKey, + data: BufferSource, + ): Promise; + /** + * Using the method and parameters specified in `algorithm` and the keying material provided by `baseKey`, + * `subtle.deriveBits()` attempts to generate `length` bits. + * The Node.js implementation requires that when `length` is a number it must be multiple of `8`. + * When `length` is `null` the maximum number of bits for a given algorithm is generated. This is allowed + * for the `'ECDH'`, `'X25519'`, and `'X448'` algorithms. + * If successful, the returned promise will be resolved with an `` containing the generated data. + * + * The algorithms currently supported include: + * + * - `'ECDH'` + * - `'X25519'` + * - `'X448'` + * - `'HKDF'` + * - `'PBKDF2'` + * @since v15.0.0 + */ + deriveBits(algorithm: EcdhKeyDeriveParams, baseKey: CryptoKey, length: number | null): Promise; + deriveBits( + algorithm: AlgorithmIdentifier | HkdfParams | Pbkdf2Params, + baseKey: CryptoKey, + length: number, + ): Promise; + /** + * Using the method and parameters specified in `algorithm`, and the keying material provided by `baseKey`, + * `subtle.deriveKey()` attempts to generate a new ` based on the method and parameters in `derivedKeyAlgorithm`. + * + * Calling `subtle.deriveKey()` is equivalent to calling `subtle.deriveBits()` to generate raw keying material, + * then passing the result into the `subtle.importKey()` method using the `deriveKeyAlgorithm`, `extractable`, and `keyUsages` parameters as input. + * + * The algorithms currently supported include: + * + * - `'ECDH'` + * - `'X25519'` + * - `'X448'` + * - `'HKDF'` + * - `'PBKDF2'` + * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. + * @since v15.0.0 + */ + deriveKey( + algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, + baseKey: CryptoKey, + derivedKeyAlgorithm: + | AlgorithmIdentifier + | AesDerivedKeyParams + | HmacImportParams + | HkdfParams + | Pbkdf2Params, + extractable: boolean, + keyUsages: readonly KeyUsage[], + ): Promise; + /** + * Using the method identified by `algorithm`, `subtle.digest()` attempts to generate a digest of `data`. + * If successful, the returned promise is resolved with an `` containing the computed digest. + * + * If `algorithm` is provided as a ``, it must be one of: + * + * - `'SHA-1'` + * - `'SHA-256'` + * - `'SHA-384'` + * - `'SHA-512'` + * + * If `algorithm` is provided as an ``, it must have a `name` property whose value is one of the above. + * @since v15.0.0 + */ + digest(algorithm: AlgorithmIdentifier, data: BufferSource): Promise; + /** + * Using the method and parameters specified by `algorithm` and the keying material provided by `key`, + * `subtle.encrypt()` attempts to encipher `data`. If successful, + * the returned promise is resolved with an `` containing the encrypted result. + * + * The algorithms currently supported include: + * + * - `'RSA-OAEP'` + * - `'AES-CTR'` + * - `'AES-CBC'` + * - `'AES-GCM'` + * @since v15.0.0 + */ + encrypt( + algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, + key: CryptoKey, + data: BufferSource, + ): Promise; + /** + * Exports the given key into the specified format, if supported. + * + * If the `` is not extractable, the returned promise will reject. + * + * When `format` is either `'pkcs8'` or `'spki'` and the export is successful, + * the returned promise will be resolved with an `` containing the exported key data. + * + * When `format` is `'jwk'` and the export is successful, the returned promise will be resolved with a + * JavaScript object conforming to the {@link https://tools.ietf.org/html/rfc7517 JSON Web Key} specification. + * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. + * @returns `` containing ``. + * @since v15.0.0 + */ + exportKey(format: "jwk", key: CryptoKey): Promise; + exportKey(format: Exclude, key: CryptoKey): Promise; + /** + * Using the method and parameters provided in `algorithm`, + * `subtle.generateKey()` attempts to generate new keying material. + * Depending the method used, the method may generate either a single `` or a ``. + * + * The `` (public and private key) generating algorithms supported include: + * + * - `'RSASSA-PKCS1-v1_5'` + * - `'RSA-PSS'` + * - `'RSA-OAEP'` + * - `'ECDSA'` + * - `'Ed25519'` + * - `'Ed448'` + * - `'ECDH'` + * - `'X25519'` + * - `'X448'` + * The `` (secret key) generating algorithms supported include: + * + * - `'HMAC'` + * - `'AES-CTR'` + * - `'AES-CBC'` + * - `'AES-GCM'` + * - `'AES-KW'` + * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. + * @since v15.0.0 + */ + generateKey( + algorithm: RsaHashedKeyGenParams | EcKeyGenParams, + extractable: boolean, + keyUsages: readonly KeyUsage[], + ): Promise; + generateKey( + algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, + extractable: boolean, + keyUsages: readonly KeyUsage[], + ): Promise; + generateKey( + algorithm: AlgorithmIdentifier, + extractable: boolean, + keyUsages: KeyUsage[], + ): Promise; + /** + * The `subtle.importKey()` method attempts to interpret the provided `keyData` as the given `format` + * to create a `` instance using the provided `algorithm`, `extractable`, and `keyUsages` arguments. + * If the import is successful, the returned promise will be resolved with the created ``. + * + * If importing a `'PBKDF2'` key, `extractable` must be `false`. + * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. + * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. + * @since v15.0.0 + */ + importKey( + format: "jwk", + keyData: JsonWebKey, + algorithm: + | AlgorithmIdentifier + | RsaHashedImportParams + | EcKeyImportParams + | HmacImportParams + | AesKeyAlgorithm, + extractable: boolean, + keyUsages: readonly KeyUsage[], + ): Promise; + importKey( + format: Exclude, + keyData: BufferSource, + algorithm: + | AlgorithmIdentifier + | RsaHashedImportParams + | EcKeyImportParams + | HmacImportParams + | AesKeyAlgorithm, + extractable: boolean, + keyUsages: KeyUsage[], + ): Promise; + /** + * Using the method and parameters given by `algorithm` and the keying material provided by `key`, + * `subtle.sign()` attempts to generate a cryptographic signature of `data`. If successful, + * the returned promise is resolved with an `` containing the generated signature. + * + * The algorithms currently supported include: + * + * - `'RSASSA-PKCS1-v1_5'` + * - `'RSA-PSS'` + * - `'ECDSA'` + * - `'Ed25519'` + * - `'Ed448'` + * - `'HMAC'` + * @since v15.0.0 + */ + sign( + algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | Ed448Params, + key: CryptoKey, + data: BufferSource, + ): Promise; + /** + * In cryptography, "wrapping a key" refers to exporting and then encrypting the keying material. + * The `subtle.unwrapKey()` method attempts to decrypt a wrapped key and create a `` instance. + * It is equivalent to calling `subtle.decrypt()` first on the encrypted key data (using the `wrappedKey`, `unwrapAlgo`, and `unwrappingKey` arguments as input) + * then passing the results in to the `subtle.importKey()` method using the `unwrappedKeyAlgo`, `extractable`, and `keyUsages` arguments as inputs. + * If successful, the returned promise is resolved with a `` object. + * + * The wrapping algorithms currently supported include: + * + * - `'RSA-OAEP'` + * - `'AES-CTR'` + * - `'AES-CBC'` + * - `'AES-GCM'` + * - `'AES-KW'` + * + * The unwrapped key algorithms supported include: + * + * - `'RSASSA-PKCS1-v1_5'` + * - `'RSA-PSS'` + * - `'RSA-OAEP'` + * - `'ECDSA'` + * - `'Ed25519'` + * - `'Ed448'` + * - `'ECDH'` + * - `'X25519'` + * - `'X448'` + * - `'HMAC'` + * - `'AES-CTR'` + * - `'AES-CBC'` + * - `'AES-GCM'` + * - `'AES-KW'` + * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. + * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. + * @since v15.0.0 + */ + unwrapKey( + format: KeyFormat, + wrappedKey: BufferSource, + unwrappingKey: CryptoKey, + unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, + unwrappedKeyAlgorithm: + | AlgorithmIdentifier + | RsaHashedImportParams + | EcKeyImportParams + | HmacImportParams + | AesKeyAlgorithm, + extractable: boolean, + keyUsages: KeyUsage[], + ): Promise; + /** + * Using the method and parameters given in `algorithm` and the keying material provided by `key`, + * `subtle.verify()` attempts to verify that `signature` is a valid cryptographic signature of `data`. + * The returned promise is resolved with either `true` or `false`. + * + * The algorithms currently supported include: + * + * - `'RSASSA-PKCS1-v1_5'` + * - `'RSA-PSS'` + * - `'ECDSA'` + * - `'Ed25519'` + * - `'Ed448'` + * - `'HMAC'` + * @since v15.0.0 + */ + verify( + algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | Ed448Params, + key: CryptoKey, + signature: BufferSource, + data: BufferSource, + ): Promise; + /** + * In cryptography, "wrapping a key" refers to exporting and then encrypting the keying material. + * The `subtle.wrapKey()` method exports the keying material into the format identified by `format`, + * then encrypts it using the method and parameters specified by `wrapAlgo` and the keying material provided by `wrappingKey`. + * It is the equivalent to calling `subtle.exportKey()` using `format` and `key` as the arguments, + * then passing the result to the `subtle.encrypt()` method using `wrappingKey` and `wrapAlgo` as inputs. + * If successful, the returned promise will be resolved with an `` containing the encrypted key data. + * + * The wrapping algorithms currently supported include: + * + * - `'RSA-OAEP'` + * - `'AES-CTR'` + * - `'AES-CBC'` + * - `'AES-GCM'` + * - `'AES-KW'` + * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. + * @since v15.0.0 + */ + wrapKey( + format: KeyFormat, + key: CryptoKey, + wrappingKey: CryptoKey, + wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, + ): Promise; + } + } +} +declare module "node:crypto" { + export * from "crypto"; +} diff --git a/node_modules/@types/node/dgram.d.ts b/node_modules/@types/node/dgram.d.ts new file mode 100644 index 000000000..692e547fc --- /dev/null +++ b/node_modules/@types/node/dgram.d.ts @@ -0,0 +1,586 @@ +/** + * The `node:dgram` module provides an implementation of UDP datagram sockets. + * + * ```js + * import dgram from 'node:dgram'; + * + * const server = dgram.createSocket('udp4'); + * + * server.on('error', (err) => { + * console.error(`server error:\n${err.stack}`); + * server.close(); + * }); + * + * server.on('message', (msg, rinfo) => { + * console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`); + * }); + * + * server.on('listening', () => { + * const address = server.address(); + * console.log(`server listening ${address.address}:${address.port}`); + * }); + * + * server.bind(41234); + * // Prints: server listening 0.0.0.0:41234 + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/dgram.js) + */ +declare module "dgram" { + import { AddressInfo } from "node:net"; + import * as dns from "node:dns"; + import { Abortable, EventEmitter } from "node:events"; + interface RemoteInfo { + address: string; + family: "IPv4" | "IPv6"; + port: number; + size: number; + } + interface BindOptions { + port?: number | undefined; + address?: string | undefined; + exclusive?: boolean | undefined; + fd?: number | undefined; + } + type SocketType = "udp4" | "udp6"; + interface SocketOptions extends Abortable { + type: SocketType; + reuseAddr?: boolean | undefined; + /** + * @default false + */ + ipv6Only?: boolean | undefined; + recvBufferSize?: number | undefined; + sendBufferSize?: number | undefined; + lookup?: + | (( + hostname: string, + options: dns.LookupOneOptions, + callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, + ) => void) + | undefined; + } + /** + * Creates a `dgram.Socket` object. Once the socket is created, calling `socket.bind()` will instruct the socket to begin listening for datagram + * messages. When `address` and `port` are not passed to `socket.bind()` the + * method will bind the socket to the "all interfaces" address on a random port + * (it does the right thing for both `udp4` and `udp6` sockets). The bound address + * and port can be retrieved using `socket.address().address` and `socket.address().port`. + * + * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.close()` on the socket: + * + * ```js + * const controller = new AbortController(); + * const { signal } = controller; + * const server = dgram.createSocket({ type: 'udp4', signal }); + * server.on('message', (msg, rinfo) => { + * console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`); + * }); + * // Later, when you want to close the server. + * controller.abort(); + * ``` + * @since v0.11.13 + * @param options Available options are: + * @param callback Attached as a listener for `'message'` events. Optional. + */ + function createSocket(type: SocketType, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; + function createSocket(options: SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; + /** + * Encapsulates the datagram functionality. + * + * New instances of `dgram.Socket` are created using {@link createSocket}. + * The `new` keyword is not to be used to create `dgram.Socket` instances. + * @since v0.1.99 + */ + class Socket extends EventEmitter { + /** + * Tells the kernel to join a multicast group at the given `multicastAddress` and`multicastInterface` using the `IP_ADD_MEMBERSHIP` socket option. If the`multicastInterface` argument is not + * specified, the operating system will choose + * one interface and will add membership to it. To add membership to every + * available interface, call `addMembership` multiple times, once per interface. + * + * When called on an unbound socket, this method will implicitly bind to a random + * port, listening on all interfaces. + * + * When sharing a UDP socket across multiple `cluster` workers, the`socket.addMembership()` function must be called only once or an`EADDRINUSE` error will occur: + * + * ```js + * import cluster from 'node:cluster'; + * import dgram from 'node:dgram'; + * + * if (cluster.isPrimary) { + * cluster.fork(); // Works ok. + * cluster.fork(); // Fails with EADDRINUSE. + * } else { + * const s = dgram.createSocket('udp4'); + * s.bind(1234, () => { + * s.addMembership('224.0.0.114'); + * }); + * } + * ``` + * @since v0.6.9 + */ + addMembership(multicastAddress: string, multicastInterface?: string): void; + /** + * Returns an object containing the address information for a socket. + * For UDP sockets, this object will contain `address`, `family`, and `port`properties. + * + * This method throws `EBADF` if called on an unbound socket. + * @since v0.1.99 + */ + address(): AddressInfo; + /** + * For UDP sockets, causes the `dgram.Socket` to listen for datagram + * messages on a named `port` and optional `address`. If `port` is not + * specified or is `0`, the operating system will attempt to bind to a + * random port. If `address` is not specified, the operating system will + * attempt to listen on all addresses. Once binding is complete, a`'listening'` event is emitted and the optional `callback` function is + * called. + * + * Specifying both a `'listening'` event listener and passing a`callback` to the `socket.bind()` method is not harmful but not very + * useful. + * + * A bound datagram socket keeps the Node.js process running to receive + * datagram messages. + * + * If binding fails, an `'error'` event is generated. In rare case (e.g. + * attempting to bind with a closed socket), an `Error` may be thrown. + * + * Example of a UDP server listening on port 41234: + * + * ```js + * import dgram from 'node:dgram'; + * + * const server = dgram.createSocket('udp4'); + * + * server.on('error', (err) => { + * console.error(`server error:\n${err.stack}`); + * server.close(); + * }); + * + * server.on('message', (msg, rinfo) => { + * console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`); + * }); + * + * server.on('listening', () => { + * const address = server.address(); + * console.log(`server listening ${address.address}:${address.port}`); + * }); + * + * server.bind(41234); + * // Prints: server listening 0.0.0.0:41234 + * ``` + * @since v0.1.99 + * @param callback with no parameters. Called when binding is complete. + */ + bind(port?: number, address?: string, callback?: () => void): this; + bind(port?: number, callback?: () => void): this; + bind(callback?: () => void): this; + bind(options: BindOptions, callback?: () => void): this; + /** + * Close the underlying socket and stop listening for data on it. If a callback is + * provided, it is added as a listener for the `'close'` event. + * @since v0.1.99 + * @param callback Called when the socket has been closed. + */ + close(callback?: () => void): this; + /** + * Associates the `dgram.Socket` to a remote address and port. Every + * message sent by this handle is automatically sent to that destination. Also, + * the socket will only receive messages from that remote peer. + * Trying to call `connect()` on an already connected socket will result + * in an `ERR_SOCKET_DGRAM_IS_CONNECTED` exception. If `address` is not + * provided, `'127.0.0.1'` (for `udp4` sockets) or `'::1'` (for `udp6` sockets) + * will be used by default. Once the connection is complete, a `'connect'` event + * is emitted and the optional `callback` function is called. In case of failure, + * the `callback` is called or, failing this, an `'error'` event is emitted. + * @since v12.0.0 + * @param callback Called when the connection is completed or on error. + */ + connect(port: number, address?: string, callback?: () => void): void; + connect(port: number, callback: () => void): void; + /** + * A synchronous function that disassociates a connected `dgram.Socket` from + * its remote address. Trying to call `disconnect()` on an unbound or already + * disconnected socket will result in an `ERR_SOCKET_DGRAM_NOT_CONNECTED` exception. + * @since v12.0.0 + */ + disconnect(): void; + /** + * Instructs the kernel to leave a multicast group at `multicastAddress` using the`IP_DROP_MEMBERSHIP` socket option. This method is automatically called by the + * kernel when the socket is closed or the process terminates, so most apps will + * never have reason to call this. + * + * If `multicastInterface` is not specified, the operating system will attempt to + * drop membership on all valid interfaces. + * @since v0.6.9 + */ + dropMembership(multicastAddress: string, multicastInterface?: string): void; + /** + * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. + * @since v8.7.0 + * @return the `SO_RCVBUF` socket receive buffer size in bytes. + */ + getRecvBufferSize(): number; + /** + * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. + * @since v8.7.0 + * @return the `SO_SNDBUF` socket send buffer size in bytes. + */ + getSendBufferSize(): number; + /** + * By default, binding a socket will cause it to block the Node.js process from + * exiting as long as the socket is open. The `socket.unref()` method can be used + * to exclude the socket from the reference counting that keeps the Node.js + * process active. The `socket.ref()` method adds the socket back to the reference + * counting and restores the default behavior. + * + * Calling `socket.ref()` multiples times will have no additional effect. + * + * The `socket.ref()` method returns a reference to the socket so calls can be + * chained. + * @since v0.9.1 + */ + ref(): this; + /** + * Returns an object containing the `address`, `family`, and `port` of the remote + * endpoint. This method throws an `ERR_SOCKET_DGRAM_NOT_CONNECTED` exception + * if the socket is not connected. + * @since v12.0.0 + */ + remoteAddress(): AddressInfo; + /** + * Broadcasts a datagram on the socket. + * For connectionless sockets, the destination `port` and `address` must be + * specified. Connected sockets, on the other hand, will use their associated + * remote endpoint, so the `port` and `address` arguments must not be set. + * + * The `msg` argument contains the message to be sent. + * Depending on its type, different behavior can apply. If `msg` is a `Buffer`, + * any `TypedArray` or a `DataView`, + * the `offset` and `length` specify the offset within the `Buffer` where the + * message begins and the number of bytes in the message, respectively. + * If `msg` is a `String`, then it is automatically converted to a `Buffer`with `'utf8'` encoding. With messages that + * contain multi-byte characters, `offset` and `length` will be calculated with + * respect to `byte length` and not the character position. + * If `msg` is an array, `offset` and `length` must not be specified. + * + * The `address` argument is a string. If the value of `address` is a host name, + * DNS will be used to resolve the address of the host. If `address` is not + * provided or otherwise nullish, `'127.0.0.1'` (for `udp4` sockets) or `'::1'`(for `udp6` sockets) will be used by default. + * + * If the socket has not been previously bound with a call to `bind`, the socket + * is assigned a random port number and is bound to the "all interfaces" address + * (`'0.0.0.0'` for `udp4` sockets, `'::0'` for `udp6` sockets.) + * + * An optional `callback` function may be specified to as a way of reporting + * DNS errors or for determining when it is safe to reuse the `buf` object. + * DNS lookups delay the time to send for at least one tick of the + * Node.js event loop. + * + * The only way to know for sure that the datagram has been sent is by using a`callback`. If an error occurs and a `callback` is given, the error will be + * passed as the first argument to the `callback`. If a `callback` is not given, + * the error is emitted as an `'error'` event on the `socket` object. + * + * Offset and length are optional but both _must_ be set if either are used. + * They are supported only when the first argument is a `Buffer`, a `TypedArray`, + * or a `DataView`. + * + * This method throws `ERR_SOCKET_BAD_PORT` if called on an unbound socket. + * + * Example of sending a UDP packet to a port on `localhost`; + * + * ```js + * import dgram from 'node:dgram'; + * import { Buffer } from 'node:buffer'; + * + * const message = Buffer.from('Some bytes'); + * const client = dgram.createSocket('udp4'); + * client.send(message, 41234, 'localhost', (err) => { + * client.close(); + * }); + * ``` + * + * Example of sending a UDP packet composed of multiple buffers to a port on`127.0.0.1`; + * + * ```js + * import dgram from 'node:dgram'; + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from('Some '); + * const buf2 = Buffer.from('bytes'); + * const client = dgram.createSocket('udp4'); + * client.send([buf1, buf2], 41234, (err) => { + * client.close(); + * }); + * ``` + * + * Sending multiple buffers might be faster or slower depending on the + * application and operating system. Run benchmarks to + * determine the optimal strategy on a case-by-case basis. Generally speaking, + * however, sending multiple buffers is faster. + * + * Example of sending a UDP packet using a socket connected to a port on`localhost`: + * + * ```js + * import dgram from 'node:dgram'; + * import { Buffer } from 'node:buffer'; + * + * const message = Buffer.from('Some bytes'); + * const client = dgram.createSocket('udp4'); + * client.connect(41234, 'localhost', (err) => { + * client.send(message, (err) => { + * client.close(); + * }); + * }); + * ``` + * @since v0.1.99 + * @param msg Message to be sent. + * @param offset Offset in the buffer where the message starts. + * @param length Number of bytes in the message. + * @param port Destination port. + * @param address Destination host name or IP address. + * @param callback Called when the message has been sent. + */ + send( + msg: string | Uint8Array | readonly any[], + port?: number, + address?: string, + callback?: (error: Error | null, bytes: number) => void, + ): void; + send( + msg: string | Uint8Array | readonly any[], + port?: number, + callback?: (error: Error | null, bytes: number) => void, + ): void; + send( + msg: string | Uint8Array | readonly any[], + callback?: (error: Error | null, bytes: number) => void, + ): void; + send( + msg: string | Uint8Array, + offset: number, + length: number, + port?: number, + address?: string, + callback?: (error: Error | null, bytes: number) => void, + ): void; + send( + msg: string | Uint8Array, + offset: number, + length: number, + port?: number, + callback?: (error: Error | null, bytes: number) => void, + ): void; + send( + msg: string | Uint8Array, + offset: number, + length: number, + callback?: (error: Error | null, bytes: number) => void, + ): void; + /** + * Sets or clears the `SO_BROADCAST` socket option. When set to `true`, UDP + * packets may be sent to a local interface's broadcast address. + * + * This method throws `EBADF` if called on an unbound socket. + * @since v0.6.9 + */ + setBroadcast(flag: boolean): void; + /** + * _All references to scope in this section are referring to [IPv6 Zone Indices](https://en.wikipedia.org/wiki/IPv6_address#Scoped_literal_IPv6_addresses), which are defined by [RFC + * 4007](https://tools.ietf.org/html/rfc4007). In string form, an IP_ + * _with a scope index is written as `'IP%scope'` where scope is an interface name_ + * _or interface number._ + * + * Sets the default outgoing multicast interface of the socket to a chosen + * interface or back to system interface selection. The `multicastInterface` must + * be a valid string representation of an IP from the socket's family. + * + * For IPv4 sockets, this should be the IP configured for the desired physical + * interface. All packets sent to multicast on the socket will be sent on the + * interface determined by the most recent successful use of this call. + * + * For IPv6 sockets, `multicastInterface` should include a scope to indicate the + * interface as in the examples that follow. In IPv6, individual `send` calls can + * also use explicit scope in addresses, so only packets sent to a multicast + * address without specifying an explicit scope are affected by the most recent + * successful use of this call. + * + * This method throws `EBADF` if called on an unbound socket. + * + * #### Example: IPv6 outgoing multicast interface + * + * On most systems, where scope format uses the interface name: + * + * ```js + * const socket = dgram.createSocket('udp6'); + * + * socket.bind(1234, () => { + * socket.setMulticastInterface('::%eth1'); + * }); + * ``` + * + * On Windows, where scope format uses an interface number: + * + * ```js + * const socket = dgram.createSocket('udp6'); + * + * socket.bind(1234, () => { + * socket.setMulticastInterface('::%2'); + * }); + * ``` + * + * #### Example: IPv4 outgoing multicast interface + * + * All systems use an IP of the host on the desired physical interface: + * + * ```js + * const socket = dgram.createSocket('udp4'); + * + * socket.bind(1234, () => { + * socket.setMulticastInterface('10.0.0.2'); + * }); + * ``` + * @since v8.6.0 + */ + setMulticastInterface(multicastInterface: string): void; + /** + * Sets or clears the `IP_MULTICAST_LOOP` socket option. When set to `true`, + * multicast packets will also be received on the local interface. + * + * This method throws `EBADF` if called on an unbound socket. + * @since v0.3.8 + */ + setMulticastLoopback(flag: boolean): boolean; + /** + * Sets the `IP_MULTICAST_TTL` socket option. While TTL generally stands for + * "Time to Live", in this context it specifies the number of IP hops that a + * packet is allowed to travel through, specifically for multicast traffic. Each + * router or gateway that forwards a packet decrements the TTL. If the TTL is + * decremented to 0 by a router, it will not be forwarded. + * + * The `ttl` argument may be between 0 and 255\. The default on most systems is `1`. + * + * This method throws `EBADF` if called on an unbound socket. + * @since v0.3.8 + */ + setMulticastTTL(ttl: number): number; + /** + * Sets the `SO_RCVBUF` socket option. Sets the maximum socket receive buffer + * in bytes. + * + * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. + * @since v8.7.0 + */ + setRecvBufferSize(size: number): void; + /** + * Sets the `SO_SNDBUF` socket option. Sets the maximum socket send buffer + * in bytes. + * + * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. + * @since v8.7.0 + */ + setSendBufferSize(size: number): void; + /** + * Sets the `IP_TTL` socket option. While TTL generally stands for "Time to Live", + * in this context it specifies the number of IP hops that a packet is allowed to + * travel through. Each router or gateway that forwards a packet decrements the + * TTL. If the TTL is decremented to 0 by a router, it will not be forwarded. + * Changing TTL values is typically done for network probes or when multicasting. + * + * The `ttl` argument may be between 1 and 255\. The default on most systems + * is 64. + * + * This method throws `EBADF` if called on an unbound socket. + * @since v0.1.101 + */ + setTTL(ttl: number): number; + /** + * By default, binding a socket will cause it to block the Node.js process from + * exiting as long as the socket is open. The `socket.unref()` method can be used + * to exclude the socket from the reference counting that keeps the Node.js + * process active, allowing the process to exit even if the socket is still + * listening. + * + * Calling `socket.unref()` multiple times will have no additional effect. + * + * The `socket.unref()` method returns a reference to the socket so calls can be + * chained. + * @since v0.9.1 + */ + unref(): this; + /** + * Tells the kernel to join a source-specific multicast channel at the given`sourceAddress` and `groupAddress`, using the `multicastInterface` with the`IP_ADD_SOURCE_MEMBERSHIP` socket + * option. If the `multicastInterface` argument + * is not specified, the operating system will choose one interface and will add + * membership to it. To add membership to every available interface, call`socket.addSourceSpecificMembership()` multiple times, once per interface. + * + * When called on an unbound socket, this method will implicitly bind to a random + * port, listening on all interfaces. + * @since v13.1.0, v12.16.0 + */ + addSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void; + /** + * Instructs the kernel to leave a source-specific multicast channel at the given`sourceAddress` and `groupAddress` using the `IP_DROP_SOURCE_MEMBERSHIP`socket option. This method is + * automatically called by the kernel when the + * socket is closed or the process terminates, so most apps will never have + * reason to call this. + * + * If `multicastInterface` is not specified, the operating system will attempt to + * drop membership on all valid interfaces. + * @since v13.1.0, v12.16.0 + */ + dropSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void; + /** + * events.EventEmitter + * 1. close + * 2. connect + * 3. error + * 4. listening + * 5. message + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "connect", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "listening", listener: () => void): this; + addListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "close"): boolean; + emit(event: "connect"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "listening"): boolean; + emit(event: "message", msg: Buffer, rinfo: RemoteInfo): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "close", listener: () => void): this; + on(event: "connect", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "listening", listener: () => void): this; + on(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "connect", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "listening", listener: () => void): this; + once(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "connect", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "listening", listener: () => void): this; + prependListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "connect", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "listening", listener: () => void): this; + prependOnceListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; + /** + * Calls `socket.close()` and returns a promise that fulfills when the socket has closed. + * @since v20.5.0 + */ + [Symbol.asyncDispose](): Promise; + } +} +declare module "node:dgram" { + export * from "dgram"; +} diff --git a/node_modules/@types/node/diagnostics_channel.d.ts b/node_modules/@types/node/diagnostics_channel.d.ts new file mode 100644 index 000000000..b02f59178 --- /dev/null +++ b/node_modules/@types/node/diagnostics_channel.d.ts @@ -0,0 +1,191 @@ +/** + * The `node:diagnostics_channel` module provides an API to create named channels + * to report arbitrary message data for diagnostics purposes. + * + * It can be accessed using: + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * ``` + * + * It is intended that a module writer wanting to report diagnostics messages + * will create one or many top-level channels to report messages through. + * Channels may also be acquired at runtime but it is not encouraged + * due to the additional overhead of doing so. Channels may be exported for + * convenience, but as long as the name is known it can be acquired anywhere. + * + * If you intend for your module to produce diagnostics data for others to + * consume it is recommended that you include documentation of what named + * channels are used along with the shape of the message data. Channel names + * should generally include the module name to avoid collisions with data from + * other modules. + * @since v15.1.0, v14.17.0 + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/diagnostics_channel.js) + */ +declare module "diagnostics_channel" { + /** + * Check if there are active subscribers to the named channel. This is helpful if + * the message you want to send might be expensive to prepare. + * + * This API is optional but helpful when trying to publish messages from very + * performance-sensitive code. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * if (diagnostics_channel.hasSubscribers('my-channel')) { + * // There are subscribers, prepare and publish message + * } + * ``` + * @since v15.1.0, v14.17.0 + * @param name The channel name + * @return If there are active subscribers + */ + function hasSubscribers(name: string | symbol): boolean; + /** + * This is the primary entry-point for anyone wanting to publish to a named + * channel. It produces a channel object which is optimized to reduce overhead at + * publish time as much as possible. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * const channel = diagnostics_channel.channel('my-channel'); + * ``` + * @since v15.1.0, v14.17.0 + * @param name The channel name + * @return The named channel object + */ + function channel(name: string | symbol): Channel; + type ChannelListener = (message: unknown, name: string | symbol) => void; + /** + * Register a message handler to subscribe to this channel. This message handler + * will be run synchronously whenever a message is published to the channel. Any + * errors thrown in the message handler will trigger an `'uncaughtException'`. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * diagnostics_channel.subscribe('my-channel', (message, name) => { + * // Received data + * }); + * ``` + * @since v18.7.0, v16.17.0 + * @param name The channel name + * @param onMessage The handler to receive channel messages + */ + function subscribe(name: string | symbol, onMessage: ChannelListener): void; + /** + * Remove a message handler previously registered to this channel with {@link subscribe}. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * function onMessage(message, name) { + * // Received data + * } + * + * diagnostics_channel.subscribe('my-channel', onMessage); + * + * diagnostics_channel.unsubscribe('my-channel', onMessage); + * ``` + * @since v18.7.0, v16.17.0 + * @param name The channel name + * @param onMessage The previous subscribed handler to remove + * @return `true` if the handler was found, `false` otherwise. + */ + function unsubscribe(name: string | symbol, onMessage: ChannelListener): boolean; + /** + * The class `Channel` represents an individual named channel within the data + * pipeline. It is used to track subscribers and to publish messages when there + * are subscribers present. It exists as a separate object to avoid channel + * lookups at publish time, enabling very fast publish speeds and allowing + * for heavy use while incurring very minimal cost. Channels are created with {@link channel}, constructing a channel directly + * with `new Channel(name)` is not supported. + * @since v15.1.0, v14.17.0 + */ + class Channel { + readonly name: string | symbol; + /** + * Check if there are active subscribers to this channel. This is helpful if + * the message you want to send might be expensive to prepare. + * + * This API is optional but helpful when trying to publish messages from very + * performance-sensitive code. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * const channel = diagnostics_channel.channel('my-channel'); + * + * if (channel.hasSubscribers) { + * // There are subscribers, prepare and publish message + * } + * ``` + * @since v15.1.0, v14.17.0 + */ + readonly hasSubscribers: boolean; + private constructor(name: string | symbol); + /** + * Publish a message to any subscribers to the channel. This will trigger + * message handlers synchronously so they will execute within the same context. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * const channel = diagnostics_channel.channel('my-channel'); + * + * channel.publish({ + * some: 'message', + * }); + * ``` + * @since v15.1.0, v14.17.0 + * @param message The message to send to the channel subscribers + */ + publish(message: unknown): void; + /** + * Register a message handler to subscribe to this channel. This message handler + * will be run synchronously whenever a message is published to the channel. Any + * errors thrown in the message handler will trigger an `'uncaughtException'`. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * const channel = diagnostics_channel.channel('my-channel'); + * + * channel.subscribe((message, name) => { + * // Received data + * }); + * ``` + * @since v15.1.0, v14.17.0 + * @deprecated Since v18.7.0,v16.17.0 - Use {@link subscribe(name, onMessage)} + * @param onMessage The handler to receive channel messages + */ + subscribe(onMessage: ChannelListener): void; + /** + * Remove a message handler previously registered to this channel with `channel.subscribe(onMessage)`. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * const channel = diagnostics_channel.channel('my-channel'); + * + * function onMessage(message, name) { + * // Received data + * } + * + * channel.subscribe(onMessage); + * + * channel.unsubscribe(onMessage); + * ``` + * @since v15.1.0, v14.17.0 + * @deprecated Since v18.7.0,v16.17.0 - Use {@link unsubscribe(name, onMessage)} + * @param onMessage The previous subscribed handler to remove + * @return `true` if the handler was found, `false` otherwise. + */ + unsubscribe(onMessage: ChannelListener): void; + } +} +declare module "node:diagnostics_channel" { + export * from "diagnostics_channel"; +} diff --git a/node_modules/@types/node/dns.d.ts b/node_modules/@types/node/dns.d.ts new file mode 100644 index 000000000..380cf7d70 --- /dev/null +++ b/node_modules/@types/node/dns.d.ts @@ -0,0 +1,809 @@ +/** + * The `node:dns` module enables name resolution. For example, use it to look up IP + * addresses of host names. + * + * Although named for the [Domain Name System (DNS)](https://en.wikipedia.org/wiki/Domain_Name_System), it does not always use the + * DNS protocol for lookups. {@link lookup} uses the operating system + * facilities to perform name resolution. It may not need to perform any network + * communication. To perform name resolution the way other applications on the same + * system do, use {@link lookup}. + * + * ```js + * const dns = require('node:dns'); + * + * dns.lookup('example.org', (err, address, family) => { + * console.log('address: %j family: IPv%s', address, family); + * }); + * // address: "93.184.216.34" family: IPv4 + * ``` + * + * All other functions in the `node:dns` module connect to an actual DNS server to + * perform name resolution. They will always use the network to perform DNS + * queries. These functions do not use the same set of configuration files used by {@link lookup} (e.g. `/etc/hosts`). Use these functions to always perform + * DNS queries, bypassing other name-resolution facilities. + * + * ```js + * const dns = require('node:dns'); + * + * dns.resolve4('archive.org', (err, addresses) => { + * if (err) throw err; + * + * console.log(`addresses: ${JSON.stringify(addresses)}`); + * + * addresses.forEach((a) => { + * dns.reverse(a, (err, hostnames) => { + * if (err) { + * throw err; + * } + * console.log(`reverse for ${a}: ${JSON.stringify(hostnames)}`); + * }); + * }); + * }); + * ``` + * + * See the `Implementation considerations section` for more information. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/dns.js) + */ +declare module "dns" { + import * as dnsPromises from "node:dns/promises"; + // Supported getaddrinfo flags. + export const ADDRCONFIG: number; + export const V4MAPPED: number; + /** + * If `dns.V4MAPPED` is specified, return resolved IPv6 addresses as + * well as IPv4 mapped IPv6 addresses. + */ + export const ALL: number; + export interface LookupOptions { + family?: number | undefined; + hints?: number | undefined; + all?: boolean | undefined; + /** + * @default true + */ + verbatim?: boolean | undefined; + } + export interface LookupOneOptions extends LookupOptions { + all?: false | undefined; + } + export interface LookupAllOptions extends LookupOptions { + all: true; + } + export interface LookupAddress { + address: string; + family: number; + } + /** + * Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or + * AAAA (IPv6) record. All `option` properties are optional. If `options` is an + * integer, then it must be `4` or `6` – if `options` is `0` or not provided, then + * IPv4 and IPv6 addresses are both returned if found. + * + * With the `all` option set to `true`, the arguments for `callback` change to`(err, addresses)`, with `addresses` being an array of objects with the + * properties `address` and `family`. + * + * On error, `err` is an `Error` object, where `err.code` is the error code. + * Keep in mind that `err.code` will be set to `'ENOTFOUND'` not only when + * the host name does not exist but also when the lookup fails in other ways + * such as no available file descriptors. + * + * `dns.lookup()` does not necessarily have anything to do with the DNS protocol. + * The implementation uses an operating system facility that can associate names + * with addresses and vice versa. This implementation can have subtle but + * important consequences on the behavior of any Node.js program. Please take some + * time to consult the `Implementation considerations section` before using`dns.lookup()`. + * + * Example usage: + * + * ```js + * const dns = require('node:dns'); + * const options = { + * family: 6, + * hints: dns.ADDRCONFIG | dns.V4MAPPED, + * }; + * dns.lookup('example.com', options, (err, address, family) => + * console.log('address: %j family: IPv%s', address, family)); + * // address: "2606:2800:220:1:248:1893:25c8:1946" family: IPv6 + * + * // When options.all is true, the result will be an Array. + * options.all = true; + * dns.lookup('example.com', options, (err, addresses) => + * console.log('addresses: %j', addresses)); + * // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}] + * ``` + * + * If this method is invoked as its `util.promisify()` ed version, and `all`is not set to `true`, it returns a `Promise` for an `Object` with `address` and`family` properties. + * @since v0.1.90 + */ + export function lookup( + hostname: string, + family: number, + callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, + ): void; + export function lookup( + hostname: string, + options: LookupOneOptions, + callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, + ): void; + export function lookup( + hostname: string, + options: LookupAllOptions, + callback: (err: NodeJS.ErrnoException | null, addresses: LookupAddress[]) => void, + ): void; + export function lookup( + hostname: string, + options: LookupOptions, + callback: (err: NodeJS.ErrnoException | null, address: string | LookupAddress[], family: number) => void, + ): void; + export function lookup( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, + ): void; + export namespace lookup { + function __promisify__(hostname: string, options: LookupAllOptions): Promise; + function __promisify__(hostname: string, options?: LookupOneOptions | number): Promise; + function __promisify__(hostname: string, options: LookupOptions): Promise; + } + /** + * Resolves the given `address` and `port` into a host name and service using + * the operating system's underlying `getnameinfo` implementation. + * + * If `address` is not a valid IP address, a `TypeError` will be thrown. + * The `port` will be coerced to a number. If it is not a legal port, a `TypeError`will be thrown. + * + * On an error, `err` is an `Error` object, where `err.code` is the error code. + * + * ```js + * const dns = require('node:dns'); + * dns.lookupService('127.0.0.1', 22, (err, hostname, service) => { + * console.log(hostname, service); + * // Prints: localhost ssh + * }); + * ``` + * + * If this method is invoked as its `util.promisify()` ed version, it returns a`Promise` for an `Object` with `hostname` and `service` properties. + * @since v0.11.14 + */ + export function lookupService( + address: string, + port: number, + callback: (err: NodeJS.ErrnoException | null, hostname: string, service: string) => void, + ): void; + export namespace lookupService { + function __promisify__( + address: string, + port: number, + ): Promise<{ + hostname: string; + service: string; + }>; + } + export interface ResolveOptions { + ttl: boolean; + } + export interface ResolveWithTtlOptions extends ResolveOptions { + ttl: true; + } + export interface RecordWithTtl { + address: string; + ttl: number; + } + /** @deprecated Use `AnyARecord` or `AnyAaaaRecord` instead. */ + export type AnyRecordWithTtl = AnyARecord | AnyAaaaRecord; + export interface AnyARecord extends RecordWithTtl { + type: "A"; + } + export interface AnyAaaaRecord extends RecordWithTtl { + type: "AAAA"; + } + export interface CaaRecord { + critical: number; + issue?: string | undefined; + issuewild?: string | undefined; + iodef?: string | undefined; + contactemail?: string | undefined; + contactphone?: string | undefined; + } + export interface MxRecord { + priority: number; + exchange: string; + } + export interface AnyMxRecord extends MxRecord { + type: "MX"; + } + export interface NaptrRecord { + flags: string; + service: string; + regexp: string; + replacement: string; + order: number; + preference: number; + } + export interface AnyNaptrRecord extends NaptrRecord { + type: "NAPTR"; + } + export interface SoaRecord { + nsname: string; + hostmaster: string; + serial: number; + refresh: number; + retry: number; + expire: number; + minttl: number; + } + export interface AnySoaRecord extends SoaRecord { + type: "SOA"; + } + export interface SrvRecord { + priority: number; + weight: number; + port: number; + name: string; + } + export interface AnySrvRecord extends SrvRecord { + type: "SRV"; + } + export interface AnyTxtRecord { + type: "TXT"; + entries: string[]; + } + export interface AnyNsRecord { + type: "NS"; + value: string; + } + export interface AnyPtrRecord { + type: "PTR"; + value: string; + } + export interface AnyCnameRecord { + type: "CNAME"; + value: string; + } + export type AnyRecord = + | AnyARecord + | AnyAaaaRecord + | AnyCnameRecord + | AnyMxRecord + | AnyNaptrRecord + | AnyNsRecord + | AnyPtrRecord + | AnySoaRecord + | AnySrvRecord + | AnyTxtRecord; + /** + * Uses the DNS protocol to resolve a host name (e.g. `'nodejs.org'`) into an array + * of the resource records. The `callback` function has arguments`(err, records)`. When successful, `records` will be an array of resource + * records. The type and structure of individual results varies based on `rrtype`: + * + * + * + * On error, `err` is an `Error` object, where `err.code` is one of the `DNS error codes`. + * @since v0.1.27 + * @param hostname Host name to resolve. + * @param [rrtype='A'] Resource record type. + */ + export function resolve( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "A", + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "AAAA", + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "ANY", + callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "CNAME", + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "MX", + callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "NAPTR", + callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "NS", + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "PTR", + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "SOA", + callback: (err: NodeJS.ErrnoException | null, addresses: SoaRecord) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "SRV", + callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "TXT", + callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: string, + callback: ( + err: NodeJS.ErrnoException | null, + addresses: string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[], + ) => void, + ): void; + export namespace resolve { + function __promisify__(hostname: string, rrtype?: "A" | "AAAA" | "CNAME" | "NS" | "PTR"): Promise; + function __promisify__(hostname: string, rrtype: "ANY"): Promise; + function __promisify__(hostname: string, rrtype: "MX"): Promise; + function __promisify__(hostname: string, rrtype: "NAPTR"): Promise; + function __promisify__(hostname: string, rrtype: "SOA"): Promise; + function __promisify__(hostname: string, rrtype: "SRV"): Promise; + function __promisify__(hostname: string, rrtype: "TXT"): Promise; + function __promisify__( + hostname: string, + rrtype: string, + ): Promise; + } + /** + * Uses the DNS protocol to resolve a IPv4 addresses (`A` records) for the`hostname`. The `addresses` argument passed to the `callback` function + * will contain an array of IPv4 addresses (e.g.`['74.125.79.104', '74.125.79.105', '74.125.79.106']`). + * @since v0.1.16 + * @param hostname Host name to resolve. + */ + export function resolve4( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve4( + hostname: string, + options: ResolveWithTtlOptions, + callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void, + ): void; + export function resolve4( + hostname: string, + options: ResolveOptions, + callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void, + ): void; + export namespace resolve4 { + function __promisify__(hostname: string): Promise; + function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise; + function __promisify__(hostname: string, options?: ResolveOptions): Promise; + } + /** + * Uses the DNS protocol to resolve IPv6 addresses (`AAAA` records) for the`hostname`. The `addresses` argument passed to the `callback` function + * will contain an array of IPv6 addresses. + * @since v0.1.16 + * @param hostname Host name to resolve. + */ + export function resolve6( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve6( + hostname: string, + options: ResolveWithTtlOptions, + callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void, + ): void; + export function resolve6( + hostname: string, + options: ResolveOptions, + callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void, + ): void; + export namespace resolve6 { + function __promisify__(hostname: string): Promise; + function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise; + function __promisify__(hostname: string, options?: ResolveOptions): Promise; + } + /** + * Uses the DNS protocol to resolve `CNAME` records for the `hostname`. The`addresses` argument passed to the `callback` function + * will contain an array of canonical name records available for the `hostname`(e.g. `['bar.example.com']`). + * @since v0.3.2 + */ + export function resolveCname( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export namespace resolveCname { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve `CAA` records for the `hostname`. The`addresses` argument passed to the `callback` function + * will contain an array of certification authority authorization records + * available for the `hostname` (e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'}, {critical: 128, issue: 'pki.example.com'}]`). + * @since v15.0.0, v14.17.0 + */ + export function resolveCaa( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, records: CaaRecord[]) => void, + ): void; + export namespace resolveCaa { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve mail exchange records (`MX` records) for the`hostname`. The `addresses` argument passed to the `callback` function will + * contain an array of objects containing both a `priority` and `exchange`property (e.g. `[{priority: 10, exchange: 'mx.example.com'}, ...]`). + * @since v0.1.27 + */ + export function resolveMx( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void, + ): void; + export namespace resolveMx { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve regular expression-based records (`NAPTR`records) for the `hostname`. The `addresses` argument passed to the `callback`function will contain an array of + * objects with the following properties: + * + * * `flags` + * * `service` + * * `regexp` + * * `replacement` + * * `order` + * * `preference` + * + * ```js + * { + * flags: 's', + * service: 'SIP+D2U', + * regexp: '', + * replacement: '_sip._udp.example.com', + * order: 30, + * preference: 100 + * } + * ``` + * @since v0.9.12 + */ + export function resolveNaptr( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void, + ): void; + export namespace resolveNaptr { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve name server records (`NS` records) for the`hostname`. The `addresses` argument passed to the `callback` function will + * contain an array of name server records available for `hostname`(e.g. `['ns1.example.com', 'ns2.example.com']`). + * @since v0.1.90 + */ + export function resolveNs( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export namespace resolveNs { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve pointer records (`PTR` records) for the`hostname`. The `addresses` argument passed to the `callback` function will + * be an array of strings containing the reply records. + * @since v6.0.0 + */ + export function resolvePtr( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export namespace resolvePtr { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve a start of authority record (`SOA` record) for + * the `hostname`. The `address` argument passed to the `callback` function will + * be an object with the following properties: + * + * * `nsname` + * * `hostmaster` + * * `serial` + * * `refresh` + * * `retry` + * * `expire` + * * `minttl` + * + * ```js + * { + * nsname: 'ns.example.com', + * hostmaster: 'root.example.com', + * serial: 2013101809, + * refresh: 10000, + * retry: 2400, + * expire: 604800, + * minttl: 3600 + * } + * ``` + * @since v0.11.10 + */ + export function resolveSoa( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, address: SoaRecord) => void, + ): void; + export namespace resolveSoa { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve service records (`SRV` records) for the`hostname`. The `addresses` argument passed to the `callback` function will + * be an array of objects with the following properties: + * + * * `priority` + * * `weight` + * * `port` + * * `name` + * + * ```js + * { + * priority: 10, + * weight: 5, + * port: 21223, + * name: 'service.example.com' + * } + * ``` + * @since v0.1.27 + */ + export function resolveSrv( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void, + ): void; + export namespace resolveSrv { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve text queries (`TXT` records) for the`hostname`. The `records` argument passed to the `callback` function is a + * two-dimensional array of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of + * one record. Depending on the use case, these could be either joined together or + * treated separately. + * @since v0.1.27 + */ + export function resolveTxt( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void, + ): void; + export namespace resolveTxt { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve all records (also known as `ANY` or `*` query). + * The `ret` argument passed to the `callback` function will be an array containing + * various types of records. Each object has a property `type` that indicates the + * type of the current record. And depending on the `type`, additional properties + * will be present on the object: + * + * + * + * Here is an example of the `ret` object passed to the callback: + * + * ```js + * [ { type: 'A', address: '127.0.0.1', ttl: 299 }, + * { type: 'CNAME', value: 'example.com' }, + * { type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 }, + * { type: 'NS', value: 'ns1.example.com' }, + * { type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] }, + * { type: 'SOA', + * nsname: 'ns1.example.com', + * hostmaster: 'admin.example.com', + * serial: 156696742, + * refresh: 900, + * retry: 900, + * expire: 1800, + * minttl: 60 } ] + * ``` + * + * DNS server operators may choose not to respond to `ANY`queries. It may be better to call individual methods like {@link resolve4},{@link resolveMx}, and so on. For more details, see [RFC + * 8482](https://tools.ietf.org/html/rfc8482). + */ + export function resolveAny( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void, + ): void; + export namespace resolveAny { + function __promisify__(hostname: string): Promise; + } + /** + * Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an + * array of host names. + * + * On error, `err` is an `Error` object, where `err.code` is + * one of the `DNS error codes`. + * @since v0.1.16 + */ + export function reverse( + ip: string, + callback: (err: NodeJS.ErrnoException | null, hostnames: string[]) => void, + ): void; + /** + * Get the default value for `verbatim` in {@link lookup} and `dnsPromises.lookup()`. The value could be: + * + * * `ipv4first`: for `verbatim` defaulting to `false`. + * * `verbatim`: for `verbatim` defaulting to `true`. + * @since v20.1.0 + */ + export function getDefaultResultOrder(): "ipv4first" | "verbatim"; + /** + * Sets the IP address and port of servers to be used when performing DNS + * resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted + * addresses. If the port is the IANA default DNS port (53) it can be omitted. + * + * ```js + * dns.setServers([ + * '4.4.4.4', + * '[2001:4860:4860::8888]', + * '4.4.4.4:1053', + * '[2001:4860:4860::8888]:1053', + * ]); + * ``` + * + * An error will be thrown if an invalid address is provided. + * + * The `dns.setServers()` method must not be called while a DNS query is in + * progress. + * + * The {@link setServers} method affects only {@link resolve},`dns.resolve*()` and {@link reverse} (and specifically _not_ {@link lookup}). + * + * This method works much like [resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html). + * That is, if attempting to resolve with the first server provided results in a`NOTFOUND` error, the `resolve()` method will _not_ attempt to resolve with + * subsequent servers provided. Fallback DNS servers will only be used if the + * earlier ones time out or result in some other error. + * @since v0.11.3 + * @param servers array of `RFC 5952` formatted addresses + */ + export function setServers(servers: readonly string[]): void; + /** + * Returns an array of IP address strings, formatted according to [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6), + * that are currently configured for DNS resolution. A string will include a port + * section if a custom port is used. + * + * ```js + * [ + * '4.4.4.4', + * '2001:4860:4860::8888', + * '4.4.4.4:1053', + * '[2001:4860:4860::8888]:1053', + * ] + * ``` + * @since v0.11.3 + */ + export function getServers(): string[]; + /** + * Set the default value of `verbatim` in {@link lookup} and `dnsPromises.lookup()`. The value could be: + * + * * `ipv4first`: sets default `verbatim` `false`. + * * `verbatim`: sets default `verbatim` `true`. + * + * The default is `verbatim` and {@link setDefaultResultOrder} have higher + * priority than `--dns-result-order`. When using `worker threads`,{@link setDefaultResultOrder} from the main thread won't affect the default + * dns orders in workers. + * @since v16.4.0, v14.18.0 + * @param order must be `'ipv4first'` or `'verbatim'`. + */ + export function setDefaultResultOrder(order: "ipv4first" | "verbatim"): void; + // Error codes + export const NODATA: string; + export const FORMERR: string; + export const SERVFAIL: string; + export const NOTFOUND: string; + export const NOTIMP: string; + export const REFUSED: string; + export const BADQUERY: string; + export const BADNAME: string; + export const BADFAMILY: string; + export const BADRESP: string; + export const CONNREFUSED: string; + export const TIMEOUT: string; + export const EOF: string; + export const FILE: string; + export const NOMEM: string; + export const DESTRUCTION: string; + export const BADSTR: string; + export const BADFLAGS: string; + export const NONAME: string; + export const BADHINTS: string; + export const NOTINITIALIZED: string; + export const LOADIPHLPAPI: string; + export const ADDRGETNETWORKPARAMS: string; + export const CANCELLED: string; + export interface ResolverOptions { + timeout?: number | undefined; + /** + * @default 4 + */ + tries?: number; + } + /** + * An independent resolver for DNS requests. + * + * Creating a new resolver uses the default server settings. Setting + * the servers used for a resolver using `resolver.setServers()` does not affect + * other resolvers: + * + * ```js + * const { Resolver } = require('node:dns'); + * const resolver = new Resolver(); + * resolver.setServers(['4.4.4.4']); + * + * // This request will use the server at 4.4.4.4, independent of global settings. + * resolver.resolve4('example.org', (err, addresses) => { + * // ... + * }); + * ``` + * + * The following methods from the `node:dns` module are available: + * + * * `resolver.getServers()` + * * `resolver.resolve()` + * * `resolver.resolve4()` + * * `resolver.resolve6()` + * * `resolver.resolveAny()` + * * `resolver.resolveCaa()` + * * `resolver.resolveCname()` + * * `resolver.resolveMx()` + * * `resolver.resolveNaptr()` + * * `resolver.resolveNs()` + * * `resolver.resolvePtr()` + * * `resolver.resolveSoa()` + * * `resolver.resolveSrv()` + * * `resolver.resolveTxt()` + * * `resolver.reverse()` + * * `resolver.setServers()` + * @since v8.3.0 + */ + export class Resolver { + constructor(options?: ResolverOptions); + /** + * Cancel all outstanding DNS queries made by this resolver. The corresponding + * callbacks will be called with an error with code `ECANCELLED`. + * @since v8.3.0 + */ + cancel(): void; + getServers: typeof getServers; + resolve: typeof resolve; + resolve4: typeof resolve4; + resolve6: typeof resolve6; + resolveAny: typeof resolveAny; + resolveCaa: typeof resolveCaa; + resolveCname: typeof resolveCname; + resolveMx: typeof resolveMx; + resolveNaptr: typeof resolveNaptr; + resolveNs: typeof resolveNs; + resolvePtr: typeof resolvePtr; + resolveSoa: typeof resolveSoa; + resolveSrv: typeof resolveSrv; + resolveTxt: typeof resolveTxt; + reverse: typeof reverse; + /** + * The resolver instance will send its requests from the specified IP address. + * This allows programs to specify outbound interfaces when used on multi-homed + * systems. + * + * If a v4 or v6 address is not specified, it is set to the default and the + * operating system will choose a local address automatically. + * + * The resolver will use the v4 local address when making requests to IPv4 DNS + * servers, and the v6 local address when making requests to IPv6 DNS servers. + * The `rrtype` of resolution requests has no impact on the local address used. + * @since v15.1.0, v14.17.0 + * @param [ipv4='0.0.0.0'] A string representation of an IPv4 address. + * @param [ipv6='::0'] A string representation of an IPv6 address. + */ + setLocalAddress(ipv4?: string, ipv6?: string): void; + setServers: typeof setServers; + } + export { dnsPromises as promises }; +} +declare module "node:dns" { + export * from "dns"; +} diff --git a/node_modules/@types/node/dns/promises.d.ts b/node_modules/@types/node/dns/promises.d.ts new file mode 100644 index 000000000..ef9b22281 --- /dev/null +++ b/node_modules/@types/node/dns/promises.d.ts @@ -0,0 +1,425 @@ +/** + * The `dns.promises` API provides an alternative set of asynchronous DNS methods + * that return `Promise` objects rather than using callbacks. The API is accessible + * via `require('node:dns').promises` or `require('node:dns/promises')`. + * @since v10.6.0 + */ +declare module "dns/promises" { + import { + AnyRecord, + CaaRecord, + LookupAddress, + LookupAllOptions, + LookupOneOptions, + LookupOptions, + MxRecord, + NaptrRecord, + RecordWithTtl, + ResolveOptions, + ResolverOptions, + ResolveWithTtlOptions, + SoaRecord, + SrvRecord, + } from "node:dns"; + /** + * Returns an array of IP address strings, formatted according to [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6), + * that are currently configured for DNS resolution. A string will include a port + * section if a custom port is used. + * + * ```js + * [ + * '4.4.4.4', + * '2001:4860:4860::8888', + * '4.4.4.4:1053', + * '[2001:4860:4860::8888]:1053', + * ] + * ``` + * @since v10.6.0 + */ + function getServers(): string[]; + /** + * Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or + * AAAA (IPv6) record. All `option` properties are optional. If `options` is an + * integer, then it must be `4` or `6` – if `options` is not provided, then IPv4 + * and IPv6 addresses are both returned if found. + * + * With the `all` option set to `true`, the `Promise` is resolved with `addresses`being an array of objects with the properties `address` and `family`. + * + * On error, the `Promise` is rejected with an `Error` object, where `err.code`is the error code. + * Keep in mind that `err.code` will be set to `'ENOTFOUND'` not only when + * the host name does not exist but also when the lookup fails in other ways + * such as no available file descriptors. + * + * `dnsPromises.lookup()` does not necessarily have anything to do with the DNS + * protocol. The implementation uses an operating system facility that can + * associate names with addresses and vice versa. This implementation can have + * subtle but important consequences on the behavior of any Node.js program. Please + * take some time to consult the `Implementation considerations section` before + * using `dnsPromises.lookup()`. + * + * Example usage: + * + * ```js + * const dns = require('node:dns'); + * const dnsPromises = dns.promises; + * const options = { + * family: 6, + * hints: dns.ADDRCONFIG | dns.V4MAPPED, + * }; + * + * dnsPromises.lookup('example.com', options).then((result) => { + * console.log('address: %j family: IPv%s', result.address, result.family); + * // address: "2606:2800:220:1:248:1893:25c8:1946" family: IPv6 + * }); + * + * // When options.all is true, the result will be an Array. + * options.all = true; + * dnsPromises.lookup('example.com', options).then((result) => { + * console.log('addresses: %j', result); + * // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}] + * }); + * ``` + * @since v10.6.0 + */ + function lookup(hostname: string, family: number): Promise; + function lookup(hostname: string, options: LookupOneOptions): Promise; + function lookup(hostname: string, options: LookupAllOptions): Promise; + function lookup(hostname: string, options: LookupOptions): Promise; + function lookup(hostname: string): Promise; + /** + * Resolves the given `address` and `port` into a host name and service using + * the operating system's underlying `getnameinfo` implementation. + * + * If `address` is not a valid IP address, a `TypeError` will be thrown. + * The `port` will be coerced to a number. If it is not a legal port, a `TypeError`will be thrown. + * + * On error, the `Promise` is rejected with an `Error` object, where `err.code`is the error code. + * + * ```js + * const dnsPromises = require('node:dns').promises; + * dnsPromises.lookupService('127.0.0.1', 22).then((result) => { + * console.log(result.hostname, result.service); + * // Prints: localhost ssh + * }); + * ``` + * @since v10.6.0 + */ + function lookupService( + address: string, + port: number, + ): Promise<{ + hostname: string; + service: string; + }>; + /** + * Uses the DNS protocol to resolve a host name (e.g. `'nodejs.org'`) into an array + * of the resource records. When successful, the `Promise` is resolved with an + * array of resource records. The type and structure of individual results vary + * based on `rrtype`: + * + * + * + * On error, the `Promise` is rejected with an `Error` object, where `err.code`is one of the `DNS error codes`. + * @since v10.6.0 + * @param hostname Host name to resolve. + * @param [rrtype='A'] Resource record type. + */ + function resolve(hostname: string): Promise; + function resolve(hostname: string, rrtype: "A"): Promise; + function resolve(hostname: string, rrtype: "AAAA"): Promise; + function resolve(hostname: string, rrtype: "ANY"): Promise; + function resolve(hostname: string, rrtype: "CAA"): Promise; + function resolve(hostname: string, rrtype: "CNAME"): Promise; + function resolve(hostname: string, rrtype: "MX"): Promise; + function resolve(hostname: string, rrtype: "NAPTR"): Promise; + function resolve(hostname: string, rrtype: "NS"): Promise; + function resolve(hostname: string, rrtype: "PTR"): Promise; + function resolve(hostname: string, rrtype: "SOA"): Promise; + function resolve(hostname: string, rrtype: "SRV"): Promise; + function resolve(hostname: string, rrtype: "TXT"): Promise; + function resolve( + hostname: string, + rrtype: string, + ): Promise; + /** + * Uses the DNS protocol to resolve IPv4 addresses (`A` records) for the`hostname`. On success, the `Promise` is resolved with an array of IPv4 + * addresses (e.g. `['74.125.79.104', '74.125.79.105', '74.125.79.106']`). + * @since v10.6.0 + * @param hostname Host name to resolve. + */ + function resolve4(hostname: string): Promise; + function resolve4(hostname: string, options: ResolveWithTtlOptions): Promise; + function resolve4(hostname: string, options: ResolveOptions): Promise; + /** + * Uses the DNS protocol to resolve IPv6 addresses (`AAAA` records) for the`hostname`. On success, the `Promise` is resolved with an array of IPv6 + * addresses. + * @since v10.6.0 + * @param hostname Host name to resolve. + */ + function resolve6(hostname: string): Promise; + function resolve6(hostname: string, options: ResolveWithTtlOptions): Promise; + function resolve6(hostname: string, options: ResolveOptions): Promise; + /** + * Uses the DNS protocol to resolve all records (also known as `ANY` or `*` query). + * On success, the `Promise` is resolved with an array containing various types of + * records. Each object has a property `type` that indicates the type of the + * current record. And depending on the `type`, additional properties will be + * present on the object: + * + * + * + * Here is an example of the result object: + * + * ```js + * [ { type: 'A', address: '127.0.0.1', ttl: 299 }, + * { type: 'CNAME', value: 'example.com' }, + * { type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 }, + * { type: 'NS', value: 'ns1.example.com' }, + * { type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] }, + * { type: 'SOA', + * nsname: 'ns1.example.com', + * hostmaster: 'admin.example.com', + * serial: 156696742, + * refresh: 900, + * retry: 900, + * expire: 1800, + * minttl: 60 } ] + * ``` + * @since v10.6.0 + */ + function resolveAny(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve `CAA` records for the `hostname`. On success, + * the `Promise` is resolved with an array of objects containing available + * certification authority authorization records available for the `hostname`(e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'},{critical: 128, issue: 'pki.example.com'}]`). + * @since v15.0.0, v14.17.0 + */ + function resolveCaa(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve `CNAME` records for the `hostname`. On success, + * the `Promise` is resolved with an array of canonical name records available for + * the `hostname` (e.g. `['bar.example.com']`). + * @since v10.6.0 + */ + function resolveCname(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve mail exchange records (`MX` records) for the`hostname`. On success, the `Promise` is resolved with an array of objects + * containing both a `priority` and `exchange` property (e.g.`[{priority: 10, exchange: 'mx.example.com'}, ...]`). + * @since v10.6.0 + */ + function resolveMx(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve regular expression-based records (`NAPTR`records) for the `hostname`. On success, the `Promise` is resolved with an array + * of objects with the following properties: + * + * * `flags` + * * `service` + * * `regexp` + * * `replacement` + * * `order` + * * `preference` + * + * ```js + * { + * flags: 's', + * service: 'SIP+D2U', + * regexp: '', + * replacement: '_sip._udp.example.com', + * order: 30, + * preference: 100 + * } + * ``` + * @since v10.6.0 + */ + function resolveNaptr(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve name server records (`NS` records) for the`hostname`. On success, the `Promise` is resolved with an array of name server + * records available for `hostname` (e.g.`['ns1.example.com', 'ns2.example.com']`). + * @since v10.6.0 + */ + function resolveNs(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve pointer records (`PTR` records) for the`hostname`. On success, the `Promise` is resolved with an array of strings + * containing the reply records. + * @since v10.6.0 + */ + function resolvePtr(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve a start of authority record (`SOA` record) for + * the `hostname`. On success, the `Promise` is resolved with an object with the + * following properties: + * + * * `nsname` + * * `hostmaster` + * * `serial` + * * `refresh` + * * `retry` + * * `expire` + * * `minttl` + * + * ```js + * { + * nsname: 'ns.example.com', + * hostmaster: 'root.example.com', + * serial: 2013101809, + * refresh: 10000, + * retry: 2400, + * expire: 604800, + * minttl: 3600 + * } + * ``` + * @since v10.6.0 + */ + function resolveSoa(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve service records (`SRV` records) for the`hostname`. On success, the `Promise` is resolved with an array of objects with + * the following properties: + * + * * `priority` + * * `weight` + * * `port` + * * `name` + * + * ```js + * { + * priority: 10, + * weight: 5, + * port: 21223, + * name: 'service.example.com' + * } + * ``` + * @since v10.6.0 + */ + function resolveSrv(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve text queries (`TXT` records) for the`hostname`. On success, the `Promise` is resolved with a two-dimensional array + * of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of + * one record. Depending on the use case, these could be either joined together or + * treated separately. + * @since v10.6.0 + */ + function resolveTxt(hostname: string): Promise; + /** + * Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an + * array of host names. + * + * On error, the `Promise` is rejected with an `Error` object, where `err.code`is one of the `DNS error codes`. + * @since v10.6.0 + */ + function reverse(ip: string): Promise; + /** + * Get the default value for `verbatim` in {@link lookup} and `dnsPromises.lookup()`. The value could be: + * + * * `ipv4first`: for `verbatim` defaulting to `false`. + * * `verbatim`: for `verbatim` defaulting to `true`. + * @since v20.1.0 + */ + function getDefaultResultOrder(): "ipv4first" | "verbatim"; + /** + * Sets the IP address and port of servers to be used when performing DNS + * resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted + * addresses. If the port is the IANA default DNS port (53) it can be omitted. + * + * ```js + * dnsPromises.setServers([ + * '4.4.4.4', + * '[2001:4860:4860::8888]', + * '4.4.4.4:1053', + * '[2001:4860:4860::8888]:1053', + * ]); + * ``` + * + * An error will be thrown if an invalid address is provided. + * + * The `dnsPromises.setServers()` method must not be called while a DNS query is in + * progress. + * + * This method works much like [resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html). + * That is, if attempting to resolve with the first server provided results in a`NOTFOUND` error, the `resolve()` method will _not_ attempt to resolve with + * subsequent servers provided. Fallback DNS servers will only be used if the + * earlier ones time out or result in some other error. + * @since v10.6.0 + * @param servers array of `RFC 5952` formatted addresses + */ + function setServers(servers: readonly string[]): void; + /** + * Set the default value of `verbatim` in `dns.lookup()` and `dnsPromises.lookup()`. The value could be: + * + * * `ipv4first`: sets default `verbatim` `false`. + * * `verbatim`: sets default `verbatim` `true`. + * + * The default is `verbatim` and `dnsPromises.setDefaultResultOrder()` have + * higher priority than `--dns-result-order`. When using `worker threads`,`dnsPromises.setDefaultResultOrder()` from the main thread won't affect the + * default dns orders in workers. + * @since v16.4.0, v14.18.0 + * @param order must be `'ipv4first'` or `'verbatim'`. + */ + function setDefaultResultOrder(order: "ipv4first" | "verbatim"): void; + /** + * An independent resolver for DNS requests. + * + * Creating a new resolver uses the default server settings. Setting + * the servers used for a resolver using `resolver.setServers()` does not affect + * other resolvers: + * + * ```js + * const { Resolver } = require('node:dns').promises; + * const resolver = new Resolver(); + * resolver.setServers(['4.4.4.4']); + * + * // This request will use the server at 4.4.4.4, independent of global settings. + * resolver.resolve4('example.org').then((addresses) => { + * // ... + * }); + * + * // Alternatively, the same code can be written using async-await style. + * (async function() { + * const addresses = await resolver.resolve4('example.org'); + * })(); + * ``` + * + * The following methods from the `dnsPromises` API are available: + * + * * `resolver.getServers()` + * * `resolver.resolve()` + * * `resolver.resolve4()` + * * `resolver.resolve6()` + * * `resolver.resolveAny()` + * * `resolver.resolveCaa()` + * * `resolver.resolveCname()` + * * `resolver.resolveMx()` + * * `resolver.resolveNaptr()` + * * `resolver.resolveNs()` + * * `resolver.resolvePtr()` + * * `resolver.resolveSoa()` + * * `resolver.resolveSrv()` + * * `resolver.resolveTxt()` + * * `resolver.reverse()` + * * `resolver.setServers()` + * @since v10.6.0 + */ + class Resolver { + constructor(options?: ResolverOptions); + cancel(): void; + getServers: typeof getServers; + resolve: typeof resolve; + resolve4: typeof resolve4; + resolve6: typeof resolve6; + resolveAny: typeof resolveAny; + resolveCaa: typeof resolveCaa; + resolveCname: typeof resolveCname; + resolveMx: typeof resolveMx; + resolveNaptr: typeof resolveNaptr; + resolveNs: typeof resolveNs; + resolvePtr: typeof resolvePtr; + resolveSoa: typeof resolveSoa; + resolveSrv: typeof resolveSrv; + resolveTxt: typeof resolveTxt; + reverse: typeof reverse; + setLocalAddress(ipv4?: string, ipv6?: string): void; + setServers: typeof setServers; + } +} +declare module "node:dns/promises" { + export * from "dns/promises"; +} diff --git a/node_modules/@types/node/dom-events.d.ts b/node_modules/@types/node/dom-events.d.ts new file mode 100644 index 000000000..147a7b657 --- /dev/null +++ b/node_modules/@types/node/dom-events.d.ts @@ -0,0 +1,122 @@ +export {}; // Don't export anything! + +//// DOM-like Events +// NB: The Event / EventTarget / EventListener implementations below were copied +// from lib.dom.d.ts, then edited to reflect Node's documentation at +// https://nodejs.org/api/events.html#class-eventtarget. +// Please read that link to understand important implementation differences. + +// This conditional type will be the existing global Event in a browser, or +// the copy below in a Node environment. +type __Event = typeof globalThis extends { onmessage: any; Event: any } ? {} + : { + /** This is not used in Node.js and is provided purely for completeness. */ + readonly bubbles: boolean; + /** Alias for event.stopPropagation(). This is not used in Node.js and is provided purely for completeness. */ + cancelBubble: () => void; + /** True if the event was created with the cancelable option */ + readonly cancelable: boolean; + /** This is not used in Node.js and is provided purely for completeness. */ + readonly composed: boolean; + /** Returns an array containing the current EventTarget as the only entry or empty if the event is not being dispatched. This is not used in Node.js and is provided purely for completeness. */ + composedPath(): [EventTarget?]; + /** Alias for event.target. */ + readonly currentTarget: EventTarget | null; + /** Is true if cancelable is true and event.preventDefault() has been called. */ + readonly defaultPrevented: boolean; + /** This is not used in Node.js and is provided purely for completeness. */ + readonly eventPhase: 0 | 2; + /** The `AbortSignal` "abort" event is emitted with `isTrusted` set to `true`. The value is `false` in all other cases. */ + readonly isTrusted: boolean; + /** Sets the `defaultPrevented` property to `true` if `cancelable` is `true`. */ + preventDefault(): void; + /** This is not used in Node.js and is provided purely for completeness. */ + returnValue: boolean; + /** Alias for event.target. */ + readonly srcElement: EventTarget | null; + /** Stops the invocation of event listeners after the current one completes. */ + stopImmediatePropagation(): void; + /** This is not used in Node.js and is provided purely for completeness. */ + stopPropagation(): void; + /** The `EventTarget` dispatching the event */ + readonly target: EventTarget | null; + /** The millisecond timestamp when the Event object was created. */ + readonly timeStamp: number; + /** Returns the type of event, e.g. "click", "hashchange", or "submit". */ + readonly type: string; + }; + +// See comment above explaining conditional type +type __EventTarget = typeof globalThis extends { onmessage: any; EventTarget: any } ? {} + : { + /** + * Adds a new handler for the `type` event. Any given `listener` is added only once per `type` and per `capture` option value. + * + * If the `once` option is true, the `listener` is removed after the next time a `type` event is dispatched. + * + * The `capture` option is not used by Node.js in any functional way other than tracking registered event listeners per the `EventTarget` specification. + * Specifically, the `capture` option is used as part of the key when registering a `listener`. + * Any individual `listener` may be added once with `capture = false`, and once with `capture = true`. + */ + addEventListener( + type: string, + listener: EventListener | EventListenerObject, + options?: AddEventListenerOptions | boolean, + ): void; + /** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */ + dispatchEvent(event: Event): boolean; + /** Removes the event listener in target's event listener list with the same type, callback, and options. */ + removeEventListener( + type: string, + listener: EventListener | EventListenerObject, + options?: EventListenerOptions | boolean, + ): void; + }; + +interface EventInit { + bubbles?: boolean; + cancelable?: boolean; + composed?: boolean; +} + +interface EventListenerOptions { + /** Not directly used by Node.js. Added for API completeness. Default: `false`. */ + capture?: boolean; +} + +interface AddEventListenerOptions extends EventListenerOptions { + /** When `true`, the listener is automatically removed when it is first invoked. Default: `false`. */ + once?: boolean; + /** When `true`, serves as a hint that the listener will not call the `Event` object's `preventDefault()` method. Default: false. */ + passive?: boolean; +} + +interface EventListener { + (evt: Event): void; +} + +interface EventListenerObject { + handleEvent(object: Event): void; +} + +import {} from "events"; // Make this an ambient declaration +declare global { + /** An event which takes place in the DOM. */ + interface Event extends __Event {} + var Event: typeof globalThis extends { onmessage: any; Event: infer T } ? T + : { + prototype: __Event; + new(type: string, eventInitDict?: EventInit): __Event; + }; + + /** + * EventTarget is a DOM interface implemented by objects that can + * receive events and may have listeners for them. + */ + interface EventTarget extends __EventTarget {} + var EventTarget: typeof globalThis extends { onmessage: any; EventTarget: infer T } ? T + : { + prototype: __EventTarget; + new(): __EventTarget; + }; +} diff --git a/node_modules/@types/node/domain.d.ts b/node_modules/@types/node/domain.d.ts new file mode 100644 index 000000000..72f17bd80 --- /dev/null +++ b/node_modules/@types/node/domain.d.ts @@ -0,0 +1,170 @@ +/** + * **This module is pending deprecation.** Once a replacement API has been + * finalized, this module will be fully deprecated. Most developers should + * **not** have cause to use this module. Users who absolutely must have + * the functionality that domains provide may rely on it for the time being + * but should expect to have to migrate to a different solution + * in the future. + * + * Domains provide a way to handle multiple different IO operations as a + * single group. If any of the event emitters or callbacks registered to a + * domain emit an `'error'` event, or throw an error, then the domain object + * will be notified, rather than losing the context of the error in the`process.on('uncaughtException')` handler, or causing the program to + * exit immediately with an error code. + * @deprecated Since v1.4.2 - Deprecated + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/domain.js) + */ +declare module "domain" { + import EventEmitter = require("node:events"); + /** + * The `Domain` class encapsulates the functionality of routing errors and + * uncaught exceptions to the active `Domain` object. + * + * To handle the errors that it catches, listen to its `'error'` event. + */ + class Domain extends EventEmitter { + /** + * An array of timers and event emitters that have been explicitly added + * to the domain. + */ + members: Array; + /** + * The `enter()` method is plumbing used by the `run()`, `bind()`, and`intercept()` methods to set the active domain. It sets `domain.active` and`process.domain` to the domain, and implicitly + * pushes the domain onto the domain + * stack managed by the domain module (see {@link exit} for details on the + * domain stack). The call to `enter()` delimits the beginning of a chain of + * asynchronous calls and I/O operations bound to a domain. + * + * Calling `enter()` changes only the active domain, and does not alter the domain + * itself. `enter()` and `exit()` can be called an arbitrary number of times on a + * single domain. + */ + enter(): void; + /** + * The `exit()` method exits the current domain, popping it off the domain stack. + * Any time execution is going to switch to the context of a different chain of + * asynchronous calls, it's important to ensure that the current domain is exited. + * The call to `exit()` delimits either the end of or an interruption to the chain + * of asynchronous calls and I/O operations bound to a domain. + * + * If there are multiple, nested domains bound to the current execution context,`exit()` will exit any domains nested within this domain. + * + * Calling `exit()` changes only the active domain, and does not alter the domain + * itself. `enter()` and `exit()` can be called an arbitrary number of times on a + * single domain. + */ + exit(): void; + /** + * Run the supplied function in the context of the domain, implicitly + * binding all event emitters, timers, and low-level requests that are + * created in that context. Optionally, arguments can be passed to + * the function. + * + * This is the most basic way to use a domain. + * + * ```js + * const domain = require('node:domain'); + * const fs = require('node:fs'); + * const d = domain.create(); + * d.on('error', (er) => { + * console.error('Caught error!', er); + * }); + * d.run(() => { + * process.nextTick(() => { + * setTimeout(() => { // Simulating some various async stuff + * fs.open('non-existent file', 'r', (er, fd) => { + * if (er) throw er; + * // proceed... + * }); + * }, 100); + * }); + * }); + * ``` + * + * In this example, the `d.on('error')` handler will be triggered, rather + * than crashing the program. + */ + run(fn: (...args: any[]) => T, ...args: any[]): T; + /** + * Explicitly adds an emitter to the domain. If any event handlers called by + * the emitter throw an error, or if the emitter emits an `'error'` event, it + * will be routed to the domain's `'error'` event, just like with implicit + * binding. + * + * This also works with timers that are returned from `setInterval()` and `setTimeout()`. If their callback function throws, it will be caught by + * the domain `'error'` handler. + * + * If the Timer or `EventEmitter` was already bound to a domain, it is removed + * from that one, and bound to this one instead. + * @param emitter emitter or timer to be added to the domain + */ + add(emitter: EventEmitter | NodeJS.Timer): void; + /** + * The opposite of {@link add}. Removes domain handling from the + * specified emitter. + * @param emitter emitter or timer to be removed from the domain + */ + remove(emitter: EventEmitter | NodeJS.Timer): void; + /** + * The returned function will be a wrapper around the supplied callback + * function. When the returned function is called, any errors that are + * thrown will be routed to the domain's `'error'` event. + * + * ```js + * const d = domain.create(); + * + * function readSomeFile(filename, cb) { + * fs.readFile(filename, 'utf8', d.bind((er, data) => { + * // If this throws, it will also be passed to the domain. + * return cb(er, data ? JSON.parse(data) : null); + * })); + * } + * + * d.on('error', (er) => { + * // An error occurred somewhere. If we throw it now, it will crash the program + * // with the normal line number and stack message. + * }); + * ``` + * @param callback The callback function + * @return The bound function + */ + bind(callback: T): T; + /** + * This method is almost identical to {@link bind}. However, in + * addition to catching thrown errors, it will also intercept `Error` objects sent as the first argument to the function. + * + * In this way, the common `if (err) return callback(err);` pattern can be replaced + * with a single error handler in a single place. + * + * ```js + * const d = domain.create(); + * + * function readSomeFile(filename, cb) { + * fs.readFile(filename, 'utf8', d.intercept((data) => { + * // Note, the first argument is never passed to the + * // callback since it is assumed to be the 'Error' argument + * // and thus intercepted by the domain. + * + * // If this throws, it will also be passed to the domain + * // so the error-handling logic can be moved to the 'error' + * // event on the domain instead of being repeated throughout + * // the program. + * return cb(null, JSON.parse(data)); + * })); + * } + * + * d.on('error', (er) => { + * // An error occurred somewhere. If we throw it now, it will crash the program + * // with the normal line number and stack message. + * }); + * ``` + * @param callback The callback function + * @return The intercepted function + */ + intercept(callback: T): T; + } + function create(): Domain; +} +declare module "node:domain" { + export * from "domain"; +} diff --git a/node_modules/@types/node/events.d.ts b/node_modules/@types/node/events.d.ts new file mode 100644 index 000000000..6ed47c53a --- /dev/null +++ b/node_modules/@types/node/events.d.ts @@ -0,0 +1,879 @@ +/** + * Much of the Node.js core API is built around an idiomatic asynchronous + * event-driven architecture in which certain kinds of objects (called "emitters") + * emit named events that cause `Function` objects ("listeners") to be called. + * + * For instance: a `net.Server` object emits an event each time a peer + * connects to it; a `fs.ReadStream` emits an event when the file is opened; + * a `stream` emits an event whenever data is available to be read. + * + * All objects that emit events are instances of the `EventEmitter` class. These + * objects expose an `eventEmitter.on()` function that allows one or more + * functions to be attached to named events emitted by the object. Typically, + * event names are camel-cased strings but any valid JavaScript property key + * can be used. + * + * When the `EventEmitter` object emits an event, all of the functions attached + * to that specific event are called _synchronously_. Any values returned by the + * called listeners are _ignored_ and discarded. + * + * The following example shows a simple `EventEmitter` instance with a single + * listener. The `eventEmitter.on()` method is used to register listeners, while + * the `eventEmitter.emit()` method is used to trigger the event. + * + * ```js + * import { EventEmitter } from 'node:events'; + * + * class MyEmitter extends EventEmitter {} + * + * const myEmitter = new MyEmitter(); + * myEmitter.on('event', () => { + * console.log('an event occurred!'); + * }); + * myEmitter.emit('event'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/events.js) + */ +declare module "events" { + import { AsyncResource, AsyncResourceOptions } from "node:async_hooks"; + // NOTE: This class is in the docs but is **not actually exported** by Node. + // If https://github.com/nodejs/node/issues/39903 gets resolved and Node + // actually starts exporting the class, uncomment below. + // import { EventListener, EventListenerObject } from '__dom-events'; + // /** The NodeEventTarget is a Node.js-specific extension to EventTarget that emulates a subset of the EventEmitter API. */ + // interface NodeEventTarget extends EventTarget { + // /** + // * Node.js-specific extension to the `EventTarget` class that emulates the equivalent `EventEmitter` API. + // * The only difference between `addListener()` and `addEventListener()` is that addListener() will return a reference to the EventTarget. + // */ + // addListener(type: string, listener: EventListener | EventListenerObject, options?: { once: boolean }): this; + // /** Node.js-specific extension to the `EventTarget` class that returns an array of event `type` names for which event listeners are registered. */ + // eventNames(): string[]; + // /** Node.js-specific extension to the `EventTarget` class that returns the number of event listeners registered for the `type`. */ + // listenerCount(type: string): number; + // /** Node.js-specific alias for `eventTarget.removeListener()`. */ + // off(type: string, listener: EventListener | EventListenerObject): this; + // /** Node.js-specific alias for `eventTarget.addListener()`. */ + // on(type: string, listener: EventListener | EventListenerObject, options?: { once: boolean }): this; + // /** Node.js-specific extension to the `EventTarget` class that adds a `once` listener for the given event `type`. This is equivalent to calling `on` with the `once` option set to `true`. */ + // once(type: string, listener: EventListener | EventListenerObject): this; + // /** + // * Node.js-specific extension to the `EventTarget` class. + // * If `type` is specified, removes all registered listeners for `type`, + // * otherwise removes all registered listeners. + // */ + // removeAllListeners(type: string): this; + // /** + // * Node.js-specific extension to the `EventTarget` class that removes the listener for the given `type`. + // * The only difference between `removeListener()` and `removeEventListener()` is that `removeListener()` will return a reference to the `EventTarget`. + // */ + // removeListener(type: string, listener: EventListener | EventListenerObject): this; + // } + interface EventEmitterOptions { + /** + * Enables automatic capturing of promise rejection. + */ + captureRejections?: boolean | undefined; + } + // Any EventTarget with a Node-style `once` function + interface _NodeEventTarget { + once(eventName: string | symbol, listener: (...args: any[]) => void): this; + } + // Any EventTarget with a DOM-style `addEventListener` + interface _DOMEventTarget { + addEventListener( + eventName: string, + listener: (...args: any[]) => void, + opts?: { + once: boolean; + }, + ): any; + } + interface StaticEventEmitterOptions { + signal?: AbortSignal | undefined; + } + interface EventEmitter extends NodeJS.EventEmitter {} + /** + * The `EventEmitter` class is defined and exposed by the `node:events` module: + * + * ```js + * import { EventEmitter } from 'node:events'; + * ``` + * + * All `EventEmitter`s emit the event `'newListener'` when new listeners are + * added and `'removeListener'` when existing listeners are removed. + * + * It supports the following option: + * @since v0.1.26 + */ + class EventEmitter { + constructor(options?: EventEmitterOptions); + + [EventEmitter.captureRejectionSymbol]?(error: Error, event: string, ...args: any[]): void; + + /** + * Creates a `Promise` that is fulfilled when the `EventEmitter` emits the given + * event or that is rejected if the `EventEmitter` emits `'error'` while waiting. + * The `Promise` will resolve with an array of all the arguments emitted to the + * given event. + * + * This method is intentionally generic and works with the web platform [EventTarget](https://dom.spec.whatwg.org/#interface-eventtarget) interface, which has no special`'error'` event + * semantics and does not listen to the `'error'` event. + * + * ```js + * import { once, EventEmitter } from 'node:events'; + * import process from 'node:process'; + * + * const ee = new EventEmitter(); + * + * process.nextTick(() => { + * ee.emit('myevent', 42); + * }); + * + * const [value] = await once(ee, 'myevent'); + * console.log(value); + * + * const err = new Error('kaboom'); + * process.nextTick(() => { + * ee.emit('error', err); + * }); + * + * try { + * await once(ee, 'myevent'); + * } catch (err) { + * console.error('error happened', err); + * } + * ``` + * + * The special handling of the `'error'` event is only used when `events.once()`is used to wait for another event. If `events.once()` is used to wait for the + * '`error'` event itself, then it is treated as any other kind of event without + * special handling: + * + * ```js + * import { EventEmitter, once } from 'node:events'; + * + * const ee = new EventEmitter(); + * + * once(ee, 'error') + * .then(([err]) => console.log('ok', err.message)) + * .catch((err) => console.error('error', err.message)); + * + * ee.emit('error', new Error('boom')); + * + * // Prints: ok boom + * ``` + * + * An `AbortSignal` can be used to cancel waiting for the event: + * + * ```js + * import { EventEmitter, once } from 'node:events'; + * + * const ee = new EventEmitter(); + * const ac = new AbortController(); + * + * async function foo(emitter, event, signal) { + * try { + * await once(emitter, event, { signal }); + * console.log('event emitted!'); + * } catch (error) { + * if (error.name === 'AbortError') { + * console.error('Waiting for the event was canceled!'); + * } else { + * console.error('There was an error', error.message); + * } + * } + * } + * + * foo(ee, 'foo', ac.signal); + * ac.abort(); // Abort waiting for the event + * ee.emit('foo'); // Prints: Waiting for the event was canceled! + * ``` + * @since v11.13.0, v10.16.0 + */ + static once( + emitter: _NodeEventTarget, + eventName: string | symbol, + options?: StaticEventEmitterOptions, + ): Promise; + static once(emitter: _DOMEventTarget, eventName: string, options?: StaticEventEmitterOptions): Promise; + /** + * ```js + * import { on, EventEmitter } from 'node:events'; + * import process from 'node:process'; + * + * const ee = new EventEmitter(); + * + * // Emit later on + * process.nextTick(() => { + * ee.emit('foo', 'bar'); + * ee.emit('foo', 42); + * }); + * + * for await (const event of on(ee, 'foo')) { + * // The execution of this inner block is synchronous and it + * // processes one event at a time (even with await). Do not use + * // if concurrent execution is required. + * console.log(event); // prints ['bar'] [42] + * } + * // Unreachable here + * ``` + * + * Returns an `AsyncIterator` that iterates `eventName` events. It will throw + * if the `EventEmitter` emits `'error'`. It removes all listeners when + * exiting the loop. The `value` returned by each iteration is an array + * composed of the emitted event arguments. + * + * An `AbortSignal` can be used to cancel waiting on events: + * + * ```js + * import { on, EventEmitter } from 'node:events'; + * import process from 'node:process'; + * + * const ac = new AbortController(); + * + * (async () => { + * const ee = new EventEmitter(); + * + * // Emit later on + * process.nextTick(() => { + * ee.emit('foo', 'bar'); + * ee.emit('foo', 42); + * }); + * + * for await (const event of on(ee, 'foo', { signal: ac.signal })) { + * // The execution of this inner block is synchronous and it + * // processes one event at a time (even with await). Do not use + * // if concurrent execution is required. + * console.log(event); // prints ['bar'] [42] + * } + * // Unreachable here + * })(); + * + * process.nextTick(() => ac.abort()); + * ``` + * @since v13.6.0, v12.16.0 + * @param eventName The name of the event being listened for + * @return that iterates `eventName` events emitted by the `emitter` + */ + static on( + emitter: NodeJS.EventEmitter, + eventName: string, + options?: StaticEventEmitterOptions, + ): AsyncIterableIterator; + /** + * A class method that returns the number of listeners for the given `eventName`registered on the given `emitter`. + * + * ```js + * import { EventEmitter, listenerCount } from 'node:events'; + * + * const myEmitter = new EventEmitter(); + * myEmitter.on('event', () => {}); + * myEmitter.on('event', () => {}); + * console.log(listenerCount(myEmitter, 'event')); + * // Prints: 2 + * ``` + * @since v0.9.12 + * @deprecated Since v3.2.0 - Use `listenerCount` instead. + * @param emitter The emitter to query + * @param eventName The event name + */ + static listenerCount(emitter: NodeJS.EventEmitter, eventName: string | symbol): number; + /** + * Returns a copy of the array of listeners for the event named `eventName`. + * + * For `EventEmitter`s this behaves exactly the same as calling `.listeners` on + * the emitter. + * + * For `EventTarget`s this is the only way to get the event listeners for the + * event target. This is useful for debugging and diagnostic purposes. + * + * ```js + * import { getEventListeners, EventEmitter } from 'node:events'; + * + * { + * const ee = new EventEmitter(); + * const listener = () => console.log('Events are fun'); + * ee.on('foo', listener); + * console.log(getEventListeners(ee, 'foo')); // [ [Function: listener] ] + * } + * { + * const et = new EventTarget(); + * const listener = () => console.log('Events are fun'); + * et.addEventListener('foo', listener); + * console.log(getEventListeners(et, 'foo')); // [ [Function: listener] ] + * } + * ``` + * @since v15.2.0, v14.17.0 + */ + static getEventListeners(emitter: _DOMEventTarget | NodeJS.EventEmitter, name: string | symbol): Function[]; + /** + * Returns the currently set max amount of listeners. + * + * For `EventEmitter`s this behaves exactly the same as calling `.getMaxListeners` on + * the emitter. + * + * For `EventTarget`s this is the only way to get the max event listeners for the + * event target. If the number of event handlers on a single EventTarget exceeds + * the max set, the EventTarget will print a warning. + * + * ```js + * import { getMaxListeners, setMaxListeners, EventEmitter } from 'node:events'; + * + * { + * const ee = new EventEmitter(); + * console.log(getMaxListeners(ee)); // 10 + * setMaxListeners(11, ee); + * console.log(getMaxListeners(ee)); // 11 + * } + * { + * const et = new EventTarget(); + * console.log(getMaxListeners(et)); // 10 + * setMaxListeners(11, et); + * console.log(getMaxListeners(et)); // 11 + * } + * ``` + * @since v19.9.0 + */ + static getMaxListeners(emitter: _DOMEventTarget | NodeJS.EventEmitter): number; + /** + * ```js + * import { setMaxListeners, EventEmitter } from 'node:events'; + * + * const target = new EventTarget(); + * const emitter = new EventEmitter(); + * + * setMaxListeners(5, target, emitter); + * ``` + * @since v15.4.0 + * @param n A non-negative number. The maximum number of listeners per `EventTarget` event. + * @param eventsTargets Zero or more {EventTarget} or {EventEmitter} instances. If none are specified, `n` is set as the default max for all newly created {EventTarget} and {EventEmitter} + * objects. + */ + static setMaxListeners(n?: number, ...eventTargets: Array<_DOMEventTarget | NodeJS.EventEmitter>): void; + /** + * Listens once to the `abort` event on the provided `signal`. + * + * Listening to the `abort` event on abort signals is unsafe and may + * lead to resource leaks since another third party with the signal can + * call `e.stopImmediatePropagation()`. Unfortunately Node.js cannot change + * this since it would violate the web standard. Additionally, the original + * API makes it easy to forget to remove listeners. + * + * This API allows safely using `AbortSignal`s in Node.js APIs by solving these + * two issues by listening to the event such that `stopImmediatePropagation` does + * not prevent the listener from running. + * + * Returns a disposable so that it may be unsubscribed from more easily. + * + * ```js + * import { addAbortListener } from 'node:events'; + * + * function example(signal) { + * let disposable; + * try { + * signal.addEventListener('abort', (e) => e.stopImmediatePropagation()); + * disposable = addAbortListener(signal, (e) => { + * // Do something when signal is aborted. + * }); + * } finally { + * disposable?.[Symbol.dispose](); + * } + * } + * ``` + * @since v20.5.0 + * @experimental + * @return Disposable that removes the `abort` listener. + */ + static addAbortListener(signal: AbortSignal, resource: (event: Event) => void): Disposable; + /** + * This symbol shall be used to install a listener for only monitoring `'error'`events. Listeners installed using this symbol are called before the regular`'error'` listeners are called. + * + * Installing a listener using this symbol does not change the behavior once an`'error'` event is emitted. Therefore, the process will still crash if no + * regular `'error'` listener is installed. + * @since v13.6.0, v12.17.0 + */ + static readonly errorMonitor: unique symbol; + /** + * Value: `Symbol.for('nodejs.rejection')` + * + * See how to write a custom `rejection handler`. + * @since v13.4.0, v12.16.0 + */ + static readonly captureRejectionSymbol: unique symbol; + /** + * Value: [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) + * + * Change the default `captureRejections` option on all new `EventEmitter` objects. + * @since v13.4.0, v12.16.0 + */ + static captureRejections: boolean; + /** + * By default, a maximum of `10` listeners can be registered for any single + * event. This limit can be changed for individual `EventEmitter` instances + * using the `emitter.setMaxListeners(n)` method. To change the default + * for _all_`EventEmitter` instances, the `events.defaultMaxListeners`property can be used. If this value is not a positive number, a `RangeError`is thrown. + * + * Take caution when setting the `events.defaultMaxListeners` because the + * change affects _all_`EventEmitter` instances, including those created before + * the change is made. However, calling `emitter.setMaxListeners(n)` still has + * precedence over `events.defaultMaxListeners`. + * + * This is not a hard limit. The `EventEmitter` instance will allow + * more listeners to be added but will output a trace warning to stderr indicating + * that a "possible EventEmitter memory leak" has been detected. For any single`EventEmitter`, the `emitter.getMaxListeners()` and `emitter.setMaxListeners()`methods can be used to + * temporarily avoid this warning: + * + * ```js + * import { EventEmitter } from 'node:events'; + * const emitter = new EventEmitter(); + * emitter.setMaxListeners(emitter.getMaxListeners() + 1); + * emitter.once('event', () => { + * // do stuff + * emitter.setMaxListeners(Math.max(emitter.getMaxListeners() - 1, 0)); + * }); + * ``` + * + * The `--trace-warnings` command-line flag can be used to display the + * stack trace for such warnings. + * + * The emitted warning can be inspected with `process.on('warning')` and will + * have the additional `emitter`, `type`, and `count` properties, referring to + * the event emitter instance, the event's name and the number of attached + * listeners, respectively. + * Its `name` property is set to `'MaxListenersExceededWarning'`. + * @since v0.11.2 + */ + static defaultMaxListeners: number; + } + import internal = require("node:events"); + namespace EventEmitter { + // Should just be `export { EventEmitter }`, but that doesn't work in TypeScript 3.4 + export { internal as EventEmitter }; + export interface Abortable { + /** + * When provided the corresponding `AbortController` can be used to cancel an asynchronous action. + */ + signal?: AbortSignal | undefined; + } + + export interface EventEmitterReferencingAsyncResource extends AsyncResource { + readonly eventEmitter: EventEmitterAsyncResource; + } + + export interface EventEmitterAsyncResourceOptions extends AsyncResourceOptions, EventEmitterOptions { + /** + * The type of async event, this is required when instantiating `EventEmitterAsyncResource` + * directly rather than as a child class. + * @default new.target.name if instantiated as a child class. + */ + name?: string; + } + + /** + * Integrates `EventEmitter` with `AsyncResource` for `EventEmitter`s that + * require manual async tracking. Specifically, all events emitted by instances + * of `events.EventEmitterAsyncResource` will run within its `async context`. + * + * ```js + * import { EventEmitterAsyncResource, EventEmitter } from 'node:events'; + * import { notStrictEqual, strictEqual } from 'node:assert'; + * import { executionAsyncId, triggerAsyncId } from 'node:async_hooks'; + * + * // Async tracking tooling will identify this as 'Q'. + * const ee1 = new EventEmitterAsyncResource({ name: 'Q' }); + * + * // 'foo' listeners will run in the EventEmitters async context. + * ee1.on('foo', () => { + * strictEqual(executionAsyncId(), ee1.asyncId); + * strictEqual(triggerAsyncId(), ee1.triggerAsyncId); + * }); + * + * const ee2 = new EventEmitter(); + * + * // 'foo' listeners on ordinary EventEmitters that do not track async + * // context, however, run in the same async context as the emit(). + * ee2.on('foo', () => { + * notStrictEqual(executionAsyncId(), ee2.asyncId); + * notStrictEqual(triggerAsyncId(), ee2.triggerAsyncId); + * }); + * + * Promise.resolve().then(() => { + * ee1.emit('foo'); + * ee2.emit('foo'); + * }); + * ``` + * + * The `EventEmitterAsyncResource` class has the same methods and takes the + * same options as `EventEmitter` and `AsyncResource` themselves. + * @since v17.4.0, v16.14.0 + */ + export class EventEmitterAsyncResource extends EventEmitter { + /** + * @param options Only optional in child class. + */ + constructor(options?: EventEmitterAsyncResourceOptions); + /** + * Call all `destroy` hooks. This should only ever be called once. An error will + * be thrown if it is called more than once. This **must** be manually called. If + * the resource is left to be collected by the GC then the `destroy` hooks will + * never be called. + */ + emitDestroy(): void; + /** + * The unique `asyncId` assigned to the resource. + */ + readonly asyncId: number; + /** + * The same triggerAsyncId that is passed to the AsyncResource constructor. + */ + readonly triggerAsyncId: number; + /** + * The returned `AsyncResource` object has an additional `eventEmitter` property + * that provides a reference to this `EventEmitterAsyncResource`. + */ + readonly asyncResource: EventEmitterReferencingAsyncResource; + } + } + global { + namespace NodeJS { + interface EventEmitter { + [EventEmitter.captureRejectionSymbol]?(error: Error, event: string, ...args: any[]): void; + /** + * Alias for `emitter.on(eventName, listener)`. + * @since v0.1.26 + */ + addListener(eventName: string | symbol, listener: (...args: any[]) => void): this; + /** + * Adds the `listener` function to the end of the listeners array for the + * event named `eventName`. No checks are made to see if the `listener` has + * already been added. Multiple calls passing the same combination of `eventName`and `listener` will result in the `listener` being added, and called, multiple + * times. + * + * ```js + * server.on('connection', (stream) => { + * console.log('someone connected!'); + * }); + * ``` + * + * Returns a reference to the `EventEmitter`, so that calls can be chained. + * + * By default, event listeners are invoked in the order they are added. The`emitter.prependListener()` method can be used as an alternative to add the + * event listener to the beginning of the listeners array. + * + * ```js + * import { EventEmitter } from 'node:events'; + * const myEE = new EventEmitter(); + * myEE.on('foo', () => console.log('a')); + * myEE.prependListener('foo', () => console.log('b')); + * myEE.emit('foo'); + * // Prints: + * // b + * // a + * ``` + * @since v0.1.101 + * @param eventName The name of the event. + * @param listener The callback function + */ + on(eventName: string | symbol, listener: (...args: any[]) => void): this; + /** + * Adds a **one-time**`listener` function for the event named `eventName`. The + * next time `eventName` is triggered, this listener is removed and then invoked. + * + * ```js + * server.once('connection', (stream) => { + * console.log('Ah, we have our first user!'); + * }); + * ``` + * + * Returns a reference to the `EventEmitter`, so that calls can be chained. + * + * By default, event listeners are invoked in the order they are added. The`emitter.prependOnceListener()` method can be used as an alternative to add the + * event listener to the beginning of the listeners array. + * + * ```js + * import { EventEmitter } from 'node:events'; + * const myEE = new EventEmitter(); + * myEE.once('foo', () => console.log('a')); + * myEE.prependOnceListener('foo', () => console.log('b')); + * myEE.emit('foo'); + * // Prints: + * // b + * // a + * ``` + * @since v0.3.0 + * @param eventName The name of the event. + * @param listener The callback function + */ + once(eventName: string | symbol, listener: (...args: any[]) => void): this; + /** + * Removes the specified `listener` from the listener array for the event named`eventName`. + * + * ```js + * const callback = (stream) => { + * console.log('someone connected!'); + * }; + * server.on('connection', callback); + * // ... + * server.removeListener('connection', callback); + * ``` + * + * `removeListener()` will remove, at most, one instance of a listener from the + * listener array. If any single listener has been added multiple times to the + * listener array for the specified `eventName`, then `removeListener()` must be + * called multiple times to remove each instance. + * + * Once an event is emitted, all listeners attached to it at the + * time of emitting are called in order. This implies that any`removeListener()` or `removeAllListeners()` calls _after_ emitting and _before_ the last listener finishes execution + * will not remove them from`emit()` in progress. Subsequent events behave as expected. + * + * ```js + * import { EventEmitter } from 'node:events'; + * class MyEmitter extends EventEmitter {} + * const myEmitter = new MyEmitter(); + * + * const callbackA = () => { + * console.log('A'); + * myEmitter.removeListener('event', callbackB); + * }; + * + * const callbackB = () => { + * console.log('B'); + * }; + * + * myEmitter.on('event', callbackA); + * + * myEmitter.on('event', callbackB); + * + * // callbackA removes listener callbackB but it will still be called. + * // Internal listener array at time of emit [callbackA, callbackB] + * myEmitter.emit('event'); + * // Prints: + * // A + * // B + * + * // callbackB is now removed. + * // Internal listener array [callbackA] + * myEmitter.emit('event'); + * // Prints: + * // A + * ``` + * + * Because listeners are managed using an internal array, calling this will + * change the position indices of any listener registered _after_ the listener + * being removed. This will not impact the order in which listeners are called, + * but it means that any copies of the listener array as returned by + * the `emitter.listeners()` method will need to be recreated. + * + * When a single function has been added as a handler multiple times for a single + * event (as in the example below), `removeListener()` will remove the most + * recently added instance. In the example the `once('ping')`listener is removed: + * + * ```js + * import { EventEmitter } from 'node:events'; + * const ee = new EventEmitter(); + * + * function pong() { + * console.log('pong'); + * } + * + * ee.on('ping', pong); + * ee.once('ping', pong); + * ee.removeListener('ping', pong); + * + * ee.emit('ping'); + * ee.emit('ping'); + * ``` + * + * Returns a reference to the `EventEmitter`, so that calls can be chained. + * @since v0.1.26 + */ + removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this; + /** + * Alias for `emitter.removeListener()`. + * @since v10.0.0 + */ + off(eventName: string | symbol, listener: (...args: any[]) => void): this; + /** + * Removes all listeners, or those of the specified `eventName`. + * + * It is bad practice to remove listeners added elsewhere in the code, + * particularly when the `EventEmitter` instance was created by some other + * component or module (e.g. sockets or file streams). + * + * Returns a reference to the `EventEmitter`, so that calls can be chained. + * @since v0.1.26 + */ + removeAllListeners(event?: string | symbol): this; + /** + * By default `EventEmitter`s will print a warning if more than `10` listeners are + * added for a particular event. This is a useful default that helps finding + * memory leaks. The `emitter.setMaxListeners()` method allows the limit to be + * modified for this specific `EventEmitter` instance. The value can be set to`Infinity` (or `0`) to indicate an unlimited number of listeners. + * + * Returns a reference to the `EventEmitter`, so that calls can be chained. + * @since v0.3.5 + */ + setMaxListeners(n: number): this; + /** + * Returns the current max listener value for the `EventEmitter` which is either + * set by `emitter.setMaxListeners(n)` or defaults to {@link defaultMaxListeners}. + * @since v1.0.0 + */ + getMaxListeners(): number; + /** + * Returns a copy of the array of listeners for the event named `eventName`. + * + * ```js + * server.on('connection', (stream) => { + * console.log('someone connected!'); + * }); + * console.log(util.inspect(server.listeners('connection'))); + * // Prints: [ [Function] ] + * ``` + * @since v0.1.26 + */ + listeners(eventName: string | symbol): Function[]; + /** + * Returns a copy of the array of listeners for the event named `eventName`, + * including any wrappers (such as those created by `.once()`). + * + * ```js + * import { EventEmitter } from 'node:events'; + * const emitter = new EventEmitter(); + * emitter.once('log', () => console.log('log once')); + * + * // Returns a new Array with a function `onceWrapper` which has a property + * // `listener` which contains the original listener bound above + * const listeners = emitter.rawListeners('log'); + * const logFnWrapper = listeners[0]; + * + * // Logs "log once" to the console and does not unbind the `once` event + * logFnWrapper.listener(); + * + * // Logs "log once" to the console and removes the listener + * logFnWrapper(); + * + * emitter.on('log', () => console.log('log persistently')); + * // Will return a new Array with a single function bound by `.on()` above + * const newListeners = emitter.rawListeners('log'); + * + * // Logs "log persistently" twice + * newListeners[0](); + * emitter.emit('log'); + * ``` + * @since v9.4.0 + */ + rawListeners(eventName: string | symbol): Function[]; + /** + * Synchronously calls each of the listeners registered for the event named`eventName`, in the order they were registered, passing the supplied arguments + * to each. + * + * Returns `true` if the event had listeners, `false` otherwise. + * + * ```js + * import { EventEmitter } from 'node:events'; + * const myEmitter = new EventEmitter(); + * + * // First listener + * myEmitter.on('event', function firstListener() { + * console.log('Helloooo! first listener'); + * }); + * // Second listener + * myEmitter.on('event', function secondListener(arg1, arg2) { + * console.log(`event with parameters ${arg1}, ${arg2} in second listener`); + * }); + * // Third listener + * myEmitter.on('event', function thirdListener(...args) { + * const parameters = args.join(', '); + * console.log(`event with parameters ${parameters} in third listener`); + * }); + * + * console.log(myEmitter.listeners('event')); + * + * myEmitter.emit('event', 1, 2, 3, 4, 5); + * + * // Prints: + * // [ + * // [Function: firstListener], + * // [Function: secondListener], + * // [Function: thirdListener] + * // ] + * // Helloooo! first listener + * // event with parameters 1, 2 in second listener + * // event with parameters 1, 2, 3, 4, 5 in third listener + * ``` + * @since v0.1.26 + */ + emit(eventName: string | symbol, ...args: any[]): boolean; + /** + * Returns the number of listeners listening for the event named `eventName`. + * If `listener` is provided, it will return how many times the listener is found + * in the list of the listeners of the event. + * @since v3.2.0 + * @param eventName The name of the event being listened for + * @param listener The event handler function + */ + listenerCount(eventName: string | symbol, listener?: Function): number; + /** + * Adds the `listener` function to the _beginning_ of the listeners array for the + * event named `eventName`. No checks are made to see if the `listener` has + * already been added. Multiple calls passing the same combination of `eventName`and `listener` will result in the `listener` being added, and called, multiple + * times. + * + * ```js + * server.prependListener('connection', (stream) => { + * console.log('someone connected!'); + * }); + * ``` + * + * Returns a reference to the `EventEmitter`, so that calls can be chained. + * @since v6.0.0 + * @param eventName The name of the event. + * @param listener The callback function + */ + prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this; + /** + * Adds a **one-time**`listener` function for the event named `eventName` to the _beginning_ of the listeners array. The next time `eventName` is triggered, this + * listener is removed, and then invoked. + * + * ```js + * server.prependOnceListener('connection', (stream) => { + * console.log('Ah, we have our first user!'); + * }); + * ``` + * + * Returns a reference to the `EventEmitter`, so that calls can be chained. + * @since v6.0.0 + * @param eventName The name of the event. + * @param listener The callback function + */ + prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this; + /** + * Returns an array listing the events for which the emitter has registered + * listeners. The values in the array are strings or `Symbol`s. + * + * ```js + * import { EventEmitter } from 'node:events'; + * + * const myEE = new EventEmitter(); + * myEE.on('foo', () => {}); + * myEE.on('bar', () => {}); + * + * const sym = Symbol('symbol'); + * myEE.on(sym, () => {}); + * + * console.log(myEE.eventNames()); + * // Prints: [ 'foo', 'bar', Symbol(symbol) ] + * ``` + * @since v6.0.0 + */ + eventNames(): Array; + } + } + } + export = EventEmitter; +} +declare module "node:events" { + import events = require("events"); + export = events; +} diff --git a/node_modules/@types/node/fs.d.ts b/node_modules/@types/node/fs.d.ts new file mode 100644 index 000000000..f98453a53 --- /dev/null +++ b/node_modules/@types/node/fs.d.ts @@ -0,0 +1,4291 @@ +/** + * The `node:fs` module enables interacting with the file system in a + * way modeled on standard POSIX functions. + * + * To use the promise-based APIs: + * + * ```js + * import * as fs from 'node:fs/promises'; + * ``` + * + * To use the callback and sync APIs: + * + * ```js + * import * as fs from 'node:fs'; + * ``` + * + * All file system operations have synchronous, callback, and promise-based + * forms, and are accessible using both CommonJS syntax and ES6 Modules (ESM). + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/fs.js) + */ +declare module "fs" { + import * as stream from "node:stream"; + import { Abortable, EventEmitter } from "node:events"; + import { URL } from "node:url"; + import * as promises from "node:fs/promises"; + export { promises }; + /** + * Valid types for path values in "fs". + */ + export type PathLike = string | Buffer | URL; + export type PathOrFileDescriptor = PathLike | number; + export type TimeLike = string | number | Date; + export type NoParamCallback = (err: NodeJS.ErrnoException | null) => void; + export type BufferEncodingOption = + | "buffer" + | { + encoding: "buffer"; + }; + export interface ObjectEncodingOptions { + encoding?: BufferEncoding | null | undefined; + } + export type EncodingOption = ObjectEncodingOptions | BufferEncoding | undefined | null; + export type OpenMode = number | string; + export type Mode = number | string; + export interface StatsBase { + isFile(): boolean; + isDirectory(): boolean; + isBlockDevice(): boolean; + isCharacterDevice(): boolean; + isSymbolicLink(): boolean; + isFIFO(): boolean; + isSocket(): boolean; + dev: T; + ino: T; + mode: T; + nlink: T; + uid: T; + gid: T; + rdev: T; + size: T; + blksize: T; + blocks: T; + atimeMs: T; + mtimeMs: T; + ctimeMs: T; + birthtimeMs: T; + atime: Date; + mtime: Date; + ctime: Date; + birthtime: Date; + } + export interface Stats extends StatsBase {} + /** + * A `fs.Stats` object provides information about a file. + * + * Objects returned from {@link stat}, {@link lstat}, {@link fstat}, and + * their synchronous counterparts are of this type. + * If `bigint` in the `options` passed to those methods is true, the numeric values + * will be `bigint` instead of `number`, and the object will contain additional + * nanosecond-precision properties suffixed with `Ns`. + * + * ```console + * Stats { + * dev: 2114, + * ino: 48064969, + * mode: 33188, + * nlink: 1, + * uid: 85, + * gid: 100, + * rdev: 0, + * size: 527, + * blksize: 4096, + * blocks: 8, + * atimeMs: 1318289051000.1, + * mtimeMs: 1318289051000.1, + * ctimeMs: 1318289051000.1, + * birthtimeMs: 1318289051000.1, + * atime: Mon, 10 Oct 2011 23:24:11 GMT, + * mtime: Mon, 10 Oct 2011 23:24:11 GMT, + * ctime: Mon, 10 Oct 2011 23:24:11 GMT, + * birthtime: Mon, 10 Oct 2011 23:24:11 GMT } + * ``` + * + * `bigint` version: + * + * ```console + * BigIntStats { + * dev: 2114n, + * ino: 48064969n, + * mode: 33188n, + * nlink: 1n, + * uid: 85n, + * gid: 100n, + * rdev: 0n, + * size: 527n, + * blksize: 4096n, + * blocks: 8n, + * atimeMs: 1318289051000n, + * mtimeMs: 1318289051000n, + * ctimeMs: 1318289051000n, + * birthtimeMs: 1318289051000n, + * atimeNs: 1318289051000000000n, + * mtimeNs: 1318289051000000000n, + * ctimeNs: 1318289051000000000n, + * birthtimeNs: 1318289051000000000n, + * atime: Mon, 10 Oct 2011 23:24:11 GMT, + * mtime: Mon, 10 Oct 2011 23:24:11 GMT, + * ctime: Mon, 10 Oct 2011 23:24:11 GMT, + * birthtime: Mon, 10 Oct 2011 23:24:11 GMT } + * ``` + * @since v0.1.21 + */ + export class Stats {} + export interface StatsFsBase { + /** Type of file system. */ + type: T; + /** Optimal transfer block size. */ + bsize: T; + /** Total data blocks in file system. */ + blocks: T; + /** Free blocks in file system. */ + bfree: T; + /** Available blocks for unprivileged users */ + bavail: T; + /** Total file nodes in file system. */ + files: T; + /** Free file nodes in file system. */ + ffree: T; + } + export interface StatsFs extends StatsFsBase {} + /** + * Provides information about a mounted file system. + * + * Objects returned from {@link statfs} and its synchronous counterpart are of + * this type. If `bigint` in the `options` passed to those methods is `true`, the + * numeric values will be `bigint` instead of `number`. + * + * ```console + * StatFs { + * type: 1397114950, + * bsize: 4096, + * blocks: 121938943, + * bfree: 61058895, + * bavail: 61058895, + * files: 999, + * ffree: 1000000 + * } + * ``` + * + * `bigint` version: + * + * ```console + * StatFs { + * type: 1397114950n, + * bsize: 4096n, + * blocks: 121938943n, + * bfree: 61058895n, + * bavail: 61058895n, + * files: 999n, + * ffree: 1000000n + * } + * ``` + * @since v19.6.0, v18.15.0 + */ + export class StatsFs {} + export interface BigIntStatsFs extends StatsFsBase {} + export interface StatFsOptions { + bigint?: boolean | undefined; + } + /** + * A representation of a directory entry, which can be a file or a subdirectory + * within the directory, as returned by reading from an `fs.Dir`. The + * directory entry is a combination of the file name and file type pairs. + * + * Additionally, when {@link readdir} or {@link readdirSync} is called with + * the `withFileTypes` option set to `true`, the resulting array is filled with `fs.Dirent` objects, rather than strings or `Buffer` s. + * @since v10.10.0 + */ + export class Dirent { + /** + * Returns `true` if the `fs.Dirent` object describes a regular file. + * @since v10.10.0 + */ + isFile(): boolean; + /** + * Returns `true` if the `fs.Dirent` object describes a file system + * directory. + * @since v10.10.0 + */ + isDirectory(): boolean; + /** + * Returns `true` if the `fs.Dirent` object describes a block device. + * @since v10.10.0 + */ + isBlockDevice(): boolean; + /** + * Returns `true` if the `fs.Dirent` object describes a character device. + * @since v10.10.0 + */ + isCharacterDevice(): boolean; + /** + * Returns `true` if the `fs.Dirent` object describes a symbolic link. + * @since v10.10.0 + */ + isSymbolicLink(): boolean; + /** + * Returns `true` if the `fs.Dirent` object describes a first-in-first-out + * (FIFO) pipe. + * @since v10.10.0 + */ + isFIFO(): boolean; + /** + * Returns `true` if the `fs.Dirent` object describes a socket. + * @since v10.10.0 + */ + isSocket(): boolean; + /** + * The file name that this `fs.Dirent` object refers to. The type of this + * value is determined by the `options.encoding` passed to {@link readdir} or {@link readdirSync}. + * @since v10.10.0 + */ + name: string; + /** + * The base path that this `fs.Dirent` object refers to. + * @since v20.1.0 + */ + path: string; + } + /** + * A class representing a directory stream. + * + * Created by {@link opendir}, {@link opendirSync}, or `fsPromises.opendir()`. + * + * ```js + * import { opendir } from 'node:fs/promises'; + * + * try { + * const dir = await opendir('./'); + * for await (const dirent of dir) + * console.log(dirent.name); + * } catch (err) { + * console.error(err); + * } + * ``` + * + * When using the async iterator, the `fs.Dir` object will be automatically + * closed after the iterator exits. + * @since v12.12.0 + */ + export class Dir implements AsyncIterable { + /** + * The read-only path of this directory as was provided to {@link opendir},{@link opendirSync}, or `fsPromises.opendir()`. + * @since v12.12.0 + */ + readonly path: string; + /** + * Asynchronously iterates over the directory via `readdir(3)` until all entries have been read. + */ + [Symbol.asyncIterator](): AsyncIterableIterator; + /** + * Asynchronously close the directory's underlying resource handle. + * Subsequent reads will result in errors. + * + * A promise is returned that will be resolved after the resource has been + * closed. + * @since v12.12.0 + */ + close(): Promise; + close(cb: NoParamCallback): void; + /** + * Synchronously close the directory's underlying resource handle. + * Subsequent reads will result in errors. + * @since v12.12.0 + */ + closeSync(): void; + /** + * Asynchronously read the next directory entry via [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) as an `fs.Dirent`. + * + * A promise is returned that will be resolved with an `fs.Dirent`, or `null`if there are no more directory entries to read. + * + * Directory entries returned by this function are in no particular order as + * provided by the operating system's underlying directory mechanisms. + * Entries added or removed while iterating over the directory might not be + * included in the iteration results. + * @since v12.12.0 + * @return containing {fs.Dirent|null} + */ + read(): Promise; + read(cb: (err: NodeJS.ErrnoException | null, dirEnt: Dirent | null) => void): void; + /** + * Synchronously read the next directory entry as an `fs.Dirent`. See the + * POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more detail. + * + * If there are no more directory entries to read, `null` will be returned. + * + * Directory entries returned by this function are in no particular order as + * provided by the operating system's underlying directory mechanisms. + * Entries added or removed while iterating over the directory might not be + * included in the iteration results. + * @since v12.12.0 + */ + readSync(): Dirent | null; + } + /** + * Class: fs.StatWatcher + * @since v14.3.0, v12.20.0 + * Extends `EventEmitter` + * A successful call to {@link watchFile} method will return a new fs.StatWatcher object. + */ + export interface StatWatcher extends EventEmitter { + /** + * When called, requests that the Node.js event loop _not_ exit so long as the `fs.StatWatcher` is active. Calling `watcher.ref()` multiple times will have + * no effect. + * + * By default, all `fs.StatWatcher` objects are "ref'ed", making it normally + * unnecessary to call `watcher.ref()` unless `watcher.unref()` had been + * called previously. + * @since v14.3.0, v12.20.0 + */ + ref(): this; + /** + * When called, the active `fs.StatWatcher` object will not require the Node.js + * event loop to remain active. If there is no other activity keeping the + * event loop running, the process may exit before the `fs.StatWatcher` object's + * callback is invoked. Calling `watcher.unref()` multiple times will have + * no effect. + * @since v14.3.0, v12.20.0 + */ + unref(): this; + } + export interface FSWatcher extends EventEmitter { + /** + * Stop watching for changes on the given `fs.FSWatcher`. Once stopped, the `fs.FSWatcher` object is no longer usable. + * @since v0.5.8 + */ + close(): void; + /** + * events.EventEmitter + * 1. change + * 2. error + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; + addListener(event: "error", listener: (error: Error) => void): this; + addListener(event: "close", listener: () => void): this; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; + on(event: "error", listener: (error: Error) => void): this; + on(event: "close", listener: () => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; + once(event: "error", listener: (error: Error) => void): this; + once(event: "close", listener: () => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; + prependListener(event: "error", listener: (error: Error) => void): this; + prependListener(event: "close", listener: () => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; + prependOnceListener(event: "error", listener: (error: Error) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + } + /** + * Instances of `fs.ReadStream` are created and returned using the {@link createReadStream} function. + * @since v0.1.93 + */ + export class ReadStream extends stream.Readable { + close(callback?: (err?: NodeJS.ErrnoException | null) => void): void; + /** + * The number of bytes that have been read so far. + * @since v6.4.0 + */ + bytesRead: number; + /** + * The path to the file the stream is reading from as specified in the first + * argument to `fs.createReadStream()`. If `path` is passed as a string, then`readStream.path` will be a string. If `path` is passed as a `Buffer`, then`readStream.path` will be a + * `Buffer`. If `fd` is specified, then`readStream.path` will be `undefined`. + * @since v0.1.93 + */ + path: string | Buffer; + /** + * This property is `true` if the underlying file has not been opened yet, + * i.e. before the `'ready'` event is emitted. + * @since v11.2.0, v10.16.0 + */ + pending: boolean; + /** + * events.EventEmitter + * 1. open + * 2. close + * 3. ready + */ + addListener(event: "close", listener: () => void): this; + addListener(event: "data", listener: (chunk: Buffer | string) => void): this; + addListener(event: "end", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "open", listener: (fd: number) => void): this; + addListener(event: "pause", listener: () => void): this; + addListener(event: "readable", listener: () => void): this; + addListener(event: "ready", listener: () => void): this; + addListener(event: "resume", listener: () => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + on(event: "close", listener: () => void): this; + on(event: "data", listener: (chunk: Buffer | string) => void): this; + on(event: "end", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "open", listener: (fd: number) => void): this; + on(event: "pause", listener: () => void): this; + on(event: "readable", listener: () => void): this; + on(event: "ready", listener: () => void): this; + on(event: "resume", listener: () => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "data", listener: (chunk: Buffer | string) => void): this; + once(event: "end", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "open", listener: (fd: number) => void): this; + once(event: "pause", listener: () => void): this; + once(event: "readable", listener: () => void): this; + once(event: "ready", listener: () => void): this; + once(event: "resume", listener: () => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; + prependListener(event: "end", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "open", listener: (fd: number) => void): this; + prependListener(event: "pause", listener: () => void): this; + prependListener(event: "readable", listener: () => void): this; + prependListener(event: "ready", listener: () => void): this; + prependListener(event: "resume", listener: () => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; + prependOnceListener(event: "end", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "open", listener: (fd: number) => void): this; + prependOnceListener(event: "pause", listener: () => void): this; + prependOnceListener(event: "readable", listener: () => void): this; + prependOnceListener(event: "ready", listener: () => void): this; + prependOnceListener(event: "resume", listener: () => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + /** + * * Extends `stream.Writable` + * + * Instances of `fs.WriteStream` are created and returned using the {@link createWriteStream} function. + * @since v0.1.93 + */ + export class WriteStream extends stream.Writable { + /** + * Closes `writeStream`. Optionally accepts a + * callback that will be executed once the `writeStream`is closed. + * @since v0.9.4 + */ + close(callback?: (err?: NodeJS.ErrnoException | null) => void): void; + /** + * The number of bytes written so far. Does not include data that is still queued + * for writing. + * @since v0.4.7 + */ + bytesWritten: number; + /** + * The path to the file the stream is writing to as specified in the first + * argument to {@link createWriteStream}. If `path` is passed as a string, then`writeStream.path` will be a string. If `path` is passed as a `Buffer`, then`writeStream.path` will be a + * `Buffer`. + * @since v0.1.93 + */ + path: string | Buffer; + /** + * This property is `true` if the underlying file has not been opened yet, + * i.e. before the `'ready'` event is emitted. + * @since v11.2.0 + */ + pending: boolean; + /** + * events.EventEmitter + * 1. open + * 2. close + * 3. ready + */ + addListener(event: "close", listener: () => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "finish", listener: () => void): this; + addListener(event: "open", listener: (fd: number) => void): this; + addListener(event: "pipe", listener: (src: stream.Readable) => void): this; + addListener(event: "ready", listener: () => void): this; + addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + on(event: "close", listener: () => void): this; + on(event: "drain", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "finish", listener: () => void): this; + on(event: "open", listener: (fd: number) => void): this; + on(event: "pipe", listener: (src: stream.Readable) => void): this; + on(event: "ready", listener: () => void): this; + on(event: "unpipe", listener: (src: stream.Readable) => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "drain", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "finish", listener: () => void): this; + once(event: "open", listener: (fd: number) => void): this; + once(event: "pipe", listener: (src: stream.Readable) => void): this; + once(event: "ready", listener: () => void): this; + once(event: "unpipe", listener: (src: stream.Readable) => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "finish", listener: () => void): this; + prependListener(event: "open", listener: (fd: number) => void): this; + prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependListener(event: "ready", listener: () => void): this; + prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "finish", listener: () => void): this; + prependOnceListener(event: "open", listener: (fd: number) => void): this; + prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: "ready", listener: () => void): this; + prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + /** + * Asynchronously rename file at `oldPath` to the pathname provided + * as `newPath`. In the case that `newPath` already exists, it will + * be overwritten. If there is a directory at `newPath`, an error will + * be raised instead. No arguments other than a possible exception are + * given to the completion callback. + * + * See also: [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html). + * + * ```js + * import { rename } from 'node:fs'; + * + * rename('oldFile.txt', 'newFile.txt', (err) => { + * if (err) throw err; + * console.log('Rename complete!'); + * }); + * ``` + * @since v0.0.2 + */ + export function rename(oldPath: PathLike, newPath: PathLike, callback: NoParamCallback): void; + export namespace rename { + /** + * Asynchronous rename(2) - Change the name or location of a file or directory. + * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + */ + function __promisify__(oldPath: PathLike, newPath: PathLike): Promise; + } + /** + * Renames the file from `oldPath` to `newPath`. Returns `undefined`. + * + * See the POSIX [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html) documentation for more details. + * @since v0.1.21 + */ + export function renameSync(oldPath: PathLike, newPath: PathLike): void; + /** + * Truncates the file. No arguments other than a possible exception are + * given to the completion callback. A file descriptor can also be passed as the + * first argument. In this case, `fs.ftruncate()` is called. + * + * ```js + * import { truncate } from 'node:fs'; + * // Assuming that 'path/file.txt' is a regular file. + * truncate('path/file.txt', (err) => { + * if (err) throw err; + * console.log('path/file.txt was truncated'); + * }); + * ``` + * + * Passing a file descriptor is deprecated and may result in an error being thrown + * in the future. + * + * See the POSIX [`truncate(2)`](http://man7.org/linux/man-pages/man2/truncate.2.html) documentation for more details. + * @since v0.8.6 + * @param [len=0] + */ + export function truncate(path: PathLike, len: number | undefined | null, callback: NoParamCallback): void; + /** + * Asynchronous truncate(2) - Truncate a file to a specified length. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export function truncate(path: PathLike, callback: NoParamCallback): void; + export namespace truncate { + /** + * Asynchronous truncate(2) - Truncate a file to a specified length. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param len If not specified, defaults to `0`. + */ + function __promisify__(path: PathLike, len?: number | null): Promise; + } + /** + * Truncates the file. Returns `undefined`. A file descriptor can also be + * passed as the first argument. In this case, `fs.ftruncateSync()` is called. + * + * Passing a file descriptor is deprecated and may result in an error being thrown + * in the future. + * @since v0.8.6 + * @param [len=0] + */ + export function truncateSync(path: PathLike, len?: number | null): void; + /** + * Truncates the file descriptor. No arguments other than a possible exception are + * given to the completion callback. + * + * See the POSIX [`ftruncate(2)`](http://man7.org/linux/man-pages/man2/ftruncate.2.html) documentation for more detail. + * + * If the file referred to by the file descriptor was larger than `len` bytes, only + * the first `len` bytes will be retained in the file. + * + * For example, the following program retains only the first four bytes of the + * file: + * + * ```js + * import { open, close, ftruncate } from 'node:fs'; + * + * function closeFd(fd) { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * + * open('temp.txt', 'r+', (err, fd) => { + * if (err) throw err; + * + * try { + * ftruncate(fd, 4, (err) => { + * closeFd(fd); + * if (err) throw err; + * }); + * } catch (err) { + * closeFd(fd); + * if (err) throw err; + * } + * }); + * ``` + * + * If the file previously was shorter than `len` bytes, it is extended, and the + * extended part is filled with null bytes (`'\0'`): + * + * If `len` is negative then `0` will be used. + * @since v0.8.6 + * @param [len=0] + */ + export function ftruncate(fd: number, len: number | undefined | null, callback: NoParamCallback): void; + /** + * Asynchronous ftruncate(2) - Truncate a file to a specified length. + * @param fd A file descriptor. + */ + export function ftruncate(fd: number, callback: NoParamCallback): void; + export namespace ftruncate { + /** + * Asynchronous ftruncate(2) - Truncate a file to a specified length. + * @param fd A file descriptor. + * @param len If not specified, defaults to `0`. + */ + function __promisify__(fd: number, len?: number | null): Promise; + } + /** + * Truncates the file descriptor. Returns `undefined`. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link ftruncate}. + * @since v0.8.6 + * @param [len=0] + */ + export function ftruncateSync(fd: number, len?: number | null): void; + /** + * Asynchronously changes owner and group of a file. No arguments other than a + * possible exception are given to the completion callback. + * + * See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail. + * @since v0.1.97 + */ + export function chown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void; + export namespace chown { + /** + * Asynchronous chown(2) - Change ownership of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + function __promisify__(path: PathLike, uid: number, gid: number): Promise; + } + /** + * Synchronously changes owner and group of a file. Returns `undefined`. + * This is the synchronous version of {@link chown}. + * + * See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail. + * @since v0.1.97 + */ + export function chownSync(path: PathLike, uid: number, gid: number): void; + /** + * Sets the owner of the file. No arguments other than a possible exception are + * given to the completion callback. + * + * See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail. + * @since v0.4.7 + */ + export function fchown(fd: number, uid: number, gid: number, callback: NoParamCallback): void; + export namespace fchown { + /** + * Asynchronous fchown(2) - Change ownership of a file. + * @param fd A file descriptor. + */ + function __promisify__(fd: number, uid: number, gid: number): Promise; + } + /** + * Sets the owner of the file. Returns `undefined`. + * + * See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail. + * @since v0.4.7 + * @param uid The file's new owner's user id. + * @param gid The file's new group's group id. + */ + export function fchownSync(fd: number, uid: number, gid: number): void; + /** + * Set the owner of the symbolic link. No arguments other than a possible + * exception are given to the completion callback. + * + * See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more detail. + */ + export function lchown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void; + export namespace lchown { + /** + * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + function __promisify__(path: PathLike, uid: number, gid: number): Promise; + } + /** + * Set the owner for the path. Returns `undefined`. + * + * See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more details. + * @param uid The file's new owner's user id. + * @param gid The file's new group's group id. + */ + export function lchownSync(path: PathLike, uid: number, gid: number): void; + /** + * Changes the access and modification times of a file in the same way as {@link utimes}, with the difference that if the path refers to a symbolic + * link, then the link is not dereferenced: instead, the timestamps of the + * symbolic link itself are changed. + * + * No arguments other than a possible exception are given to the completion + * callback. + * @since v14.5.0, v12.19.0 + */ + export function lutimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void; + export namespace lutimes { + /** + * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`, + * with the difference that if the path refers to a symbolic link, then the link is not + * dereferenced: instead, the timestamps of the symbolic link itself are changed. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param atime The last access time. If a string is provided, it will be coerced to number. + * @param mtime The last modified time. If a string is provided, it will be coerced to number. + */ + function __promisify__(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; + } + /** + * Change the file system timestamps of the symbolic link referenced by `path`. + * Returns `undefined`, or throws an exception when parameters are incorrect or + * the operation fails. This is the synchronous version of {@link lutimes}. + * @since v14.5.0, v12.19.0 + */ + export function lutimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void; + /** + * Asynchronously changes the permissions of a file. No arguments other than a + * possible exception are given to the completion callback. + * + * See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail. + * + * ```js + * import { chmod } from 'node:fs'; + * + * chmod('my_file.txt', 0o775, (err) => { + * if (err) throw err; + * console.log('The permissions for file "my_file.txt" have been changed!'); + * }); + * ``` + * @since v0.1.30 + */ + export function chmod(path: PathLike, mode: Mode, callback: NoParamCallback): void; + export namespace chmod { + /** + * Asynchronous chmod(2) - Change permissions of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param mode A file mode. If a string is passed, it is parsed as an octal integer. + */ + function __promisify__(path: PathLike, mode: Mode): Promise; + } + /** + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link chmod}. + * + * See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail. + * @since v0.6.7 + */ + export function chmodSync(path: PathLike, mode: Mode): void; + /** + * Sets the permissions on the file. No arguments other than a possible exception + * are given to the completion callback. + * + * See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail. + * @since v0.4.7 + */ + export function fchmod(fd: number, mode: Mode, callback: NoParamCallback): void; + export namespace fchmod { + /** + * Asynchronous fchmod(2) - Change permissions of a file. + * @param fd A file descriptor. + * @param mode A file mode. If a string is passed, it is parsed as an octal integer. + */ + function __promisify__(fd: number, mode: Mode): Promise; + } + /** + * Sets the permissions on the file. Returns `undefined`. + * + * See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail. + * @since v0.4.7 + */ + export function fchmodSync(fd: number, mode: Mode): void; + /** + * Changes the permissions on a symbolic link. No arguments other than a possible + * exception are given to the completion callback. + * + * This method is only implemented on macOS. + * + * See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail. + * @deprecated Since v0.4.7 + */ + export function lchmod(path: PathLike, mode: Mode, callback: NoParamCallback): void; + /** @deprecated */ + export namespace lchmod { + /** + * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param mode A file mode. If a string is passed, it is parsed as an octal integer. + */ + function __promisify__(path: PathLike, mode: Mode): Promise; + } + /** + * Changes the permissions on a symbolic link. Returns `undefined`. + * + * This method is only implemented on macOS. + * + * See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail. + * @deprecated Since v0.4.7 + */ + export function lchmodSync(path: PathLike, mode: Mode): void; + /** + * Asynchronous [`stat(2)`](http://man7.org/linux/man-pages/man2/stat.2.html). The callback gets two arguments `(err, stats)` where`stats` is an `fs.Stats` object. + * + * In case of an error, the `err.code` will be one of `Common System Errors`. + * + * {@link stat} follows symbolic links. Use {@link lstat} to look at the + * links themselves. + * + * Using `fs.stat()` to check for the existence of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()` is not recommended. + * Instead, user code should open/read/write the file directly and handle the + * error raised if the file is not available. + * + * To check if a file exists without manipulating it afterwards, {@link access} is recommended. + * + * For example, given the following directory structure: + * + * ```text + * - txtDir + * -- file.txt + * - app.js + * ``` + * + * The next program will check for the stats of the given paths: + * + * ```js + * import { stat } from 'node:fs'; + * + * const pathsToCheck = ['./txtDir', './txtDir/file.txt']; + * + * for (let i = 0; i < pathsToCheck.length; i++) { + * stat(pathsToCheck[i], (err, stats) => { + * console.log(stats.isDirectory()); + * console.log(stats); + * }); + * } + * ``` + * + * The resulting output will resemble: + * + * ```console + * true + * Stats { + * dev: 16777220, + * mode: 16877, + * nlink: 3, + * uid: 501, + * gid: 20, + * rdev: 0, + * blksize: 4096, + * ino: 14214262, + * size: 96, + * blocks: 0, + * atimeMs: 1561174653071.963, + * mtimeMs: 1561174614583.3518, + * ctimeMs: 1561174626623.5366, + * birthtimeMs: 1561174126937.2893, + * atime: 2019-06-22T03:37:33.072Z, + * mtime: 2019-06-22T03:36:54.583Z, + * ctime: 2019-06-22T03:37:06.624Z, + * birthtime: 2019-06-22T03:28:46.937Z + * } + * false + * Stats { + * dev: 16777220, + * mode: 33188, + * nlink: 1, + * uid: 501, + * gid: 20, + * rdev: 0, + * blksize: 4096, + * ino: 14214074, + * size: 8, + * blocks: 8, + * atimeMs: 1561174616618.8555, + * mtimeMs: 1561174614584, + * ctimeMs: 1561174614583.8145, + * birthtimeMs: 1561174007710.7478, + * atime: 2019-06-22T03:36:56.619Z, + * mtime: 2019-06-22T03:36:54.584Z, + * ctime: 2019-06-22T03:36:54.584Z, + * birthtime: 2019-06-22T03:26:47.711Z + * } + * ``` + * @since v0.0.2 + */ + export function stat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; + export function stat( + path: PathLike, + options: + | (StatOptions & { + bigint?: false | undefined; + }) + | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void, + ): void; + export function stat( + path: PathLike, + options: StatOptions & { + bigint: true; + }, + callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void, + ): void; + export function stat( + path: PathLike, + options: StatOptions | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void, + ): void; + export namespace stat { + /** + * Asynchronous stat(2) - Get file status. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + function __promisify__( + path: PathLike, + options?: StatOptions & { + bigint?: false | undefined; + }, + ): Promise; + function __promisify__( + path: PathLike, + options: StatOptions & { + bigint: true; + }, + ): Promise; + function __promisify__(path: PathLike, options?: StatOptions): Promise; + } + export interface StatSyncFn extends Function { + (path: PathLike, options?: undefined): Stats; + ( + path: PathLike, + options?: StatSyncOptions & { + bigint?: false | undefined; + throwIfNoEntry: false; + }, + ): Stats | undefined; + ( + path: PathLike, + options: StatSyncOptions & { + bigint: true; + throwIfNoEntry: false; + }, + ): BigIntStats | undefined; + ( + path: PathLike, + options?: StatSyncOptions & { + bigint?: false | undefined; + }, + ): Stats; + ( + path: PathLike, + options: StatSyncOptions & { + bigint: true; + }, + ): BigIntStats; + ( + path: PathLike, + options: StatSyncOptions & { + bigint: boolean; + throwIfNoEntry?: false | undefined; + }, + ): Stats | BigIntStats; + (path: PathLike, options?: StatSyncOptions): Stats | BigIntStats | undefined; + } + /** + * Synchronous stat(2) - Get file status. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export const statSync: StatSyncFn; + /** + * Invokes the callback with the `fs.Stats` for the file descriptor. + * + * See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail. + * @since v0.1.95 + */ + export function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; + export function fstat( + fd: number, + options: + | (StatOptions & { + bigint?: false | undefined; + }) + | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void, + ): void; + export function fstat( + fd: number, + options: StatOptions & { + bigint: true; + }, + callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void, + ): void; + export function fstat( + fd: number, + options: StatOptions | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void, + ): void; + export namespace fstat { + /** + * Asynchronous fstat(2) - Get file status. + * @param fd A file descriptor. + */ + function __promisify__( + fd: number, + options?: StatOptions & { + bigint?: false | undefined; + }, + ): Promise; + function __promisify__( + fd: number, + options: StatOptions & { + bigint: true; + }, + ): Promise; + function __promisify__(fd: number, options?: StatOptions): Promise; + } + /** + * Retrieves the `fs.Stats` for the file descriptor. + * + * See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail. + * @since v0.1.95 + */ + export function fstatSync( + fd: number, + options?: StatOptions & { + bigint?: false | undefined; + }, + ): Stats; + export function fstatSync( + fd: number, + options: StatOptions & { + bigint: true; + }, + ): BigIntStats; + export function fstatSync(fd: number, options?: StatOptions): Stats | BigIntStats; + /** + * Retrieves the `fs.Stats` for the symbolic link referred to by the path. + * The callback gets two arguments `(err, stats)` where `stats` is a `fs.Stats` object. `lstat()` is identical to `stat()`, except that if `path` is a symbolic + * link, then the link itself is stat-ed, not the file that it refers to. + * + * See the POSIX [`lstat(2)`](http://man7.org/linux/man-pages/man2/lstat.2.html) documentation for more details. + * @since v0.1.30 + */ + export function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; + export function lstat( + path: PathLike, + options: + | (StatOptions & { + bigint?: false | undefined; + }) + | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void, + ): void; + export function lstat( + path: PathLike, + options: StatOptions & { + bigint: true; + }, + callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void, + ): void; + export function lstat( + path: PathLike, + options: StatOptions | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void, + ): void; + export namespace lstat { + /** + * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + function __promisify__( + path: PathLike, + options?: StatOptions & { + bigint?: false | undefined; + }, + ): Promise; + function __promisify__( + path: PathLike, + options: StatOptions & { + bigint: true; + }, + ): Promise; + function __promisify__(path: PathLike, options?: StatOptions): Promise; + } + /** + * Asynchronous [`statfs(2)`](http://man7.org/linux/man-pages/man2/statfs.2.html). Returns information about the mounted file system which + * contains `path`. The callback gets two arguments `(err, stats)` where `stats`is an `fs.StatFs` object. + * + * In case of an error, the `err.code` will be one of `Common System Errors`. + * @since v19.6.0, v18.15.0 + * @param path A path to an existing file or directory on the file system to be queried. + */ + export function statfs(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void): void; + export function statfs( + path: PathLike, + options: + | (StatFsOptions & { + bigint?: false | undefined; + }) + | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void, + ): void; + export function statfs( + path: PathLike, + options: StatFsOptions & { + bigint: true; + }, + callback: (err: NodeJS.ErrnoException | null, stats: BigIntStatsFs) => void, + ): void; + export function statfs( + path: PathLike, + options: StatFsOptions | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: StatsFs | BigIntStatsFs) => void, + ): void; + export namespace statfs { + /** + * Asynchronous statfs(2) - Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where stats is an object. + * @param path A path to an existing file or directory on the file system to be queried. + */ + function __promisify__( + path: PathLike, + options?: StatFsOptions & { + bigint?: false | undefined; + }, + ): Promise; + function __promisify__( + path: PathLike, + options: StatFsOptions & { + bigint: true; + }, + ): Promise; + function __promisify__(path: PathLike, options?: StatFsOptions): Promise; + } + /** + * Synchronous [`statfs(2)`](http://man7.org/linux/man-pages/man2/statfs.2.html). Returns information about the mounted file system which + * contains `path`. + * + * In case of an error, the `err.code` will be one of `Common System Errors`. + * @since v19.6.0, v18.15.0 + * @param path A path to an existing file or directory on the file system to be queried. + */ + export function statfsSync( + path: PathLike, + options?: StatFsOptions & { + bigint?: false | undefined; + }, + ): StatsFs; + export function statfsSync( + path: PathLike, + options: StatFsOptions & { + bigint: true; + }, + ): BigIntStatsFs; + export function statfsSync(path: PathLike, options?: StatFsOptions): StatsFs | BigIntStatsFs; + /** + * Synchronous lstat(2) - Get file status. Does not dereference symbolic links. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export const lstatSync: StatSyncFn; + /** + * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. No arguments other than + * a possible + * exception are given to the completion callback. + * @since v0.1.31 + */ + export function link(existingPath: PathLike, newPath: PathLike, callback: NoParamCallback): void; + export namespace link { + /** + * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file. + * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + function __promisify__(existingPath: PathLike, newPath: PathLike): Promise; + } + /** + * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. Returns `undefined`. + * @since v0.1.31 + */ + export function linkSync(existingPath: PathLike, newPath: PathLike): void; + /** + * Creates the link called `path` pointing to `target`. No arguments other than a + * possible exception are given to the completion callback. + * + * See the POSIX [`symlink(2)`](http://man7.org/linux/man-pages/man2/symlink.2.html) documentation for more details. + * + * The `type` argument is only available on Windows and ignored on other platforms. + * It can be set to `'dir'`, `'file'`, or `'junction'`. If the `type` argument is + * not a string, Node.js will autodetect `target` type and use `'file'` or `'dir'`. + * If the `target` does not exist, `'file'` will be used. Windows junction points + * require the destination path to be absolute. When using `'junction'`, the`target` argument will automatically be normalized to absolute path. Junction + * points on NTFS volumes can only point to directories. + * + * Relative targets are relative to the link's parent directory. + * + * ```js + * import { symlink } from 'node:fs'; + * + * symlink('./mew', './mewtwo', callback); + * ``` + * + * The above example creates a symbolic link `mewtwo` which points to `mew` in the + * same directory: + * + * ```bash + * $ tree . + * . + * ├── mew + * └── mewtwo -> ./mew + * ``` + * @since v0.1.31 + * @param [type='null'] + */ + export function symlink( + target: PathLike, + path: PathLike, + type: symlink.Type | undefined | null, + callback: NoParamCallback, + ): void; + /** + * Asynchronous symlink(2) - Create a new symbolic link to an existing file. + * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. + * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. + */ + export function symlink(target: PathLike, path: PathLike, callback: NoParamCallback): void; + export namespace symlink { + /** + * Asynchronous symlink(2) - Create a new symbolic link to an existing file. + * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. + * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. + * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms). + * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path. + */ + function __promisify__(target: PathLike, path: PathLike, type?: string | null): Promise; + type Type = "dir" | "file" | "junction"; + } + /** + * Returns `undefined`. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link symlink}. + * @since v0.1.31 + * @param [type='null'] + */ + export function symlinkSync(target: PathLike, path: PathLike, type?: symlink.Type | null): void; + /** + * Reads the contents of the symbolic link referred to by `path`. The callback gets + * two arguments `(err, linkString)`. + * + * See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more details. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the link path passed to the callback. If the `encoding` is set to `'buffer'`, + * the link path returned will be passed as a `Buffer` object. + * @since v0.1.31 + */ + export function readlink( + path: PathLike, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, linkString: string) => void, + ): void; + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readlink( + path: PathLike, + options: BufferEncodingOption, + callback: (err: NodeJS.ErrnoException | null, linkString: Buffer) => void, + ): void; + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readlink( + path: PathLike, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, linkString: string | Buffer) => void, + ): void; + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export function readlink( + path: PathLike, + callback: (err: NodeJS.ErrnoException | null, linkString: string) => void, + ): void; + export namespace readlink { + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(path: PathLike, options?: EncodingOption): Promise; + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(path: PathLike, options: BufferEncodingOption): Promise; + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(path: PathLike, options?: EncodingOption): Promise; + } + /** + * Returns the symbolic link's string value. + * + * See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more details. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the link path returned. If the `encoding` is set to `'buffer'`, + * the link path returned will be passed as a `Buffer` object. + * @since v0.1.31 + */ + export function readlinkSync(path: PathLike, options?: EncodingOption): string; + /** + * Synchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readlinkSync(path: PathLike, options: BufferEncodingOption): Buffer; + /** + * Synchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readlinkSync(path: PathLike, options?: EncodingOption): string | Buffer; + /** + * Asynchronously computes the canonical pathname by resolving `.`, `..`, and + * symbolic links. + * + * A canonical pathname is not necessarily unique. Hard links and bind mounts can + * expose a file system entity through many pathnames. + * + * This function behaves like [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html), with some exceptions: + * + * 1. No case conversion is performed on case-insensitive file systems. + * 2. The maximum number of symbolic links is platform-independent and generally + * (much) higher than what the native [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html) implementation supports. + * + * The `callback` gets two arguments `(err, resolvedPath)`. May use `process.cwd`to resolve relative paths. + * + * Only paths that can be converted to UTF8 strings are supported. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the path passed to the callback. If the `encoding` is set to `'buffer'`, + * the path returned will be passed as a `Buffer` object. + * + * If `path` resolves to a socket or a pipe, the function will return a system + * dependent name for that object. + * @since v0.1.31 + */ + export function realpath( + path: PathLike, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, + ): void; + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function realpath( + path: PathLike, + options: BufferEncodingOption, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void, + ): void; + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function realpath( + path: PathLike, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void, + ): void; + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export function realpath( + path: PathLike, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, + ): void; + export namespace realpath { + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(path: PathLike, options?: EncodingOption): Promise; + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(path: PathLike, options: BufferEncodingOption): Promise; + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(path: PathLike, options?: EncodingOption): Promise; + /** + * Asynchronous [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html). + * + * The `callback` gets two arguments `(err, resolvedPath)`. + * + * Only paths that can be converted to UTF8 strings are supported. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the path passed to the callback. If the `encoding` is set to `'buffer'`, + * the path returned will be passed as a `Buffer` object. + * + * On Linux, when Node.js is linked against musl libc, the procfs file system must + * be mounted on `/proc` in order for this function to work. Glibc does not have + * this restriction. + * @since v9.2.0 + */ + function native( + path: PathLike, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, + ): void; + function native( + path: PathLike, + options: BufferEncodingOption, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void, + ): void; + function native( + path: PathLike, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void, + ): void; + function native( + path: PathLike, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, + ): void; + } + /** + * Returns the resolved pathname. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link realpath}. + * @since v0.1.31 + */ + export function realpathSync(path: PathLike, options?: EncodingOption): string; + /** + * Synchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function realpathSync(path: PathLike, options: BufferEncodingOption): Buffer; + /** + * Synchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function realpathSync(path: PathLike, options?: EncodingOption): string | Buffer; + export namespace realpathSync { + function native(path: PathLike, options?: EncodingOption): string; + function native(path: PathLike, options: BufferEncodingOption): Buffer; + function native(path: PathLike, options?: EncodingOption): string | Buffer; + } + /** + * Asynchronously removes a file or symbolic link. No arguments other than a + * possible exception are given to the completion callback. + * + * ```js + * import { unlink } from 'node:fs'; + * // Assuming that 'path/file.txt' is a regular file. + * unlink('path/file.txt', (err) => { + * if (err) throw err; + * console.log('path/file.txt was deleted'); + * }); + * ``` + * + * `fs.unlink()` will not work on a directory, empty or otherwise. To remove a + * directory, use {@link rmdir}. + * + * See the POSIX [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html) documentation for more details. + * @since v0.0.2 + */ + export function unlink(path: PathLike, callback: NoParamCallback): void; + export namespace unlink { + /** + * Asynchronous unlink(2) - delete a name and possibly the file it refers to. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + function __promisify__(path: PathLike): Promise; + } + /** + * Synchronous [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html). Returns `undefined`. + * @since v0.1.21 + */ + export function unlinkSync(path: PathLike): void; + export interface RmDirOptions { + /** + * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or + * `EPERM` error is encountered, Node.js will retry the operation with a linear + * backoff wait of `retryDelay` ms longer on each try. This option represents the + * number of retries. This option is ignored if the `recursive` option is not + * `true`. + * @default 0 + */ + maxRetries?: number | undefined; + /** + * @deprecated since v14.14.0 In future versions of Node.js and will trigger a warning + * `fs.rmdir(path, { recursive: true })` will throw if `path` does not exist or is a file. + * Use `fs.rm(path, { recursive: true, force: true })` instead. + * + * If `true`, perform a recursive directory removal. In + * recursive mode, operations are retried on failure. + * @default false + */ + recursive?: boolean | undefined; + /** + * The amount of time in milliseconds to wait between retries. + * This option is ignored if the `recursive` option is not `true`. + * @default 100 + */ + retryDelay?: number | undefined; + } + /** + * Asynchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). No arguments other than a possible exception are given + * to the completion callback. + * + * Using `fs.rmdir()` on a file (not a directory) results in an `ENOENT` error on + * Windows and an `ENOTDIR` error on POSIX. + * + * To get a behavior similar to the `rm -rf` Unix command, use {@link rm} with options `{ recursive: true, force: true }`. + * @since v0.0.2 + */ + export function rmdir(path: PathLike, callback: NoParamCallback): void; + export function rmdir(path: PathLike, options: RmDirOptions, callback: NoParamCallback): void; + export namespace rmdir { + /** + * Asynchronous rmdir(2) - delete a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + function __promisify__(path: PathLike, options?: RmDirOptions): Promise; + } + /** + * Synchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). Returns `undefined`. + * + * Using `fs.rmdirSync()` on a file (not a directory) results in an `ENOENT` error + * on Windows and an `ENOTDIR` error on POSIX. + * + * To get a behavior similar to the `rm -rf` Unix command, use {@link rmSync} with options `{ recursive: true, force: true }`. + * @since v0.1.21 + */ + export function rmdirSync(path: PathLike, options?: RmDirOptions): void; + export interface RmOptions { + /** + * When `true`, exceptions will be ignored if `path` does not exist. + * @default false + */ + force?: boolean | undefined; + /** + * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or + * `EPERM` error is encountered, Node.js will retry the operation with a linear + * backoff wait of `retryDelay` ms longer on each try. This option represents the + * number of retries. This option is ignored if the `recursive` option is not + * `true`. + * @default 0 + */ + maxRetries?: number | undefined; + /** + * If `true`, perform a recursive directory removal. In + * recursive mode, operations are retried on failure. + * @default false + */ + recursive?: boolean | undefined; + /** + * The amount of time in milliseconds to wait between retries. + * This option is ignored if the `recursive` option is not `true`. + * @default 100 + */ + retryDelay?: number | undefined; + } + /** + * Asynchronously removes files and directories (modeled on the standard POSIX `rm`utility). No arguments other than a possible exception are given to the + * completion callback. + * @since v14.14.0 + */ + export function rm(path: PathLike, callback: NoParamCallback): void; + export function rm(path: PathLike, options: RmOptions, callback: NoParamCallback): void; + export namespace rm { + /** + * Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility). + */ + function __promisify__(path: PathLike, options?: RmOptions): Promise; + } + /** + * Synchronously removes files and directories (modeled on the standard POSIX `rm`utility). Returns `undefined`. + * @since v14.14.0 + */ + export function rmSync(path: PathLike, options?: RmOptions): void; + export interface MakeDirectoryOptions { + /** + * Indicates whether parent folders should be created. + * If a folder was created, the path to the first created folder will be returned. + * @default false + */ + recursive?: boolean | undefined; + /** + * A file mode. If a string is passed, it is parsed as an octal integer. If not specified + * @default 0o777 + */ + mode?: Mode | undefined; + } + /** + * Asynchronously creates a directory. + * + * The callback is given a possible exception and, if `recursive` is `true`, the + * first directory path created, `(err[, path])`.`path` can still be `undefined` when `recursive` is `true`, if no directory was + * created (for instance, if it was previously created). + * + * The optional `options` argument can be an integer specifying `mode` (permission + * and sticky bits), or an object with a `mode` property and a `recursive`property indicating whether parent directories should be created. Calling`fs.mkdir()` when `path` is a directory that + * exists results in an error only + * when `recursive` is false. If `recursive` is false and the directory exists, + * an `EEXIST` error occurs. + * + * ```js + * import { mkdir } from 'node:fs'; + * + * // Create ./tmp/a/apple, regardless of whether ./tmp and ./tmp/a exist. + * mkdir('./tmp/a/apple', { recursive: true }, (err) => { + * if (err) throw err; + * }); + * ``` + * + * On Windows, using `fs.mkdir()` on the root directory even with recursion will + * result in an error: + * + * ```js + * import { mkdir } from 'node:fs'; + * + * mkdir('/', { recursive: true }, (err) => { + * // => [Error: EPERM: operation not permitted, mkdir 'C:\'] + * }); + * ``` + * + * See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details. + * @since v0.1.8 + */ + export function mkdir( + path: PathLike, + options: MakeDirectoryOptions & { + recursive: true; + }, + callback: (err: NodeJS.ErrnoException | null, path?: string) => void, + ): void; + /** + * Asynchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + export function mkdir( + path: PathLike, + options: + | Mode + | (MakeDirectoryOptions & { + recursive?: false | undefined; + }) + | null + | undefined, + callback: NoParamCallback, + ): void; + /** + * Asynchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + export function mkdir( + path: PathLike, + options: Mode | MakeDirectoryOptions | null | undefined, + callback: (err: NodeJS.ErrnoException | null, path?: string) => void, + ): void; + /** + * Asynchronous mkdir(2) - create a directory with a mode of `0o777`. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export function mkdir(path: PathLike, callback: NoParamCallback): void; + export namespace mkdir { + /** + * Asynchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + function __promisify__( + path: PathLike, + options: MakeDirectoryOptions & { + recursive: true; + }, + ): Promise; + /** + * Asynchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + function __promisify__( + path: PathLike, + options?: + | Mode + | (MakeDirectoryOptions & { + recursive?: false | undefined; + }) + | null, + ): Promise; + /** + * Asynchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + function __promisify__( + path: PathLike, + options?: Mode | MakeDirectoryOptions | null, + ): Promise; + } + /** + * Synchronously creates a directory. Returns `undefined`, or if `recursive` is`true`, the first directory path created. + * This is the synchronous version of {@link mkdir}. + * + * See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details. + * @since v0.1.21 + */ + export function mkdirSync( + path: PathLike, + options: MakeDirectoryOptions & { + recursive: true; + }, + ): string | undefined; + /** + * Synchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + export function mkdirSync( + path: PathLike, + options?: + | Mode + | (MakeDirectoryOptions & { + recursive?: false | undefined; + }) + | null, + ): void; + /** + * Synchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + export function mkdirSync(path: PathLike, options?: Mode | MakeDirectoryOptions | null): string | undefined; + /** + * Creates a unique temporary directory. + * + * Generates six random characters to be appended behind a required`prefix` to create a unique temporary directory. Due to platform + * inconsistencies, avoid trailing `X` characters in `prefix`. Some platforms, + * notably the BSDs, can return more than six random characters, and replace + * trailing `X` characters in `prefix` with random characters. + * + * The created directory path is passed as a string to the callback's second + * parameter. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use. + * + * ```js + * import { mkdtemp } from 'node:fs'; + * import { join } from 'node:path'; + * import { tmpdir } from 'node:os'; + * + * mkdtemp(join(tmpdir(), 'foo-'), (err, directory) => { + * if (err) throw err; + * console.log(directory); + * // Prints: /tmp/foo-itXde2 or C:\Users\...\AppData\Local\Temp\foo-itXde2 + * }); + * ``` + * + * The `fs.mkdtemp()` method will append the six randomly selected characters + * directly to the `prefix` string. For instance, given a directory `/tmp`, if the + * intention is to create a temporary directory _within_`/tmp`, the `prefix`must end with a trailing platform-specific path separator + * (`require('node:path').sep`). + * + * ```js + * import { tmpdir } from 'node:os'; + * import { mkdtemp } from 'node:fs'; + * + * // The parent directory for the new temporary directory + * const tmpDir = tmpdir(); + * + * // This method is *INCORRECT*: + * mkdtemp(tmpDir, (err, directory) => { + * if (err) throw err; + * console.log(directory); + * // Will print something similar to `/tmpabc123`. + * // A new temporary directory is created at the file system root + * // rather than *within* the /tmp directory. + * }); + * + * // This method is *CORRECT*: + * import { sep } from 'node:path'; + * mkdtemp(`${tmpDir}${sep}`, (err, directory) => { + * if (err) throw err; + * console.log(directory); + * // Will print something similar to `/tmp/abc123`. + * // A new temporary directory is created within + * // the /tmp directory. + * }); + * ``` + * @since v5.10.0 + */ + export function mkdtemp( + prefix: string, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, folder: string) => void, + ): void; + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function mkdtemp( + prefix: string, + options: + | "buffer" + | { + encoding: "buffer"; + }, + callback: (err: NodeJS.ErrnoException | null, folder: Buffer) => void, + ): void; + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function mkdtemp( + prefix: string, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, folder: string | Buffer) => void, + ): void; + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + */ + export function mkdtemp( + prefix: string, + callback: (err: NodeJS.ErrnoException | null, folder: string) => void, + ): void; + export namespace mkdtemp { + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(prefix: string, options?: EncodingOption): Promise; + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(prefix: string, options: BufferEncodingOption): Promise; + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(prefix: string, options?: EncodingOption): Promise; + } + /** + * Returns the created directory path. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link mkdtemp}. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use. + * @since v5.10.0 + */ + export function mkdtempSync(prefix: string, options?: EncodingOption): string; + /** + * Synchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function mkdtempSync(prefix: string, options: BufferEncodingOption): Buffer; + /** + * Synchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function mkdtempSync(prefix: string, options?: EncodingOption): string | Buffer; + /** + * Reads the contents of a directory. The callback gets two arguments `(err, files)`where `files` is an array of the names of the files in the directory excluding`'.'` and `'..'`. + * + * See the POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more details. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the filenames passed to the callback. If the `encoding` is set to `'buffer'`, + * the filenames returned will be passed as `Buffer` objects. + * + * If `options.withFileTypes` is set to `true`, the `files` array will contain `fs.Dirent` objects. + * @since v0.1.8 + */ + export function readdir( + path: PathLike, + options: + | { + encoding: BufferEncoding | null; + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + } + | BufferEncoding + | undefined + | null, + callback: (err: NodeJS.ErrnoException | null, files: string[]) => void, + ): void; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readdir( + path: PathLike, + options: + | { + encoding: "buffer"; + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + } + | "buffer", + callback: (err: NodeJS.ErrnoException | null, files: Buffer[]) => void, + ): void; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readdir( + path: PathLike, + options: + | (ObjectEncodingOptions & { + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + }) + | BufferEncoding + | undefined + | null, + callback: (err: NodeJS.ErrnoException | null, files: string[] | Buffer[]) => void, + ): void; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export function readdir( + path: PathLike, + callback: (err: NodeJS.ErrnoException | null, files: string[]) => void, + ): void; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. + */ + export function readdir( + path: PathLike, + options: ObjectEncodingOptions & { + withFileTypes: true; + recursive?: boolean | undefined; + }, + callback: (err: NodeJS.ErrnoException | null, files: Dirent[]) => void, + ): void; + export namespace readdir { + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__( + path: PathLike, + options?: + | { + encoding: BufferEncoding | null; + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + } + | BufferEncoding + | null, + ): Promise; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__( + path: PathLike, + options: + | "buffer" + | { + encoding: "buffer"; + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + }, + ): Promise; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__( + path: PathLike, + options?: + | (ObjectEncodingOptions & { + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + }) + | BufferEncoding + | null, + ): Promise; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options If called with `withFileTypes: true` the result data will be an array of Dirent + */ + function __promisify__( + path: PathLike, + options: ObjectEncodingOptions & { + withFileTypes: true; + recursive?: boolean | undefined; + }, + ): Promise; + } + /** + * Reads the contents of the directory. + * + * See the POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more details. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the filenames returned. If the `encoding` is set to `'buffer'`, + * the filenames returned will be passed as `Buffer` objects. + * + * If `options.withFileTypes` is set to `true`, the result will contain `fs.Dirent` objects. + * @since v0.1.21 + */ + export function readdirSync( + path: PathLike, + options?: + | { + encoding: BufferEncoding | null; + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + } + | BufferEncoding + | null, + ): string[]; + /** + * Synchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readdirSync( + path: PathLike, + options: + | { + encoding: "buffer"; + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + } + | "buffer", + ): Buffer[]; + /** + * Synchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readdirSync( + path: PathLike, + options?: + | (ObjectEncodingOptions & { + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + }) + | BufferEncoding + | null, + ): string[] | Buffer[]; + /** + * Synchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. + */ + export function readdirSync( + path: PathLike, + options: ObjectEncodingOptions & { + withFileTypes: true; + recursive?: boolean | undefined; + }, + ): Dirent[]; + /** + * Closes the file descriptor. No arguments other than a possible exception are + * given to the completion callback. + * + * Calling `fs.close()` on any file descriptor (`fd`) that is currently in use + * through any other `fs` operation may lead to undefined behavior. + * + * See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail. + * @since v0.0.2 + */ + export function close(fd: number, callback?: NoParamCallback): void; + export namespace close { + /** + * Asynchronous close(2) - close a file descriptor. + * @param fd A file descriptor. + */ + function __promisify__(fd: number): Promise; + } + /** + * Closes the file descriptor. Returns `undefined`. + * + * Calling `fs.closeSync()` on any file descriptor (`fd`) that is currently in use + * through any other `fs` operation may lead to undefined behavior. + * + * See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail. + * @since v0.1.21 + */ + export function closeSync(fd: number): void; + /** + * Asynchronous file open. See the POSIX [`open(2)`](http://man7.org/linux/man-pages/man2/open.2.html) documentation for more details. + * + * `mode` sets the file mode (permission and sticky bits), but only if the file was + * created. On Windows, only the write permission can be manipulated; see {@link chmod}. + * + * The callback gets two arguments `(err, fd)`. + * + * Some characters (`< > : " / \ | ? *`) are reserved under Windows as documented + * by [Naming Files, Paths, and Namespaces](https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file). Under NTFS, if the filename contains + * a colon, Node.js will open a file system stream, as described by [this MSDN page](https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams). + * + * Functions based on `fs.open()` exhibit this behavior as well:`fs.writeFile()`, `fs.readFile()`, etc. + * @since v0.0.2 + * @param [flags='r'] See `support of file system `flags``. + * @param [mode=0o666] + */ + export function open( + path: PathLike, + flags: OpenMode | undefined, + mode: Mode | undefined | null, + callback: (err: NodeJS.ErrnoException | null, fd: number) => void, + ): void; + /** + * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param [flags='r'] See `support of file system `flags``. + */ + export function open( + path: PathLike, + flags: OpenMode | undefined, + callback: (err: NodeJS.ErrnoException | null, fd: number) => void, + ): void; + /** + * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export function open(path: PathLike, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void; + export namespace open { + /** + * Asynchronous open(2) - open and possibly create a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`. + */ + function __promisify__(path: PathLike, flags: OpenMode, mode?: Mode | null): Promise; + } + /** + * Returns an integer representing the file descriptor. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link open}. + * @since v0.1.21 + * @param [flags='r'] + * @param [mode=0o666] + */ + export function openSync(path: PathLike, flags: OpenMode, mode?: Mode | null): number; + /** + * Change the file system timestamps of the object referenced by `path`. + * + * The `atime` and `mtime` arguments follow these rules: + * + * * Values can be either numbers representing Unix epoch time in seconds,`Date`s, or a numeric string like `'123456789.0'`. + * * If the value can not be converted to a number, or is `NaN`, `Infinity`, or`-Infinity`, an `Error` will be thrown. + * @since v0.4.2 + */ + export function utimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void; + export namespace utimes { + /** + * Asynchronously change file timestamps of the file referenced by the supplied path. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param atime The last access time. If a string is provided, it will be coerced to number. + * @param mtime The last modified time. If a string is provided, it will be coerced to number. + */ + function __promisify__(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; + } + /** + * Returns `undefined`. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link utimes}. + * @since v0.4.2 + */ + export function utimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void; + /** + * Change the file system timestamps of the object referenced by the supplied file + * descriptor. See {@link utimes}. + * @since v0.4.2 + */ + export function futimes(fd: number, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void; + export namespace futimes { + /** + * Asynchronously change file timestamps of the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param atime The last access time. If a string is provided, it will be coerced to number. + * @param mtime The last modified time. If a string is provided, it will be coerced to number. + */ + function __promisify__(fd: number, atime: TimeLike, mtime: TimeLike): Promise; + } + /** + * Synchronous version of {@link futimes}. Returns `undefined`. + * @since v0.4.2 + */ + export function futimesSync(fd: number, atime: TimeLike, mtime: TimeLike): void; + /** + * Request that all data for the open file descriptor is flushed to the storage + * device. The specific implementation is operating system and device specific. + * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. No arguments other + * than a possible exception are given to the completion callback. + * @since v0.1.96 + */ + export function fsync(fd: number, callback: NoParamCallback): void; + export namespace fsync { + /** + * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device. + * @param fd A file descriptor. + */ + function __promisify__(fd: number): Promise; + } + /** + * Request that all data for the open file descriptor is flushed to the storage + * device. The specific implementation is operating system and device specific. + * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. Returns `undefined`. + * @since v0.1.96 + */ + export function fsyncSync(fd: number): void; + /** + * Write `buffer` to the file specified by `fd`. + * + * `offset` determines the part of the buffer to be written, and `length` is + * an integer specifying the number of bytes to write. + * + * `position` refers to the offset from the beginning of the file where this data + * should be written. If `typeof position !== 'number'`, the data will be written + * at the current position. See [`pwrite(2)`](http://man7.org/linux/man-pages/man2/pwrite.2.html). + * + * The callback will be given three arguments `(err, bytesWritten, buffer)` where`bytesWritten` specifies how many _bytes_ were written from `buffer`. + * + * If this method is invoked as its `util.promisify()` ed version, it returns + * a promise for an `Object` with `bytesWritten` and `buffer` properties. + * + * It is unsafe to use `fs.write()` multiple times on the same file without waiting + * for the callback. For this scenario, {@link createWriteStream} is + * recommended. + * + * On Linux, positional writes don't work when the file is opened in append mode. + * The kernel ignores the position argument and always appends the data to + * the end of the file. + * @since v0.0.2 + * @param [offset=0] + * @param [length=buffer.byteLength - offset] + * @param [position='null'] + */ + export function write( + fd: number, + buffer: TBuffer, + offset: number | undefined | null, + length: number | undefined | null, + position: number | undefined | null, + callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, + ): void; + /** + * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. + * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. + */ + export function write( + fd: number, + buffer: TBuffer, + offset: number | undefined | null, + length: number | undefined | null, + callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, + ): void; + /** + * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. + */ + export function write( + fd: number, + buffer: TBuffer, + offset: number | undefined | null, + callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, + ): void; + /** + * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + */ + export function write( + fd: number, + buffer: TBuffer, + callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, + ): void; + /** + * Asynchronously writes `string` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param string A string to write. + * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. + * @param encoding The expected string encoding. + */ + export function write( + fd: number, + string: string, + position: number | undefined | null, + encoding: BufferEncoding | undefined | null, + callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void, + ): void; + /** + * Asynchronously writes `string` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param string A string to write. + * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. + */ + export function write( + fd: number, + string: string, + position: number | undefined | null, + callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void, + ): void; + /** + * Asynchronously writes `string` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param string A string to write. + */ + export function write( + fd: number, + string: string, + callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void, + ): void; + export namespace write { + /** + * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. + * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. + * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. + */ + function __promisify__( + fd: number, + buffer?: TBuffer, + offset?: number, + length?: number, + position?: number | null, + ): Promise<{ + bytesWritten: number; + buffer: TBuffer; + }>; + /** + * Asynchronously writes `string` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param string A string to write. + * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. + * @param encoding The expected string encoding. + */ + function __promisify__( + fd: number, + string: string, + position?: number | null, + encoding?: BufferEncoding | null, + ): Promise<{ + bytesWritten: number; + buffer: string; + }>; + } + /** + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link write}. + * @since v0.1.21 + * @param [offset=0] + * @param [length=buffer.byteLength - offset] + * @param [position='null'] + * @return The number of bytes written. + */ + export function writeSync( + fd: number, + buffer: NodeJS.ArrayBufferView, + offset?: number | null, + length?: number | null, + position?: number | null, + ): number; + /** + * Synchronously writes `string` to the file referenced by the supplied file descriptor, returning the number of bytes written. + * @param fd A file descriptor. + * @param string A string to write. + * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. + * @param encoding The expected string encoding. + */ + export function writeSync( + fd: number, + string: string, + position?: number | null, + encoding?: BufferEncoding | null, + ): number; + export type ReadPosition = number | bigint; + export interface ReadSyncOptions { + /** + * @default 0 + */ + offset?: number | undefined; + /** + * @default `length of buffer` + */ + length?: number | undefined; + /** + * @default null + */ + position?: ReadPosition | null | undefined; + } + export interface ReadAsyncOptions extends ReadSyncOptions { + buffer?: TBuffer; + } + /** + * Read data from the file specified by `fd`. + * + * The callback is given the three arguments, `(err, bytesRead, buffer)`. + * + * If the file is not modified concurrently, the end-of-file is reached when the + * number of bytes read is zero. + * + * If this method is invoked as its `util.promisify()` ed version, it returns + * a promise for an `Object` with `bytesRead` and `buffer` properties. + * @since v0.0.2 + * @param buffer The buffer that the data will be written to. + * @param offset The position in `buffer` to write the data to. + * @param length The number of bytes to read. + * @param position Specifies where to begin reading from in the file. If `position` is `null` or `-1 `, data will be read from the current file position, and the file position will be updated. If + * `position` is an integer, the file position will be unchanged. + */ + export function read( + fd: number, + buffer: TBuffer, + offset: number, + length: number, + position: ReadPosition | null, + callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void, + ): void; + /** + * Similar to the above `fs.read` function, this version takes an optional `options` object. + * If not otherwise specified in an `options` object, + * `buffer` defaults to `Buffer.alloc(16384)`, + * `offset` defaults to `0`, + * `length` defaults to `buffer.byteLength`, `- offset` as of Node 17.6.0 + * `position` defaults to `null` + * @since v12.17.0, 13.11.0 + */ + export function read( + fd: number, + options: ReadAsyncOptions, + callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void, + ): void; + export function read( + fd: number, + callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: NodeJS.ArrayBufferView) => void, + ): void; + export namespace read { + /** + * @param fd A file descriptor. + * @param buffer The buffer that the data will be written to. + * @param offset The offset in the buffer at which to start writing. + * @param length The number of bytes to read. + * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position. + */ + function __promisify__( + fd: number, + buffer: TBuffer, + offset: number, + length: number, + position: number | null, + ): Promise<{ + bytesRead: number; + buffer: TBuffer; + }>; + function __promisify__( + fd: number, + options: ReadAsyncOptions, + ): Promise<{ + bytesRead: number; + buffer: TBuffer; + }>; + function __promisify__(fd: number): Promise<{ + bytesRead: number; + buffer: NodeJS.ArrayBufferView; + }>; + } + /** + * Returns the number of `bytesRead`. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link read}. + * @since v0.1.21 + * @param [position='null'] + */ + export function readSync( + fd: number, + buffer: NodeJS.ArrayBufferView, + offset: number, + length: number, + position: ReadPosition | null, + ): number; + /** + * Similar to the above `fs.readSync` function, this version takes an optional `options` object. + * If no `options` object is specified, it will default with the above values. + */ + export function readSync(fd: number, buffer: NodeJS.ArrayBufferView, opts?: ReadSyncOptions): number; + /** + * Asynchronously reads the entire contents of a file. + * + * ```js + * import { readFile } from 'node:fs'; + * + * readFile('/etc/passwd', (err, data) => { + * if (err) throw err; + * console.log(data); + * }); + * ``` + * + * The callback is passed two arguments `(err, data)`, where `data` is the + * contents of the file. + * + * If no encoding is specified, then the raw buffer is returned. + * + * If `options` is a string, then it specifies the encoding: + * + * ```js + * import { readFile } from 'node:fs'; + * + * readFile('/etc/passwd', 'utf8', callback); + * ``` + * + * When the path is a directory, the behavior of `fs.readFile()` and {@link readFileSync} is platform-specific. On macOS, Linux, and Windows, an + * error will be returned. On FreeBSD, a representation of the directory's contents + * will be returned. + * + * ```js + * import { readFile } from 'node:fs'; + * + * // macOS, Linux, and Windows + * readFile('', (err, data) => { + * // => [Error: EISDIR: illegal operation on a directory, read ] + * }); + * + * // FreeBSD + * readFile('', (err, data) => { + * // => null, + * }); + * ``` + * + * It is possible to abort an ongoing request using an `AbortSignal`. If a + * request is aborted the callback is called with an `AbortError`: + * + * ```js + * import { readFile } from 'node:fs'; + * + * const controller = new AbortController(); + * const signal = controller.signal; + * readFile(fileInfo[0].name, { signal }, (err, buf) => { + * // ... + * }); + * // When you want to abort the request + * controller.abort(); + * ``` + * + * The `fs.readFile()` function buffers the entire file. To minimize memory costs, + * when possible prefer streaming via `fs.createReadStream()`. + * + * Aborting an ongoing request does not abort individual operating + * system requests but rather the internal buffering `fs.readFile` performs. + * @since v0.1.29 + * @param path filename or file descriptor + */ + export function readFile( + path: PathOrFileDescriptor, + options: + | ({ + encoding?: null | undefined; + flag?: string | undefined; + } & Abortable) + | undefined + | null, + callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void, + ): void; + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + export function readFile( + path: PathOrFileDescriptor, + options: + | ({ + encoding: BufferEncoding; + flag?: string | undefined; + } & Abortable) + | BufferEncoding, + callback: (err: NodeJS.ErrnoException | null, data: string) => void, + ): void; + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + export function readFile( + path: PathOrFileDescriptor, + options: + | (ObjectEncodingOptions & { + flag?: string | undefined; + } & Abortable) + | BufferEncoding + | undefined + | null, + callback: (err: NodeJS.ErrnoException | null, data: string | Buffer) => void, + ): void; + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + */ + export function readFile( + path: PathOrFileDescriptor, + callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void, + ): void; + export namespace readFile { + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param options An object that may contain an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + function __promisify__( + path: PathOrFileDescriptor, + options?: { + encoding?: null | undefined; + flag?: string | undefined; + } | null, + ): Promise; + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + function __promisify__( + path: PathOrFileDescriptor, + options: + | { + encoding: BufferEncoding; + flag?: string | undefined; + } + | BufferEncoding, + ): Promise; + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + function __promisify__( + path: PathOrFileDescriptor, + options?: + | (ObjectEncodingOptions & { + flag?: string | undefined; + }) + | BufferEncoding + | null, + ): Promise; + } + /** + * Returns the contents of the `path`. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link readFile}. + * + * If the `encoding` option is specified then this function returns a + * string. Otherwise it returns a buffer. + * + * Similar to {@link readFile}, when the path is a directory, the behavior of`fs.readFileSync()` is platform-specific. + * + * ```js + * import { readFileSync } from 'node:fs'; + * + * // macOS, Linux, and Windows + * readFileSync(''); + * // => [Error: EISDIR: illegal operation on a directory, read ] + * + * // FreeBSD + * readFileSync(''); // => + * ``` + * @since v0.1.8 + * @param path filename or file descriptor + */ + export function readFileSync( + path: PathOrFileDescriptor, + options?: { + encoding?: null | undefined; + flag?: string | undefined; + } | null, + ): Buffer; + /** + * Synchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + export function readFileSync( + path: PathOrFileDescriptor, + options: + | { + encoding: BufferEncoding; + flag?: string | undefined; + } + | BufferEncoding, + ): string; + /** + * Synchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + export function readFileSync( + path: PathOrFileDescriptor, + options?: + | (ObjectEncodingOptions & { + flag?: string | undefined; + }) + | BufferEncoding + | null, + ): string | Buffer; + export type WriteFileOptions = + | ( + & ObjectEncodingOptions + & Abortable + & { + mode?: Mode | undefined; + flag?: string | undefined; + flush?: boolean | undefined; + } + ) + | BufferEncoding + | null; + /** + * When `file` is a filename, asynchronously writes data to the file, replacing the + * file if it already exists. `data` can be a string or a buffer. + * + * When `file` is a file descriptor, the behavior is similar to calling`fs.write()` directly (which is recommended). See the notes below on using + * a file descriptor. + * + * The `encoding` option is ignored if `data` is a buffer. + * + * The `mode` option only affects the newly created file. See {@link open} for more details. + * + * ```js + * import { writeFile } from 'node:fs'; + * import { Buffer } from 'node:buffer'; + * + * const data = new Uint8Array(Buffer.from('Hello Node.js')); + * writeFile('message.txt', data, (err) => { + * if (err) throw err; + * console.log('The file has been saved!'); + * }); + * ``` + * + * If `options` is a string, then it specifies the encoding: + * + * ```js + * import { writeFile } from 'node:fs'; + * + * writeFile('message.txt', 'Hello Node.js', 'utf8', callback); + * ``` + * + * It is unsafe to use `fs.writeFile()` multiple times on the same file without + * waiting for the callback. For this scenario, {@link createWriteStream} is + * recommended. + * + * Similarly to `fs.readFile` \- `fs.writeFile` is a convenience method that + * performs multiple `write` calls internally to write the buffer passed to it. + * For performance sensitive code consider using {@link createWriteStream}. + * + * It is possible to use an `AbortSignal` to cancel an `fs.writeFile()`. + * Cancelation is "best effort", and some amount of data is likely still + * to be written. + * + * ```js + * import { writeFile } from 'node:fs'; + * import { Buffer } from 'node:buffer'; + * + * const controller = new AbortController(); + * const { signal } = controller; + * const data = new Uint8Array(Buffer.from('Hello Node.js')); + * writeFile('message.txt', data, { signal }, (err) => { + * // When a request is aborted - the callback is called with an AbortError + * }); + * // When the request should be aborted + * controller.abort(); + * ``` + * + * Aborting an ongoing request does not abort individual operating + * system requests but rather the internal buffering `fs.writeFile` performs. + * @since v0.1.29 + * @param file filename or file descriptor + */ + export function writeFile( + file: PathOrFileDescriptor, + data: string | NodeJS.ArrayBufferView, + options: WriteFileOptions, + callback: NoParamCallback, + ): void; + /** + * Asynchronously writes data to a file, replacing the file if it already exists. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. + */ + export function writeFile( + path: PathOrFileDescriptor, + data: string | NodeJS.ArrayBufferView, + callback: NoParamCallback, + ): void; + export namespace writeFile { + /** + * Asynchronously writes data to a file, replacing the file if it already exists. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. + * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. + * If `encoding` is not supplied, the default of `'utf8'` is used. + * If `mode` is not supplied, the default of `0o666` is used. + * If `mode` is a string, it is parsed as an octal integer. + * If `flag` is not supplied, the default of `'w'` is used. + */ + function __promisify__( + path: PathOrFileDescriptor, + data: string | NodeJS.ArrayBufferView, + options?: WriteFileOptions, + ): Promise; + } + /** + * Returns `undefined`. + * + * The `mode` option only affects the newly created file. See {@link open} for more details. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link writeFile}. + * @since v0.1.29 + * @param file filename or file descriptor + */ + export function writeFileSync( + file: PathOrFileDescriptor, + data: string | NodeJS.ArrayBufferView, + options?: WriteFileOptions, + ): void; + /** + * Asynchronously append data to a file, creating the file if it does not yet + * exist. `data` can be a string or a `Buffer`. + * + * The `mode` option only affects the newly created file. See {@link open} for more details. + * + * ```js + * import { appendFile } from 'node:fs'; + * + * appendFile('message.txt', 'data to append', (err) => { + * if (err) throw err; + * console.log('The "data to append" was appended to file!'); + * }); + * ``` + * + * If `options` is a string, then it specifies the encoding: + * + * ```js + * import { appendFile } from 'node:fs'; + * + * appendFile('message.txt', 'data to append', 'utf8', callback); + * ``` + * + * The `path` may be specified as a numeric file descriptor that has been opened + * for appending (using `fs.open()` or `fs.openSync()`). The file descriptor will + * not be closed automatically. + * + * ```js + * import { open, close, appendFile } from 'node:fs'; + * + * function closeFd(fd) { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * + * open('message.txt', 'a', (err, fd) => { + * if (err) throw err; + * + * try { + * appendFile(fd, 'data to append', 'utf8', (err) => { + * closeFd(fd); + * if (err) throw err; + * }); + * } catch (err) { + * closeFd(fd); + * throw err; + * } + * }); + * ``` + * @since v0.6.7 + * @param path filename or file descriptor + */ + export function appendFile( + path: PathOrFileDescriptor, + data: string | Uint8Array, + options: WriteFileOptions, + callback: NoParamCallback, + ): void; + /** + * Asynchronously append data to a file, creating the file if it does not exist. + * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. + */ + export function appendFile(file: PathOrFileDescriptor, data: string | Uint8Array, callback: NoParamCallback): void; + export namespace appendFile { + /** + * Asynchronously append data to a file, creating the file if it does not exist. + * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. + * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. + * If `encoding` is not supplied, the default of `'utf8'` is used. + * If `mode` is not supplied, the default of `0o666` is used. + * If `mode` is a string, it is parsed as an octal integer. + * If `flag` is not supplied, the default of `'a'` is used. + */ + function __promisify__( + file: PathOrFileDescriptor, + data: string | Uint8Array, + options?: WriteFileOptions, + ): Promise; + } + /** + * Synchronously append data to a file, creating the file if it does not yet + * exist. `data` can be a string or a `Buffer`. + * + * The `mode` option only affects the newly created file. See {@link open} for more details. + * + * ```js + * import { appendFileSync } from 'node:fs'; + * + * try { + * appendFileSync('message.txt', 'data to append'); + * console.log('The "data to append" was appended to file!'); + * } catch (err) { + * // Handle the error + * } + * ``` + * + * If `options` is a string, then it specifies the encoding: + * + * ```js + * import { appendFileSync } from 'node:fs'; + * + * appendFileSync('message.txt', 'data to append', 'utf8'); + * ``` + * + * The `path` may be specified as a numeric file descriptor that has been opened + * for appending (using `fs.open()` or `fs.openSync()`). The file descriptor will + * not be closed automatically. + * + * ```js + * import { openSync, closeSync, appendFileSync } from 'node:fs'; + * + * let fd; + * + * try { + * fd = openSync('message.txt', 'a'); + * appendFileSync(fd, 'data to append', 'utf8'); + * } catch (err) { + * // Handle the error + * } finally { + * if (fd !== undefined) + * closeSync(fd); + * } + * ``` + * @since v0.6.7 + * @param path filename or file descriptor + */ + export function appendFileSync( + path: PathOrFileDescriptor, + data: string | Uint8Array, + options?: WriteFileOptions, + ): void; + /** + * Watch for changes on `filename`. The callback `listener` will be called each + * time the file is accessed. + * + * The `options` argument may be omitted. If provided, it should be an object. The`options` object may contain a boolean named `persistent` that indicates + * whether the process should continue to run as long as files are being watched. + * The `options` object may specify an `interval` property indicating how often the + * target should be polled in milliseconds. + * + * The `listener` gets two arguments the current stat object and the previous + * stat object: + * + * ```js + * import { watchFile } from 'fs'; + * + * watchFile('message.text', (curr, prev) => { + * console.log(`the current mtime is: ${curr.mtime}`); + * console.log(`the previous mtime was: ${prev.mtime}`); + * }); + * ``` + * + * These stat objects are instances of `fs.Stat`. If the `bigint` option is `true`, + * the numeric values in these objects are specified as `BigInt`s. + * + * To be notified when the file was modified, not just accessed, it is necessary + * to compare `curr.mtimeMs` and `prev.mtimeMs`. + * + * When an `fs.watchFile` operation results in an `ENOENT` error, it + * will invoke the listener once, with all the fields zeroed (or, for dates, the + * Unix Epoch). If the file is created later on, the listener will be called + * again, with the latest stat objects. This is a change in functionality since + * v0.10. + * + * Using {@link watch} is more efficient than `fs.watchFile` and`fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and`fs.unwatchFile` when possible. + * + * When a file being watched by `fs.watchFile()` disappears and reappears, + * then the contents of `previous` in the second callback event (the file's + * reappearance) will be the same as the contents of `previous` in the first + * callback event (its disappearance). + * + * This happens when: + * + * * the file is deleted, followed by a restore + * * the file is renamed and then renamed a second time back to its original name + * @since v0.1.31 + */ + export interface WatchFileOptions { + bigint?: boolean | undefined; + persistent?: boolean | undefined; + interval?: number | undefined; + } + /** + * Watch for changes on `filename`. The callback `listener` will be called each + * time the file is accessed. + * + * The `options` argument may be omitted. If provided, it should be an object. The`options` object may contain a boolean named `persistent` that indicates + * whether the process should continue to run as long as files are being watched. + * The `options` object may specify an `interval` property indicating how often the + * target should be polled in milliseconds. + * + * The `listener` gets two arguments the current stat object and the previous + * stat object: + * + * ```js + * import { watchFile } from 'node:fs'; + * + * watchFile('message.text', (curr, prev) => { + * console.log(`the current mtime is: ${curr.mtime}`); + * console.log(`the previous mtime was: ${prev.mtime}`); + * }); + * ``` + * + * These stat objects are instances of `fs.Stat`. If the `bigint` option is `true`, + * the numeric values in these objects are specified as `BigInt`s. + * + * To be notified when the file was modified, not just accessed, it is necessary + * to compare `curr.mtimeMs` and `prev.mtimeMs`. + * + * When an `fs.watchFile` operation results in an `ENOENT` error, it + * will invoke the listener once, with all the fields zeroed (or, for dates, the + * Unix Epoch). If the file is created later on, the listener will be called + * again, with the latest stat objects. This is a change in functionality since + * v0.10. + * + * Using {@link watch} is more efficient than `fs.watchFile` and`fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and`fs.unwatchFile` when possible. + * + * When a file being watched by `fs.watchFile()` disappears and reappears, + * then the contents of `previous` in the second callback event (the file's + * reappearance) will be the same as the contents of `previous` in the first + * callback event (its disappearance). + * + * This happens when: + * + * * the file is deleted, followed by a restore + * * the file is renamed and then renamed a second time back to its original name + * @since v0.1.31 + */ + export function watchFile( + filename: PathLike, + options: + | (WatchFileOptions & { + bigint?: false | undefined; + }) + | undefined, + listener: StatsListener, + ): StatWatcher; + export function watchFile( + filename: PathLike, + options: + | (WatchFileOptions & { + bigint: true; + }) + | undefined, + listener: BigIntStatsListener, + ): StatWatcher; + /** + * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed. + * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + */ + export function watchFile(filename: PathLike, listener: StatsListener): StatWatcher; + /** + * Stop watching for changes on `filename`. If `listener` is specified, only that + * particular listener is removed. Otherwise, _all_ listeners are removed, + * effectively stopping watching of `filename`. + * + * Calling `fs.unwatchFile()` with a filename that is not being watched is a + * no-op, not an error. + * + * Using {@link watch} is more efficient than `fs.watchFile()` and`fs.unwatchFile()`. `fs.watch()` should be used instead of `fs.watchFile()`and `fs.unwatchFile()` when possible. + * @since v0.1.31 + * @param listener Optional, a listener previously attached using `fs.watchFile()` + */ + export function unwatchFile(filename: PathLike, listener?: StatsListener): void; + export function unwatchFile(filename: PathLike, listener?: BigIntStatsListener): void; + export interface WatchOptions extends Abortable { + encoding?: BufferEncoding | "buffer" | undefined; + persistent?: boolean | undefined; + recursive?: boolean | undefined; + } + export type WatchEventType = "rename" | "change"; + export type WatchListener = (event: WatchEventType, filename: T | null) => void; + export type StatsListener = (curr: Stats, prev: Stats) => void; + export type BigIntStatsListener = (curr: BigIntStats, prev: BigIntStats) => void; + /** + * Watch for changes on `filename`, where `filename` is either a file or a + * directory. + * + * The second argument is optional. If `options` is provided as a string, it + * specifies the `encoding`. Otherwise `options` should be passed as an object. + * + * The listener callback gets two arguments `(eventType, filename)`. `eventType`is either `'rename'` or `'change'`, and `filename` is the name of the file + * which triggered the event. + * + * On most platforms, `'rename'` is emitted whenever a filename appears or + * disappears in the directory. + * + * The listener callback is attached to the `'change'` event fired by `fs.FSWatcher`, but it is not the same thing as the `'change'` value of`eventType`. + * + * If a `signal` is passed, aborting the corresponding AbortController will close + * the returned `fs.FSWatcher`. + * @since v0.5.10 + * @param listener + */ + export function watch( + filename: PathLike, + options: + | (WatchOptions & { + encoding: "buffer"; + }) + | "buffer", + listener?: WatchListener, + ): FSWatcher; + /** + * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. + * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. + * If `encoding` is not supplied, the default of `'utf8'` is used. + * If `persistent` is not supplied, the default of `true` is used. + * If `recursive` is not supplied, the default of `false` is used. + */ + export function watch( + filename: PathLike, + options?: WatchOptions | BufferEncoding | null, + listener?: WatchListener, + ): FSWatcher; + /** + * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. + * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. + * If `encoding` is not supplied, the default of `'utf8'` is used. + * If `persistent` is not supplied, the default of `true` is used. + * If `recursive` is not supplied, the default of `false` is used. + */ + export function watch( + filename: PathLike, + options: WatchOptions | string, + listener?: WatchListener, + ): FSWatcher; + /** + * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. + * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + */ + export function watch(filename: PathLike, listener?: WatchListener): FSWatcher; + /** + * Test whether or not the given path exists by checking with the file system. + * Then call the `callback` argument with either true or false: + * + * ```js + * import { exists } from 'node:fs'; + * + * exists('/etc/passwd', (e) => { + * console.log(e ? 'it exists' : 'no passwd!'); + * }); + * ``` + * + * **The parameters for this callback are not consistent with other Node.js** + * **callbacks.** Normally, the first parameter to a Node.js callback is an `err`parameter, optionally followed by other parameters. The `fs.exists()` callback + * has only one boolean parameter. This is one reason `fs.access()` is recommended + * instead of `fs.exists()`. + * + * Using `fs.exists()` to check for the existence of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()` is not recommended. Doing + * so introduces a race condition, since other processes may change the file's + * state between the two calls. Instead, user code should open/read/write the + * file directly and handle the error raised if the file does not exist. + * + * **write (NOT RECOMMENDED)** + * + * ```js + * import { exists, open, close } from 'node:fs'; + * + * exists('myfile', (e) => { + * if (e) { + * console.error('myfile already exists'); + * } else { + * open('myfile', 'wx', (err, fd) => { + * if (err) throw err; + * + * try { + * writeMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * } + * }); + * ``` + * + * **write (RECOMMENDED)** + * + * ```js + * import { open, close } from 'node:fs'; + * open('myfile', 'wx', (err, fd) => { + * if (err) { + * if (err.code === 'EEXIST') { + * console.error('myfile already exists'); + * return; + * } + * + * throw err; + * } + * + * try { + * writeMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * ``` + * + * **read (NOT RECOMMENDED)** + * + * ```js + * import { open, close, exists } from 'node:fs'; + * + * exists('myfile', (e) => { + * if (e) { + * open('myfile', 'r', (err, fd) => { + * if (err) throw err; + * + * try { + * readMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * } else { + * console.error('myfile does not exist'); + * } + * }); + * ``` + * + * **read (RECOMMENDED)** + * + * ```js + * import { open, close } from 'node:fs'; + * + * open('myfile', 'r', (err, fd) => { + * if (err) { + * if (err.code === 'ENOENT') { + * console.error('myfile does not exist'); + * return; + * } + * + * throw err; + * } + * + * try { + * readMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * ``` + * + * The "not recommended" examples above check for existence and then use the + * file; the "recommended" examples are better because they use the file directly + * and handle the error, if any. + * + * In general, check for the existence of a file only if the file won't be + * used directly, for example when its existence is a signal from another + * process. + * @since v0.0.2 + * @deprecated Since v1.0.0 - Use {@link stat} or {@link access} instead. + */ + export function exists(path: PathLike, callback: (exists: boolean) => void): void; + /** @deprecated */ + export namespace exists { + /** + * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + */ + function __promisify__(path: PathLike): Promise; + } + /** + * Returns `true` if the path exists, `false` otherwise. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link exists}. + * + * `fs.exists()` is deprecated, but `fs.existsSync()` is not. The `callback`parameter to `fs.exists()` accepts parameters that are inconsistent with other + * Node.js callbacks. `fs.existsSync()` does not use a callback. + * + * ```js + * import { existsSync } from 'node:fs'; + * + * if (existsSync('/etc/passwd')) + * console.log('The path exists.'); + * ``` + * @since v0.1.21 + */ + export function existsSync(path: PathLike): boolean; + export namespace constants { + // File Access Constants + /** Constant for fs.access(). File is visible to the calling process. */ + const F_OK: number; + /** Constant for fs.access(). File can be read by the calling process. */ + const R_OK: number; + /** Constant for fs.access(). File can be written by the calling process. */ + const W_OK: number; + /** Constant for fs.access(). File can be executed by the calling process. */ + const X_OK: number; + // File Copy Constants + /** Constant for fs.copyFile. Flag indicating the destination file should not be overwritten if it already exists. */ + const COPYFILE_EXCL: number; + /** + * Constant for fs.copyFile. copy operation will attempt to create a copy-on-write reflink. + * If the underlying platform does not support copy-on-write, then a fallback copy mechanism is used. + */ + const COPYFILE_FICLONE: number; + /** + * Constant for fs.copyFile. Copy operation will attempt to create a copy-on-write reflink. + * If the underlying platform does not support copy-on-write, then the operation will fail with an error. + */ + const COPYFILE_FICLONE_FORCE: number; + // File Open Constants + /** Constant for fs.open(). Flag indicating to open a file for read-only access. */ + const O_RDONLY: number; + /** Constant for fs.open(). Flag indicating to open a file for write-only access. */ + const O_WRONLY: number; + /** Constant for fs.open(). Flag indicating to open a file for read-write access. */ + const O_RDWR: number; + /** Constant for fs.open(). Flag indicating to create the file if it does not already exist. */ + const O_CREAT: number; + /** Constant for fs.open(). Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists. */ + const O_EXCL: number; + /** + * Constant for fs.open(). Flag indicating that if path identifies a terminal device, + * opening the path shall not cause that terminal to become the controlling terminal for the process + * (if the process does not already have one). + */ + const O_NOCTTY: number; + /** Constant for fs.open(). Flag indicating that if the file exists and is a regular file, and the file is opened successfully for write access, its length shall be truncated to zero. */ + const O_TRUNC: number; + /** Constant for fs.open(). Flag indicating that data will be appended to the end of the file. */ + const O_APPEND: number; + /** Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory. */ + const O_DIRECTORY: number; + /** + * constant for fs.open(). + * Flag indicating reading accesses to the file system will no longer result in + * an update to the atime information associated with the file. + * This flag is available on Linux operating systems only. + */ + const O_NOATIME: number; + /** Constant for fs.open(). Flag indicating that the open should fail if the path is a symbolic link. */ + const O_NOFOLLOW: number; + /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O. */ + const O_SYNC: number; + /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O with write operations waiting for data integrity. */ + const O_DSYNC: number; + /** Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to. */ + const O_SYMLINK: number; + /** Constant for fs.open(). When set, an attempt will be made to minimize caching effects of file I/O. */ + const O_DIRECT: number; + /** Constant for fs.open(). Flag indicating to open the file in nonblocking mode when possible. */ + const O_NONBLOCK: number; + // File Type Constants + /** Constant for fs.Stats mode property for determining a file's type. Bit mask used to extract the file type code. */ + const S_IFMT: number; + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a regular file. */ + const S_IFREG: number; + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a directory. */ + const S_IFDIR: number; + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a character-oriented device file. */ + const S_IFCHR: number; + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a block-oriented device file. */ + const S_IFBLK: number; + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a FIFO/pipe. */ + const S_IFIFO: number; + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a symbolic link. */ + const S_IFLNK: number; + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a socket. */ + const S_IFSOCK: number; + // File Mode Constants + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by owner. */ + const S_IRWXU: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by owner. */ + const S_IRUSR: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by owner. */ + const S_IWUSR: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by owner. */ + const S_IXUSR: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by group. */ + const S_IRWXG: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by group. */ + const S_IRGRP: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by group. */ + const S_IWGRP: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by group. */ + const S_IXGRP: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by others. */ + const S_IRWXO: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by others. */ + const S_IROTH: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by others. */ + const S_IWOTH: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others. */ + const S_IXOTH: number; + /** + * When set, a memory file mapping is used to access the file. This flag + * is available on Windows operating systems only. On other operating systems, + * this flag is ignored. + */ + const UV_FS_O_FILEMAP: number; + } + /** + * Tests a user's permissions for the file or directory specified by `path`. + * The `mode` argument is an optional integer that specifies the accessibility + * checks to be performed. `mode` should be either the value `fs.constants.F_OK`or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`,`fs.constants.W_OK`, and `fs.constants.X_OK` + * (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for + * possible values of `mode`. + * + * The final argument, `callback`, is a callback function that is invoked with + * a possible error argument. If any of the accessibility checks fail, the error + * argument will be an `Error` object. The following examples check if`package.json` exists, and if it is readable or writable. + * + * ```js + * import { access, constants } from 'node:fs'; + * + * const file = 'package.json'; + * + * // Check if the file exists in the current directory. + * access(file, constants.F_OK, (err) => { + * console.log(`${file} ${err ? 'does not exist' : 'exists'}`); + * }); + * + * // Check if the file is readable. + * access(file, constants.R_OK, (err) => { + * console.log(`${file} ${err ? 'is not readable' : 'is readable'}`); + * }); + * + * // Check if the file is writable. + * access(file, constants.W_OK, (err) => { + * console.log(`${file} ${err ? 'is not writable' : 'is writable'}`); + * }); + * + * // Check if the file is readable and writable. + * access(file, constants.R_OK | constants.W_OK, (err) => { + * console.log(`${file} ${err ? 'is not' : 'is'} readable and writable`); + * }); + * ``` + * + * Do not use `fs.access()` to check for the accessibility of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()`. Doing + * so introduces a race condition, since other processes may change the file's + * state between the two calls. Instead, user code should open/read/write the + * file directly and handle the error raised if the file is not accessible. + * + * **write (NOT RECOMMENDED)** + * + * ```js + * import { access, open, close } from 'node:fs'; + * + * access('myfile', (err) => { + * if (!err) { + * console.error('myfile already exists'); + * return; + * } + * + * open('myfile', 'wx', (err, fd) => { + * if (err) throw err; + * + * try { + * writeMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * }); + * ``` + * + * **write (RECOMMENDED)** + * + * ```js + * import { open, close } from 'node:fs'; + * + * open('myfile', 'wx', (err, fd) => { + * if (err) { + * if (err.code === 'EEXIST') { + * console.error('myfile already exists'); + * return; + * } + * + * throw err; + * } + * + * try { + * writeMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * ``` + * + * **read (NOT RECOMMENDED)** + * + * ```js + * import { access, open, close } from 'node:fs'; + * access('myfile', (err) => { + * if (err) { + * if (err.code === 'ENOENT') { + * console.error('myfile does not exist'); + * return; + * } + * + * throw err; + * } + * + * open('myfile', 'r', (err, fd) => { + * if (err) throw err; + * + * try { + * readMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * }); + * ``` + * + * **read (RECOMMENDED)** + * + * ```js + * import { open, close } from 'node:fs'; + * + * open('myfile', 'r', (err, fd) => { + * if (err) { + * if (err.code === 'ENOENT') { + * console.error('myfile does not exist'); + * return; + * } + * + * throw err; + * } + * + * try { + * readMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * ``` + * + * The "not recommended" examples above check for accessibility and then use the + * file; the "recommended" examples are better because they use the file directly + * and handle the error, if any. + * + * In general, check for the accessibility of a file only if the file will not be + * used directly, for example when its accessibility is a signal from another + * process. + * + * On Windows, access-control policies (ACLs) on a directory may limit access to + * a file or directory. The `fs.access()` function, however, does not check the + * ACL and therefore may report that a path is accessible even if the ACL restricts + * the user from reading or writing to it. + * @since v0.11.15 + * @param [mode=fs.constants.F_OK] + */ + export function access(path: PathLike, mode: number | undefined, callback: NoParamCallback): void; + /** + * Asynchronously tests a user's permissions for the file specified by path. + * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + */ + export function access(path: PathLike, callback: NoParamCallback): void; + export namespace access { + /** + * Asynchronously tests a user's permissions for the file specified by path. + * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + */ + function __promisify__(path: PathLike, mode?: number): Promise; + } + /** + * Synchronously tests a user's permissions for the file or directory specified + * by `path`. The `mode` argument is an optional integer that specifies the + * accessibility checks to be performed. `mode` should be either the value`fs.constants.F_OK` or a mask consisting of the bitwise OR of any of`fs.constants.R_OK`, `fs.constants.W_OK`, and + * `fs.constants.X_OK` (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for + * possible values of `mode`. + * + * If any of the accessibility checks fail, an `Error` will be thrown. Otherwise, + * the method will return `undefined`. + * + * ```js + * import { accessSync, constants } from 'node:fs'; + * + * try { + * accessSync('etc/passwd', constants.R_OK | constants.W_OK); + * console.log('can read/write'); + * } catch (err) { + * console.error('no access!'); + * } + * ``` + * @since v0.11.15 + * @param [mode=fs.constants.F_OK] + */ + export function accessSync(path: PathLike, mode?: number): void; + interface StreamOptions { + flags?: string | undefined; + encoding?: BufferEncoding | undefined; + fd?: number | promises.FileHandle | undefined; + mode?: number | undefined; + autoClose?: boolean | undefined; + emitClose?: boolean | undefined; + start?: number | undefined; + signal?: AbortSignal | null | undefined; + highWaterMark?: number | undefined; + } + interface FSImplementation { + open?: (...args: any[]) => any; + close?: (...args: any[]) => any; + } + interface CreateReadStreamFSImplementation extends FSImplementation { + read: (...args: any[]) => any; + } + interface CreateWriteStreamFSImplementation extends FSImplementation { + write: (...args: any[]) => any; + writev?: (...args: any[]) => any; + } + interface ReadStreamOptions extends StreamOptions { + fs?: CreateReadStreamFSImplementation | null | undefined; + end?: number | undefined; + } + interface WriteStreamOptions extends StreamOptions { + fs?: CreateWriteStreamFSImplementation | null | undefined; + flush?: boolean | undefined; + } + /** + * Unlike the 16 KiB default `highWaterMark` for a `stream.Readable`, the stream + * returned by this method has a default `highWaterMark` of 64 KiB. + * + * `options` can include `start` and `end` values to read a range of bytes from + * the file instead of the entire file. Both `start` and `end` are inclusive and + * start counting at 0, allowed values are in the + * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. If `fd` is specified and `start` is + * omitted or `undefined`, `fs.createReadStream()` reads sequentially from the + * current file position. The `encoding` can be any one of those accepted by `Buffer`. + * + * If `fd` is specified, `ReadStream` will ignore the `path` argument and will use + * the specified file descriptor. This means that no `'open'` event will be + * emitted. `fd` should be blocking; non-blocking `fd`s should be passed to `net.Socket`. + * + * If `fd` points to a character device that only supports blocking reads + * (such as keyboard or sound card), read operations do not finish until data is + * available. This can prevent the process from exiting and the stream from + * closing naturally. + * + * By default, the stream will emit a `'close'` event after it has been + * destroyed. Set the `emitClose` option to `false` to change this behavior. + * + * By providing the `fs` option, it is possible to override the corresponding `fs`implementations for `open`, `read`, and `close`. When providing the `fs` option, + * an override for `read` is required. If no `fd` is provided, an override for`open` is also required. If `autoClose` is `true`, an override for `close` is + * also required. + * + * ```js + * import { createReadStream } from 'node:fs'; + * + * // Create a stream from some character device. + * const stream = createReadStream('/dev/input/event0'); + * setTimeout(() => { + * stream.close(); // This may not close the stream. + * // Artificially marking end-of-stream, as if the underlying resource had + * // indicated end-of-file by itself, allows the stream to close. + * // This does not cancel pending read operations, and if there is such an + * // operation, the process may still not be able to exit successfully + * // until it finishes. + * stream.push(null); + * stream.read(0); + * }, 100); + * ``` + * + * If `autoClose` is false, then the file descriptor won't be closed, even if + * there's an error. It is the application's responsibility to close it and make + * sure there's no file descriptor leak. If `autoClose` is set to true (default + * behavior), on `'error'` or `'end'` the file descriptor will be closed + * automatically. + * + * `mode` sets the file mode (permission and sticky bits), but only if the + * file was created. + * + * An example to read the last 10 bytes of a file which is 100 bytes long: + * + * ```js + * import { createReadStream } from 'node:fs'; + * + * createReadStream('sample.txt', { start: 90, end: 99 }); + * ``` + * + * If `options` is a string, then it specifies the encoding. + * @since v0.1.31 + */ + export function createReadStream(path: PathLike, options?: BufferEncoding | ReadStreamOptions): ReadStream; + /** + * `options` may also include a `start` option to allow writing data at some + * position past the beginning of the file, allowed values are in the + * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. Modifying a file rather than + * replacing it may require the `flags` option to be set to `r+` rather than the + * default `w`. The `encoding` can be any one of those accepted by `Buffer`. + * + * If `autoClose` is set to true (default behavior) on `'error'` or `'finish'`the file descriptor will be closed automatically. If `autoClose` is false, + * then the file descriptor won't be closed, even if there's an error. + * It is the application's responsibility to close it and make sure there's no + * file descriptor leak. + * + * By default, the stream will emit a `'close'` event after it has been + * destroyed. Set the `emitClose` option to `false` to change this behavior. + * + * By providing the `fs` option it is possible to override the corresponding `fs`implementations for `open`, `write`, `writev`, and `close`. Overriding `write()`without `writev()` can reduce + * performance as some optimizations (`_writev()`) + * will be disabled. When providing the `fs` option, overrides for at least one of`write` and `writev` are required. If no `fd` option is supplied, an override + * for `open` is also required. If `autoClose` is `true`, an override for `close`is also required. + * + * Like `fs.ReadStream`, if `fd` is specified, `fs.WriteStream` will ignore the`path` argument and will use the specified file descriptor. This means that no`'open'` event will be + * emitted. `fd` should be blocking; non-blocking `fd`s + * should be passed to `net.Socket`. + * + * If `options` is a string, then it specifies the encoding. + * @since v0.1.31 + */ + export function createWriteStream(path: PathLike, options?: BufferEncoding | WriteStreamOptions): WriteStream; + /** + * Forces all currently queued I/O operations associated with the file to the + * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. No arguments other + * than a possible + * exception are given to the completion callback. + * @since v0.1.96 + */ + export function fdatasync(fd: number, callback: NoParamCallback): void; + export namespace fdatasync { + /** + * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device. + * @param fd A file descriptor. + */ + function __promisify__(fd: number): Promise; + } + /** + * Forces all currently queued I/O operations associated with the file to the + * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. Returns `undefined`. + * @since v0.1.96 + */ + export function fdatasyncSync(fd: number): void; + /** + * Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it + * already exists. No arguments other than a possible exception are given to the + * callback function. Node.js makes no guarantees about the atomicity of the copy + * operation. If an error occurs after the destination file has been opened for + * writing, Node.js will attempt to remove the destination. + * + * `mode` is an optional integer that specifies the behavior + * of the copy operation. It is possible to create a mask consisting of the bitwise + * OR of two or more values (e.g.`fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`). + * + * * `fs.constants.COPYFILE_EXCL`: The copy operation will fail if `dest` already + * exists. + * * `fs.constants.COPYFILE_FICLONE`: The copy operation will attempt to create a + * copy-on-write reflink. If the platform does not support copy-on-write, then a + * fallback copy mechanism is used. + * * `fs.constants.COPYFILE_FICLONE_FORCE`: The copy operation will attempt to + * create a copy-on-write reflink. If the platform does not support + * copy-on-write, then the operation will fail. + * + * ```js + * import { copyFile, constants } from 'node:fs'; + * + * function callback(err) { + * if (err) throw err; + * console.log('source.txt was copied to destination.txt'); + * } + * + * // destination.txt will be created or overwritten by default. + * copyFile('source.txt', 'destination.txt', callback); + * + * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists. + * copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL, callback); + * ``` + * @since v8.5.0 + * @param src source filename to copy + * @param dest destination filename of the copy operation + * @param [mode=0] modifiers for copy operation. + */ + export function copyFile(src: PathLike, dest: PathLike, callback: NoParamCallback): void; + export function copyFile(src: PathLike, dest: PathLike, mode: number, callback: NoParamCallback): void; + export namespace copyFile { + function __promisify__(src: PathLike, dst: PathLike, mode?: number): Promise; + } + /** + * Synchronously copies `src` to `dest`. By default, `dest` is overwritten if it + * already exists. Returns `undefined`. Node.js makes no guarantees about the + * atomicity of the copy operation. If an error occurs after the destination file + * has been opened for writing, Node.js will attempt to remove the destination. + * + * `mode` is an optional integer that specifies the behavior + * of the copy operation. It is possible to create a mask consisting of the bitwise + * OR of two or more values (e.g.`fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`). + * + * * `fs.constants.COPYFILE_EXCL`: The copy operation will fail if `dest` already + * exists. + * * `fs.constants.COPYFILE_FICLONE`: The copy operation will attempt to create a + * copy-on-write reflink. If the platform does not support copy-on-write, then a + * fallback copy mechanism is used. + * * `fs.constants.COPYFILE_FICLONE_FORCE`: The copy operation will attempt to + * create a copy-on-write reflink. If the platform does not support + * copy-on-write, then the operation will fail. + * + * ```js + * import { copyFileSync, constants } from 'node:fs'; + * + * // destination.txt will be created or overwritten by default. + * copyFileSync('source.txt', 'destination.txt'); + * console.log('source.txt was copied to destination.txt'); + * + * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists. + * copyFileSync('source.txt', 'destination.txt', constants.COPYFILE_EXCL); + * ``` + * @since v8.5.0 + * @param src source filename to copy + * @param dest destination filename of the copy operation + * @param [mode=0] modifiers for copy operation. + */ + export function copyFileSync(src: PathLike, dest: PathLike, mode?: number): void; + /** + * Write an array of `ArrayBufferView`s to the file specified by `fd` using`writev()`. + * + * `position` is the offset from the beginning of the file where this data + * should be written. If `typeof position !== 'number'`, the data will be written + * at the current position. + * + * The callback will be given three arguments: `err`, `bytesWritten`, and`buffers`. `bytesWritten` is how many bytes were written from `buffers`. + * + * If this method is `util.promisify()` ed, it returns a promise for an`Object` with `bytesWritten` and `buffers` properties. + * + * It is unsafe to use `fs.writev()` multiple times on the same file without + * waiting for the callback. For this scenario, use {@link createWriteStream}. + * + * On Linux, positional writes don't work when the file is opened in append mode. + * The kernel ignores the position argument and always appends the data to + * the end of the file. + * @since v12.9.0 + * @param [position='null'] + */ + export function writev( + fd: number, + buffers: readonly NodeJS.ArrayBufferView[], + cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void, + ): void; + export function writev( + fd: number, + buffers: readonly NodeJS.ArrayBufferView[], + position: number, + cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void, + ): void; + export interface WriteVResult { + bytesWritten: number; + buffers: NodeJS.ArrayBufferView[]; + } + export namespace writev { + function __promisify__( + fd: number, + buffers: readonly NodeJS.ArrayBufferView[], + position?: number, + ): Promise; + } + /** + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link writev}. + * @since v12.9.0 + * @param [position='null'] + * @return The number of bytes written. + */ + export function writevSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number; + /** + * Read from a file specified by `fd` and write to an array of `ArrayBufferView`s + * using `readv()`. + * + * `position` is the offset from the beginning of the file from where data + * should be read. If `typeof position !== 'number'`, the data will be read + * from the current position. + * + * The callback will be given three arguments: `err`, `bytesRead`, and`buffers`. `bytesRead` is how many bytes were read from the file. + * + * If this method is invoked as its `util.promisify()` ed version, it returns + * a promise for an `Object` with `bytesRead` and `buffers` properties. + * @since v13.13.0, v12.17.0 + * @param [position='null'] + */ + export function readv( + fd: number, + buffers: readonly NodeJS.ArrayBufferView[], + cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void, + ): void; + export function readv( + fd: number, + buffers: readonly NodeJS.ArrayBufferView[], + position: number, + cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void, + ): void; + export interface ReadVResult { + bytesRead: number; + buffers: NodeJS.ArrayBufferView[]; + } + export namespace readv { + function __promisify__( + fd: number, + buffers: readonly NodeJS.ArrayBufferView[], + position?: number, + ): Promise; + } + /** + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link readv}. + * @since v13.13.0, v12.17.0 + * @param [position='null'] + * @return The number of bytes read. + */ + export function readvSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number; + + export interface OpenAsBlobOptions { + /** + * An optional mime type for the blob. + * + * @default 'undefined' + */ + type?: string | undefined; + } + + /** + * Returns a `Blob` whose data is backed by the given file. + * + * The file must not be modified after the `Blob` is created. Any modifications + * will cause reading the `Blob` data to fail with a `DOMException` error. + * Synchronous stat operations on the file when the `Blob` is created, and before + * each read in order to detect whether the file data has been modified on disk. + * + * ```js + * import { openAsBlob } from 'node:fs'; + * + * const blob = await openAsBlob('the.file.txt'); + * const ab = await blob.arrayBuffer(); + * blob.stream(); + * ``` + * @since v19.8.0 + * @experimental + */ + export function openAsBlob(path: PathLike, options?: OpenAsBlobOptions): Promise; + + export interface OpenDirOptions { + /** + * @default 'utf8' + */ + encoding?: BufferEncoding | undefined; + /** + * Number of directory entries that are buffered + * internally when reading from the directory. Higher values lead to better + * performance but higher memory usage. + * @default 32 + */ + bufferSize?: number | undefined; + /** + * @default false + */ + recursive?: boolean; + } + /** + * Synchronously open a directory. See [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html). + * + * Creates an `fs.Dir`, which contains all further functions for reading from + * and cleaning up the directory. + * + * The `encoding` option sets the encoding for the `path` while opening the + * directory and subsequent read operations. + * @since v12.12.0 + */ + export function opendirSync(path: PathLike, options?: OpenDirOptions): Dir; + /** + * Asynchronously open a directory. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for + * more details. + * + * Creates an `fs.Dir`, which contains all further functions for reading from + * and cleaning up the directory. + * + * The `encoding` option sets the encoding for the `path` while opening the + * directory and subsequent read operations. + * @since v12.12.0 + */ + export function opendir(path: PathLike, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void; + export function opendir( + path: PathLike, + options: OpenDirOptions, + cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void, + ): void; + export namespace opendir { + function __promisify__(path: PathLike, options?: OpenDirOptions): Promise; + } + export interface BigIntStats extends StatsBase { + atimeNs: bigint; + mtimeNs: bigint; + ctimeNs: bigint; + birthtimeNs: bigint; + } + export interface BigIntOptions { + bigint: true; + } + export interface StatOptions { + bigint?: boolean | undefined; + } + export interface StatSyncOptions extends StatOptions { + throwIfNoEntry?: boolean | undefined; + } + interface CopyOptionsBase { + /** + * Dereference symlinks + * @default false + */ + dereference?: boolean; + /** + * When `force` is `false`, and the destination + * exists, throw an error. + * @default false + */ + errorOnExist?: boolean; + /** + * Overwrite existing file or directory. _The copy + * operation will ignore errors if you set this to false and the destination + * exists. Use the `errorOnExist` option to change this behavior. + * @default true + */ + force?: boolean; + /** + * Modifiers for copy operation. See `mode` flag of {@link copyFileSync()} + */ + mode?: number; + /** + * When `true` timestamps from `src` will + * be preserved. + * @default false + */ + preserveTimestamps?: boolean; + /** + * Copy directories recursively. + * @default false + */ + recursive?: boolean; + /** + * When true, path resolution for symlinks will be skipped + * @default false + */ + verbatimSymlinks?: boolean; + } + export interface CopyOptions extends CopyOptionsBase { + /** + * Function to filter copied files/directories. Return + * `true` to copy the item, `false` to ignore it. + */ + filter?(source: string, destination: string): boolean | Promise; + } + export interface CopySyncOptions extends CopyOptionsBase { + /** + * Function to filter copied files/directories. Return + * `true` to copy the item, `false` to ignore it. + */ + filter?(source: string, destination: string): boolean; + } + /** + * Asynchronously copies the entire directory structure from `src` to `dest`, + * including subdirectories and files. + * + * When copying a directory to another directory, globs are not supported and + * behavior is similar to `cp dir1/ dir2/`. + * @since v16.7.0 + * @experimental + * @param src source path to copy. + * @param dest destination path to copy to. + */ + export function cp( + source: string | URL, + destination: string | URL, + callback: (err: NodeJS.ErrnoException | null) => void, + ): void; + export function cp( + source: string | URL, + destination: string | URL, + opts: CopyOptions, + callback: (err: NodeJS.ErrnoException | null) => void, + ): void; + /** + * Synchronously copies the entire directory structure from `src` to `dest`, + * including subdirectories and files. + * + * When copying a directory to another directory, globs are not supported and + * behavior is similar to `cp dir1/ dir2/`. + * @since v16.7.0 + * @experimental + * @param src source path to copy. + * @param dest destination path to copy to. + */ + export function cpSync(source: string | URL, destination: string | URL, opts?: CopySyncOptions): void; +} +declare module "node:fs" { + export * from "fs"; +} diff --git a/node_modules/@types/node/fs/promises.d.ts b/node_modules/@types/node/fs/promises.d.ts new file mode 100644 index 000000000..88a9fc33e --- /dev/null +++ b/node_modules/@types/node/fs/promises.d.ts @@ -0,0 +1,1239 @@ +/** + * The `fs/promises` API provides asynchronous file system methods that return + * promises. + * + * The promise APIs use the underlying Node.js threadpool to perform file + * system operations off the event loop thread. These operations are not + * synchronized or threadsafe. Care must be taken when performing multiple + * concurrent modifications on the same file or data corruption may occur. + * @since v10.0.0 + */ +declare module "fs/promises" { + import { Abortable } from "node:events"; + import { Stream } from "node:stream"; + import { ReadableStream } from "node:stream/web"; + import { + BigIntStats, + BigIntStatsFs, + BufferEncodingOption, + constants as fsConstants, + CopyOptions, + Dir, + Dirent, + MakeDirectoryOptions, + Mode, + ObjectEncodingOptions, + OpenDirOptions, + OpenMode, + PathLike, + ReadStream, + ReadVResult, + RmDirOptions, + RmOptions, + StatFsOptions, + StatOptions, + Stats, + StatsFs, + TimeLike, + WatchEventType, + WatchOptions, + WriteStream, + WriteVResult, + } from "node:fs"; + import { Interface as ReadlineInterface } from "node:readline"; + interface FileChangeInfo { + eventType: WatchEventType; + filename: T | null; + } + interface FlagAndOpenMode { + mode?: Mode | undefined; + flag?: OpenMode | undefined; + } + interface FileReadResult { + bytesRead: number; + buffer: T; + } + interface FileReadOptions { + /** + * @default `Buffer.alloc(0xffff)` + */ + buffer?: T; + /** + * @default 0 + */ + offset?: number | null; + /** + * @default `buffer.byteLength` + */ + length?: number | null; + position?: number | null; + } + interface CreateReadStreamOptions { + encoding?: BufferEncoding | null | undefined; + autoClose?: boolean | undefined; + emitClose?: boolean | undefined; + start?: number | undefined; + end?: number | undefined; + highWaterMark?: number | undefined; + } + interface CreateWriteStreamOptions { + encoding?: BufferEncoding | null | undefined; + autoClose?: boolean | undefined; + emitClose?: boolean | undefined; + start?: number | undefined; + highWaterMark?: number | undefined; + flush?: boolean | undefined; + } + interface ReadableWebStreamOptions { + /** + * Whether to open a normal or a `'bytes'` stream. + * @since v20.0.0 + */ + type?: "bytes" | undefined; + } + // TODO: Add `EventEmitter` close + interface FileHandle { + /** + * The numeric file descriptor managed by the {FileHandle} object. + * @since v10.0.0 + */ + readonly fd: number; + /** + * Alias of `filehandle.writeFile()`. + * + * When operating on file handles, the mode cannot be changed from what it was set + * to with `fsPromises.open()`. Therefore, this is equivalent to `filehandle.writeFile()`. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + appendFile( + data: string | Uint8Array, + options?: + | (ObjectEncodingOptions & FlagAndOpenMode & { flush?: boolean | undefined }) + | BufferEncoding + | null, + ): Promise; + /** + * Changes the ownership of the file. A wrapper for [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html). + * @since v10.0.0 + * @param uid The file's new owner's user id. + * @param gid The file's new group's group id. + * @return Fulfills with `undefined` upon success. + */ + chown(uid: number, gid: number): Promise; + /** + * Modifies the permissions on the file. See [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html). + * @since v10.0.0 + * @param mode the file mode bit mask. + * @return Fulfills with `undefined` upon success. + */ + chmod(mode: Mode): Promise; + /** + * Unlike the 16 KiB default `highWaterMark` for a `stream.Readable`, the stream + * returned by this method has a default `highWaterMark` of 64 KiB. + * + * `options` can include `start` and `end` values to read a range of bytes from + * the file instead of the entire file. Both `start` and `end` are inclusive and + * start counting at 0, allowed values are in the + * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. If `start` is + * omitted or `undefined`, `filehandle.createReadStream()` reads sequentially from + * the current file position. The `encoding` can be any one of those accepted by `Buffer`. + * + * If the `FileHandle` points to a character device that only supports blocking + * reads (such as keyboard or sound card), read operations do not finish until data + * is available. This can prevent the process from exiting and the stream from + * closing naturally. + * + * By default, the stream will emit a `'close'` event after it has been + * destroyed. Set the `emitClose` option to `false` to change this behavior. + * + * ```js + * import { open } from 'node:fs/promises'; + * + * const fd = await open('/dev/input/event0'); + * // Create a stream from some character device. + * const stream = fd.createReadStream(); + * setTimeout(() => { + * stream.close(); // This may not close the stream. + * // Artificially marking end-of-stream, as if the underlying resource had + * // indicated end-of-file by itself, allows the stream to close. + * // This does not cancel pending read operations, and if there is such an + * // operation, the process may still not be able to exit successfully + * // until it finishes. + * stream.push(null); + * stream.read(0); + * }, 100); + * ``` + * + * If `autoClose` is false, then the file descriptor won't be closed, even if + * there's an error. It is the application's responsibility to close it and make + * sure there's no file descriptor leak. If `autoClose` is set to true (default + * behavior), on `'error'` or `'end'` the file descriptor will be closed + * automatically. + * + * An example to read the last 10 bytes of a file which is 100 bytes long: + * + * ```js + * import { open } from 'node:fs/promises'; + * + * const fd = await open('sample.txt'); + * fd.createReadStream({ start: 90, end: 99 }); + * ``` + * @since v16.11.0 + */ + createReadStream(options?: CreateReadStreamOptions): ReadStream; + /** + * `options` may also include a `start` option to allow writing data at some + * position past the beginning of the file, allowed values are in the + * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. Modifying a file rather than + * replacing it may require the `flags` `open` option to be set to `r+` rather than + * the default `r`. The `encoding` can be any one of those accepted by `Buffer`. + * + * If `autoClose` is set to true (default behavior) on `'error'` or `'finish'`the file descriptor will be closed automatically. If `autoClose` is false, + * then the file descriptor won't be closed, even if there's an error. + * It is the application's responsibility to close it and make sure there's no + * file descriptor leak. + * + * By default, the stream will emit a `'close'` event after it has been + * destroyed. Set the `emitClose` option to `false` to change this behavior. + * @since v16.11.0 + */ + createWriteStream(options?: CreateWriteStreamOptions): WriteStream; + /** + * Forces all currently queued I/O operations associated with the file to the + * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. + * + * Unlike `filehandle.sync` this method does not flush modified metadata. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + datasync(): Promise; + /** + * Request that all data for the open file descriptor is flushed to the storage + * device. The specific implementation is operating system and device specific. + * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + sync(): Promise; + /** + * Reads data from the file and stores that in the given buffer. + * + * If the file is not modified concurrently, the end-of-file is reached when the + * number of bytes read is zero. + * @since v10.0.0 + * @param buffer A buffer that will be filled with the file data read. + * @param offset The location in the buffer at which to start filling. + * @param length The number of bytes to read. + * @param position The location where to begin reading data from the file. If `null`, data will be read from the current file position, and the position will be updated. If `position` is an + * integer, the current file position will remain unchanged. + * @return Fulfills upon success with an object with two properties: + */ + read( + buffer: T, + offset?: number | null, + length?: number | null, + position?: number | null, + ): Promise>; + read(options?: FileReadOptions): Promise>; + /** + * Returns a `ReadableStream` that may be used to read the files data. + * + * An error will be thrown if this method is called more than once or is called + * after the `FileHandle` is closed or closing. + * + * ```js + * import { + * open, + * } from 'node:fs/promises'; + * + * const file = await open('./some/file/to/read'); + * + * for await (const chunk of file.readableWebStream()) + * console.log(chunk); + * + * await file.close(); + * ``` + * + * While the `ReadableStream` will read the file to completion, it will not + * close the `FileHandle` automatically. User code must still call the`fileHandle.close()` method. + * @since v17.0.0 + * @experimental + */ + readableWebStream(options?: ReadableWebStreamOptions): ReadableStream; + /** + * Asynchronously reads the entire contents of a file. + * + * If `options` is a string, then it specifies the `encoding`. + * + * The `FileHandle` has to support reading. + * + * If one or more `filehandle.read()` calls are made on a file handle and then a`filehandle.readFile()` call is made, the data will be read from the current + * position till the end of the file. It doesn't always read from the beginning + * of the file. + * @since v10.0.0 + * @return Fulfills upon a successful read with the contents of the file. If no encoding is specified (using `options.encoding`), the data is returned as a {Buffer} object. Otherwise, the + * data will be a string. + */ + readFile( + options?: { + encoding?: null | undefined; + flag?: OpenMode | undefined; + } | null, + ): Promise; + /** + * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically. + * The `FileHandle` must have been opened for reading. + * @param options An object that may contain an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + readFile( + options: + | { + encoding: BufferEncoding; + flag?: OpenMode | undefined; + } + | BufferEncoding, + ): Promise; + /** + * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically. + * The `FileHandle` must have been opened for reading. + * @param options An object that may contain an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + readFile( + options?: + | (ObjectEncodingOptions & { + flag?: OpenMode | undefined; + }) + | BufferEncoding + | null, + ): Promise; + /** + * Convenience method to create a `readline` interface and stream over the file. + * See `filehandle.createReadStream()` for the options. + * + * ```js + * import { open } from 'node:fs/promises'; + * + * const file = await open('./some/file/to/read'); + * + * for await (const line of file.readLines()) { + * console.log(line); + * } + * ``` + * @since v18.11.0 + */ + readLines(options?: CreateReadStreamOptions): ReadlineInterface; + /** + * @since v10.0.0 + * @return Fulfills with an {fs.Stats} for the file. + */ + stat( + opts?: StatOptions & { + bigint?: false | undefined; + }, + ): Promise; + stat( + opts: StatOptions & { + bigint: true; + }, + ): Promise; + stat(opts?: StatOptions): Promise; + /** + * Truncates the file. + * + * If the file was larger than `len` bytes, only the first `len` bytes will be + * retained in the file. + * + * The following example retains only the first four bytes of the file: + * + * ```js + * import { open } from 'node:fs/promises'; + * + * let filehandle = null; + * try { + * filehandle = await open('temp.txt', 'r+'); + * await filehandle.truncate(4); + * } finally { + * await filehandle?.close(); + * } + * ``` + * + * If the file previously was shorter than `len` bytes, it is extended, and the + * extended part is filled with null bytes (`'\0'`): + * + * If `len` is negative then `0` will be used. + * @since v10.0.0 + * @param [len=0] + * @return Fulfills with `undefined` upon success. + */ + truncate(len?: number): Promise; + /** + * Change the file system timestamps of the object referenced by the `FileHandle` then fulfills the promise with no arguments upon success. + * @since v10.0.0 + */ + utimes(atime: TimeLike, mtime: TimeLike): Promise; + /** + * Asynchronously writes data to a file, replacing the file if it already exists.`data` can be a string, a buffer, an + * [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface), or an + * [Iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol) object. + * The promise is fulfilled with no arguments upon success. + * + * If `options` is a string, then it specifies the `encoding`. + * + * The `FileHandle` has to support writing. + * + * It is unsafe to use `filehandle.writeFile()` multiple times on the same file + * without waiting for the promise to be fulfilled (or rejected). + * + * If one or more `filehandle.write()` calls are made on a file handle and then a`filehandle.writeFile()` call is made, the data will be written from the + * current position till the end of the file. It doesn't always write from the + * beginning of the file. + * @since v10.0.0 + */ + writeFile( + data: string | Uint8Array, + options?: + | (ObjectEncodingOptions & FlagAndOpenMode & Abortable & { flush?: boolean | undefined }) + | BufferEncoding + | null, + ): Promise; + /** + * Write `buffer` to the file. + * + * The promise is fulfilled with an object containing two properties: + * + * It is unsafe to use `filehandle.write()` multiple times on the same file + * without waiting for the promise to be fulfilled (or rejected). For this + * scenario, use `filehandle.createWriteStream()`. + * + * On Linux, positional writes do not work when the file is opened in append mode. + * The kernel ignores the position argument and always appends the data to + * the end of the file. + * @since v10.0.0 + * @param offset The start position from within `buffer` where the data to write begins. + * @param [length=buffer.byteLength - offset] The number of bytes from `buffer` to write. + * @param [position='null'] The offset from the beginning of the file where the data from `buffer` should be written. If `position` is not a `number`, the data will be written at the current + * position. See the POSIX pwrite(2) documentation for more detail. + */ + write( + buffer: TBuffer, + offset?: number | null, + length?: number | null, + position?: number | null, + ): Promise<{ + bytesWritten: number; + buffer: TBuffer; + }>; + write( + data: string, + position?: number | null, + encoding?: BufferEncoding | null, + ): Promise<{ + bytesWritten: number; + buffer: string; + }>; + /** + * Write an array of [ArrayBufferView](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView) s to the file. + * + * The promise is fulfilled with an object containing a two properties: + * + * It is unsafe to call `writev()` multiple times on the same file without waiting + * for the promise to be fulfilled (or rejected). + * + * On Linux, positional writes don't work when the file is opened in append mode. + * The kernel ignores the position argument and always appends the data to + * the end of the file. + * @since v12.9.0 + * @param [position='null'] The offset from the beginning of the file where the data from `buffers` should be written. If `position` is not a `number`, the data will be written at the current + * position. + */ + writev(buffers: readonly NodeJS.ArrayBufferView[], position?: number): Promise; + /** + * Read from a file and write to an array of [ArrayBufferView](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView) s + * @since v13.13.0, v12.17.0 + * @param [position='null'] The offset from the beginning of the file where the data should be read from. If `position` is not a `number`, the data will be read from the current position. + * @return Fulfills upon success an object containing two properties: + */ + readv(buffers: readonly NodeJS.ArrayBufferView[], position?: number): Promise; + /** + * Closes the file handle after waiting for any pending operation on the handle to + * complete. + * + * ```js + * import { open } from 'node:fs/promises'; + * + * let filehandle; + * try { + * filehandle = await open('thefile.txt', 'r'); + * } finally { + * await filehandle?.close(); + * } + * ``` + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + close(): Promise; + /** + * An alias for {@link FileHandle.close()}. + * @since v20.4.0 + */ + [Symbol.asyncDispose](): Promise; + } + const constants: typeof fsConstants; + /** + * Tests a user's permissions for the file or directory specified by `path`. + * The `mode` argument is an optional integer that specifies the accessibility + * checks to be performed. `mode` should be either the value `fs.constants.F_OK`or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`,`fs.constants.W_OK`, and `fs.constants.X_OK` + * (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for + * possible values of `mode`. + * + * If the accessibility check is successful, the promise is fulfilled with no + * value. If any of the accessibility checks fail, the promise is rejected + * with an [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) object. The following example checks if the file`/etc/passwd` can be read and + * written by the current process. + * + * ```js + * import { access, constants } from 'node:fs/promises'; + * + * try { + * await access('/etc/passwd', constants.R_OK | constants.W_OK); + * console.log('can access'); + * } catch { + * console.error('cannot access'); + * } + * ``` + * + * Using `fsPromises.access()` to check for the accessibility of a file before + * calling `fsPromises.open()` is not recommended. Doing so introduces a race + * condition, since other processes may change the file's state between the two + * calls. Instead, user code should open/read/write the file directly and handle + * the error raised if the file is not accessible. + * @since v10.0.0 + * @param [mode=fs.constants.F_OK] + * @return Fulfills with `undefined` upon success. + */ + function access(path: PathLike, mode?: number): Promise; + /** + * Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it + * already exists. + * + * No guarantees are made about the atomicity of the copy operation. If an + * error occurs after the destination file has been opened for writing, an attempt + * will be made to remove the destination. + * + * ```js + * import { copyFile, constants } from 'node:fs/promises'; + * + * try { + * await copyFile('source.txt', 'destination.txt'); + * console.log('source.txt was copied to destination.txt'); + * } catch { + * console.error('The file could not be copied'); + * } + * + * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists. + * try { + * await copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL); + * console.log('source.txt was copied to destination.txt'); + * } catch { + * console.error('The file could not be copied'); + * } + * ``` + * @since v10.0.0 + * @param src source filename to copy + * @param dest destination filename of the copy operation + * @param [mode=0] Optional modifiers that specify the behavior of the copy operation. It is possible to create a mask consisting of the bitwise OR of two or more values (e.g. + * `fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`) + * @return Fulfills with `undefined` upon success. + */ + function copyFile(src: PathLike, dest: PathLike, mode?: number): Promise; + /** + * Opens a `FileHandle`. + * + * Refer to the POSIX [`open(2)`](http://man7.org/linux/man-pages/man2/open.2.html) documentation for more detail. + * + * Some characters (`< > : " / \ | ? *`) are reserved under Windows as documented + * by [Naming Files, Paths, and Namespaces](https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file). Under NTFS, if the filename contains + * a colon, Node.js will open a file system stream, as described by [this MSDN page](https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams). + * @since v10.0.0 + * @param [flags='r'] See `support of file system `flags``. + * @param [mode=0o666] Sets the file mode (permission and sticky bits) if the file is created. + * @return Fulfills with a {FileHandle} object. + */ + function open(path: PathLike, flags?: string | number, mode?: Mode): Promise; + /** + * Renames `oldPath` to `newPath`. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function rename(oldPath: PathLike, newPath: PathLike): Promise; + /** + * Truncates (shortens or extends the length) of the content at `path` to `len`bytes. + * @since v10.0.0 + * @param [len=0] + * @return Fulfills with `undefined` upon success. + */ + function truncate(path: PathLike, len?: number): Promise; + /** + * Removes the directory identified by `path`. + * + * Using `fsPromises.rmdir()` on a file (not a directory) results in the + * promise being rejected with an `ENOENT` error on Windows and an `ENOTDIR`error on POSIX. + * + * To get a behavior similar to the `rm -rf` Unix command, use `fsPromises.rm()` with options `{ recursive: true, force: true }`. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function rmdir(path: PathLike, options?: RmDirOptions): Promise; + /** + * Removes files and directories (modeled on the standard POSIX `rm` utility). + * @since v14.14.0 + * @return Fulfills with `undefined` upon success. + */ + function rm(path: PathLike, options?: RmOptions): Promise; + /** + * Asynchronously creates a directory. + * + * The optional `options` argument can be an integer specifying `mode` (permission + * and sticky bits), or an object with a `mode` property and a `recursive`property indicating whether parent directories should be created. Calling`fsPromises.mkdir()` when `path` is a directory + * that exists results in a + * rejection only when `recursive` is false. + * + * ```js + * import { mkdir } from 'node:fs/promises'; + * + * try { + * const projectFolder = new URL('./test/project/', import.meta.url); + * const createDir = await mkdir(projectFolder, { recursive: true }); + * + * console.log(`created ${createDir}`); + * } catch (err) { + * console.error(err.message); + * } + * ``` + * @since v10.0.0 + * @return Upon success, fulfills with `undefined` if `recursive` is `false`, or the first directory path created if `recursive` is `true`. + */ + function mkdir( + path: PathLike, + options: MakeDirectoryOptions & { + recursive: true; + }, + ): Promise; + /** + * Asynchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + function mkdir( + path: PathLike, + options?: + | Mode + | (MakeDirectoryOptions & { + recursive?: false | undefined; + }) + | null, + ): Promise; + /** + * Asynchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + function mkdir(path: PathLike, options?: Mode | MakeDirectoryOptions | null): Promise; + /** + * Reads the contents of a directory. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the filenames. If the `encoding` is set to `'buffer'`, the filenames returned + * will be passed as `Buffer` objects. + * + * If `options.withFileTypes` is set to `true`, the returned array will contain `fs.Dirent` objects. + * + * ```js + * import { readdir } from 'node:fs/promises'; + * + * try { + * const files = await readdir(path); + * for (const file of files) + * console.log(file); + * } catch (err) { + * console.error(err); + * } + * ``` + * @since v10.0.0 + * @return Fulfills with an array of the names of the files in the directory excluding `'.'` and `'..'`. + */ + function readdir( + path: PathLike, + options?: + | (ObjectEncodingOptions & { + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + }) + | BufferEncoding + | null, + ): Promise; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function readdir( + path: PathLike, + options: + | { + encoding: "buffer"; + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + } + | "buffer", + ): Promise; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function readdir( + path: PathLike, + options?: + | (ObjectEncodingOptions & { + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + }) + | BufferEncoding + | null, + ): Promise; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. + */ + function readdir( + path: PathLike, + options: ObjectEncodingOptions & { + withFileTypes: true; + recursive?: boolean | undefined; + }, + ): Promise; + /** + * Reads the contents of the symbolic link referred to by `path`. See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more detail. The promise is + * fulfilled with the`linkString` upon success. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the link path returned. If the `encoding` is set to `'buffer'`, the link path + * returned will be passed as a `Buffer` object. + * @since v10.0.0 + * @return Fulfills with the `linkString` upon success. + */ + function readlink(path: PathLike, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function readlink(path: PathLike, options: BufferEncodingOption): Promise; + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function readlink(path: PathLike, options?: ObjectEncodingOptions | string | null): Promise; + /** + * Creates a symbolic link. + * + * The `type` argument is only used on Windows platforms and can be one of `'dir'`,`'file'`, or `'junction'`. If the `type` argument is not a string, Node.js will + * autodetect `target` type and use `'file'` or `'dir'`. If the `target` does not + * exist, `'file'` will be used. Windows junction points require the destination + * path to be absolute. When using `'junction'`, the `target` argument will + * automatically be normalized to absolute path. Junction points on NTFS volumes + * can only point to directories. + * @since v10.0.0 + * @param [type='null'] + * @return Fulfills with `undefined` upon success. + */ + function symlink(target: PathLike, path: PathLike, type?: string | null): Promise; + /** + * Equivalent to `fsPromises.stat()` unless `path` refers to a symbolic link, + * in which case the link itself is stat-ed, not the file that it refers to. + * Refer to the POSIX [`lstat(2)`](http://man7.org/linux/man-pages/man2/lstat.2.html) document for more detail. + * @since v10.0.0 + * @return Fulfills with the {fs.Stats} object for the given symbolic link `path`. + */ + function lstat( + path: PathLike, + opts?: StatOptions & { + bigint?: false | undefined; + }, + ): Promise; + function lstat( + path: PathLike, + opts: StatOptions & { + bigint: true; + }, + ): Promise; + function lstat(path: PathLike, opts?: StatOptions): Promise; + /** + * @since v10.0.0 + * @return Fulfills with the {fs.Stats} object for the given `path`. + */ + function stat( + path: PathLike, + opts?: StatOptions & { + bigint?: false | undefined; + }, + ): Promise; + function stat( + path: PathLike, + opts: StatOptions & { + bigint: true; + }, + ): Promise; + function stat(path: PathLike, opts?: StatOptions): Promise; + /** + * @since v19.6.0, v18.15.0 + * @return Fulfills with the {fs.StatFs} object for the given `path`. + */ + function statfs( + path: PathLike, + opts?: StatFsOptions & { + bigint?: false | undefined; + }, + ): Promise; + function statfs( + path: PathLike, + opts: StatFsOptions & { + bigint: true; + }, + ): Promise; + function statfs(path: PathLike, opts?: StatFsOptions): Promise; + /** + * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function link(existingPath: PathLike, newPath: PathLike): Promise; + /** + * If `path` refers to a symbolic link, then the link is removed without affecting + * the file or directory to which that link refers. If the `path` refers to a file + * path that is not a symbolic link, the file is deleted. See the POSIX [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html) documentation for more detail. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function unlink(path: PathLike): Promise; + /** + * Changes the permissions of a file. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function chmod(path: PathLike, mode: Mode): Promise; + /** + * Changes the permissions on a symbolic link. + * + * This method is only implemented on macOS. + * @deprecated Since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function lchmod(path: PathLike, mode: Mode): Promise; + /** + * Changes the ownership on a symbolic link. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function lchown(path: PathLike, uid: number, gid: number): Promise; + /** + * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`, with the difference that if the path refers to a + * symbolic link, then the link is not dereferenced: instead, the timestamps of + * the symbolic link itself are changed. + * @since v14.5.0, v12.19.0 + * @return Fulfills with `undefined` upon success. + */ + function lutimes(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; + /** + * Changes the ownership of a file. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function chown(path: PathLike, uid: number, gid: number): Promise; + /** + * Change the file system timestamps of the object referenced by `path`. + * + * The `atime` and `mtime` arguments follow these rules: + * + * * Values can be either numbers representing Unix epoch time, `Date`s, or a + * numeric string like `'123456789.0'`. + * * If the value can not be converted to a number, or is `NaN`, `Infinity`, or`-Infinity`, an `Error` will be thrown. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function utimes(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; + /** + * Determines the actual location of `path` using the same semantics as the`fs.realpath.native()` function. + * + * Only paths that can be converted to UTF8 strings are supported. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the path. If the `encoding` is set to `'buffer'`, the path returned will be + * passed as a `Buffer` object. + * + * On Linux, when Node.js is linked against musl libc, the procfs file system must + * be mounted on `/proc` in order for this function to work. Glibc does not have + * this restriction. + * @since v10.0.0 + * @return Fulfills with the resolved path upon success. + */ + function realpath(path: PathLike, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function realpath(path: PathLike, options: BufferEncodingOption): Promise; + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function realpath( + path: PathLike, + options?: ObjectEncodingOptions | BufferEncoding | null, + ): Promise; + /** + * Creates a unique temporary directory. A unique directory name is generated by + * appending six random characters to the end of the provided `prefix`. Due to + * platform inconsistencies, avoid trailing `X` characters in `prefix`. Some + * platforms, notably the BSDs, can return more than six random characters, and + * replace trailing `X` characters in `prefix` with random characters. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use. + * + * ```js + * import { mkdtemp } from 'node:fs/promises'; + * import { join } from 'node:path'; + * import { tmpdir } from 'node:os'; + * + * try { + * await mkdtemp(join(tmpdir(), 'foo-')); + * } catch (err) { + * console.error(err); + * } + * ``` + * + * The `fsPromises.mkdtemp()` method will append the six randomly selected + * characters directly to the `prefix` string. For instance, given a directory`/tmp`, if the intention is to create a temporary directory _within_`/tmp`, the`prefix` must end with a trailing + * platform-specific path separator + * (`require('node:path').sep`). + * @since v10.0.0 + * @return Fulfills with a string containing the file system path of the newly created temporary directory. + */ + function mkdtemp(prefix: string, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function mkdtemp(prefix: string, options: BufferEncodingOption): Promise; + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function mkdtemp(prefix: string, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; + /** + * Asynchronously writes data to a file, replacing the file if it already exists.`data` can be a string, a buffer, an + * [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface), or an + * [Iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol) object. + * + * The `encoding` option is ignored if `data` is a buffer. + * + * If `options` is a string, then it specifies the encoding. + * + * The `mode` option only affects the newly created file. See `fs.open()` for more details. + * + * Any specified `FileHandle` has to support writing. + * + * It is unsafe to use `fsPromises.writeFile()` multiple times on the same file + * without waiting for the promise to be settled. + * + * Similarly to `fsPromises.readFile` \- `fsPromises.writeFile` is a convenience + * method that performs multiple `write` calls internally to write the buffer + * passed to it. For performance sensitive code consider using `fs.createWriteStream()` or `filehandle.createWriteStream()`. + * + * It is possible to use an `AbortSignal` to cancel an `fsPromises.writeFile()`. + * Cancelation is "best effort", and some amount of data is likely still + * to be written. + * + * ```js + * import { writeFile } from 'node:fs/promises'; + * import { Buffer } from 'node:buffer'; + * + * try { + * const controller = new AbortController(); + * const { signal } = controller; + * const data = new Uint8Array(Buffer.from('Hello Node.js')); + * const promise = writeFile('message.txt', data, { signal }); + * + * // Abort the request before the promise settles. + * controller.abort(); + * + * await promise; + * } catch (err) { + * // When a request is aborted - err is an AbortError + * console.error(err); + * } + * ``` + * + * Aborting an ongoing request does not abort individual operating + * system requests but rather the internal buffering `fs.writeFile` performs. + * @since v10.0.0 + * @param file filename or `FileHandle` + * @return Fulfills with `undefined` upon success. + */ + function writeFile( + file: PathLike | FileHandle, + data: + | string + | NodeJS.ArrayBufferView + | Iterable + | AsyncIterable + | Stream, + options?: + | (ObjectEncodingOptions & { + mode?: Mode | undefined; + flag?: OpenMode | undefined; + } & Abortable) + | BufferEncoding + | null, + ): Promise; + /** + * Asynchronously append data to a file, creating the file if it does not yet + * exist. `data` can be a string or a `Buffer`. + * + * If `options` is a string, then it specifies the `encoding`. + * + * The `mode` option only affects the newly created file. See `fs.open()` for more details. + * + * The `path` may be specified as a `FileHandle` that has been opened + * for appending (using `fsPromises.open()`). + * @since v10.0.0 + * @param path filename or {FileHandle} + * @return Fulfills with `undefined` upon success. + */ + function appendFile( + path: PathLike | FileHandle, + data: string | Uint8Array, + options?: (ObjectEncodingOptions & FlagAndOpenMode & { flush?: boolean | undefined }) | BufferEncoding | null, + ): Promise; + /** + * Asynchronously reads the entire contents of a file. + * + * If no encoding is specified (using `options.encoding`), the data is returned + * as a `Buffer` object. Otherwise, the data will be a string. + * + * If `options` is a string, then it specifies the encoding. + * + * When the `path` is a directory, the behavior of `fsPromises.readFile()` is + * platform-specific. On macOS, Linux, and Windows, the promise will be rejected + * with an error. On FreeBSD, a representation of the directory's contents will be + * returned. + * + * An example of reading a `package.json` file located in the same directory of the + * running code: + * + * ```js + * import { readFile } from 'node:fs/promises'; + * try { + * const filePath = new URL('./package.json', import.meta.url); + * const contents = await readFile(filePath, { encoding: 'utf8' }); + * console.log(contents); + * } catch (err) { + * console.error(err.message); + * } + * ``` + * + * It is possible to abort an ongoing `readFile` using an `AbortSignal`. If a + * request is aborted the promise returned is rejected with an `AbortError`: + * + * ```js + * import { readFile } from 'node:fs/promises'; + * + * try { + * const controller = new AbortController(); + * const { signal } = controller; + * const promise = readFile(fileName, { signal }); + * + * // Abort the request before the promise settles. + * controller.abort(); + * + * await promise; + * } catch (err) { + * // When a request is aborted - err is an AbortError + * console.error(err); + * } + * ``` + * + * Aborting an ongoing request does not abort individual operating + * system requests but rather the internal buffering `fs.readFile` performs. + * + * Any specified `FileHandle` has to support reading. + * @since v10.0.0 + * @param path filename or `FileHandle` + * @return Fulfills with the contents of the file. + */ + function readFile( + path: PathLike | FileHandle, + options?: + | ({ + encoding?: null | undefined; + flag?: OpenMode | undefined; + } & Abortable) + | null, + ): Promise; + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. + * @param options An object that may contain an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + function readFile( + path: PathLike | FileHandle, + options: + | ({ + encoding: BufferEncoding; + flag?: OpenMode | undefined; + } & Abortable) + | BufferEncoding, + ): Promise; + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. + * @param options An object that may contain an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + function readFile( + path: PathLike | FileHandle, + options?: + | ( + & ObjectEncodingOptions + & Abortable + & { + flag?: OpenMode | undefined; + } + ) + | BufferEncoding + | null, + ): Promise; + /** + * Asynchronously open a directory for iterative scanning. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for more detail. + * + * Creates an `fs.Dir`, which contains all further functions for reading from + * and cleaning up the directory. + * + * The `encoding` option sets the encoding for the `path` while opening the + * directory and subsequent read operations. + * + * Example using async iteration: + * + * ```js + * import { opendir } from 'node:fs/promises'; + * + * try { + * const dir = await opendir('./'); + * for await (const dirent of dir) + * console.log(dirent.name); + * } catch (err) { + * console.error(err); + * } + * ``` + * + * When using the async iterator, the `fs.Dir` object will be automatically + * closed after the iterator exits. + * @since v12.12.0 + * @return Fulfills with an {fs.Dir}. + */ + function opendir(path: PathLike, options?: OpenDirOptions): Promise; + /** + * Returns an async iterator that watches for changes on `filename`, where `filename`is either a file or a directory. + * + * ```js + * const { watch } = require('node:fs/promises'); + * + * const ac = new AbortController(); + * const { signal } = ac; + * setTimeout(() => ac.abort(), 10000); + * + * (async () => { + * try { + * const watcher = watch(__filename, { signal }); + * for await (const event of watcher) + * console.log(event); + * } catch (err) { + * if (err.name === 'AbortError') + * return; + * throw err; + * } + * })(); + * ``` + * + * On most platforms, `'rename'` is emitted whenever a filename appears or + * disappears in the directory. + * + * All the `caveats` for `fs.watch()` also apply to `fsPromises.watch()`. + * @since v15.9.0, v14.18.0 + * @return of objects with the properties: + */ + function watch( + filename: PathLike, + options: + | (WatchOptions & { + encoding: "buffer"; + }) + | "buffer", + ): AsyncIterable>; + /** + * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. + * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. + * If `encoding` is not supplied, the default of `'utf8'` is used. + * If `persistent` is not supplied, the default of `true` is used. + * If `recursive` is not supplied, the default of `false` is used. + */ + function watch(filename: PathLike, options?: WatchOptions | BufferEncoding): AsyncIterable>; + /** + * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. + * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. + * If `encoding` is not supplied, the default of `'utf8'` is used. + * If `persistent` is not supplied, the default of `true` is used. + * If `recursive` is not supplied, the default of `false` is used. + */ + function watch( + filename: PathLike, + options: WatchOptions | string, + ): AsyncIterable> | AsyncIterable>; + /** + * Asynchronously copies the entire directory structure from `src` to `dest`, + * including subdirectories and files. + * + * When copying a directory to another directory, globs are not supported and + * behavior is similar to `cp dir1/ dir2/`. + * @since v16.7.0 + * @experimental + * @param src source path to copy. + * @param dest destination path to copy to. + * @return Fulfills with `undefined` upon success. + */ + function cp(source: string | URL, destination: string | URL, opts?: CopyOptions): Promise; +} +declare module "node:fs/promises" { + export * from "fs/promises"; +} diff --git a/node_modules/@types/node/globals.d.ts b/node_modules/@types/node/globals.d.ts new file mode 100644 index 000000000..5f250062b --- /dev/null +++ b/node_modules/@types/node/globals.d.ts @@ -0,0 +1,411 @@ +export {}; // Make this a module + +// #region Fetch and friends +// Conditional type aliases, used at the end of this file. +// Will either be empty if lib-dom is included, or the undici version otherwise. +type _Request = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Request; +type _Response = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Response; +type _FormData = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").FormData; +type _Headers = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Headers; +type _RequestInit = typeof globalThis extends { onmessage: any } ? {} + : import("undici-types").RequestInit; +type _ResponseInit = typeof globalThis extends { onmessage: any } ? {} + : import("undici-types").ResponseInit; +type _File = typeof globalThis extends { onmessage: any } ? {} : import("node:buffer").File; +// #endregion Fetch and friends + +declare global { + // Declare "static" methods in Error + interface ErrorConstructor { + /** Create .stack property on a target object */ + captureStackTrace(targetObject: object, constructorOpt?: Function): void; + + /** + * Optional override for formatting stack traces + * + * @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces + */ + prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; + + stackTraceLimit: number; + } + + /*-----------------------------------------------* + * * + * GLOBAL * + * * + ------------------------------------------------*/ + + // For backwards compability + interface NodeRequire extends NodeJS.Require {} + interface RequireResolve extends NodeJS.RequireResolve {} + interface NodeModule extends NodeJS.Module {} + + var process: NodeJS.Process; + var console: Console; + + var __filename: string; + var __dirname: string; + + var require: NodeRequire; + var module: NodeModule; + + // Same as module.exports + var exports: any; + + /** + * Only available if `--expose-gc` is passed to the process. + */ + var gc: undefined | (() => void); + + // #region borrowed + // from https://github.com/microsoft/TypeScript/blob/38da7c600c83e7b31193a62495239a0fe478cb67/lib/lib.webworker.d.ts#L633 until moved to separate lib + /** A controller object that allows you to abort one or more DOM requests as and when desired. */ + interface AbortController { + /** + * Returns the AbortSignal object associated with this object. + */ + + readonly signal: AbortSignal; + /** + * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. + */ + abort(reason?: any): void; + } + + /** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ + interface AbortSignal extends EventTarget { + /** + * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. + */ + readonly aborted: boolean; + readonly reason: any; + onabort: null | ((this: AbortSignal, event: Event) => any); + throwIfAborted(): void; + } + + var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T + : { + prototype: AbortController; + new(): AbortController; + }; + + var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T + : { + prototype: AbortSignal; + new(): AbortSignal; + abort(reason?: any): AbortSignal; + timeout(milliseconds: number): AbortSignal; + }; + // #endregion borrowed + + // #region Disposable + interface SymbolConstructor { + /** + * A method that is used to release resources held by an object. Called by the semantics of the `using` statement. + */ + readonly dispose: unique symbol; + + /** + * A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement. + */ + readonly asyncDispose: unique symbol; + } + + interface Disposable { + [Symbol.dispose](): void; + } + + interface AsyncDisposable { + [Symbol.asyncDispose](): PromiseLike; + } + // #endregion Disposable + + // #region ArrayLike.at() + interface RelativeIndexable { + /** + * Takes an integer value and returns the item at that index, + * allowing for positive and negative integers. + * Negative integers count back from the last item in the array. + */ + at(index: number): T | undefined; + } + interface String extends RelativeIndexable {} + interface Array extends RelativeIndexable {} + interface ReadonlyArray extends RelativeIndexable {} + interface Int8Array extends RelativeIndexable {} + interface Uint8Array extends RelativeIndexable {} + interface Uint8ClampedArray extends RelativeIndexable {} + interface Int16Array extends RelativeIndexable {} + interface Uint16Array extends RelativeIndexable {} + interface Int32Array extends RelativeIndexable {} + interface Uint32Array extends RelativeIndexable {} + interface Float32Array extends RelativeIndexable {} + interface Float64Array extends RelativeIndexable {} + interface BigInt64Array extends RelativeIndexable {} + interface BigUint64Array extends RelativeIndexable {} + // #endregion ArrayLike.at() end + + /** + * @since v17.0.0 + * + * Creates a deep clone of an object. + */ + function structuredClone( + value: T, + transfer?: { transfer: ReadonlyArray }, + ): T; + + /*----------------------------------------------* + * * + * GLOBAL INTERFACES * + * * + *-----------------------------------------------*/ + namespace NodeJS { + interface CallSite { + /** + * Value of "this" + */ + getThis(): unknown; + + /** + * Type of "this" as a string. + * This is the name of the function stored in the constructor field of + * "this", if available. Otherwise the object's [[Class]] internal + * property. + */ + getTypeName(): string | null; + + /** + * Current function + */ + getFunction(): Function | undefined; + + /** + * Name of the current function, typically its name property. + * If a name property is not available an attempt will be made to try + * to infer a name from the function's context. + */ + getFunctionName(): string | null; + + /** + * Name of the property [of "this" or one of its prototypes] that holds + * the current function + */ + getMethodName(): string | null; + + /** + * Name of the script [if this function was defined in a script] + */ + getFileName(): string | undefined; + + /** + * Current line number [if this function was defined in a script] + */ + getLineNumber(): number | null; + + /** + * Current column number [if this function was defined in a script] + */ + getColumnNumber(): number | null; + + /** + * A call site object representing the location where eval was called + * [if this function was created using a call to eval] + */ + getEvalOrigin(): string | undefined; + + /** + * Is this a toplevel invocation, that is, is "this" the global object? + */ + isToplevel(): boolean; + + /** + * Does this call take place in code defined by a call to eval? + */ + isEval(): boolean; + + /** + * Is this call in native V8 code? + */ + isNative(): boolean; + + /** + * Is this a constructor call? + */ + isConstructor(): boolean; + + /** + * is this an async call (i.e. await, Promise.all(), or Promise.any())? + */ + isAsync(): boolean; + + /** + * is this an async call to Promise.all()? + */ + isPromiseAll(): boolean; + + /** + * returns the index of the promise element that was followed in + * Promise.all() or Promise.any() for async stack traces, or null + * if the CallSite is not an async + */ + getPromiseIndex(): number | null; + + getScriptNameOrSourceURL(): string; + getScriptHash(): string; + + getEnclosingColumnNumber(): number; + getEnclosingLineNumber(): number; + getPosition(): number; + + toString(): string; + } + + interface ErrnoException extends Error { + errno?: number | undefined; + code?: string | undefined; + path?: string | undefined; + syscall?: string | undefined; + } + + interface ReadableStream extends EventEmitter { + readable: boolean; + read(size?: number): string | Buffer; + setEncoding(encoding: BufferEncoding): this; + pause(): this; + resume(): this; + isPaused(): boolean; + pipe(destination: T, options?: { end?: boolean | undefined }): T; + unpipe(destination?: WritableStream): this; + unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void; + wrap(oldStream: ReadableStream): this; + [Symbol.asyncIterator](): AsyncIterableIterator; + } + + interface WritableStream extends EventEmitter { + writable: boolean; + write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean; + write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean; + end(cb?: () => void): this; + end(data: string | Uint8Array, cb?: () => void): this; + end(str: string, encoding?: BufferEncoding, cb?: () => void): this; + } + + interface ReadWriteStream extends ReadableStream, WritableStream {} + + interface RefCounted { + ref(): this; + unref(): this; + } + + type TypedArray = + | Uint8Array + | Uint8ClampedArray + | Uint16Array + | Uint32Array + | Int8Array + | Int16Array + | Int32Array + | BigUint64Array + | BigInt64Array + | Float32Array + | Float64Array; + type ArrayBufferView = TypedArray | DataView; + + interface Require { + (id: string): any; + resolve: RequireResolve; + cache: Dict; + /** + * @deprecated + */ + extensions: RequireExtensions; + main: Module | undefined; + } + + interface RequireResolve { + (id: string, options?: { paths?: string[] | undefined }): string; + paths(request: string): string[] | null; + } + + interface RequireExtensions extends Dict<(m: Module, filename: string) => any> { + ".js": (m: Module, filename: string) => any; + ".json": (m: Module, filename: string) => any; + ".node": (m: Module, filename: string) => any; + } + interface Module { + /** + * `true` if the module is running during the Node.js preload + */ + isPreloading: boolean; + exports: any; + require: Require; + id: string; + filename: string; + loaded: boolean; + /** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */ + parent: Module | null | undefined; + children: Module[]; + /** + * @since v11.14.0 + * + * The directory name of the module. This is usually the same as the path.dirname() of the module.id. + */ + path: string; + paths: string[]; + } + + interface Dict { + [key: string]: T | undefined; + } + + interface ReadOnlyDict { + readonly [key: string]: T | undefined; + } + } + + interface RequestInit extends _RequestInit {} + + function fetch( + input: string | URL | globalThis.Request, + init?: RequestInit, + ): Promise; + + interface Request extends _Request {} + var Request: typeof globalThis extends { + onmessage: any; + Request: infer T; + } ? T + : typeof import("undici-types").Request; + + interface ResponseInit extends _ResponseInit {} + + interface Response extends _Response {} + var Response: typeof globalThis extends { + onmessage: any; + Response: infer T; + } ? T + : typeof import("undici-types").Response; + + interface FormData extends _FormData {} + var FormData: typeof globalThis extends { + onmessage: any; + FormData: infer T; + } ? T + : typeof import("undici-types").FormData; + + interface Headers extends _Headers {} + var Headers: typeof globalThis extends { + onmessage: any; + Headers: infer T; + } ? T + : typeof import("undici-types").Headers; + + interface File extends _File {} + var File: typeof globalThis extends { + onmessage: any; + File: infer T; + } ? T + : typeof import("node:buffer").File; +} diff --git a/node_modules/@types/node/globals.global.d.ts b/node_modules/@types/node/globals.global.d.ts new file mode 100644 index 000000000..ef1198c05 --- /dev/null +++ b/node_modules/@types/node/globals.global.d.ts @@ -0,0 +1 @@ +declare var global: typeof globalThis; diff --git a/node_modules/@types/node/http.d.ts b/node_modules/@types/node/http.d.ts new file mode 100644 index 000000000..9b2c3c2c6 --- /dev/null +++ b/node_modules/@types/node/http.d.ts @@ -0,0 +1,1888 @@ +/** + * To use the HTTP server and client one must `require('node:http')`. + * + * The HTTP interfaces in Node.js are designed to support many features + * of the protocol which have been traditionally difficult to use. + * In particular, large, possibly chunk-encoded, messages. The interface is + * careful to never buffer entire requests or responses, so the + * user is able to stream data. + * + * HTTP message headers are represented by an object like this: + * + * ```js + * { 'content-length': '123', + * 'content-type': 'text/plain', + * 'connection': 'keep-alive', + * 'host': 'example.com', + * 'accept': '*' } + * ``` + * + * Keys are lowercased. Values are not modified. + * + * In order to support the full spectrum of possible HTTP applications, the Node.js + * HTTP API is very low-level. It deals with stream handling and message + * parsing only. It parses a message into headers and body but it does not + * parse the actual headers or the body. + * + * See `message.headers` for details on how duplicate headers are handled. + * + * The raw headers as they were received are retained in the `rawHeaders`property, which is an array of `[key, value, key2, value2, ...]`. For + * example, the previous message header object might have a `rawHeaders`list like the following: + * + * ```js + * [ 'ConTent-Length', '123456', + * 'content-LENGTH', '123', + * 'content-type', 'text/plain', + * 'CONNECTION', 'keep-alive', + * 'Host', 'example.com', + * 'accepT', '*' ] + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/http.js) + */ +declare module "http" { + import * as stream from "node:stream"; + import { URL } from "node:url"; + import { LookupOptions } from "node:dns"; + import { EventEmitter } from "node:events"; + import { LookupFunction, Server as NetServer, Socket, TcpSocketConnectOpts } from "node:net"; + // incoming headers will never contain number + interface IncomingHttpHeaders extends NodeJS.Dict { + accept?: string | undefined; + "accept-language"?: string | undefined; + "accept-patch"?: string | undefined; + "accept-ranges"?: string | undefined; + "access-control-allow-credentials"?: string | undefined; + "access-control-allow-headers"?: string | undefined; + "access-control-allow-methods"?: string | undefined; + "access-control-allow-origin"?: string | undefined; + "access-control-expose-headers"?: string | undefined; + "access-control-max-age"?: string | undefined; + "access-control-request-headers"?: string | undefined; + "access-control-request-method"?: string | undefined; + age?: string | undefined; + allow?: string | undefined; + "alt-svc"?: string | undefined; + authorization?: string | undefined; + "cache-control"?: string | undefined; + connection?: string | undefined; + "content-disposition"?: string | undefined; + "content-encoding"?: string | undefined; + "content-language"?: string | undefined; + "content-length"?: string | undefined; + "content-location"?: string | undefined; + "content-range"?: string | undefined; + "content-type"?: string | undefined; + cookie?: string | undefined; + date?: string | undefined; + etag?: string | undefined; + expect?: string | undefined; + expires?: string | undefined; + forwarded?: string | undefined; + from?: string | undefined; + host?: string | undefined; + "if-match"?: string | undefined; + "if-modified-since"?: string | undefined; + "if-none-match"?: string | undefined; + "if-unmodified-since"?: string | undefined; + "last-modified"?: string | undefined; + location?: string | undefined; + origin?: string | undefined; + pragma?: string | undefined; + "proxy-authenticate"?: string | undefined; + "proxy-authorization"?: string | undefined; + "public-key-pins"?: string | undefined; + range?: string | undefined; + referer?: string | undefined; + "retry-after"?: string | undefined; + "sec-websocket-accept"?: string | undefined; + "sec-websocket-extensions"?: string | undefined; + "sec-websocket-key"?: string | undefined; + "sec-websocket-protocol"?: string | undefined; + "sec-websocket-version"?: string | undefined; + "set-cookie"?: string[] | undefined; + "strict-transport-security"?: string | undefined; + tk?: string | undefined; + trailer?: string | undefined; + "transfer-encoding"?: string | undefined; + upgrade?: string | undefined; + "user-agent"?: string | undefined; + vary?: string | undefined; + via?: string | undefined; + warning?: string | undefined; + "www-authenticate"?: string | undefined; + } + // outgoing headers allows numbers (as they are converted internally to strings) + type OutgoingHttpHeader = number | string | string[]; + interface OutgoingHttpHeaders extends NodeJS.Dict { + accept?: string | string[] | undefined; + "accept-charset"?: string | string[] | undefined; + "accept-encoding"?: string | string[] | undefined; + "accept-language"?: string | string[] | undefined; + "accept-ranges"?: string | undefined; + "access-control-allow-credentials"?: string | undefined; + "access-control-allow-headers"?: string | undefined; + "access-control-allow-methods"?: string | undefined; + "access-control-allow-origin"?: string | undefined; + "access-control-expose-headers"?: string | undefined; + "access-control-max-age"?: string | undefined; + "access-control-request-headers"?: string | undefined; + "access-control-request-method"?: string | undefined; + age?: string | undefined; + allow?: string | undefined; + authorization?: string | undefined; + "cache-control"?: string | undefined; + "cdn-cache-control"?: string | undefined; + connection?: string | string[] | undefined; + "content-disposition"?: string | undefined; + "content-encoding"?: string | undefined; + "content-language"?: string | undefined; + "content-length"?: string | number | undefined; + "content-location"?: string | undefined; + "content-range"?: string | undefined; + "content-security-policy"?: string | undefined; + "content-security-policy-report-only"?: string | undefined; + cookie?: string | string[] | undefined; + dav?: string | string[] | undefined; + dnt?: string | undefined; + date?: string | undefined; + etag?: string | undefined; + expect?: string | undefined; + expires?: string | undefined; + forwarded?: string | undefined; + from?: string | undefined; + host?: string | undefined; + "if-match"?: string | undefined; + "if-modified-since"?: string | undefined; + "if-none-match"?: string | undefined; + "if-range"?: string | undefined; + "if-unmodified-since"?: string | undefined; + "last-modified"?: string | undefined; + link?: string | string[] | undefined; + location?: string | undefined; + "max-forwards"?: string | undefined; + origin?: string | undefined; + prgama?: string | string[] | undefined; + "proxy-authenticate"?: string | string[] | undefined; + "proxy-authorization"?: string | undefined; + "public-key-pins"?: string | undefined; + "public-key-pins-report-only"?: string | undefined; + range?: string | undefined; + referer?: string | undefined; + "referrer-policy"?: string | undefined; + refresh?: string | undefined; + "retry-after"?: string | undefined; + "sec-websocket-accept"?: string | undefined; + "sec-websocket-extensions"?: string | string[] | undefined; + "sec-websocket-key"?: string | undefined; + "sec-websocket-protocol"?: string | string[] | undefined; + "sec-websocket-version"?: string | undefined; + server?: string | undefined; + "set-cookie"?: string | string[] | undefined; + "strict-transport-security"?: string | undefined; + te?: string | undefined; + trailer?: string | undefined; + "transfer-encoding"?: string | undefined; + "user-agent"?: string | undefined; + upgrade?: string | undefined; + "upgrade-insecure-requests"?: string | undefined; + vary?: string | undefined; + via?: string | string[] | undefined; + warning?: string | undefined; + "www-authenticate"?: string | string[] | undefined; + "x-content-type-options"?: string | undefined; + "x-dns-prefetch-control"?: string | undefined; + "x-frame-options"?: string | undefined; + "x-xss-protection"?: string | undefined; + } + interface ClientRequestArgs { + _defaultAgent?: Agent | undefined; + agent?: Agent | boolean | undefined; + auth?: string | null | undefined; + // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L278 + createConnection?: + | ((options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket) + | undefined; + defaultPort?: number | string | undefined; + family?: number | undefined; + headers?: OutgoingHttpHeaders | undefined; + hints?: LookupOptions["hints"]; + host?: string | null | undefined; + hostname?: string | null | undefined; + insecureHTTPParser?: boolean | undefined; + localAddress?: string | undefined; + localPort?: number | undefined; + lookup?: LookupFunction | undefined; + /** + * @default 16384 + */ + maxHeaderSize?: number | undefined; + method?: string | undefined; + path?: string | null | undefined; + port?: number | string | null | undefined; + protocol?: string | null | undefined; + setHost?: boolean | undefined; + signal?: AbortSignal | undefined; + socketPath?: string | undefined; + timeout?: number | undefined; + uniqueHeaders?: Array | undefined; + joinDuplicateHeaders?: boolean; + } + interface ServerOptions< + Request extends typeof IncomingMessage = typeof IncomingMessage, + Response extends typeof ServerResponse = typeof ServerResponse, + > { + /** + * Specifies the `IncomingMessage` class to be used. Useful for extending the original `IncomingMessage`. + */ + IncomingMessage?: Request | undefined; + /** + * Specifies the `ServerResponse` class to be used. Useful for extending the original `ServerResponse`. + */ + ServerResponse?: Response | undefined; + /** + * Sets the timeout value in milliseconds for receiving the entire request from the client. + * @see Server.requestTimeout for more information. + * @default 300000 + * @since v18.0.0 + */ + requestTimeout?: number | undefined; + /** + * It joins the field line values of multiple headers in a request with `, ` instead of discarding the duplicates. + * @default false + * @since v18.14.0 + */ + joinDuplicateHeaders?: boolean; + /** + * The number of milliseconds of inactivity a server needs to wait for additional incoming data, + * after it has finished writing the last response, before a socket will be destroyed. + * @see Server.keepAliveTimeout for more information. + * @default 5000 + * @since v18.0.0 + */ + keepAliveTimeout?: number | undefined; + /** + * Sets the interval value in milliseconds to check for request and headers timeout in incomplete requests. + * @default 30000 + */ + connectionsCheckingInterval?: number | undefined; + /** + * Optionally overrides all `socket`s' `readableHighWaterMark` and `writableHighWaterMark`. + * This affects `highWaterMark` property of both `IncomingMessage` and `ServerResponse`. + * Default: @see stream.getDefaultHighWaterMark(). + * @since v20.1.0 + */ + highWaterMark?: number | undefined; + /** + * Use an insecure HTTP parser that accepts invalid HTTP headers when `true`. + * Using the insecure parser should be avoided. + * See --insecure-http-parser for more information. + * @default false + */ + insecureHTTPParser?: boolean | undefined; + /** + * Optionally overrides the value of + * `--max-http-header-size` for requests received by this server, i.e. + * the maximum length of request headers in bytes. + * @default 16384 + * @since v13.3.0 + */ + maxHeaderSize?: number | undefined; + /** + * If set to `true`, it disables the use of Nagle's algorithm immediately after a new incoming connection is received. + * @default true + * @since v16.5.0 + */ + noDelay?: boolean | undefined; + /** + * If set to `true`, it enables keep-alive functionality on the socket immediately after a new incoming connection is received, + * similarly on what is done in `socket.setKeepAlive([enable][, initialDelay])`. + * @default false + * @since v16.5.0 + */ + keepAlive?: boolean | undefined; + /** + * If set to a positive number, it sets the initial delay before the first keepalive probe is sent on an idle socket. + * @default 0 + * @since v16.5.0 + */ + keepAliveInitialDelay?: number | undefined; + /** + * A list of response headers that should be sent only once. + * If the header's value is an array, the items will be joined using `; `. + */ + uniqueHeaders?: Array | undefined; + } + type RequestListener< + Request extends typeof IncomingMessage = typeof IncomingMessage, + Response extends typeof ServerResponse = typeof ServerResponse, + > = (req: InstanceType, res: InstanceType & { req: InstanceType }) => void; + /** + * @since v0.1.17 + */ + class Server< + Request extends typeof IncomingMessage = typeof IncomingMessage, + Response extends typeof ServerResponse = typeof ServerResponse, + > extends NetServer { + constructor(requestListener?: RequestListener); + constructor(options: ServerOptions, requestListener?: RequestListener); + /** + * Sets the timeout value for sockets, and emits a `'timeout'` event on + * the Server object, passing the socket as an argument, if a timeout + * occurs. + * + * If there is a `'timeout'` event listener on the Server object, then it + * will be called with the timed-out socket as an argument. + * + * By default, the Server does not timeout sockets. However, if a callback + * is assigned to the Server's `'timeout'` event, timeouts must be handled + * explicitly. + * @since v0.9.12 + * @param [msecs=0 (no timeout)] + */ + setTimeout(msecs?: number, callback?: () => void): this; + setTimeout(callback: () => void): this; + /** + * Limits maximum incoming headers count. If set to 0, no limit will be applied. + * @since v0.7.0 + */ + maxHeadersCount: number | null; + /** + * The maximum number of requests socket can handle + * before closing keep alive connection. + * + * A value of `0` will disable the limit. + * + * When the limit is reached it will set the `Connection` header value to `close`, + * but will not actually close the connection, subsequent requests sent + * after the limit is reached will get `503 Service Unavailable` as a response. + * @since v16.10.0 + */ + maxRequestsPerSocket: number | null; + /** + * The number of milliseconds of inactivity before a socket is presumed + * to have timed out. + * + * A value of `0` will disable the timeout behavior on incoming connections. + * + * The socket timeout logic is set up on connection, so changing this + * value only affects new connections to the server, not any existing connections. + * @since v0.9.12 + */ + timeout: number; + /** + * Limit the amount of time the parser will wait to receive the complete HTTP + * headers. + * + * If the timeout expires, the server responds with status 408 without + * forwarding the request to the request listener and then closes the connection. + * + * It must be set to a non-zero value (e.g. 120 seconds) to protect against + * potential Denial-of-Service attacks in case the server is deployed without a + * reverse proxy in front. + * @since v11.3.0, v10.14.0 + */ + headersTimeout: number; + /** + * The number of milliseconds of inactivity a server needs to wait for additional + * incoming data, after it has finished writing the last response, before a socket + * will be destroyed. If the server receives new data before the keep-alive + * timeout has fired, it will reset the regular inactivity timeout, i.e.,`server.timeout`. + * + * A value of `0` will disable the keep-alive timeout behavior on incoming + * connections. + * A value of `0` makes the http server behave similarly to Node.js versions prior + * to 8.0.0, which did not have a keep-alive timeout. + * + * The socket timeout logic is set up on connection, so changing this value only + * affects new connections to the server, not any existing connections. + * @since v8.0.0 + */ + keepAliveTimeout: number; + /** + * Sets the timeout value in milliseconds for receiving the entire request from + * the client. + * + * If the timeout expires, the server responds with status 408 without + * forwarding the request to the request listener and then closes the connection. + * + * It must be set to a non-zero value (e.g. 120 seconds) to protect against + * potential Denial-of-Service attacks in case the server is deployed without a + * reverse proxy in front. + * @since v14.11.0 + */ + requestTimeout: number; + /** + * Closes all connections connected to this server. + * @since v18.2.0 + */ + closeAllConnections(): void; + /** + * Closes all connections connected to this server which are not sending a request + * or waiting for a response. + * @since v18.2.0 + */ + closeIdleConnections(): void; + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "connection", listener: (socket: Socket) => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "listening", listener: () => void): this; + addListener(event: "checkContinue", listener: RequestListener): this; + addListener(event: "checkExpectation", listener: RequestListener): this; + addListener(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; + addListener( + event: "connect", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + addListener(event: "dropRequest", listener: (req: InstanceType, socket: stream.Duplex) => void): this; + addListener(event: "request", listener: RequestListener): this; + addListener( + event: "upgrade", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + emit(event: string, ...args: any[]): boolean; + emit(event: "close"): boolean; + emit(event: "connection", socket: Socket): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "listening"): boolean; + emit( + event: "checkContinue", + req: InstanceType, + res: InstanceType & { req: InstanceType }, + ): boolean; + emit( + event: "checkExpectation", + req: InstanceType, + res: InstanceType & { req: InstanceType }, + ): boolean; + emit(event: "clientError", err: Error, socket: stream.Duplex): boolean; + emit(event: "connect", req: InstanceType, socket: stream.Duplex, head: Buffer): boolean; + emit(event: "dropRequest", req: InstanceType, socket: stream.Duplex): boolean; + emit( + event: "request", + req: InstanceType, + res: InstanceType & { req: InstanceType }, + ): boolean; + emit(event: "upgrade", req: InstanceType, socket: stream.Duplex, head: Buffer): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "close", listener: () => void): this; + on(event: "connection", listener: (socket: Socket) => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "listening", listener: () => void): this; + on(event: "checkContinue", listener: RequestListener): this; + on(event: "checkExpectation", listener: RequestListener): this; + on(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; + on(event: "connect", listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void): this; + on(event: "dropRequest", listener: (req: InstanceType, socket: stream.Duplex) => void): this; + on(event: "request", listener: RequestListener): this; + on(event: "upgrade", listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "connection", listener: (socket: Socket) => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "listening", listener: () => void): this; + once(event: "checkContinue", listener: RequestListener): this; + once(event: "checkExpectation", listener: RequestListener): this; + once(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; + once( + event: "connect", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + once(event: "dropRequest", listener: (req: InstanceType, socket: stream.Duplex) => void): this; + once(event: "request", listener: RequestListener): this; + once( + event: "upgrade", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "connection", listener: (socket: Socket) => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "listening", listener: () => void): this; + prependListener(event: "checkContinue", listener: RequestListener): this; + prependListener(event: "checkExpectation", listener: RequestListener): this; + prependListener(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; + prependListener( + event: "connect", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + prependListener( + event: "dropRequest", + listener: (req: InstanceType, socket: stream.Duplex) => void, + ): this; + prependListener(event: "request", listener: RequestListener): this; + prependListener( + event: "upgrade", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "connection", listener: (socket: Socket) => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "listening", listener: () => void): this; + prependOnceListener(event: "checkContinue", listener: RequestListener): this; + prependOnceListener(event: "checkExpectation", listener: RequestListener): this; + prependOnceListener(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; + prependOnceListener( + event: "connect", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + prependOnceListener( + event: "dropRequest", + listener: (req: InstanceType, socket: stream.Duplex) => void, + ): this; + prependOnceListener(event: "request", listener: RequestListener): this; + prependOnceListener( + event: "upgrade", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + } + /** + * This class serves as the parent class of {@link ClientRequest} and {@link ServerResponse}. It is an abstract outgoing message from + * the perspective of the participants of an HTTP transaction. + * @since v0.1.17 + */ + class OutgoingMessage extends stream.Writable { + readonly req: Request; + chunkedEncoding: boolean; + shouldKeepAlive: boolean; + useChunkedEncodingByDefault: boolean; + sendDate: boolean; + /** + * @deprecated Use `writableEnded` instead. + */ + finished: boolean; + /** + * Read-only. `true` if the headers were sent, otherwise `false`. + * @since v0.9.3 + */ + readonly headersSent: boolean; + /** + * Alias of `outgoingMessage.socket`. + * @since v0.3.0 + * @deprecated Since v15.12.0,v14.17.1 - Use `socket` instead. + */ + readonly connection: Socket | null; + /** + * Reference to the underlying socket. Usually, users will not want to access + * this property. + * + * After calling `outgoingMessage.end()`, this property will be nulled. + * @since v0.3.0 + */ + readonly socket: Socket | null; + constructor(); + /** + * Once a socket is associated with the message and is connected,`socket.setTimeout()` will be called with `msecs` as the first parameter. + * @since v0.9.12 + * @param callback Optional function to be called when a timeout occurs. Same as binding to the `timeout` event. + */ + setTimeout(msecs: number, callback?: () => void): this; + /** + * Sets a single header value. If the header already exists in the to-be-sent + * headers, its value will be replaced. Use an array of strings to send multiple + * headers with the same name. + * @since v0.4.0 + * @param name Header name + * @param value Header value + */ + setHeader(name: string, value: number | string | readonly string[]): this; + /** + * Append a single header value for the header object. + * + * If the value is an array, this is equivalent of calling this method multiple + * times. + * + * If there were no previous value for the header, this is equivalent of calling `outgoingMessage.setHeader(name, value)`. + * + * Depending of the value of `options.uniqueHeaders` when the client request or the + * server were created, this will end up in the header being sent multiple times or + * a single time with values joined using `; `. + * @since v18.3.0, v16.17.0 + * @param name Header name + * @param value Header value + */ + appendHeader(name: string, value: string | readonly string[]): this; + /** + * Gets the value of the HTTP header with the given name. If that header is not + * set, the returned value will be `undefined`. + * @since v0.4.0 + * @param name Name of header + */ + getHeader(name: string): number | string | string[] | undefined; + /** + * Returns a shallow copy of the current outgoing headers. Since a shallow + * copy is used, array values may be mutated without additional calls to + * various header-related HTTP module methods. The keys of the returned + * object are the header names and the values are the respective header + * values. All header names are lowercase. + * + * The object returned by the `outgoingMessage.getHeaders()` method does + * not prototypically inherit from the JavaScript `Object`. This means that + * typical `Object` methods such as `obj.toString()`, `obj.hasOwnProperty()`, + * and others are not defined and will not work. + * + * ```js + * outgoingMessage.setHeader('Foo', 'bar'); + * outgoingMessage.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); + * + * const headers = outgoingMessage.getHeaders(); + * // headers === { foo: 'bar', 'set-cookie': ['foo=bar', 'bar=baz'] } + * ``` + * @since v7.7.0 + */ + getHeaders(): OutgoingHttpHeaders; + /** + * Returns an array containing the unique names of the current outgoing headers. + * All names are lowercase. + * @since v7.7.0 + */ + getHeaderNames(): string[]; + /** + * Returns `true` if the header identified by `name` is currently set in the + * outgoing headers. The header name is case-insensitive. + * + * ```js + * const hasContentType = outgoingMessage.hasHeader('content-type'); + * ``` + * @since v7.7.0 + */ + hasHeader(name: string): boolean; + /** + * Removes a header that is queued for implicit sending. + * + * ```js + * outgoingMessage.removeHeader('Content-Encoding'); + * ``` + * @since v0.4.0 + * @param name Header name + */ + removeHeader(name: string): void; + /** + * Adds HTTP trailers (headers but at the end of the message) to the message. + * + * Trailers will **only** be emitted if the message is chunked encoded. If not, + * the trailers will be silently discarded. + * + * HTTP requires the `Trailer` header to be sent to emit trailers, + * with a list of header field names in its value, e.g. + * + * ```js + * message.writeHead(200, { 'Content-Type': 'text/plain', + * 'Trailer': 'Content-MD5' }); + * message.write(fileData); + * message.addTrailers({ 'Content-MD5': '7895bf4b8828b55ceaf47747b4bca667' }); + * message.end(); + * ``` + * + * Attempting to set a header field name or value that contains invalid characters + * will result in a `TypeError` being thrown. + * @since v0.3.0 + */ + addTrailers(headers: OutgoingHttpHeaders | ReadonlyArray<[string, string]>): void; + /** + * Flushes the message headers. + * + * For efficiency reason, Node.js normally buffers the message headers + * until `outgoingMessage.end()` is called or the first chunk of message data + * is written. It then tries to pack the headers and data into a single TCP + * packet. + * + * It is usually desired (it saves a TCP round-trip), but not when the first + * data is not sent until possibly much later. `outgoingMessage.flushHeaders()`bypasses the optimization and kickstarts the message. + * @since v1.6.0 + */ + flushHeaders(): void; + } + /** + * This object is created internally by an HTTP server, not by the user. It is + * passed as the second parameter to the `'request'` event. + * @since v0.1.17 + */ + class ServerResponse extends OutgoingMessage { + /** + * When using implicit headers (not calling `response.writeHead()` explicitly), + * this property controls the status code that will be sent to the client when + * the headers get flushed. + * + * ```js + * response.statusCode = 404; + * ``` + * + * After response header was sent to the client, this property indicates the + * status code which was sent out. + * @since v0.4.0 + */ + statusCode: number; + /** + * When using implicit headers (not calling `response.writeHead()` explicitly), + * this property controls the status message that will be sent to the client when + * the headers get flushed. If this is left as `undefined` then the standard + * message for the status code will be used. + * + * ```js + * response.statusMessage = 'Not found'; + * ``` + * + * After response header was sent to the client, this property indicates the + * status message which was sent out. + * @since v0.11.8 + */ + statusMessage: string; + /** + * If set to `true`, Node.js will check whether the `Content-Length`header value and the size of the body, in bytes, are equal. + * Mismatching the `Content-Length` header value will result + * in an `Error` being thrown, identified by `code:``'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`. + * @since v18.10.0, v16.18.0 + */ + strictContentLength: boolean; + constructor(req: Request); + assignSocket(socket: Socket): void; + detachSocket(socket: Socket): void; + /** + * Sends an HTTP/1.1 100 Continue message to the client, indicating that + * the request body should be sent. See the `'checkContinue'` event on`Server`. + * @since v0.3.0 + */ + writeContinue(callback?: () => void): void; + /** + * Sends an HTTP/1.1 103 Early Hints message to the client with a Link header, + * indicating that the user agent can preload/preconnect the linked resources. + * The `hints` is an object containing the values of headers to be sent with + * early hints message. The optional `callback` argument will be called when + * the response message has been written. + * + * **Example** + * + * ```js + * const earlyHintsLink = '; rel=preload; as=style'; + * response.writeEarlyHints({ + * 'link': earlyHintsLink, + * }); + * + * const earlyHintsLinks = [ + * '; rel=preload; as=style', + * '; rel=preload; as=script', + * ]; + * response.writeEarlyHints({ + * 'link': earlyHintsLinks, + * 'x-trace-id': 'id for diagnostics', + * }); + * + * const earlyHintsCallback = () => console.log('early hints message sent'); + * response.writeEarlyHints({ + * 'link': earlyHintsLinks, + * }, earlyHintsCallback); + * ``` + * @since v18.11.0 + * @param hints An object containing the values of headers + * @param callback Will be called when the response message has been written + */ + writeEarlyHints(hints: Record, callback?: () => void): void; + /** + * Sends a response header to the request. The status code is a 3-digit HTTP + * status code, like `404`. The last argument, `headers`, are the response headers. + * Optionally one can give a human-readable `statusMessage` as the second + * argument. + * + * `headers` may be an `Array` where the keys and values are in the same list. + * It is _not_ a list of tuples. So, the even-numbered offsets are key values, + * and the odd-numbered offsets are the associated values. The array is in the same + * format as `request.rawHeaders`. + * + * Returns a reference to the `ServerResponse`, so that calls can be chained. + * + * ```js + * const body = 'hello world'; + * response + * .writeHead(200, { + * 'Content-Length': Buffer.byteLength(body), + * 'Content-Type': 'text/plain', + * }) + * .end(body); + * ``` + * + * This method must only be called once on a message and it must + * be called before `response.end()` is called. + * + * If `response.write()` or `response.end()` are called before calling + * this, the implicit/mutable headers will be calculated and call this function. + * + * When headers have been set with `response.setHeader()`, they will be merged + * with any headers passed to `response.writeHead()`, with the headers passed + * to `response.writeHead()` given precedence. + * + * If this method is called and `response.setHeader()` has not been called, + * it will directly write the supplied header values onto the network channel + * without caching internally, and the `response.getHeader()` on the header + * will not yield the expected result. If progressive population of headers is + * desired with potential future retrieval and modification, use `response.setHeader()` instead. + * + * ```js + * // Returns content-type = text/plain + * const server = http.createServer((req, res) => { + * res.setHeader('Content-Type', 'text/html'); + * res.setHeader('X-Foo', 'bar'); + * res.writeHead(200, { 'Content-Type': 'text/plain' }); + * res.end('ok'); + * }); + * ``` + * + * `Content-Length` is read in bytes, not characters. Use `Buffer.byteLength()` to determine the length of the body in bytes. Node.js + * will check whether `Content-Length` and the length of the body which has + * been transmitted are equal or not. + * + * Attempting to set a header field name or value that contains invalid characters + * will result in a \[`Error`\]\[\] being thrown. + * @since v0.1.30 + */ + writeHead( + statusCode: number, + statusMessage?: string, + headers?: OutgoingHttpHeaders | OutgoingHttpHeader[], + ): this; + writeHead(statusCode: number, headers?: OutgoingHttpHeaders | OutgoingHttpHeader[]): this; + /** + * Sends a HTTP/1.1 102 Processing message to the client, indicating that + * the request body should be sent. + * @since v10.0.0 + */ + writeProcessing(): void; + } + interface InformationEvent { + statusCode: number; + statusMessage: string; + httpVersion: string; + httpVersionMajor: number; + httpVersionMinor: number; + headers: IncomingHttpHeaders; + rawHeaders: string[]; + } + /** + * This object is created internally and returned from {@link request}. It + * represents an _in-progress_ request whose header has already been queued. The + * header is still mutable using the `setHeader(name, value)`,`getHeader(name)`, `removeHeader(name)` API. The actual header will + * be sent along with the first data chunk or when calling `request.end()`. + * + * To get the response, add a listener for `'response'` to the request object.`'response'` will be emitted from the request object when the response + * headers have been received. The `'response'` event is executed with one + * argument which is an instance of {@link IncomingMessage}. + * + * During the `'response'` event, one can add listeners to the + * response object; particularly to listen for the `'data'` event. + * + * If no `'response'` handler is added, then the response will be + * entirely discarded. However, if a `'response'` event handler is added, + * then the data from the response object **must** be consumed, either by + * calling `response.read()` whenever there is a `'readable'` event, or + * by adding a `'data'` handler, or by calling the `.resume()` method. + * Until the data is consumed, the `'end'` event will not fire. Also, until + * the data is read it will consume memory that can eventually lead to a + * 'process out of memory' error. + * + * For backward compatibility, `res` will only emit `'error'` if there is an`'error'` listener registered. + * + * Set `Content-Length` header to limit the response body size. + * If `response.strictContentLength` is set to `true`, mismatching the`Content-Length` header value will result in an `Error` being thrown, + * identified by `code:``'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`. + * + * `Content-Length` value should be in bytes, not characters. Use `Buffer.byteLength()` to determine the length of the body in bytes. + * @since v0.1.17 + */ + class ClientRequest extends OutgoingMessage { + /** + * The `request.aborted` property will be `true` if the request has + * been aborted. + * @since v0.11.14 + * @deprecated Since v17.0.0,v16.12.0 - Check `destroyed` instead. + */ + aborted: boolean; + /** + * The request host. + * @since v14.5.0, v12.19.0 + */ + host: string; + /** + * The request protocol. + * @since v14.5.0, v12.19.0 + */ + protocol: string; + /** + * When sending request through a keep-alive enabled agent, the underlying socket + * might be reused. But if server closes connection at unfortunate time, client + * may run into a 'ECONNRESET' error. + * + * ```js + * import http from 'node:http'; + * + * // Server has a 5 seconds keep-alive timeout by default + * http + * .createServer((req, res) => { + * res.write('hello\n'); + * res.end(); + * }) + * .listen(3000); + * + * setInterval(() => { + * // Adapting a keep-alive agent + * http.get('http://localhost:3000', { agent }, (res) => { + * res.on('data', (data) => { + * // Do nothing + * }); + * }); + * }, 5000); // Sending request on 5s interval so it's easy to hit idle timeout + * ``` + * + * By marking a request whether it reused socket or not, we can do + * automatic error retry base on it. + * + * ```js + * import http from 'node:http'; + * const agent = new http.Agent({ keepAlive: true }); + * + * function retriableRequest() { + * const req = http + * .get('http://localhost:3000', { agent }, (res) => { + * // ... + * }) + * .on('error', (err) => { + * // Check if retry is needed + * if (req.reusedSocket && err.code === 'ECONNRESET') { + * retriableRequest(); + * } + * }); + * } + * + * retriableRequest(); + * ``` + * @since v13.0.0, v12.16.0 + */ + reusedSocket: boolean; + /** + * Limits maximum response headers count. If set to 0, no limit will be applied. + */ + maxHeadersCount: number; + constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void); + /** + * The request method. + * @since v0.1.97 + */ + method: string; + /** + * The request path. + * @since v0.4.0 + */ + path: string; + /** + * Marks the request as aborting. Calling this will cause remaining data + * in the response to be dropped and the socket to be destroyed. + * @since v0.3.8 + * @deprecated Since v14.1.0,v13.14.0 - Use `destroy` instead. + */ + abort(): void; + onSocket(socket: Socket): void; + /** + * Once a socket is assigned to this request and is connected `socket.setTimeout()` will be called. + * @since v0.5.9 + * @param timeout Milliseconds before a request times out. + * @param callback Optional function to be called when a timeout occurs. Same as binding to the `'timeout'` event. + */ + setTimeout(timeout: number, callback?: () => void): this; + /** + * Once a socket is assigned to this request and is connected `socket.setNoDelay()` will be called. + * @since v0.5.9 + */ + setNoDelay(noDelay?: boolean): void; + /** + * Once a socket is assigned to this request and is connected `socket.setKeepAlive()` will be called. + * @since v0.5.9 + */ + setSocketKeepAlive(enable?: boolean, initialDelay?: number): void; + /** + * Returns an array containing the unique names of the current outgoing raw + * headers. Header names are returned with their exact casing being set. + * + * ```js + * request.setHeader('Foo', 'bar'); + * request.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); + * + * const headerNames = request.getRawHeaderNames(); + * // headerNames === ['Foo', 'Set-Cookie'] + * ``` + * @since v15.13.0, v14.17.0 + */ + getRawHeaderNames(): string[]; + /** + * @deprecated + */ + addListener(event: "abort", listener: () => void): this; + addListener( + event: "connect", + listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, + ): this; + addListener(event: "continue", listener: () => void): this; + addListener(event: "information", listener: (info: InformationEvent) => void): this; + addListener(event: "response", listener: (response: IncomingMessage) => void): this; + addListener(event: "socket", listener: (socket: Socket) => void): this; + addListener(event: "timeout", listener: () => void): this; + addListener( + event: "upgrade", + listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, + ): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "finish", listener: () => void): this; + addListener(event: "pipe", listener: (src: stream.Readable) => void): this; + addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + /** + * @deprecated + */ + on(event: "abort", listener: () => void): this; + on(event: "connect", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; + on(event: "continue", listener: () => void): this; + on(event: "information", listener: (info: InformationEvent) => void): this; + on(event: "response", listener: (response: IncomingMessage) => void): this; + on(event: "socket", listener: (socket: Socket) => void): this; + on(event: "timeout", listener: () => void): this; + on(event: "upgrade", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; + on(event: "close", listener: () => void): this; + on(event: "drain", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "finish", listener: () => void): this; + on(event: "pipe", listener: (src: stream.Readable) => void): this; + on(event: "unpipe", listener: (src: stream.Readable) => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + /** + * @deprecated + */ + once(event: "abort", listener: () => void): this; + once(event: "connect", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; + once(event: "continue", listener: () => void): this; + once(event: "information", listener: (info: InformationEvent) => void): this; + once(event: "response", listener: (response: IncomingMessage) => void): this; + once(event: "socket", listener: (socket: Socket) => void): this; + once(event: "timeout", listener: () => void): this; + once(event: "upgrade", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; + once(event: "close", listener: () => void): this; + once(event: "drain", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "finish", listener: () => void): this; + once(event: "pipe", listener: (src: stream.Readable) => void): this; + once(event: "unpipe", listener: (src: stream.Readable) => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + /** + * @deprecated + */ + prependListener(event: "abort", listener: () => void): this; + prependListener( + event: "connect", + listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, + ): this; + prependListener(event: "continue", listener: () => void): this; + prependListener(event: "information", listener: (info: InformationEvent) => void): this; + prependListener(event: "response", listener: (response: IncomingMessage) => void): this; + prependListener(event: "socket", listener: (socket: Socket) => void): this; + prependListener(event: "timeout", listener: () => void): this; + prependListener( + event: "upgrade", + listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, + ): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "finish", listener: () => void): this; + prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + /** + * @deprecated + */ + prependOnceListener(event: "abort", listener: () => void): this; + prependOnceListener( + event: "connect", + listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, + ): this; + prependOnceListener(event: "continue", listener: () => void): this; + prependOnceListener(event: "information", listener: (info: InformationEvent) => void): this; + prependOnceListener(event: "response", listener: (response: IncomingMessage) => void): this; + prependOnceListener(event: "socket", listener: (socket: Socket) => void): this; + prependOnceListener(event: "timeout", listener: () => void): this; + prependOnceListener( + event: "upgrade", + listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, + ): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "finish", listener: () => void): this; + prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + /** + * An `IncomingMessage` object is created by {@link Server} or {@link ClientRequest} and passed as the first argument to the `'request'` and `'response'` event respectively. It may be used to + * access response + * status, headers, and data. + * + * Different from its `socket` value which is a subclass of `stream.Duplex`, the`IncomingMessage` itself extends `stream.Readable` and is created separately to + * parse and emit the incoming HTTP headers and payload, as the underlying socket + * may be reused multiple times in case of keep-alive. + * @since v0.1.17 + */ + class IncomingMessage extends stream.Readable { + constructor(socket: Socket); + /** + * The `message.aborted` property will be `true` if the request has + * been aborted. + * @since v10.1.0 + * @deprecated Since v17.0.0,v16.12.0 - Check `message.destroyed` from stream.Readable. + */ + aborted: boolean; + /** + * In case of server request, the HTTP version sent by the client. In the case of + * client response, the HTTP version of the connected-to server. + * Probably either `'1.1'` or `'1.0'`. + * + * Also `message.httpVersionMajor` is the first integer and`message.httpVersionMinor` is the second. + * @since v0.1.1 + */ + httpVersion: string; + httpVersionMajor: number; + httpVersionMinor: number; + /** + * The `message.complete` property will be `true` if a complete HTTP message has + * been received and successfully parsed. + * + * This property is particularly useful as a means of determining if a client or + * server fully transmitted a message before a connection was terminated: + * + * ```js + * const req = http.request({ + * host: '127.0.0.1', + * port: 8080, + * method: 'POST', + * }, (res) => { + * res.resume(); + * res.on('end', () => { + * if (!res.complete) + * console.error( + * 'The connection was terminated while the message was still being sent'); + * }); + * }); + * ``` + * @since v0.3.0 + */ + complete: boolean; + /** + * Alias for `message.socket`. + * @since v0.1.90 + * @deprecated Since v16.0.0 - Use `socket`. + */ + connection: Socket; + /** + * The `net.Socket` object associated with the connection. + * + * With HTTPS support, use `request.socket.getPeerCertificate()` to obtain the + * client's authentication details. + * + * This property is guaranteed to be an instance of the `net.Socket` class, + * a subclass of `stream.Duplex`, unless the user specified a socket + * type other than `net.Socket` or internally nulled. + * @since v0.3.0 + */ + socket: Socket; + /** + * The request/response headers object. + * + * Key-value pairs of header names and values. Header names are lower-cased. + * + * ```js + * // Prints something like: + * // + * // { 'user-agent': 'curl/7.22.0', + * // host: '127.0.0.1:8000', + * // accept: '*' } + * console.log(request.headers); + * ``` + * + * Duplicates in raw headers are handled in the following ways, depending on the + * header name: + * + * * Duplicates of `age`, `authorization`, `content-length`, `content-type`,`etag`, `expires`, `from`, `host`, `if-modified-since`, `if-unmodified-since`,`last-modified`, `location`, + * `max-forwards`, `proxy-authorization`, `referer`,`retry-after`, `server`, or `user-agent` are discarded. + * To allow duplicate values of the headers listed above to be joined, + * use the option `joinDuplicateHeaders` in {@link request} and {@link createServer}. See RFC 9110 Section 5.3 for more + * information. + * * `set-cookie` is always an array. Duplicates are added to the array. + * * For duplicate `cookie` headers, the values are joined together with `; `. + * * For all other headers, the values are joined together with `, `. + * @since v0.1.5 + */ + headers: IncomingHttpHeaders; + /** + * Similar to `message.headers`, but there is no join logic and the values are + * always arrays of strings, even for headers received just once. + * + * ```js + * // Prints something like: + * // + * // { 'user-agent': ['curl/7.22.0'], + * // host: ['127.0.0.1:8000'], + * // accept: ['*'] } + * console.log(request.headersDistinct); + * ``` + * @since v18.3.0, v16.17.0 + */ + headersDistinct: NodeJS.Dict; + /** + * The raw request/response headers list exactly as they were received. + * + * The keys and values are in the same list. It is _not_ a + * list of tuples. So, the even-numbered offsets are key values, and the + * odd-numbered offsets are the associated values. + * + * Header names are not lowercased, and duplicates are not merged. + * + * ```js + * // Prints something like: + * // + * // [ 'user-agent', + * // 'this is invalid because there can be only one', + * // 'User-Agent', + * // 'curl/7.22.0', + * // 'Host', + * // '127.0.0.1:8000', + * // 'ACCEPT', + * // '*' ] + * console.log(request.rawHeaders); + * ``` + * @since v0.11.6 + */ + rawHeaders: string[]; + /** + * The request/response trailers object. Only populated at the `'end'` event. + * @since v0.3.0 + */ + trailers: NodeJS.Dict; + /** + * Similar to `message.trailers`, but there is no join logic and the values are + * always arrays of strings, even for headers received just once. + * Only populated at the `'end'` event. + * @since v18.3.0, v16.17.0 + */ + trailersDistinct: NodeJS.Dict; + /** + * The raw request/response trailer keys and values exactly as they were + * received. Only populated at the `'end'` event. + * @since v0.11.6 + */ + rawTrailers: string[]; + /** + * Calls `message.socket.setTimeout(msecs, callback)`. + * @since v0.5.9 + */ + setTimeout(msecs: number, callback?: () => void): this; + /** + * **Only valid for request obtained from {@link Server}.** + * + * The request method as a string. Read only. Examples: `'GET'`, `'DELETE'`. + * @since v0.1.1 + */ + method?: string | undefined; + /** + * **Only valid for request obtained from {@link Server}.** + * + * Request URL string. This contains only the URL that is present in the actual + * HTTP request. Take the following request: + * + * ```http + * GET /status?name=ryan HTTP/1.1 + * Accept: text/plain + * ``` + * + * To parse the URL into its parts: + * + * ```js + * new URL(request.url, `http://${request.headers.host}`); + * ``` + * + * When `request.url` is `'/status?name=ryan'` and `request.headers.host` is`'localhost:3000'`: + * + * ```console + * $ node + * > new URL(request.url, `http://${request.headers.host}`) + * URL { + * href: 'http://localhost:3000/status?name=ryan', + * origin: 'http://localhost:3000', + * protocol: 'http:', + * username: '', + * password: '', + * host: 'localhost:3000', + * hostname: 'localhost', + * port: '3000', + * pathname: '/status', + * search: '?name=ryan', + * searchParams: URLSearchParams { 'name' => 'ryan' }, + * hash: '' + * } + * ``` + * @since v0.1.90 + */ + url?: string | undefined; + /** + * **Only valid for response obtained from {@link ClientRequest}.** + * + * The 3-digit HTTP response status code. E.G. `404`. + * @since v0.1.1 + */ + statusCode?: number | undefined; + /** + * **Only valid for response obtained from {@link ClientRequest}.** + * + * The HTTP response status message (reason phrase). E.G. `OK` or `Internal Server Error`. + * @since v0.11.10 + */ + statusMessage?: string | undefined; + /** + * Calls `destroy()` on the socket that received the `IncomingMessage`. If `error`is provided, an `'error'` event is emitted on the socket and `error` is passed + * as an argument to any listeners on the event. + * @since v0.3.0 + */ + destroy(error?: Error): this; + } + interface AgentOptions extends Partial { + /** + * Keep sockets around in a pool to be used by other requests in the future. Default = false + */ + keepAlive?: boolean | undefined; + /** + * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000. + * Only relevant if keepAlive is set to true. + */ + keepAliveMsecs?: number | undefined; + /** + * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity + */ + maxSockets?: number | undefined; + /** + * Maximum number of sockets allowed for all hosts in total. Each request will use a new socket until the maximum is reached. Default: Infinity. + */ + maxTotalSockets?: number | undefined; + /** + * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256. + */ + maxFreeSockets?: number | undefined; + /** + * Socket timeout in milliseconds. This will set the timeout after the socket is connected. + */ + timeout?: number | undefined; + /** + * Scheduling strategy to apply when picking the next free socket to use. + * @default `lifo` + */ + scheduling?: "fifo" | "lifo" | undefined; + } + /** + * An `Agent` is responsible for managing connection persistence + * and reuse for HTTP clients. It maintains a queue of pending requests + * for a given host and port, reusing a single socket connection for each + * until the queue is empty, at which time the socket is either destroyed + * or put into a pool where it is kept to be used again for requests to the + * same host and port. Whether it is destroyed or pooled depends on the`keepAlive` `option`. + * + * Pooled connections have TCP Keep-Alive enabled for them, but servers may + * still close idle connections, in which case they will be removed from the + * pool and a new connection will be made when a new HTTP request is made for + * that host and port. Servers may also refuse to allow multiple requests + * over the same connection, in which case the connection will have to be + * remade for every request and cannot be pooled. The `Agent` will still make + * the requests to that server, but each one will occur over a new connection. + * + * When a connection is closed by the client or the server, it is removed + * from the pool. Any unused sockets in the pool will be unrefed so as not + * to keep the Node.js process running when there are no outstanding requests. + * (see `socket.unref()`). + * + * It is good practice, to `destroy()` an `Agent` instance when it is no + * longer in use, because unused sockets consume OS resources. + * + * Sockets are removed from an agent when the socket emits either + * a `'close'` event or an `'agentRemove'` event. When intending to keep one + * HTTP request open for a long time without keeping it in the agent, something + * like the following may be done: + * + * ```js + * http.get(options, (res) => { + * // Do stuff + * }).on('socket', (socket) => { + * socket.emit('agentRemove'); + * }); + * ``` + * + * An agent may also be used for an individual request. By providing`{agent: false}` as an option to the `http.get()` or `http.request()`functions, a one-time use `Agent` with default options + * will be used + * for the client connection. + * + * `agent:false`: + * + * ```js + * http.get({ + * hostname: 'localhost', + * port: 80, + * path: '/', + * agent: false, // Create a new agent just for this one request + * }, (res) => { + * // Do stuff with response + * }); + * ``` + * @since v0.3.4 + */ + class Agent extends EventEmitter { + /** + * By default set to 256. For agents with `keepAlive` enabled, this + * sets the maximum number of sockets that will be left open in the free + * state. + * @since v0.11.7 + */ + maxFreeSockets: number; + /** + * By default set to `Infinity`. Determines how many concurrent sockets the agent + * can have open per origin. Origin is the returned value of `agent.getName()`. + * @since v0.3.6 + */ + maxSockets: number; + /** + * By default set to `Infinity`. Determines how many concurrent sockets the agent + * can have open. Unlike `maxSockets`, this parameter applies across all origins. + * @since v14.5.0, v12.19.0 + */ + maxTotalSockets: number; + /** + * An object which contains arrays of sockets currently awaiting use by + * the agent when `keepAlive` is enabled. Do not modify. + * + * Sockets in the `freeSockets` list will be automatically destroyed and + * removed from the array on `'timeout'`. + * @since v0.11.4 + */ + readonly freeSockets: NodeJS.ReadOnlyDict; + /** + * An object which contains arrays of sockets currently in use by the + * agent. Do not modify. + * @since v0.3.6 + */ + readonly sockets: NodeJS.ReadOnlyDict; + /** + * An object which contains queues of requests that have not yet been assigned to + * sockets. Do not modify. + * @since v0.5.9 + */ + readonly requests: NodeJS.ReadOnlyDict; + constructor(opts?: AgentOptions); + /** + * Destroy any sockets that are currently in use by the agent. + * + * It is usually not necessary to do this. However, if using an + * agent with `keepAlive` enabled, then it is best to explicitly shut down + * the agent when it is no longer needed. Otherwise, + * sockets might stay open for quite a long time before the server + * terminates them. + * @since v0.11.4 + */ + destroy(): void; + } + const METHODS: string[]; + const STATUS_CODES: { + [errorCode: number]: string | undefined; + [errorCode: string]: string | undefined; + }; + /** + * Returns a new instance of {@link Server}. + * + * The `requestListener` is a function which is automatically + * added to the `'request'` event. + * + * ```js + * import http from 'node:http'; + * + * // Create a local server to receive data from + * const server = http.createServer((req, res) => { + * res.writeHead(200, { 'Content-Type': 'application/json' }); + * res.end(JSON.stringify({ + * data: 'Hello World!', + * })); + * }); + * + * server.listen(8000); + * ``` + * + * ```js + * import http from 'node:http'; + * + * // Create a local server to receive data from + * const server = http.createServer(); + * + * // Listen to the request event + * server.on('request', (request, res) => { + * res.writeHead(200, { 'Content-Type': 'application/json' }); + * res.end(JSON.stringify({ + * data: 'Hello World!', + * })); + * }); + * + * server.listen(8000); + * ``` + * @since v0.1.13 + */ + function createServer< + Request extends typeof IncomingMessage = typeof IncomingMessage, + Response extends typeof ServerResponse = typeof ServerResponse, + >(requestListener?: RequestListener): Server; + function createServer< + Request extends typeof IncomingMessage = typeof IncomingMessage, + Response extends typeof ServerResponse = typeof ServerResponse, + >( + options: ServerOptions, + requestListener?: RequestListener, + ): Server; + // although RequestOptions are passed as ClientRequestArgs to ClientRequest directly, + // create interface RequestOptions would make the naming more clear to developers + interface RequestOptions extends ClientRequestArgs {} + /** + * `options` in `socket.connect()` are also supported. + * + * Node.js maintains several connections per server to make HTTP requests. + * This function allows one to transparently issue requests. + * + * `url` can be a string or a `URL` object. If `url` is a + * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object. + * + * If both `url` and `options` are specified, the objects are merged, with the`options` properties taking precedence. + * + * The optional `callback` parameter will be added as a one-time listener for + * the `'response'` event. + * + * `http.request()` returns an instance of the {@link ClientRequest} class. The `ClientRequest` instance is a writable stream. If one needs to + * upload a file with a POST request, then write to the `ClientRequest` object. + * + * ```js + * import http from 'node:http'; + * import { Buffer } from 'node:buffer'; + * + * const postData = JSON.stringify({ + * 'msg': 'Hello World!', + * }); + * + * const options = { + * hostname: 'www.google.com', + * port: 80, + * path: '/upload', + * method: 'POST', + * headers: { + * 'Content-Type': 'application/json', + * 'Content-Length': Buffer.byteLength(postData), + * }, + * }; + * + * const req = http.request(options, (res) => { + * console.log(`STATUS: ${res.statusCode}`); + * console.log(`HEADERS: ${JSON.stringify(res.headers)}`); + * res.setEncoding('utf8'); + * res.on('data', (chunk) => { + * console.log(`BODY: ${chunk}`); + * }); + * res.on('end', () => { + * console.log('No more data in response.'); + * }); + * }); + * + * req.on('error', (e) => { + * console.error(`problem with request: ${e.message}`); + * }); + * + * // Write data to request body + * req.write(postData); + * req.end(); + * ``` + * + * In the example `req.end()` was called. With `http.request()` one + * must always call `req.end()` to signify the end of the request - + * even if there is no data being written to the request body. + * + * If any error is encountered during the request (be that with DNS resolution, + * TCP level errors, or actual HTTP parse errors) an `'error'` event is emitted + * on the returned request object. As with all `'error'` events, if no listeners + * are registered the error will be thrown. + * + * There are a few special headers that should be noted. + * + * * Sending a 'Connection: keep-alive' will notify Node.js that the connection to + * the server should be persisted until the next request. + * * Sending a 'Content-Length' header will disable the default chunked encoding. + * * Sending an 'Expect' header will immediately send the request headers. + * Usually, when sending 'Expect: 100-continue', both a timeout and a listener + * for the `'continue'` event should be set. See RFC 2616 Section 8.2.3 for more + * information. + * * Sending an Authorization header will override using the `auth` option + * to compute basic authentication. + * + * Example using a `URL` as `options`: + * + * ```js + * const options = new URL('http://abc:xyz@example.com'); + * + * const req = http.request(options, (res) => { + * // ... + * }); + * ``` + * + * In a successful request, the following events will be emitted in the following + * order: + * + * * `'socket'` + * * `'response'` + * * `'data'` any number of times, on the `res` object + * (`'data'` will not be emitted at all if the response body is empty, for + * instance, in most redirects) + * * `'end'` on the `res` object + * * `'close'` + * + * In the case of a connection error, the following events will be emitted: + * + * * `'socket'` + * * `'error'` + * * `'close'` + * + * In the case of a premature connection close before the response is received, + * the following events will be emitted in the following order: + * + * * `'socket'` + * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'` + * * `'close'` + * + * In the case of a premature connection close after the response is received, + * the following events will be emitted in the following order: + * + * * `'socket'` + * * `'response'` + * * `'data'` any number of times, on the `res` object + * * (connection closed here) + * * `'aborted'` on the `res` object + * * `'error'` on the `res` object with an error with message`'Error: aborted'` and code `'ECONNRESET'` + * * `'close'` + * * `'close'` on the `res` object + * + * If `req.destroy()` is called before a socket is assigned, the following + * events will be emitted in the following order: + * + * * (`req.destroy()` called here) + * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'`, or the error with which `req.destroy()` was called + * * `'close'` + * + * If `req.destroy()` is called before the connection succeeds, the following + * events will be emitted in the following order: + * + * * `'socket'` + * * (`req.destroy()` called here) + * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'`, or the error with which `req.destroy()` was called + * * `'close'` + * + * If `req.destroy()` is called after the response is received, the following + * events will be emitted in the following order: + * + * * `'socket'` + * * `'response'` + * * `'data'` any number of times, on the `res` object + * * (`req.destroy()` called here) + * * `'aborted'` on the `res` object + * * `'error'` on the `res` object with an error with message `'Error: aborted'`and code `'ECONNRESET'`, or the error with which `req.destroy()` was called + * * `'close'` + * * `'close'` on the `res` object + * + * If `req.abort()` is called before a socket is assigned, the following + * events will be emitted in the following order: + * + * * (`req.abort()` called here) + * * `'abort'` + * * `'close'` + * + * If `req.abort()` is called before the connection succeeds, the following + * events will be emitted in the following order: + * + * * `'socket'` + * * (`req.abort()` called here) + * * `'abort'` + * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'` + * * `'close'` + * + * If `req.abort()` is called after the response is received, the following + * events will be emitted in the following order: + * + * * `'socket'` + * * `'response'` + * * `'data'` any number of times, on the `res` object + * * (`req.abort()` called here) + * * `'abort'` + * * `'aborted'` on the `res` object + * * `'error'` on the `res` object with an error with message`'Error: aborted'` and code `'ECONNRESET'`. + * * `'close'` + * * `'close'` on the `res` object + * + * Setting the `timeout` option or using the `setTimeout()` function will + * not abort the request or do anything besides add a `'timeout'` event. + * + * Passing an `AbortSignal` and then calling `abort()` on the corresponding`AbortController` will behave the same way as calling `.destroy()` on the + * request. Specifically, the `'error'` event will be emitted with an error with + * the message `'AbortError: The operation was aborted'`, the code `'ABORT_ERR'`and the `cause`, if one was provided. + * @since v0.3.6 + */ + function request(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest; + function request( + url: string | URL, + options: RequestOptions, + callback?: (res: IncomingMessage) => void, + ): ClientRequest; + /** + * Since most requests are GET requests without bodies, Node.js provides this + * convenience method. The only difference between this method and {@link request} is that it sets the method to GET by default and calls `req.end()`automatically. The callback must take care to + * consume the response + * data for reasons stated in {@link ClientRequest} section. + * + * The `callback` is invoked with a single argument that is an instance of {@link IncomingMessage}. + * + * JSON fetching example: + * + * ```js + * http.get('http://localhost:8000/', (res) => { + * const { statusCode } = res; + * const contentType = res.headers['content-type']; + * + * let error; + * // Any 2xx status code signals a successful response but + * // here we're only checking for 200. + * if (statusCode !== 200) { + * error = new Error('Request Failed.\n' + + * `Status Code: ${statusCode}`); + * } else if (!/^application\/json/.test(contentType)) { + * error = new Error('Invalid content-type.\n' + + * `Expected application/json but received ${contentType}`); + * } + * if (error) { + * console.error(error.message); + * // Consume response data to free up memory + * res.resume(); + * return; + * } + * + * res.setEncoding('utf8'); + * let rawData = ''; + * res.on('data', (chunk) => { rawData += chunk; }); + * res.on('end', () => { + * try { + * const parsedData = JSON.parse(rawData); + * console.log(parsedData); + * } catch (e) { + * console.error(e.message); + * } + * }); + * }).on('error', (e) => { + * console.error(`Got error: ${e.message}`); + * }); + * + * // Create a local server to receive data from + * const server = http.createServer((req, res) => { + * res.writeHead(200, { 'Content-Type': 'application/json' }); + * res.end(JSON.stringify({ + * data: 'Hello World!', + * })); + * }); + * + * server.listen(8000); + * ``` + * @since v0.3.6 + * @param options Accepts the same `options` as {@link request}, with the method set to GET by default. + */ + function get(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest; + function get(url: string | URL, options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; + /** + * Performs the low-level validations on the provided `name` that are done when`res.setHeader(name, value)` is called. + * + * Passing illegal value as `name` will result in a `TypeError` being thrown, + * identified by `code: 'ERR_INVALID_HTTP_TOKEN'`. + * + * It is not necessary to use this method before passing headers to an HTTP request + * or response. The HTTP module will automatically validate such headers. + * Examples: + * + * Example: + * + * ```js + * import { validateHeaderName } from 'node:http'; + * + * try { + * validateHeaderName(''); + * } catch (err) { + * console.error(err instanceof TypeError); // --> true + * console.error(err.code); // --> 'ERR_INVALID_HTTP_TOKEN' + * console.error(err.message); // --> 'Header name must be a valid HTTP token [""]' + * } + * ``` + * @since v14.3.0 + * @param [label='Header name'] Label for error message. + */ + function validateHeaderName(name: string): void; + /** + * Performs the low-level validations on the provided `value` that are done when`res.setHeader(name, value)` is called. + * + * Passing illegal value as `value` will result in a `TypeError` being thrown. + * + * * Undefined value error is identified by `code: 'ERR_HTTP_INVALID_HEADER_VALUE'`. + * * Invalid value character error is identified by `code: 'ERR_INVALID_CHAR'`. + * + * It is not necessary to use this method before passing headers to an HTTP request + * or response. The HTTP module will automatically validate such headers. + * + * Examples: + * + * ```js + * import { validateHeaderValue } from 'node:http'; + * + * try { + * validateHeaderValue('x-my-header', undefined); + * } catch (err) { + * console.error(err instanceof TypeError); // --> true + * console.error(err.code === 'ERR_HTTP_INVALID_HEADER_VALUE'); // --> true + * console.error(err.message); // --> 'Invalid value "undefined" for header "x-my-header"' + * } + * + * try { + * validateHeaderValue('x-my-header', 'oʊmɪɡə'); + * } catch (err) { + * console.error(err instanceof TypeError); // --> true + * console.error(err.code === 'ERR_INVALID_CHAR'); // --> true + * console.error(err.message); // --> 'Invalid character in header content ["x-my-header"]' + * } + * ``` + * @since v14.3.0 + * @param name Header name + * @param value Header value + */ + function validateHeaderValue(name: string, value: string): void; + /** + * Set the maximum number of idle HTTP parsers. + * @since v18.8.0, v16.18.0 + * @param [max=1000] + */ + function setMaxIdleHTTPParsers(max: number): void; + let globalAgent: Agent; + /** + * Read-only property specifying the maximum allowed size of HTTP headers in bytes. + * Defaults to 16KB. Configurable using the `--max-http-header-size` CLI option. + */ + const maxHeaderSize: number; +} +declare module "node:http" { + export * from "http"; +} diff --git a/node_modules/@types/node/http2.d.ts b/node_modules/@types/node/http2.d.ts new file mode 100644 index 000000000..c3b3e8ec4 --- /dev/null +++ b/node_modules/@types/node/http2.d.ts @@ -0,0 +1,2382 @@ +/** + * The `node:http2` module provides an implementation of the [HTTP/2](https://tools.ietf.org/html/rfc7540) protocol. + * It can be accessed using: + * + * ```js + * const http2 = require('node:http2'); + * ``` + * @since v8.4.0 + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/http2.js) + */ +declare module "http2" { + import EventEmitter = require("node:events"); + import * as fs from "node:fs"; + import * as net from "node:net"; + import * as stream from "node:stream"; + import * as tls from "node:tls"; + import * as url from "node:url"; + import { + IncomingHttpHeaders as Http1IncomingHttpHeaders, + IncomingMessage, + OutgoingHttpHeaders, + ServerResponse, + } from "node:http"; + export { OutgoingHttpHeaders } from "node:http"; + export interface IncomingHttpStatusHeader { + ":status"?: number | undefined; + } + export interface IncomingHttpHeaders extends Http1IncomingHttpHeaders { + ":path"?: string | undefined; + ":method"?: string | undefined; + ":authority"?: string | undefined; + ":scheme"?: string | undefined; + } + // Http2Stream + export interface StreamPriorityOptions { + exclusive?: boolean | undefined; + parent?: number | undefined; + weight?: number | undefined; + silent?: boolean | undefined; + } + export interface StreamState { + localWindowSize?: number | undefined; + state?: number | undefined; + localClose?: number | undefined; + remoteClose?: number | undefined; + sumDependencyWeight?: number | undefined; + weight?: number | undefined; + } + export interface ServerStreamResponseOptions { + endStream?: boolean | undefined; + waitForTrailers?: boolean | undefined; + } + export interface StatOptions { + offset: number; + length: number; + } + export interface ServerStreamFileResponseOptions { + // eslint-disable-next-line @typescript-eslint/no-invalid-void-type + statCheck?(stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions): void | boolean; + waitForTrailers?: boolean | undefined; + offset?: number | undefined; + length?: number | undefined; + } + export interface ServerStreamFileResponseOptionsWithError extends ServerStreamFileResponseOptions { + onError?(err: NodeJS.ErrnoException): void; + } + export interface Http2Stream extends stream.Duplex { + /** + * Set to `true` if the `Http2Stream` instance was aborted abnormally. When set, + * the `'aborted'` event will have been emitted. + * @since v8.4.0 + */ + readonly aborted: boolean; + /** + * This property shows the number of characters currently buffered to be written. + * See `net.Socket.bufferSize` for details. + * @since v11.2.0, v10.16.0 + */ + readonly bufferSize: number; + /** + * Set to `true` if the `Http2Stream` instance has been closed. + * @since v9.4.0 + */ + readonly closed: boolean; + /** + * Set to `true` if the `Http2Stream` instance has been destroyed and is no longer + * usable. + * @since v8.4.0 + */ + readonly destroyed: boolean; + /** + * Set to `true` if the `END_STREAM` flag was set in the request or response + * HEADERS frame received, indicating that no additional data should be received + * and the readable side of the `Http2Stream` will be closed. + * @since v10.11.0 + */ + readonly endAfterHeaders: boolean; + /** + * The numeric stream identifier of this `Http2Stream` instance. Set to `undefined`if the stream identifier has not yet been assigned. + * @since v8.4.0 + */ + readonly id?: number | undefined; + /** + * Set to `true` if the `Http2Stream` instance has not yet been assigned a + * numeric stream identifier. + * @since v9.4.0 + */ + readonly pending: boolean; + /** + * Set to the `RST_STREAM` `error code` reported when the `Http2Stream` is + * destroyed after either receiving an `RST_STREAM` frame from the connected peer, + * calling `http2stream.close()`, or `http2stream.destroy()`. Will be`undefined` if the `Http2Stream` has not been closed. + * @since v8.4.0 + */ + readonly rstCode: number; + /** + * An object containing the outbound headers sent for this `Http2Stream`. + * @since v9.5.0 + */ + readonly sentHeaders: OutgoingHttpHeaders; + /** + * An array of objects containing the outbound informational (additional) headers + * sent for this `Http2Stream`. + * @since v9.5.0 + */ + readonly sentInfoHeaders?: OutgoingHttpHeaders[] | undefined; + /** + * An object containing the outbound trailers sent for this `HttpStream`. + * @since v9.5.0 + */ + readonly sentTrailers?: OutgoingHttpHeaders | undefined; + /** + * A reference to the `Http2Session` instance that owns this `Http2Stream`. The + * value will be `undefined` after the `Http2Stream` instance is destroyed. + * @since v8.4.0 + */ + readonly session: Http2Session | undefined; + /** + * Provides miscellaneous information about the current state of the`Http2Stream`. + * + * A current state of this `Http2Stream`. + * @since v8.4.0 + */ + readonly state: StreamState; + /** + * Closes the `Http2Stream` instance by sending an `RST_STREAM` frame to the + * connected HTTP/2 peer. + * @since v8.4.0 + * @param [code=http2.constants.NGHTTP2_NO_ERROR] Unsigned 32-bit integer identifying the error code. + * @param callback An optional function registered to listen for the `'close'` event. + */ + close(code?: number, callback?: () => void): void; + /** + * Updates the priority for this `Http2Stream` instance. + * @since v8.4.0 + */ + priority(options: StreamPriorityOptions): void; + /** + * ```js + * const http2 = require('node:http2'); + * const client = http2.connect('http://example.org:8000'); + * const { NGHTTP2_CANCEL } = http2.constants; + * const req = client.request({ ':path': '/' }); + * + * // Cancel the stream if there's no activity after 5 seconds + * req.setTimeout(5000, () => req.close(NGHTTP2_CANCEL)); + * ``` + * @since v8.4.0 + */ + setTimeout(msecs: number, callback?: () => void): void; + /** + * Sends a trailing `HEADERS` frame to the connected HTTP/2 peer. This method + * will cause the `Http2Stream` to be immediately closed and must only be + * called after the `'wantTrailers'` event has been emitted. When sending a + * request or sending a response, the `options.waitForTrailers` option must be set + * in order to keep the `Http2Stream` open after the final `DATA` frame so that + * trailers can be sent. + * + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * stream.respond(undefined, { waitForTrailers: true }); + * stream.on('wantTrailers', () => { + * stream.sendTrailers({ xyz: 'abc' }); + * }); + * stream.end('Hello World'); + * }); + * ``` + * + * The HTTP/1 specification forbids trailers from containing HTTP/2 pseudo-header + * fields (e.g. `':method'`, `':path'`, etc). + * @since v10.0.0 + */ + sendTrailers(headers: OutgoingHttpHeaders): void; + addListener(event: "aborted", listener: () => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "data", listener: (chunk: Buffer | string) => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "end", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "finish", listener: () => void): this; + addListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; + addListener(event: "pipe", listener: (src: stream.Readable) => void): this; + addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + addListener(event: "streamClosed", listener: (code: number) => void): this; + addListener(event: "timeout", listener: () => void): this; + addListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; + addListener(event: "wantTrailers", listener: () => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "aborted"): boolean; + emit(event: "close"): boolean; + emit(event: "data", chunk: Buffer | string): boolean; + emit(event: "drain"): boolean; + emit(event: "end"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "finish"): boolean; + emit(event: "frameError", frameType: number, errorCode: number): boolean; + emit(event: "pipe", src: stream.Readable): boolean; + emit(event: "unpipe", src: stream.Readable): boolean; + emit(event: "streamClosed", code: number): boolean; + emit(event: "timeout"): boolean; + emit(event: "trailers", trailers: IncomingHttpHeaders, flags: number): boolean; + emit(event: "wantTrailers"): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "aborted", listener: () => void): this; + on(event: "close", listener: () => void): this; + on(event: "data", listener: (chunk: Buffer | string) => void): this; + on(event: "drain", listener: () => void): this; + on(event: "end", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "finish", listener: () => void): this; + on(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; + on(event: "pipe", listener: (src: stream.Readable) => void): this; + on(event: "unpipe", listener: (src: stream.Readable) => void): this; + on(event: "streamClosed", listener: (code: number) => void): this; + on(event: "timeout", listener: () => void): this; + on(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; + on(event: "wantTrailers", listener: () => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "aborted", listener: () => void): this; + once(event: "close", listener: () => void): this; + once(event: "data", listener: (chunk: Buffer | string) => void): this; + once(event: "drain", listener: () => void): this; + once(event: "end", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "finish", listener: () => void): this; + once(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; + once(event: "pipe", listener: (src: stream.Readable) => void): this; + once(event: "unpipe", listener: (src: stream.Readable) => void): this; + once(event: "streamClosed", listener: (code: number) => void): this; + once(event: "timeout", listener: () => void): this; + once(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; + once(event: "wantTrailers", listener: () => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "aborted", listener: () => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "end", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "finish", listener: () => void): this; + prependListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; + prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependListener(event: "streamClosed", listener: (code: number) => void): this; + prependListener(event: "timeout", listener: () => void): this; + prependListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; + prependListener(event: "wantTrailers", listener: () => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "aborted", listener: () => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "end", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "finish", listener: () => void): this; + prependOnceListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; + prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: "streamClosed", listener: (code: number) => void): this; + prependOnceListener(event: "timeout", listener: () => void): this; + prependOnceListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; + prependOnceListener(event: "wantTrailers", listener: () => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + export interface ClientHttp2Stream extends Http2Stream { + addListener(event: "continue", listener: () => {}): this; + addListener( + event: "headers", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + addListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; + addListener( + event: "response", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "continue"): boolean; + emit(event: "headers", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean; + emit(event: "push", headers: IncomingHttpHeaders, flags: number): boolean; + emit(event: "response", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "continue", listener: () => {}): this; + on( + event: "headers", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + on(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; + on( + event: "response", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "continue", listener: () => {}): this; + once( + event: "headers", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + once(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; + once( + event: "response", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "continue", listener: () => {}): this; + prependListener( + event: "headers", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + prependListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; + prependListener( + event: "response", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "continue", listener: () => {}): this; + prependOnceListener( + event: "headers", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + prependOnceListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; + prependOnceListener( + event: "response", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + export interface ServerHttp2Stream extends Http2Stream { + /** + * True if headers were sent, false otherwise (read-only). + * @since v8.4.0 + */ + readonly headersSent: boolean; + /** + * Read-only property mapped to the `SETTINGS_ENABLE_PUSH` flag of the remote + * client's most recent `SETTINGS` frame. Will be `true` if the remote peer + * accepts push streams, `false` otherwise. Settings are the same for every`Http2Stream` in the same `Http2Session`. + * @since v8.4.0 + */ + readonly pushAllowed: boolean; + /** + * Sends an additional informational `HEADERS` frame to the connected HTTP/2 peer. + * @since v8.4.0 + */ + additionalHeaders(headers: OutgoingHttpHeaders): void; + /** + * Initiates a push stream. The callback is invoked with the new `Http2Stream`instance created for the push stream passed as the second argument, or an`Error` passed as the first argument. + * + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * stream.respond({ ':status': 200 }); + * stream.pushStream({ ':path': '/' }, (err, pushStream, headers) => { + * if (err) throw err; + * pushStream.respond({ ':status': 200 }); + * pushStream.end('some pushed data'); + * }); + * stream.end('some data'); + * }); + * ``` + * + * Setting the weight of a push stream is not allowed in the `HEADERS` frame. Pass + * a `weight` value to `http2stream.priority` with the `silent` option set to`true` to enable server-side bandwidth balancing between concurrent streams. + * + * Calling `http2stream.pushStream()` from within a pushed stream is not permitted + * and will throw an error. + * @since v8.4.0 + * @param callback Callback that is called once the push stream has been initiated. + */ + pushStream( + headers: OutgoingHttpHeaders, + callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void, + ): void; + pushStream( + headers: OutgoingHttpHeaders, + options?: StreamPriorityOptions, + callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void, + ): void; + /** + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * stream.respond({ ':status': 200 }); + * stream.end('some data'); + * }); + * ``` + * + * Initiates a response. When the `options.waitForTrailers` option is set, the`'wantTrailers'` event will be emitted immediately after queuing the last chunk + * of payload data to be sent. The `http2stream.sendTrailers()` method can then be + * used to sent trailing header fields to the peer. + * + * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically + * close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. + * + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * stream.respond({ ':status': 200 }, { waitForTrailers: true }); + * stream.on('wantTrailers', () => { + * stream.sendTrailers({ ABC: 'some value to send' }); + * }); + * stream.end('some data'); + * }); + * ``` + * @since v8.4.0 + */ + respond(headers?: OutgoingHttpHeaders, options?: ServerStreamResponseOptions): void; + /** + * Initiates a response whose data is read from the given file descriptor. No + * validation is performed on the given file descriptor. If an error occurs while + * attempting to read data using the file descriptor, the `Http2Stream` will be + * closed using an `RST_STREAM` frame using the standard `INTERNAL_ERROR` code. + * + * When used, the `Http2Stream` object's `Duplex` interface will be closed + * automatically. + * + * ```js + * const http2 = require('node:http2'); + * const fs = require('node:fs'); + * + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * const fd = fs.openSync('/some/file', 'r'); + * + * const stat = fs.fstatSync(fd); + * const headers = { + * 'content-length': stat.size, + * 'last-modified': stat.mtime.toUTCString(), + * 'content-type': 'text/plain; charset=utf-8', + * }; + * stream.respondWithFD(fd, headers); + * stream.on('close', () => fs.closeSync(fd)); + * }); + * ``` + * + * The optional `options.statCheck` function may be specified to give user code + * an opportunity to set additional content headers based on the `fs.Stat` details + * of the given fd. If the `statCheck` function is provided, the`http2stream.respondWithFD()` method will perform an `fs.fstat()` call to + * collect details on the provided file descriptor. + * + * The `offset` and `length` options may be used to limit the response to a + * specific range subset. This can be used, for instance, to support HTTP Range + * requests. + * + * The file descriptor or `FileHandle` is not closed when the stream is closed, + * so it will need to be closed manually once it is no longer needed. + * Using the same file descriptor concurrently for multiple streams + * is not supported and may result in data loss. Re-using a file descriptor + * after a stream has finished is supported. + * + * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event + * will be emitted immediately after queuing the last chunk of payload data to be + * sent. The `http2stream.sendTrailers()` method can then be used to sent trailing + * header fields to the peer. + * + * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically + * close when the final `DATA` frame is transmitted. User code _must_ call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. + * + * ```js + * const http2 = require('node:http2'); + * const fs = require('node:fs'); + * + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * const fd = fs.openSync('/some/file', 'r'); + * + * const stat = fs.fstatSync(fd); + * const headers = { + * 'content-length': stat.size, + * 'last-modified': stat.mtime.toUTCString(), + * 'content-type': 'text/plain; charset=utf-8', + * }; + * stream.respondWithFD(fd, headers, { waitForTrailers: true }); + * stream.on('wantTrailers', () => { + * stream.sendTrailers({ ABC: 'some value to send' }); + * }); + * + * stream.on('close', () => fs.closeSync(fd)); + * }); + * ``` + * @since v8.4.0 + * @param fd A readable file descriptor. + */ + respondWithFD( + fd: number | fs.promises.FileHandle, + headers?: OutgoingHttpHeaders, + options?: ServerStreamFileResponseOptions, + ): void; + /** + * Sends a regular file as the response. The `path` must specify a regular file + * or an `'error'` event will be emitted on the `Http2Stream` object. + * + * When used, the `Http2Stream` object's `Duplex` interface will be closed + * automatically. + * + * The optional `options.statCheck` function may be specified to give user code + * an opportunity to set additional content headers based on the `fs.Stat` details + * of the given file: + * + * If an error occurs while attempting to read the file data, the `Http2Stream`will be closed using an `RST_STREAM` frame using the standard `INTERNAL_ERROR`code. If the `onError` callback is + * defined, then it will be called. Otherwise + * the stream will be destroyed. + * + * Example using a file path: + * + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * function statCheck(stat, headers) { + * headers['last-modified'] = stat.mtime.toUTCString(); + * } + * + * function onError(err) { + * // stream.respond() can throw if the stream has been destroyed by + * // the other side. + * try { + * if (err.code === 'ENOENT') { + * stream.respond({ ':status': 404 }); + * } else { + * stream.respond({ ':status': 500 }); + * } + * } catch (err) { + * // Perform actual error handling. + * console.error(err); + * } + * stream.end(); + * } + * + * stream.respondWithFile('/some/file', + * { 'content-type': 'text/plain; charset=utf-8' }, + * { statCheck, onError }); + * }); + * ``` + * + * The `options.statCheck` function may also be used to cancel the send operation + * by returning `false`. For instance, a conditional request may check the stat + * results to determine if the file has been modified to return an appropriate`304` response: + * + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * function statCheck(stat, headers) { + * // Check the stat here... + * stream.respond({ ':status': 304 }); + * return false; // Cancel the send operation + * } + * stream.respondWithFile('/some/file', + * { 'content-type': 'text/plain; charset=utf-8' }, + * { statCheck }); + * }); + * ``` + * + * The `content-length` header field will be automatically set. + * + * The `offset` and `length` options may be used to limit the response to a + * specific range subset. This can be used, for instance, to support HTTP Range + * requests. + * + * The `options.onError` function may also be used to handle all the errors + * that could happen before the delivery of the file is initiated. The + * default behavior is to destroy the stream. + * + * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event + * will be emitted immediately after queuing the last chunk of payload data to be + * sent. The `http2stream.sendTrailers()` method can then be used to sent trailing + * header fields to the peer. + * + * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically + * close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. + * + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * stream.respondWithFile('/some/file', + * { 'content-type': 'text/plain; charset=utf-8' }, + * { waitForTrailers: true }); + * stream.on('wantTrailers', () => { + * stream.sendTrailers({ ABC: 'some value to send' }); + * }); + * }); + * ``` + * @since v8.4.0 + */ + respondWithFile( + path: string, + headers?: OutgoingHttpHeaders, + options?: ServerStreamFileResponseOptionsWithError, + ): void; + } + // Http2Session + export interface Settings { + headerTableSize?: number | undefined; + enablePush?: boolean | undefined; + initialWindowSize?: number | undefined; + maxFrameSize?: number | undefined; + maxConcurrentStreams?: number | undefined; + maxHeaderListSize?: number | undefined; + enableConnectProtocol?: boolean | undefined; + } + export interface ClientSessionRequestOptions { + endStream?: boolean | undefined; + exclusive?: boolean | undefined; + parent?: number | undefined; + weight?: number | undefined; + waitForTrailers?: boolean | undefined; + signal?: AbortSignal | undefined; + } + export interface SessionState { + effectiveLocalWindowSize?: number | undefined; + effectiveRecvDataLength?: number | undefined; + nextStreamID?: number | undefined; + localWindowSize?: number | undefined; + lastProcStreamID?: number | undefined; + remoteWindowSize?: number | undefined; + outboundQueueSize?: number | undefined; + deflateDynamicTableSize?: number | undefined; + inflateDynamicTableSize?: number | undefined; + } + export interface Http2Session extends EventEmitter { + /** + * Value will be `undefined` if the `Http2Session` is not yet connected to a + * socket, `h2c` if the `Http2Session` is not connected to a `TLSSocket`, or + * will return the value of the connected `TLSSocket`'s own `alpnProtocol`property. + * @since v9.4.0 + */ + readonly alpnProtocol?: string | undefined; + /** + * Will be `true` if this `Http2Session` instance has been closed, otherwise`false`. + * @since v9.4.0 + */ + readonly closed: boolean; + /** + * Will be `true` if this `Http2Session` instance is still connecting, will be set + * to `false` before emitting `connect` event and/or calling the `http2.connect`callback. + * @since v10.0.0 + */ + readonly connecting: boolean; + /** + * Will be `true` if this `Http2Session` instance has been destroyed and must no + * longer be used, otherwise `false`. + * @since v8.4.0 + */ + readonly destroyed: boolean; + /** + * Value is `undefined` if the `Http2Session` session socket has not yet been + * connected, `true` if the `Http2Session` is connected with a `TLSSocket`, + * and `false` if the `Http2Session` is connected to any other kind of socket + * or stream. + * @since v9.4.0 + */ + readonly encrypted?: boolean | undefined; + /** + * A prototype-less object describing the current local settings of this`Http2Session`. The local settings are local to _this_`Http2Session` instance. + * @since v8.4.0 + */ + readonly localSettings: Settings; + /** + * If the `Http2Session` is connected to a `TLSSocket`, the `originSet` property + * will return an `Array` of origins for which the `Http2Session` may be + * considered authoritative. + * + * The `originSet` property is only available when using a secure TLS connection. + * @since v9.4.0 + */ + readonly originSet?: string[] | undefined; + /** + * Indicates whether the `Http2Session` is currently waiting for acknowledgment of + * a sent `SETTINGS` frame. Will be `true` after calling the`http2session.settings()` method. Will be `false` once all sent `SETTINGS`frames have been acknowledged. + * @since v8.4.0 + */ + readonly pendingSettingsAck: boolean; + /** + * A prototype-less object describing the current remote settings of this`Http2Session`. The remote settings are set by the _connected_ HTTP/2 peer. + * @since v8.4.0 + */ + readonly remoteSettings: Settings; + /** + * Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but + * limits available methods to ones safe to use with HTTP/2. + * + * `destroy`, `emit`, `end`, `pause`, `read`, `resume`, and `write` will throw + * an error with code `ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for more information. + * + * `setTimeout` method will be called on this `Http2Session`. + * + * All other interactions will be routed directly to the socket. + * @since v8.4.0 + */ + readonly socket: net.Socket | tls.TLSSocket; + /** + * Provides miscellaneous information about the current state of the`Http2Session`. + * + * An object describing the current status of this `Http2Session`. + * @since v8.4.0 + */ + readonly state: SessionState; + /** + * The `http2session.type` will be equal to`http2.constants.NGHTTP2_SESSION_SERVER` if this `Http2Session` instance is a + * server, and `http2.constants.NGHTTP2_SESSION_CLIENT` if the instance is a + * client. + * @since v8.4.0 + */ + readonly type: number; + /** + * Gracefully closes the `Http2Session`, allowing any existing streams to + * complete on their own and preventing new `Http2Stream` instances from being + * created. Once closed, `http2session.destroy()`_might_ be called if there + * are no open `Http2Stream` instances. + * + * If specified, the `callback` function is registered as a handler for the`'close'` event. + * @since v9.4.0 + */ + close(callback?: () => void): void; + /** + * Immediately terminates the `Http2Session` and the associated `net.Socket` or`tls.TLSSocket`. + * + * Once destroyed, the `Http2Session` will emit the `'close'` event. If `error`is not undefined, an `'error'` event will be emitted immediately before the`'close'` event. + * + * If there are any remaining open `Http2Streams` associated with the`Http2Session`, those will also be destroyed. + * @since v8.4.0 + * @param error An `Error` object if the `Http2Session` is being destroyed due to an error. + * @param code The HTTP/2 error code to send in the final `GOAWAY` frame. If unspecified, and `error` is not undefined, the default is `INTERNAL_ERROR`, otherwise defaults to `NO_ERROR`. + */ + destroy(error?: Error, code?: number): void; + /** + * Transmits a `GOAWAY` frame to the connected peer _without_ shutting down the`Http2Session`. + * @since v9.4.0 + * @param code An HTTP/2 error code + * @param lastStreamID The numeric ID of the last processed `Http2Stream` + * @param opaqueData A `TypedArray` or `DataView` instance containing additional data to be carried within the `GOAWAY` frame. + */ + goaway(code?: number, lastStreamID?: number, opaqueData?: NodeJS.ArrayBufferView): void; + /** + * Sends a `PING` frame to the connected HTTP/2 peer. A `callback` function must + * be provided. The method will return `true` if the `PING` was sent, `false`otherwise. + * + * The maximum number of outstanding (unacknowledged) pings is determined by the`maxOutstandingPings` configuration option. The default maximum is 10. + * + * If provided, the `payload` must be a `Buffer`, `TypedArray`, or `DataView`containing 8 bytes of data that will be transmitted with the `PING` and + * returned with the ping acknowledgment. + * + * The callback will be invoked with three arguments: an error argument that will + * be `null` if the `PING` was successfully acknowledged, a `duration` argument + * that reports the number of milliseconds elapsed since the ping was sent and the + * acknowledgment was received, and a `Buffer` containing the 8-byte `PING`payload. + * + * ```js + * session.ping(Buffer.from('abcdefgh'), (err, duration, payload) => { + * if (!err) { + * console.log(`Ping acknowledged in ${duration} milliseconds`); + * console.log(`With payload '${payload.toString()}'`); + * } + * }); + * ``` + * + * If the `payload` argument is not specified, the default payload will be the + * 64-bit timestamp (little endian) marking the start of the `PING` duration. + * @since v8.9.3 + * @param payload Optional ping payload. + */ + ping(callback: (err: Error | null, duration: number, payload: Buffer) => void): boolean; + ping( + payload: NodeJS.ArrayBufferView, + callback: (err: Error | null, duration: number, payload: Buffer) => void, + ): boolean; + /** + * Calls `ref()` on this `Http2Session`instance's underlying `net.Socket`. + * @since v9.4.0 + */ + ref(): void; + /** + * Sets the local endpoint's window size. + * The `windowSize` is the total window size to set, not + * the delta. + * + * ```js + * const http2 = require('node:http2'); + * + * const server = http2.createServer(); + * const expectedWindowSize = 2 ** 20; + * server.on('connect', (session) => { + * + * // Set local window size to be 2 ** 20 + * session.setLocalWindowSize(expectedWindowSize); + * }); + * ``` + * @since v15.3.0, v14.18.0 + */ + setLocalWindowSize(windowSize: number): void; + /** + * Used to set a callback function that is called when there is no activity on + * the `Http2Session` after `msecs` milliseconds. The given `callback` is + * registered as a listener on the `'timeout'` event. + * @since v8.4.0 + */ + setTimeout(msecs: number, callback?: () => void): void; + /** + * Updates the current local settings for this `Http2Session` and sends a new`SETTINGS` frame to the connected HTTP/2 peer. + * + * Once called, the `http2session.pendingSettingsAck` property will be `true`while the session is waiting for the remote peer to acknowledge the new + * settings. + * + * The new settings will not become effective until the `SETTINGS` acknowledgment + * is received and the `'localSettings'` event is emitted. It is possible to send + * multiple `SETTINGS` frames while acknowledgment is still pending. + * @since v8.4.0 + * @param callback Callback that is called once the session is connected or right away if the session is already connected. + */ + settings( + settings: Settings, + callback?: (err: Error | null, settings: Settings, duration: number) => void, + ): void; + /** + * Calls `unref()` on this `Http2Session`instance's underlying `net.Socket`. + * @since v9.4.0 + */ + unref(): void; + addListener(event: "close", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener( + event: "frameError", + listener: (frameType: number, errorCode: number, streamID: number) => void, + ): this; + addListener( + event: "goaway", + listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void, + ): this; + addListener(event: "localSettings", listener: (settings: Settings) => void): this; + addListener(event: "ping", listener: () => void): this; + addListener(event: "remoteSettings", listener: (settings: Settings) => void): this; + addListener(event: "timeout", listener: () => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "close"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "frameError", frameType: number, errorCode: number, streamID: number): boolean; + emit(event: "goaway", errorCode: number, lastStreamID: number, opaqueData?: Buffer): boolean; + emit(event: "localSettings", settings: Settings): boolean; + emit(event: "ping"): boolean; + emit(event: "remoteSettings", settings: Settings): boolean; + emit(event: "timeout"): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "close", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; + on(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void): this; + on(event: "localSettings", listener: (settings: Settings) => void): this; + on(event: "ping", listener: () => void): this; + on(event: "remoteSettings", listener: (settings: Settings) => void): this; + on(event: "timeout", listener: () => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; + once(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void): this; + once(event: "localSettings", listener: (settings: Settings) => void): this; + once(event: "ping", listener: () => void): this; + once(event: "remoteSettings", listener: (settings: Settings) => void): this; + once(event: "timeout", listener: () => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener( + event: "frameError", + listener: (frameType: number, errorCode: number, streamID: number) => void, + ): this; + prependListener( + event: "goaway", + listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void, + ): this; + prependListener(event: "localSettings", listener: (settings: Settings) => void): this; + prependListener(event: "ping", listener: () => void): this; + prependListener(event: "remoteSettings", listener: (settings: Settings) => void): this; + prependListener(event: "timeout", listener: () => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener( + event: "frameError", + listener: (frameType: number, errorCode: number, streamID: number) => void, + ): this; + prependOnceListener( + event: "goaway", + listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void, + ): this; + prependOnceListener(event: "localSettings", listener: (settings: Settings) => void): this; + prependOnceListener(event: "ping", listener: () => void): this; + prependOnceListener(event: "remoteSettings", listener: (settings: Settings) => void): this; + prependOnceListener(event: "timeout", listener: () => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + export interface ClientHttp2Session extends Http2Session { + /** + * For HTTP/2 Client `Http2Session` instances only, the `http2session.request()`creates and returns an `Http2Stream` instance that can be used to send an + * HTTP/2 request to the connected server. + * + * When a `ClientHttp2Session` is first created, the socket may not yet be + * connected. if `clienthttp2session.request()` is called during this time, the + * actual request will be deferred until the socket is ready to go. + * If the `session` is closed before the actual request be executed, an`ERR_HTTP2_GOAWAY_SESSION` is thrown. + * + * This method is only available if `http2session.type` is equal to`http2.constants.NGHTTP2_SESSION_CLIENT`. + * + * ```js + * const http2 = require('node:http2'); + * const clientSession = http2.connect('https://localhost:1234'); + * const { + * HTTP2_HEADER_PATH, + * HTTP2_HEADER_STATUS, + * } = http2.constants; + * + * const req = clientSession.request({ [HTTP2_HEADER_PATH]: '/' }); + * req.on('response', (headers) => { + * console.log(headers[HTTP2_HEADER_STATUS]); + * req.on('data', (chunk) => { // .. }); + * req.on('end', () => { // .. }); + * }); + * ``` + * + * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event + * is emitted immediately after queuing the last chunk of payload data to be sent. + * The `http2stream.sendTrailers()` method can then be called to send trailing + * headers to the peer. + * + * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically + * close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. + * + * When `options.signal` is set with an `AbortSignal` and then `abort` on the + * corresponding `AbortController` is called, the request will emit an `'error'`event with an `AbortError` error. + * + * The `:method` and `:path` pseudo-headers are not specified within `headers`, + * they respectively default to: + * + * * `:method` \= `'GET'` + * * `:path` \= `/` + * @since v8.4.0 + */ + request(headers?: OutgoingHttpHeaders, options?: ClientSessionRequestOptions): ClientHttp2Stream; + addListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; + addListener(event: "origin", listener: (origins: string[]) => void): this; + addListener( + event: "connect", + listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + addListener( + event: "stream", + listener: ( + stream: ClientHttp2Stream, + headers: IncomingHttpHeaders & IncomingHttpStatusHeader, + flags: number, + ) => void, + ): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "altsvc", alt: string, origin: string, stream: number): boolean; + emit(event: "origin", origins: readonly string[]): boolean; + emit(event: "connect", session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket): boolean; + emit( + event: "stream", + stream: ClientHttp2Stream, + headers: IncomingHttpHeaders & IncomingHttpStatusHeader, + flags: number, + ): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; + on(event: "origin", listener: (origins: string[]) => void): this; + on(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; + on( + event: "stream", + listener: ( + stream: ClientHttp2Stream, + headers: IncomingHttpHeaders & IncomingHttpStatusHeader, + flags: number, + ) => void, + ): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; + once(event: "origin", listener: (origins: string[]) => void): this; + once( + event: "connect", + listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + once( + event: "stream", + listener: ( + stream: ClientHttp2Stream, + headers: IncomingHttpHeaders & IncomingHttpStatusHeader, + flags: number, + ) => void, + ): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; + prependListener(event: "origin", listener: (origins: string[]) => void): this; + prependListener( + event: "connect", + listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + prependListener( + event: "stream", + listener: ( + stream: ClientHttp2Stream, + headers: IncomingHttpHeaders & IncomingHttpStatusHeader, + flags: number, + ) => void, + ): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; + prependOnceListener(event: "origin", listener: (origins: string[]) => void): this; + prependOnceListener( + event: "connect", + listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + prependOnceListener( + event: "stream", + listener: ( + stream: ClientHttp2Stream, + headers: IncomingHttpHeaders & IncomingHttpStatusHeader, + flags: number, + ) => void, + ): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + export interface AlternativeServiceOptions { + origin: number | string | url.URL; + } + export interface ServerHttp2Session extends Http2Session { + readonly server: Http2Server | Http2SecureServer; + /** + * Submits an `ALTSVC` frame (as defined by [RFC 7838](https://tools.ietf.org/html/rfc7838)) to the connected client. + * + * ```js + * const http2 = require('node:http2'); + * + * const server = http2.createServer(); + * server.on('session', (session) => { + * // Set altsvc for origin https://example.org:80 + * session.altsvc('h2=":8000"', 'https://example.org:80'); + * }); + * + * server.on('stream', (stream) => { + * // Set altsvc for a specific stream + * stream.session.altsvc('h2=":8000"', stream.id); + * }); + * ``` + * + * Sending an `ALTSVC` frame with a specific stream ID indicates that the alternate + * service is associated with the origin of the given `Http2Stream`. + * + * The `alt` and origin string _must_ contain only ASCII bytes and are + * strictly interpreted as a sequence of ASCII bytes. The special value `'clear'`may be passed to clear any previously set alternative service for a given + * domain. + * + * When a string is passed for the `originOrStream` argument, it will be parsed as + * a URL and the origin will be derived. For instance, the origin for the + * HTTP URL `'https://example.org/foo/bar'` is the ASCII string`'https://example.org'`. An error will be thrown if either the given string + * cannot be parsed as a URL or if a valid origin cannot be derived. + * + * A `URL` object, or any object with an `origin` property, may be passed as`originOrStream`, in which case the value of the `origin` property will be + * used. The value of the `origin` property _must_ be a properly serialized + * ASCII origin. + * @since v9.4.0 + * @param alt A description of the alternative service configuration as defined by `RFC 7838`. + * @param originOrStream Either a URL string specifying the origin (or an `Object` with an `origin` property) or the numeric identifier of an active `Http2Stream` as given by the + * `http2stream.id` property. + */ + altsvc(alt: string, originOrStream: number | string | url.URL | AlternativeServiceOptions): void; + /** + * Submits an `ORIGIN` frame (as defined by [RFC 8336](https://tools.ietf.org/html/rfc8336)) to the connected client + * to advertise the set of origins for which the server is capable of providing + * authoritative responses. + * + * ```js + * const http2 = require('node:http2'); + * const options = getSecureOptionsSomehow(); + * const server = http2.createSecureServer(options); + * server.on('stream', (stream) => { + * stream.respond(); + * stream.end('ok'); + * }); + * server.on('session', (session) => { + * session.origin('https://example.com', 'https://example.org'); + * }); + * ``` + * + * When a string is passed as an `origin`, it will be parsed as a URL and the + * origin will be derived. For instance, the origin for the HTTP URL`'https://example.org/foo/bar'` is the ASCII string`'https://example.org'`. An error will be thrown if either the given + * string + * cannot be parsed as a URL or if a valid origin cannot be derived. + * + * A `URL` object, or any object with an `origin` property, may be passed as + * an `origin`, in which case the value of the `origin` property will be + * used. The value of the `origin` property _must_ be a properly serialized + * ASCII origin. + * + * Alternatively, the `origins` option may be used when creating a new HTTP/2 + * server using the `http2.createSecureServer()` method: + * + * ```js + * const http2 = require('node:http2'); + * const options = getSecureOptionsSomehow(); + * options.origins = ['https://example.com', 'https://example.org']; + * const server = http2.createSecureServer(options); + * server.on('stream', (stream) => { + * stream.respond(); + * stream.end('ok'); + * }); + * ``` + * @since v10.12.0 + * @param origins One or more URL Strings passed as separate arguments. + */ + origin( + ...origins: Array< + | string + | url.URL + | { + origin: string; + } + > + ): void; + addListener( + event: "connect", + listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + addListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "connect", session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket): boolean; + emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; + on( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once( + event: "connect", + listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + once( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener( + event: "connect", + listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + prependListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener( + event: "connect", + listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + prependOnceListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + // Http2Server + export interface SessionOptions { + maxDeflateDynamicTableSize?: number | undefined; + maxSessionMemory?: number | undefined; + maxHeaderListPairs?: number | undefined; + maxOutstandingPings?: number | undefined; + maxSendHeaderBlockLength?: number | undefined; + paddingStrategy?: number | undefined; + peerMaxConcurrentStreams?: number | undefined; + settings?: Settings | undefined; + /** + * Specifies a timeout in milliseconds that + * a server should wait when an [`'unknownProtocol'`][] is emitted. If the + * socket has not been destroyed by that time the server will destroy it. + * @default 100000 + */ + unknownProtocolTimeout?: number | undefined; + selectPadding?(frameLen: number, maxFrameLen: number): number; + } + export interface ClientSessionOptions extends SessionOptions { + maxReservedRemoteStreams?: number | undefined; + createConnection?: ((authority: url.URL, option: SessionOptions) => stream.Duplex) | undefined; + protocol?: "http:" | "https:" | undefined; + } + export interface ServerSessionOptions extends SessionOptions { + Http1IncomingMessage?: typeof IncomingMessage | undefined; + Http1ServerResponse?: typeof ServerResponse | undefined; + Http2ServerRequest?: typeof Http2ServerRequest | undefined; + Http2ServerResponse?: typeof Http2ServerResponse | undefined; + } + export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions {} + export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions {} + export interface ServerOptions extends ServerSessionOptions {} + export interface SecureServerOptions extends SecureServerSessionOptions { + allowHTTP1?: boolean | undefined; + origins?: string[] | undefined; + } + interface HTTP2ServerCommon { + setTimeout(msec?: number, callback?: () => void): this; + /** + * Throws ERR_HTTP2_INVALID_SETTING_VALUE for invalid settings values. + * Throws ERR_INVALID_ARG_TYPE for invalid settings argument. + */ + updateSettings(settings: Settings): void; + } + export interface Http2Server extends net.Server, HTTP2ServerCommon { + addListener( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + addListener( + event: "request", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + addListener(event: "session", listener: (session: ServerHttp2Session) => void): this; + addListener(event: "sessionError", listener: (err: Error) => void): this; + addListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + addListener(event: "timeout", listener: () => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean; + emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean; + emit(event: "session", session: ServerHttp2Session): boolean; + emit(event: "sessionError", err: Error): boolean; + emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; + emit(event: "timeout"): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; + on(event: "session", listener: (session: ServerHttp2Session) => void): this; + on(event: "sessionError", listener: (err: Error) => void): this; + on( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + on(event: "timeout", listener: () => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; + once(event: "session", listener: (session: ServerHttp2Session) => void): this; + once(event: "sessionError", listener: (err: Error) => void): this; + once( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + once(event: "timeout", listener: () => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependListener( + event: "request", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this; + prependListener(event: "sessionError", listener: (err: Error) => void): this; + prependListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + prependListener(event: "timeout", listener: () => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependOnceListener( + event: "request", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this; + prependOnceListener(event: "sessionError", listener: (err: Error) => void): this; + prependOnceListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + prependOnceListener(event: "timeout", listener: () => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + export interface Http2SecureServer extends tls.Server, HTTP2ServerCommon { + addListener( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + addListener( + event: "request", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + addListener(event: "session", listener: (session: ServerHttp2Session) => void): this; + addListener(event: "sessionError", listener: (err: Error) => void): this; + addListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + addListener(event: "timeout", listener: () => void): this; + addListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean; + emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean; + emit(event: "session", session: ServerHttp2Session): boolean; + emit(event: "sessionError", err: Error): boolean; + emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; + emit(event: "timeout"): boolean; + emit(event: "unknownProtocol", socket: tls.TLSSocket): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; + on(event: "session", listener: (session: ServerHttp2Session) => void): this; + on(event: "sessionError", listener: (err: Error) => void): this; + on( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + on(event: "timeout", listener: () => void): this; + on(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; + once(event: "session", listener: (session: ServerHttp2Session) => void): this; + once(event: "sessionError", listener: (err: Error) => void): this; + once( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + once(event: "timeout", listener: () => void): this; + once(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependListener( + event: "request", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this; + prependListener(event: "sessionError", listener: (err: Error) => void): this; + prependListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + prependListener(event: "timeout", listener: () => void): this; + prependListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependOnceListener( + event: "request", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this; + prependOnceListener(event: "sessionError", listener: (err: Error) => void): this; + prependOnceListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + prependOnceListener(event: "timeout", listener: () => void): this; + prependOnceListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + /** + * A `Http2ServerRequest` object is created by {@link Server} or {@link SecureServer} and passed as the first argument to the `'request'` event. It may be used to access a request status, + * headers, and + * data. + * @since v8.4.0 + */ + export class Http2ServerRequest extends stream.Readable { + constructor( + stream: ServerHttp2Stream, + headers: IncomingHttpHeaders, + options: stream.ReadableOptions, + rawHeaders: readonly string[], + ); + /** + * The `request.aborted` property will be `true` if the request has + * been aborted. + * @since v10.1.0 + */ + readonly aborted: boolean; + /** + * The request authority pseudo header field. Because HTTP/2 allows requests + * to set either `:authority` or `host`, this value is derived from`req.headers[':authority']` if present. Otherwise, it is derived from`req.headers['host']`. + * @since v8.4.0 + */ + readonly authority: string; + /** + * See `request.socket`. + * @since v8.4.0 + * @deprecated Since v13.0.0 - Use `socket`. + */ + readonly connection: net.Socket | tls.TLSSocket; + /** + * The `request.complete` property will be `true` if the request has + * been completed, aborted, or destroyed. + * @since v12.10.0 + */ + readonly complete: boolean; + /** + * The request/response headers object. + * + * Key-value pairs of header names and values. Header names are lower-cased. + * + * ```js + * // Prints something like: + * // + * // { 'user-agent': 'curl/7.22.0', + * // host: '127.0.0.1:8000', + * // accept: '*' } + * console.log(request.headers); + * ``` + * + * See `HTTP/2 Headers Object`. + * + * In HTTP/2, the request path, host name, protocol, and method are represented as + * special headers prefixed with the `:` character (e.g. `':path'`). These special + * headers will be included in the `request.headers` object. Care must be taken not + * to inadvertently modify these special headers or errors may occur. For instance, + * removing all headers from the request will cause errors to occur: + * + * ```js + * removeAllHeaders(request.headers); + * assert(request.url); // Fails because the :path header has been removed + * ``` + * @since v8.4.0 + */ + readonly headers: IncomingHttpHeaders; + /** + * In case of server request, the HTTP version sent by the client. In the case of + * client response, the HTTP version of the connected-to server. Returns`'2.0'`. + * + * Also `message.httpVersionMajor` is the first integer and`message.httpVersionMinor` is the second. + * @since v8.4.0 + */ + readonly httpVersion: string; + readonly httpVersionMinor: number; + readonly httpVersionMajor: number; + /** + * The request method as a string. Read-only. Examples: `'GET'`, `'DELETE'`. + * @since v8.4.0 + */ + readonly method: string; + /** + * The raw request/response headers list exactly as they were received. + * + * The keys and values are in the same list. It is _not_ a + * list of tuples. So, the even-numbered offsets are key values, and the + * odd-numbered offsets are the associated values. + * + * Header names are not lowercased, and duplicates are not merged. + * + * ```js + * // Prints something like: + * // + * // [ 'user-agent', + * // 'this is invalid because there can be only one', + * // 'User-Agent', + * // 'curl/7.22.0', + * // 'Host', + * // '127.0.0.1:8000', + * // 'ACCEPT', + * // '*' ] + * console.log(request.rawHeaders); + * ``` + * @since v8.4.0 + */ + readonly rawHeaders: string[]; + /** + * The raw request/response trailer keys and values exactly as they were + * received. Only populated at the `'end'` event. + * @since v8.4.0 + */ + readonly rawTrailers: string[]; + /** + * The request scheme pseudo header field indicating the scheme + * portion of the target URL. + * @since v8.4.0 + */ + readonly scheme: string; + /** + * Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but + * applies getters, setters, and methods based on HTTP/2 logic. + * + * `destroyed`, `readable`, and `writable` properties will be retrieved from and + * set on `request.stream`. + * + * `destroy`, `emit`, `end`, `on` and `once` methods will be called on`request.stream`. + * + * `setTimeout` method will be called on `request.stream.session`. + * + * `pause`, `read`, `resume`, and `write` will throw an error with code`ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for + * more information. + * + * All other interactions will be routed directly to the socket. With TLS support, + * use `request.socket.getPeerCertificate()` to obtain the client's + * authentication details. + * @since v8.4.0 + */ + readonly socket: net.Socket | tls.TLSSocket; + /** + * The `Http2Stream` object backing the request. + * @since v8.4.0 + */ + readonly stream: ServerHttp2Stream; + /** + * The request/response trailers object. Only populated at the `'end'` event. + * @since v8.4.0 + */ + readonly trailers: IncomingHttpHeaders; + /** + * Request URL string. This contains only the URL that is present in the actual + * HTTP request. If the request is: + * + * ```http + * GET /status?name=ryan HTTP/1.1 + * Accept: text/plain + * ``` + * + * Then `request.url` will be: + * + * ```js + * '/status?name=ryan' + * ``` + * + * To parse the url into its parts, `new URL()` can be used: + * + * ```console + * $ node + * > new URL('/status?name=ryan', 'http://example.com') + * URL { + * href: 'http://example.com/status?name=ryan', + * origin: 'http://example.com', + * protocol: 'http:', + * username: '', + * password: '', + * host: 'example.com', + * hostname: 'example.com', + * port: '', + * pathname: '/status', + * search: '?name=ryan', + * searchParams: URLSearchParams { 'name' => 'ryan' }, + * hash: '' + * } + * ``` + * @since v8.4.0 + */ + url: string; + /** + * Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is + * provided, then it is added as a listener on the `'timeout'` event on + * the response object. + * + * If no `'timeout'` listener is added to the request, the response, or + * the server, then `Http2Stream` s are destroyed when they time out. If a + * handler is assigned to the request, the response, or the server's `'timeout'`events, timed out sockets must be handled explicitly. + * @since v8.4.0 + */ + setTimeout(msecs: number, callback?: () => void): void; + read(size?: number): Buffer | string | null; + addListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "data", listener: (chunk: Buffer | string) => void): this; + addListener(event: "end", listener: () => void): this; + addListener(event: "readable", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "aborted", hadError: boolean, code: number): boolean; + emit(event: "close"): boolean; + emit(event: "data", chunk: Buffer | string): boolean; + emit(event: "end"): boolean; + emit(event: "readable"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "aborted", listener: (hadError: boolean, code: number) => void): this; + on(event: "close", listener: () => void): this; + on(event: "data", listener: (chunk: Buffer | string) => void): this; + on(event: "end", listener: () => void): this; + on(event: "readable", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "aborted", listener: (hadError: boolean, code: number) => void): this; + once(event: "close", listener: () => void): this; + once(event: "data", listener: (chunk: Buffer | string) => void): this; + once(event: "end", listener: () => void): this; + once(event: "readable", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; + prependListener(event: "end", listener: () => void): this; + prependListener(event: "readable", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; + prependOnceListener(event: "end", listener: () => void): this; + prependOnceListener(event: "readable", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + /** + * This object is created internally by an HTTP server, not by the user. It is + * passed as the second parameter to the `'request'` event. + * @since v8.4.0 + */ + export class Http2ServerResponse extends stream.Writable { + constructor(stream: ServerHttp2Stream); + /** + * See `response.socket`. + * @since v8.4.0 + * @deprecated Since v13.0.0 - Use `socket`. + */ + readonly connection: net.Socket | tls.TLSSocket; + /** + * Boolean value that indicates whether the response has completed. Starts + * as `false`. After `response.end()` executes, the value will be `true`. + * @since v8.4.0 + * @deprecated Since v13.4.0,v12.16.0 - Use `writableEnded`. + */ + readonly finished: boolean; + /** + * True if headers were sent, false otherwise (read-only). + * @since v8.4.0 + */ + readonly headersSent: boolean; + /** + * A reference to the original HTTP2 `request` object. + * @since v15.7.0 + */ + readonly req: Http2ServerRequest; + /** + * Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but + * applies getters, setters, and methods based on HTTP/2 logic. + * + * `destroyed`, `readable`, and `writable` properties will be retrieved from and + * set on `response.stream`. + * + * `destroy`, `emit`, `end`, `on` and `once` methods will be called on`response.stream`. + * + * `setTimeout` method will be called on `response.stream.session`. + * + * `pause`, `read`, `resume`, and `write` will throw an error with code`ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for + * more information. + * + * All other interactions will be routed directly to the socket. + * + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer((req, res) => { + * const ip = req.socket.remoteAddress; + * const port = req.socket.remotePort; + * res.end(`Your IP address is ${ip} and your source port is ${port}.`); + * }).listen(3000); + * ``` + * @since v8.4.0 + */ + readonly socket: net.Socket | tls.TLSSocket; + /** + * The `Http2Stream` object backing the response. + * @since v8.4.0 + */ + readonly stream: ServerHttp2Stream; + /** + * When true, the Date header will be automatically generated and sent in + * the response if it is not already present in the headers. Defaults to true. + * + * This should only be disabled for testing; HTTP requires the Date header + * in responses. + * @since v8.4.0 + */ + sendDate: boolean; + /** + * When using implicit headers (not calling `response.writeHead()` explicitly), + * this property controls the status code that will be sent to the client when + * the headers get flushed. + * + * ```js + * response.statusCode = 404; + * ``` + * + * After response header was sent to the client, this property indicates the + * status code which was sent out. + * @since v8.4.0 + */ + statusCode: number; + /** + * Status message is not supported by HTTP/2 (RFC 7540 8.1.2.4). It returns + * an empty string. + * @since v8.4.0 + */ + statusMessage: ""; + /** + * This method adds HTTP trailing headers (a header but at the end of the + * message) to the response. + * + * Attempting to set a header field name or value that contains invalid characters + * will result in a `TypeError` being thrown. + * @since v8.4.0 + */ + addTrailers(trailers: OutgoingHttpHeaders): void; + /** + * This method signals to the server that all of the response headers and body + * have been sent; that server should consider this message complete. + * The method, `response.end()`, MUST be called on each response. + * + * If `data` is specified, it is equivalent to calling `response.write(data, encoding)` followed by `response.end(callback)`. + * + * If `callback` is specified, it will be called when the response stream + * is finished. + * @since v8.4.0 + */ + end(callback?: () => void): this; + end(data: string | Uint8Array, callback?: () => void): this; + end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): this; + /** + * Reads out a header that has already been queued but not sent to the client. + * The name is case-insensitive. + * + * ```js + * const contentType = response.getHeader('content-type'); + * ``` + * @since v8.4.0 + */ + getHeader(name: string): string; + /** + * Returns an array containing the unique names of the current outgoing headers. + * All header names are lowercase. + * + * ```js + * response.setHeader('Foo', 'bar'); + * response.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); + * + * const headerNames = response.getHeaderNames(); + * // headerNames === ['foo', 'set-cookie'] + * ``` + * @since v8.4.0 + */ + getHeaderNames(): string[]; + /** + * Returns a shallow copy of the current outgoing headers. Since a shallow copy + * is used, array values may be mutated without additional calls to various + * header-related http module methods. The keys of the returned object are the + * header names and the values are the respective header values. All header names + * are lowercase. + * + * The object returned by the `response.getHeaders()` method _does not_prototypically inherit from the JavaScript `Object`. This means that typical`Object` methods such as `obj.toString()`, + * `obj.hasOwnProperty()`, and others + * are not defined and _will not work_. + * + * ```js + * response.setHeader('Foo', 'bar'); + * response.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); + * + * const headers = response.getHeaders(); + * // headers === { foo: 'bar', 'set-cookie': ['foo=bar', 'bar=baz'] } + * ``` + * @since v8.4.0 + */ + getHeaders(): OutgoingHttpHeaders; + /** + * Returns `true` if the header identified by `name` is currently set in the + * outgoing headers. The header name matching is case-insensitive. + * + * ```js + * const hasContentType = response.hasHeader('content-type'); + * ``` + * @since v8.4.0 + */ + hasHeader(name: string): boolean; + /** + * Removes a header that has been queued for implicit sending. + * + * ```js + * response.removeHeader('Content-Encoding'); + * ``` + * @since v8.4.0 + */ + removeHeader(name: string): void; + /** + * Sets a single header value for implicit headers. If this header already exists + * in the to-be-sent headers, its value will be replaced. Use an array of strings + * here to send multiple headers with the same name. + * + * ```js + * response.setHeader('Content-Type', 'text/html; charset=utf-8'); + * ``` + * + * or + * + * ```js + * response.setHeader('Set-Cookie', ['type=ninja', 'language=javascript']); + * ``` + * + * Attempting to set a header field name or value that contains invalid characters + * will result in a `TypeError` being thrown. + * + * When headers have been set with `response.setHeader()`, they will be merged + * with any headers passed to `response.writeHead()`, with the headers passed + * to `response.writeHead()` given precedence. + * + * ```js + * // Returns content-type = text/plain + * const server = http2.createServer((req, res) => { + * res.setHeader('Content-Type', 'text/html; charset=utf-8'); + * res.setHeader('X-Foo', 'bar'); + * res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' }); + * res.end('ok'); + * }); + * ``` + * @since v8.4.0 + */ + setHeader(name: string, value: number | string | readonly string[]): void; + /** + * Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is + * provided, then it is added as a listener on the `'timeout'` event on + * the response object. + * + * If no `'timeout'` listener is added to the request, the response, or + * the server, then `Http2Stream` s are destroyed when they time out. If a + * handler is assigned to the request, the response, or the server's `'timeout'`events, timed out sockets must be handled explicitly. + * @since v8.4.0 + */ + setTimeout(msecs: number, callback?: () => void): void; + /** + * If this method is called and `response.writeHead()` has not been called, + * it will switch to implicit header mode and flush the implicit headers. + * + * This sends a chunk of the response body. This method may + * be called multiple times to provide successive parts of the body. + * + * In the `node:http` module, the response body is omitted when the + * request is a HEAD request. Similarly, the `204` and `304` responses _must not_ include a message body. + * + * `chunk` can be a string or a buffer. If `chunk` is a string, + * the second parameter specifies how to encode it into a byte stream. + * By default the `encoding` is `'utf8'`. `callback` will be called when this chunk + * of data is flushed. + * + * This is the raw HTTP body and has nothing to do with higher-level multi-part + * body encodings that may be used. + * + * The first time `response.write()` is called, it will send the buffered + * header information and the first chunk of the body to the client. The second + * time `response.write()` is called, Node.js assumes data will be streamed, + * and sends the new data separately. That is, the response is buffered up to the + * first chunk of the body. + * + * Returns `true` if the entire data was flushed successfully to the kernel + * buffer. Returns `false` if all or part of the data was queued in user memory.`'drain'` will be emitted when the buffer is free again. + * @since v8.4.0 + */ + write(chunk: string | Uint8Array, callback?: (err: Error) => void): boolean; + write(chunk: string | Uint8Array, encoding: BufferEncoding, callback?: (err: Error) => void): boolean; + /** + * Sends a status `100 Continue` to the client, indicating that the request body + * should be sent. See the `'checkContinue'` event on `Http2Server` and`Http2SecureServer`. + * @since v8.4.0 + */ + writeContinue(): void; + /** + * Sends a status `103 Early Hints` to the client with a Link header, + * indicating that the user agent can preload/preconnect the linked resources. + * The `hints` is an object containing the values of headers to be sent with + * early hints message. + * + * **Example** + * + * ```js + * const earlyHintsLink = '; rel=preload; as=style'; + * response.writeEarlyHints({ + * 'link': earlyHintsLink, + * }); + * + * const earlyHintsLinks = [ + * '; rel=preload; as=style', + * '; rel=preload; as=script', + * ]; + * response.writeEarlyHints({ + * 'link': earlyHintsLinks, + * }); + * ``` + * @since v18.11.0 + */ + writeEarlyHints(hints: Record): void; + /** + * Sends a response header to the request. The status code is a 3-digit HTTP + * status code, like `404`. The last argument, `headers`, are the response headers. + * + * Returns a reference to the `Http2ServerResponse`, so that calls can be chained. + * + * For compatibility with `HTTP/1`, a human-readable `statusMessage` may be + * passed as the second argument. However, because the `statusMessage` has no + * meaning within HTTP/2, the argument will have no effect and a process warning + * will be emitted. + * + * ```js + * const body = 'hello world'; + * response.writeHead(200, { + * 'Content-Length': Buffer.byteLength(body), + * 'Content-Type': 'text/plain; charset=utf-8', + * }); + * ``` + * + * `Content-Length` is given in bytes not characters. The`Buffer.byteLength()` API may be used to determine the number of bytes in a + * given encoding. On outbound messages, Node.js does not check if Content-Length + * and the length of the body being transmitted are equal or not. However, when + * receiving messages, Node.js will automatically reject messages when the`Content-Length` does not match the actual payload size. + * + * This method may be called at most one time on a message before `response.end()` is called. + * + * If `response.write()` or `response.end()` are called before calling + * this, the implicit/mutable headers will be calculated and call this function. + * + * When headers have been set with `response.setHeader()`, they will be merged + * with any headers passed to `response.writeHead()`, with the headers passed + * to `response.writeHead()` given precedence. + * + * ```js + * // Returns content-type = text/plain + * const server = http2.createServer((req, res) => { + * res.setHeader('Content-Type', 'text/html; charset=utf-8'); + * res.setHeader('X-Foo', 'bar'); + * res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' }); + * res.end('ok'); + * }); + * ``` + * + * Attempting to set a header field name or value that contains invalid characters + * will result in a `TypeError` being thrown. + * @since v8.4.0 + */ + writeHead(statusCode: number, headers?: OutgoingHttpHeaders): this; + writeHead(statusCode: number, statusMessage: string, headers?: OutgoingHttpHeaders): this; + /** + * Call `http2stream.pushStream()` with the given headers, and wrap the + * given `Http2Stream` on a newly created `Http2ServerResponse` as the callback + * parameter if successful. When `Http2ServerRequest` is closed, the callback is + * called with an error `ERR_HTTP2_INVALID_STREAM`. + * @since v8.4.0 + * @param headers An object describing the headers + * @param callback Called once `http2stream.pushStream()` is finished, or either when the attempt to create the pushed `Http2Stream` has failed or has been rejected, or the state of + * `Http2ServerRequest` is closed prior to calling the `http2stream.pushStream()` method + */ + createPushResponse( + headers: OutgoingHttpHeaders, + callback: (err: Error | null, res: Http2ServerResponse) => void, + ): void; + addListener(event: "close", listener: () => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "error", listener: (error: Error) => void): this; + addListener(event: "finish", listener: () => void): this; + addListener(event: "pipe", listener: (src: stream.Readable) => void): this; + addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "close"): boolean; + emit(event: "drain"): boolean; + emit(event: "error", error: Error): boolean; + emit(event: "finish"): boolean; + emit(event: "pipe", src: stream.Readable): boolean; + emit(event: "unpipe", src: stream.Readable): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "close", listener: () => void): this; + on(event: "drain", listener: () => void): this; + on(event: "error", listener: (error: Error) => void): this; + on(event: "finish", listener: () => void): this; + on(event: "pipe", listener: (src: stream.Readable) => void): this; + on(event: "unpipe", listener: (src: stream.Readable) => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "drain", listener: () => void): this; + once(event: "error", listener: (error: Error) => void): this; + once(event: "finish", listener: () => void): this; + once(event: "pipe", listener: (src: stream.Readable) => void): this; + once(event: "unpipe", listener: (src: stream.Readable) => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "error", listener: (error: Error) => void): this; + prependListener(event: "finish", listener: () => void): this; + prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "error", listener: (error: Error) => void): this; + prependOnceListener(event: "finish", listener: () => void): this; + prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + export namespace constants { + const NGHTTP2_SESSION_SERVER: number; + const NGHTTP2_SESSION_CLIENT: number; + const NGHTTP2_STREAM_STATE_IDLE: number; + const NGHTTP2_STREAM_STATE_OPEN: number; + const NGHTTP2_STREAM_STATE_RESERVED_LOCAL: number; + const NGHTTP2_STREAM_STATE_RESERVED_REMOTE: number; + const NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL: number; + const NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE: number; + const NGHTTP2_STREAM_STATE_CLOSED: number; + const NGHTTP2_NO_ERROR: number; + const NGHTTP2_PROTOCOL_ERROR: number; + const NGHTTP2_INTERNAL_ERROR: number; + const NGHTTP2_FLOW_CONTROL_ERROR: number; + const NGHTTP2_SETTINGS_TIMEOUT: number; + const NGHTTP2_STREAM_CLOSED: number; + const NGHTTP2_FRAME_SIZE_ERROR: number; + const NGHTTP2_REFUSED_STREAM: number; + const NGHTTP2_CANCEL: number; + const NGHTTP2_COMPRESSION_ERROR: number; + const NGHTTP2_CONNECT_ERROR: number; + const NGHTTP2_ENHANCE_YOUR_CALM: number; + const NGHTTP2_INADEQUATE_SECURITY: number; + const NGHTTP2_HTTP_1_1_REQUIRED: number; + const NGHTTP2_ERR_FRAME_SIZE_ERROR: number; + const NGHTTP2_FLAG_NONE: number; + const NGHTTP2_FLAG_END_STREAM: number; + const NGHTTP2_FLAG_END_HEADERS: number; + const NGHTTP2_FLAG_ACK: number; + const NGHTTP2_FLAG_PADDED: number; + const NGHTTP2_FLAG_PRIORITY: number; + const DEFAULT_SETTINGS_HEADER_TABLE_SIZE: number; + const DEFAULT_SETTINGS_ENABLE_PUSH: number; + const DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE: number; + const DEFAULT_SETTINGS_MAX_FRAME_SIZE: number; + const MAX_MAX_FRAME_SIZE: number; + const MIN_MAX_FRAME_SIZE: number; + const MAX_INITIAL_WINDOW_SIZE: number; + const NGHTTP2_DEFAULT_WEIGHT: number; + const NGHTTP2_SETTINGS_HEADER_TABLE_SIZE: number; + const NGHTTP2_SETTINGS_ENABLE_PUSH: number; + const NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS: number; + const NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE: number; + const NGHTTP2_SETTINGS_MAX_FRAME_SIZE: number; + const NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE: number; + const PADDING_STRATEGY_NONE: number; + const PADDING_STRATEGY_MAX: number; + const PADDING_STRATEGY_CALLBACK: number; + const HTTP2_HEADER_STATUS: string; + const HTTP2_HEADER_METHOD: string; + const HTTP2_HEADER_AUTHORITY: string; + const HTTP2_HEADER_SCHEME: string; + const HTTP2_HEADER_PATH: string; + const HTTP2_HEADER_ACCEPT_CHARSET: string; + const HTTP2_HEADER_ACCEPT_ENCODING: string; + const HTTP2_HEADER_ACCEPT_LANGUAGE: string; + const HTTP2_HEADER_ACCEPT_RANGES: string; + const HTTP2_HEADER_ACCEPT: string; + const HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN: string; + const HTTP2_HEADER_AGE: string; + const HTTP2_HEADER_ALLOW: string; + const HTTP2_HEADER_AUTHORIZATION: string; + const HTTP2_HEADER_CACHE_CONTROL: string; + const HTTP2_HEADER_CONNECTION: string; + const HTTP2_HEADER_CONTENT_DISPOSITION: string; + const HTTP2_HEADER_CONTENT_ENCODING: string; + const HTTP2_HEADER_CONTENT_LANGUAGE: string; + const HTTP2_HEADER_CONTENT_LENGTH: string; + const HTTP2_HEADER_CONTENT_LOCATION: string; + const HTTP2_HEADER_CONTENT_MD5: string; + const HTTP2_HEADER_CONTENT_RANGE: string; + const HTTP2_HEADER_CONTENT_TYPE: string; + const HTTP2_HEADER_COOKIE: string; + const HTTP2_HEADER_DATE: string; + const HTTP2_HEADER_ETAG: string; + const HTTP2_HEADER_EXPECT: string; + const HTTP2_HEADER_EXPIRES: string; + const HTTP2_HEADER_FROM: string; + const HTTP2_HEADER_HOST: string; + const HTTP2_HEADER_IF_MATCH: string; + const HTTP2_HEADER_IF_MODIFIED_SINCE: string; + const HTTP2_HEADER_IF_NONE_MATCH: string; + const HTTP2_HEADER_IF_RANGE: string; + const HTTP2_HEADER_IF_UNMODIFIED_SINCE: string; + const HTTP2_HEADER_LAST_MODIFIED: string; + const HTTP2_HEADER_LINK: string; + const HTTP2_HEADER_LOCATION: string; + const HTTP2_HEADER_MAX_FORWARDS: string; + const HTTP2_HEADER_PREFER: string; + const HTTP2_HEADER_PROXY_AUTHENTICATE: string; + const HTTP2_HEADER_PROXY_AUTHORIZATION: string; + const HTTP2_HEADER_RANGE: string; + const HTTP2_HEADER_REFERER: string; + const HTTP2_HEADER_REFRESH: string; + const HTTP2_HEADER_RETRY_AFTER: string; + const HTTP2_HEADER_SERVER: string; + const HTTP2_HEADER_SET_COOKIE: string; + const HTTP2_HEADER_STRICT_TRANSPORT_SECURITY: string; + const HTTP2_HEADER_TRANSFER_ENCODING: string; + const HTTP2_HEADER_TE: string; + const HTTP2_HEADER_UPGRADE: string; + const HTTP2_HEADER_USER_AGENT: string; + const HTTP2_HEADER_VARY: string; + const HTTP2_HEADER_VIA: string; + const HTTP2_HEADER_WWW_AUTHENTICATE: string; + const HTTP2_HEADER_HTTP2_SETTINGS: string; + const HTTP2_HEADER_KEEP_ALIVE: string; + const HTTP2_HEADER_PROXY_CONNECTION: string; + const HTTP2_METHOD_ACL: string; + const HTTP2_METHOD_BASELINE_CONTROL: string; + const HTTP2_METHOD_BIND: string; + const HTTP2_METHOD_CHECKIN: string; + const HTTP2_METHOD_CHECKOUT: string; + const HTTP2_METHOD_CONNECT: string; + const HTTP2_METHOD_COPY: string; + const HTTP2_METHOD_DELETE: string; + const HTTP2_METHOD_GET: string; + const HTTP2_METHOD_HEAD: string; + const HTTP2_METHOD_LABEL: string; + const HTTP2_METHOD_LINK: string; + const HTTP2_METHOD_LOCK: string; + const HTTP2_METHOD_MERGE: string; + const HTTP2_METHOD_MKACTIVITY: string; + const HTTP2_METHOD_MKCALENDAR: string; + const HTTP2_METHOD_MKCOL: string; + const HTTP2_METHOD_MKREDIRECTREF: string; + const HTTP2_METHOD_MKWORKSPACE: string; + const HTTP2_METHOD_MOVE: string; + const HTTP2_METHOD_OPTIONS: string; + const HTTP2_METHOD_ORDERPATCH: string; + const HTTP2_METHOD_PATCH: string; + const HTTP2_METHOD_POST: string; + const HTTP2_METHOD_PRI: string; + const HTTP2_METHOD_PROPFIND: string; + const HTTP2_METHOD_PROPPATCH: string; + const HTTP2_METHOD_PUT: string; + const HTTP2_METHOD_REBIND: string; + const HTTP2_METHOD_REPORT: string; + const HTTP2_METHOD_SEARCH: string; + const HTTP2_METHOD_TRACE: string; + const HTTP2_METHOD_UNBIND: string; + const HTTP2_METHOD_UNCHECKOUT: string; + const HTTP2_METHOD_UNLINK: string; + const HTTP2_METHOD_UNLOCK: string; + const HTTP2_METHOD_UPDATE: string; + const HTTP2_METHOD_UPDATEREDIRECTREF: string; + const HTTP2_METHOD_VERSION_CONTROL: string; + const HTTP_STATUS_CONTINUE: number; + const HTTP_STATUS_SWITCHING_PROTOCOLS: number; + const HTTP_STATUS_PROCESSING: number; + const HTTP_STATUS_OK: number; + const HTTP_STATUS_CREATED: number; + const HTTP_STATUS_ACCEPTED: number; + const HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION: number; + const HTTP_STATUS_NO_CONTENT: number; + const HTTP_STATUS_RESET_CONTENT: number; + const HTTP_STATUS_PARTIAL_CONTENT: number; + const HTTP_STATUS_MULTI_STATUS: number; + const HTTP_STATUS_ALREADY_REPORTED: number; + const HTTP_STATUS_IM_USED: number; + const HTTP_STATUS_MULTIPLE_CHOICES: number; + const HTTP_STATUS_MOVED_PERMANENTLY: number; + const HTTP_STATUS_FOUND: number; + const HTTP_STATUS_SEE_OTHER: number; + const HTTP_STATUS_NOT_MODIFIED: number; + const HTTP_STATUS_USE_PROXY: number; + const HTTP_STATUS_TEMPORARY_REDIRECT: number; + const HTTP_STATUS_PERMANENT_REDIRECT: number; + const HTTP_STATUS_BAD_REQUEST: number; + const HTTP_STATUS_UNAUTHORIZED: number; + const HTTP_STATUS_PAYMENT_REQUIRED: number; + const HTTP_STATUS_FORBIDDEN: number; + const HTTP_STATUS_NOT_FOUND: number; + const HTTP_STATUS_METHOD_NOT_ALLOWED: number; + const HTTP_STATUS_NOT_ACCEPTABLE: number; + const HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED: number; + const HTTP_STATUS_REQUEST_TIMEOUT: number; + const HTTP_STATUS_CONFLICT: number; + const HTTP_STATUS_GONE: number; + const HTTP_STATUS_LENGTH_REQUIRED: number; + const HTTP_STATUS_PRECONDITION_FAILED: number; + const HTTP_STATUS_PAYLOAD_TOO_LARGE: number; + const HTTP_STATUS_URI_TOO_LONG: number; + const HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE: number; + const HTTP_STATUS_RANGE_NOT_SATISFIABLE: number; + const HTTP_STATUS_EXPECTATION_FAILED: number; + const HTTP_STATUS_TEAPOT: number; + const HTTP_STATUS_MISDIRECTED_REQUEST: number; + const HTTP_STATUS_UNPROCESSABLE_ENTITY: number; + const HTTP_STATUS_LOCKED: number; + const HTTP_STATUS_FAILED_DEPENDENCY: number; + const HTTP_STATUS_UNORDERED_COLLECTION: number; + const HTTP_STATUS_UPGRADE_REQUIRED: number; + const HTTP_STATUS_PRECONDITION_REQUIRED: number; + const HTTP_STATUS_TOO_MANY_REQUESTS: number; + const HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE: number; + const HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS: number; + const HTTP_STATUS_INTERNAL_SERVER_ERROR: number; + const HTTP_STATUS_NOT_IMPLEMENTED: number; + const HTTP_STATUS_BAD_GATEWAY: number; + const HTTP_STATUS_SERVICE_UNAVAILABLE: number; + const HTTP_STATUS_GATEWAY_TIMEOUT: number; + const HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED: number; + const HTTP_STATUS_VARIANT_ALSO_NEGOTIATES: number; + const HTTP_STATUS_INSUFFICIENT_STORAGE: number; + const HTTP_STATUS_LOOP_DETECTED: number; + const HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED: number; + const HTTP_STATUS_NOT_EXTENDED: number; + const HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED: number; + } + /** + * This symbol can be set as a property on the HTTP/2 headers object with + * an array value in order to provide a list of headers considered sensitive. + */ + export const sensitiveHeaders: symbol; + /** + * Returns an object containing the default settings for an `Http2Session`instance. This method returns a new object instance every time it is called + * so instances returned may be safely modified for use. + * @since v8.4.0 + */ + export function getDefaultSettings(): Settings; + /** + * Returns a `Buffer` instance containing serialized representation of the given + * HTTP/2 settings as specified in the [HTTP/2](https://tools.ietf.org/html/rfc7540) specification. This is intended + * for use with the `HTTP2-Settings` header field. + * + * ```js + * const http2 = require('node:http2'); + * + * const packed = http2.getPackedSettings({ enablePush: false }); + * + * console.log(packed.toString('base64')); + * // Prints: AAIAAAAA + * ``` + * @since v8.4.0 + */ + export function getPackedSettings(settings: Settings): Buffer; + /** + * Returns a `HTTP/2 Settings Object` containing the deserialized settings from + * the given `Buffer` as generated by `http2.getPackedSettings()`. + * @since v8.4.0 + * @param buf The packed settings. + */ + export function getUnpackedSettings(buf: Uint8Array): Settings; + /** + * Returns a `net.Server` instance that creates and manages `Http2Session`instances. + * + * Since there are no browsers known that support [unencrypted HTTP/2](https://http2.github.io/faq/#does-http2-require-encryption), the use of {@link createSecureServer} is necessary when + * communicating + * with browser clients. + * + * ```js + * const http2 = require('node:http2'); + * + * // Create an unencrypted HTTP/2 server. + * // Since there are no browsers known that support + * // unencrypted HTTP/2, the use of `http2.createSecureServer()` + * // is necessary when communicating with browser clients. + * const server = http2.createServer(); + * + * server.on('stream', (stream, headers) => { + * stream.respond({ + * 'content-type': 'text/html; charset=utf-8', + * ':status': 200, + * }); + * stream.end('

    Hello World

    '); + * }); + * + * server.listen(8000); + * ``` + * @since v8.4.0 + * @param onRequestHandler See `Compatibility API` + */ + export function createServer( + onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): Http2Server; + export function createServer( + options: ServerOptions, + onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): Http2Server; + /** + * Returns a `tls.Server` instance that creates and manages `Http2Session`instances. + * + * ```js + * const http2 = require('node:http2'); + * const fs = require('node:fs'); + * + * const options = { + * key: fs.readFileSync('server-key.pem'), + * cert: fs.readFileSync('server-cert.pem'), + * }; + * + * // Create a secure HTTP/2 server + * const server = http2.createSecureServer(options); + * + * server.on('stream', (stream, headers) => { + * stream.respond({ + * 'content-type': 'text/html; charset=utf-8', + * ':status': 200, + * }); + * stream.end('

    Hello World

    '); + * }); + * + * server.listen(8443); + * ``` + * @since v8.4.0 + * @param onRequestHandler See `Compatibility API` + */ + export function createSecureServer( + onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): Http2SecureServer; + export function createSecureServer( + options: SecureServerOptions, + onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): Http2SecureServer; + /** + * Returns a `ClientHttp2Session` instance. + * + * ```js + * const http2 = require('node:http2'); + * const client = http2.connect('https://localhost:1234'); + * + * // Use the client + * + * client.close(); + * ``` + * @since v8.4.0 + * @param authority The remote HTTP/2 server to connect to. This must be in the form of a minimal, valid URL with the `http://` or `https://` prefix, host name, and IP port (if a non-default port + * is used). Userinfo (user ID and password), path, querystring, and fragment details in the URL will be ignored. + * @param listener Will be registered as a one-time listener of the {@link 'connect'} event. + */ + export function connect( + authority: string | url.URL, + listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): ClientHttp2Session; + export function connect( + authority: string | url.URL, + options?: ClientSessionOptions | SecureClientSessionOptions, + listener?: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): ClientHttp2Session; +} +declare module "node:http2" { + export * from "http2"; +} diff --git a/node_modules/@types/node/https.d.ts b/node_modules/@types/node/https.d.ts new file mode 100644 index 000000000..36ae5b2f5 --- /dev/null +++ b/node_modules/@types/node/https.d.ts @@ -0,0 +1,550 @@ +/** + * HTTPS is the HTTP protocol over TLS/SSL. In Node.js this is implemented as a + * separate module. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/https.js) + */ +declare module "https" { + import { Duplex } from "node:stream"; + import * as tls from "node:tls"; + import * as http from "node:http"; + import { URL } from "node:url"; + type ServerOptions< + Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, + Response extends typeof http.ServerResponse = typeof http.ServerResponse, + > = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions; + type RequestOptions = + & http.RequestOptions + & tls.SecureContextOptions + & { + checkServerIdentity?: typeof tls.checkServerIdentity | undefined; + rejectUnauthorized?: boolean | undefined; // Defaults to true + servername?: string | undefined; // SNI TLS Extension + }; + interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions { + rejectUnauthorized?: boolean | undefined; + maxCachedSessions?: number | undefined; + } + /** + * An `Agent` object for HTTPS similar to `http.Agent`. See {@link request} for more information. + * @since v0.4.5 + */ + class Agent extends http.Agent { + constructor(options?: AgentOptions); + options: AgentOptions; + } + interface Server< + Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, + Response extends typeof http.ServerResponse = typeof http.ServerResponse, + > extends http.Server {} + /** + * See `http.Server` for more information. + * @since v0.3.4 + */ + class Server< + Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, + Response extends typeof http.ServerResponse = typeof http.ServerResponse, + > extends tls.Server { + constructor(requestListener?: http.RequestListener); + constructor( + options: ServerOptions, + requestListener?: http.RequestListener, + ); + /** + * Closes all connections connected to this server. + * @since v18.2.0 + */ + closeAllConnections(): void; + /** + * Closes all connections connected to this server which are not sending a request or waiting for a response. + * @since v18.2.0 + */ + closeIdleConnections(): void; + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; + addListener( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, + ): this; + addListener( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + addListener( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, + ): this; + addListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; + addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "connection", listener: (socket: Duplex) => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "listening", listener: () => void): this; + addListener(event: "checkContinue", listener: http.RequestListener): this; + addListener(event: "checkExpectation", listener: http.RequestListener): this; + addListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; + addListener( + event: "connect", + listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, + ): this; + addListener(event: "request", listener: http.RequestListener): this; + addListener( + event: "upgrade", + listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, + ): this; + emit(event: string, ...args: any[]): boolean; + emit(event: "keylog", line: Buffer, tlsSocket: tls.TLSSocket): boolean; + emit( + event: "newSession", + sessionId: Buffer, + sessionData: Buffer, + callback: (err: Error, resp: Buffer) => void, + ): boolean; + emit( + event: "OCSPRequest", + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ): boolean; + emit(event: "resumeSession", sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void): boolean; + emit(event: "secureConnection", tlsSocket: tls.TLSSocket): boolean; + emit(event: "tlsClientError", err: Error, tlsSocket: tls.TLSSocket): boolean; + emit(event: "close"): boolean; + emit(event: "connection", socket: Duplex): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "listening"): boolean; + emit( + event: "checkContinue", + req: InstanceType, + res: InstanceType & { + req: InstanceType; + }, + ): boolean; + emit( + event: "checkExpectation", + req: InstanceType, + res: InstanceType & { + req: InstanceType; + }, + ): boolean; + emit(event: "clientError", err: Error, socket: Duplex): boolean; + emit(event: "connect", req: InstanceType, socket: Duplex, head: Buffer): boolean; + emit( + event: "request", + req: InstanceType, + res: InstanceType & { + req: InstanceType; + }, + ): boolean; + emit(event: "upgrade", req: InstanceType, socket: Duplex, head: Buffer): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; + on( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, + ): this; + on( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + on( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, + ): this; + on(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; + on(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; + on(event: "close", listener: () => void): this; + on(event: "connection", listener: (socket: Duplex) => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "listening", listener: () => void): this; + on(event: "checkContinue", listener: http.RequestListener): this; + on(event: "checkExpectation", listener: http.RequestListener): this; + on(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; + on(event: "connect", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; + on(event: "request", listener: http.RequestListener): this; + on(event: "upgrade", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; + once( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, + ): this; + once( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + once( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, + ): this; + once(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; + once(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; + once(event: "close", listener: () => void): this; + once(event: "connection", listener: (socket: Duplex) => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "listening", listener: () => void): this; + once(event: "checkContinue", listener: http.RequestListener): this; + once(event: "checkExpectation", listener: http.RequestListener): this; + once(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; + once(event: "connect", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; + once(event: "request", listener: http.RequestListener): this; + once(event: "upgrade", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; + prependListener( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, + ): this; + prependListener( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + prependListener( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, + ): this; + prependListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; + prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "connection", listener: (socket: Duplex) => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "listening", listener: () => void): this; + prependListener(event: "checkContinue", listener: http.RequestListener): this; + prependListener(event: "checkExpectation", listener: http.RequestListener): this; + prependListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; + prependListener( + event: "connect", + listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, + ): this; + prependListener(event: "request", listener: http.RequestListener): this; + prependListener( + event: "upgrade", + listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, + ): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; + prependOnceListener( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, + ): this; + prependOnceListener( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + prependOnceListener( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, + ): this; + prependOnceListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; + prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "connection", listener: (socket: Duplex) => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "listening", listener: () => void): this; + prependOnceListener(event: "checkContinue", listener: http.RequestListener): this; + prependOnceListener(event: "checkExpectation", listener: http.RequestListener): this; + prependOnceListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; + prependOnceListener( + event: "connect", + listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, + ): this; + prependOnceListener(event: "request", listener: http.RequestListener): this; + prependOnceListener( + event: "upgrade", + listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, + ): this; + } + /** + * ```js + * // curl -k https://localhost:8000/ + * const https = require('node:https'); + * const fs = require('node:fs'); + * + * const options = { + * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'), + * cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'), + * }; + * + * https.createServer(options, (req, res) => { + * res.writeHead(200); + * res.end('hello world\n'); + * }).listen(8000); + * ``` + * + * Or + * + * ```js + * const https = require('node:https'); + * const fs = require('node:fs'); + * + * const options = { + * pfx: fs.readFileSync('test/fixtures/test_cert.pfx'), + * passphrase: 'sample', + * }; + * + * https.createServer(options, (req, res) => { + * res.writeHead(200); + * res.end('hello world\n'); + * }).listen(8000); + * ``` + * @since v0.3.4 + * @param options Accepts `options` from `createServer`, `createSecureContext` and `createServer`. + * @param requestListener A listener to be added to the `'request'` event. + */ + function createServer< + Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, + Response extends typeof http.ServerResponse = typeof http.ServerResponse, + >(requestListener?: http.RequestListener): Server; + function createServer< + Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, + Response extends typeof http.ServerResponse = typeof http.ServerResponse, + >( + options: ServerOptions, + requestListener?: http.RequestListener, + ): Server; + /** + * Makes a request to a secure web server. + * + * The following additional `options` from `tls.connect()` are also accepted:`ca`, `cert`, `ciphers`, `clientCertEngine`, `crl`, `dhparam`, `ecdhCurve`,`honorCipherOrder`, `key`, `passphrase`, + * `pfx`, `rejectUnauthorized`,`secureOptions`, `secureProtocol`, `servername`, `sessionIdContext`,`highWaterMark`. + * + * `options` can be an object, a string, or a `URL` object. If `options` is a + * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object. + * + * `https.request()` returns an instance of the `http.ClientRequest` class. The `ClientRequest` instance is a writable stream. If one needs to + * upload a file with a POST request, then write to the `ClientRequest` object. + * + * ```js + * const https = require('node:https'); + * + * const options = { + * hostname: 'encrypted.google.com', + * port: 443, + * path: '/', + * method: 'GET', + * }; + * + * const req = https.request(options, (res) => { + * console.log('statusCode:', res.statusCode); + * console.log('headers:', res.headers); + * + * res.on('data', (d) => { + * process.stdout.write(d); + * }); + * }); + * + * req.on('error', (e) => { + * console.error(e); + * }); + * req.end(); + * ``` + * + * Example using options from `tls.connect()`: + * + * ```js + * const options = { + * hostname: 'encrypted.google.com', + * port: 443, + * path: '/', + * method: 'GET', + * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'), + * cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'), + * }; + * options.agent = new https.Agent(options); + * + * const req = https.request(options, (res) => { + * // ... + * }); + * ``` + * + * Alternatively, opt out of connection pooling by not using an `Agent`. + * + * ```js + * const options = { + * hostname: 'encrypted.google.com', + * port: 443, + * path: '/', + * method: 'GET', + * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'), + * cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'), + * agent: false, + * }; + * + * const req = https.request(options, (res) => { + * // ... + * }); + * ``` + * + * Example using a `URL` as `options`: + * + * ```js + * const options = new URL('https://abc:xyz@example.com'); + * + * const req = https.request(options, (res) => { + * // ... + * }); + * ``` + * + * Example pinning on certificate fingerprint, or the public key (similar to`pin-sha256`): + * + * ```js + * const tls = require('node:tls'); + * const https = require('node:https'); + * const crypto = require('node:crypto'); + * + * function sha256(s) { + * return crypto.createHash('sha256').update(s).digest('base64'); + * } + * const options = { + * hostname: 'github.com', + * port: 443, + * path: '/', + * method: 'GET', + * checkServerIdentity: function(host, cert) { + * // Make sure the certificate is issued to the host we are connected to + * const err = tls.checkServerIdentity(host, cert); + * if (err) { + * return err; + * } + * + * // Pin the public key, similar to HPKP pin-sha256 pinning + * const pubkey256 = 'pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU='; + * if (sha256(cert.pubkey) !== pubkey256) { + * const msg = 'Certificate verification error: ' + + * `The public key of '${cert.subject.CN}' ` + + * 'does not match our pinned fingerprint'; + * return new Error(msg); + * } + * + * // Pin the exact certificate, rather than the pub key + * const cert256 = '25:FE:39:32:D9:63:8C:8A:FC:A1:9A:29:87:' + + * 'D8:3E:4C:1D:98:DB:71:E4:1A:48:03:98:EA:22:6A:BD:8B:93:16'; + * if (cert.fingerprint256 !== cert256) { + * const msg = 'Certificate verification error: ' + + * `The certificate of '${cert.subject.CN}' ` + + * 'does not match our pinned fingerprint'; + * return new Error(msg); + * } + * + * // This loop is informational only. + * // Print the certificate and public key fingerprints of all certs in the + * // chain. Its common to pin the public key of the issuer on the public + * // internet, while pinning the public key of the service in sensitive + * // environments. + * do { + * console.log('Subject Common Name:', cert.subject.CN); + * console.log(' Certificate SHA256 fingerprint:', cert.fingerprint256); + * + * hash = crypto.createHash('sha256'); + * console.log(' Public key ping-sha256:', sha256(cert.pubkey)); + * + * lastprint256 = cert.fingerprint256; + * cert = cert.issuerCertificate; + * } while (cert.fingerprint256 !== lastprint256); + * + * }, + * }; + * + * options.agent = new https.Agent(options); + * const req = https.request(options, (res) => { + * console.log('All OK. Server matched our pinned cert or public key'); + * console.log('statusCode:', res.statusCode); + * // Print the HPKP values + * console.log('headers:', res.headers['public-key-pins']); + * + * res.on('data', (d) => {}); + * }); + * + * req.on('error', (e) => { + * console.error(e.message); + * }); + * req.end(); + * ``` + * + * Outputs for example: + * + * ```text + * Subject Common Name: github.com + * Certificate SHA256 fingerprint: 25:FE:39:32:D9:63:8C:8A:FC:A1:9A:29:87:D8:3E:4C:1D:98:DB:71:E4:1A:48:03:98:EA:22:6A:BD:8B:93:16 + * Public key ping-sha256: pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU= + * Subject Common Name: DigiCert SHA2 Extended Validation Server CA + * Certificate SHA256 fingerprint: 40:3E:06:2A:26:53:05:91:13:28:5B:AF:80:A0:D4:AE:42:2C:84:8C:9F:78:FA:D0:1F:C9:4B:C5:B8:7F:EF:1A + * Public key ping-sha256: RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho= + * Subject Common Name: DigiCert High Assurance EV Root CA + * Certificate SHA256 fingerprint: 74:31:E5:F4:C3:C1:CE:46:90:77:4F:0B:61:E0:54:40:88:3B:A9:A0:1E:D0:0B:A6:AB:D7:80:6E:D3:B1:18:CF + * Public key ping-sha256: WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18= + * All OK. Server matched our pinned cert or public key + * statusCode: 200 + * headers: max-age=0; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho="; + * pin-sha256="k2v657xBsOVe1PQRwOsHsw3bsGT2VzIqz5K+59sNQws="; pin-sha256="K87oWBWM9UZfyddvDfoxL+8lpNyoUB2ptGtn0fv6G2Q="; pin-sha256="IQBnNBEiFuhj+8x6X8XLgh01V9Ic5/V3IRQLNFFc7v4="; + * pin-sha256="iie1VXtL7HzAMF+/PVPR9xzT80kQxdZeJ+zduCB3uj0="; pin-sha256="LvRiGEjRqfzurezaWuj8Wie2gyHMrW5Q06LspMnox7A="; includeSubDomains + * ``` + * @since v0.3.6 + * @param options Accepts all `options` from `request`, with some differences in default values: + */ + function request( + options: RequestOptions | string | URL, + callback?: (res: http.IncomingMessage) => void, + ): http.ClientRequest; + function request( + url: string | URL, + options: RequestOptions, + callback?: (res: http.IncomingMessage) => void, + ): http.ClientRequest; + /** + * Like `http.get()` but for HTTPS. + * + * `options` can be an object, a string, or a `URL` object. If `options` is a + * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object. + * + * ```js + * const https = require('node:https'); + * + * https.get('https://encrypted.google.com/', (res) => { + * console.log('statusCode:', res.statusCode); + * console.log('headers:', res.headers); + * + * res.on('data', (d) => { + * process.stdout.write(d); + * }); + * + * }).on('error', (e) => { + * console.error(e); + * }); + * ``` + * @since v0.3.6 + * @param options Accepts the same `options` as {@link request}, with the `method` always set to `GET`. + */ + function get( + options: RequestOptions | string | URL, + callback?: (res: http.IncomingMessage) => void, + ): http.ClientRequest; + function get( + url: string | URL, + options: RequestOptions, + callback?: (res: http.IncomingMessage) => void, + ): http.ClientRequest; + let globalAgent: Agent; +} +declare module "node:https" { + export * from "https"; +} diff --git a/node_modules/@types/node/index.d.ts b/node_modules/@types/node/index.d.ts new file mode 100644 index 000000000..a596cad02 --- /dev/null +++ b/node_modules/@types/node/index.d.ts @@ -0,0 +1,88 @@ +/** + * License for programmatically and manually incorporated + * documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc + * + * Copyright Node.js contributors. All rights reserved. + * 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. + */ + +// NOTE: These definitions support NodeJS and TypeScript 4.9+. + +// Reference required types from the default lib: +/// +/// +/// +/// + +// Base definitions for all NodeJS modules that are not specific to any version of TypeScript: +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// + +/// diff --git a/node_modules/@types/node/inspector.d.ts b/node_modules/@types/node/inspector.d.ts new file mode 100644 index 000000000..3927b8160 --- /dev/null +++ b/node_modules/@types/node/inspector.d.ts @@ -0,0 +1,2747 @@ +// Type definitions for inspector + +// These definitions are auto-generated. +// Please see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19330 +// for more information. + + +/** + * The `node:inspector` module provides an API for interacting with the V8 + * inspector. + * + * It can be accessed using: + * + * ```js + * import * as inspector from 'node:inspector/promises'; + * ``` + * + * or + * + * ```js + * import * as inspector from 'node:inspector'; + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/inspector.js) + */ +declare module 'inspector' { + import EventEmitter = require('node:events'); + interface InspectorNotification { + method: string; + params: T; + } + namespace Schema { + /** + * Description of the protocol domain. + */ + interface Domain { + /** + * Domain name. + */ + name: string; + /** + * Domain version. + */ + version: string; + } + interface GetDomainsReturnType { + /** + * List of supported domains. + */ + domains: Domain[]; + } + } + namespace Runtime { + /** + * Unique script identifier. + */ + type ScriptId = string; + /** + * Unique object identifier. + */ + type RemoteObjectId = string; + /** + * Primitive value which cannot be JSON-stringified. + */ + type UnserializableValue = string; + /** + * Mirror object referencing original JavaScript object. + */ + interface RemoteObject { + /** + * Object type. + */ + type: string; + /** + * Object subtype hint. Specified for object type values only. + */ + subtype?: string | undefined; + /** + * Object class (constructor) name. Specified for object type values only. + */ + className?: string | undefined; + /** + * Remote object value in case of primitive values or JSON values (if it was requested). + */ + value?: any; + /** + * Primitive value which can not be JSON-stringified does not have value, but gets this property. + */ + unserializableValue?: UnserializableValue | undefined; + /** + * String representation of the object. + */ + description?: string | undefined; + /** + * Unique object identifier (for non-primitive values). + */ + objectId?: RemoteObjectId | undefined; + /** + * Preview containing abbreviated property values. Specified for object type values only. + * @experimental + */ + preview?: ObjectPreview | undefined; + /** + * @experimental + */ + customPreview?: CustomPreview | undefined; + } + /** + * @experimental + */ + interface CustomPreview { + header: string; + hasBody: boolean; + formatterObjectId: RemoteObjectId; + bindRemoteObjectFunctionId: RemoteObjectId; + configObjectId?: RemoteObjectId | undefined; + } + /** + * Object containing abbreviated remote object value. + * @experimental + */ + interface ObjectPreview { + /** + * Object type. + */ + type: string; + /** + * Object subtype hint. Specified for object type values only. + */ + subtype?: string | undefined; + /** + * String representation of the object. + */ + description?: string | undefined; + /** + * True iff some of the properties or entries of the original object did not fit. + */ + overflow: boolean; + /** + * List of the properties. + */ + properties: PropertyPreview[]; + /** + * List of the entries. Specified for map and set subtype values only. + */ + entries?: EntryPreview[] | undefined; + } + /** + * @experimental + */ + interface PropertyPreview { + /** + * Property name. + */ + name: string; + /** + * Object type. Accessor means that the property itself is an accessor property. + */ + type: string; + /** + * User-friendly property value string. + */ + value?: string | undefined; + /** + * Nested value preview. + */ + valuePreview?: ObjectPreview | undefined; + /** + * Object subtype hint. Specified for object type values only. + */ + subtype?: string | undefined; + } + /** + * @experimental + */ + interface EntryPreview { + /** + * Preview of the key. Specified for map-like collection entries. + */ + key?: ObjectPreview | undefined; + /** + * Preview of the value. + */ + value: ObjectPreview; + } + /** + * Object property descriptor. + */ + interface PropertyDescriptor { + /** + * Property name or symbol description. + */ + name: string; + /** + * The value associated with the property. + */ + value?: RemoteObject | undefined; + /** + * True if the value associated with the property may be changed (data descriptors only). + */ + writable?: boolean | undefined; + /** + * A function which serves as a getter for the property, or undefined if there is no getter (accessor descriptors only). + */ + get?: RemoteObject | undefined; + /** + * A function which serves as a setter for the property, or undefined if there is no setter (accessor descriptors only). + */ + set?: RemoteObject | undefined; + /** + * True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object. + */ + configurable: boolean; + /** + * True if this property shows up during enumeration of the properties on the corresponding object. + */ + enumerable: boolean; + /** + * True if the result was thrown during the evaluation. + */ + wasThrown?: boolean | undefined; + /** + * True if the property is owned for the object. + */ + isOwn?: boolean | undefined; + /** + * Property symbol object, if the property is of the symbol type. + */ + symbol?: RemoteObject | undefined; + } + /** + * Object internal property descriptor. This property isn't normally visible in JavaScript code. + */ + interface InternalPropertyDescriptor { + /** + * Conventional property name. + */ + name: string; + /** + * The value associated with the property. + */ + value?: RemoteObject | undefined; + } + /** + * Represents function call argument. Either remote object id objectId, primitive value, unserializable primitive value or neither of (for undefined) them should be specified. + */ + interface CallArgument { + /** + * Primitive value or serializable javascript object. + */ + value?: any; + /** + * Primitive value which can not be JSON-stringified. + */ + unserializableValue?: UnserializableValue | undefined; + /** + * Remote object handle. + */ + objectId?: RemoteObjectId | undefined; + } + /** + * Id of an execution context. + */ + type ExecutionContextId = number; + /** + * Description of an isolated world. + */ + interface ExecutionContextDescription { + /** + * Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed. + */ + id: ExecutionContextId; + /** + * Execution context origin. + */ + origin: string; + /** + * Human readable name describing given context. + */ + name: string; + /** + * Embedder-specific auxiliary data. + */ + auxData?: {} | undefined; + } + /** + * Detailed information about exception (or error) that was thrown during script compilation or execution. + */ + interface ExceptionDetails { + /** + * Exception id. + */ + exceptionId: number; + /** + * Exception text, which should be used together with exception object when available. + */ + text: string; + /** + * Line number of the exception location (0-based). + */ + lineNumber: number; + /** + * Column number of the exception location (0-based). + */ + columnNumber: number; + /** + * Script ID of the exception location. + */ + scriptId?: ScriptId | undefined; + /** + * URL of the exception location, to be used when the script was not reported. + */ + url?: string | undefined; + /** + * JavaScript stack trace if available. + */ + stackTrace?: StackTrace | undefined; + /** + * Exception object if available. + */ + exception?: RemoteObject | undefined; + /** + * Identifier of the context where exception happened. + */ + executionContextId?: ExecutionContextId | undefined; + } + /** + * Number of milliseconds since epoch. + */ + type Timestamp = number; + /** + * Stack entry for runtime errors and assertions. + */ + interface CallFrame { + /** + * JavaScript function name. + */ + functionName: string; + /** + * JavaScript script id. + */ + scriptId: ScriptId; + /** + * JavaScript script name or url. + */ + url: string; + /** + * JavaScript script line number (0-based). + */ + lineNumber: number; + /** + * JavaScript script column number (0-based). + */ + columnNumber: number; + } + /** + * Call frames for assertions or error messages. + */ + interface StackTrace { + /** + * String label of this stack trace. For async traces this may be a name of the function that initiated the async call. + */ + description?: string | undefined; + /** + * JavaScript function name. + */ + callFrames: CallFrame[]; + /** + * Asynchronous JavaScript stack trace that preceded this stack, if available. + */ + parent?: StackTrace | undefined; + /** + * Asynchronous JavaScript stack trace that preceded this stack, if available. + * @experimental + */ + parentId?: StackTraceId | undefined; + } + /** + * Unique identifier of current debugger. + * @experimental + */ + type UniqueDebuggerId = string; + /** + * If debuggerId is set stack trace comes from another debugger and can be resolved there. This allows to track cross-debugger calls. See Runtime.StackTrace and Debugger.paused for usages. + * @experimental + */ + interface StackTraceId { + id: string; + debuggerId?: UniqueDebuggerId | undefined; + } + interface EvaluateParameterType { + /** + * Expression to evaluate. + */ + expression: string; + /** + * Symbolic group name that can be used to release multiple objects. + */ + objectGroup?: string | undefined; + /** + * Determines whether Command Line API should be available during the evaluation. + */ + includeCommandLineAPI?: boolean | undefined; + /** + * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. + */ + silent?: boolean | undefined; + /** + * Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page. + */ + contextId?: ExecutionContextId | undefined; + /** + * Whether the result is expected to be a JSON object that should be sent by value. + */ + returnByValue?: boolean | undefined; + /** + * Whether preview should be generated for the result. + * @experimental + */ + generatePreview?: boolean | undefined; + /** + * Whether execution should be treated as initiated by user in the UI. + */ + userGesture?: boolean | undefined; + /** + * Whether execution should await for resulting value and return once awaited promise is resolved. + */ + awaitPromise?: boolean | undefined; + } + interface AwaitPromiseParameterType { + /** + * Identifier of the promise. + */ + promiseObjectId: RemoteObjectId; + /** + * Whether the result is expected to be a JSON object that should be sent by value. + */ + returnByValue?: boolean | undefined; + /** + * Whether preview should be generated for the result. + */ + generatePreview?: boolean | undefined; + } + interface CallFunctionOnParameterType { + /** + * Declaration of the function to call. + */ + functionDeclaration: string; + /** + * Identifier of the object to call function on. Either objectId or executionContextId should be specified. + */ + objectId?: RemoteObjectId | undefined; + /** + * Call arguments. All call arguments must belong to the same JavaScript world as the target object. + */ + arguments?: CallArgument[] | undefined; + /** + * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. + */ + silent?: boolean | undefined; + /** + * Whether the result is expected to be a JSON object which should be sent by value. + */ + returnByValue?: boolean | undefined; + /** + * Whether preview should be generated for the result. + * @experimental + */ + generatePreview?: boolean | undefined; + /** + * Whether execution should be treated as initiated by user in the UI. + */ + userGesture?: boolean | undefined; + /** + * Whether execution should await for resulting value and return once awaited promise is resolved. + */ + awaitPromise?: boolean | undefined; + /** + * Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified. + */ + executionContextId?: ExecutionContextId | undefined; + /** + * Symbolic group name that can be used to release multiple objects. If objectGroup is not specified and objectId is, objectGroup will be inherited from object. + */ + objectGroup?: string | undefined; + } + interface GetPropertiesParameterType { + /** + * Identifier of the object to return properties for. + */ + objectId: RemoteObjectId; + /** + * If true, returns properties belonging only to the element itself, not to its prototype chain. + */ + ownProperties?: boolean | undefined; + /** + * If true, returns accessor properties (with getter/setter) only; internal properties are not returned either. + * @experimental + */ + accessorPropertiesOnly?: boolean | undefined; + /** + * Whether preview should be generated for the results. + * @experimental + */ + generatePreview?: boolean | undefined; + } + interface ReleaseObjectParameterType { + /** + * Identifier of the object to release. + */ + objectId: RemoteObjectId; + } + interface ReleaseObjectGroupParameterType { + /** + * Symbolic object group name. + */ + objectGroup: string; + } + interface SetCustomObjectFormatterEnabledParameterType { + enabled: boolean; + } + interface CompileScriptParameterType { + /** + * Expression to compile. + */ + expression: string; + /** + * Source url to be set for the script. + */ + sourceURL: string; + /** + * Specifies whether the compiled script should be persisted. + */ + persistScript: boolean; + /** + * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page. + */ + executionContextId?: ExecutionContextId | undefined; + } + interface RunScriptParameterType { + /** + * Id of the script to run. + */ + scriptId: ScriptId; + /** + * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page. + */ + executionContextId?: ExecutionContextId | undefined; + /** + * Symbolic group name that can be used to release multiple objects. + */ + objectGroup?: string | undefined; + /** + * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. + */ + silent?: boolean | undefined; + /** + * Determines whether Command Line API should be available during the evaluation. + */ + includeCommandLineAPI?: boolean | undefined; + /** + * Whether the result is expected to be a JSON object which should be sent by value. + */ + returnByValue?: boolean | undefined; + /** + * Whether preview should be generated for the result. + */ + generatePreview?: boolean | undefined; + /** + * Whether execution should await for resulting value and return once awaited promise is resolved. + */ + awaitPromise?: boolean | undefined; + } + interface QueryObjectsParameterType { + /** + * Identifier of the prototype to return objects for. + */ + prototypeObjectId: RemoteObjectId; + } + interface GlobalLexicalScopeNamesParameterType { + /** + * Specifies in which execution context to lookup global scope variables. + */ + executionContextId?: ExecutionContextId | undefined; + } + interface EvaluateReturnType { + /** + * Evaluation result. + */ + result: RemoteObject; + /** + * Exception details. + */ + exceptionDetails?: ExceptionDetails | undefined; + } + interface AwaitPromiseReturnType { + /** + * Promise result. Will contain rejected value if promise was rejected. + */ + result: RemoteObject; + /** + * Exception details if stack strace is available. + */ + exceptionDetails?: ExceptionDetails | undefined; + } + interface CallFunctionOnReturnType { + /** + * Call result. + */ + result: RemoteObject; + /** + * Exception details. + */ + exceptionDetails?: ExceptionDetails | undefined; + } + interface GetPropertiesReturnType { + /** + * Object properties. + */ + result: PropertyDescriptor[]; + /** + * Internal object properties (only of the element itself). + */ + internalProperties?: InternalPropertyDescriptor[] | undefined; + /** + * Exception details. + */ + exceptionDetails?: ExceptionDetails | undefined; + } + interface CompileScriptReturnType { + /** + * Id of the script. + */ + scriptId?: ScriptId | undefined; + /** + * Exception details. + */ + exceptionDetails?: ExceptionDetails | undefined; + } + interface RunScriptReturnType { + /** + * Run result. + */ + result: RemoteObject; + /** + * Exception details. + */ + exceptionDetails?: ExceptionDetails | undefined; + } + interface QueryObjectsReturnType { + /** + * Array with objects. + */ + objects: RemoteObject; + } + interface GlobalLexicalScopeNamesReturnType { + names: string[]; + } + interface ExecutionContextCreatedEventDataType { + /** + * A newly created execution context. + */ + context: ExecutionContextDescription; + } + interface ExecutionContextDestroyedEventDataType { + /** + * Id of the destroyed context + */ + executionContextId: ExecutionContextId; + } + interface ExceptionThrownEventDataType { + /** + * Timestamp of the exception. + */ + timestamp: Timestamp; + exceptionDetails: ExceptionDetails; + } + interface ExceptionRevokedEventDataType { + /** + * Reason describing why exception was revoked. + */ + reason: string; + /** + * The id of revoked exception, as reported in exceptionThrown. + */ + exceptionId: number; + } + interface ConsoleAPICalledEventDataType { + /** + * Type of the call. + */ + type: string; + /** + * Call arguments. + */ + args: RemoteObject[]; + /** + * Identifier of the context where the call was made. + */ + executionContextId: ExecutionContextId; + /** + * Call timestamp. + */ + timestamp: Timestamp; + /** + * Stack trace captured when the call was made. + */ + stackTrace?: StackTrace | undefined; + /** + * Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context. + * @experimental + */ + context?: string | undefined; + } + interface InspectRequestedEventDataType { + object: RemoteObject; + hints: {}; + } + } + namespace Debugger { + /** + * Breakpoint identifier. + */ + type BreakpointId = string; + /** + * Call frame identifier. + */ + type CallFrameId = string; + /** + * Location in the source code. + */ + interface Location { + /** + * Script identifier as reported in the Debugger.scriptParsed. + */ + scriptId: Runtime.ScriptId; + /** + * Line number in the script (0-based). + */ + lineNumber: number; + /** + * Column number in the script (0-based). + */ + columnNumber?: number | undefined; + } + /** + * Location in the source code. + * @experimental + */ + interface ScriptPosition { + lineNumber: number; + columnNumber: number; + } + /** + * JavaScript call frame. Array of call frames form the call stack. + */ + interface CallFrame { + /** + * Call frame identifier. This identifier is only valid while the virtual machine is paused. + */ + callFrameId: CallFrameId; + /** + * Name of the JavaScript function called on this call frame. + */ + functionName: string; + /** + * Location in the source code. + */ + functionLocation?: Location | undefined; + /** + * Location in the source code. + */ + location: Location; + /** + * JavaScript script name or url. + */ + url: string; + /** + * Scope chain for this call frame. + */ + scopeChain: Scope[]; + /** + * this object for this call frame. + */ + this: Runtime.RemoteObject; + /** + * The value being returned, if the function is at return point. + */ + returnValue?: Runtime.RemoteObject | undefined; + } + /** + * Scope description. + */ + interface Scope { + /** + * Scope type. + */ + type: string; + /** + * Object representing the scope. For global and with scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties. + */ + object: Runtime.RemoteObject; + name?: string | undefined; + /** + * Location in the source code where scope starts + */ + startLocation?: Location | undefined; + /** + * Location in the source code where scope ends + */ + endLocation?: Location | undefined; + } + /** + * Search match for resource. + */ + interface SearchMatch { + /** + * Line number in resource content. + */ + lineNumber: number; + /** + * Line with match content. + */ + lineContent: string; + } + interface BreakLocation { + /** + * Script identifier as reported in the Debugger.scriptParsed. + */ + scriptId: Runtime.ScriptId; + /** + * Line number in the script (0-based). + */ + lineNumber: number; + /** + * Column number in the script (0-based). + */ + columnNumber?: number | undefined; + type?: string | undefined; + } + interface SetBreakpointsActiveParameterType { + /** + * New value for breakpoints active state. + */ + active: boolean; + } + interface SetSkipAllPausesParameterType { + /** + * New value for skip pauses state. + */ + skip: boolean; + } + interface SetBreakpointByUrlParameterType { + /** + * Line number to set breakpoint at. + */ + lineNumber: number; + /** + * URL of the resources to set breakpoint on. + */ + url?: string | undefined; + /** + * Regex pattern for the URLs of the resources to set breakpoints on. Either url or urlRegex must be specified. + */ + urlRegex?: string | undefined; + /** + * Script hash of the resources to set breakpoint on. + */ + scriptHash?: string | undefined; + /** + * Offset in the line to set breakpoint at. + */ + columnNumber?: number | undefined; + /** + * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true. + */ + condition?: string | undefined; + } + interface SetBreakpointParameterType { + /** + * Location to set breakpoint in. + */ + location: Location; + /** + * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true. + */ + condition?: string | undefined; + } + interface RemoveBreakpointParameterType { + breakpointId: BreakpointId; + } + interface GetPossibleBreakpointsParameterType { + /** + * Start of range to search possible breakpoint locations in. + */ + start: Location; + /** + * End of range to search possible breakpoint locations in (excluding). When not specified, end of scripts is used as end of range. + */ + end?: Location | undefined; + /** + * Only consider locations which are in the same (non-nested) function as start. + */ + restrictToFunction?: boolean | undefined; + } + interface ContinueToLocationParameterType { + /** + * Location to continue to. + */ + location: Location; + targetCallFrames?: string | undefined; + } + interface PauseOnAsyncCallParameterType { + /** + * Debugger will pause when async call with given stack trace is started. + */ + parentStackTraceId: Runtime.StackTraceId; + } + interface StepIntoParameterType { + /** + * Debugger will issue additional Debugger.paused notification if any async task is scheduled before next pause. + * @experimental + */ + breakOnAsyncCall?: boolean | undefined; + } + interface GetStackTraceParameterType { + stackTraceId: Runtime.StackTraceId; + } + interface SearchInContentParameterType { + /** + * Id of the script to search in. + */ + scriptId: Runtime.ScriptId; + /** + * String to search for. + */ + query: string; + /** + * If true, search is case sensitive. + */ + caseSensitive?: boolean | undefined; + /** + * If true, treats string parameter as regex. + */ + isRegex?: boolean | undefined; + } + interface SetScriptSourceParameterType { + /** + * Id of the script to edit. + */ + scriptId: Runtime.ScriptId; + /** + * New content of the script. + */ + scriptSource: string; + /** + * If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code. + */ + dryRun?: boolean | undefined; + } + interface RestartFrameParameterType { + /** + * Call frame identifier to evaluate on. + */ + callFrameId: CallFrameId; + } + interface GetScriptSourceParameterType { + /** + * Id of the script to get source for. + */ + scriptId: Runtime.ScriptId; + } + interface SetPauseOnExceptionsParameterType { + /** + * Pause on exceptions mode. + */ + state: string; + } + interface EvaluateOnCallFrameParameterType { + /** + * Call frame identifier to evaluate on. + */ + callFrameId: CallFrameId; + /** + * Expression to evaluate. + */ + expression: string; + /** + * String object group name to put result into (allows rapid releasing resulting object handles using releaseObjectGroup). + */ + objectGroup?: string | undefined; + /** + * Specifies whether command line API should be available to the evaluated expression, defaults to false. + */ + includeCommandLineAPI?: boolean | undefined; + /** + * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. + */ + silent?: boolean | undefined; + /** + * Whether the result is expected to be a JSON object that should be sent by value. + */ + returnByValue?: boolean | undefined; + /** + * Whether preview should be generated for the result. + * @experimental + */ + generatePreview?: boolean | undefined; + /** + * Whether to throw an exception if side effect cannot be ruled out during evaluation. + */ + throwOnSideEffect?: boolean | undefined; + } + interface SetVariableValueParameterType { + /** + * 0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch' scope types are allowed. Other scopes could be manipulated manually. + */ + scopeNumber: number; + /** + * Variable name. + */ + variableName: string; + /** + * New variable value. + */ + newValue: Runtime.CallArgument; + /** + * Id of callframe that holds variable. + */ + callFrameId: CallFrameId; + } + interface SetReturnValueParameterType { + /** + * New return value. + */ + newValue: Runtime.CallArgument; + } + interface SetAsyncCallStackDepthParameterType { + /** + * Maximum depth of async call stacks. Setting to 0 will effectively disable collecting async call stacks (default). + */ + maxDepth: number; + } + interface SetBlackboxPatternsParameterType { + /** + * Array of regexps that will be used to check script url for blackbox state. + */ + patterns: string[]; + } + interface SetBlackboxedRangesParameterType { + /** + * Id of the script. + */ + scriptId: Runtime.ScriptId; + positions: ScriptPosition[]; + } + interface EnableReturnType { + /** + * Unique identifier of the debugger. + * @experimental + */ + debuggerId: Runtime.UniqueDebuggerId; + } + interface SetBreakpointByUrlReturnType { + /** + * Id of the created breakpoint for further reference. + */ + breakpointId: BreakpointId; + /** + * List of the locations this breakpoint resolved into upon addition. + */ + locations: Location[]; + } + interface SetBreakpointReturnType { + /** + * Id of the created breakpoint for further reference. + */ + breakpointId: BreakpointId; + /** + * Location this breakpoint resolved into. + */ + actualLocation: Location; + } + interface GetPossibleBreakpointsReturnType { + /** + * List of the possible breakpoint locations. + */ + locations: BreakLocation[]; + } + interface GetStackTraceReturnType { + stackTrace: Runtime.StackTrace; + } + interface SearchInContentReturnType { + /** + * List of search matches. + */ + result: SearchMatch[]; + } + interface SetScriptSourceReturnType { + /** + * New stack trace in case editing has happened while VM was stopped. + */ + callFrames?: CallFrame[] | undefined; + /** + * Whether current call stack was modified after applying the changes. + */ + stackChanged?: boolean | undefined; + /** + * Async stack trace, if any. + */ + asyncStackTrace?: Runtime.StackTrace | undefined; + /** + * Async stack trace, if any. + * @experimental + */ + asyncStackTraceId?: Runtime.StackTraceId | undefined; + /** + * Exception details if any. + */ + exceptionDetails?: Runtime.ExceptionDetails | undefined; + } + interface RestartFrameReturnType { + /** + * New stack trace. + */ + callFrames: CallFrame[]; + /** + * Async stack trace, if any. + */ + asyncStackTrace?: Runtime.StackTrace | undefined; + /** + * Async stack trace, if any. + * @experimental + */ + asyncStackTraceId?: Runtime.StackTraceId | undefined; + } + interface GetScriptSourceReturnType { + /** + * Script source. + */ + scriptSource: string; + } + interface EvaluateOnCallFrameReturnType { + /** + * Object wrapper for the evaluation result. + */ + result: Runtime.RemoteObject; + /** + * Exception details. + */ + exceptionDetails?: Runtime.ExceptionDetails | undefined; + } + interface ScriptParsedEventDataType { + /** + * Identifier of the script parsed. + */ + scriptId: Runtime.ScriptId; + /** + * URL or name of the script parsed (if any). + */ + url: string; + /** + * Line offset of the script within the resource with given URL (for script tags). + */ + startLine: number; + /** + * Column offset of the script within the resource with given URL. + */ + startColumn: number; + /** + * Last line of the script. + */ + endLine: number; + /** + * Length of the last line of the script. + */ + endColumn: number; + /** + * Specifies script creation context. + */ + executionContextId: Runtime.ExecutionContextId; + /** + * Content hash of the script. + */ + hash: string; + /** + * Embedder-specific auxiliary data. + */ + executionContextAuxData?: {} | undefined; + /** + * True, if this script is generated as a result of the live edit operation. + * @experimental + */ + isLiveEdit?: boolean | undefined; + /** + * URL of source map associated with script (if any). + */ + sourceMapURL?: string | undefined; + /** + * True, if this script has sourceURL. + */ + hasSourceURL?: boolean | undefined; + /** + * True, if this script is ES6 module. + */ + isModule?: boolean | undefined; + /** + * This script length. + */ + length?: number | undefined; + /** + * JavaScript top stack frame of where the script parsed event was triggered if available. + * @experimental + */ + stackTrace?: Runtime.StackTrace | undefined; + } + interface ScriptFailedToParseEventDataType { + /** + * Identifier of the script parsed. + */ + scriptId: Runtime.ScriptId; + /** + * URL or name of the script parsed (if any). + */ + url: string; + /** + * Line offset of the script within the resource with given URL (for script tags). + */ + startLine: number; + /** + * Column offset of the script within the resource with given URL. + */ + startColumn: number; + /** + * Last line of the script. + */ + endLine: number; + /** + * Length of the last line of the script. + */ + endColumn: number; + /** + * Specifies script creation context. + */ + executionContextId: Runtime.ExecutionContextId; + /** + * Content hash of the script. + */ + hash: string; + /** + * Embedder-specific auxiliary data. + */ + executionContextAuxData?: {} | undefined; + /** + * URL of source map associated with script (if any). + */ + sourceMapURL?: string | undefined; + /** + * True, if this script has sourceURL. + */ + hasSourceURL?: boolean | undefined; + /** + * True, if this script is ES6 module. + */ + isModule?: boolean | undefined; + /** + * This script length. + */ + length?: number | undefined; + /** + * JavaScript top stack frame of where the script parsed event was triggered if available. + * @experimental + */ + stackTrace?: Runtime.StackTrace | undefined; + } + interface BreakpointResolvedEventDataType { + /** + * Breakpoint unique identifier. + */ + breakpointId: BreakpointId; + /** + * Actual breakpoint location. + */ + location: Location; + } + interface PausedEventDataType { + /** + * Call stack the virtual machine stopped on. + */ + callFrames: CallFrame[]; + /** + * Pause reason. + */ + reason: string; + /** + * Object containing break-specific auxiliary properties. + */ + data?: {} | undefined; + /** + * Hit breakpoints IDs + */ + hitBreakpoints?: string[] | undefined; + /** + * Async stack trace, if any. + */ + asyncStackTrace?: Runtime.StackTrace | undefined; + /** + * Async stack trace, if any. + * @experimental + */ + asyncStackTraceId?: Runtime.StackTraceId | undefined; + /** + * Just scheduled async call will have this stack trace as parent stack during async execution. This field is available only after Debugger.stepInto call with breakOnAsynCall flag. + * @experimental + */ + asyncCallStackTraceId?: Runtime.StackTraceId | undefined; + } + } + namespace Console { + /** + * Console message. + */ + interface ConsoleMessage { + /** + * Message source. + */ + source: string; + /** + * Message severity. + */ + level: string; + /** + * Message text. + */ + text: string; + /** + * URL of the message origin. + */ + url?: string | undefined; + /** + * Line number in the resource that generated this message (1-based). + */ + line?: number | undefined; + /** + * Column number in the resource that generated this message (1-based). + */ + column?: number | undefined; + } + interface MessageAddedEventDataType { + /** + * Console message that has been added. + */ + message: ConsoleMessage; + } + } + namespace Profiler { + /** + * Profile node. Holds callsite information, execution statistics and child nodes. + */ + interface ProfileNode { + /** + * Unique id of the node. + */ + id: number; + /** + * Function location. + */ + callFrame: Runtime.CallFrame; + /** + * Number of samples where this node was on top of the call stack. + */ + hitCount?: number | undefined; + /** + * Child node ids. + */ + children?: number[] | undefined; + /** + * The reason of being not optimized. The function may be deoptimized or marked as don't optimize. + */ + deoptReason?: string | undefined; + /** + * An array of source position ticks. + */ + positionTicks?: PositionTickInfo[] | undefined; + } + /** + * Profile. + */ + interface Profile { + /** + * The list of profile nodes. First item is the root node. + */ + nodes: ProfileNode[]; + /** + * Profiling start timestamp in microseconds. + */ + startTime: number; + /** + * Profiling end timestamp in microseconds. + */ + endTime: number; + /** + * Ids of samples top nodes. + */ + samples?: number[] | undefined; + /** + * Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime. + */ + timeDeltas?: number[] | undefined; + } + /** + * Specifies a number of samples attributed to a certain source position. + */ + interface PositionTickInfo { + /** + * Source line number (1-based). + */ + line: number; + /** + * Number of samples attributed to the source line. + */ + ticks: number; + } + /** + * Coverage data for a source range. + */ + interface CoverageRange { + /** + * JavaScript script source offset for the range start. + */ + startOffset: number; + /** + * JavaScript script source offset for the range end. + */ + endOffset: number; + /** + * Collected execution count of the source range. + */ + count: number; + } + /** + * Coverage data for a JavaScript function. + */ + interface FunctionCoverage { + /** + * JavaScript function name. + */ + functionName: string; + /** + * Source ranges inside the function with coverage data. + */ + ranges: CoverageRange[]; + /** + * Whether coverage data for this function has block granularity. + */ + isBlockCoverage: boolean; + } + /** + * Coverage data for a JavaScript script. + */ + interface ScriptCoverage { + /** + * JavaScript script id. + */ + scriptId: Runtime.ScriptId; + /** + * JavaScript script name or url. + */ + url: string; + /** + * Functions contained in the script that has coverage data. + */ + functions: FunctionCoverage[]; + } + /** + * Describes a type collected during runtime. + * @experimental + */ + interface TypeObject { + /** + * Name of a type collected with type profiling. + */ + name: string; + } + /** + * Source offset and types for a parameter or return value. + * @experimental + */ + interface TypeProfileEntry { + /** + * Source offset of the parameter or end of function for return values. + */ + offset: number; + /** + * The types for this parameter or return value. + */ + types: TypeObject[]; + } + /** + * Type profile data collected during runtime for a JavaScript script. + * @experimental + */ + interface ScriptTypeProfile { + /** + * JavaScript script id. + */ + scriptId: Runtime.ScriptId; + /** + * JavaScript script name or url. + */ + url: string; + /** + * Type profile entries for parameters and return values of the functions in the script. + */ + entries: TypeProfileEntry[]; + } + interface SetSamplingIntervalParameterType { + /** + * New sampling interval in microseconds. + */ + interval: number; + } + interface StartPreciseCoverageParameterType { + /** + * Collect accurate call counts beyond simple 'covered' or 'not covered'. + */ + callCount?: boolean | undefined; + /** + * Collect block-based coverage. + */ + detailed?: boolean | undefined; + } + interface StopReturnType { + /** + * Recorded profile. + */ + profile: Profile; + } + interface TakePreciseCoverageReturnType { + /** + * Coverage data for the current isolate. + */ + result: ScriptCoverage[]; + } + interface GetBestEffortCoverageReturnType { + /** + * Coverage data for the current isolate. + */ + result: ScriptCoverage[]; + } + interface TakeTypeProfileReturnType { + /** + * Type profile for all scripts since startTypeProfile() was turned on. + */ + result: ScriptTypeProfile[]; + } + interface ConsoleProfileStartedEventDataType { + id: string; + /** + * Location of console.profile(). + */ + location: Debugger.Location; + /** + * Profile title passed as an argument to console.profile(). + */ + title?: string | undefined; + } + interface ConsoleProfileFinishedEventDataType { + id: string; + /** + * Location of console.profileEnd(). + */ + location: Debugger.Location; + profile: Profile; + /** + * Profile title passed as an argument to console.profile(). + */ + title?: string | undefined; + } + } + namespace HeapProfiler { + /** + * Heap snapshot object id. + */ + type HeapSnapshotObjectId = string; + /** + * Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes. + */ + interface SamplingHeapProfileNode { + /** + * Function location. + */ + callFrame: Runtime.CallFrame; + /** + * Allocations size in bytes for the node excluding children. + */ + selfSize: number; + /** + * Child nodes. + */ + children: SamplingHeapProfileNode[]; + } + /** + * Profile. + */ + interface SamplingHeapProfile { + head: SamplingHeapProfileNode; + } + interface StartTrackingHeapObjectsParameterType { + trackAllocations?: boolean | undefined; + } + interface StopTrackingHeapObjectsParameterType { + /** + * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped. + */ + reportProgress?: boolean | undefined; + } + interface TakeHeapSnapshotParameterType { + /** + * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken. + */ + reportProgress?: boolean | undefined; + } + interface GetObjectByHeapObjectIdParameterType { + objectId: HeapSnapshotObjectId; + /** + * Symbolic group name that can be used to release multiple objects. + */ + objectGroup?: string | undefined; + } + interface AddInspectedHeapObjectParameterType { + /** + * Heap snapshot object id to be accessible by means of $x command line API. + */ + heapObjectId: HeapSnapshotObjectId; + } + interface GetHeapObjectIdParameterType { + /** + * Identifier of the object to get heap object id for. + */ + objectId: Runtime.RemoteObjectId; + } + interface StartSamplingParameterType { + /** + * Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes. + */ + samplingInterval?: number | undefined; + } + interface GetObjectByHeapObjectIdReturnType { + /** + * Evaluation result. + */ + result: Runtime.RemoteObject; + } + interface GetHeapObjectIdReturnType { + /** + * Id of the heap snapshot object corresponding to the passed remote object id. + */ + heapSnapshotObjectId: HeapSnapshotObjectId; + } + interface StopSamplingReturnType { + /** + * Recorded sampling heap profile. + */ + profile: SamplingHeapProfile; + } + interface GetSamplingProfileReturnType { + /** + * Return the sampling profile being collected. + */ + profile: SamplingHeapProfile; + } + interface AddHeapSnapshotChunkEventDataType { + chunk: string; + } + interface ReportHeapSnapshotProgressEventDataType { + done: number; + total: number; + finished?: boolean | undefined; + } + interface LastSeenObjectIdEventDataType { + lastSeenObjectId: number; + timestamp: number; + } + interface HeapStatsUpdateEventDataType { + /** + * An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment. + */ + statsUpdate: number[]; + } + } + namespace NodeTracing { + interface TraceConfig { + /** + * Controls how the trace buffer stores data. + */ + recordMode?: string | undefined; + /** + * Included category filters. + */ + includedCategories: string[]; + } + interface StartParameterType { + traceConfig: TraceConfig; + } + interface GetCategoriesReturnType { + /** + * A list of supported tracing categories. + */ + categories: string[]; + } + interface DataCollectedEventDataType { + value: Array<{}>; + } + } + namespace NodeWorker { + type WorkerID = string; + /** + * Unique identifier of attached debugging session. + */ + type SessionID = string; + interface WorkerInfo { + workerId: WorkerID; + type: string; + title: string; + url: string; + } + interface SendMessageToWorkerParameterType { + message: string; + /** + * Identifier of the session. + */ + sessionId: SessionID; + } + interface EnableParameterType { + /** + * Whether to new workers should be paused until the frontend sends `Runtime.runIfWaitingForDebugger` + * message to run them. + */ + waitForDebuggerOnStart: boolean; + } + interface DetachParameterType { + sessionId: SessionID; + } + interface AttachedToWorkerEventDataType { + /** + * Identifier assigned to the session used to send/receive messages. + */ + sessionId: SessionID; + workerInfo: WorkerInfo; + waitingForDebugger: boolean; + } + interface DetachedFromWorkerEventDataType { + /** + * Detached session identifier. + */ + sessionId: SessionID; + } + interface ReceivedMessageFromWorkerEventDataType { + /** + * Identifier of a session which sends a message. + */ + sessionId: SessionID; + message: string; + } + } + namespace NodeRuntime { + interface NotifyWhenWaitingForDisconnectParameterType { + enabled: boolean; + } + } + /** + * The `inspector.Session` is used for dispatching messages to the V8 inspector + * back-end and receiving message responses and notifications. + */ + class Session extends EventEmitter { + /** + * Create a new instance of the inspector.Session class. + * The inspector session needs to be connected through session.connect() before the messages can be dispatched to the inspector backend. + */ + constructor(); + /** + * Connects a session to the inspector back-end. + * @since v8.0.0 + */ + connect(): void; + /** + * Immediately close the session. All pending message callbacks will be called + * with an error. `session.connect()` will need to be called to be able to send + * messages again. Reconnected session will lose all inspector state, such as + * enabled agents or configured breakpoints. + * @since v8.0.0 + */ + disconnect(): void; + /** + * Posts a message to the inspector back-end. `callback` will be notified when + * a response is received. `callback` is a function that accepts two optional + * arguments: error and message-specific result. + * + * ```js + * session.post('Runtime.evaluate', { expression: '2 + 2' }, + * (error, { result }) => console.log(result)); + * // Output: { type: 'number', value: 4, description: '4' } + * ``` + * + * The latest version of the V8 inspector protocol is published on the [Chrome DevTools Protocol Viewer](https://chromedevtools.github.io/devtools-protocol/v8/). + * + * Node.js inspector supports all the Chrome DevTools Protocol domains declared + * by V8\. Chrome DevTools Protocol domain provides an interface for interacting + * with one of the runtime agents used to inspect the application state and listen + * to the run-time events. + * + * ## Example usage + * + * Apart from the debugger, various V8 Profilers are available through the DevTools + * protocol. + * @since v8.0.0 + */ + post(method: string, params?: {}, callback?: (err: Error | null, params?: {}) => void): void; + post(method: string, callback?: (err: Error | null, params?: {}) => void): void; + /** + * Returns supported domains. + */ + post(method: 'Schema.getDomains', callback?: (err: Error | null, params: Schema.GetDomainsReturnType) => void): void; + /** + * Evaluates expression on global object. + */ + post(method: 'Runtime.evaluate', params?: Runtime.EvaluateParameterType, callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; + post(method: 'Runtime.evaluate', callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; + /** + * Add handler to promise with given promise object id. + */ + post(method: 'Runtime.awaitPromise', params?: Runtime.AwaitPromiseParameterType, callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; + post(method: 'Runtime.awaitPromise', callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; + /** + * Calls function with given declaration on the given object. Object group of the result is inherited from the target object. + */ + post(method: 'Runtime.callFunctionOn', params?: Runtime.CallFunctionOnParameterType, callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; + post(method: 'Runtime.callFunctionOn', callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; + /** + * Returns properties of a given object. Object group of the result is inherited from the target object. + */ + post(method: 'Runtime.getProperties', params?: Runtime.GetPropertiesParameterType, callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; + post(method: 'Runtime.getProperties', callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; + /** + * Releases remote object with given id. + */ + post(method: 'Runtime.releaseObject', params?: Runtime.ReleaseObjectParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Runtime.releaseObject', callback?: (err: Error | null) => void): void; + /** + * Releases all remote objects that belong to a given group. + */ + post(method: 'Runtime.releaseObjectGroup', params?: Runtime.ReleaseObjectGroupParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Runtime.releaseObjectGroup', callback?: (err: Error | null) => void): void; + /** + * Tells inspected instance to run if it was waiting for debugger to attach. + */ + post(method: 'Runtime.runIfWaitingForDebugger', callback?: (err: Error | null) => void): void; + /** + * Enables reporting of execution contexts creation by means of executionContextCreated event. When the reporting gets enabled the event will be sent immediately for each existing execution context. + */ + post(method: 'Runtime.enable', callback?: (err: Error | null) => void): void; + /** + * Disables reporting of execution contexts creation. + */ + post(method: 'Runtime.disable', callback?: (err: Error | null) => void): void; + /** + * Discards collected exceptions and console API calls. + */ + post(method: 'Runtime.discardConsoleEntries', callback?: (err: Error | null) => void): void; + /** + * @experimental + */ + post(method: 'Runtime.setCustomObjectFormatterEnabled', params?: Runtime.SetCustomObjectFormatterEnabledParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Runtime.setCustomObjectFormatterEnabled', callback?: (err: Error | null) => void): void; + /** + * Compiles expression. + */ + post(method: 'Runtime.compileScript', params?: Runtime.CompileScriptParameterType, callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; + post(method: 'Runtime.compileScript', callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; + /** + * Runs script with given id in a given context. + */ + post(method: 'Runtime.runScript', params?: Runtime.RunScriptParameterType, callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; + post(method: 'Runtime.runScript', callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; + post(method: 'Runtime.queryObjects', params?: Runtime.QueryObjectsParameterType, callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; + post(method: 'Runtime.queryObjects', callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; + /** + * Returns all let, const and class variables from global scope. + */ + post( + method: 'Runtime.globalLexicalScopeNames', + params?: Runtime.GlobalLexicalScopeNamesParameterType, + callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void + ): void; + post(method: 'Runtime.globalLexicalScopeNames', callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void): void; + /** + * Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received. + */ + post(method: 'Debugger.enable', callback?: (err: Error | null, params: Debugger.EnableReturnType) => void): void; + /** + * Disables debugger for given page. + */ + post(method: 'Debugger.disable', callback?: (err: Error | null) => void): void; + /** + * Activates / deactivates all breakpoints on the page. + */ + post(method: 'Debugger.setBreakpointsActive', params?: Debugger.SetBreakpointsActiveParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setBreakpointsActive', callback?: (err: Error | null) => void): void; + /** + * Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc). + */ + post(method: 'Debugger.setSkipAllPauses', params?: Debugger.SetSkipAllPausesParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setSkipAllPauses', callback?: (err: Error | null) => void): void; + /** + * Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in locations property. Further matching script parsing will result in subsequent breakpointResolved events issued. This logical breakpoint will survive page reloads. + */ + post(method: 'Debugger.setBreakpointByUrl', params?: Debugger.SetBreakpointByUrlParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; + post(method: 'Debugger.setBreakpointByUrl', callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; + /** + * Sets JavaScript breakpoint at a given location. + */ + post(method: 'Debugger.setBreakpoint', params?: Debugger.SetBreakpointParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; + post(method: 'Debugger.setBreakpoint', callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; + /** + * Removes JavaScript breakpoint. + */ + post(method: 'Debugger.removeBreakpoint', params?: Debugger.RemoveBreakpointParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.removeBreakpoint', callback?: (err: Error | null) => void): void; + /** + * Returns possible locations for breakpoint. scriptId in start and end range locations should be the same. + */ + post( + method: 'Debugger.getPossibleBreakpoints', + params?: Debugger.GetPossibleBreakpointsParameterType, + callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void + ): void; + post(method: 'Debugger.getPossibleBreakpoints', callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void): void; + /** + * Continues execution until specific location is reached. + */ + post(method: 'Debugger.continueToLocation', params?: Debugger.ContinueToLocationParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.continueToLocation', callback?: (err: Error | null) => void): void; + /** + * @experimental + */ + post(method: 'Debugger.pauseOnAsyncCall', params?: Debugger.PauseOnAsyncCallParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.pauseOnAsyncCall', callback?: (err: Error | null) => void): void; + /** + * Steps over the statement. + */ + post(method: 'Debugger.stepOver', callback?: (err: Error | null) => void): void; + /** + * Steps into the function call. + */ + post(method: 'Debugger.stepInto', params?: Debugger.StepIntoParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.stepInto', callback?: (err: Error | null) => void): void; + /** + * Steps out of the function call. + */ + post(method: 'Debugger.stepOut', callback?: (err: Error | null) => void): void; + /** + * Stops on the next JavaScript statement. + */ + post(method: 'Debugger.pause', callback?: (err: Error | null) => void): void; + /** + * This method is deprecated - use Debugger.stepInto with breakOnAsyncCall and Debugger.pauseOnAsyncTask instead. Steps into next scheduled async task if any is scheduled before next pause. Returns success when async task is actually scheduled, returns error if no task were scheduled or another scheduleStepIntoAsync was called. + * @experimental + */ + post(method: 'Debugger.scheduleStepIntoAsync', callback?: (err: Error | null) => void): void; + /** + * Resumes JavaScript execution. + */ + post(method: 'Debugger.resume', callback?: (err: Error | null) => void): void; + /** + * Returns stack trace with given stackTraceId. + * @experimental + */ + post(method: 'Debugger.getStackTrace', params?: Debugger.GetStackTraceParameterType, callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; + post(method: 'Debugger.getStackTrace', callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; + /** + * Searches for given string in script content. + */ + post(method: 'Debugger.searchInContent', params?: Debugger.SearchInContentParameterType, callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; + post(method: 'Debugger.searchInContent', callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; + /** + * Edits JavaScript source live. + */ + post(method: 'Debugger.setScriptSource', params?: Debugger.SetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; + post(method: 'Debugger.setScriptSource', callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; + /** + * Restarts particular call frame from the beginning. + */ + post(method: 'Debugger.restartFrame', params?: Debugger.RestartFrameParameterType, callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; + post(method: 'Debugger.restartFrame', callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; + /** + * Returns source for the script with given id. + */ + post(method: 'Debugger.getScriptSource', params?: Debugger.GetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; + post(method: 'Debugger.getScriptSource', callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; + /** + * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is none. + */ + post(method: 'Debugger.setPauseOnExceptions', params?: Debugger.SetPauseOnExceptionsParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setPauseOnExceptions', callback?: (err: Error | null) => void): void; + /** + * Evaluates expression on a given call frame. + */ + post(method: 'Debugger.evaluateOnCallFrame', params?: Debugger.EvaluateOnCallFrameParameterType, callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; + post(method: 'Debugger.evaluateOnCallFrame', callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; + /** + * Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually. + */ + post(method: 'Debugger.setVariableValue', params?: Debugger.SetVariableValueParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setVariableValue', callback?: (err: Error | null) => void): void; + /** + * Changes return value in top frame. Available only at return break position. + * @experimental + */ + post(method: 'Debugger.setReturnValue', params?: Debugger.SetReturnValueParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setReturnValue', callback?: (err: Error | null) => void): void; + /** + * Enables or disables async call stacks tracking. + */ + post(method: 'Debugger.setAsyncCallStackDepth', params?: Debugger.SetAsyncCallStackDepthParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setAsyncCallStackDepth', callback?: (err: Error | null) => void): void; + /** + * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. + * @experimental + */ + post(method: 'Debugger.setBlackboxPatterns', params?: Debugger.SetBlackboxPatternsParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setBlackboxPatterns', callback?: (err: Error | null) => void): void; + /** + * Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted. + * @experimental + */ + post(method: 'Debugger.setBlackboxedRanges', params?: Debugger.SetBlackboxedRangesParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setBlackboxedRanges', callback?: (err: Error | null) => void): void; + /** + * Enables console domain, sends the messages collected so far to the client by means of the messageAdded notification. + */ + post(method: 'Console.enable', callback?: (err: Error | null) => void): void; + /** + * Disables console domain, prevents further console messages from being reported to the client. + */ + post(method: 'Console.disable', callback?: (err: Error | null) => void): void; + /** + * Does nothing. + */ + post(method: 'Console.clearMessages', callback?: (err: Error | null) => void): void; + post(method: 'Profiler.enable', callback?: (err: Error | null) => void): void; + post(method: 'Profiler.disable', callback?: (err: Error | null) => void): void; + /** + * Changes CPU profiler sampling interval. Must be called before CPU profiles recording started. + */ + post(method: 'Profiler.setSamplingInterval', params?: Profiler.SetSamplingIntervalParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Profiler.setSamplingInterval', callback?: (err: Error | null) => void): void; + post(method: 'Profiler.start', callback?: (err: Error | null) => void): void; + post(method: 'Profiler.stop', callback?: (err: Error | null, params: Profiler.StopReturnType) => void): void; + /** + * Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters. + */ + post(method: 'Profiler.startPreciseCoverage', params?: Profiler.StartPreciseCoverageParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Profiler.startPreciseCoverage', callback?: (err: Error | null) => void): void; + /** + * Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code. + */ + post(method: 'Profiler.stopPreciseCoverage', callback?: (err: Error | null) => void): void; + /** + * Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started. + */ + post(method: 'Profiler.takePreciseCoverage', callback?: (err: Error | null, params: Profiler.TakePreciseCoverageReturnType) => void): void; + /** + * Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection. + */ + post(method: 'Profiler.getBestEffortCoverage', callback?: (err: Error | null, params: Profiler.GetBestEffortCoverageReturnType) => void): void; + /** + * Enable type profile. + * @experimental + */ + post(method: 'Profiler.startTypeProfile', callback?: (err: Error | null) => void): void; + /** + * Disable type profile. Disabling releases type profile data collected so far. + * @experimental + */ + post(method: 'Profiler.stopTypeProfile', callback?: (err: Error | null) => void): void; + /** + * Collect type profile. + * @experimental + */ + post(method: 'Profiler.takeTypeProfile', callback?: (err: Error | null, params: Profiler.TakeTypeProfileReturnType) => void): void; + post(method: 'HeapProfiler.enable', callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.disable', callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.startTrackingHeapObjects', params?: HeapProfiler.StartTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.startTrackingHeapObjects', callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.stopTrackingHeapObjects', params?: HeapProfiler.StopTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.stopTrackingHeapObjects', callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.takeHeapSnapshot', params?: HeapProfiler.TakeHeapSnapshotParameterType, callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.takeHeapSnapshot', callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.collectGarbage', callback?: (err: Error | null) => void): void; + post( + method: 'HeapProfiler.getObjectByHeapObjectId', + params?: HeapProfiler.GetObjectByHeapObjectIdParameterType, + callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void + ): void; + post(method: 'HeapProfiler.getObjectByHeapObjectId', callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void): void; + /** + * Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions). + */ + post(method: 'HeapProfiler.addInspectedHeapObject', params?: HeapProfiler.AddInspectedHeapObjectParameterType, callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.addInspectedHeapObject', callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.getHeapObjectId', params?: HeapProfiler.GetHeapObjectIdParameterType, callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; + post(method: 'HeapProfiler.getHeapObjectId', callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; + post(method: 'HeapProfiler.startSampling', params?: HeapProfiler.StartSamplingParameterType, callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.startSampling', callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.stopSampling', callback?: (err: Error | null, params: HeapProfiler.StopSamplingReturnType) => void): void; + post(method: 'HeapProfiler.getSamplingProfile', callback?: (err: Error | null, params: HeapProfiler.GetSamplingProfileReturnType) => void): void; + /** + * Gets supported tracing categories. + */ + post(method: 'NodeTracing.getCategories', callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void; + /** + * Start trace events collection. + */ + post(method: 'NodeTracing.start', params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void; + post(method: 'NodeTracing.start', callback?: (err: Error | null) => void): void; + /** + * Stop trace events collection. Remaining collected events will be sent as a sequence of + * dataCollected events followed by tracingComplete event. + */ + post(method: 'NodeTracing.stop', callback?: (err: Error | null) => void): void; + /** + * Sends protocol message over session with given id. + */ + post(method: 'NodeWorker.sendMessageToWorker', params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void; + post(method: 'NodeWorker.sendMessageToWorker', callback?: (err: Error | null) => void): void; + /** + * Instructs the inspector to attach to running workers. Will also attach to new workers + * as they start + */ + post(method: 'NodeWorker.enable', params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void; + post(method: 'NodeWorker.enable', callback?: (err: Error | null) => void): void; + /** + * Detaches from all running workers and disables attaching to new workers as they are started. + */ + post(method: 'NodeWorker.disable', callback?: (err: Error | null) => void): void; + /** + * Detached from the worker with given sessionId. + */ + post(method: 'NodeWorker.detach', params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void; + post(method: 'NodeWorker.detach', callback?: (err: Error | null) => void): void; + /** + * Enable the `NodeRuntime.waitingForDisconnect`. + */ + post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void; + post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', callback?: (err: Error | null) => void): void; + // Events + addListener(event: string, listener: (...args: any[]) => void): this; + /** + * Emitted when any notification from the V8 Inspector is received. + */ + addListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; + /** + * Issued when new execution context is created. + */ + addListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; + /** + * Issued when execution context is destroyed. + */ + addListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; + /** + * Issued when all executionContexts were cleared in browser + */ + addListener(event: 'Runtime.executionContextsCleared', listener: () => void): this; + /** + * Issued when exception was thrown and unhandled. + */ + addListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; + /** + * Issued when unhandled exception was revoked. + */ + addListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; + /** + * Issued when console API was called. + */ + addListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; + /** + * Issued when object should be inspected (for example, as a result of inspect() command line API call). + */ + addListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. + */ + addListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine fails to parse the script. + */ + addListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; + /** + * Fired when breakpoint is resolved to an actual script and location. + */ + addListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. + */ + addListener(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine resumed execution. + */ + addListener(event: 'Debugger.resumed', listener: () => void): this; + /** + * Issued when new console message is added. + */ + addListener(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; + /** + * Sent when new profile recording is started using console.profile() call. + */ + addListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; + addListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; + addListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; + addListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this; + addListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. + */ + addListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend may send update for one or more fragments + */ + addListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; + /** + * Contains an bucket of collected trace events. + */ + addListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; + /** + * Signals that tracing is stopped and there is no trace buffers pending flush, all data were + * delivered via dataCollected events. + */ + addListener(event: 'NodeTracing.tracingComplete', listener: () => void): this; + /** + * Issued when attached to a worker. + */ + addListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; + /** + * Issued when detached from the worker. + */ + addListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * Notifies about a new protocol message received from the session + * (session ID is provided in attachedToWorker notification). + */ + addListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * This event is fired instead of `Runtime.executionContextDestroyed` when + * enabled. + * It is fired when the Node process finished all code execution and is + * waiting for all frontends to disconnect. + */ + addListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: 'inspectorNotification', message: InspectorNotification<{}>): boolean; + emit(event: 'Runtime.executionContextCreated', message: InspectorNotification): boolean; + emit(event: 'Runtime.executionContextDestroyed', message: InspectorNotification): boolean; + emit(event: 'Runtime.executionContextsCleared'): boolean; + emit(event: 'Runtime.exceptionThrown', message: InspectorNotification): boolean; + emit(event: 'Runtime.exceptionRevoked', message: InspectorNotification): boolean; + emit(event: 'Runtime.consoleAPICalled', message: InspectorNotification): boolean; + emit(event: 'Runtime.inspectRequested', message: InspectorNotification): boolean; + emit(event: 'Debugger.scriptParsed', message: InspectorNotification): boolean; + emit(event: 'Debugger.scriptFailedToParse', message: InspectorNotification): boolean; + emit(event: 'Debugger.breakpointResolved', message: InspectorNotification): boolean; + emit(event: 'Debugger.paused', message: InspectorNotification): boolean; + emit(event: 'Debugger.resumed'): boolean; + emit(event: 'Console.messageAdded', message: InspectorNotification): boolean; + emit(event: 'Profiler.consoleProfileStarted', message: InspectorNotification): boolean; + emit(event: 'Profiler.consoleProfileFinished', message: InspectorNotification): boolean; + emit(event: 'HeapProfiler.addHeapSnapshotChunk', message: InspectorNotification): boolean; + emit(event: 'HeapProfiler.resetProfiles'): boolean; + emit(event: 'HeapProfiler.reportHeapSnapshotProgress', message: InspectorNotification): boolean; + emit(event: 'HeapProfiler.lastSeenObjectId', message: InspectorNotification): boolean; + emit(event: 'HeapProfiler.heapStatsUpdate', message: InspectorNotification): boolean; + emit(event: 'NodeTracing.dataCollected', message: InspectorNotification): boolean; + emit(event: 'NodeTracing.tracingComplete'): boolean; + emit(event: 'NodeWorker.attachedToWorker', message: InspectorNotification): boolean; + emit(event: 'NodeWorker.detachedFromWorker', message: InspectorNotification): boolean; + emit(event: 'NodeWorker.receivedMessageFromWorker', message: InspectorNotification): boolean; + emit(event: 'NodeRuntime.waitingForDisconnect'): boolean; + on(event: string, listener: (...args: any[]) => void): this; + /** + * Emitted when any notification from the V8 Inspector is received. + */ + on(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; + /** + * Issued when new execution context is created. + */ + on(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; + /** + * Issued when execution context is destroyed. + */ + on(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; + /** + * Issued when all executionContexts were cleared in browser + */ + on(event: 'Runtime.executionContextsCleared', listener: () => void): this; + /** + * Issued when exception was thrown and unhandled. + */ + on(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; + /** + * Issued when unhandled exception was revoked. + */ + on(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; + /** + * Issued when console API was called. + */ + on(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; + /** + * Issued when object should be inspected (for example, as a result of inspect() command line API call). + */ + on(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. + */ + on(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine fails to parse the script. + */ + on(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; + /** + * Fired when breakpoint is resolved to an actual script and location. + */ + on(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. + */ + on(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine resumed execution. + */ + on(event: 'Debugger.resumed', listener: () => void): this; + /** + * Issued when new console message is added. + */ + on(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; + /** + * Sent when new profile recording is started using console.profile() call. + */ + on(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; + on(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; + on(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; + on(event: 'HeapProfiler.resetProfiles', listener: () => void): this; + on(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. + */ + on(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend may send update for one or more fragments + */ + on(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; + /** + * Contains an bucket of collected trace events. + */ + on(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; + /** + * Signals that tracing is stopped and there is no trace buffers pending flush, all data were + * delivered via dataCollected events. + */ + on(event: 'NodeTracing.tracingComplete', listener: () => void): this; + /** + * Issued when attached to a worker. + */ + on(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; + /** + * Issued when detached from the worker. + */ + on(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * Notifies about a new protocol message received from the session + * (session ID is provided in attachedToWorker notification). + */ + on(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * This event is fired instead of `Runtime.executionContextDestroyed` when + * enabled. + * It is fired when the Node process finished all code execution and is + * waiting for all frontends to disconnect. + */ + on(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; + once(event: string, listener: (...args: any[]) => void): this; + /** + * Emitted when any notification from the V8 Inspector is received. + */ + once(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; + /** + * Issued when new execution context is created. + */ + once(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; + /** + * Issued when execution context is destroyed. + */ + once(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; + /** + * Issued when all executionContexts were cleared in browser + */ + once(event: 'Runtime.executionContextsCleared', listener: () => void): this; + /** + * Issued when exception was thrown and unhandled. + */ + once(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; + /** + * Issued when unhandled exception was revoked. + */ + once(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; + /** + * Issued when console API was called. + */ + once(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; + /** + * Issued when object should be inspected (for example, as a result of inspect() command line API call). + */ + once(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. + */ + once(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine fails to parse the script. + */ + once(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; + /** + * Fired when breakpoint is resolved to an actual script and location. + */ + once(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. + */ + once(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine resumed execution. + */ + once(event: 'Debugger.resumed', listener: () => void): this; + /** + * Issued when new console message is added. + */ + once(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; + /** + * Sent when new profile recording is started using console.profile() call. + */ + once(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; + once(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; + once(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; + once(event: 'HeapProfiler.resetProfiles', listener: () => void): this; + once(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. + */ + once(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend may send update for one or more fragments + */ + once(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; + /** + * Contains an bucket of collected trace events. + */ + once(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; + /** + * Signals that tracing is stopped and there is no trace buffers pending flush, all data were + * delivered via dataCollected events. + */ + once(event: 'NodeTracing.tracingComplete', listener: () => void): this; + /** + * Issued when attached to a worker. + */ + once(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; + /** + * Issued when detached from the worker. + */ + once(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * Notifies about a new protocol message received from the session + * (session ID is provided in attachedToWorker notification). + */ + once(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * This event is fired instead of `Runtime.executionContextDestroyed` when + * enabled. + * It is fired when the Node process finished all code execution and is + * waiting for all frontends to disconnect. + */ + once(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + /** + * Emitted when any notification from the V8 Inspector is received. + */ + prependListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; + /** + * Issued when new execution context is created. + */ + prependListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; + /** + * Issued when execution context is destroyed. + */ + prependListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; + /** + * Issued when all executionContexts were cleared in browser + */ + prependListener(event: 'Runtime.executionContextsCleared', listener: () => void): this; + /** + * Issued when exception was thrown and unhandled. + */ + prependListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; + /** + * Issued when unhandled exception was revoked. + */ + prependListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; + /** + * Issued when console API was called. + */ + prependListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; + /** + * Issued when object should be inspected (for example, as a result of inspect() command line API call). + */ + prependListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. + */ + prependListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine fails to parse the script. + */ + prependListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; + /** + * Fired when breakpoint is resolved to an actual script and location. + */ + prependListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. + */ + prependListener(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine resumed execution. + */ + prependListener(event: 'Debugger.resumed', listener: () => void): this; + /** + * Issued when new console message is added. + */ + prependListener(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; + /** + * Sent when new profile recording is started using console.profile() call. + */ + prependListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; + prependListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; + prependListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; + prependListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this; + prependListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. + */ + prependListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend may send update for one or more fragments + */ + prependListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; + /** + * Contains an bucket of collected trace events. + */ + prependListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; + /** + * Signals that tracing is stopped and there is no trace buffers pending flush, all data were + * delivered via dataCollected events. + */ + prependListener(event: 'NodeTracing.tracingComplete', listener: () => void): this; + /** + * Issued when attached to a worker. + */ + prependListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; + /** + * Issued when detached from the worker. + */ + prependListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * Notifies about a new protocol message received from the session + * (session ID is provided in attachedToWorker notification). + */ + prependListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * This event is fired instead of `Runtime.executionContextDestroyed` when + * enabled. + * It is fired when the Node process finished all code execution and is + * waiting for all frontends to disconnect. + */ + prependListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + /** + * Emitted when any notification from the V8 Inspector is received. + */ + prependOnceListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; + /** + * Issued when new execution context is created. + */ + prependOnceListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; + /** + * Issued when execution context is destroyed. + */ + prependOnceListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; + /** + * Issued when all executionContexts were cleared in browser + */ + prependOnceListener(event: 'Runtime.executionContextsCleared', listener: () => void): this; + /** + * Issued when exception was thrown and unhandled. + */ + prependOnceListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; + /** + * Issued when unhandled exception was revoked. + */ + prependOnceListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; + /** + * Issued when console API was called. + */ + prependOnceListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; + /** + * Issued when object should be inspected (for example, as a result of inspect() command line API call). + */ + prependOnceListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. + */ + prependOnceListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine fails to parse the script. + */ + prependOnceListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; + /** + * Fired when breakpoint is resolved to an actual script and location. + */ + prependOnceListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. + */ + prependOnceListener(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine resumed execution. + */ + prependOnceListener(event: 'Debugger.resumed', listener: () => void): this; + /** + * Issued when new console message is added. + */ + prependOnceListener(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; + /** + * Sent when new profile recording is started using console.profile() call. + */ + prependOnceListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; + prependOnceListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; + prependOnceListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; + prependOnceListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this; + prependOnceListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. + */ + prependOnceListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend may send update for one or more fragments + */ + prependOnceListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; + /** + * Contains an bucket of collected trace events. + */ + prependOnceListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; + /** + * Signals that tracing is stopped and there is no trace buffers pending flush, all data were + * delivered via dataCollected events. + */ + prependOnceListener(event: 'NodeTracing.tracingComplete', listener: () => void): this; + /** + * Issued when attached to a worker. + */ + prependOnceListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; + /** + * Issued when detached from the worker. + */ + prependOnceListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * Notifies about a new protocol message received from the session + * (session ID is provided in attachedToWorker notification). + */ + prependOnceListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * This event is fired instead of `Runtime.executionContextDestroyed` when + * enabled. + * It is fired when the Node process finished all code execution and is + * waiting for all frontends to disconnect. + */ + prependOnceListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; + } + /** + * Activate inspector on host and port. Equivalent to`node --inspect=[[host:]port]`, but can be done programmatically after node has + * started. + * + * If wait is `true`, will block until a client has connected to the inspect port + * and flow control has been passed to the debugger client. + * + * See the `security warning` regarding the `host`parameter usage. + * @param [port='what was specified on the CLI'] Port to listen on for inspector connections. Optional. + * @param [host='what was specified on the CLI'] Host to listen on for inspector connections. Optional. + * @param [wait=false] Block until a client has connected. Optional. + * @returns Disposable that calls `inspector.close()`. + */ + function open(port?: number, host?: string, wait?: boolean): Disposable; + /** + * Deactivate the inspector. Blocks until there are no active connections. + */ + function close(): void; + /** + * Return the URL of the active inspector, or `undefined` if there is none. + * + * ```console + * $ node --inspect -p 'inspector.url()' + * Debugger listening on ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34 + * For help, see: https://nodejs.org/en/docs/inspector + * ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34 + * + * $ node --inspect=localhost:3000 -p 'inspector.url()' + * Debugger listening on ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a + * For help, see: https://nodejs.org/en/docs/inspector + * ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a + * + * $ node -p 'inspector.url()' + * undefined + * ``` + */ + function url(): string | undefined; + /** + * Blocks until a client (existing or connected later) has sent`Runtime.runIfWaitingForDebugger` command. + * + * An exception will be thrown if there is no active inspector. + * @since v12.7.0 + */ + function waitForDebugger(): void; +} +/** + * The inspector module provides an API for interacting with the V8 inspector. + */ +declare module 'node:inspector' { + import inspector = require('inspector'); + export = inspector; +} diff --git a/node_modules/@types/node/module.d.ts b/node_modules/@types/node/module.d.ts new file mode 100644 index 000000000..68d59c773 --- /dev/null +++ b/node_modules/@types/node/module.d.ts @@ -0,0 +1,301 @@ +/** + * @since v0.3.7 + * @experimental + */ +declare module "module" { + import { URL } from "node:url"; + import { MessagePort } from "node:worker_threads"; + namespace Module { + /** + * The `module.syncBuiltinESMExports()` method updates all the live bindings for + * builtin `ES Modules` to match the properties of the `CommonJS` exports. It + * does not add or remove exported names from the `ES Modules`. + * + * ```js + * const fs = require('node:fs'); + * const assert = require('node:assert'); + * const { syncBuiltinESMExports } = require('node:module'); + * + * fs.readFile = newAPI; + * + * delete fs.readFileSync; + * + * function newAPI() { + * // ... + * } + * + * fs.newAPI = newAPI; + * + * syncBuiltinESMExports(); + * + * import('node:fs').then((esmFS) => { + * // It syncs the existing readFile property with the new value + * assert.strictEqual(esmFS.readFile, newAPI); + * // readFileSync has been deleted from the required fs + * assert.strictEqual('readFileSync' in fs, false); + * // syncBuiltinESMExports() does not remove readFileSync from esmFS + * assert.strictEqual('readFileSync' in esmFS, true); + * // syncBuiltinESMExports() does not add names + * assert.strictEqual(esmFS.newAPI, undefined); + * }); + * ``` + * @since v12.12.0 + */ + function syncBuiltinESMExports(): void; + /** + * `path` is the resolved path for the file for which a corresponding source map + * should be fetched. + * @since v13.7.0, v12.17.0 + * @return Returns `module.SourceMap` if a source map is found, `undefined` otherwise. + */ + function findSourceMap(path: string, error?: Error): SourceMap; + interface SourceMapPayload { + file: string; + version: number; + sources: string[]; + sourcesContent: string[]; + names: string[]; + mappings: string; + sourceRoot: string; + } + interface SourceMapping { + generatedLine: number; + generatedColumn: number; + originalSource: string; + originalLine: number; + originalColumn: number; + } + interface SourceOrigin { + /** + * The name of the range in the source map, if one was provided + */ + name?: string; + /** + * The file name of the original source, as reported in the SourceMap + */ + fileName: string; + /** + * The 1-indexed lineNumber of the corresponding call site in the original source + */ + lineNumber: number; + /** + * The 1-indexed columnNumber of the corresponding call site in the original source + */ + columnNumber: number; + } + /** + * @since v13.7.0, v12.17.0 + */ + class SourceMap { + /** + * Getter for the payload used to construct the `SourceMap` instance. + */ + readonly payload: SourceMapPayload; + constructor(payload: SourceMapPayload); + /** + * Given a line offset and column offset in the generated source + * file, returns an object representing the SourceMap range in the + * original file if found, or an empty object if not. + * + * The object returned contains the following keys: + * + * The returned value represents the raw range as it appears in the + * SourceMap, based on zero-indexed offsets, _not_ 1-indexed line and + * column numbers as they appear in Error messages and CallSite + * objects. + * + * To get the corresponding 1-indexed line and column numbers from a + * lineNumber and columnNumber as they are reported by Error stacks + * and CallSite objects, use `sourceMap.findOrigin(lineNumber, columnNumber)` + * @param lineOffset The zero-indexed line number offset in the generated source + * @param columnOffset The zero-indexed column number offset in the generated source + */ + findEntry(lineOffset: number, columnOffset: number): SourceMapping; + /** + * Given a 1-indexed `lineNumber` and `columnNumber` from a call site in the generated source, + * find the corresponding call site location in the original source. + * + * If the `lineNumber` and `columnNumber` provided are not found in any source map, + * then an empty object is returned. + * @param lineNumber The 1-indexed line number of the call site in the generated source + * @param columnNumber The 1-indexed column number of the call site in the generated source + */ + findOrigin(lineNumber: number, columnNumber: number): SourceOrigin | {}; + } + /** @deprecated Use `ImportAttributes` instead */ + interface ImportAssertions extends ImportAttributes {} + interface ImportAttributes extends NodeJS.Dict { + type?: string | undefined; + } + type ModuleFormat = "builtin" | "commonjs" | "json" | "module" | "wasm"; + type ModuleSource = string | ArrayBuffer | NodeJS.TypedArray; + interface GlobalPreloadContext { + port: MessagePort; + } + /** + * @deprecated This hook will be removed in a future version. + * Use `initialize` instead. When a loader has an `initialize` export, `globalPreload` will be ignored. + * + * Sometimes it might be necessary to run some code inside of the same global scope that the application runs in. + * This hook allows the return of a string that is run as a sloppy-mode script on startup. + * + * @param context Information to assist the preload code + * @return Code to run before application startup + */ + type GlobalPreloadHook = (context: GlobalPreloadContext) => string; + /** + * The `initialize` hook provides a way to define a custom function that runs in the hooks thread + * when the hooks module is initialized. Initialization happens when the hooks module is registered via `register`. + * + * This hook can receive data from a `register` invocation, including ports and other transferrable objects. + * The return value of `initialize` can be a `Promise`, in which case it will be awaited before the main application thread execution resumes. + */ + type InitializeHook = (data: Data) => void | Promise; + interface ResolveHookContext { + /** + * Export conditions of the relevant `package.json` + */ + conditions: string[]; + /** + * @deprecated Use `importAttributes` instead + */ + importAssertions: ImportAttributes; + /** + * An object whose key-value pairs represent the assertions for the module to import + */ + importAttributes: ImportAttributes; + /** + * The module importing this one, or undefined if this is the Node.js entry point + */ + parentURL: string | undefined; + } + interface ResolveFnOutput { + /** + * A hint to the load hook (it might be ignored) + */ + format?: ModuleFormat | null | undefined; + /** + * @deprecated Use `importAttributes` instead + */ + importAssertions?: ImportAttributes | undefined; + /** + * The import attributes to use when caching the module (optional; if excluded the input will be used) + */ + importAttributes?: ImportAttributes | undefined; + /** + * A signal that this hook intends to terminate the chain of `resolve` hooks. + * @default false + */ + shortCircuit?: boolean | undefined; + /** + * The absolute URL to which this input resolves + */ + url: string; + } + /** + * The `resolve` hook chain is responsible for resolving file URL for a given module specifier and parent URL, and optionally its format (such as `'module'`) as a hint to the `load` hook. + * If a format is specified, the load hook is ultimately responsible for providing the final `format` value (and it is free to ignore the hint provided by `resolve`); + * if `resolve` provides a format, a custom `load` hook is required even if only to pass the value to the Node.js default `load` hook. + * + * @param specifier The specified URL path of the module to be resolved + * @param context + * @param nextResolve The subsequent `resolve` hook in the chain, or the Node.js default `resolve` hook after the last user-supplied resolve hook + */ + type ResolveHook = ( + specifier: string, + context: ResolveHookContext, + nextResolve: ( + specifier: string, + context?: ResolveHookContext, + ) => ResolveFnOutput | Promise, + ) => ResolveFnOutput | Promise; + interface LoadHookContext { + /** + * Export conditions of the relevant `package.json` + */ + conditions: string[]; + /** + * The format optionally supplied by the `resolve` hook chain + */ + format: ModuleFormat; + /** + * @deprecated Use `importAttributes` instead + */ + importAssertions: ImportAttributes; + /** + * An object whose key-value pairs represent the assertions for the module to import + */ + importAttributes: ImportAttributes; + } + interface LoadFnOutput { + format: ModuleFormat; + /** + * A signal that this hook intends to terminate the chain of `resolve` hooks. + * @default false + */ + shortCircuit?: boolean | undefined; + /** + * The source for Node.js to evaluate + */ + source?: ModuleSource; + } + /** + * The `load` hook provides a way to define a custom method of determining how a URL should be interpreted, retrieved, and parsed. + * It is also in charge of validating the import assertion. + * + * @param url The URL/path of the module to be loaded + * @param context Metadata about the module + * @param nextLoad The subsequent `load` hook in the chain, or the Node.js default `load` hook after the last user-supplied `load` hook + */ + type LoadHook = ( + url: string, + context: LoadHookContext, + nextLoad: (url: string, context?: LoadHookContext) => LoadFnOutput | Promise, + ) => LoadFnOutput | Promise; + } + interface RegisterOptions { + parentURL: string | URL; + data?: Data | undefined; + transferList?: any[] | undefined; + } + interface Module extends NodeModule {} + class Module { + static runMain(): void; + static wrap(code: string): string; + static createRequire(path: string | URL): NodeRequire; + static builtinModules: string[]; + static isBuiltin(moduleName: string): boolean; + static Module: typeof Module; + static register( + specifier: string | URL, + parentURL?: string | URL, + options?: RegisterOptions, + ): void; + static register(specifier: string | URL, options?: RegisterOptions): void; + constructor(id: string, parent?: Module); + } + global { + interface ImportMeta { + url: string; + /** + * Provides a module-relative resolution function scoped to each module, returning + * the URL string. + * + * Second `parent` parameter is only used when the `--experimental-import-meta-resolve` + * command flag enabled. + * + * @since v20.6.0 + * + * @param specifier The module specifier to resolve relative to `parent`. + * @param parent The absolute parent module URL to resolve from. + * @returns The absolute (`file:`) URL string for the resolved module. + */ + resolve(specifier: string, parent?: string | URL | undefined): string; + } + } + export = Module; +} +declare module "node:module" { + import module = require("module"); + export = module; +} diff --git a/node_modules/@types/node/net.d.ts b/node_modules/@types/node/net.d.ts new file mode 100644 index 000000000..70789e1ba --- /dev/null +++ b/node_modules/@types/node/net.d.ts @@ -0,0 +1,949 @@ +/** + * > Stability: 2 - Stable + * + * The `node:net` module provides an asynchronous network API for creating stream-based + * TCP or `IPC` servers ({@link createServer}) and clients + * ({@link createConnection}). + * + * It can be accessed using: + * + * ```js + * const net = require('node:net'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/net.js) + */ +declare module "net" { + import * as stream from "node:stream"; + import { Abortable, EventEmitter } from "node:events"; + import * as dns from "node:dns"; + type LookupFunction = ( + hostname: string, + options: dns.LookupAllOptions, + callback: (err: NodeJS.ErrnoException | null, addresses: dns.LookupAddress[]) => void, + ) => void; + interface AddressInfo { + address: string; + family: string; + port: number; + } + interface SocketConstructorOpts { + fd?: number | undefined; + allowHalfOpen?: boolean | undefined; + readable?: boolean | undefined; + writable?: boolean | undefined; + signal?: AbortSignal; + } + interface OnReadOpts { + buffer: Uint8Array | (() => Uint8Array); + /** + * This function is called for every chunk of incoming data. + * Two arguments are passed to it: the number of bytes written to buffer and a reference to buffer. + * Return false from this function to implicitly pause() the socket. + */ + callback(bytesWritten: number, buf: Uint8Array): boolean; + } + interface ConnectOpts { + /** + * If specified, incoming data is stored in a single buffer and passed to the supplied callback when data arrives on the socket. + * Note: this will cause the streaming functionality to not provide any data, however events like 'error', 'end', and 'close' will + * still be emitted as normal and methods like pause() and resume() will also behave as expected. + */ + onread?: OnReadOpts | undefined; + } + interface TcpSocketConnectOpts extends ConnectOpts { + port: number; + host?: string | undefined; + localAddress?: string | undefined; + localPort?: number | undefined; + hints?: number | undefined; + family?: number | undefined; + lookup?: LookupFunction | undefined; + noDelay?: boolean | undefined; + keepAlive?: boolean | undefined; + keepAliveInitialDelay?: number | undefined; + /** + * @since v18.13.0 + */ + autoSelectFamily?: boolean | undefined; + /** + * @since v18.13.0 + */ + autoSelectFamilyAttemptTimeout?: number | undefined; + } + interface IpcSocketConnectOpts extends ConnectOpts { + path: string; + } + type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts; + type SocketReadyState = "opening" | "open" | "readOnly" | "writeOnly" | "closed"; + /** + * This class is an abstraction of a TCP socket or a streaming `IPC` endpoint + * (uses named pipes on Windows, and Unix domain sockets otherwise). It is also + * an `EventEmitter`. + * + * A `net.Socket` can be created by the user and used directly to interact with + * a server. For example, it is returned by {@link createConnection}, + * so the user can use it to talk to the server. + * + * It can also be created by Node.js and passed to the user when a connection + * is received. For example, it is passed to the listeners of a `'connection'` event emitted on a {@link Server}, so the user can use + * it to interact with the client. + * @since v0.3.4 + */ + class Socket extends stream.Duplex { + constructor(options?: SocketConstructorOpts); + /** + * Destroys the socket after all data is written. If the `finish` event was already emitted the socket is destroyed immediately. + * If the socket is still writable it implicitly calls `socket.end()`. + * @since v0.3.4 + */ + destroySoon(): void; + /** + * Sends data on the socket. The second parameter specifies the encoding in the + * case of a string. It defaults to UTF8 encoding. + * + * Returns `true` if the entire data was flushed successfully to the kernel + * buffer. Returns `false` if all or part of the data was queued in user memory.`'drain'` will be emitted when the buffer is again free. + * + * The optional `callback` parameter will be executed when the data is finally + * written out, which may not be immediately. + * + * See `Writable` stream `write()` method for more + * information. + * @since v0.1.90 + * @param [encoding='utf8'] Only used when data is `string`. + */ + write(buffer: Uint8Array | string, cb?: (err?: Error) => void): boolean; + write(str: Uint8Array | string, encoding?: BufferEncoding, cb?: (err?: Error) => void): boolean; + /** + * Initiate a connection on a given socket. + * + * Possible signatures: + * + * * `socket.connect(options[, connectListener])` + * * `socket.connect(path[, connectListener])` for `IPC` connections. + * * `socket.connect(port[, host][, connectListener])` for TCP connections. + * * Returns: `net.Socket` The socket itself. + * + * This function is asynchronous. When the connection is established, the `'connect'` event will be emitted. If there is a problem connecting, + * instead of a `'connect'` event, an `'error'` event will be emitted with + * the error passed to the `'error'` listener. + * The last parameter `connectListener`, if supplied, will be added as a listener + * for the `'connect'` event **once**. + * + * This function should only be used for reconnecting a socket after`'close'` has been emitted or otherwise it may lead to undefined + * behavior. + */ + connect(options: SocketConnectOpts, connectionListener?: () => void): this; + connect(port: number, host: string, connectionListener?: () => void): this; + connect(port: number, connectionListener?: () => void): this; + connect(path: string, connectionListener?: () => void): this; + /** + * Set the encoding for the socket as a `Readable Stream`. See `readable.setEncoding()` for more information. + * @since v0.1.90 + * @return The socket itself. + */ + setEncoding(encoding?: BufferEncoding): this; + /** + * Pauses the reading of data. That is, `'data'` events will not be emitted. + * Useful to throttle back an upload. + * @return The socket itself. + */ + pause(): this; + /** + * Close the TCP connection by sending an RST packet and destroy the stream. + * If this TCP socket is in connecting status, it will send an RST packet and destroy this TCP socket once it is connected. + * Otherwise, it will call `socket.destroy` with an `ERR_SOCKET_CLOSED` Error. + * If this is not a TCP socket (for example, a pipe), calling this method will immediately throw an `ERR_INVALID_HANDLE_TYPE` Error. + * @since v18.3.0, v16.17.0 + */ + resetAndDestroy(): this; + /** + * Resumes reading after a call to `socket.pause()`. + * @return The socket itself. + */ + resume(): this; + /** + * Sets the socket to timeout after `timeout` milliseconds of inactivity on + * the socket. By default `net.Socket` do not have a timeout. + * + * When an idle timeout is triggered the socket will receive a `'timeout'` event but the connection will not be severed. The user must manually call `socket.end()` or `socket.destroy()` to + * end the connection. + * + * ```js + * socket.setTimeout(3000); + * socket.on('timeout', () => { + * console.log('socket timeout'); + * socket.end(); + * }); + * ``` + * + * If `timeout` is 0, then the existing idle timeout is disabled. + * + * The optional `callback` parameter will be added as a one-time listener for the `'timeout'` event. + * @since v0.1.90 + * @return The socket itself. + */ + setTimeout(timeout: number, callback?: () => void): this; + /** + * Enable/disable the use of Nagle's algorithm. + * + * When a TCP connection is created, it will have Nagle's algorithm enabled. + * + * Nagle's algorithm delays data before it is sent via the network. It attempts + * to optimize throughput at the expense of latency. + * + * Passing `true` for `noDelay` or not passing an argument will disable Nagle's + * algorithm for the socket. Passing `false` for `noDelay` will enable Nagle's + * algorithm. + * @since v0.1.90 + * @param [noDelay=true] + * @return The socket itself. + */ + setNoDelay(noDelay?: boolean): this; + /** + * Enable/disable keep-alive functionality, and optionally set the initial + * delay before the first keepalive probe is sent on an idle socket. + * + * Set `initialDelay` (in milliseconds) to set the delay between the last + * data packet received and the first keepalive probe. Setting `0` for`initialDelay` will leave the value unchanged from the default + * (or previous) setting. + * + * Enabling the keep-alive functionality will set the following socket options: + * + * * `SO_KEEPALIVE=1` + * * `TCP_KEEPIDLE=initialDelay` + * * `TCP_KEEPCNT=10` + * * `TCP_KEEPINTVL=1` + * @since v0.1.92 + * @param [enable=false] + * @param [initialDelay=0] + * @return The socket itself. + */ + setKeepAlive(enable?: boolean, initialDelay?: number): this; + /** + * Returns the bound `address`, the address `family` name and `port` of the + * socket as reported by the operating system:`{ port: 12346, family: 'IPv4', address: '127.0.0.1' }` + * @since v0.1.90 + */ + address(): AddressInfo | {}; + /** + * Calling `unref()` on a socket will allow the program to exit if this is the only + * active socket in the event system. If the socket is already `unref`ed calling`unref()` again will have no effect. + * @since v0.9.1 + * @return The socket itself. + */ + unref(): this; + /** + * Opposite of `unref()`, calling `ref()` on a previously `unref`ed socket will _not_ let the program exit if it's the only socket left (the default behavior). + * If the socket is `ref`ed calling `ref` again will have no effect. + * @since v0.9.1 + * @return The socket itself. + */ + ref(): this; + /** + * This property is only present if the family autoselection algorithm is enabled in `socket.connect(options)` + * and it is an array of the addresses that have been attempted. + * + * Each address is a string in the form of `$IP:$PORT`. + * If the connection was successful, then the last address is the one that the socket is currently connected to. + * @since v19.4.0 + */ + readonly autoSelectFamilyAttemptedAddresses: string[]; + /** + * This property shows the number of characters buffered for writing. The buffer + * may contain strings whose length after encoding is not yet known. So this number + * is only an approximation of the number of bytes in the buffer. + * + * `net.Socket` has the property that `socket.write()` always works. This is to + * help users get up and running quickly. The computer cannot always keep up + * with the amount of data that is written to a socket. The network connection + * simply might be too slow. Node.js will internally queue up the data written to a + * socket and send it out over the wire when it is possible. + * + * The consequence of this internal buffering is that memory may grow. + * Users who experience large or growing `bufferSize` should attempt to + * "throttle" the data flows in their program with `socket.pause()` and `socket.resume()`. + * @since v0.3.8 + * @deprecated Since v14.6.0 - Use `writableLength` instead. + */ + readonly bufferSize: number; + /** + * The amount of received bytes. + * @since v0.5.3 + */ + readonly bytesRead: number; + /** + * The amount of bytes sent. + * @since v0.5.3 + */ + readonly bytesWritten: number; + /** + * If `true`,`socket.connect(options[, connectListener])` was + * called and has not yet finished. It will stay `true` until the socket becomes + * connected, then it is set to `false` and the `'connect'` event is emitted. Note + * that the `socket.connect(options[, connectListener])` callback is a listener for the `'connect'` event. + * @since v6.1.0 + */ + readonly connecting: boolean; + /** + * This is `true` if the socket is not connected yet, either because `.connect()`has not yet been called or because it is still in the process of connecting + * (see `socket.connecting`). + * @since v11.2.0, v10.16.0 + */ + readonly pending: boolean; + /** + * See `writable.destroyed` for further details. + */ + readonly destroyed: boolean; + /** + * The string representation of the local IP address the remote client is + * connecting on. For example, in a server listening on `'0.0.0.0'`, if a client + * connects on `'192.168.1.1'`, the value of `socket.localAddress` would be`'192.168.1.1'`. + * @since v0.9.6 + */ + readonly localAddress?: string; + /** + * The numeric representation of the local port. For example, `80` or `21`. + * @since v0.9.6 + */ + readonly localPort?: number; + /** + * The string representation of the local IP family. `'IPv4'` or `'IPv6'`. + * @since v18.8.0, v16.18.0 + */ + readonly localFamily?: string; + /** + * This property represents the state of the connection as a string. + * + * * If the stream is connecting `socket.readyState` is `opening`. + * * If the stream is readable and writable, it is `open`. + * * If the stream is readable and not writable, it is `readOnly`. + * * If the stream is not readable and writable, it is `writeOnly`. + * @since v0.5.0 + */ + readonly readyState: SocketReadyState; + /** + * The string representation of the remote IP address. For example,`'74.125.127.100'` or `'2001:4860:a005::68'`. Value may be `undefined` if + * the socket is destroyed (for example, if the client disconnected). + * @since v0.5.10 + */ + readonly remoteAddress?: string | undefined; + /** + * The string representation of the remote IP family. `'IPv4'` or `'IPv6'`. Value may be `undefined` if + * the socket is destroyed (for example, if the client disconnected). + * @since v0.11.14 + */ + readonly remoteFamily?: string | undefined; + /** + * The numeric representation of the remote port. For example, `80` or `21`. Value may be `undefined` if + * the socket is destroyed (for example, if the client disconnected). + * @since v0.5.10 + */ + readonly remotePort?: number | undefined; + /** + * The socket timeout in milliseconds as set by `socket.setTimeout()`. + * It is `undefined` if a timeout has not been set. + * @since v10.7.0 + */ + readonly timeout?: number | undefined; + /** + * Half-closes the socket. i.e., it sends a FIN packet. It is possible the + * server will still send some data. + * + * See `writable.end()` for further details. + * @since v0.1.90 + * @param [encoding='utf8'] Only used when data is `string`. + * @param callback Optional callback for when the socket is finished. + * @return The socket itself. + */ + end(callback?: () => void): this; + end(buffer: Uint8Array | string, callback?: () => void): this; + end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): this; + /** + * events.EventEmitter + * 1. close + * 2. connect + * 3. data + * 4. drain + * 5. end + * 6. error + * 7. lookup + * 8. ready + * 9. timeout + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "close", listener: (hadError: boolean) => void): this; + addListener(event: "connect", listener: () => void): this; + addListener(event: "data", listener: (data: Buffer) => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "end", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener( + event: "lookup", + listener: (err: Error, address: string, family: string | number, host: string) => void, + ): this; + addListener(event: "ready", listener: () => void): this; + addListener(event: "timeout", listener: () => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "close", hadError: boolean): boolean; + emit(event: "connect"): boolean; + emit(event: "data", data: Buffer): boolean; + emit(event: "drain"): boolean; + emit(event: "end"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "lookup", err: Error, address: string, family: string | number, host: string): boolean; + emit(event: "ready"): boolean; + emit(event: "timeout"): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "close", listener: (hadError: boolean) => void): this; + on(event: "connect", listener: () => void): this; + on(event: "data", listener: (data: Buffer) => void): this; + on(event: "drain", listener: () => void): this; + on(event: "end", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on( + event: "lookup", + listener: (err: Error, address: string, family: string | number, host: string) => void, + ): this; + on(event: "ready", listener: () => void): this; + on(event: "timeout", listener: () => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "close", listener: (hadError: boolean) => void): this; + once(event: "connect", listener: () => void): this; + once(event: "data", listener: (data: Buffer) => void): this; + once(event: "drain", listener: () => void): this; + once(event: "end", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once( + event: "lookup", + listener: (err: Error, address: string, family: string | number, host: string) => void, + ): this; + once(event: "ready", listener: () => void): this; + once(event: "timeout", listener: () => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: (hadError: boolean) => void): this; + prependListener(event: "connect", listener: () => void): this; + prependListener(event: "data", listener: (data: Buffer) => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "end", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener( + event: "lookup", + listener: (err: Error, address: string, family: string | number, host: string) => void, + ): this; + prependListener(event: "ready", listener: () => void): this; + prependListener(event: "timeout", listener: () => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: (hadError: boolean) => void): this; + prependOnceListener(event: "connect", listener: () => void): this; + prependOnceListener(event: "data", listener: (data: Buffer) => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "end", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener( + event: "lookup", + listener: (err: Error, address: string, family: string | number, host: string) => void, + ): this; + prependOnceListener(event: "ready", listener: () => void): this; + prependOnceListener(event: "timeout", listener: () => void): this; + } + interface ListenOptions extends Abortable { + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + path?: string | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + /** + * @default false + */ + ipv6Only?: boolean | undefined; + } + interface ServerOpts { + /** + * Indicates whether half-opened TCP connections are allowed. + * @default false + */ + allowHalfOpen?: boolean | undefined; + /** + * Indicates whether the socket should be paused on incoming connections. + * @default false + */ + pauseOnConnect?: boolean | undefined; + /** + * If set to `true`, it disables the use of Nagle's algorithm immediately after a new incoming connection is received. + * @default false + * @since v16.5.0 + */ + noDelay?: boolean | undefined; + /** + * If set to `true`, it enables keep-alive functionality on the socket immediately after a new incoming connection is received, + * similarly on what is done in `socket.setKeepAlive([enable][, initialDelay])`. + * @default false + * @since v16.5.0 + */ + keepAlive?: boolean | undefined; + /** + * If set to a positive number, it sets the initial delay before the first keepalive probe is sent on an idle socket. + * @default 0 + * @since v16.5.0 + */ + keepAliveInitialDelay?: number | undefined; + } + interface DropArgument { + localAddress?: string; + localPort?: number; + localFamily?: string; + remoteAddress?: string; + remotePort?: number; + remoteFamily?: string; + } + /** + * This class is used to create a TCP or `IPC` server. + * @since v0.1.90 + */ + class Server extends EventEmitter { + constructor(connectionListener?: (socket: Socket) => void); + constructor(options?: ServerOpts, connectionListener?: (socket: Socket) => void); + /** + * Start a server listening for connections. A `net.Server` can be a TCP or + * an `IPC` server depending on what it listens to. + * + * Possible signatures: + * + * * `server.listen(handle[, backlog][, callback])` + * * `server.listen(options[, callback])` + * * `server.listen(path[, backlog][, callback])` for `IPC` servers + * * `server.listen([port[, host[, backlog]]][, callback])` for TCP servers + * + * This function is asynchronous. When the server starts listening, the `'listening'` event will be emitted. The last parameter `callback`will be added as a listener for the `'listening'` + * event. + * + * All `listen()` methods can take a `backlog` parameter to specify the maximum + * length of the queue of pending connections. The actual length will be determined + * by the OS through sysctl settings such as `tcp_max_syn_backlog` and `somaxconn`on Linux. The default value of this parameter is 511 (not 512). + * + * All {@link Socket} are set to `SO_REUSEADDR` (see [`socket(7)`](https://man7.org/linux/man-pages/man7/socket.7.html) for + * details). + * + * The `server.listen()` method can be called again if and only if there was an + * error during the first `server.listen()` call or `server.close()` has been + * called. Otherwise, an `ERR_SERVER_ALREADY_LISTEN` error will be thrown. + * + * One of the most common errors raised when listening is `EADDRINUSE`. + * This happens when another server is already listening on the requested`port`/`path`/`handle`. One way to handle this would be to retry + * after a certain amount of time: + * + * ```js + * server.on('error', (e) => { + * if (e.code === 'EADDRINUSE') { + * console.error('Address in use, retrying...'); + * setTimeout(() => { + * server.close(); + * server.listen(PORT, HOST); + * }, 1000); + * } + * }); + * ``` + */ + listen(port?: number, hostname?: string, backlog?: number, listeningListener?: () => void): this; + listen(port?: number, hostname?: string, listeningListener?: () => void): this; + listen(port?: number, backlog?: number, listeningListener?: () => void): this; + listen(port?: number, listeningListener?: () => void): this; + listen(path: string, backlog?: number, listeningListener?: () => void): this; + listen(path: string, listeningListener?: () => void): this; + listen(options: ListenOptions, listeningListener?: () => void): this; + listen(handle: any, backlog?: number, listeningListener?: () => void): this; + listen(handle: any, listeningListener?: () => void): this; + /** + * Stops the server from accepting new connections and keeps existing + * connections. This function is asynchronous, the server is finally closed + * when all connections are ended and the server emits a `'close'` event. + * The optional `callback` will be called once the `'close'` event occurs. Unlike + * that event, it will be called with an `Error` as its only argument if the server + * was not open when it was closed. + * @since v0.1.90 + * @param callback Called when the server is closed. + */ + close(callback?: (err?: Error) => void): this; + /** + * Returns the bound `address`, the address `family` name, and `port` of the server + * as reported by the operating system if listening on an IP socket + * (useful to find which port was assigned when getting an OS-assigned address):`{ port: 12346, family: 'IPv4', address: '127.0.0.1' }`. + * + * For a server listening on a pipe or Unix domain socket, the name is returned + * as a string. + * + * ```js + * const server = net.createServer((socket) => { + * socket.end('goodbye\n'); + * }).on('error', (err) => { + * // Handle errors here. + * throw err; + * }); + * + * // Grab an arbitrary unused port. + * server.listen(() => { + * console.log('opened server on', server.address()); + * }); + * ``` + * + * `server.address()` returns `null` before the `'listening'` event has been + * emitted or after calling `server.close()`. + * @since v0.1.90 + */ + address(): AddressInfo | string | null; + /** + * Asynchronously get the number of concurrent connections on the server. Works + * when sockets were sent to forks. + * + * Callback should take two arguments `err` and `count`. + * @since v0.9.7 + */ + getConnections(cb: (error: Error | null, count: number) => void): void; + /** + * Opposite of `unref()`, calling `ref()` on a previously `unref`ed server will _not_ let the program exit if it's the only server left (the default behavior). + * If the server is `ref`ed calling `ref()` again will have no effect. + * @since v0.9.1 + */ + ref(): this; + /** + * Calling `unref()` on a server will allow the program to exit if this is the only + * active server in the event system. If the server is already `unref`ed calling`unref()` again will have no effect. + * @since v0.9.1 + */ + unref(): this; + /** + * Set this property to reject connections when the server's connection count gets + * high. + * + * It is not recommended to use this option once a socket has been sent to a child + * with `child_process.fork()`. + * @since v0.2.0 + */ + maxConnections: number; + connections: number; + /** + * Indicates whether or not the server is listening for connections. + * @since v5.7.0 + */ + listening: boolean; + /** + * events.EventEmitter + * 1. close + * 2. connection + * 3. error + * 4. listening + * 5. drop + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "connection", listener: (socket: Socket) => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "listening", listener: () => void): this; + addListener(event: "drop", listener: (data?: DropArgument) => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "close"): boolean; + emit(event: "connection", socket: Socket): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "listening"): boolean; + emit(event: "drop", data?: DropArgument): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "close", listener: () => void): this; + on(event: "connection", listener: (socket: Socket) => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "listening", listener: () => void): this; + on(event: "drop", listener: (data?: DropArgument) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "connection", listener: (socket: Socket) => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "listening", listener: () => void): this; + once(event: "drop", listener: (data?: DropArgument) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "connection", listener: (socket: Socket) => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "listening", listener: () => void): this; + prependListener(event: "drop", listener: (data?: DropArgument) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "connection", listener: (socket: Socket) => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "listening", listener: () => void): this; + prependOnceListener(event: "drop", listener: (data?: DropArgument) => void): this; + /** + * Calls {@link Server.close()} and returns a promise that fulfills when the server has closed. + * @since v20.5.0 + */ + [Symbol.asyncDispose](): Promise; + } + type IPVersion = "ipv4" | "ipv6"; + /** + * The `BlockList` object can be used with some network APIs to specify rules for + * disabling inbound or outbound access to specific IP addresses, IP ranges, or + * IP subnets. + * @since v15.0.0, v14.18.0 + */ + class BlockList { + /** + * Adds a rule to block the given IP address. + * @since v15.0.0, v14.18.0 + * @param address An IPv4 or IPv6 address. + * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. + */ + addAddress(address: string, type?: IPVersion): void; + addAddress(address: SocketAddress): void; + /** + * Adds a rule to block a range of IP addresses from `start` (inclusive) to`end` (inclusive). + * @since v15.0.0, v14.18.0 + * @param start The starting IPv4 or IPv6 address in the range. + * @param end The ending IPv4 or IPv6 address in the range. + * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. + */ + addRange(start: string, end: string, type?: IPVersion): void; + addRange(start: SocketAddress, end: SocketAddress): void; + /** + * Adds a rule to block a range of IP addresses specified as a subnet mask. + * @since v15.0.0, v14.18.0 + * @param net The network IPv4 or IPv6 address. + * @param prefix The number of CIDR prefix bits. For IPv4, this must be a value between `0` and `32`. For IPv6, this must be between `0` and `128`. + * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. + */ + addSubnet(net: SocketAddress, prefix: number): void; + addSubnet(net: string, prefix: number, type?: IPVersion): void; + /** + * Returns `true` if the given IP address matches any of the rules added to the`BlockList`. + * + * ```js + * const blockList = new net.BlockList(); + * blockList.addAddress('123.123.123.123'); + * blockList.addRange('10.0.0.1', '10.0.0.10'); + * blockList.addSubnet('8592:757c:efae:4e45::', 64, 'ipv6'); + * + * console.log(blockList.check('123.123.123.123')); // Prints: true + * console.log(blockList.check('10.0.0.3')); // Prints: true + * console.log(blockList.check('222.111.111.222')); // Prints: false + * + * // IPv6 notation for IPv4 addresses works: + * console.log(blockList.check('::ffff:7b7b:7b7b', 'ipv6')); // Prints: true + * console.log(blockList.check('::ffff:123.123.123.123', 'ipv6')); // Prints: true + * ``` + * @since v15.0.0, v14.18.0 + * @param address The IP address to check + * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. + */ + check(address: SocketAddress): boolean; + check(address: string, type?: IPVersion): boolean; + } + interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts { + timeout?: number | undefined; + } + interface IpcNetConnectOpts extends IpcSocketConnectOpts, SocketConstructorOpts { + timeout?: number | undefined; + } + type NetConnectOpts = TcpNetConnectOpts | IpcNetConnectOpts; + /** + * Creates a new TCP or `IPC` server. + * + * If `allowHalfOpen` is set to `true`, when the other end of the socket + * signals the end of transmission, the server will only send back the end of + * transmission when `socket.end()` is explicitly called. For example, in the + * context of TCP, when a FIN packed is received, a FIN packed is sent + * back only when `socket.end()` is explicitly called. Until then the + * connection is half-closed (non-readable but still writable). See `'end'` event and [RFC 1122](https://tools.ietf.org/html/rfc1122) (section 4.2.2.13) for more information. + * + * If `pauseOnConnect` is set to `true`, then the socket associated with each + * incoming connection will be paused, and no data will be read from its handle. + * This allows connections to be passed between processes without any data being + * read by the original process. To begin reading data from a paused socket, call `socket.resume()`. + * + * The server can be a TCP server or an `IPC` server, depending on what it `listen()` to. + * + * Here is an example of a TCP echo server which listens for connections + * on port 8124: + * + * ```js + * const net = require('node:net'); + * const server = net.createServer((c) => { + * // 'connection' listener. + * console.log('client connected'); + * c.on('end', () => { + * console.log('client disconnected'); + * }); + * c.write('hello\r\n'); + * c.pipe(c); + * }); + * server.on('error', (err) => { + * throw err; + * }); + * server.listen(8124, () => { + * console.log('server bound'); + * }); + * ``` + * + * Test this by using `telnet`: + * + * ```bash + * telnet localhost 8124 + * ``` + * + * To listen on the socket `/tmp/echo.sock`: + * + * ```js + * server.listen('/tmp/echo.sock', () => { + * console.log('server bound'); + * }); + * ``` + * + * Use `nc` to connect to a Unix domain socket server: + * + * ```bash + * nc -U /tmp/echo.sock + * ``` + * @since v0.5.0 + * @param connectionListener Automatically set as a listener for the {@link 'connection'} event. + */ + function createServer(connectionListener?: (socket: Socket) => void): Server; + function createServer(options?: ServerOpts, connectionListener?: (socket: Socket) => void): Server; + /** + * Aliases to {@link createConnection}. + * + * Possible signatures: + * + * * {@link connect} + * * {@link connect} for `IPC` connections. + * * {@link connect} for TCP connections. + */ + function connect(options: NetConnectOpts, connectionListener?: () => void): Socket; + function connect(port: number, host?: string, connectionListener?: () => void): Socket; + function connect(path: string, connectionListener?: () => void): Socket; + /** + * A factory function, which creates a new {@link Socket}, + * immediately initiates connection with `socket.connect()`, + * then returns the `net.Socket` that starts the connection. + * + * When the connection is established, a `'connect'` event will be emitted + * on the returned socket. The last parameter `connectListener`, if supplied, + * will be added as a listener for the `'connect'` event **once**. + * + * Possible signatures: + * + * * {@link createConnection} + * * {@link createConnection} for `IPC` connections. + * * {@link createConnection} for TCP connections. + * + * The {@link connect} function is an alias to this function. + */ + function createConnection(options: NetConnectOpts, connectionListener?: () => void): Socket; + function createConnection(port: number, host?: string, connectionListener?: () => void): Socket; + function createConnection(path: string, connectionListener?: () => void): Socket; + /** + * Gets the current default value of the `autoSelectFamily` option of `socket.connect(options)`. + * The initial default value is `true`, unless the command line option`--no-network-family-autoselection` is provided. + * @since v19.4.0 + */ + function getDefaultAutoSelectFamily(): boolean; + /** + * Sets the default value of the `autoSelectFamily` option of `socket.connect(options)`. + * @since v19.4.0 + */ + function setDefaultAutoSelectFamily(value: boolean): void; + /** + * Gets the current default value of the `autoSelectFamilyAttemptTimeout` option of `socket.connect(options)`. + * The initial default value is `250`. + * @since v19.8.0 + */ + function getDefaultAutoSelectFamilyAttemptTimeout(): number; + /** + * Sets the default value of the `autoSelectFamilyAttemptTimeout` option of `socket.connect(options)`. + * @since v19.8.0 + */ + function setDefaultAutoSelectFamilyAttemptTimeout(value: number): void; + /** + * Returns `6` if `input` is an IPv6 address. Returns `4` if `input` is an IPv4 + * address in [dot-decimal notation](https://en.wikipedia.org/wiki/Dot-decimal_notation) with no leading zeroes. Otherwise, returns`0`. + * + * ```js + * net.isIP('::1'); // returns 6 + * net.isIP('127.0.0.1'); // returns 4 + * net.isIP('127.000.000.001'); // returns 0 + * net.isIP('127.0.0.1/24'); // returns 0 + * net.isIP('fhqwhgads'); // returns 0 + * ``` + * @since v0.3.0 + */ + function isIP(input: string): number; + /** + * Returns `true` if `input` is an IPv4 address in [dot-decimal notation](https://en.wikipedia.org/wiki/Dot-decimal_notation) with no + * leading zeroes. Otherwise, returns `false`. + * + * ```js + * net.isIPv4('127.0.0.1'); // returns true + * net.isIPv4('127.000.000.001'); // returns false + * net.isIPv4('127.0.0.1/24'); // returns false + * net.isIPv4('fhqwhgads'); // returns false + * ``` + * @since v0.3.0 + */ + function isIPv4(input: string): boolean; + /** + * Returns `true` if `input` is an IPv6 address. Otherwise, returns `false`. + * + * ```js + * net.isIPv6('::1'); // returns true + * net.isIPv6('fhqwhgads'); // returns false + * ``` + * @since v0.3.0 + */ + function isIPv6(input: string): boolean; + interface SocketAddressInitOptions { + /** + * The network address as either an IPv4 or IPv6 string. + * @default 127.0.0.1 + */ + address?: string | undefined; + /** + * @default `'ipv4'` + */ + family?: IPVersion | undefined; + /** + * An IPv6 flow-label used only if `family` is `'ipv6'`. + * @default 0 + */ + flowlabel?: number | undefined; + /** + * An IP port. + * @default 0 + */ + port?: number | undefined; + } + /** + * @since v15.14.0, v14.18.0 + */ + class SocketAddress { + constructor(options: SocketAddressInitOptions); + /** + * Either \`'ipv4'\` or \`'ipv6'\`. + * @since v15.14.0, v14.18.0 + */ + readonly address: string; + /** + * Either \`'ipv4'\` or \`'ipv6'\`. + * @since v15.14.0, v14.18.0 + */ + readonly family: IPVersion; + /** + * @since v15.14.0, v14.18.0 + */ + readonly port: number; + /** + * @since v15.14.0, v14.18.0 + */ + readonly flowlabel: number; + } +} +declare module "node:net" { + export * from "net"; +} diff --git a/node_modules/@types/node/os.d.ts b/node_modules/@types/node/os.d.ts new file mode 100644 index 000000000..39a33f7fd --- /dev/null +++ b/node_modules/@types/node/os.d.ts @@ -0,0 +1,478 @@ +/** + * The `node:os` module provides operating system-related utility methods and + * properties. It can be accessed using: + * + * ```js + * const os = require('node:os'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/os.js) + */ +declare module "os" { + interface CpuInfo { + model: string; + speed: number; + times: { + user: number; + nice: number; + sys: number; + idle: number; + irq: number; + }; + } + interface NetworkInterfaceBase { + address: string; + netmask: string; + mac: string; + internal: boolean; + cidr: string | null; + } + interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase { + family: "IPv4"; + scopeid?: undefined; + } + interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase { + family: "IPv6"; + scopeid: number; + } + interface UserInfo { + username: T; + uid: number; + gid: number; + shell: T | null; + homedir: T; + } + type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6; + /** + * Returns the host name of the operating system as a string. + * @since v0.3.3 + */ + function hostname(): string; + /** + * Returns an array containing the 1, 5, and 15 minute load averages. + * + * The load average is a measure of system activity calculated by the operating + * system and expressed as a fractional number. + * + * The load average is a Unix-specific concept. On Windows, the return value is + * always `[0, 0, 0]`. + * @since v0.3.3 + */ + function loadavg(): number[]; + /** + * Returns the system uptime in number of seconds. + * @since v0.3.3 + */ + function uptime(): number; + /** + * Returns the amount of free system memory in bytes as an integer. + * @since v0.3.3 + */ + function freemem(): number; + /** + * Returns the total amount of system memory in bytes as an integer. + * @since v0.3.3 + */ + function totalmem(): number; + /** + * Returns an array of objects containing information about each logical CPU core. + * The array will be empty if no CPU information is available, such as if the`/proc` file system is unavailable. + * + * The properties included on each object include: + * + * ```js + * [ + * { + * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', + * speed: 2926, + * times: { + * user: 252020, + * nice: 0, + * sys: 30340, + * idle: 1070356870, + * irq: 0, + * }, + * }, + * { + * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', + * speed: 2926, + * times: { + * user: 306960, + * nice: 0, + * sys: 26980, + * idle: 1071569080, + * irq: 0, + * }, + * }, + * { + * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', + * speed: 2926, + * times: { + * user: 248450, + * nice: 0, + * sys: 21750, + * idle: 1070919370, + * irq: 0, + * }, + * }, + * { + * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', + * speed: 2926, + * times: { + * user: 256880, + * nice: 0, + * sys: 19430, + * idle: 1070905480, + * irq: 20, + * }, + * }, + * ] + * ``` + * + * `nice` values are POSIX-only. On Windows, the `nice` values of all processors + * are always 0. + * + * `os.cpus().length` should not be used to calculate the amount of parallelism + * available to an application. Use {@link availableParallelism} for this purpose. + * @since v0.3.3 + */ + function cpus(): CpuInfo[]; + /** + * Returns an estimate of the default amount of parallelism a program should use. + * Always returns a value greater than zero. + * + * This function is a small wrapper about libuv's [`uv_available_parallelism()`](https://docs.libuv.org/en/v1.x/misc.html#c.uv_available_parallelism). + * @since v19.4.0, v18.14.0 + */ + function availableParallelism(): number; + /** + * Returns the operating system name as returned by [`uname(3)`](https://linux.die.net/man/3/uname). For example, it + * returns `'Linux'` on Linux, `'Darwin'` on macOS, and `'Windows_NT'` on Windows. + * + * See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for additional information + * about the output of running [`uname(3)`](https://linux.die.net/man/3/uname) on various operating systems. + * @since v0.3.3 + */ + function type(): string; + /** + * Returns the operating system as a string. + * + * On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `GetVersionExW()` is used. See + * [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information. + * @since v0.3.3 + */ + function release(): string; + /** + * Returns an object containing network interfaces that have been assigned a + * network address. + * + * Each key on the returned object identifies a network interface. The associated + * value is an array of objects that each describe an assigned network address. + * + * The properties available on the assigned network address object include: + * + * ```js + * { + * lo: [ + * { + * address: '127.0.0.1', + * netmask: '255.0.0.0', + * family: 'IPv4', + * mac: '00:00:00:00:00:00', + * internal: true, + * cidr: '127.0.0.1/8' + * }, + * { + * address: '::1', + * netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff', + * family: 'IPv6', + * mac: '00:00:00:00:00:00', + * scopeid: 0, + * internal: true, + * cidr: '::1/128' + * } + * ], + * eth0: [ + * { + * address: '192.168.1.108', + * netmask: '255.255.255.0', + * family: 'IPv4', + * mac: '01:02:03:0a:0b:0c', + * internal: false, + * cidr: '192.168.1.108/24' + * }, + * { + * address: 'fe80::a00:27ff:fe4e:66a1', + * netmask: 'ffff:ffff:ffff:ffff::', + * family: 'IPv6', + * mac: '01:02:03:0a:0b:0c', + * scopeid: 1, + * internal: false, + * cidr: 'fe80::a00:27ff:fe4e:66a1/64' + * } + * ] + * } + * ``` + * @since v0.6.0 + */ + function networkInterfaces(): NodeJS.Dict; + /** + * Returns the string path of the current user's home directory. + * + * On POSIX, it uses the `$HOME` environment variable if defined. Otherwise it + * uses the [effective UID](https://en.wikipedia.org/wiki/User_identifier#Effective_user_ID) to look up the user's home directory. + * + * On Windows, it uses the `USERPROFILE` environment variable if defined. + * Otherwise it uses the path to the profile directory of the current user. + * @since v2.3.0 + */ + function homedir(): string; + /** + * Returns information about the currently effective user. On POSIX platforms, + * this is typically a subset of the password file. The returned object includes + * the `username`, `uid`, `gid`, `shell`, and `homedir`. On Windows, the `uid` and`gid` fields are `-1`, and `shell` is `null`. + * + * The value of `homedir` returned by `os.userInfo()` is provided by the operating + * system. This differs from the result of `os.homedir()`, which queries + * environment variables for the home directory before falling back to the + * operating system response. + * + * Throws a `SystemError` if a user has no `username` or `homedir`. + * @since v6.0.0 + */ + function userInfo(options: { encoding: "buffer" }): UserInfo; + function userInfo(options?: { encoding: BufferEncoding }): UserInfo; + type SignalConstants = { + [key in NodeJS.Signals]: number; + }; + namespace constants { + const UV_UDP_REUSEADDR: number; + namespace signals {} + const signals: SignalConstants; + namespace errno { + const E2BIG: number; + const EACCES: number; + const EADDRINUSE: number; + const EADDRNOTAVAIL: number; + const EAFNOSUPPORT: number; + const EAGAIN: number; + const EALREADY: number; + const EBADF: number; + const EBADMSG: number; + const EBUSY: number; + const ECANCELED: number; + const ECHILD: number; + const ECONNABORTED: number; + const ECONNREFUSED: number; + const ECONNRESET: number; + const EDEADLK: number; + const EDESTADDRREQ: number; + const EDOM: number; + const EDQUOT: number; + const EEXIST: number; + const EFAULT: number; + const EFBIG: number; + const EHOSTUNREACH: number; + const EIDRM: number; + const EILSEQ: number; + const EINPROGRESS: number; + const EINTR: number; + const EINVAL: number; + const EIO: number; + const EISCONN: number; + const EISDIR: number; + const ELOOP: number; + const EMFILE: number; + const EMLINK: number; + const EMSGSIZE: number; + const EMULTIHOP: number; + const ENAMETOOLONG: number; + const ENETDOWN: number; + const ENETRESET: number; + const ENETUNREACH: number; + const ENFILE: number; + const ENOBUFS: number; + const ENODATA: number; + const ENODEV: number; + const ENOENT: number; + const ENOEXEC: number; + const ENOLCK: number; + const ENOLINK: number; + const ENOMEM: number; + const ENOMSG: number; + const ENOPROTOOPT: number; + const ENOSPC: number; + const ENOSR: number; + const ENOSTR: number; + const ENOSYS: number; + const ENOTCONN: number; + const ENOTDIR: number; + const ENOTEMPTY: number; + const ENOTSOCK: number; + const ENOTSUP: number; + const ENOTTY: number; + const ENXIO: number; + const EOPNOTSUPP: number; + const EOVERFLOW: number; + const EPERM: number; + const EPIPE: number; + const EPROTO: number; + const EPROTONOSUPPORT: number; + const EPROTOTYPE: number; + const ERANGE: number; + const EROFS: number; + const ESPIPE: number; + const ESRCH: number; + const ESTALE: number; + const ETIME: number; + const ETIMEDOUT: number; + const ETXTBSY: number; + const EWOULDBLOCK: number; + const EXDEV: number; + const WSAEINTR: number; + const WSAEBADF: number; + const WSAEACCES: number; + const WSAEFAULT: number; + const WSAEINVAL: number; + const WSAEMFILE: number; + const WSAEWOULDBLOCK: number; + const WSAEINPROGRESS: number; + const WSAEALREADY: number; + const WSAENOTSOCK: number; + const WSAEDESTADDRREQ: number; + const WSAEMSGSIZE: number; + const WSAEPROTOTYPE: number; + const WSAENOPROTOOPT: number; + const WSAEPROTONOSUPPORT: number; + const WSAESOCKTNOSUPPORT: number; + const WSAEOPNOTSUPP: number; + const WSAEPFNOSUPPORT: number; + const WSAEAFNOSUPPORT: number; + const WSAEADDRINUSE: number; + const WSAEADDRNOTAVAIL: number; + const WSAENETDOWN: number; + const WSAENETUNREACH: number; + const WSAENETRESET: number; + const WSAECONNABORTED: number; + const WSAECONNRESET: number; + const WSAENOBUFS: number; + const WSAEISCONN: number; + const WSAENOTCONN: number; + const WSAESHUTDOWN: number; + const WSAETOOMANYREFS: number; + const WSAETIMEDOUT: number; + const WSAECONNREFUSED: number; + const WSAELOOP: number; + const WSAENAMETOOLONG: number; + const WSAEHOSTDOWN: number; + const WSAEHOSTUNREACH: number; + const WSAENOTEMPTY: number; + const WSAEPROCLIM: number; + const WSAEUSERS: number; + const WSAEDQUOT: number; + const WSAESTALE: number; + const WSAEREMOTE: number; + const WSASYSNOTREADY: number; + const WSAVERNOTSUPPORTED: number; + const WSANOTINITIALISED: number; + const WSAEDISCON: number; + const WSAENOMORE: number; + const WSAECANCELLED: number; + const WSAEINVALIDPROCTABLE: number; + const WSAEINVALIDPROVIDER: number; + const WSAEPROVIDERFAILEDINIT: number; + const WSASYSCALLFAILURE: number; + const WSASERVICE_NOT_FOUND: number; + const WSATYPE_NOT_FOUND: number; + const WSA_E_NO_MORE: number; + const WSA_E_CANCELLED: number; + const WSAEREFUSED: number; + } + namespace priority { + const PRIORITY_LOW: number; + const PRIORITY_BELOW_NORMAL: number; + const PRIORITY_NORMAL: number; + const PRIORITY_ABOVE_NORMAL: number; + const PRIORITY_HIGH: number; + const PRIORITY_HIGHEST: number; + } + } + const devNull: string; + const EOL: string; + /** + * Returns the operating system CPU architecture for which the Node.js binary was + * compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`,`'mips'`, `'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, + * and `'x64'`. + * + * The return value is equivalent to `process.arch`. + * @since v0.5.0 + */ + function arch(): string; + /** + * Returns a string identifying the kernel version. + * + * On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not + * available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information. + * @since v13.11.0, v12.17.0 + */ + function version(): string; + /** + * Returns a string identifying the operating system platform for which + * the Node.js binary was compiled. The value is set at compile time. + * Possible values are `'aix'`, `'darwin'`, `'freebsd'`,`'linux'`,`'openbsd'`, `'sunos'`, and `'win32'`. + * + * The return value is equivalent to `process.platform`. + * + * The value `'android'` may also be returned if Node.js is built on the Android + * operating system. [Android support is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os). + * @since v0.5.0 + */ + function platform(): NodeJS.Platform; + /** + * Returns the machine type as a string, such as `arm`, `arm64`, `aarch64`,`mips`, `mips64`, `ppc64`, `ppc64le`, `s390`, `s390x`, `i386`, `i686`, `x86_64`. + * + * On POSIX systems, the machine type is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not + * available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information. + * @since v18.9.0, v16.18.0 + */ + function machine(): string; + /** + * Returns the operating system's default directory for temporary files as a + * string. + * @since v0.9.9 + */ + function tmpdir(): string; + /** + * Returns a string identifying the endianness of the CPU for which the Node.js + * binary was compiled. + * + * Possible values are `'BE'` for big endian and `'LE'` for little endian. + * @since v0.9.4 + */ + function endianness(): "BE" | "LE"; + /** + * Returns the scheduling priority for the process specified by `pid`. If `pid` is + * not provided or is `0`, the priority of the current process is returned. + * @since v10.10.0 + * @param [pid=0] The process ID to retrieve scheduling priority for. + */ + function getPriority(pid?: number): number; + /** + * Attempts to set the scheduling priority for the process specified by `pid`. If`pid` is not provided or is `0`, the process ID of the current process is used. + * + * The `priority` input must be an integer between `-20` (high priority) and `19`(low priority). Due to differences between Unix priority levels and Windows + * priority classes, `priority` is mapped to one of six priority constants in`os.constants.priority`. When retrieving a process priority level, this range + * mapping may cause the return value to be slightly different on Windows. To avoid + * confusion, set `priority` to one of the priority constants. + * + * On Windows, setting priority to `PRIORITY_HIGHEST` requires elevated user + * privileges. Otherwise the set priority will be silently reduced to`PRIORITY_HIGH`. + * @since v10.10.0 + * @param [pid=0] The process ID to set scheduling priority for. + * @param priority The scheduling priority to assign to the process. + */ + function setPriority(priority: number): void; + function setPriority(pid: number, priority: number): void; +} +declare module "node:os" { + export * from "os"; +} diff --git a/node_modules/@types/node/package.json b/node_modules/@types/node/package.json new file mode 100644 index 000000000..95ee74e64 --- /dev/null +++ b/node_modules/@types/node/package.json @@ -0,0 +1,230 @@ +{ + "name": "@types/node", + "version": "20.10.6", + "description": "TypeScript definitions for node", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", + "license": "MIT", + "contributors": [ + { + "name": "Microsoft TypeScript", + "githubUsername": "Microsoft", + "url": "https://github.com/Microsoft" + }, + { + "name": "Alberto Schiabel", + "githubUsername": "jkomyno", + "url": "https://github.com/jkomyno" + }, + { + "name": "Alvis HT Tang", + "githubUsername": "alvis", + "url": "https://github.com/alvis" + }, + { + "name": "Andrew Makarov", + "githubUsername": "r3nya", + "url": "https://github.com/r3nya" + }, + { + "name": "Benjamin Toueg", + "githubUsername": "btoueg", + "url": "https://github.com/btoueg" + }, + { + "name": "Chigozirim C.", + "githubUsername": "smac89", + "url": "https://github.com/smac89" + }, + { + "name": "David Junger", + "githubUsername": "touffy", + "url": "https://github.com/touffy" + }, + { + "name": "Deividas Bakanas", + "githubUsername": "DeividasBakanas", + "url": "https://github.com/DeividasBakanas" + }, + { + "name": "Eugene Y. Q. Shen", + "githubUsername": "eyqs", + "url": "https://github.com/eyqs" + }, + { + "name": "Hannes Magnusson", + "githubUsername": "Hannes-Magnusson-CK", + "url": "https://github.com/Hannes-Magnusson-CK" + }, + { + "name": "Huw", + "githubUsername": "hoo29", + "url": "https://github.com/hoo29" + }, + { + "name": "Kelvin Jin", + "githubUsername": "kjin", + "url": "https://github.com/kjin" + }, + { + "name": "Klaus Meinhardt", + "githubUsername": "ajafff", + "url": "https://github.com/ajafff" + }, + { + "name": "Lishude", + "githubUsername": "islishude", + "url": "https://github.com/islishude" + }, + { + "name": "Mariusz Wiktorczyk", + "githubUsername": "mwiktorczyk", + "url": "https://github.com/mwiktorczyk" + }, + { + "name": "Mohsen Azimi", + "githubUsername": "mohsen1", + "url": "https://github.com/mohsen1" + }, + { + "name": "Nicolas Even", + "githubUsername": "n-e", + "url": "https://github.com/n-e" + }, + { + "name": "Nikita Galkin", + "githubUsername": "galkin", + "url": "https://github.com/galkin" + }, + { + "name": "Parambir Singh", + "githubUsername": "parambirs", + "url": "https://github.com/parambirs" + }, + { + "name": "Sebastian Silbermann", + "githubUsername": "eps1lon", + "url": "https://github.com/eps1lon" + }, + { + "name": "Thomas den Hollander", + "githubUsername": "ThomasdenH", + "url": "https://github.com/ThomasdenH" + }, + { + "name": "Wilco Bakker", + "githubUsername": "WilcoBakker", + "url": "https://github.com/WilcoBakker" + }, + { + "name": "wwwy3y3", + "githubUsername": "wwwy3y3", + "url": "https://github.com/wwwy3y3" + }, + { + "name": "Samuel Ainsworth", + "githubUsername": "samuela", + "url": "https://github.com/samuela" + }, + { + "name": "Kyle Uehlein", + "githubUsername": "kuehlein", + "url": "https://github.com/kuehlein" + }, + { + "name": "Thanik Bhongbhibhat", + "githubUsername": "bhongy", + "url": "https://github.com/bhongy" + }, + { + "name": "Marcin Kopacz", + "githubUsername": "chyzwar", + "url": "https://github.com/chyzwar" + }, + { + "name": "Trivikram Kamat", + "githubUsername": "trivikr", + "url": "https://github.com/trivikr" + }, + { + "name": "Junxiao Shi", + "githubUsername": "yoursunny", + "url": "https://github.com/yoursunny" + }, + { + "name": "Ilia Baryshnikov", + "githubUsername": "qwelias", + "url": "https://github.com/qwelias" + }, + { + "name": "ExE Boss", + "githubUsername": "ExE-Boss", + "url": "https://github.com/ExE-Boss" + }, + { + "name": "Piotr Błażejewicz", + "githubUsername": "peterblazejewicz", + "url": "https://github.com/peterblazejewicz" + }, + { + "name": "Anna Henningsen", + "githubUsername": "addaleax", + "url": "https://github.com/addaleax" + }, + { + "name": "Victor Perin", + "githubUsername": "victorperin", + "url": "https://github.com/victorperin" + }, + { + "name": "Yongsheng Zhang", + "githubUsername": "ZYSzys", + "url": "https://github.com/ZYSzys" + }, + { + "name": "NodeJS Contributors", + "githubUsername": "NodeJS", + "url": "https://github.com/NodeJS" + }, + { + "name": "Linus Unnebäck", + "githubUsername": "LinusU", + "url": "https://github.com/LinusU" + }, + { + "name": "wafuwafu13", + "githubUsername": "wafuwafu13", + "url": "https://github.com/wafuwafu13" + }, + { + "name": "Matteo Collina", + "githubUsername": "mcollina", + "url": "https://github.com/mcollina" + }, + { + "name": "Dmitry Semigradsky", + "githubUsername": "Semigradsky", + "url": "https://github.com/Semigradsky" + } + ], + "main": "", + "types": "index.d.ts", + "typesVersions": { + "<=4.8": { + "*": [ + "ts4.8/*" + ] + } + }, + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/node" + }, + "scripts": {}, + "dependencies": { + "undici-types": "~5.26.4" + }, + "typesPublisherContentHash": "edd38cd583269d6ceac07b7b194e2371ed03d1b0eb7a4eda73af46445920fcec", + "typeScriptVersion": "4.6", + "nonNpm": true +} \ No newline at end of file diff --git a/node_modules/@types/node/path.d.ts b/node_modules/@types/node/path.d.ts new file mode 100644 index 000000000..6f07681ac --- /dev/null +++ b/node_modules/@types/node/path.d.ts @@ -0,0 +1,191 @@ +declare module "path/posix" { + import path = require("path"); + export = path; +} +declare module "path/win32" { + import path = require("path"); + export = path; +} +/** + * The `node:path` module provides utilities for working with file and directory + * paths. It can be accessed using: + * + * ```js + * const path = require('node:path'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/path.js) + */ +declare module "path" { + namespace path { + /** + * A parsed path object generated by path.parse() or consumed by path.format(). + */ + interface ParsedPath { + /** + * The root of the path such as '/' or 'c:\' + */ + root: string; + /** + * The full directory path such as '/home/user/dir' or 'c:\path\dir' + */ + dir: string; + /** + * The file name including extension (if any) such as 'index.html' + */ + base: string; + /** + * The file extension (if any) such as '.html' + */ + ext: string; + /** + * The file name without extension (if any) such as 'index' + */ + name: string; + } + interface FormatInputPathObject { + /** + * The root of the path such as '/' or 'c:\' + */ + root?: string | undefined; + /** + * The full directory path such as '/home/user/dir' or 'c:\path\dir' + */ + dir?: string | undefined; + /** + * The file name including extension (if any) such as 'index.html' + */ + base?: string | undefined; + /** + * The file extension (if any) such as '.html' + */ + ext?: string | undefined; + /** + * The file name without extension (if any) such as 'index' + */ + name?: string | undefined; + } + interface PlatformPath { + /** + * Normalize a string path, reducing '..' and '.' parts. + * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. + * + * @param path string path to normalize. + * @throws {TypeError} if `path` is not a string. + */ + normalize(path: string): string; + /** + * Join all arguments together and normalize the resulting path. + * + * @param paths paths to join. + * @throws {TypeError} if any of the path segments is not a string. + */ + join(...paths: string[]): string; + /** + * The right-most parameter is considered {to}. Other parameters are considered an array of {from}. + * + * Starting from leftmost {from} parameter, resolves {to} to an absolute path. + * + * If {to} isn't already absolute, {from} arguments are prepended in right to left order, + * until an absolute path is found. If after using all {from} paths still no absolute path is found, + * the current working directory is used as well. The resulting path is normalized, + * and trailing slashes are removed unless the path gets resolved to the root directory. + * + * @param paths A sequence of paths or path segments. + * @throws {TypeError} if any of the arguments is not a string. + */ + resolve(...paths: string[]): string; + /** + * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory. + * + * If the given {path} is a zero-length string, `false` will be returned. + * + * @param path path to test. + * @throws {TypeError} if `path` is not a string. + */ + isAbsolute(path: string): boolean; + /** + * Solve the relative path from {from} to {to} based on the current working directory. + * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve. + * + * @throws {TypeError} if either `from` or `to` is not a string. + */ + relative(from: string, to: string): string; + /** + * Return the directory name of a path. Similar to the Unix dirname command. + * + * @param path the path to evaluate. + * @throws {TypeError} if `path` is not a string. + */ + dirname(path: string): string; + /** + * Return the last portion of a path. Similar to the Unix basename command. + * Often used to extract the file name from a fully qualified path. + * + * @param path the path to evaluate. + * @param suffix optionally, an extension to remove from the result. + * @throws {TypeError} if `path` is not a string or if `ext` is given and is not a string. + */ + basename(path: string, suffix?: string): string; + /** + * Return the extension of the path, from the last '.' to end of string in the last portion of the path. + * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string. + * + * @param path the path to evaluate. + * @throws {TypeError} if `path` is not a string. + */ + extname(path: string): string; + /** + * The platform-specific file separator. '\\' or '/'. + */ + readonly sep: "\\" | "/"; + /** + * The platform-specific file delimiter. ';' or ':'. + */ + readonly delimiter: ";" | ":"; + /** + * Returns an object from a path string - the opposite of format(). + * + * @param path path to evaluate. + * @throws {TypeError} if `path` is not a string. + */ + parse(path: string): ParsedPath; + /** + * Returns a path string from an object - the opposite of parse(). + * + * @param pathObject path to evaluate. + */ + format(pathObject: FormatInputPathObject): string; + /** + * On Windows systems only, returns an equivalent namespace-prefixed path for the given path. + * If path is not a string, path will be returned without modifications. + * This method is meaningful only on Windows system. + * On POSIX systems, the method is non-operational and always returns path without modifications. + */ + toNamespacedPath(path: string): string; + /** + * Posix specific pathing. + * Same as parent object on posix. + */ + readonly posix: PlatformPath; + /** + * Windows specific pathing. + * Same as parent object on windows + */ + readonly win32: PlatformPath; + } + } + const path: path.PlatformPath; + export = path; +} +declare module "node:path" { + import path = require("path"); + export = path; +} +declare module "node:path/posix" { + import path = require("path/posix"); + export = path; +} +declare module "node:path/win32" { + import path = require("path/win32"); + export = path; +} diff --git a/node_modules/@types/node/perf_hooks.d.ts b/node_modules/@types/node/perf_hooks.d.ts new file mode 100644 index 000000000..b369bb694 --- /dev/null +++ b/node_modules/@types/node/perf_hooks.d.ts @@ -0,0 +1,639 @@ +/** + * This module provides an implementation of a subset of the W3C [Web Performance APIs](https://w3c.github.io/perf-timing-primer/) as well as additional APIs for + * Node.js-specific performance measurements. + * + * Node.js supports the following [Web Performance APIs](https://w3c.github.io/perf-timing-primer/): + * + * * [High Resolution Time](https://www.w3.org/TR/hr-time-2) + * * [Performance Timeline](https://w3c.github.io/performance-timeline/) + * * [User Timing](https://www.w3.org/TR/user-timing/) + * * [Resource Timing](https://www.w3.org/TR/resource-timing-2/) + * + * ```js + * const { PerformanceObserver, performance } = require('node:perf_hooks'); + * + * const obs = new PerformanceObserver((items) => { + * console.log(items.getEntries()[0].duration); + * performance.clearMarks(); + * }); + * obs.observe({ type: 'measure' }); + * performance.measure('Start to Now'); + * + * performance.mark('A'); + * doSomeLongRunningProcess(() => { + * performance.measure('A to Now', 'A'); + * + * performance.mark('B'); + * performance.measure('A to B', 'A', 'B'); + * }); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/perf_hooks.js) + */ +declare module "perf_hooks" { + import { AsyncResource } from "node:async_hooks"; + type EntryType = "node" | "mark" | "measure" | "gc" | "function" | "http2" | "http" | "dns" | "net"; + interface NodeGCPerformanceDetail { + /** + * When `performanceEntry.entryType` is equal to 'gc', `the performance.kind` property identifies + * the type of garbage collection operation that occurred. + * See perf_hooks.constants for valid values. + */ + readonly kind?: number | undefined; + /** + * When `performanceEntry.entryType` is equal to 'gc', the `performance.flags` + * property contains additional information about garbage collection operation. + * See perf_hooks.constants for valid values. + */ + readonly flags?: number | undefined; + } + /** + * The constructor of this class is not exposed to users directly. + * @since v8.5.0 + */ + class PerformanceEntry { + protected constructor(); + /** + * The total number of milliseconds elapsed for this entry. This value will not + * be meaningful for all Performance Entry types. + * @since v8.5.0 + */ + readonly duration: number; + /** + * The name of the performance entry. + * @since v8.5.0 + */ + readonly name: string; + /** + * The high resolution millisecond timestamp marking the starting time of the + * Performance Entry. + * @since v8.5.0 + */ + readonly startTime: number; + /** + * The type of the performance entry. It may be one of: + * + * * `'node'` (Node.js only) + * * `'mark'` (available on the Web) + * * `'measure'` (available on the Web) + * * `'gc'` (Node.js only) + * * `'function'` (Node.js only) + * * `'http2'` (Node.js only) + * * `'http'` (Node.js only) + * @since v8.5.0 + */ + readonly entryType: EntryType; + /** + * Additional detail specific to the `entryType`. + * @since v16.0.0 + */ + readonly detail?: NodeGCPerformanceDetail | unknown | undefined; // TODO: Narrow this based on entry type. + toJSON(): any; + } + /** + * Exposes marks created via the `Performance.mark()` method. + * @since v18.2.0, v16.17.0 + */ + class PerformanceMark extends PerformanceEntry { + readonly duration: 0; + readonly entryType: "mark"; + } + /** + * Exposes measures created via the `Performance.measure()` method. + * + * The constructor of this class is not exposed to users directly. + * @since v18.2.0, v16.17.0 + */ + class PerformanceMeasure extends PerformanceEntry { + readonly entryType: "measure"; + } + /** + * _This property is an extension by Node.js. It is not available in Web browsers._ + * + * Provides timing details for Node.js itself. The constructor of this class + * is not exposed to users. + * @since v8.5.0 + */ + class PerformanceNodeTiming extends PerformanceEntry { + /** + * The high resolution millisecond timestamp at which the Node.js process + * completed bootstrapping. If bootstrapping has not yet finished, the property + * has the value of -1. + * @since v8.5.0 + */ + readonly bootstrapComplete: number; + /** + * The high resolution millisecond timestamp at which the Node.js environment was + * initialized. + * @since v8.5.0 + */ + readonly environment: number; + /** + * The high resolution millisecond timestamp of the amount of time the event loop + * has been idle within the event loop's event provider (e.g. `epoll_wait`). This + * does not take CPU usage into consideration. If the event loop has not yet + * started (e.g., in the first tick of the main script), the property has the + * value of 0. + * @since v14.10.0, v12.19.0 + */ + readonly idleTime: number; + /** + * The high resolution millisecond timestamp at which the Node.js event loop + * exited. If the event loop has not yet exited, the property has the value of -1\. + * It can only have a value of not -1 in a handler of the `'exit'` event. + * @since v8.5.0 + */ + readonly loopExit: number; + /** + * The high resolution millisecond timestamp at which the Node.js event loop + * started. If the event loop has not yet started (e.g., in the first tick of the + * main script), the property has the value of -1. + * @since v8.5.0 + */ + readonly loopStart: number; + /** + * The high resolution millisecond timestamp at which the V8 platform was + * initialized. + * @since v8.5.0 + */ + readonly v8Start: number; + } + interface EventLoopUtilization { + idle: number; + active: number; + utilization: number; + } + /** + * @param util1 The result of a previous call to eventLoopUtilization() + * @param util2 The result of a previous call to eventLoopUtilization() prior to util1 + */ + type EventLoopUtilityFunction = ( + util1?: EventLoopUtilization, + util2?: EventLoopUtilization, + ) => EventLoopUtilization; + interface MarkOptions { + /** + * Additional optional detail to include with the mark. + */ + detail?: unknown | undefined; + /** + * An optional timestamp to be used as the mark time. + * @default `performance.now()`. + */ + startTime?: number | undefined; + } + interface MeasureOptions { + /** + * Additional optional detail to include with the mark. + */ + detail?: unknown | undefined; + /** + * Duration between start and end times. + */ + duration?: number | undefined; + /** + * Timestamp to be used as the end time, or a string identifying a previously recorded mark. + */ + end?: number | string | undefined; + /** + * Timestamp to be used as the start time, or a string identifying a previously recorded mark. + */ + start?: number | string | undefined; + } + interface TimerifyOptions { + /** + * A histogram object created using + * `perf_hooks.createHistogram()` that will record runtime durations in + * nanoseconds. + */ + histogram?: RecordableHistogram | undefined; + } + interface Performance { + /** + * If name is not provided, removes all PerformanceMark objects from the Performance Timeline. + * If name is provided, removes only the named mark. + * @param name + */ + clearMarks(name?: string): void; + /** + * If name is not provided, removes all PerformanceMeasure objects from the Performance Timeline. + * If name is provided, removes only the named measure. + * @param name + * @since v16.7.0 + */ + clearMeasures(name?: string): void; + /** + * Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime`. + * If you are only interested in performance entries of certain types or that have certain names, see + * `performance.getEntriesByType()` and `performance.getEntriesByName()`. + * @since v16.7.0 + */ + getEntries(): PerformanceEntry[]; + /** + * Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime` + * whose `performanceEntry.name` is equal to `name`, and optionally, whose `performanceEntry.entryType` is equal to `type`. + * @param name + * @param type + * @since v16.7.0 + */ + getEntriesByName(name: string, type?: EntryType): PerformanceEntry[]; + /** + * Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime` + * whose `performanceEntry.entryType` is equal to `type`. + * @param type + * @since v16.7.0 + */ + getEntriesByType(type: EntryType): PerformanceEntry[]; + /** + * Creates a new PerformanceMark entry in the Performance Timeline. + * A PerformanceMark is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'mark', + * and whose performanceEntry.duration is always 0. + * Performance marks are used to mark specific significant moments in the Performance Timeline. + * @param name + * @return The PerformanceMark entry that was created + */ + mark(name?: string, options?: MarkOptions): PerformanceMark; + /** + * Creates a new PerformanceMeasure entry in the Performance Timeline. + * A PerformanceMeasure is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'measure', + * and whose performanceEntry.duration measures the number of milliseconds elapsed since startMark and endMark. + * + * The startMark argument may identify any existing PerformanceMark in the the Performance Timeline, or may identify + * any of the timestamp properties provided by the PerformanceNodeTiming class. If the named startMark does not exist, + * then startMark is set to timeOrigin by default. + * + * The endMark argument must identify any existing PerformanceMark in the the Performance Timeline or any of the timestamp + * properties provided by the PerformanceNodeTiming class. If the named endMark does not exist, an error will be thrown. + * @param name + * @param startMark + * @param endMark + * @return The PerformanceMeasure entry that was created + */ + measure(name: string, startMark?: string, endMark?: string): PerformanceMeasure; + measure(name: string, options: MeasureOptions): PerformanceMeasure; + /** + * An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones. + */ + readonly nodeTiming: PerformanceNodeTiming; + /** + * @return the current high resolution millisecond timestamp + */ + now(): number; + /** + * The timeOrigin specifies the high resolution millisecond timestamp from which all performance metric durations are measured. + */ + readonly timeOrigin: number; + /** + * Wraps a function within a new function that measures the running time of the wrapped function. + * A PerformanceObserver must be subscribed to the 'function' event type in order for the timing details to be accessed. + * @param fn + */ + timerify any>(fn: T, options?: TimerifyOptions): T; + /** + * eventLoopUtilization is similar to CPU utilization except that it is calculated using high precision wall-clock time. + * It represents the percentage of time the event loop has spent outside the event loop's event provider (e.g. epoll_wait). + * No other CPU idle time is taken into consideration. + */ + eventLoopUtilization: EventLoopUtilityFunction; + } + interface PerformanceObserverEntryList { + /** + * Returns a list of `PerformanceEntry` objects in chronological order + * with respect to `performanceEntry.startTime`. + * + * ```js + * const { + * performance, + * PerformanceObserver, + * } = require('node:perf_hooks'); + * + * const obs = new PerformanceObserver((perfObserverList, observer) => { + * console.log(perfObserverList.getEntries()); + * + * * [ + * * PerformanceEntry { + * * name: 'test', + * * entryType: 'mark', + * * startTime: 81.465639, + * * duration: 0 + * * }, + * * PerformanceEntry { + * * name: 'meow', + * * entryType: 'mark', + * * startTime: 81.860064, + * * duration: 0 + * * } + * * ] + * + * performance.clearMarks(); + * performance.clearMeasures(); + * observer.disconnect(); + * }); + * obs.observe({ type: 'mark' }); + * + * performance.mark('test'); + * performance.mark('meow'); + * ``` + * @since v8.5.0 + */ + getEntries(): PerformanceEntry[]; + /** + * Returns a list of `PerformanceEntry` objects in chronological order + * with respect to `performanceEntry.startTime` whose `performanceEntry.name` is + * equal to `name`, and optionally, whose `performanceEntry.entryType` is equal to`type`. + * + * ```js + * const { + * performance, + * PerformanceObserver, + * } = require('node:perf_hooks'); + * + * const obs = new PerformanceObserver((perfObserverList, observer) => { + * console.log(perfObserverList.getEntriesByName('meow')); + * + * * [ + * * PerformanceEntry { + * * name: 'meow', + * * entryType: 'mark', + * * startTime: 98.545991, + * * duration: 0 + * * } + * * ] + * + * console.log(perfObserverList.getEntriesByName('nope')); // [] + * + * console.log(perfObserverList.getEntriesByName('test', 'mark')); + * + * * [ + * * PerformanceEntry { + * * name: 'test', + * * entryType: 'mark', + * * startTime: 63.518931, + * * duration: 0 + * * } + * * ] + * + * console.log(perfObserverList.getEntriesByName('test', 'measure')); // [] + * + * performance.clearMarks(); + * performance.clearMeasures(); + * observer.disconnect(); + * }); + * obs.observe({ entryTypes: ['mark', 'measure'] }); + * + * performance.mark('test'); + * performance.mark('meow'); + * ``` + * @since v8.5.0 + */ + getEntriesByName(name: string, type?: EntryType): PerformanceEntry[]; + /** + * Returns a list of `PerformanceEntry` objects in chronological order + * with respect to `performanceEntry.startTime` whose `performanceEntry.entryType`is equal to `type`. + * + * ```js + * const { + * performance, + * PerformanceObserver, + * } = require('node:perf_hooks'); + * + * const obs = new PerformanceObserver((perfObserverList, observer) => { + * console.log(perfObserverList.getEntriesByType('mark')); + * + * * [ + * * PerformanceEntry { + * * name: 'test', + * * entryType: 'mark', + * * startTime: 55.897834, + * * duration: 0 + * * }, + * * PerformanceEntry { + * * name: 'meow', + * * entryType: 'mark', + * * startTime: 56.350146, + * * duration: 0 + * * } + * * ] + * + * performance.clearMarks(); + * performance.clearMeasures(); + * observer.disconnect(); + * }); + * obs.observe({ type: 'mark' }); + * + * performance.mark('test'); + * performance.mark('meow'); + * ``` + * @since v8.5.0 + */ + getEntriesByType(type: EntryType): PerformanceEntry[]; + } + type PerformanceObserverCallback = (list: PerformanceObserverEntryList, observer: PerformanceObserver) => void; + /** + * @since v8.5.0 + */ + class PerformanceObserver extends AsyncResource { + constructor(callback: PerformanceObserverCallback); + /** + * Disconnects the `PerformanceObserver` instance from all notifications. + * @since v8.5.0 + */ + disconnect(): void; + /** + * Subscribes the `PerformanceObserver` instance to notifications of new `PerformanceEntry` instances identified either by `options.entryTypes`or `options.type`: + * + * ```js + * const { + * performance, + * PerformanceObserver, + * } = require('node:perf_hooks'); + * + * const obs = new PerformanceObserver((list, observer) => { + * // Called once asynchronously. `list` contains three items. + * }); + * obs.observe({ type: 'mark' }); + * + * for (let n = 0; n < 3; n++) + * performance.mark(`test${n}`); + * ``` + * @since v8.5.0 + */ + observe( + options: + | { + entryTypes: readonly EntryType[]; + buffered?: boolean | undefined; + } + | { + type: EntryType; + buffered?: boolean | undefined; + }, + ): void; + } + namespace constants { + const NODE_PERFORMANCE_GC_MAJOR: number; + const NODE_PERFORMANCE_GC_MINOR: number; + const NODE_PERFORMANCE_GC_INCREMENTAL: number; + const NODE_PERFORMANCE_GC_WEAKCB: number; + const NODE_PERFORMANCE_GC_FLAGS_NO: number; + const NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED: number; + const NODE_PERFORMANCE_GC_FLAGS_FORCED: number; + const NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING: number; + const NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE: number; + const NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY: number; + const NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE: number; + } + const performance: Performance; + interface EventLoopMonitorOptions { + /** + * The sampling rate in milliseconds. + * Must be greater than zero. + * @default 10 + */ + resolution?: number | undefined; + } + interface Histogram { + /** + * Returns a `Map` object detailing the accumulated percentile distribution. + * @since v11.10.0 + */ + readonly percentiles: Map; + /** + * The number of times the event loop delay exceeded the maximum 1 hour event + * loop delay threshold. + * @since v11.10.0 + */ + readonly exceeds: number; + /** + * The minimum recorded event loop delay. + * @since v11.10.0 + */ + readonly min: number; + /** + * The maximum recorded event loop delay. + * @since v11.10.0 + */ + readonly max: number; + /** + * The mean of the recorded event loop delays. + * @since v11.10.0 + */ + readonly mean: number; + /** + * The standard deviation of the recorded event loop delays. + * @since v11.10.0 + */ + readonly stddev: number; + /** + * Resets the collected histogram data. + * @since v11.10.0 + */ + reset(): void; + /** + * Returns the value at the given percentile. + * @since v11.10.0 + * @param percentile A percentile value in the range (0, 100]. + */ + percentile(percentile: number): number; + } + interface IntervalHistogram extends Histogram { + /** + * Enables the update interval timer. Returns `true` if the timer was + * started, `false` if it was already started. + * @since v11.10.0 + */ + enable(): boolean; + /** + * Disables the update interval timer. Returns `true` if the timer was + * stopped, `false` if it was already stopped. + * @since v11.10.0 + */ + disable(): boolean; + } + interface RecordableHistogram extends Histogram { + /** + * @since v15.9.0, v14.18.0 + * @param val The amount to record in the histogram. + */ + record(val: number | bigint): void; + /** + * Calculates the amount of time (in nanoseconds) that has passed since the + * previous call to `recordDelta()` and records that amount in the histogram. + * + * ## Examples + * @since v15.9.0, v14.18.0 + */ + recordDelta(): void; + /** + * Adds the values from `other` to this histogram. + * @since v17.4.0, v16.14.0 + */ + add(other: RecordableHistogram): void; + } + /** + * _This property is an extension by Node.js. It is not available in Web browsers._ + * + * Creates an `IntervalHistogram` object that samples and reports the event loop + * delay over time. The delays will be reported in nanoseconds. + * + * Using a timer to detect approximate event loop delay works because the + * execution of timers is tied specifically to the lifecycle of the libuv + * event loop. That is, a delay in the loop will cause a delay in the execution + * of the timer, and those delays are specifically what this API is intended to + * detect. + * + * ```js + * const { monitorEventLoopDelay } = require('node:perf_hooks'); + * const h = monitorEventLoopDelay({ resolution: 20 }); + * h.enable(); + * // Do something. + * h.disable(); + * console.log(h.min); + * console.log(h.max); + * console.log(h.mean); + * console.log(h.stddev); + * console.log(h.percentiles); + * console.log(h.percentile(50)); + * console.log(h.percentile(99)); + * ``` + * @since v11.10.0 + */ + function monitorEventLoopDelay(options?: EventLoopMonitorOptions): IntervalHistogram; + interface CreateHistogramOptions { + /** + * The minimum recordable value. Must be an integer value greater than 0. + * @default 1 + */ + min?: number | bigint | undefined; + /** + * The maximum recordable value. Must be an integer value greater than min. + * @default Number.MAX_SAFE_INTEGER + */ + max?: number | bigint | undefined; + /** + * The number of accuracy digits. Must be a number between 1 and 5. + * @default 3 + */ + figures?: number | undefined; + } + /** + * Returns a `RecordableHistogram`. + * @since v15.9.0, v14.18.0 + */ + function createHistogram(options?: CreateHistogramOptions): RecordableHistogram; + import { performance as _performance } from "perf_hooks"; + global { + /** + * `performance` is a global reference for `require('perf_hooks').performance` + * https://nodejs.org/api/globals.html#performance + * @since v16.0.0 + */ + var performance: typeof globalThis extends { + onmessage: any; + performance: infer T; + } ? T + : typeof _performance; + } +} +declare module "node:perf_hooks" { + export * from "perf_hooks"; +} diff --git a/node_modules/@types/node/process.d.ts b/node_modules/@types/node/process.d.ts new file mode 100644 index 000000000..0e2747376 --- /dev/null +++ b/node_modules/@types/node/process.d.ts @@ -0,0 +1,1539 @@ +declare module "process" { + import * as tty from "node:tty"; + import { Worker } from "node:worker_threads"; + global { + var process: NodeJS.Process; + namespace NodeJS { + // this namespace merge is here because these are specifically used + // as the type for process.stdin, process.stdout, and process.stderr. + // they can't live in tty.d.ts because we need to disambiguate the imported name. + interface ReadStream extends tty.ReadStream {} + interface WriteStream extends tty.WriteStream {} + interface MemoryUsageFn { + /** + * The `process.memoryUsage()` method iterate over each page to gather informations about memory + * usage which can be slow depending on the program memory allocations. + */ + (): MemoryUsage; + /** + * method returns an integer representing the Resident Set Size (RSS) in bytes. + */ + rss(): number; + } + interface MemoryUsage { + rss: number; + heapTotal: number; + heapUsed: number; + external: number; + arrayBuffers: number; + } + interface CpuUsage { + user: number; + system: number; + } + interface ProcessRelease { + name: string; + sourceUrl?: string | undefined; + headersUrl?: string | undefined; + libUrl?: string | undefined; + lts?: string | undefined; + } + interface ProcessVersions extends Dict { + http_parser: string; + node: string; + v8: string; + ares: string; + uv: string; + zlib: string; + modules: string; + openssl: string; + } + type Platform = + | "aix" + | "android" + | "darwin" + | "freebsd" + | "haiku" + | "linux" + | "openbsd" + | "sunos" + | "win32" + | "cygwin" + | "netbsd"; + type Architecture = + | "arm" + | "arm64" + | "ia32" + | "mips" + | "mipsel" + | "ppc" + | "ppc64" + | "riscv64" + | "s390" + | "s390x" + | "x64"; + type Signals = + | "SIGABRT" + | "SIGALRM" + | "SIGBUS" + | "SIGCHLD" + | "SIGCONT" + | "SIGFPE" + | "SIGHUP" + | "SIGILL" + | "SIGINT" + | "SIGIO" + | "SIGIOT" + | "SIGKILL" + | "SIGPIPE" + | "SIGPOLL" + | "SIGPROF" + | "SIGPWR" + | "SIGQUIT" + | "SIGSEGV" + | "SIGSTKFLT" + | "SIGSTOP" + | "SIGSYS" + | "SIGTERM" + | "SIGTRAP" + | "SIGTSTP" + | "SIGTTIN" + | "SIGTTOU" + | "SIGUNUSED" + | "SIGURG" + | "SIGUSR1" + | "SIGUSR2" + | "SIGVTALRM" + | "SIGWINCH" + | "SIGXCPU" + | "SIGXFSZ" + | "SIGBREAK" + | "SIGLOST" + | "SIGINFO"; + type UncaughtExceptionOrigin = "uncaughtException" | "unhandledRejection"; + type MultipleResolveType = "resolve" | "reject"; + type BeforeExitListener = (code: number) => void; + type DisconnectListener = () => void; + type ExitListener = (code: number) => void; + type RejectionHandledListener = (promise: Promise) => void; + type UncaughtExceptionListener = (error: Error, origin: UncaughtExceptionOrigin) => void; + /** + * Most of the time the unhandledRejection will be an Error, but this should not be relied upon + * as *anything* can be thrown/rejected, it is therefore unsafe to assume that the value is an Error. + */ + type UnhandledRejectionListener = (reason: unknown, promise: Promise) => void; + type WarningListener = (warning: Error) => void; + type MessageListener = (message: unknown, sendHandle: unknown) => void; + type SignalsListener = (signal: Signals) => void; + type MultipleResolveListener = ( + type: MultipleResolveType, + promise: Promise, + value: unknown, + ) => void; + type WorkerListener = (worker: Worker) => void; + interface Socket extends ReadWriteStream { + isTTY?: true | undefined; + } + // Alias for compatibility + interface ProcessEnv extends Dict { + /** + * Can be used to change the default timezone at runtime + */ + TZ?: string; + } + interface HRTime { + (time?: [number, number]): [number, number]; + bigint(): bigint; + } + interface ProcessReport { + /** + * Directory where the report is written. + * working directory of the Node.js process. + * @default '' indicating that reports are written to the current + */ + directory: string; + /** + * Filename where the report is written. + * The default value is the empty string. + * @default '' the output filename will be comprised of a timestamp, + * PID, and sequence number. + */ + filename: string; + /** + * Returns a JSON-formatted diagnostic report for the running process. + * The report's JavaScript stack trace is taken from err, if present. + */ + getReport(err?: Error): string; + /** + * If true, a diagnostic report is generated on fatal errors, + * such as out of memory errors or failed C++ assertions. + * @default false + */ + reportOnFatalError: boolean; + /** + * If true, a diagnostic report is generated when the process + * receives the signal specified by process.report.signal. + * @default false + */ + reportOnSignal: boolean; + /** + * If true, a diagnostic report is generated on uncaught exception. + * @default false + */ + reportOnUncaughtException: boolean; + /** + * The signal used to trigger the creation of a diagnostic report. + * @default 'SIGUSR2' + */ + signal: Signals; + /** + * Writes a diagnostic report to a file. If filename is not provided, the default filename + * includes the date, time, PID, and a sequence number. + * The report's JavaScript stack trace is taken from err, if present. + * + * @param fileName Name of the file where the report is written. + * This should be a relative path, that will be appended to the directory specified in + * `process.report.directory`, or the current working directory of the Node.js process, + * if unspecified. + * @param error A custom error used for reporting the JavaScript stack. + * @return Filename of the generated report. + */ + writeReport(fileName?: string): string; + writeReport(error?: Error): string; + writeReport(fileName?: string, err?: Error): string; + } + interface ResourceUsage { + fsRead: number; + fsWrite: number; + involuntaryContextSwitches: number; + ipcReceived: number; + ipcSent: number; + majorPageFault: number; + maxRSS: number; + minorPageFault: number; + sharedMemorySize: number; + signalsCount: number; + swappedOut: number; + systemCPUTime: number; + unsharedDataSize: number; + unsharedStackSize: number; + userCPUTime: number; + voluntaryContextSwitches: number; + } + interface EmitWarningOptions { + /** + * When `warning` is a `string`, `type` is the name to use for the _type_ of warning being emitted. + * + * @default 'Warning' + */ + type?: string | undefined; + /** + * A unique identifier for the warning instance being emitted. + */ + code?: string | undefined; + /** + * When `warning` is a `string`, `ctor` is an optional function used to limit the generated stack trace. + * + * @default process.emitWarning + */ + ctor?: Function | undefined; + /** + * Additional text to include with the error. + */ + detail?: string | undefined; + } + interface ProcessConfig { + readonly target_defaults: { + readonly cflags: any[]; + readonly default_configuration: string; + readonly defines: string[]; + readonly include_dirs: string[]; + readonly libraries: string[]; + }; + readonly variables: { + readonly clang: number; + readonly host_arch: string; + readonly node_install_npm: boolean; + readonly node_install_waf: boolean; + readonly node_prefix: string; + readonly node_shared_openssl: boolean; + readonly node_shared_v8: boolean; + readonly node_shared_zlib: boolean; + readonly node_use_dtrace: boolean; + readonly node_use_etw: boolean; + readonly node_use_openssl: boolean; + readonly target_arch: string; + readonly v8_no_strict_aliasing: number; + readonly v8_use_snapshot: boolean; + readonly visibility: string; + }; + } + interface Process extends EventEmitter { + /** + * The `process.stdout` property returns a stream connected to`stdout` (fd `1`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `1` refers to a file, in which case it is + * a `Writable` stream. + * + * For example, to copy `process.stdin` to `process.stdout`: + * + * ```js + * import { stdin, stdout } from 'node:process'; + * + * stdin.pipe(stdout); + * ``` + * + * `process.stdout` differs from other Node.js streams in important ways. See `note on process I/O` for more information. + */ + stdout: WriteStream & { + fd: 1; + }; + /** + * The `process.stderr` property returns a stream connected to`stderr` (fd `2`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `2` refers to a file, in which case it is + * a `Writable` stream. + * + * `process.stderr` differs from other Node.js streams in important ways. See `note on process I/O` for more information. + */ + stderr: WriteStream & { + fd: 2; + }; + /** + * The `process.stdin` property returns a stream connected to`stdin` (fd `0`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `0` refers to a file, in which case it is + * a `Readable` stream. + * + * For details of how to read from `stdin` see `readable.read()`. + * + * As a `Duplex` stream, `process.stdin` can also be used in "old" mode that + * is compatible with scripts written for Node.js prior to v0.10\. + * For more information see `Stream compatibility`. + * + * In "old" streams mode the `stdin` stream is paused by default, so one + * must call `process.stdin.resume()` to read from it. Note also that calling`process.stdin.resume()` itself would switch stream to "old" mode. + */ + stdin: ReadStream & { + fd: 0; + }; + openStdin(): Socket; + /** + * The `process.argv` property returns an array containing the command-line + * arguments passed when the Node.js process was launched. The first element will + * be {@link execPath}. See `process.argv0` if access to the original value + * of `argv[0]` is needed. The second element will be the path to the JavaScript + * file being executed. The remaining elements will be any additional command-line + * arguments. + * + * For example, assuming the following script for `process-args.js`: + * + * ```js + * import { argv } from 'node:process'; + * + * // print process.argv + * argv.forEach((val, index) => { + * console.log(`${index}: ${val}`); + * }); + * ``` + * + * Launching the Node.js process as: + * + * ```bash + * node process-args.js one two=three four + * ``` + * + * Would generate the output: + * + * ```text + * 0: /usr/local/bin/node + * 1: /Users/mjr/work/node/process-args.js + * 2: one + * 3: two=three + * 4: four + * ``` + * @since v0.1.27 + */ + argv: string[]; + /** + * The `process.argv0` property stores a read-only copy of the original value of`argv[0]` passed when Node.js starts. + * + * ```console + * $ bash -c 'exec -a customArgv0 ./node' + * > process.argv[0] + * '/Volumes/code/external/node/out/Release/node' + * > process.argv0 + * 'customArgv0' + * ``` + * @since v6.4.0 + */ + argv0: string; + /** + * The `process.execArgv` property returns the set of Node.js-specific command-line + * options passed when the Node.js process was launched. These options do not + * appear in the array returned by the {@link argv} property, and do not + * include the Node.js executable, the name of the script, or any options following + * the script name. These options are useful in order to spawn child processes with + * the same execution environment as the parent. + * + * ```bash + * node --harmony script.js --version + * ``` + * + * Results in `process.execArgv`: + * + * ```js + * ['--harmony'] + * ``` + * + * And `process.argv`: + * + * ```js + * ['/usr/local/bin/node', 'script.js', '--version'] + * ``` + * + * Refer to `Worker constructor` for the detailed behavior of worker + * threads with this property. + * @since v0.7.7 + */ + execArgv: string[]; + /** + * The `process.execPath` property returns the absolute pathname of the executable + * that started the Node.js process. Symbolic links, if any, are resolved. + * + * ```js + * '/usr/local/bin/node' + * ``` + * @since v0.1.100 + */ + execPath: string; + /** + * The `process.abort()` method causes the Node.js process to exit immediately and + * generate a core file. + * + * This feature is not available in `Worker` threads. + * @since v0.7.0 + */ + abort(): never; + /** + * The `process.chdir()` method changes the current working directory of the + * Node.js process or throws an exception if doing so fails (for instance, if + * the specified `directory` does not exist). + * + * ```js + * import { chdir, cwd } from 'node:process'; + * + * console.log(`Starting directory: ${cwd()}`); + * try { + * chdir('/tmp'); + * console.log(`New directory: ${cwd()}`); + * } catch (err) { + * console.error(`chdir: ${err}`); + * } + * ``` + * + * This feature is not available in `Worker` threads. + * @since v0.1.17 + */ + chdir(directory: string): void; + /** + * The `process.cwd()` method returns the current working directory of the Node.js + * process. + * + * ```js + * import { cwd } from 'node:process'; + * + * console.log(`Current directory: ${cwd()}`); + * ``` + * @since v0.1.8 + */ + cwd(): string; + /** + * The port used by the Node.js debugger when enabled. + * + * ```js + * import process from 'node:process'; + * + * process.debugPort = 5858; + * ``` + * @since v0.7.2 + */ + debugPort: number; + /** + * The `process.emitWarning()` method can be used to emit custom or application + * specific process warnings. These can be listened for by adding a handler to the `'warning'` event. + * + * ```js + * import { emitWarning } from 'node:process'; + * + * // Emit a warning with a code and additional detail. + * emitWarning('Something happened!', { + * code: 'MY_WARNING', + * detail: 'This is some additional information', + * }); + * // Emits: + * // (node:56338) [MY_WARNING] Warning: Something happened! + * // This is some additional information + * ``` + * + * In this example, an `Error` object is generated internally by`process.emitWarning()` and passed through to the `'warning'` handler. + * + * ```js + * import process from 'node:process'; + * + * process.on('warning', (warning) => { + * console.warn(warning.name); // 'Warning' + * console.warn(warning.message); // 'Something happened!' + * console.warn(warning.code); // 'MY_WARNING' + * console.warn(warning.stack); // Stack trace + * console.warn(warning.detail); // 'This is some additional information' + * }); + * ``` + * + * If `warning` is passed as an `Error` object, the `options` argument is ignored. + * @since v8.0.0 + * @param warning The warning to emit. + */ + emitWarning(warning: string | Error, ctor?: Function): void; + emitWarning(warning: string | Error, type?: string, ctor?: Function): void; + emitWarning(warning: string | Error, type?: string, code?: string, ctor?: Function): void; + emitWarning(warning: string | Error, options?: EmitWarningOptions): void; + /** + * The `process.env` property returns an object containing the user environment. + * See [`environ(7)`](http://man7.org/linux/man-pages/man7/environ.7.html). + * + * An example of this object looks like: + * + * ```js + * { + * TERM: 'xterm-256color', + * SHELL: '/usr/local/bin/bash', + * USER: 'maciej', + * PATH: '~/.bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin', + * PWD: '/Users/maciej', + * EDITOR: 'vim', + * SHLVL: '1', + * HOME: '/Users/maciej', + * LOGNAME: 'maciej', + * _: '/usr/local/bin/node' + * } + * ``` + * + * It is possible to modify this object, but such modifications will not be + * reflected outside the Node.js process, or (unless explicitly requested) + * to other `Worker` threads. + * In other words, the following example would not work: + * + * ```bash + * node -e 'process.env.foo = "bar"' && echo $foo + * ``` + * + * While the following will: + * + * ```js + * import { env } from 'node:process'; + * + * env.foo = 'bar'; + * console.log(env.foo); + * ``` + * + * Assigning a property on `process.env` will implicitly convert the value + * to a string. **This behavior is deprecated.** Future versions of Node.js may + * throw an error when the value is not a string, number, or boolean. + * + * ```js + * import { env } from 'node:process'; + * + * env.test = null; + * console.log(env.test); + * // => 'null' + * env.test = undefined; + * console.log(env.test); + * // => 'undefined' + * ``` + * + * Use `delete` to delete a property from `process.env`. + * + * ```js + * import { env } from 'node:process'; + * + * env.TEST = 1; + * delete env.TEST; + * console.log(env.TEST); + * // => undefined + * ``` + * + * On Windows operating systems, environment variables are case-insensitive. + * + * ```js + * import { env } from 'node:process'; + * + * env.TEST = 1; + * console.log(env.test); + * // => 1 + * ``` + * + * Unless explicitly specified when creating a `Worker` instance, + * each `Worker` thread has its own copy of `process.env`, based on its + * parent thread's `process.env`, or whatever was specified as the `env` option + * to the `Worker` constructor. Changes to `process.env` will not be visible + * across `Worker` threads, and only the main thread can make changes that + * are visible to the operating system or to native add-ons. On Windows, a copy of`process.env` on a `Worker` instance operates in a case-sensitive manner + * unlike the main thread. + * @since v0.1.27 + */ + env: ProcessEnv; + /** + * The `process.exit()` method instructs Node.js to terminate the process + * synchronously with an exit status of `code`. If `code` is omitted, exit uses + * either the 'success' code `0` or the value of `process.exitCode` if it has been + * set. Node.js will not terminate until all the `'exit'` event listeners are + * called. + * + * To exit with a 'failure' code: + * + * ```js + * import { exit } from 'node:process'; + * + * exit(1); + * ``` + * + * The shell that executed Node.js should see the exit code as `1`. + * + * Calling `process.exit()` will force the process to exit as quickly as possible + * even if there are still asynchronous operations pending that have not yet + * completed fully, including I/O operations to `process.stdout` and`process.stderr`. + * + * In most situations, it is not actually necessary to call `process.exit()`explicitly. The Node.js process will exit on its own _if there is no additional_ + * _work pending_ in the event loop. The `process.exitCode` property can be set to + * tell the process which exit code to use when the process exits gracefully. + * + * For instance, the following example illustrates a _misuse_ of the`process.exit()` method that could lead to data printed to stdout being + * truncated and lost: + * + * ```js + * import { exit } from 'node:process'; + * + * // This is an example of what *not* to do: + * if (someConditionNotMet()) { + * printUsageToStdout(); + * exit(1); + * } + * ``` + * + * The reason this is problematic is because writes to `process.stdout` in Node.js + * are sometimes _asynchronous_ and may occur over multiple ticks of the Node.js + * event loop. Calling `process.exit()`, however, forces the process to exit _before_ those additional writes to `stdout` can be performed. + * + * Rather than calling `process.exit()` directly, the code _should_ set the`process.exitCode` and allow the process to exit naturally by avoiding + * scheduling any additional work for the event loop: + * + * ```js + * import process from 'node:process'; + * + * // How to properly set the exit code while letting + * // the process exit gracefully. + * if (someConditionNotMet()) { + * printUsageToStdout(); + * process.exitCode = 1; + * } + * ``` + * + * If it is necessary to terminate the Node.js process due to an error condition, + * throwing an _uncaught_ error and allowing the process to terminate accordingly + * is safer than calling `process.exit()`. + * + * In `Worker` threads, this function stops the current thread rather + * than the current process. + * @since v0.1.13 + * @param [code=0] The exit code. For string type, only integer strings (e.g.,'1') are allowed. + */ + exit(code?: number): never; + /** + * A number which will be the process exit code, when the process either + * exits gracefully, or is exited via {@link exit} without specifying + * a code. + * + * Specifying a code to {@link exit} will override any + * previous setting of `process.exitCode`. + * @since v0.11.8 + */ + exitCode?: number | undefined; + /** + * The `process.getgid()` method returns the numerical group identity of the + * process. (See [`getgid(2)`](http://man7.org/linux/man-pages/man2/getgid.2.html).) + * + * ```js + * import process from 'process'; + * + * if (process.getgid) { + * console.log(`Current gid: ${process.getgid()}`); + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * @since v0.1.31 + */ + getgid?: () => number; + /** + * The `process.setgid()` method sets the group identity of the process. (See [`setgid(2)`](http://man7.org/linux/man-pages/man2/setgid.2.html).) The `id` can be passed as either a + * numeric ID or a group name + * string. If a group name is specified, this method blocks while resolving the + * associated numeric ID. + * + * ```js + * import process from 'process'; + * + * if (process.getgid && process.setgid) { + * console.log(`Current gid: ${process.getgid()}`); + * try { + * process.setgid(501); + * console.log(`New gid: ${process.getgid()}`); + * } catch (err) { + * console.log(`Failed to set gid: ${err}`); + * } + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * This feature is not available in `Worker` threads. + * @since v0.1.31 + * @param id The group name or ID + */ + setgid?: (id: number | string) => void; + /** + * The `process.getuid()` method returns the numeric user identity of the process. + * (See [`getuid(2)`](http://man7.org/linux/man-pages/man2/getuid.2.html).) + * + * ```js + * import process from 'process'; + * + * if (process.getuid) { + * console.log(`Current uid: ${process.getuid()}`); + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * @since v0.1.28 + */ + getuid?: () => number; + /** + * The `process.setuid(id)` method sets the user identity of the process. (See [`setuid(2)`](http://man7.org/linux/man-pages/man2/setuid.2.html).) The `id` can be passed as either a + * numeric ID or a username string. + * If a username is specified, the method blocks while resolving the associated + * numeric ID. + * + * ```js + * import process from 'process'; + * + * if (process.getuid && process.setuid) { + * console.log(`Current uid: ${process.getuid()}`); + * try { + * process.setuid(501); + * console.log(`New uid: ${process.getuid()}`); + * } catch (err) { + * console.log(`Failed to set uid: ${err}`); + * } + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * This feature is not available in `Worker` threads. + * @since v0.1.28 + */ + setuid?: (id: number | string) => void; + /** + * The `process.geteuid()` method returns the numerical effective user identity of + * the process. (See [`geteuid(2)`](http://man7.org/linux/man-pages/man2/geteuid.2.html).) + * + * ```js + * import process from 'process'; + * + * if (process.geteuid) { + * console.log(`Current uid: ${process.geteuid()}`); + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * @since v2.0.0 + */ + geteuid?: () => number; + /** + * The `process.seteuid()` method sets the effective user identity of the process. + * (See [`seteuid(2)`](http://man7.org/linux/man-pages/man2/seteuid.2.html).) The `id` can be passed as either a numeric ID or a username + * string. If a username is specified, the method blocks while resolving the + * associated numeric ID. + * + * ```js + * import process from 'process'; + * + * if (process.geteuid && process.seteuid) { + * console.log(`Current uid: ${process.geteuid()}`); + * try { + * process.seteuid(501); + * console.log(`New uid: ${process.geteuid()}`); + * } catch (err) { + * console.log(`Failed to set uid: ${err}`); + * } + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * This feature is not available in `Worker` threads. + * @since v2.0.0 + * @param id A user name or ID + */ + seteuid?: (id: number | string) => void; + /** + * The `process.getegid()` method returns the numerical effective group identity + * of the Node.js process. (See [`getegid(2)`](http://man7.org/linux/man-pages/man2/getegid.2.html).) + * + * ```js + * import process from 'process'; + * + * if (process.getegid) { + * console.log(`Current gid: ${process.getegid()}`); + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * @since v2.0.0 + */ + getegid?: () => number; + /** + * The `process.setegid()` method sets the effective group identity of the process. + * (See [`setegid(2)`](http://man7.org/linux/man-pages/man2/setegid.2.html).) The `id` can be passed as either a numeric ID or a group + * name string. If a group name is specified, this method blocks while resolving + * the associated a numeric ID. + * + * ```js + * import process from 'process'; + * + * if (process.getegid && process.setegid) { + * console.log(`Current gid: ${process.getegid()}`); + * try { + * process.setegid(501); + * console.log(`New gid: ${process.getegid()}`); + * } catch (err) { + * console.log(`Failed to set gid: ${err}`); + * } + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * This feature is not available in `Worker` threads. + * @since v2.0.0 + * @param id A group name or ID + */ + setegid?: (id: number | string) => void; + /** + * The `process.getgroups()` method returns an array with the supplementary group + * IDs. POSIX leaves it unspecified if the effective group ID is included but + * Node.js ensures it always is. + * + * ```js + * import process from 'process'; + * + * if (process.getgroups) { + * console.log(process.getgroups()); // [ 16, 21, 297 ] + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * @since v0.9.4 + */ + getgroups?: () => number[]; + /** + * The `process.setgroups()` method sets the supplementary group IDs for the + * Node.js process. This is a privileged operation that requires the Node.js + * process to have `root` or the `CAP_SETGID` capability. + * + * The `groups` array can contain numeric group IDs, group names, or both. + * + * ```js + * import process from 'process'; + * + * if (process.getgroups && process.setgroups) { + * try { + * process.setgroups([501]); + * console.log(process.getgroups()); // new groups + * } catch (err) { + * console.log(`Failed to set groups: ${err}`); + * } + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * This feature is not available in `Worker` threads. + * @since v0.9.4 + */ + setgroups?: (groups: ReadonlyArray) => void; + /** + * The `process.setUncaughtExceptionCaptureCallback()` function sets a function + * that will be invoked when an uncaught exception occurs, which will receive the + * exception value itself as its first argument. + * + * If such a function is set, the `'uncaughtException'` event will + * not be emitted. If `--abort-on-uncaught-exception` was passed from the + * command line or set through `v8.setFlagsFromString()`, the process will + * not abort. Actions configured to take place on exceptions such as report + * generations will be affected too + * + * To unset the capture function,`process.setUncaughtExceptionCaptureCallback(null)` may be used. Calling this + * method with a non-`null` argument while another capture function is set will + * throw an error. + * + * Using this function is mutually exclusive with using the deprecated `domain` built-in module. + * @since v9.3.0 + */ + setUncaughtExceptionCaptureCallback(cb: ((err: Error) => void) | null): void; + /** + * Indicates whether a callback has been set using {@link setUncaughtExceptionCaptureCallback}. + * @since v9.3.0 + */ + hasUncaughtExceptionCaptureCallback(): boolean; + /** + * The `process.sourceMapsEnabled` property returns whether the [Source Map v3](https://sourcemaps.info/spec.html) support for stack traces is enabled. + * @since v20.7.0 + * @experimental + */ + readonly sourceMapsEnabled: boolean; + /** + * This function enables or disables the Source Map v3 support for stack traces. + * It provides same features as launching Node.js process with commandline options --enable-source-maps. + * @since v16.6.0 + * @experimental + */ + setSourceMapsEnabled(value: boolean): void; + /** + * The `process.version` property contains the Node.js version string. + * + * ```js + * import { version } from 'node:process'; + * + * console.log(`Version: ${version}`); + * // Version: v14.8.0 + * ``` + * + * To get the version string without the prepended _v_, use`process.versions.node`. + * @since v0.1.3 + */ + readonly version: string; + /** + * The `process.versions` property returns an object listing the version strings of + * Node.js and its dependencies. `process.versions.modules` indicates the current + * ABI version, which is increased whenever a C++ API changes. Node.js will refuse + * to load modules that were compiled against a different module ABI version. + * + * ```js + * import { versions } from 'node:process'; + * + * console.log(versions); + * ``` + * + * Will generate an object similar to: + * + * ```console + * { node: '20.2.0', + * acorn: '8.8.2', + * ada: '2.4.0', + * ares: '1.19.0', + * base64: '0.5.0', + * brotli: '1.0.9', + * cjs_module_lexer: '1.2.2', + * cldr: '43.0', + * icu: '73.1', + * llhttp: '8.1.0', + * modules: '115', + * napi: '8', + * nghttp2: '1.52.0', + * nghttp3: '0.7.0', + * ngtcp2: '0.8.1', + * openssl: '3.0.8+quic', + * simdutf: '3.2.9', + * tz: '2023c', + * undici: '5.22.0', + * unicode: '15.0', + * uv: '1.44.2', + * uvwasi: '0.0.16', + * v8: '11.3.244.8-node.9', + * zlib: '1.2.13' } + * ``` + * @since v0.2.0 + */ + readonly versions: ProcessVersions; + /** + * The `process.config` property returns a frozen `Object` containing the + * JavaScript representation of the configure options used to compile the current + * Node.js executable. This is the same as the `config.gypi` file that was produced + * when running the `./configure` script. + * + * An example of the possible output looks like: + * + * ```js + * { + * target_defaults: + * { cflags: [], + * default_configuration: 'Release', + * defines: [], + * include_dirs: [], + * libraries: [] }, + * variables: + * { + * host_arch: 'x64', + * napi_build_version: 5, + * node_install_npm: 'true', + * node_prefix: '', + * node_shared_cares: 'false', + * node_shared_http_parser: 'false', + * node_shared_libuv: 'false', + * node_shared_zlib: 'false', + * node_use_openssl: 'true', + * node_shared_openssl: 'false', + * strict_aliasing: 'true', + * target_arch: 'x64', + * v8_use_snapshot: 1 + * } + * } + * ``` + * @since v0.7.7 + */ + readonly config: ProcessConfig; + /** + * The `process.kill()` method sends the `signal` to the process identified by`pid`. + * + * Signal names are strings such as `'SIGINT'` or `'SIGHUP'`. See `Signal Events` and [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) for more information. + * + * This method will throw an error if the target `pid` does not exist. As a special + * case, a signal of `0` can be used to test for the existence of a process. + * Windows platforms will throw an error if the `pid` is used to kill a process + * group. + * + * Even though the name of this function is `process.kill()`, it is really just a + * signal sender, like the `kill` system call. The signal sent may do something + * other than kill the target process. + * + * ```js + * import process, { kill } from 'node:process'; + * + * process.on('SIGHUP', () => { + * console.log('Got SIGHUP signal.'); + * }); + * + * setTimeout(() => { + * console.log('Exiting.'); + * process.exit(0); + * }, 100); + * + * kill(process.pid, 'SIGHUP'); + * ``` + * + * When `SIGUSR1` is received by a Node.js process, Node.js will start the + * debugger. See `Signal Events`. + * @since v0.0.6 + * @param pid A process ID + * @param [signal='SIGTERM'] The signal to send, either as a string or number. + */ + kill(pid: number, signal?: string | number): true; + /** + * The `process.pid` property returns the PID of the process. + * + * ```js + * import { pid } from 'node:process'; + * + * console.log(`This process is pid ${pid}`); + * ``` + * @since v0.1.15 + */ + readonly pid: number; + /** + * The `process.ppid` property returns the PID of the parent of the + * current process. + * + * ```js + * import { ppid } from 'node:process'; + * + * console.log(`The parent process is pid ${ppid}`); + * ``` + * @since v9.2.0, v8.10.0, v6.13.0 + */ + readonly ppid: number; + /** + * The `process.title` property returns the current process title (i.e. returns + * the current value of `ps`). Assigning a new value to `process.title` modifies + * the current value of `ps`. + * + * When a new value is assigned, different platforms will impose different maximum + * length restrictions on the title. Usually such restrictions are quite limited. + * For instance, on Linux and macOS, `process.title` is limited to the size of the + * binary name plus the length of the command-line arguments because setting the`process.title` overwrites the `argv` memory of the process. Node.js v0.8 + * allowed for longer process title strings by also overwriting the `environ`memory but that was potentially insecure and confusing in some (rather obscure) + * cases. + * + * Assigning a value to `process.title` might not result in an accurate label + * within process manager applications such as macOS Activity Monitor or Windows + * Services Manager. + * @since v0.1.104 + */ + title: string; + /** + * The operating system CPU architecture for which the Node.js binary was compiled. + * Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`,`'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, and `'x64'`. + * + * ```js + * import { arch } from 'node:process'; + * + * console.log(`This processor architecture is ${arch}`); + * ``` + * @since v0.5.0 + */ + readonly arch: Architecture; + /** + * The `process.platform` property returns a string identifying the operating + * system platform for which the Node.js binary was compiled. + * + * Currently possible values are: + * + * * `'aix'` + * * `'darwin'` + * * `'freebsd'` + * * `'linux'` + * * `'openbsd'` + * * `'sunos'` + * * `'win32'` + * + * ```js + * import { platform } from 'node:process'; + * + * console.log(`This platform is ${platform}`); + * ``` + * + * The value `'android'` may also be returned if the Node.js is built on the + * Android operating system. However, Android support in Node.js [is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os). + * @since v0.1.16 + */ + readonly platform: Platform; + /** + * The `process.mainModule` property provides an alternative way of retrieving `require.main`. The difference is that if the main module changes at + * runtime, `require.main` may still refer to the original main module in + * modules that were required before the change occurred. Generally, it's + * safe to assume that the two refer to the same module. + * + * As with `require.main`, `process.mainModule` will be `undefined` if there + * is no entry script. + * @since v0.1.17 + * @deprecated Since v14.0.0 - Use `main` instead. + */ + mainModule?: Module | undefined; + memoryUsage: MemoryUsageFn; + /** + * Gets the amount of memory available to the process (in bytes) based on + * limits imposed by the OS. If there is no such constraint, or the constraint + * is unknown, `undefined` is returned. + * + * See [`uv_get_constrained_memory`](https://docs.libuv.org/en/v1.x/misc.html#c.uv_get_constrained_memory) for more + * information. + * @since v19.6.0, v18.15.0 + * @experimental + */ + constrainedMemory(): number | undefined; + /** + * The `process.cpuUsage()` method returns the user and system CPU time usage of + * the current process, in an object with properties `user` and `system`, whose + * values are microsecond values (millionth of a second). These values measure time + * spent in user and system code respectively, and may end up being greater than + * actual elapsed time if multiple CPU cores are performing work for this process. + * + * The result of a previous call to `process.cpuUsage()` can be passed as the + * argument to the function, to get a diff reading. + * + * ```js + * import { cpuUsage } from 'node:process'; + * + * const startUsage = cpuUsage(); + * // { user: 38579, system: 6986 } + * + * // spin the CPU for 500 milliseconds + * const now = Date.now(); + * while (Date.now() - now < 500); + * + * console.log(cpuUsage(startUsage)); + * // { user: 514883, system: 11226 } + * ``` + * @since v6.1.0 + * @param previousValue A previous return value from calling `process.cpuUsage()` + */ + cpuUsage(previousValue?: CpuUsage): CpuUsage; + /** + * `process.nextTick()` adds `callback` to the "next tick queue". This queue is + * fully drained after the current operation on the JavaScript stack runs to + * completion and before the event loop is allowed to continue. It's possible to + * create an infinite loop if one were to recursively call `process.nextTick()`. + * See the [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#process-nexttick) guide for more background. + * + * ```js + * import { nextTick } from 'node:process'; + * + * console.log('start'); + * nextTick(() => { + * console.log('nextTick callback'); + * }); + * console.log('scheduled'); + * // Output: + * // start + * // scheduled + * // nextTick callback + * ``` + * + * This is important when developing APIs in order to give users the opportunity + * to assign event handlers _after_ an object has been constructed but before any + * I/O has occurred: + * + * ```js + * import { nextTick } from 'node:process'; + * + * function MyThing(options) { + * this.setupOptions(options); + * + * nextTick(() => { + * this.startDoingStuff(); + * }); + * } + * + * const thing = new MyThing(); + * thing.getReadyForStuff(); + * + * // thing.startDoingStuff() gets called now, not before. + * ``` + * + * It is very important for APIs to be either 100% synchronous or 100% + * asynchronous. Consider this example: + * + * ```js + * // WARNING! DO NOT USE! BAD UNSAFE HAZARD! + * function maybeSync(arg, cb) { + * if (arg) { + * cb(); + * return; + * } + * + * fs.stat('file', cb); + * } + * ``` + * + * This API is hazardous because in the following case: + * + * ```js + * const maybeTrue = Math.random() > 0.5; + * + * maybeSync(maybeTrue, () => { + * foo(); + * }); + * + * bar(); + * ``` + * + * It is not clear whether `foo()` or `bar()` will be called first. + * + * The following approach is much better: + * + * ```js + * import { nextTick } from 'node:process'; + * + * function definitelyAsync(arg, cb) { + * if (arg) { + * nextTick(cb); + * return; + * } + * + * fs.stat('file', cb); + * } + * ``` + * @since v0.1.26 + * @param args Additional arguments to pass when invoking the `callback` + */ + nextTick(callback: Function, ...args: any[]): void; + /** + * The `process.release` property returns an `Object` containing metadata related + * to the current release, including URLs for the source tarball and headers-only + * tarball. + * + * `process.release` contains the following properties: + * + * ```js + * { + * name: 'node', + * lts: 'Hydrogen', + * sourceUrl: 'https://nodejs.org/download/release/v18.12.0/node-v18.12.0.tar.gz', + * headersUrl: 'https://nodejs.org/download/release/v18.12.0/node-v18.12.0-headers.tar.gz', + * libUrl: 'https://nodejs.org/download/release/v18.12.0/win-x64/node.lib' + * } + * ``` + * + * In custom builds from non-release versions of the source tree, only the`name` property may be present. The additional properties should not be + * relied upon to exist. + * @since v3.0.0 + */ + readonly release: ProcessRelease; + features: { + inspector: boolean; + debug: boolean; + uv: boolean; + ipv6: boolean; + tls_alpn: boolean; + tls_sni: boolean; + tls_ocsp: boolean; + tls: boolean; + }; + /** + * `process.umask()` returns the Node.js process's file mode creation mask. Child + * processes inherit the mask from the parent process. + * @since v0.1.19 + * @deprecated Calling `process.umask()` with no argument causes the process-wide umask to be written twice. This introduces a race condition between threads, and is a potential * + * security vulnerability. There is no safe, cross-platform alternative API. + */ + umask(): number; + /** + * Can only be set if not in worker thread. + */ + umask(mask: string | number): number; + /** + * The `process.uptime()` method returns the number of seconds the current Node.js + * process has been running. + * + * The return value includes fractions of a second. Use `Math.floor()` to get whole + * seconds. + * @since v0.5.0 + */ + uptime(): number; + hrtime: HRTime; + /** + * If Node.js is spawned with an IPC channel, the `process.send()` method can be + * used to send messages to the parent process. Messages will be received as a `'message'` event on the parent's `ChildProcess` object. + * + * If Node.js was not spawned with an IPC channel, `process.send` will be `undefined`. + * + * The message goes through serialization and parsing. The resulting message might + * not be the same as what is originally sent. + * @since v0.5.9 + * @param options used to parameterize the sending of certain types of handles.`options` supports the following properties: + */ + send?( + message: any, + sendHandle?: any, + options?: { + swallowErrors?: boolean | undefined; + }, + callback?: (error: Error | null) => void, + ): boolean; + /** + * If the Node.js process is spawned with an IPC channel (see the `Child Process` and `Cluster` documentation), the `process.disconnect()` method will close the + * IPC channel to the parent process, allowing the child process to exit gracefully + * once there are no other connections keeping it alive. + * + * The effect of calling `process.disconnect()` is the same as calling `ChildProcess.disconnect()` from the parent process. + * + * If the Node.js process was not spawned with an IPC channel,`process.disconnect()` will be `undefined`. + * @since v0.7.2 + */ + disconnect(): void; + /** + * If the Node.js process is spawned with an IPC channel (see the `Child Process` and `Cluster` documentation), the `process.connected` property will return`true` so long as the IPC + * channel is connected and will return `false` after`process.disconnect()` is called. + * + * Once `process.connected` is `false`, it is no longer possible to send messages + * over the IPC channel using `process.send()`. + * @since v0.7.2 + */ + connected: boolean; + /** + * The `process.allowedNodeEnvironmentFlags` property is a special, + * read-only `Set` of flags allowable within the `NODE_OPTIONS` environment variable. + * + * `process.allowedNodeEnvironmentFlags` extends `Set`, but overrides`Set.prototype.has` to recognize several different possible flag + * representations. `process.allowedNodeEnvironmentFlags.has()` will + * return `true` in the following cases: + * + * * Flags may omit leading single (`-`) or double (`--`) dashes; e.g.,`inspect-brk` for `--inspect-brk`, or `r` for `-r`. + * * Flags passed through to V8 (as listed in `--v8-options`) may replace + * one or more _non-leading_ dashes for an underscore, or vice-versa; + * e.g., `--perf_basic_prof`, `--perf-basic-prof`, `--perf_basic-prof`, + * etc. + * * Flags may contain one or more equals (`=`) characters; all + * characters after and including the first equals will be ignored; + * e.g., `--stack-trace-limit=100`. + * * Flags _must_ be allowable within `NODE_OPTIONS`. + * + * When iterating over `process.allowedNodeEnvironmentFlags`, flags will + * appear only _once_; each will begin with one or more dashes. Flags + * passed through to V8 will contain underscores instead of non-leading + * dashes: + * + * ```js + * import { allowedNodeEnvironmentFlags } from 'node:process'; + * + * allowedNodeEnvironmentFlags.forEach((flag) => { + * // -r + * // --inspect-brk + * // --abort_on_uncaught_exception + * // ... + * }); + * ``` + * + * The methods `add()`, `clear()`, and `delete()` of`process.allowedNodeEnvironmentFlags` do nothing, and will fail + * silently. + * + * If Node.js was compiled _without_ `NODE_OPTIONS` support (shown in {@link config}), `process.allowedNodeEnvironmentFlags` will + * contain what _would have_ been allowable. + * @since v10.10.0 + */ + allowedNodeEnvironmentFlags: ReadonlySet; + /** + * `process.report` is an object whose methods are used to generate diagnostic + * reports for the current process. Additional documentation is available in the `report documentation`. + * @since v11.8.0 + */ + report?: ProcessReport | undefined; + /** + * ```js + * import { resourceUsage } from 'node:process'; + * + * console.log(resourceUsage()); + * /* + * Will output: + * { + * userCPUTime: 82872, + * systemCPUTime: 4143, + * maxRSS: 33164, + * sharedMemorySize: 0, + * unsharedDataSize: 0, + * unsharedStackSize: 0, + * minorPageFault: 2469, + * majorPageFault: 0, + * swappedOut: 0, + * fsRead: 0, + * fsWrite: 8, + * ipcSent: 0, + * ipcReceived: 0, + * signalsCount: 0, + * voluntaryContextSwitches: 79, + * involuntaryContextSwitches: 1 + * } + * + * ``` + * @since v12.6.0 + * @return the resource usage for the current process. All of these values come from the `uv_getrusage` call which returns a [`uv_rusage_t` struct][uv_rusage_t]. + */ + resourceUsage(): ResourceUsage; + /** + * The `process.traceDeprecation` property indicates whether the`--trace-deprecation` flag is set on the current Node.js process. See the + * documentation for the `'warning' event` and the `emitWarning() method` for more information about this + * flag's behavior. + * @since v0.8.0 + */ + traceDeprecation: boolean; + /* EventEmitter */ + addListener(event: "beforeExit", listener: BeforeExitListener): this; + addListener(event: "disconnect", listener: DisconnectListener): this; + addListener(event: "exit", listener: ExitListener): this; + addListener(event: "rejectionHandled", listener: RejectionHandledListener): this; + addListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; + addListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; + addListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; + addListener(event: "warning", listener: WarningListener): this; + addListener(event: "message", listener: MessageListener): this; + addListener(event: Signals, listener: SignalsListener): this; + addListener(event: "multipleResolves", listener: MultipleResolveListener): this; + addListener(event: "worker", listener: WorkerListener): this; + emit(event: "beforeExit", code: number): boolean; + emit(event: "disconnect"): boolean; + emit(event: "exit", code: number): boolean; + emit(event: "rejectionHandled", promise: Promise): boolean; + emit(event: "uncaughtException", error: Error): boolean; + emit(event: "uncaughtExceptionMonitor", error: Error): boolean; + emit(event: "unhandledRejection", reason: unknown, promise: Promise): boolean; + emit(event: "warning", warning: Error): boolean; + emit(event: "message", message: unknown, sendHandle: unknown): this; + emit(event: Signals, signal?: Signals): boolean; + emit( + event: "multipleResolves", + type: MultipleResolveType, + promise: Promise, + value: unknown, + ): this; + emit(event: "worker", listener: WorkerListener): this; + on(event: "beforeExit", listener: BeforeExitListener): this; + on(event: "disconnect", listener: DisconnectListener): this; + on(event: "exit", listener: ExitListener): this; + on(event: "rejectionHandled", listener: RejectionHandledListener): this; + on(event: "uncaughtException", listener: UncaughtExceptionListener): this; + on(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; + on(event: "unhandledRejection", listener: UnhandledRejectionListener): this; + on(event: "warning", listener: WarningListener): this; + on(event: "message", listener: MessageListener): this; + on(event: Signals, listener: SignalsListener): this; + on(event: "multipleResolves", listener: MultipleResolveListener): this; + on(event: "worker", listener: WorkerListener): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "beforeExit", listener: BeforeExitListener): this; + once(event: "disconnect", listener: DisconnectListener): this; + once(event: "exit", listener: ExitListener): this; + once(event: "rejectionHandled", listener: RejectionHandledListener): this; + once(event: "uncaughtException", listener: UncaughtExceptionListener): this; + once(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; + once(event: "unhandledRejection", listener: UnhandledRejectionListener): this; + once(event: "warning", listener: WarningListener): this; + once(event: "message", listener: MessageListener): this; + once(event: Signals, listener: SignalsListener): this; + once(event: "multipleResolves", listener: MultipleResolveListener): this; + once(event: "worker", listener: WorkerListener): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "beforeExit", listener: BeforeExitListener): this; + prependListener(event: "disconnect", listener: DisconnectListener): this; + prependListener(event: "exit", listener: ExitListener): this; + prependListener(event: "rejectionHandled", listener: RejectionHandledListener): this; + prependListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; + prependListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; + prependListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; + prependListener(event: "warning", listener: WarningListener): this; + prependListener(event: "message", listener: MessageListener): this; + prependListener(event: Signals, listener: SignalsListener): this; + prependListener(event: "multipleResolves", listener: MultipleResolveListener): this; + prependListener(event: "worker", listener: WorkerListener): this; + prependOnceListener(event: "beforeExit", listener: BeforeExitListener): this; + prependOnceListener(event: "disconnect", listener: DisconnectListener): this; + prependOnceListener(event: "exit", listener: ExitListener): this; + prependOnceListener(event: "rejectionHandled", listener: RejectionHandledListener): this; + prependOnceListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; + prependOnceListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; + prependOnceListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; + prependOnceListener(event: "warning", listener: WarningListener): this; + prependOnceListener(event: "message", listener: MessageListener): this; + prependOnceListener(event: Signals, listener: SignalsListener): this; + prependOnceListener(event: "multipleResolves", listener: MultipleResolveListener): this; + prependOnceListener(event: "worker", listener: WorkerListener): this; + listeners(event: "beforeExit"): BeforeExitListener[]; + listeners(event: "disconnect"): DisconnectListener[]; + listeners(event: "exit"): ExitListener[]; + listeners(event: "rejectionHandled"): RejectionHandledListener[]; + listeners(event: "uncaughtException"): UncaughtExceptionListener[]; + listeners(event: "uncaughtExceptionMonitor"): UncaughtExceptionListener[]; + listeners(event: "unhandledRejection"): UnhandledRejectionListener[]; + listeners(event: "warning"): WarningListener[]; + listeners(event: "message"): MessageListener[]; + listeners(event: Signals): SignalsListener[]; + listeners(event: "multipleResolves"): MultipleResolveListener[]; + listeners(event: "worker"): WorkerListener[]; + } + } + } + export = process; +} +declare module "node:process" { + import process = require("process"); + export = process; +} diff --git a/node_modules/@types/node/punycode.d.ts b/node_modules/@types/node/punycode.d.ts new file mode 100644 index 000000000..d2fc9f9a8 --- /dev/null +++ b/node_modules/@types/node/punycode.d.ts @@ -0,0 +1,117 @@ +/** + * **The version of the punycode module bundled in Node.js is being deprecated.**In a future major version of Node.js this module will be removed. Users + * currently depending on the `punycode` module should switch to using the + * userland-provided [Punycode.js](https://github.com/bestiejs/punycode.js) module instead. For punycode-based URL + * encoding, see `url.domainToASCII` or, more generally, the `WHATWG URL API`. + * + * The `punycode` module is a bundled version of the [Punycode.js](https://github.com/bestiejs/punycode.js) module. It + * can be accessed using: + * + * ```js + * const punycode = require('punycode'); + * ``` + * + * [Punycode](https://tools.ietf.org/html/rfc3492) is a character encoding scheme defined by RFC 3492 that is + * primarily intended for use in Internationalized Domain Names. Because host + * names in URLs are limited to ASCII characters only, Domain Names that contain + * non-ASCII characters must be converted into ASCII using the Punycode scheme. + * For instance, the Japanese character that translates into the English word,`'example'` is `'例'`. The Internationalized Domain Name, `'例.com'` (equivalent + * to `'example.com'`) is represented by Punycode as the ASCII string`'xn--fsq.com'`. + * + * The `punycode` module provides a simple implementation of the Punycode standard. + * + * The `punycode` module is a third-party dependency used by Node.js and + * made available to developers as a convenience. Fixes or other modifications to + * the module must be directed to the [Punycode.js](https://github.com/bestiejs/punycode.js) project. + * @deprecated Since v7.0.0 - Deprecated + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/punycode.js) + */ +declare module "punycode" { + /** + * The `punycode.decode()` method converts a [Punycode](https://tools.ietf.org/html/rfc3492) string of ASCII-only + * characters to the equivalent string of Unicode codepoints. + * + * ```js + * punycode.decode('maana-pta'); // 'mañana' + * punycode.decode('--dqo34k'); // '☃-⌘' + * ``` + * @since v0.5.1 + */ + function decode(string: string): string; + /** + * The `punycode.encode()` method converts a string of Unicode codepoints to a [Punycode](https://tools.ietf.org/html/rfc3492) string of ASCII-only characters. + * + * ```js + * punycode.encode('mañana'); // 'maana-pta' + * punycode.encode('☃-⌘'); // '--dqo34k' + * ``` + * @since v0.5.1 + */ + function encode(string: string): string; + /** + * The `punycode.toUnicode()` method converts a string representing a domain name + * containing [Punycode](https://tools.ietf.org/html/rfc3492) encoded characters into Unicode. Only the [Punycode](https://tools.ietf.org/html/rfc3492) encoded parts of the domain name are be + * converted. + * + * ```js + * // decode domain names + * punycode.toUnicode('xn--maana-pta.com'); // 'mañana.com' + * punycode.toUnicode('xn----dqo34k.com'); // '☃-⌘.com' + * punycode.toUnicode('example.com'); // 'example.com' + * ``` + * @since v0.6.1 + */ + function toUnicode(domain: string): string; + /** + * The `punycode.toASCII()` method converts a Unicode string representing an + * Internationalized Domain Name to [Punycode](https://tools.ietf.org/html/rfc3492). Only the non-ASCII parts of the + * domain name will be converted. Calling `punycode.toASCII()` on a string that + * already only contains ASCII characters will have no effect. + * + * ```js + * // encode domain names + * punycode.toASCII('mañana.com'); // 'xn--maana-pta.com' + * punycode.toASCII('☃-⌘.com'); // 'xn----dqo34k.com' + * punycode.toASCII('example.com'); // 'example.com' + * ``` + * @since v0.6.1 + */ + function toASCII(domain: string): string; + /** + * @deprecated since v7.0.0 + * The version of the punycode module bundled in Node.js is being deprecated. + * In a future major version of Node.js this module will be removed. + * Users currently depending on the punycode module should switch to using + * the userland-provided Punycode.js module instead. + */ + const ucs2: ucs2; + interface ucs2 { + /** + * @deprecated since v7.0.0 + * The version of the punycode module bundled in Node.js is being deprecated. + * In a future major version of Node.js this module will be removed. + * Users currently depending on the punycode module should switch to using + * the userland-provided Punycode.js module instead. + */ + decode(string: string): number[]; + /** + * @deprecated since v7.0.0 + * The version of the punycode module bundled in Node.js is being deprecated. + * In a future major version of Node.js this module will be removed. + * Users currently depending on the punycode module should switch to using + * the userland-provided Punycode.js module instead. + */ + encode(codePoints: readonly number[]): string; + } + /** + * @deprecated since v7.0.0 + * The version of the punycode module bundled in Node.js is being deprecated. + * In a future major version of Node.js this module will be removed. + * Users currently depending on the punycode module should switch to using + * the userland-provided Punycode.js module instead. + */ + const version: string; +} +declare module "node:punycode" { + export * from "punycode"; +} diff --git a/node_modules/@types/node/querystring.d.ts b/node_modules/@types/node/querystring.d.ts new file mode 100644 index 000000000..54ecc967f --- /dev/null +++ b/node_modules/@types/node/querystring.d.ts @@ -0,0 +1,141 @@ +/** + * The `node:querystring` module provides utilities for parsing and formatting URL + * query strings. It can be accessed using: + * + * ```js + * const querystring = require('node:querystring'); + * ``` + * + * `querystring` is more performant than `URLSearchParams` but is not a + * standardized API. Use `URLSearchParams` when performance is not critical or + * when compatibility with browser code is desirable. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/querystring.js) + */ +declare module "querystring" { + interface StringifyOptions { + encodeURIComponent?: ((str: string) => string) | undefined; + } + interface ParseOptions { + maxKeys?: number | undefined; + decodeURIComponent?: ((str: string) => string) | undefined; + } + interface ParsedUrlQuery extends NodeJS.Dict {} + interface ParsedUrlQueryInput extends + NodeJS.Dict< + | string + | number + | boolean + | readonly string[] + | readonly number[] + | readonly boolean[] + | null + > + {} + /** + * The `querystring.stringify()` method produces a URL query string from a + * given `obj` by iterating through the object's "own properties". + * + * It serializes the following types of values passed in `obj`:[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | + * [number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) | + * [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) | + * [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | + * [string\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | + * [number\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) | + * [bigint\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) | + * [boolean\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) The numeric values must be finite. Any other input values will be coerced to + * empty strings. + * + * ```js + * querystring.stringify({ foo: 'bar', baz: ['qux', 'quux'], corge: '' }); + * // Returns 'foo=bar&baz=qux&baz=quux&corge=' + * + * querystring.stringify({ foo: 'bar', baz: 'qux' }, ';', ':'); + * // Returns 'foo:bar;baz:qux' + * ``` + * + * By default, characters requiring percent-encoding within the query string will + * be encoded as UTF-8\. If an alternative encoding is required, then an alternative`encodeURIComponent` option will need to be specified: + * + * ```js + * // Assuming gbkEncodeURIComponent function already exists, + * + * querystring.stringify({ w: '中文', foo: 'bar' }, null, null, + * { encodeURIComponent: gbkEncodeURIComponent }); + * ``` + * @since v0.1.25 + * @param obj The object to serialize into a URL query string + * @param [sep='&'] The substring used to delimit key and value pairs in the query string. + * @param [eq='='] . The substring used to delimit keys and values in the query string. + */ + function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string; + /** + * The `querystring.parse()` method parses a URL query string (`str`) into a + * collection of key and value pairs. + * + * For example, the query string `'foo=bar&abc=xyz&abc=123'` is parsed into: + * + * ```js + * { + * foo: 'bar', + * abc: ['xyz', '123'] + * } + * ``` + * + * The object returned by the `querystring.parse()` method _does not_prototypically inherit from the JavaScript `Object`. This means that typical`Object` methods such as `obj.toString()`, + * `obj.hasOwnProperty()`, and others + * are not defined and _will not work_. + * + * By default, percent-encoded characters within the query string will be assumed + * to use UTF-8 encoding. If an alternative character encoding is used, then an + * alternative `decodeURIComponent` option will need to be specified: + * + * ```js + * // Assuming gbkDecodeURIComponent function already exists... + * + * querystring.parse('w=%D6%D0%CE%C4&foo=bar', null, null, + * { decodeURIComponent: gbkDecodeURIComponent }); + * ``` + * @since v0.1.25 + * @param str The URL query string to parse + * @param [sep='&'] The substring used to delimit key and value pairs in the query string. + * @param [eq='='] . The substring used to delimit keys and values in the query string. + */ + function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery; + /** + * The querystring.encode() function is an alias for querystring.stringify(). + */ + const encode: typeof stringify; + /** + * The querystring.decode() function is an alias for querystring.parse(). + */ + const decode: typeof parse; + /** + * The `querystring.escape()` method performs URL percent-encoding on the given`str` in a manner that is optimized for the specific requirements of URL + * query strings. + * + * The `querystring.escape()` method is used by `querystring.stringify()` and is + * generally not expected to be used directly. It is exported primarily to allow + * application code to provide a replacement percent-encoding implementation if + * necessary by assigning `querystring.escape` to an alternative function. + * @since v0.1.25 + */ + function escape(str: string): string; + /** + * The `querystring.unescape()` method performs decoding of URL percent-encoded + * characters on the given `str`. + * + * The `querystring.unescape()` method is used by `querystring.parse()` and is + * generally not expected to be used directly. It is exported primarily to allow + * application code to provide a replacement decoding implementation if + * necessary by assigning `querystring.unescape` to an alternative function. + * + * By default, the `querystring.unescape()` method will attempt to use the + * JavaScript built-in `decodeURIComponent()` method to decode. If that fails, + * a safer equivalent that does not throw on malformed URLs will be used. + * @since v0.1.25 + */ + function unescape(str: string): string; +} +declare module "node:querystring" { + export * from "querystring"; +} diff --git a/node_modules/@types/node/readline.d.ts b/node_modules/@types/node/readline.d.ts new file mode 100644 index 000000000..b06d58b85 --- /dev/null +++ b/node_modules/@types/node/readline.d.ts @@ -0,0 +1,539 @@ +/** + * The `node:readline` module provides an interface for reading data from a `Readable` stream (such as `process.stdin`) one line at a time. + * + * To use the promise-based APIs: + * + * ```js + * import * as readline from 'node:readline/promises'; + * ``` + * + * To use the callback and sync APIs: + * + * ```js + * import * as readline from 'node:readline'; + * ``` + * + * The following simple example illustrates the basic use of the `node:readline`module. + * + * ```js + * import * as readline from 'node:readline/promises'; + * import { stdin as input, stdout as output } from 'node:process'; + * + * const rl = readline.createInterface({ input, output }); + * + * const answer = await rl.question('What do you think of Node.js? '); + * + * console.log(`Thank you for your valuable feedback: ${answer}`); + * + * rl.close(); + * ``` + * + * Once this code is invoked, the Node.js application will not terminate until the`readline.Interface` is closed because the interface waits for data to be + * received on the `input` stream. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/readline.js) + */ +declare module "readline" { + import { Abortable, EventEmitter } from "node:events"; + import * as promises from "node:readline/promises"; + export { promises }; + export interface Key { + sequence?: string | undefined; + name?: string | undefined; + ctrl?: boolean | undefined; + meta?: boolean | undefined; + shift?: boolean | undefined; + } + /** + * Instances of the `readline.Interface` class are constructed using the`readline.createInterface()` method. Every instance is associated with a + * single `input` `Readable` stream and a single `output` `Writable` stream. + * The `output` stream is used to print prompts for user input that arrives on, + * and is read from, the `input` stream. + * @since v0.1.104 + */ + export class Interface extends EventEmitter { + readonly terminal: boolean; + /** + * The current input data being processed by node. + * + * This can be used when collecting input from a TTY stream to retrieve the + * current value that has been processed thus far, prior to the `line` event + * being emitted. Once the `line` event has been emitted, this property will + * be an empty string. + * + * Be aware that modifying the value during the instance runtime may have + * unintended consequences if `rl.cursor` is not also controlled. + * + * **If not using a TTY stream for input, use the `'line'` event.** + * + * One possible use case would be as follows: + * + * ```js + * const values = ['lorem ipsum', 'dolor sit amet']; + * const rl = readline.createInterface(process.stdin); + * const showResults = debounce(() => { + * console.log( + * '\n', + * values.filter((val) => val.startsWith(rl.line)).join(' '), + * ); + * }, 300); + * process.stdin.on('keypress', (c, k) => { + * showResults(); + * }); + * ``` + * @since v0.1.98 + */ + readonly line: string; + /** + * The cursor position relative to `rl.line`. + * + * This will track where the current cursor lands in the input string, when + * reading input from a TTY stream. The position of cursor determines the + * portion of the input string that will be modified as input is processed, + * as well as the column where the terminal caret will be rendered. + * @since v0.1.98 + */ + readonly cursor: number; + /** + * NOTE: According to the documentation: + * + * > Instances of the `readline.Interface` class are constructed using the + * > `readline.createInterface()` method. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#class-interfaceconstructor + */ + protected constructor( + input: NodeJS.ReadableStream, + output?: NodeJS.WritableStream, + completer?: Completer | AsyncCompleter, + terminal?: boolean, + ); + /** + * NOTE: According to the documentation: + * + * > Instances of the `readline.Interface` class are constructed using the + * > `readline.createInterface()` method. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#class-interfaceconstructor + */ + protected constructor(options: ReadLineOptions); + /** + * The `rl.getPrompt()` method returns the current prompt used by `rl.prompt()`. + * @since v15.3.0, v14.17.0 + * @return the current prompt string + */ + getPrompt(): string; + /** + * The `rl.setPrompt()` method sets the prompt that will be written to `output`whenever `rl.prompt()` is called. + * @since v0.1.98 + */ + setPrompt(prompt: string): void; + /** + * The `rl.prompt()` method writes the `Interface` instances configured`prompt` to a new line in `output` in order to provide a user with a new + * location at which to provide input. + * + * When called, `rl.prompt()` will resume the `input` stream if it has been + * paused. + * + * If the `Interface` was created with `output` set to `null` or`undefined` the prompt is not written. + * @since v0.1.98 + * @param preserveCursor If `true`, prevents the cursor placement from being reset to `0`. + */ + prompt(preserveCursor?: boolean): void; + /** + * The `rl.question()` method displays the `query` by writing it to the `output`, + * waits for user input to be provided on `input`, then invokes the `callback`function passing the provided input as the first argument. + * + * When called, `rl.question()` will resume the `input` stream if it has been + * paused. + * + * If the `Interface` was created with `output` set to `null` or`undefined` the `query` is not written. + * + * The `callback` function passed to `rl.question()` does not follow the typical + * pattern of accepting an `Error` object or `null` as the first argument. + * The `callback` is called with the provided answer as the only argument. + * + * An error will be thrown if calling `rl.question()` after `rl.close()`. + * + * Example usage: + * + * ```js + * rl.question('What is your favorite food? ', (answer) => { + * console.log(`Oh, so your favorite food is ${answer}`); + * }); + * ``` + * + * Using an `AbortController` to cancel a question. + * + * ```js + * const ac = new AbortController(); + * const signal = ac.signal; + * + * rl.question('What is your favorite food? ', { signal }, (answer) => { + * console.log(`Oh, so your favorite food is ${answer}`); + * }); + * + * signal.addEventListener('abort', () => { + * console.log('The food question timed out'); + * }, { once: true }); + * + * setTimeout(() => ac.abort(), 10000); + * ``` + * @since v0.3.3 + * @param query A statement or query to write to `output`, prepended to the prompt. + * @param callback A callback function that is invoked with the user's input in response to the `query`. + */ + question(query: string, callback: (answer: string) => void): void; + question(query: string, options: Abortable, callback: (answer: string) => void): void; + /** + * The `rl.pause()` method pauses the `input` stream, allowing it to be resumed + * later if necessary. + * + * Calling `rl.pause()` does not immediately pause other events (including`'line'`) from being emitted by the `Interface` instance. + * @since v0.3.4 + */ + pause(): this; + /** + * The `rl.resume()` method resumes the `input` stream if it has been paused. + * @since v0.3.4 + */ + resume(): this; + /** + * The `rl.close()` method closes the `Interface` instance and + * relinquishes control over the `input` and `output` streams. When called, + * the `'close'` event will be emitted. + * + * Calling `rl.close()` does not immediately stop other events (including `'line'`) + * from being emitted by the `Interface` instance. + * @since v0.1.98 + */ + close(): void; + /** + * The `rl.write()` method will write either `data` or a key sequence identified + * by `key` to the `output`. The `key` argument is supported only if `output` is + * a `TTY` text terminal. See `TTY keybindings` for a list of key + * combinations. + * + * If `key` is specified, `data` is ignored. + * + * When called, `rl.write()` will resume the `input` stream if it has been + * paused. + * + * If the `Interface` was created with `output` set to `null` or`undefined` the `data` and `key` are not written. + * + * ```js + * rl.write('Delete this!'); + * // Simulate Ctrl+U to delete the line written previously + * rl.write(null, { ctrl: true, name: 'u' }); + * ``` + * + * The `rl.write()` method will write the data to the `readline` `Interface`'s`input`_as if it were provided by the user_. + * @since v0.1.98 + */ + write(data: string | Buffer, key?: Key): void; + write(data: undefined | null | string | Buffer, key: Key): void; + /** + * Returns the real position of the cursor in relation to the input + * prompt + string. Long input (wrapping) strings, as well as multiple + * line prompts are included in the calculations. + * @since v13.5.0, v12.16.0 + */ + getCursorPos(): CursorPos; + /** + * events.EventEmitter + * 1. close + * 2. line + * 3. pause + * 4. resume + * 5. SIGCONT + * 6. SIGINT + * 7. SIGTSTP + * 8. history + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "line", listener: (input: string) => void): this; + addListener(event: "pause", listener: () => void): this; + addListener(event: "resume", listener: () => void): this; + addListener(event: "SIGCONT", listener: () => void): this; + addListener(event: "SIGINT", listener: () => void): this; + addListener(event: "SIGTSTP", listener: () => void): this; + addListener(event: "history", listener: (history: string[]) => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "close"): boolean; + emit(event: "line", input: string): boolean; + emit(event: "pause"): boolean; + emit(event: "resume"): boolean; + emit(event: "SIGCONT"): boolean; + emit(event: "SIGINT"): boolean; + emit(event: "SIGTSTP"): boolean; + emit(event: "history", history: string[]): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "close", listener: () => void): this; + on(event: "line", listener: (input: string) => void): this; + on(event: "pause", listener: () => void): this; + on(event: "resume", listener: () => void): this; + on(event: "SIGCONT", listener: () => void): this; + on(event: "SIGINT", listener: () => void): this; + on(event: "SIGTSTP", listener: () => void): this; + on(event: "history", listener: (history: string[]) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "line", listener: (input: string) => void): this; + once(event: "pause", listener: () => void): this; + once(event: "resume", listener: () => void): this; + once(event: "SIGCONT", listener: () => void): this; + once(event: "SIGINT", listener: () => void): this; + once(event: "SIGTSTP", listener: () => void): this; + once(event: "history", listener: (history: string[]) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "line", listener: (input: string) => void): this; + prependListener(event: "pause", listener: () => void): this; + prependListener(event: "resume", listener: () => void): this; + prependListener(event: "SIGCONT", listener: () => void): this; + prependListener(event: "SIGINT", listener: () => void): this; + prependListener(event: "SIGTSTP", listener: () => void): this; + prependListener(event: "history", listener: (history: string[]) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "line", listener: (input: string) => void): this; + prependOnceListener(event: "pause", listener: () => void): this; + prependOnceListener(event: "resume", listener: () => void): this; + prependOnceListener(event: "SIGCONT", listener: () => void): this; + prependOnceListener(event: "SIGINT", listener: () => void): this; + prependOnceListener(event: "SIGTSTP", listener: () => void): this; + prependOnceListener(event: "history", listener: (history: string[]) => void): this; + [Symbol.asyncIterator](): AsyncIterableIterator; + } + export type ReadLine = Interface; // type forwarded for backwards compatibility + export type Completer = (line: string) => CompleterResult; + export type AsyncCompleter = ( + line: string, + callback: (err?: null | Error, result?: CompleterResult) => void, + ) => void; + export type CompleterResult = [string[], string]; + export interface ReadLineOptions { + input: NodeJS.ReadableStream; + output?: NodeJS.WritableStream | undefined; + completer?: Completer | AsyncCompleter | undefined; + terminal?: boolean | undefined; + /** + * Initial list of history lines. This option makes sense + * only if `terminal` is set to `true` by the user or by an internal `output` + * check, otherwise the history caching mechanism is not initialized at all. + * @default [] + */ + history?: string[] | undefined; + historySize?: number | undefined; + prompt?: string | undefined; + crlfDelay?: number | undefined; + /** + * If `true`, when a new input line added + * to the history list duplicates an older one, this removes the older line + * from the list. + * @default false + */ + removeHistoryDuplicates?: boolean | undefined; + escapeCodeTimeout?: number | undefined; + tabSize?: number | undefined; + } + /** + * The `readline.createInterface()` method creates a new `readline.Interface`instance. + * + * ```js + * const readline = require('node:readline'); + * const rl = readline.createInterface({ + * input: process.stdin, + * output: process.stdout, + * }); + * ``` + * + * Once the `readline.Interface` instance is created, the most common case is to + * listen for the `'line'` event: + * + * ```js + * rl.on('line', (line) => { + * console.log(`Received: ${line}`); + * }); + * ``` + * + * If `terminal` is `true` for this instance then the `output` stream will get + * the best compatibility if it defines an `output.columns` property and emits + * a `'resize'` event on the `output` if or when the columns ever change + * (`process.stdout` does this automatically when it is a TTY). + * + * When creating a `readline.Interface` using `stdin` as input, the program + * will not terminate until it receives an [EOF character](https://en.wikipedia.org/wiki/End-of-file#EOF_character). To exit without + * waiting for user input, call `process.stdin.unref()`. + * @since v0.1.98 + */ + export function createInterface( + input: NodeJS.ReadableStream, + output?: NodeJS.WritableStream, + completer?: Completer | AsyncCompleter, + terminal?: boolean, + ): Interface; + export function createInterface(options: ReadLineOptions): Interface; + /** + * The `readline.emitKeypressEvents()` method causes the given `Readable` stream to begin emitting `'keypress'` events corresponding to received input. + * + * Optionally, `interface` specifies a `readline.Interface` instance for which + * autocompletion is disabled when copy-pasted input is detected. + * + * If the `stream` is a `TTY`, then it must be in raw mode. + * + * This is automatically called by any readline instance on its `input` if the`input` is a terminal. Closing the `readline` instance does not stop + * the `input` from emitting `'keypress'` events. + * + * ```js + * readline.emitKeypressEvents(process.stdin); + * if (process.stdin.isTTY) + * process.stdin.setRawMode(true); + * ``` + * + * ## Example: Tiny CLI + * + * The following example illustrates the use of `readline.Interface` class to + * implement a small command-line interface: + * + * ```js + * const readline = require('node:readline'); + * const rl = readline.createInterface({ + * input: process.stdin, + * output: process.stdout, + * prompt: 'OHAI> ', + * }); + * + * rl.prompt(); + * + * rl.on('line', (line) => { + * switch (line.trim()) { + * case 'hello': + * console.log('world!'); + * break; + * default: + * console.log(`Say what? I might have heard '${line.trim()}'`); + * break; + * } + * rl.prompt(); + * }).on('close', () => { + * console.log('Have a great day!'); + * process.exit(0); + * }); + * ``` + * + * ## Example: Read file stream line-by-Line + * + * A common use case for `readline` is to consume an input file one line at a + * time. The easiest way to do so is leveraging the `fs.ReadStream` API as + * well as a `for await...of` loop: + * + * ```js + * const fs = require('node:fs'); + * const readline = require('node:readline'); + * + * async function processLineByLine() { + * const fileStream = fs.createReadStream('input.txt'); + * + * const rl = readline.createInterface({ + * input: fileStream, + * crlfDelay: Infinity, + * }); + * // Note: we use the crlfDelay option to recognize all instances of CR LF + * // ('\r\n') in input.txt as a single line break. + * + * for await (const line of rl) { + * // Each line in input.txt will be successively available here as `line`. + * console.log(`Line from file: ${line}`); + * } + * } + * + * processLineByLine(); + * ``` + * + * Alternatively, one could use the `'line'` event: + * + * ```js + * const fs = require('node:fs'); + * const readline = require('node:readline'); + * + * const rl = readline.createInterface({ + * input: fs.createReadStream('sample.txt'), + * crlfDelay: Infinity, + * }); + * + * rl.on('line', (line) => { + * console.log(`Line from file: ${line}`); + * }); + * ``` + * + * Currently, `for await...of` loop can be a bit slower. If `async` / `await`flow and speed are both essential, a mixed approach can be applied: + * + * ```js + * const { once } = require('node:events'); + * const { createReadStream } = require('node:fs'); + * const { createInterface } = require('node:readline'); + * + * (async function processLineByLine() { + * try { + * const rl = createInterface({ + * input: createReadStream('big-file.txt'), + * crlfDelay: Infinity, + * }); + * + * rl.on('line', (line) => { + * // Process the line. + * }); + * + * await once(rl, 'close'); + * + * console.log('File processed.'); + * } catch (err) { + * console.error(err); + * } + * })(); + * ``` + * @since v0.7.7 + */ + export function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void; + export type Direction = -1 | 0 | 1; + export interface CursorPos { + rows: number; + cols: number; + } + /** + * The `readline.clearLine()` method clears current line of given `TTY` stream + * in a specified direction identified by `dir`. + * @since v0.7.7 + * @param callback Invoked once the operation completes. + * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. + */ + export function clearLine(stream: NodeJS.WritableStream, dir: Direction, callback?: () => void): boolean; + /** + * The `readline.clearScreenDown()` method clears the given `TTY` stream from + * the current position of the cursor down. + * @since v0.7.7 + * @param callback Invoked once the operation completes. + * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. + */ + export function clearScreenDown(stream: NodeJS.WritableStream, callback?: () => void): boolean; + /** + * The `readline.cursorTo()` method moves cursor to the specified position in a + * given `TTY` `stream`. + * @since v0.7.7 + * @param callback Invoked once the operation completes. + * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. + */ + export function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number, callback?: () => void): boolean; + /** + * The `readline.moveCursor()` method moves the cursor _relative_ to its current + * position in a given `TTY` `stream`. + * @since v0.7.7 + * @param callback Invoked once the operation completes. + * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. + */ + export function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean; +} +declare module "node:readline" { + export * from "readline"; +} diff --git a/node_modules/@types/node/readline/promises.d.ts b/node_modules/@types/node/readline/promises.d.ts new file mode 100644 index 000000000..73fb1115d --- /dev/null +++ b/node_modules/@types/node/readline/promises.d.ts @@ -0,0 +1,150 @@ +/** + * @since v17.0.0 + * @experimental + */ +declare module "readline/promises" { + import { AsyncCompleter, Completer, Direction, Interface as _Interface, ReadLineOptions } from "node:readline"; + import { Abortable } from "node:events"; + /** + * Instances of the `readlinePromises.Interface` class are constructed using the`readlinePromises.createInterface()` method. Every instance is associated with a + * single `input` `Readable` stream and a single `output` `Writable` stream. + * The `output` stream is used to print prompts for user input that arrives on, + * and is read from, the `input` stream. + * @since v17.0.0 + */ + class Interface extends _Interface { + /** + * The `rl.question()` method displays the `query` by writing it to the `output`, + * waits for user input to be provided on `input`, then invokes the `callback`function passing the provided input as the first argument. + * + * When called, `rl.question()` will resume the `input` stream if it has been + * paused. + * + * If the `Interface` was created with `output` set to `null` or`undefined` the `query` is not written. + * + * If the question is called after `rl.close()`, it returns a rejected promise. + * + * Example usage: + * + * ```js + * const answer = await rl.question('What is your favorite food? '); + * console.log(`Oh, so your favorite food is ${answer}`); + * ``` + * + * Using an `AbortSignal` to cancel a question. + * + * ```js + * const signal = AbortSignal.timeout(10_000); + * + * signal.addEventListener('abort', () => { + * console.log('The food question timed out'); + * }, { once: true }); + * + * const answer = await rl.question('What is your favorite food? ', { signal }); + * console.log(`Oh, so your favorite food is ${answer}`); + * ``` + * @since v17.0.0 + * @param query A statement or query to write to `output`, prepended to the prompt. + * @return A promise that is fulfilled with the user's input in response to the `query`. + */ + question(query: string): Promise; + question(query: string, options: Abortable): Promise; + } + /** + * @since v17.0.0 + */ + class Readline { + /** + * @param stream A TTY stream. + */ + constructor( + stream: NodeJS.WritableStream, + options?: { + autoCommit?: boolean; + }, + ); + /** + * The `rl.clearLine()` method adds to the internal list of pending action an + * action that clears current line of the associated `stream` in a specified + * direction identified by `dir`. + * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. + * @since v17.0.0 + * @return this + */ + clearLine(dir: Direction): this; + /** + * The `rl.clearScreenDown()` method adds to the internal list of pending action an + * action that clears the associated stream from the current position of the + * cursor down. + * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. + * @since v17.0.0 + * @return this + */ + clearScreenDown(): this; + /** + * The `rl.commit()` method sends all the pending actions to the associated`stream` and clears the internal list of pending actions. + * @since v17.0.0 + */ + commit(): Promise; + /** + * The `rl.cursorTo()` method adds to the internal list of pending action an action + * that moves cursor to the specified position in the associated `stream`. + * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. + * @since v17.0.0 + * @return this + */ + cursorTo(x: number, y?: number): this; + /** + * The `rl.moveCursor()` method adds to the internal list of pending action an + * action that moves the cursor _relative_ to its current position in the + * associated `stream`. + * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. + * @since v17.0.0 + * @return this + */ + moveCursor(dx: number, dy: number): this; + /** + * The `rl.rollback` methods clears the internal list of pending actions without + * sending it to the associated `stream`. + * @since v17.0.0 + * @return this + */ + rollback(): this; + } + /** + * The `readlinePromises.createInterface()` method creates a new `readlinePromises.Interface`instance. + * + * ```js + * const readlinePromises = require('node:readline/promises'); + * const rl = readlinePromises.createInterface({ + * input: process.stdin, + * output: process.stdout, + * }); + * ``` + * + * Once the `readlinePromises.Interface` instance is created, the most common case + * is to listen for the `'line'` event: + * + * ```js + * rl.on('line', (line) => { + * console.log(`Received: ${line}`); + * }); + * ``` + * + * If `terminal` is `true` for this instance then the `output` stream will get + * the best compatibility if it defines an `output.columns` property and emits + * a `'resize'` event on the `output` if or when the columns ever change + * (`process.stdout` does this automatically when it is a TTY). + * @since v17.0.0 + */ + function createInterface( + input: NodeJS.ReadableStream, + output?: NodeJS.WritableStream, + completer?: Completer | AsyncCompleter, + terminal?: boolean, + ): Interface; + function createInterface(options: ReadLineOptions): Interface; +} +declare module "node:readline/promises" { + export * from "readline/promises"; +} diff --git a/node_modules/@types/node/repl.d.ts b/node_modules/@types/node/repl.d.ts new file mode 100644 index 000000000..6c5f81b39 --- /dev/null +++ b/node_modules/@types/node/repl.d.ts @@ -0,0 +1,430 @@ +/** + * The `node:repl` module provides a Read-Eval-Print-Loop (REPL) implementation + * that is available both as a standalone program or includible in other + * applications. It can be accessed using: + * + * ```js + * const repl = require('node:repl'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/repl.js) + */ +declare module "repl" { + import { AsyncCompleter, Completer, Interface } from "node:readline"; + import { Context } from "node:vm"; + import { InspectOptions } from "node:util"; + interface ReplOptions { + /** + * The input prompt to display. + * @default "> " + */ + prompt?: string | undefined; + /** + * The `Readable` stream from which REPL input will be read. + * @default process.stdin + */ + input?: NodeJS.ReadableStream | undefined; + /** + * The `Writable` stream to which REPL output will be written. + * @default process.stdout + */ + output?: NodeJS.WritableStream | undefined; + /** + * If `true`, specifies that the output should be treated as a TTY terminal, and have + * ANSI/VT100 escape codes written to it. + * Default: checking the value of the `isTTY` property on the output stream upon + * instantiation. + */ + terminal?: boolean | undefined; + /** + * The function to be used when evaluating each given line of input. + * Default: an async wrapper for the JavaScript `eval()` function. An `eval` function can + * error with `repl.Recoverable` to indicate the input was incomplete and prompt for + * additional lines. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_default_evaluation + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_custom_evaluation_functions + */ + eval?: REPLEval | undefined; + /** + * Defines if the repl prints output previews or not. + * @default `true` Always `false` in case `terminal` is falsy. + */ + preview?: boolean | undefined; + /** + * If `true`, specifies that the default `writer` function should include ANSI color + * styling to REPL output. If a custom `writer` function is provided then this has no + * effect. + * Default: the REPL instance's `terminal` value. + */ + useColors?: boolean | undefined; + /** + * If `true`, specifies that the default evaluation function will use the JavaScript + * `global` as the context as opposed to creating a new separate context for the REPL + * instance. The node CLI REPL sets this value to `true`. + * Default: `false`. + */ + useGlobal?: boolean | undefined; + /** + * If `true`, specifies that the default writer will not output the return value of a + * command if it evaluates to `undefined`. + * Default: `false`. + */ + ignoreUndefined?: boolean | undefined; + /** + * The function to invoke to format the output of each command before writing to `output`. + * Default: a wrapper for `util.inspect`. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_customizing_repl_output + */ + writer?: REPLWriter | undefined; + /** + * An optional function used for custom Tab auto completion. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#readline_use_of_the_completer_function + */ + completer?: Completer | AsyncCompleter | undefined; + /** + * A flag that specifies whether the default evaluator executes all JavaScript commands in + * strict mode or default (sloppy) mode. + * Accepted values are: + * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode. + * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to + * prefacing every repl statement with `'use strict'`. + */ + replMode?: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT | undefined; + /** + * Stop evaluating the current piece of code when `SIGINT` is received, i.e. `Ctrl+C` is + * pressed. This cannot be used together with a custom `eval` function. + * Default: `false`. + */ + breakEvalOnSigint?: boolean | undefined; + } + type REPLEval = ( + this: REPLServer, + evalCmd: string, + context: Context, + file: string, + cb: (err: Error | null, result: any) => void, + ) => void; + type REPLWriter = (this: REPLServer, obj: any) => string; + /** + * This is the default "writer" value, if none is passed in the REPL options, + * and it can be overridden by custom print functions. + */ + const writer: REPLWriter & { + options: InspectOptions; + }; + type REPLCommandAction = (this: REPLServer, text: string) => void; + interface REPLCommand { + /** + * Help text to be displayed when `.help` is entered. + */ + help?: string | undefined; + /** + * The function to execute, optionally accepting a single string argument. + */ + action: REPLCommandAction; + } + /** + * Instances of `repl.REPLServer` are created using the {@link start} method + * or directly using the JavaScript `new` keyword. + * + * ```js + * const repl = require('node:repl'); + * + * const options = { useColors: true }; + * + * const firstInstance = repl.start(options); + * const secondInstance = new repl.REPLServer(options); + * ``` + * @since v0.1.91 + */ + class REPLServer extends Interface { + /** + * The `vm.Context` provided to the `eval` function to be used for JavaScript + * evaluation. + */ + readonly context: Context; + /** + * @deprecated since v14.3.0 - Use `input` instead. + */ + readonly inputStream: NodeJS.ReadableStream; + /** + * @deprecated since v14.3.0 - Use `output` instead. + */ + readonly outputStream: NodeJS.WritableStream; + /** + * The `Readable` stream from which REPL input will be read. + */ + readonly input: NodeJS.ReadableStream; + /** + * The `Writable` stream to which REPL output will be written. + */ + readonly output: NodeJS.WritableStream; + /** + * The commands registered via `replServer.defineCommand()`. + */ + readonly commands: NodeJS.ReadOnlyDict; + /** + * A value indicating whether the REPL is currently in "editor mode". + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_commands_and_special_keys + */ + readonly editorMode: boolean; + /** + * A value indicating whether the `_` variable has been assigned. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable + */ + readonly underscoreAssigned: boolean; + /** + * The last evaluation result from the REPL (assigned to the `_` variable inside of the REPL). + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable + */ + readonly last: any; + /** + * A value indicating whether the `_error` variable has been assigned. + * + * @since v9.8.0 + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable + */ + readonly underscoreErrAssigned: boolean; + /** + * The last error raised inside the REPL (assigned to the `_error` variable inside of the REPL). + * + * @since v9.8.0 + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable + */ + readonly lastError: any; + /** + * Specified in the REPL options, this is the function to be used when evaluating each + * given line of input. If not specified in the REPL options, this is an async wrapper + * for the JavaScript `eval()` function. + */ + readonly eval: REPLEval; + /** + * Specified in the REPL options, this is a value indicating whether the default + * `writer` function should include ANSI color styling to REPL output. + */ + readonly useColors: boolean; + /** + * Specified in the REPL options, this is a value indicating whether the default `eval` + * function will use the JavaScript `global` as the context as opposed to creating a new + * separate context for the REPL instance. + */ + readonly useGlobal: boolean; + /** + * Specified in the REPL options, this is a value indicating whether the default `writer` + * function should output the result of a command if it evaluates to `undefined`. + */ + readonly ignoreUndefined: boolean; + /** + * Specified in the REPL options, this is the function to invoke to format the output of + * each command before writing to `outputStream`. If not specified in the REPL options, + * this will be a wrapper for `util.inspect`. + */ + readonly writer: REPLWriter; + /** + * Specified in the REPL options, this is the function to use for custom Tab auto-completion. + */ + readonly completer: Completer | AsyncCompleter; + /** + * Specified in the REPL options, this is a flag that specifies whether the default `eval` + * function should execute all JavaScript commands in strict mode or default (sloppy) mode. + * Possible values are: + * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode. + * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to + * prefacing every repl statement with `'use strict'`. + */ + readonly replMode: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT; + /** + * NOTE: According to the documentation: + * + * > Instances of `repl.REPLServer` are created using the `repl.start()` method and + * > _should not_ be created directly using the JavaScript `new` keyword. + * + * `REPLServer` cannot be subclassed due to implementation specifics in NodeJS. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_class_replserver + */ + private constructor(); + /** + * The `replServer.defineCommand()` method is used to add new `.`\-prefixed commands + * to the REPL instance. Such commands are invoked by typing a `.` followed by the`keyword`. The `cmd` is either a `Function` or an `Object` with the following + * properties: + * + * The following example shows two new commands added to the REPL instance: + * + * ```js + * const repl = require('node:repl'); + * + * const replServer = repl.start({ prompt: '> ' }); + * replServer.defineCommand('sayhello', { + * help: 'Say hello', + * action(name) { + * this.clearBufferedCommand(); + * console.log(`Hello, ${name}!`); + * this.displayPrompt(); + * }, + * }); + * replServer.defineCommand('saybye', function saybye() { + * console.log('Goodbye!'); + * this.close(); + * }); + * ``` + * + * The new commands can then be used from within the REPL instance: + * + * ```console + * > .sayhello Node.js User + * Hello, Node.js User! + * > .saybye + * Goodbye! + * ``` + * @since v0.3.0 + * @param keyword The command keyword (_without_ a leading `.` character). + * @param cmd The function to invoke when the command is processed. + */ + defineCommand(keyword: string, cmd: REPLCommandAction | REPLCommand): void; + /** + * The `replServer.displayPrompt()` method readies the REPL instance for input + * from the user, printing the configured `prompt` to a new line in the `output`and resuming the `input` to accept new input. + * + * When multi-line input is being entered, an ellipsis is printed rather than the + * 'prompt'. + * + * When `preserveCursor` is `true`, the cursor placement will not be reset to `0`. + * + * The `replServer.displayPrompt` method is primarily intended to be called from + * within the action function for commands registered using the`replServer.defineCommand()` method. + * @since v0.1.91 + */ + displayPrompt(preserveCursor?: boolean): void; + /** + * The `replServer.clearBufferedCommand()` method clears any command that has been + * buffered but not yet executed. This method is primarily intended to be + * called from within the action function for commands registered using the`replServer.defineCommand()` method. + * @since v9.0.0 + */ + clearBufferedCommand(): void; + /** + * Initializes a history log file for the REPL instance. When executing the + * Node.js binary and using the command-line REPL, a history file is initialized + * by default. However, this is not the case when creating a REPL + * programmatically. Use this method to initialize a history log file when working + * with REPL instances programmatically. + * @since v11.10.0 + * @param historyPath the path to the history file + * @param callback called when history writes are ready or upon error + */ + setupHistory(path: string, callback: (err: Error | null, repl: this) => void): void; + /** + * events.EventEmitter + * 1. close - inherited from `readline.Interface` + * 2. line - inherited from `readline.Interface` + * 3. pause - inherited from `readline.Interface` + * 4. resume - inherited from `readline.Interface` + * 5. SIGCONT - inherited from `readline.Interface` + * 6. SIGINT - inherited from `readline.Interface` + * 7. SIGTSTP - inherited from `readline.Interface` + * 8. exit + * 9. reset + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "line", listener: (input: string) => void): this; + addListener(event: "pause", listener: () => void): this; + addListener(event: "resume", listener: () => void): this; + addListener(event: "SIGCONT", listener: () => void): this; + addListener(event: "SIGINT", listener: () => void): this; + addListener(event: "SIGTSTP", listener: () => void): this; + addListener(event: "exit", listener: () => void): this; + addListener(event: "reset", listener: (context: Context) => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "close"): boolean; + emit(event: "line", input: string): boolean; + emit(event: "pause"): boolean; + emit(event: "resume"): boolean; + emit(event: "SIGCONT"): boolean; + emit(event: "SIGINT"): boolean; + emit(event: "SIGTSTP"): boolean; + emit(event: "exit"): boolean; + emit(event: "reset", context: Context): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "close", listener: () => void): this; + on(event: "line", listener: (input: string) => void): this; + on(event: "pause", listener: () => void): this; + on(event: "resume", listener: () => void): this; + on(event: "SIGCONT", listener: () => void): this; + on(event: "SIGINT", listener: () => void): this; + on(event: "SIGTSTP", listener: () => void): this; + on(event: "exit", listener: () => void): this; + on(event: "reset", listener: (context: Context) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "line", listener: (input: string) => void): this; + once(event: "pause", listener: () => void): this; + once(event: "resume", listener: () => void): this; + once(event: "SIGCONT", listener: () => void): this; + once(event: "SIGINT", listener: () => void): this; + once(event: "SIGTSTP", listener: () => void): this; + once(event: "exit", listener: () => void): this; + once(event: "reset", listener: (context: Context) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "line", listener: (input: string) => void): this; + prependListener(event: "pause", listener: () => void): this; + prependListener(event: "resume", listener: () => void): this; + prependListener(event: "SIGCONT", listener: () => void): this; + prependListener(event: "SIGINT", listener: () => void): this; + prependListener(event: "SIGTSTP", listener: () => void): this; + prependListener(event: "exit", listener: () => void): this; + prependListener(event: "reset", listener: (context: Context) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "line", listener: (input: string) => void): this; + prependOnceListener(event: "pause", listener: () => void): this; + prependOnceListener(event: "resume", listener: () => void): this; + prependOnceListener(event: "SIGCONT", listener: () => void): this; + prependOnceListener(event: "SIGINT", listener: () => void): this; + prependOnceListener(event: "SIGTSTP", listener: () => void): this; + prependOnceListener(event: "exit", listener: () => void): this; + prependOnceListener(event: "reset", listener: (context: Context) => void): this; + } + /** + * A flag passed in the REPL options. Evaluates expressions in sloppy mode. + */ + const REPL_MODE_SLOPPY: unique symbol; + /** + * A flag passed in the REPL options. Evaluates expressions in strict mode. + * This is equivalent to prefacing every repl statement with `'use strict'`. + */ + const REPL_MODE_STRICT: unique symbol; + /** + * The `repl.start()` method creates and starts a {@link REPLServer} instance. + * + * If `options` is a string, then it specifies the input prompt: + * + * ```js + * const repl = require('node:repl'); + * + * // a Unix style prompt + * repl.start('$ '); + * ``` + * @since v0.1.91 + */ + function start(options?: string | ReplOptions): REPLServer; + /** + * Indicates a recoverable error that a `REPLServer` can use to support multi-line input. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_recoverable_errors + */ + class Recoverable extends SyntaxError { + err: Error; + constructor(err: Error); + } +} +declare module "node:repl" { + export * from "repl"; +} diff --git a/node_modules/@types/node/stream.d.ts b/node_modules/@types/node/stream.d.ts new file mode 100644 index 000000000..947a0193f --- /dev/null +++ b/node_modules/@types/node/stream.d.ts @@ -0,0 +1,1701 @@ +/** + * A stream is an abstract interface for working with streaming data in Node.js. + * The `node:stream` module provides an API for implementing the stream interface. + * + * There are many stream objects provided by Node.js. For instance, a `request to an HTTP server` and `process.stdout` are both stream instances. + * + * Streams can be readable, writable, or both. All streams are instances of `EventEmitter`. + * + * To access the `node:stream` module: + * + * ```js + * const stream = require('node:stream'); + * ``` + * + * The `node:stream` module is useful for creating new types of stream instances. + * It is usually not necessary to use the `node:stream` module to consume streams. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/stream.js) + */ +declare module "stream" { + import { Abortable, EventEmitter } from "node:events"; + import { Blob as NodeBlob } from "node:buffer"; + import * as streamPromises from "node:stream/promises"; + import * as streamConsumers from "node:stream/consumers"; + import * as streamWeb from "node:stream/web"; + + type ComposeFnParam = (source: any) => void; + + class internal extends EventEmitter { + pipe( + destination: T, + options?: { + end?: boolean | undefined; + }, + ): T; + compose( + stream: T | ComposeFnParam | Iterable | AsyncIterable, + options?: { signal: AbortSignal }, + ): T; + } + import Stream = internal.Stream; + import Readable = internal.Readable; + import ReadableOptions = internal.ReadableOptions; + interface ArrayOptions { + /** the maximum concurrent invocations of `fn` to call on the stream at once. **Default: 1**. */ + concurrency?: number; + /** allows destroying the stream if the signal is aborted. */ + signal?: AbortSignal; + } + class ReadableBase extends Stream implements NodeJS.ReadableStream { + /** + * A utility method for creating Readable Streams out of iterators. + */ + static from(iterable: Iterable | AsyncIterable, options?: ReadableOptions): Readable; + /** + * Returns whether the stream has been read from or cancelled. + * @since v16.8.0 + */ + static isDisturbed(stream: Readable | NodeJS.ReadableStream): boolean; + /** + * Returns whether the stream was destroyed or errored before emitting `'end'`. + * @since v16.8.0 + * @experimental + */ + readonly readableAborted: boolean; + /** + * Is `true` if it is safe to call `readable.read()`, which means + * the stream has not been destroyed or emitted `'error'` or `'end'`. + * @since v11.4.0 + */ + readable: boolean; + /** + * Returns whether `'data'` has been emitted. + * @since v16.7.0, v14.18.0 + * @experimental + */ + readonly readableDidRead: boolean; + /** + * Getter for the property `encoding` of a given `Readable` stream. The `encoding`property can be set using the `readable.setEncoding()` method. + * @since v12.7.0 + */ + readonly readableEncoding: BufferEncoding | null; + /** + * Becomes `true` when `'end'` event is emitted. + * @since v12.9.0 + */ + readonly readableEnded: boolean; + /** + * This property reflects the current state of a `Readable` stream as described + * in the `Three states` section. + * @since v9.4.0 + */ + readonly readableFlowing: boolean | null; + /** + * Returns the value of `highWaterMark` passed when creating this `Readable`. + * @since v9.3.0 + */ + readonly readableHighWaterMark: number; + /** + * This property contains the number of bytes (or objects) in the queue + * ready to be read. The value provides introspection data regarding + * the status of the `highWaterMark`. + * @since v9.4.0 + */ + readonly readableLength: number; + /** + * Getter for the property `objectMode` of a given `Readable` stream. + * @since v12.3.0 + */ + readonly readableObjectMode: boolean; + /** + * Is `true` after `readable.destroy()` has been called. + * @since v8.0.0 + */ + destroyed: boolean; + /** + * Is `true` after `'close'` has been emitted. + * @since v18.0.0 + */ + readonly closed: boolean; + /** + * Returns error if the stream has been destroyed with an error. + * @since v18.0.0 + */ + readonly errored: Error | null; + constructor(opts?: ReadableOptions); + _construct?(callback: (error?: Error | null) => void): void; + _read(size: number): void; + /** + * The `readable.read()` method reads data out of the internal buffer and + * returns it. If no data is available to be read, `null` is returned. By default, + * the data is returned as a `Buffer` object unless an encoding has been + * specified using the `readable.setEncoding()` method or the stream is operating + * in object mode. + * + * The optional `size` argument specifies a specific number of bytes to read. If`size` bytes are not available to be read, `null` will be returned _unless_the stream has ended, in which + * case all of the data remaining in the internal + * buffer will be returned. + * + * If the `size` argument is not specified, all of the data contained in the + * internal buffer will be returned. + * + * The `size` argument must be less than or equal to 1 GiB. + * + * The `readable.read()` method should only be called on `Readable` streams + * operating in paused mode. In flowing mode, `readable.read()` is called + * automatically until the internal buffer is fully drained. + * + * ```js + * const readable = getReadableStreamSomehow(); + * + * // 'readable' may be triggered multiple times as data is buffered in + * readable.on('readable', () => { + * let chunk; + * console.log('Stream is readable (new data received in buffer)'); + * // Use a loop to make sure we read all currently available data + * while (null !== (chunk = readable.read())) { + * console.log(`Read ${chunk.length} bytes of data...`); + * } + * }); + * + * // 'end' will be triggered once when there is no more data available + * readable.on('end', () => { + * console.log('Reached end of stream.'); + * }); + * ``` + * + * Each call to `readable.read()` returns a chunk of data, or `null`. The chunks + * are not concatenated. A `while` loop is necessary to consume all data + * currently in the buffer. When reading a large file `.read()` may return `null`, + * having consumed all buffered content so far, but there is still more data to + * come not yet buffered. In this case a new `'readable'` event will be emitted + * when there is more data in the buffer. Finally the `'end'` event will be + * emitted when there is no more data to come. + * + * Therefore to read a file's whole contents from a `readable`, it is necessary + * to collect chunks across multiple `'readable'` events: + * + * ```js + * const chunks = []; + * + * readable.on('readable', () => { + * let chunk; + * while (null !== (chunk = readable.read())) { + * chunks.push(chunk); + * } + * }); + * + * readable.on('end', () => { + * const content = chunks.join(''); + * }); + * ``` + * + * A `Readable` stream in object mode will always return a single item from + * a call to `readable.read(size)`, regardless of the value of the`size` argument. + * + * If the `readable.read()` method returns a chunk of data, a `'data'` event will + * also be emitted. + * + * Calling {@link read} after the `'end'` event has + * been emitted will return `null`. No runtime error will be raised. + * @since v0.9.4 + * @param size Optional argument to specify how much data to read. + */ + read(size?: number): any; + /** + * The `readable.setEncoding()` method sets the character encoding for + * data read from the `Readable` stream. + * + * By default, no encoding is assigned and stream data will be returned as`Buffer` objects. Setting an encoding causes the stream data + * to be returned as strings of the specified encoding rather than as `Buffer`objects. For instance, calling `readable.setEncoding('utf8')` will cause the + * output data to be interpreted as UTF-8 data, and passed as strings. Calling`readable.setEncoding('hex')` will cause the data to be encoded in hexadecimal + * string format. + * + * The `Readable` stream will properly handle multi-byte characters delivered + * through the stream that would otherwise become improperly decoded if simply + * pulled from the stream as `Buffer` objects. + * + * ```js + * const readable = getReadableStreamSomehow(); + * readable.setEncoding('utf8'); + * readable.on('data', (chunk) => { + * assert.equal(typeof chunk, 'string'); + * console.log('Got %d characters of string data:', chunk.length); + * }); + * ``` + * @since v0.9.4 + * @param encoding The encoding to use. + */ + setEncoding(encoding: BufferEncoding): this; + /** + * The `readable.pause()` method will cause a stream in flowing mode to stop + * emitting `'data'` events, switching out of flowing mode. Any data that + * becomes available will remain in the internal buffer. + * + * ```js + * const readable = getReadableStreamSomehow(); + * readable.on('data', (chunk) => { + * console.log(`Received ${chunk.length} bytes of data.`); + * readable.pause(); + * console.log('There will be no additional data for 1 second.'); + * setTimeout(() => { + * console.log('Now data will start flowing again.'); + * readable.resume(); + * }, 1000); + * }); + * ``` + * + * The `readable.pause()` method has no effect if there is a `'readable'`event listener. + * @since v0.9.4 + */ + pause(): this; + /** + * The `readable.resume()` method causes an explicitly paused `Readable` stream to + * resume emitting `'data'` events, switching the stream into flowing mode. + * + * The `readable.resume()` method can be used to fully consume the data from a + * stream without actually processing any of that data: + * + * ```js + * getReadableStreamSomehow() + * .resume() + * .on('end', () => { + * console.log('Reached the end, but did not read anything.'); + * }); + * ``` + * + * The `readable.resume()` method has no effect if there is a `'readable'`event listener. + * @since v0.9.4 + */ + resume(): this; + /** + * The `readable.isPaused()` method returns the current operating state of the`Readable`. This is used primarily by the mechanism that underlies the`readable.pipe()` method. In most + * typical cases, there will be no reason to + * use this method directly. + * + * ```js + * const readable = new stream.Readable(); + * + * readable.isPaused(); // === false + * readable.pause(); + * readable.isPaused(); // === true + * readable.resume(); + * readable.isPaused(); // === false + * ``` + * @since v0.11.14 + */ + isPaused(): boolean; + /** + * The `readable.unpipe()` method detaches a `Writable` stream previously attached + * using the {@link pipe} method. + * + * If the `destination` is not specified, then _all_ pipes are detached. + * + * If the `destination` is specified, but no pipe is set up for it, then + * the method does nothing. + * + * ```js + * const fs = require('node:fs'); + * const readable = getReadableStreamSomehow(); + * const writable = fs.createWriteStream('file.txt'); + * // All the data from readable goes into 'file.txt', + * // but only for the first second. + * readable.pipe(writable); + * setTimeout(() => { + * console.log('Stop writing to file.txt.'); + * readable.unpipe(writable); + * console.log('Manually close the file stream.'); + * writable.end(); + * }, 1000); + * ``` + * @since v0.9.4 + * @param destination Optional specific stream to unpipe + */ + unpipe(destination?: NodeJS.WritableStream): this; + /** + * Passing `chunk` as `null` signals the end of the stream (EOF) and behaves the + * same as `readable.push(null)`, after which no more data can be written. The EOF + * signal is put at the end of the buffer and any buffered data will still be + * flushed. + * + * The `readable.unshift()` method pushes a chunk of data back into the internal + * buffer. This is useful in certain situations where a stream is being consumed by + * code that needs to "un-consume" some amount of data that it has optimistically + * pulled out of the source, so that the data can be passed on to some other party. + * + * The `stream.unshift(chunk)` method cannot be called after the `'end'` event + * has been emitted or a runtime error will be thrown. + * + * Developers using `stream.unshift()` often should consider switching to + * use of a `Transform` stream instead. See the `API for stream implementers` section for more information. + * + * ```js + * // Pull off a header delimited by \n\n. + * // Use unshift() if we get too much. + * // Call the callback with (error, header, stream). + * const { StringDecoder } = require('node:string_decoder'); + * function parseHeader(stream, callback) { + * stream.on('error', callback); + * stream.on('readable', onReadable); + * const decoder = new StringDecoder('utf8'); + * let header = ''; + * function onReadable() { + * let chunk; + * while (null !== (chunk = stream.read())) { + * const str = decoder.write(chunk); + * if (str.includes('\n\n')) { + * // Found the header boundary. + * const split = str.split(/\n\n/); + * header += split.shift(); + * const remaining = split.join('\n\n'); + * const buf = Buffer.from(remaining, 'utf8'); + * stream.removeListener('error', callback); + * // Remove the 'readable' listener before unshifting. + * stream.removeListener('readable', onReadable); + * if (buf.length) + * stream.unshift(buf); + * // Now the body of the message can be read from the stream. + * callback(null, header, stream); + * return; + * } + * // Still reading the header. + * header += str; + * } + * } + * } + * ``` + * + * Unlike {@link push}, `stream.unshift(chunk)` will not + * end the reading process by resetting the internal reading state of the stream. + * This can cause unexpected results if `readable.unshift()` is called during a + * read (i.e. from within a {@link _read} implementation on a + * custom stream). Following the call to `readable.unshift()` with an immediate {@link push} will reset the reading state appropriately, + * however it is best to simply avoid calling `readable.unshift()` while in the + * process of performing a read. + * @since v0.9.11 + * @param chunk Chunk of data to unshift onto the read queue. For streams not operating in object mode, `chunk` must be a string, `Buffer`, `Uint8Array`, or `null`. For object mode + * streams, `chunk` may be any JavaScript value. + * @param encoding Encoding of string chunks. Must be a valid `Buffer` encoding, such as `'utf8'` or `'ascii'`. + */ + unshift(chunk: any, encoding?: BufferEncoding): void; + /** + * Prior to Node.js 0.10, streams did not implement the entire `node:stream`module API as it is currently defined. (See `Compatibility` for more + * information.) + * + * When using an older Node.js library that emits `'data'` events and has a {@link pause} method that is advisory only, the`readable.wrap()` method can be used to create a `Readable` + * stream that uses + * the old stream as its data source. + * + * It will rarely be necessary to use `readable.wrap()` but the method has been + * provided as a convenience for interacting with older Node.js applications and + * libraries. + * + * ```js + * const { OldReader } = require('./old-api-module.js'); + * const { Readable } = require('node:stream'); + * const oreader = new OldReader(); + * const myReader = new Readable().wrap(oreader); + * + * myReader.on('readable', () => { + * myReader.read(); // etc. + * }); + * ``` + * @since v0.9.4 + * @param stream An "old style" readable stream + */ + wrap(stream: NodeJS.ReadableStream): this; + push(chunk: any, encoding?: BufferEncoding): boolean; + /** + * The iterator created by this method gives users the option to cancel the destruction + * of the stream if the `for await...of` loop is exited by `return`, `break`, or `throw`, + * or if the iterator should destroy the stream if the stream emitted an error during iteration. + * @since v16.3.0 + * @param options.destroyOnReturn When set to `false`, calling `return` on the async iterator, + * or exiting a `for await...of` iteration using a `break`, `return`, or `throw` will not destroy the stream. + * **Default: `true`**. + */ + iterator(options?: { destroyOnReturn?: boolean }): AsyncIterableIterator; + /** + * This method allows mapping over the stream. The *fn* function will be called for every chunk in the stream. + * If the *fn* function returns a promise - that promise will be `await`ed before being passed to the result stream. + * @since v17.4.0, v16.14.0 + * @param fn a function to map over every chunk in the stream. Async or not. + * @returns a stream mapped with the function *fn*. + */ + map(fn: (data: any, options?: Pick) => any, options?: ArrayOptions): Readable; + /** + * This method allows filtering the stream. For each chunk in the stream the *fn* function will be called + * and if it returns a truthy value, the chunk will be passed to the result stream. + * If the *fn* function returns a promise - that promise will be `await`ed. + * @since v17.4.0, v16.14.0 + * @param fn a function to filter chunks from the stream. Async or not. + * @returns a stream filtered with the predicate *fn*. + */ + filter( + fn: (data: any, options?: Pick) => boolean | Promise, + options?: ArrayOptions, + ): Readable; + /** + * This method allows iterating a stream. For each chunk in the stream the *fn* function will be called. + * If the *fn* function returns a promise - that promise will be `await`ed. + * + * This method is different from `for await...of` loops in that it can optionally process chunks concurrently. + * In addition, a `forEach` iteration can only be stopped by having passed a `signal` option + * and aborting the related AbortController while `for await...of` can be stopped with `break` or `return`. + * In either case the stream will be destroyed. + * + * This method is different from listening to the `'data'` event in that it uses the `readable` event + * in the underlying machinary and can limit the number of concurrent *fn* calls. + * @since v17.5.0 + * @param fn a function to call on each chunk of the stream. Async or not. + * @returns a promise for when the stream has finished. + */ + forEach( + fn: (data: any, options?: Pick) => void | Promise, + options?: ArrayOptions, + ): Promise; + /** + * This method allows easily obtaining the contents of a stream. + * + * As this method reads the entire stream into memory, it negates the benefits of streams. It's intended + * for interoperability and convenience, not as the primary way to consume streams. + * @since v17.5.0 + * @returns a promise containing an array with the contents of the stream. + */ + toArray(options?: Pick): Promise; + /** + * This method is similar to `Array.prototype.some` and calls *fn* on each chunk in the stream + * until the awaited return value is `true` (or any truthy value). Once an *fn* call on a chunk + * `await`ed return value is truthy, the stream is destroyed and the promise is fulfilled with `true`. + * If none of the *fn* calls on the chunks return a truthy value, the promise is fulfilled with `false`. + * @since v17.5.0 + * @param fn a function to call on each chunk of the stream. Async or not. + * @returns a promise evaluating to `true` if *fn* returned a truthy value for at least one of the chunks. + */ + some( + fn: (data: any, options?: Pick) => boolean | Promise, + options?: ArrayOptions, + ): Promise; + /** + * This method is similar to `Array.prototype.find` and calls *fn* on each chunk in the stream + * to find a chunk with a truthy value for *fn*. Once an *fn* call's awaited return value is truthy, + * the stream is destroyed and the promise is fulfilled with value for which *fn* returned a truthy value. + * If all of the *fn* calls on the chunks return a falsy value, the promise is fulfilled with `undefined`. + * @since v17.5.0 + * @param fn a function to call on each chunk of the stream. Async or not. + * @returns a promise evaluating to the first chunk for which *fn* evaluated with a truthy value, + * or `undefined` if no element was found. + */ + find( + fn: (data: any, options?: Pick) => data is T, + options?: ArrayOptions, + ): Promise; + find( + fn: (data: any, options?: Pick) => boolean | Promise, + options?: ArrayOptions, + ): Promise; + /** + * This method is similar to `Array.prototype.every` and calls *fn* on each chunk in the stream + * to check if all awaited return values are truthy value for *fn*. Once an *fn* call on a chunk + * `await`ed return value is falsy, the stream is destroyed and the promise is fulfilled with `false`. + * If all of the *fn* calls on the chunks return a truthy value, the promise is fulfilled with `true`. + * @since v17.5.0 + * @param fn a function to call on each chunk of the stream. Async or not. + * @returns a promise evaluating to `true` if *fn* returned a truthy value for every one of the chunks. + */ + every( + fn: (data: any, options?: Pick) => boolean | Promise, + options?: ArrayOptions, + ): Promise; + /** + * This method returns a new stream by applying the given callback to each chunk of the stream + * and then flattening the result. + * + * It is possible to return a stream or another iterable or async iterable from *fn* and the result streams + * will be merged (flattened) into the returned stream. + * @since v17.5.0 + * @param fn a function to map over every chunk in the stream. May be async. May be a stream or generator. + * @returns a stream flat-mapped with the function *fn*. + */ + flatMap(fn: (data: any, options?: Pick) => any, options?: ArrayOptions): Readable; + /** + * This method returns a new stream with the first *limit* chunks dropped from the start. + * @since v17.5.0 + * @param limit the number of chunks to drop from the readable. + * @returns a stream with *limit* chunks dropped from the start. + */ + drop(limit: number, options?: Pick): Readable; + /** + * This method returns a new stream with the first *limit* chunks. + * @since v17.5.0 + * @param limit the number of chunks to take from the readable. + * @returns a stream with *limit* chunks taken. + */ + take(limit: number, options?: Pick): Readable; + /** + * This method returns a new stream with chunks of the underlying stream paired with a counter + * in the form `[index, chunk]`. The first index value is `0` and it increases by 1 for each chunk produced. + * @since v17.5.0 + * @returns a stream of indexed pairs. + */ + asIndexedPairs(options?: Pick): Readable; + /** + * This method calls *fn* on each chunk of the stream in order, passing it the result from the calculation + * on the previous element. It returns a promise for the final value of the reduction. + * + * If no *initial* value is supplied the first chunk of the stream is used as the initial value. + * If the stream is empty, the promise is rejected with a `TypeError` with the `ERR_INVALID_ARGS` code property. + * + * The reducer function iterates the stream element-by-element which means that there is no *concurrency* parameter + * or parallelism. To perform a reduce concurrently, you can extract the async function to `readable.map` method. + * @since v17.5.0 + * @param fn a reducer function to call over every chunk in the stream. Async or not. + * @param initial the initial value to use in the reduction. + * @returns a promise for the final value of the reduction. + */ + reduce( + fn: (previous: any, data: any, options?: Pick) => T, + initial?: undefined, + options?: Pick, + ): Promise; + reduce( + fn: (previous: T, data: any, options?: Pick) => T, + initial: T, + options?: Pick, + ): Promise; + _destroy(error: Error | null, callback: (error?: Error | null) => void): void; + /** + * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'`event (unless `emitClose` is set to `false`). After this call, the readable + * stream will release any internal resources and subsequent calls to `push()`will be ignored. + * + * Once `destroy()` has been called any further calls will be a no-op and no + * further errors except from `_destroy()` may be emitted as `'error'`. + * + * Implementors should not override this method, but instead implement `readable._destroy()`. + * @since v8.0.0 + * @param error Error which will be passed as payload in `'error'` event + */ + destroy(error?: Error): this; + /** + * Event emitter + * The defined events on documents including: + * 1. close + * 2. data + * 3. end + * 4. error + * 5. pause + * 6. readable + * 7. resume + */ + addListener(event: "close", listener: () => void): this; + addListener(event: "data", listener: (chunk: any) => void): this; + addListener(event: "end", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "pause", listener: () => void): this; + addListener(event: "readable", listener: () => void): this; + addListener(event: "resume", listener: () => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "close"): boolean; + emit(event: "data", chunk: any): boolean; + emit(event: "end"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "pause"): boolean; + emit(event: "readable"): boolean; + emit(event: "resume"): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "close", listener: () => void): this; + on(event: "data", listener: (chunk: any) => void): this; + on(event: "end", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "pause", listener: () => void): this; + on(event: "readable", listener: () => void): this; + on(event: "resume", listener: () => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "data", listener: (chunk: any) => void): this; + once(event: "end", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "pause", listener: () => void): this; + once(event: "readable", listener: () => void): this; + once(event: "resume", listener: () => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "data", listener: (chunk: any) => void): this; + prependListener(event: "end", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "pause", listener: () => void): this; + prependListener(event: "readable", listener: () => void): this; + prependListener(event: "resume", listener: () => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "data", listener: (chunk: any) => void): this; + prependOnceListener(event: "end", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "pause", listener: () => void): this; + prependOnceListener(event: "readable", listener: () => void): this; + prependOnceListener(event: "resume", listener: () => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + removeListener(event: "close", listener: () => void): this; + removeListener(event: "data", listener: (chunk: any) => void): this; + removeListener(event: "end", listener: () => void): this; + removeListener(event: "error", listener: (err: Error) => void): this; + removeListener(event: "pause", listener: () => void): this; + removeListener(event: "readable", listener: () => void): this; + removeListener(event: "resume", listener: () => void): this; + removeListener(event: string | symbol, listener: (...args: any[]) => void): this; + [Symbol.asyncIterator](): AsyncIterableIterator; + /** + * Calls `readable.destroy()` with an `AbortError` and returns a promise that fulfills when the stream is finished. + * @since v20.4.0 + */ + [Symbol.asyncDispose](): Promise; + } + import WritableOptions = internal.WritableOptions; + class WritableBase extends Stream implements NodeJS.WritableStream { + /** + * Is `true` if it is safe to call `writable.write()`, which means + * the stream has not been destroyed, errored, or ended. + * @since v11.4.0 + */ + readonly writable: boolean; + /** + * Is `true` after `writable.end()` has been called. This property + * does not indicate whether the data has been flushed, for this use `writable.writableFinished` instead. + * @since v12.9.0 + */ + readonly writableEnded: boolean; + /** + * Is set to `true` immediately before the `'finish'` event is emitted. + * @since v12.6.0 + */ + readonly writableFinished: boolean; + /** + * Return the value of `highWaterMark` passed when creating this `Writable`. + * @since v9.3.0 + */ + readonly writableHighWaterMark: number; + /** + * This property contains the number of bytes (or objects) in the queue + * ready to be written. The value provides introspection data regarding + * the status of the `highWaterMark`. + * @since v9.4.0 + */ + readonly writableLength: number; + /** + * Getter for the property `objectMode` of a given `Writable` stream. + * @since v12.3.0 + */ + readonly writableObjectMode: boolean; + /** + * Number of times `writable.uncork()` needs to be + * called in order to fully uncork the stream. + * @since v13.2.0, v12.16.0 + */ + readonly writableCorked: number; + /** + * Is `true` after `writable.destroy()` has been called. + * @since v8.0.0 + */ + destroyed: boolean; + /** + * Is `true` after `'close'` has been emitted. + * @since v18.0.0 + */ + readonly closed: boolean; + /** + * Returns error if the stream has been destroyed with an error. + * @since v18.0.0 + */ + readonly errored: Error | null; + /** + * Is `true` if the stream's buffer has been full and stream will emit `'drain'`. + * @since v15.2.0, v14.17.0 + */ + readonly writableNeedDrain: boolean; + constructor(opts?: WritableOptions); + _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; + _writev?( + chunks: Array<{ + chunk: any; + encoding: BufferEncoding; + }>, + callback: (error?: Error | null) => void, + ): void; + _construct?(callback: (error?: Error | null) => void): void; + _destroy(error: Error | null, callback: (error?: Error | null) => void): void; + _final(callback: (error?: Error | null) => void): void; + /** + * The `writable.write()` method writes some data to the stream, and calls the + * supplied `callback` once the data has been fully handled. If an error + * occurs, the `callback` will be called with the error as its + * first argument. The `callback` is called asynchronously and before `'error'` is + * emitted. + * + * The return value is `true` if the internal buffer is less than the`highWaterMark` configured when the stream was created after admitting `chunk`. + * If `false` is returned, further attempts to write data to the stream should + * stop until the `'drain'` event is emitted. + * + * While a stream is not draining, calls to `write()` will buffer `chunk`, and + * return false. Once all currently buffered chunks are drained (accepted for + * delivery by the operating system), the `'drain'` event will be emitted. + * Once `write()` returns false, do not write more chunks + * until the `'drain'` event is emitted. While calling `write()` on a stream that + * is not draining is allowed, Node.js will buffer all written chunks until + * maximum memory usage occurs, at which point it will abort unconditionally. + * Even before it aborts, high memory usage will cause poor garbage collector + * performance and high RSS (which is not typically released back to the system, + * even after the memory is no longer required). Since TCP sockets may never + * drain if the remote peer does not read the data, writing a socket that is + * not draining may lead to a remotely exploitable vulnerability. + * + * Writing data while the stream is not draining is particularly + * problematic for a `Transform`, because the `Transform` streams are paused + * by default until they are piped or a `'data'` or `'readable'` event handler + * is added. + * + * If the data to be written can be generated or fetched on demand, it is + * recommended to encapsulate the logic into a `Readable` and use {@link pipe}. However, if calling `write()` is preferred, it is + * possible to respect backpressure and avoid memory issues using the `'drain'` event: + * + * ```js + * function write(data, cb) { + * if (!stream.write(data)) { + * stream.once('drain', cb); + * } else { + * process.nextTick(cb); + * } + * } + * + * // Wait for cb to be called before doing any other write. + * write('hello', () => { + * console.log('Write completed, do more writes now.'); + * }); + * ``` + * + * A `Writable` stream in object mode will always ignore the `encoding` argument. + * @since v0.9.4 + * @param chunk Optional data to write. For streams not operating in object mode, `chunk` must be a string, `Buffer` or `Uint8Array`. For object mode streams, `chunk` may be any + * JavaScript value other than `null`. + * @param [encoding='utf8'] The encoding, if `chunk` is a string. + * @param callback Callback for when this chunk of data is flushed. + * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. + */ + write(chunk: any, callback?: (error: Error | null | undefined) => void): boolean; + write(chunk: any, encoding: BufferEncoding, callback?: (error: Error | null | undefined) => void): boolean; + /** + * The `writable.setDefaultEncoding()` method sets the default `encoding` for a `Writable` stream. + * @since v0.11.15 + * @param encoding The new default encoding + */ + setDefaultEncoding(encoding: BufferEncoding): this; + /** + * Calling the `writable.end()` method signals that no more data will be written + * to the `Writable`. The optional `chunk` and `encoding` arguments allow one + * final additional chunk of data to be written immediately before closing the + * stream. + * + * Calling the {@link write} method after calling {@link end} will raise an error. + * + * ```js + * // Write 'hello, ' and then end with 'world!'. + * const fs = require('node:fs'); + * const file = fs.createWriteStream('example.txt'); + * file.write('hello, '); + * file.end('world!'); + * // Writing more now is not allowed! + * ``` + * @since v0.9.4 + * @param chunk Optional data to write. For streams not operating in object mode, `chunk` must be a string, `Buffer` or `Uint8Array`. For object mode streams, `chunk` may be any + * JavaScript value other than `null`. + * @param encoding The encoding if `chunk` is a string + * @param callback Callback for when the stream is finished. + */ + end(cb?: () => void): this; + end(chunk: any, cb?: () => void): this; + end(chunk: any, encoding: BufferEncoding, cb?: () => void): this; + /** + * The `writable.cork()` method forces all written data to be buffered in memory. + * The buffered data will be flushed when either the {@link uncork} or {@link end} methods are called. + * + * The primary intent of `writable.cork()` is to accommodate a situation in which + * several small chunks are written to the stream in rapid succession. Instead of + * immediately forwarding them to the underlying destination, `writable.cork()`buffers all the chunks until `writable.uncork()` is called, which will pass them + * all to `writable._writev()`, if present. This prevents a head-of-line blocking + * situation where data is being buffered while waiting for the first small chunk + * to be processed. However, use of `writable.cork()` without implementing`writable._writev()` may have an adverse effect on throughput. + * + * See also: `writable.uncork()`, `writable._writev()`. + * @since v0.11.2 + */ + cork(): void; + /** + * The `writable.uncork()` method flushes all data buffered since {@link cork} was called. + * + * When using `writable.cork()` and `writable.uncork()` to manage the buffering + * of writes to a stream, defer calls to `writable.uncork()` using`process.nextTick()`. Doing so allows batching of all`writable.write()` calls that occur within a given Node.js event + * loop phase. + * + * ```js + * stream.cork(); + * stream.write('some '); + * stream.write('data '); + * process.nextTick(() => stream.uncork()); + * ``` + * + * If the `writable.cork()` method is called multiple times on a stream, the + * same number of calls to `writable.uncork()` must be called to flush the buffered + * data. + * + * ```js + * stream.cork(); + * stream.write('some '); + * stream.cork(); + * stream.write('data '); + * process.nextTick(() => { + * stream.uncork(); + * // The data will not be flushed until uncork() is called a second time. + * stream.uncork(); + * }); + * ``` + * + * See also: `writable.cork()`. + * @since v0.11.2 + */ + uncork(): void; + /** + * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'`event (unless `emitClose` is set to `false`). After this call, the writable + * stream has ended and subsequent calls to `write()` or `end()` will result in + * an `ERR_STREAM_DESTROYED` error. + * This is a destructive and immediate way to destroy a stream. Previous calls to`write()` may not have drained, and may trigger an `ERR_STREAM_DESTROYED` error. + * Use `end()` instead of destroy if data should flush before close, or wait for + * the `'drain'` event before destroying the stream. + * + * Once `destroy()` has been called any further calls will be a no-op and no + * further errors except from `_destroy()` may be emitted as `'error'`. + * + * Implementors should not override this method, + * but instead implement `writable._destroy()`. + * @since v8.0.0 + * @param error Optional, an error to emit with `'error'` event. + */ + destroy(error?: Error): this; + /** + * Event emitter + * The defined events on documents including: + * 1. close + * 2. drain + * 3. error + * 4. finish + * 5. pipe + * 6. unpipe + */ + addListener(event: "close", listener: () => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "finish", listener: () => void): this; + addListener(event: "pipe", listener: (src: Readable) => void): this; + addListener(event: "unpipe", listener: (src: Readable) => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "close"): boolean; + emit(event: "drain"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "finish"): boolean; + emit(event: "pipe", src: Readable): boolean; + emit(event: "unpipe", src: Readable): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "close", listener: () => void): this; + on(event: "drain", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "finish", listener: () => void): this; + on(event: "pipe", listener: (src: Readable) => void): this; + on(event: "unpipe", listener: (src: Readable) => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "drain", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "finish", listener: () => void): this; + once(event: "pipe", listener: (src: Readable) => void): this; + once(event: "unpipe", listener: (src: Readable) => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "finish", listener: () => void): this; + prependListener(event: "pipe", listener: (src: Readable) => void): this; + prependListener(event: "unpipe", listener: (src: Readable) => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "finish", listener: () => void): this; + prependOnceListener(event: "pipe", listener: (src: Readable) => void): this; + prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + removeListener(event: "close", listener: () => void): this; + removeListener(event: "drain", listener: () => void): this; + removeListener(event: "error", listener: (err: Error) => void): this; + removeListener(event: "finish", listener: () => void): this; + removeListener(event: "pipe", listener: (src: Readable) => void): this; + removeListener(event: "unpipe", listener: (src: Readable) => void): this; + removeListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + namespace internal { + class Stream extends internal { + constructor(opts?: ReadableOptions); + } + interface StreamOptions extends Abortable { + emitClose?: boolean | undefined; + highWaterMark?: number | undefined; + objectMode?: boolean | undefined; + construct?(this: T, callback: (error?: Error | null) => void): void; + destroy?(this: T, error: Error | null, callback: (error?: Error | null) => void): void; + autoDestroy?: boolean | undefined; + } + interface ReadableOptions extends StreamOptions { + encoding?: BufferEncoding | undefined; + read?(this: Readable, size: number): void; + } + /** + * @since v0.9.4 + */ + class Readable extends ReadableBase { + /** + * A utility method for creating a `Readable` from a web `ReadableStream`. + * @since v17.0.0 + * @experimental + */ + static fromWeb( + readableStream: streamWeb.ReadableStream, + options?: Pick, + ): Readable; + /** + * A utility method for creating a web `ReadableStream` from a `Readable`. + * @since v17.0.0 + * @experimental + */ + static toWeb(streamReadable: Readable): streamWeb.ReadableStream; + } + interface WritableOptions extends StreamOptions { + decodeStrings?: boolean | undefined; + defaultEncoding?: BufferEncoding | undefined; + write?( + this: Writable, + chunk: any, + encoding: BufferEncoding, + callback: (error?: Error | null) => void, + ): void; + writev?( + this: Writable, + chunks: Array<{ + chunk: any; + encoding: BufferEncoding; + }>, + callback: (error?: Error | null) => void, + ): void; + final?(this: Writable, callback: (error?: Error | null) => void): void; + } + /** + * @since v0.9.4 + */ + class Writable extends WritableBase { + /** + * A utility method for creating a `Writable` from a web `WritableStream`. + * @since v17.0.0 + * @experimental + */ + static fromWeb( + writableStream: streamWeb.WritableStream, + options?: Pick, + ): Writable; + /** + * A utility method for creating a web `WritableStream` from a `Writable`. + * @since v17.0.0 + * @experimental + */ + static toWeb(streamWritable: Writable): streamWeb.WritableStream; + } + interface DuplexOptions extends ReadableOptions, WritableOptions { + allowHalfOpen?: boolean | undefined; + readableObjectMode?: boolean | undefined; + writableObjectMode?: boolean | undefined; + readableHighWaterMark?: number | undefined; + writableHighWaterMark?: number | undefined; + writableCorked?: number | undefined; + construct?(this: Duplex, callback: (error?: Error | null) => void): void; + read?(this: Duplex, size: number): void; + write?(this: Duplex, chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; + writev?( + this: Duplex, + chunks: Array<{ + chunk: any; + encoding: BufferEncoding; + }>, + callback: (error?: Error | null) => void, + ): void; + final?(this: Duplex, callback: (error?: Error | null) => void): void; + destroy?(this: Duplex, error: Error | null, callback: (error?: Error | null) => void): void; + } + /** + * Duplex streams are streams that implement both the `Readable` and `Writable` interfaces. + * + * Examples of `Duplex` streams include: + * + * * `TCP sockets` + * * `zlib streams` + * * `crypto streams` + * @since v0.9.4 + */ + class Duplex extends ReadableBase implements WritableBase { + readonly writable: boolean; + readonly writableEnded: boolean; + readonly writableFinished: boolean; + readonly writableHighWaterMark: number; + readonly writableLength: number; + readonly writableObjectMode: boolean; + readonly writableCorked: number; + readonly writableNeedDrain: boolean; + readonly closed: boolean; + readonly errored: Error | null; + /** + * If `false` then the stream will automatically end the writable side when the + * readable side ends. Set initially by the `allowHalfOpen` constructor option, + * which defaults to `true`. + * + * This can be changed manually to change the half-open behavior of an existing`Duplex` stream instance, but must be changed before the `'end'` event is + * emitted. + * @since v0.9.4 + */ + allowHalfOpen: boolean; + constructor(opts?: DuplexOptions); + /** + * A utility method for creating duplex streams. + * + * - `Stream` converts writable stream into writable `Duplex` and readable stream + * to `Duplex`. + * - `Blob` converts into readable `Duplex`. + * - `string` converts into readable `Duplex`. + * - `ArrayBuffer` converts into readable `Duplex`. + * - `AsyncIterable` converts into a readable `Duplex`. Cannot yield `null`. + * - `AsyncGeneratorFunction` converts into a readable/writable transform + * `Duplex`. Must take a source `AsyncIterable` as first parameter. Cannot yield + * `null`. + * - `AsyncFunction` converts into a writable `Duplex`. Must return + * either `null` or `undefined` + * - `Object ({ writable, readable })` converts `readable` and + * `writable` into `Stream` and then combines them into `Duplex` where the + * `Duplex` will write to the `writable` and read from the `readable`. + * - `Promise` converts into readable `Duplex`. Value `null` is ignored. + * + * @since v16.8.0 + */ + static from( + src: + | Stream + | NodeBlob + | ArrayBuffer + | string + | Iterable + | AsyncIterable + | AsyncGeneratorFunction + | Promise + | Object, + ): Duplex; + _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; + _writev?( + chunks: Array<{ + chunk: any; + encoding: BufferEncoding; + }>, + callback: (error?: Error | null) => void, + ): void; + _destroy(error: Error | null, callback: (error?: Error | null) => void): void; + _final(callback: (error?: Error | null) => void): void; + write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean; + write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean; + setDefaultEncoding(encoding: BufferEncoding): this; + end(cb?: () => void): this; + end(chunk: any, cb?: () => void): this; + end(chunk: any, encoding?: BufferEncoding, cb?: () => void): this; + cork(): void; + uncork(): void; + /** + * A utility method for creating a web `ReadableStream` and `WritableStream` from a `Duplex`. + * @since v17.0.0 + * @experimental + */ + static toWeb(streamDuplex: Duplex): { + readable: streamWeb.ReadableStream; + writable: streamWeb.WritableStream; + }; + /** + * A utility method for creating a `Duplex` from a web `ReadableStream` and `WritableStream`. + * @since v17.0.0 + * @experimental + */ + static fromWeb( + duplexStream: { + readable: streamWeb.ReadableStream; + writable: streamWeb.WritableStream; + }, + options?: Pick< + DuplexOptions, + "allowHalfOpen" | "decodeStrings" | "encoding" | "highWaterMark" | "objectMode" | "signal" + >, + ): Duplex; + /** + * Event emitter + * The defined events on documents including: + * 1. close + * 2. data + * 3. drain + * 4. end + * 5. error + * 6. finish + * 7. pause + * 8. pipe + * 9. readable + * 10. resume + * 11. unpipe + */ + addListener(event: "close", listener: () => void): this; + addListener(event: "data", listener: (chunk: any) => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "end", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "finish", listener: () => void): this; + addListener(event: "pause", listener: () => void): this; + addListener(event: "pipe", listener: (src: Readable) => void): this; + addListener(event: "readable", listener: () => void): this; + addListener(event: "resume", listener: () => void): this; + addListener(event: "unpipe", listener: (src: Readable) => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "close"): boolean; + emit(event: "data", chunk: any): boolean; + emit(event: "drain"): boolean; + emit(event: "end"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "finish"): boolean; + emit(event: "pause"): boolean; + emit(event: "pipe", src: Readable): boolean; + emit(event: "readable"): boolean; + emit(event: "resume"): boolean; + emit(event: "unpipe", src: Readable): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "close", listener: () => void): this; + on(event: "data", listener: (chunk: any) => void): this; + on(event: "drain", listener: () => void): this; + on(event: "end", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "finish", listener: () => void): this; + on(event: "pause", listener: () => void): this; + on(event: "pipe", listener: (src: Readable) => void): this; + on(event: "readable", listener: () => void): this; + on(event: "resume", listener: () => void): this; + on(event: "unpipe", listener: (src: Readable) => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "data", listener: (chunk: any) => void): this; + once(event: "drain", listener: () => void): this; + once(event: "end", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "finish", listener: () => void): this; + once(event: "pause", listener: () => void): this; + once(event: "pipe", listener: (src: Readable) => void): this; + once(event: "readable", listener: () => void): this; + once(event: "resume", listener: () => void): this; + once(event: "unpipe", listener: (src: Readable) => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "data", listener: (chunk: any) => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "end", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "finish", listener: () => void): this; + prependListener(event: "pause", listener: () => void): this; + prependListener(event: "pipe", listener: (src: Readable) => void): this; + prependListener(event: "readable", listener: () => void): this; + prependListener(event: "resume", listener: () => void): this; + prependListener(event: "unpipe", listener: (src: Readable) => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "data", listener: (chunk: any) => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "end", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "finish", listener: () => void): this; + prependOnceListener(event: "pause", listener: () => void): this; + prependOnceListener(event: "pipe", listener: (src: Readable) => void): this; + prependOnceListener(event: "readable", listener: () => void): this; + prependOnceListener(event: "resume", listener: () => void): this; + prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + removeListener(event: "close", listener: () => void): this; + removeListener(event: "data", listener: (chunk: any) => void): this; + removeListener(event: "drain", listener: () => void): this; + removeListener(event: "end", listener: () => void): this; + removeListener(event: "error", listener: (err: Error) => void): this; + removeListener(event: "finish", listener: () => void): this; + removeListener(event: "pause", listener: () => void): this; + removeListener(event: "pipe", listener: (src: Readable) => void): this; + removeListener(event: "readable", listener: () => void): this; + removeListener(event: "resume", listener: () => void): this; + removeListener(event: "unpipe", listener: (src: Readable) => void): this; + removeListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + type TransformCallback = (error?: Error | null, data?: any) => void; + interface TransformOptions extends DuplexOptions { + construct?(this: Transform, callback: (error?: Error | null) => void): void; + read?(this: Transform, size: number): void; + write?( + this: Transform, + chunk: any, + encoding: BufferEncoding, + callback: (error?: Error | null) => void, + ): void; + writev?( + this: Transform, + chunks: Array<{ + chunk: any; + encoding: BufferEncoding; + }>, + callback: (error?: Error | null) => void, + ): void; + final?(this: Transform, callback: (error?: Error | null) => void): void; + destroy?(this: Transform, error: Error | null, callback: (error?: Error | null) => void): void; + transform?(this: Transform, chunk: any, encoding: BufferEncoding, callback: TransformCallback): void; + flush?(this: Transform, callback: TransformCallback): void; + } + /** + * Transform streams are `Duplex` streams where the output is in some way + * related to the input. Like all `Duplex` streams, `Transform` streams + * implement both the `Readable` and `Writable` interfaces. + * + * Examples of `Transform` streams include: + * + * * `zlib streams` + * * `crypto streams` + * @since v0.9.4 + */ + class Transform extends Duplex { + constructor(opts?: TransformOptions); + _transform(chunk: any, encoding: BufferEncoding, callback: TransformCallback): void; + _flush(callback: TransformCallback): void; + } + /** + * The `stream.PassThrough` class is a trivial implementation of a `Transform` stream that simply passes the input bytes across to the output. Its purpose is + * primarily for examples and testing, but there are some use cases where`stream.PassThrough` is useful as a building block for novel sorts of streams. + */ + class PassThrough extends Transform {} + /** + * A stream to attach a signal to. + * + * Attaches an AbortSignal to a readable or writeable stream. This lets code + * control stream destruction using an `AbortController`. + * + * Calling `abort` on the `AbortController` corresponding to the passed`AbortSignal` will behave the same way as calling `.destroy(new AbortError())`on the stream, and `controller.error(new + * AbortError())` for webstreams. + * + * ```js + * const fs = require('node:fs'); + * + * const controller = new AbortController(); + * const read = addAbortSignal( + * controller.signal, + * fs.createReadStream(('object.json')), + * ); + * // Later, abort the operation closing the stream + * controller.abort(); + * ``` + * + * Or using an `AbortSignal` with a readable stream as an async iterable: + * + * ```js + * const controller = new AbortController(); + * setTimeout(() => controller.abort(), 10_000); // set a timeout + * const stream = addAbortSignal( + * controller.signal, + * fs.createReadStream(('object.json')), + * ); + * (async () => { + * try { + * for await (const chunk of stream) { + * await process(chunk); + * } + * } catch (e) { + * if (e.name === 'AbortError') { + * // The operation was cancelled + * } else { + * throw e; + * } + * } + * })(); + * ``` + * + * Or using an `AbortSignal` with a ReadableStream: + * + * ```js + * const controller = new AbortController(); + * const rs = new ReadableStream({ + * start(controller) { + * controller.enqueue('hello'); + * controller.enqueue('world'); + * controller.close(); + * }, + * }); + * + * addAbortSignal(controller.signal, rs); + * + * finished(rs, (err) => { + * if (err) { + * if (err.name === 'AbortError') { + * // The operation was cancelled + * } + * } + * }); + * + * const reader = rs.getReader(); + * + * reader.read().then(({ value, done }) => { + * console.log(value); // hello + * console.log(done); // false + * controller.abort(); + * }); + * ``` + * @since v15.4.0 + * @param signal A signal representing possible cancellation + * @param stream a stream to attach a signal to + */ + function addAbortSignal(signal: AbortSignal, stream: T): T; + /** + * Returns the default highWaterMark used by streams. + * Defaults to `16384` (16 KiB), or `16` for `objectMode`. + * @since v19.9.0 + * @param objectMode + */ + function getDefaultHighWaterMark(objectMode: boolean): number; + /** + * Sets the default highWaterMark used by streams. + * @since v19.9.0 + * @param objectMode + * @param value highWaterMark value + */ + function setDefaultHighWaterMark(objectMode: boolean, value: number): void; + interface FinishedOptions extends Abortable { + error?: boolean | undefined; + readable?: boolean | undefined; + writable?: boolean | undefined; + } + /** + * A readable and/or writable stream/webstream. + * + * A function to get notified when a stream is no longer readable, writable + * or has experienced an error or a premature close event. + * + * ```js + * const { finished } = require('node:stream'); + * const fs = require('node:fs'); + * + * const rs = fs.createReadStream('archive.tar'); + * + * finished(rs, (err) => { + * if (err) { + * console.error('Stream failed.', err); + * } else { + * console.log('Stream is done reading.'); + * } + * }); + * + * rs.resume(); // Drain the stream. + * ``` + * + * Especially useful in error handling scenarios where a stream is destroyed + * prematurely (like an aborted HTTP request), and will not emit `'end'`or `'finish'`. + * + * The `finished` API provides `promise version`. + * + * `stream.finished()` leaves dangling event listeners (in particular`'error'`, `'end'`, `'finish'` and `'close'`) after `callback` has been + * invoked. The reason for this is so that unexpected `'error'` events (due to + * incorrect stream implementations) do not cause unexpected crashes. + * If this is unwanted behavior then the returned cleanup function needs to be + * invoked in the callback: + * + * ```js + * const cleanup = finished(rs, (err) => { + * cleanup(); + * // ... + * }); + * ``` + * @since v10.0.0 + * @param stream A readable and/or writable stream. + * @param callback A callback function that takes an optional error argument. + * @return A cleanup function which removes all registered listeners. + */ + function finished( + stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, + options: FinishedOptions, + callback: (err?: NodeJS.ErrnoException | null) => void, + ): () => void; + function finished( + stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, + callback: (err?: NodeJS.ErrnoException | null) => void, + ): () => void; + namespace finished { + function __promisify__( + stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, + options?: FinishedOptions, + ): Promise; + } + type PipelineSourceFunction = () => Iterable | AsyncIterable; + type PipelineSource = Iterable | AsyncIterable | NodeJS.ReadableStream | PipelineSourceFunction; + type PipelineTransform, U> = + | NodeJS.ReadWriteStream + | (( + source: S extends (...args: any[]) => Iterable | AsyncIterable ? AsyncIterable + : S, + ) => AsyncIterable); + type PipelineTransformSource = PipelineSource | PipelineTransform; + type PipelineDestinationIterableFunction = (source: AsyncIterable) => AsyncIterable; + type PipelineDestinationPromiseFunction = (source: AsyncIterable) => Promise

    ; + type PipelineDestination, P> = S extends + PipelineTransformSource ? + | NodeJS.WritableStream + | PipelineDestinationIterableFunction + | PipelineDestinationPromiseFunction + : never; + type PipelineCallback> = S extends + PipelineDestinationPromiseFunction ? (err: NodeJS.ErrnoException | null, value: P) => void + : (err: NodeJS.ErrnoException | null) => void; + type PipelinePromise> = S extends + PipelineDestinationPromiseFunction ? Promise

    : Promise; + interface PipelineOptions { + signal?: AbortSignal | undefined; + end?: boolean | undefined; + } + /** + * A module method to pipe between streams and generators forwarding errors and + * properly cleaning up and provide a callback when the pipeline is complete. + * + * ```js + * const { pipeline } = require('node:stream'); + * const fs = require('node:fs'); + * const zlib = require('node:zlib'); + * + * // Use the pipeline API to easily pipe a series of streams + * // together and get notified when the pipeline is fully done. + * + * // A pipeline to gzip a potentially huge tar file efficiently: + * + * pipeline( + * fs.createReadStream('archive.tar'), + * zlib.createGzip(), + * fs.createWriteStream('archive.tar.gz'), + * (err) => { + * if (err) { + * console.error('Pipeline failed.', err); + * } else { + * console.log('Pipeline succeeded.'); + * } + * }, + * ); + * ``` + * + * The `pipeline` API provides a `promise version`. + * + * `stream.pipeline()` will call `stream.destroy(err)` on all streams except: + * + * * `Readable` streams which have emitted `'end'` or `'close'`. + * * `Writable` streams which have emitted `'finish'` or `'close'`. + * + * `stream.pipeline()` leaves dangling event listeners on the streams + * after the `callback` has been invoked. In the case of reuse of streams after + * failure, this can cause event listener leaks and swallowed errors. If the last + * stream is readable, dangling event listeners will be removed so that the last + * stream can be consumed later. + * + * `stream.pipeline()` closes all the streams when an error is raised. + * The `IncomingRequest` usage with `pipeline` could lead to an unexpected behavior + * once it would destroy the socket without sending the expected response. + * See the example below: + * + * ```js + * const fs = require('node:fs'); + * const http = require('node:http'); + * const { pipeline } = require('node:stream'); + * + * const server = http.createServer((req, res) => { + * const fileStream = fs.createReadStream('./fileNotExist.txt'); + * pipeline(fileStream, res, (err) => { + * if (err) { + * console.log(err); // No such file + * // this message can't be sent once `pipeline` already destroyed the socket + * return res.end('error!!!'); + * } + * }); + * }); + * ``` + * @since v10.0.0 + * @param callback Called when the pipeline is fully done. + */ + function pipeline, B extends PipelineDestination>( + source: A, + destination: B, + callback?: PipelineCallback, + ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + destination: B, + callback?: PipelineCallback, + ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + destination: B, + callback?: PipelineCallback, + ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + T3 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + transform3: T3, + destination: B, + callback?: PipelineCallback, + ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + T3 extends PipelineTransform, + T4 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + transform3: T3, + transform4: T4, + destination: B, + callback?: PipelineCallback, + ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; + function pipeline( + streams: ReadonlyArray, + callback?: (err: NodeJS.ErrnoException | null) => void, + ): NodeJS.WritableStream; + function pipeline( + stream1: NodeJS.ReadableStream, + stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, + ...streams: Array< + NodeJS.ReadWriteStream | NodeJS.WritableStream | ((err: NodeJS.ErrnoException | null) => void) + > + ): NodeJS.WritableStream; + namespace pipeline { + function __promisify__, B extends PipelineDestination>( + source: A, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function __promisify__< + A extends PipelineSource, + T1 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function __promisify__< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function __promisify__< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + T3 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + transform3: T3, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function __promisify__< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + T3 extends PipelineTransform, + T4 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + transform3: T3, + transform4: T4, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function __promisify__( + streams: ReadonlyArray, + options?: PipelineOptions, + ): Promise; + function __promisify__( + stream1: NodeJS.ReadableStream, + stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, + ...streams: Array + ): Promise; + } + interface Pipe { + close(): void; + hasRef(): boolean; + ref(): void; + unref(): void; + } + /** + * Returns whether the stream has encountered an error. + * @since v17.3.0, v16.14.0 + * @experimental + */ + function isErrored(stream: Readable | Writable | NodeJS.ReadableStream | NodeJS.WritableStream): boolean; + /** + * Returns whether the stream is readable. + * @since v17.4.0, v16.14.0 + * @experimental + */ + function isReadable(stream: Readable | NodeJS.ReadableStream): boolean; + const promises: typeof streamPromises; + const consumers: typeof streamConsumers; + } + export = internal; +} +declare module "node:stream" { + import stream = require("stream"); + export = stream; +} diff --git a/node_modules/@types/node/stream/consumers.d.ts b/node_modules/@types/node/stream/consumers.d.ts new file mode 100644 index 000000000..5ad9cbab9 --- /dev/null +++ b/node_modules/@types/node/stream/consumers.d.ts @@ -0,0 +1,12 @@ +declare module "stream/consumers" { + import { Blob as NodeBlob } from "node:buffer"; + import { Readable } from "node:stream"; + function buffer(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; + function text(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; + function arrayBuffer(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; + function blob(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; + function json(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; +} +declare module "node:stream/consumers" { + export * from "stream/consumers"; +} diff --git a/node_modules/@types/node/stream/promises.d.ts b/node_modules/@types/node/stream/promises.d.ts new file mode 100644 index 000000000..6eac5b715 --- /dev/null +++ b/node_modules/@types/node/stream/promises.d.ts @@ -0,0 +1,83 @@ +declare module "stream/promises" { + import { + FinishedOptions, + PipelineDestination, + PipelineOptions, + PipelinePromise, + PipelineSource, + PipelineTransform, + } from "node:stream"; + function finished( + stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, + options?: FinishedOptions, + ): Promise; + function pipeline, B extends PipelineDestination>( + source: A, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + T3 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + transform3: T3, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + T3 extends PipelineTransform, + T4 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + transform3: T3, + transform4: T4, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function pipeline( + streams: ReadonlyArray, + options?: PipelineOptions, + ): Promise; + function pipeline( + stream1: NodeJS.ReadableStream, + stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, + ...streams: Array + ): Promise; +} +declare module "node:stream/promises" { + export * from "stream/promises"; +} diff --git a/node_modules/@types/node/stream/web.d.ts b/node_modules/@types/node/stream/web.d.ts new file mode 100644 index 000000000..0d9161375 --- /dev/null +++ b/node_modules/@types/node/stream/web.d.ts @@ -0,0 +1,350 @@ +declare module "stream/web" { + // stub module, pending copy&paste from .d.ts or manual impl + // copy from lib.dom.d.ts + interface ReadableWritablePair { + readable: ReadableStream; + /** + * Provides a convenient, chainable way of piping this readable stream + * through a transform stream (or any other { writable, readable } + * pair). It simply pipes the stream into the writable side of the + * supplied pair, and returns the readable side for further use. + * + * Piping a stream will lock it for the duration of the pipe, preventing + * any other consumer from acquiring a reader. + */ + writable: WritableStream; + } + interface StreamPipeOptions { + preventAbort?: boolean; + preventCancel?: boolean; + /** + * Pipes this readable stream to a given writable stream destination. + * The way in which the piping process behaves under various error + * conditions can be customized with a number of passed options. It + * returns a promise that fulfills when the piping process completes + * successfully, or rejects if any errors were encountered. + * + * Piping a stream will lock it for the duration of the pipe, preventing + * any other consumer from acquiring a reader. + * + * Errors and closures of the source and destination streams propagate + * as follows: + * + * An error in this source readable stream will abort destination, + * unless preventAbort is truthy. The returned promise will be rejected + * with the source's error, or with any error that occurs during + * aborting the destination. + * + * An error in destination will cancel this source readable stream, + * unless preventCancel is truthy. The returned promise will be rejected + * with the destination's error, or with any error that occurs during + * canceling the source. + * + * When this source readable stream closes, destination will be closed, + * unless preventClose is truthy. The returned promise will be fulfilled + * once this process completes, unless an error is encountered while + * closing the destination, in which case it will be rejected with that + * error. + * + * If destination starts out closed or closing, this source readable + * stream will be canceled, unless preventCancel is true. The returned + * promise will be rejected with an error indicating piping to a closed + * stream failed, or with any error that occurs during canceling the + * source. + * + * The signal option can be set to an AbortSignal to allow aborting an + * ongoing pipe operation via the corresponding AbortController. In this + * case, this source readable stream will be canceled, and destination + * aborted, unless the respective options preventCancel or preventAbort + * are set. + */ + preventClose?: boolean; + signal?: AbortSignal; + } + interface ReadableStreamGenericReader { + readonly closed: Promise; + cancel(reason?: any): Promise; + } + interface ReadableStreamDefaultReadValueResult { + done: false; + value: T; + } + interface ReadableStreamDefaultReadDoneResult { + done: true; + value?: undefined; + } + type ReadableStreamController = ReadableStreamDefaultController; + type ReadableStreamDefaultReadResult = + | ReadableStreamDefaultReadValueResult + | ReadableStreamDefaultReadDoneResult; + interface ReadableStreamReadValueResult { + done: false; + value: T; + } + interface ReadableStreamReadDoneResult { + done: true; + value?: T; + } + type ReadableStreamReadResult = ReadableStreamReadValueResult | ReadableStreamReadDoneResult; + interface ReadableByteStreamControllerCallback { + (controller: ReadableByteStreamController): void | PromiseLike; + } + interface UnderlyingSinkAbortCallback { + (reason?: any): void | PromiseLike; + } + interface UnderlyingSinkCloseCallback { + (): void | PromiseLike; + } + interface UnderlyingSinkStartCallback { + (controller: WritableStreamDefaultController): any; + } + interface UnderlyingSinkWriteCallback { + (chunk: W, controller: WritableStreamDefaultController): void | PromiseLike; + } + interface UnderlyingSourceCancelCallback { + (reason?: any): void | PromiseLike; + } + interface UnderlyingSourcePullCallback { + (controller: ReadableStreamController): void | PromiseLike; + } + interface UnderlyingSourceStartCallback { + (controller: ReadableStreamController): any; + } + interface TransformerFlushCallback { + (controller: TransformStreamDefaultController): void | PromiseLike; + } + interface TransformerStartCallback { + (controller: TransformStreamDefaultController): any; + } + interface TransformerTransformCallback { + (chunk: I, controller: TransformStreamDefaultController): void | PromiseLike; + } + interface UnderlyingByteSource { + autoAllocateChunkSize?: number; + cancel?: ReadableStreamErrorCallback; + pull?: ReadableByteStreamControllerCallback; + start?: ReadableByteStreamControllerCallback; + type: "bytes"; + } + interface UnderlyingSource { + cancel?: UnderlyingSourceCancelCallback; + pull?: UnderlyingSourcePullCallback; + start?: UnderlyingSourceStartCallback; + type?: undefined; + } + interface UnderlyingSink { + abort?: UnderlyingSinkAbortCallback; + close?: UnderlyingSinkCloseCallback; + start?: UnderlyingSinkStartCallback; + type?: undefined; + write?: UnderlyingSinkWriteCallback; + } + interface ReadableStreamErrorCallback { + (reason: any): void | PromiseLike; + } + /** This Streams API interface represents a readable stream of byte data. */ + interface ReadableStream { + readonly locked: boolean; + cancel(reason?: any): Promise; + getReader(): ReadableStreamDefaultReader; + getReader(options: { mode: "byob" }): ReadableStreamBYOBReader; + pipeThrough(transform: ReadableWritablePair, options?: StreamPipeOptions): ReadableStream; + pipeTo(destination: WritableStream, options?: StreamPipeOptions): Promise; + tee(): [ReadableStream, ReadableStream]; + values(options?: { preventCancel?: boolean }): AsyncIterableIterator; + [Symbol.asyncIterator](): AsyncIterableIterator; + } + const ReadableStream: { + prototype: ReadableStream; + new(underlyingSource: UnderlyingByteSource, strategy?: QueuingStrategy): ReadableStream; + new(underlyingSource?: UnderlyingSource, strategy?: QueuingStrategy): ReadableStream; + }; + interface ReadableStreamDefaultReader extends ReadableStreamGenericReader { + read(): Promise>; + releaseLock(): void; + } + interface ReadableStreamBYOBReader extends ReadableStreamGenericReader { + read(view: T): Promise>; + releaseLock(): void; + } + const ReadableStreamDefaultReader: { + prototype: ReadableStreamDefaultReader; + new(stream: ReadableStream): ReadableStreamDefaultReader; + }; + const ReadableStreamBYOBReader: any; + const ReadableStreamBYOBRequest: any; + interface ReadableByteStreamController { + readonly byobRequest: undefined; + readonly desiredSize: number | null; + close(): void; + enqueue(chunk: ArrayBufferView): void; + error(error?: any): void; + } + const ReadableByteStreamController: { + prototype: ReadableByteStreamController; + new(): ReadableByteStreamController; + }; + interface ReadableStreamDefaultController { + readonly desiredSize: number | null; + close(): void; + enqueue(chunk?: R): void; + error(e?: any): void; + } + const ReadableStreamDefaultController: { + prototype: ReadableStreamDefaultController; + new(): ReadableStreamDefaultController; + }; + interface Transformer { + flush?: TransformerFlushCallback; + readableType?: undefined; + start?: TransformerStartCallback; + transform?: TransformerTransformCallback; + writableType?: undefined; + } + interface TransformStream { + readonly readable: ReadableStream; + readonly writable: WritableStream; + } + const TransformStream: { + prototype: TransformStream; + new( + transformer?: Transformer, + writableStrategy?: QueuingStrategy, + readableStrategy?: QueuingStrategy, + ): TransformStream; + }; + interface TransformStreamDefaultController { + readonly desiredSize: number | null; + enqueue(chunk?: O): void; + error(reason?: any): void; + terminate(): void; + } + const TransformStreamDefaultController: { + prototype: TransformStreamDefaultController; + new(): TransformStreamDefaultController; + }; + /** + * This Streams API interface provides a standard abstraction for writing + * streaming data to a destination, known as a sink. This object comes with + * built-in back pressure and queuing. + */ + interface WritableStream { + readonly locked: boolean; + abort(reason?: any): Promise; + close(): Promise; + getWriter(): WritableStreamDefaultWriter; + } + const WritableStream: { + prototype: WritableStream; + new(underlyingSink?: UnderlyingSink, strategy?: QueuingStrategy): WritableStream; + }; + /** + * This Streams API interface is the object returned by + * WritableStream.getWriter() and once created locks the < writer to the + * WritableStream ensuring that no other streams can write to the underlying + * sink. + */ + interface WritableStreamDefaultWriter { + readonly closed: Promise; + readonly desiredSize: number | null; + readonly ready: Promise; + abort(reason?: any): Promise; + close(): Promise; + releaseLock(): void; + write(chunk?: W): Promise; + } + const WritableStreamDefaultWriter: { + prototype: WritableStreamDefaultWriter; + new(stream: WritableStream): WritableStreamDefaultWriter; + }; + /** + * This Streams API interface represents a controller allowing control of a + * WritableStream's state. When constructing a WritableStream, the + * underlying sink is given a corresponding WritableStreamDefaultController + * instance to manipulate. + */ + interface WritableStreamDefaultController { + error(e?: any): void; + } + const WritableStreamDefaultController: { + prototype: WritableStreamDefaultController; + new(): WritableStreamDefaultController; + }; + interface QueuingStrategy { + highWaterMark?: number; + size?: QueuingStrategySize; + } + interface QueuingStrategySize { + (chunk?: T): number; + } + interface QueuingStrategyInit { + /** + * Creates a new ByteLengthQueuingStrategy with the provided high water + * mark. + * + * Note that the provided high water mark will not be validated ahead of + * time. Instead, if it is negative, NaN, or not a number, the resulting + * ByteLengthQueuingStrategy will cause the corresponding stream + * constructor to throw. + */ + highWaterMark: number; + } + /** + * This Streams API interface provides a built-in byte length queuing + * strategy that can be used when constructing streams. + */ + interface ByteLengthQueuingStrategy extends QueuingStrategy { + readonly highWaterMark: number; + readonly size: QueuingStrategySize; + } + const ByteLengthQueuingStrategy: { + prototype: ByteLengthQueuingStrategy; + new(init: QueuingStrategyInit): ByteLengthQueuingStrategy; + }; + /** + * This Streams API interface provides a built-in byte length queuing + * strategy that can be used when constructing streams. + */ + interface CountQueuingStrategy extends QueuingStrategy { + readonly highWaterMark: number; + readonly size: QueuingStrategySize; + } + const CountQueuingStrategy: { + prototype: CountQueuingStrategy; + new(init: QueuingStrategyInit): CountQueuingStrategy; + }; + interface TextEncoderStream { + /** Returns "utf-8". */ + readonly encoding: "utf-8"; + readonly readable: ReadableStream; + readonly writable: WritableStream; + readonly [Symbol.toStringTag]: string; + } + const TextEncoderStream: { + prototype: TextEncoderStream; + new(): TextEncoderStream; + }; + interface TextDecoderOptions { + fatal?: boolean; + ignoreBOM?: boolean; + } + type BufferSource = ArrayBufferView | ArrayBuffer; + interface TextDecoderStream { + /** Returns encoding's name, lower cased. */ + readonly encoding: string; + /** Returns `true` if error mode is "fatal", and `false` otherwise. */ + readonly fatal: boolean; + /** Returns `true` if ignore BOM flag is set, and `false` otherwise. */ + readonly ignoreBOM: boolean; + readonly readable: ReadableStream; + readonly writable: WritableStream; + readonly [Symbol.toStringTag]: string; + } + const TextDecoderStream: { + prototype: TextDecoderStream; + new(label?: string, options?: TextDecoderOptions): TextDecoderStream; + }; +} +declare module "node:stream/web" { + export * from "stream/web"; +} diff --git a/node_modules/@types/node/string_decoder.d.ts b/node_modules/@types/node/string_decoder.d.ts new file mode 100644 index 000000000..b8691e1f0 --- /dev/null +++ b/node_modules/@types/node/string_decoder.d.ts @@ -0,0 +1,67 @@ +/** + * The `node:string_decoder` module provides an API for decoding `Buffer` objects + * into strings in a manner that preserves encoded multi-byte UTF-8 and UTF-16 + * characters. It can be accessed using: + * + * ```js + * const { StringDecoder } = require('node:string_decoder'); + * ``` + * + * The following example shows the basic use of the `StringDecoder` class. + * + * ```js + * const { StringDecoder } = require('node:string_decoder'); + * const decoder = new StringDecoder('utf8'); + * + * const cent = Buffer.from([0xC2, 0xA2]); + * console.log(decoder.write(cent)); // Prints: ¢ + * + * const euro = Buffer.from([0xE2, 0x82, 0xAC]); + * console.log(decoder.write(euro)); // Prints: € + * ``` + * + * When a `Buffer` instance is written to the `StringDecoder` instance, an + * internal buffer is used to ensure that the decoded string does not contain + * any incomplete multibyte characters. These are held in the buffer until the + * next call to `stringDecoder.write()` or until `stringDecoder.end()` is called. + * + * In the following example, the three UTF-8 encoded bytes of the European Euro + * symbol (`€`) are written over three separate operations: + * + * ```js + * const { StringDecoder } = require('node:string_decoder'); + * const decoder = new StringDecoder('utf8'); + * + * decoder.write(Buffer.from([0xE2])); + * decoder.write(Buffer.from([0x82])); + * console.log(decoder.end(Buffer.from([0xAC]))); // Prints: € + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/string_decoder.js) + */ +declare module "string_decoder" { + class StringDecoder { + constructor(encoding?: BufferEncoding); + /** + * Returns a decoded string, ensuring that any incomplete multibyte characters at + * the end of the `Buffer`, or `TypedArray`, or `DataView` are omitted from the + * returned string and stored in an internal buffer for the next call to`stringDecoder.write()` or `stringDecoder.end()`. + * @since v0.1.99 + * @param buffer The bytes to decode. + */ + write(buffer: Buffer): string; + /** + * Returns any remaining input stored in the internal buffer as a string. Bytes + * representing incomplete UTF-8 and UTF-16 characters will be replaced with + * substitution characters appropriate for the character encoding. + * + * If the `buffer` argument is provided, one final call to `stringDecoder.write()`is performed before returning the remaining input. + * After `end()` is called, the `stringDecoder` object can be reused for new input. + * @since v0.9.3 + * @param buffer The bytes to decode. + */ + end(buffer?: Buffer): string; + } +} +declare module "node:string_decoder" { + export * from "string_decoder"; +} diff --git a/node_modules/@types/node/test.d.ts b/node_modules/@types/node/test.d.ts new file mode 100644 index 000000000..44b6a9640 --- /dev/null +++ b/node_modules/@types/node/test.d.ts @@ -0,0 +1,1382 @@ +/** + * The `node:test` module facilitates the creation of JavaScript tests. + * To access it: + * + * ```js + * import test from 'node:test'; + * ``` + * + * This module is only available under the `node:` scheme. The following will not + * work: + * + * ```js + * import test from 'test'; + * ``` + * + * Tests created via the `test` module consist of a single function that is + * processed in one of three ways: + * + * 1. A synchronous function that is considered failing if it throws an exception, + * and is considered passing otherwise. + * 2. A function that returns a `Promise` that is considered failing if the`Promise` rejects, and is considered passing if the `Promise` fulfills. + * 3. A function that receives a callback function. If the callback receives any + * truthy value as its first argument, the test is considered failing. If a + * falsy value is passed as the first argument to the callback, the test is + * considered passing. If the test function receives a callback function and + * also returns a `Promise`, the test will fail. + * + * The following example illustrates how tests are written using the`test` module. + * + * ```js + * test('synchronous passing test', (t) => { + * // This test passes because it does not throw an exception. + * assert.strictEqual(1, 1); + * }); + * + * test('synchronous failing test', (t) => { + * // This test fails because it throws an exception. + * assert.strictEqual(1, 2); + * }); + * + * test('asynchronous passing test', async (t) => { + * // This test passes because the Promise returned by the async + * // function is settled and not rejected. + * assert.strictEqual(1, 1); + * }); + * + * test('asynchronous failing test', async (t) => { + * // This test fails because the Promise returned by the async + * // function is rejected. + * assert.strictEqual(1, 2); + * }); + * + * test('failing test using Promises', (t) => { + * // Promises can be used directly as well. + * return new Promise((resolve, reject) => { + * setImmediate(() => { + * reject(new Error('this will cause the test to fail')); + * }); + * }); + * }); + * + * test('callback passing test', (t, done) => { + * // done() is the callback function. When the setImmediate() runs, it invokes + * // done() with no arguments. + * setImmediate(done); + * }); + * + * test('callback failing test', (t, done) => { + * // When the setImmediate() runs, done() is invoked with an Error object and + * // the test fails. + * setImmediate(() => { + * done(new Error('callback failure')); + * }); + * }); + * ``` + * + * If any tests fail, the process exit code is set to `1`. + * @since v18.0.0, v16.17.0 + * @see [source](https://github.com/nodejs/node/blob/v20.4.0/lib/test.js) + */ +declare module "node:test" { + import { Readable } from "node:stream"; + import { AsyncResource } from "node:async_hooks"; + /** + * ```js + * import { tap } from 'node:test/reporters'; + * import { run } from 'node:test'; + * import process from 'node:process'; + * import path from 'node:path'; + * + * run({ files: [path.resolve('./tests/test.js')] }) + * .compose(tap) + * .pipe(process.stdout); + * ``` + * @since v18.9.0, v16.19.0 + * @param options Configuration options for running tests. The following properties are supported: + */ + function run(options?: RunOptions): TestsStream; + /** + * The `test()` function is the value imported from the `test` module. Each + * invocation of this function results in reporting the test to the `TestsStream`. + * + * The `TestContext` object passed to the `fn` argument can be used to perform + * actions related to the current test. Examples include skipping the test, adding + * additional diagnostic information, or creating subtests. + * + * `test()` returns a `Promise` that fulfills once the test completes. + * if `test()` is called within a `describe()` block, it fulfills immediately. + * The return value can usually be discarded for top level tests. + * However, the return value from subtests should be used to prevent the parent + * test from finishing first and cancelling the subtest + * as shown in the following example. + * + * ```js + * test('top level test', async (t) => { + * // The setTimeout() in the following subtest would cause it to outlive its + * // parent test if 'await' is removed on the next line. Once the parent test + * // completes, it will cancel any outstanding subtests. + * await t.test('longer running subtest', async (t) => { + * return new Promise((resolve, reject) => { + * setTimeout(resolve, 1000); + * }); + * }); + * }); + * ``` + * + * The `timeout` option can be used to fail the test if it takes longer than`timeout` milliseconds to complete. However, it is not a reliable mechanism for + * canceling tests because a running test might block the application thread and + * thus prevent the scheduled cancellation. + * @since v18.0.0, v16.17.0 + * @param [name='The name'] The name of the test, which is displayed when reporting test results. + * @param options Configuration options for the test. The following properties are supported: + * @param [fn='A no-op function'] The function under test. The first argument to this function is a {@link TestContext} object. If the test uses callbacks, the callback function is passed as the + * second argument. + * @return Fulfilled with `undefined` once the test completes, or immediately if the test runs within {@link describe}. + */ + function test(name?: string, fn?: TestFn): Promise; + function test(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function test(options?: TestOptions, fn?: TestFn): Promise; + function test(fn?: TestFn): Promise; + namespace test { + export { after, afterEach, before, beforeEach, describe, it, mock, only, run, skip, test, todo }; + } + /** + * The `describe()` function imported from the `node:test` module. Each + * invocation of this function results in the creation of a Subtest. + * After invocation of top level `describe` functions, + * all top level tests and suites will execute. + * @param [name='The name'] The name of the suite, which is displayed when reporting test results. + * @param options Configuration options for the suite. supports the same options as `test([name][, options][, fn])`. + * @param [fn='A no-op function'] The function under suite declaring all subtests and subsuites. The first argument to this function is a {@link SuiteContext} object. + * @return Immediately fulfilled with `undefined`. + */ + function describe(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; + function describe(name?: string, fn?: SuiteFn): Promise; + function describe(options?: TestOptions, fn?: SuiteFn): Promise; + function describe(fn?: SuiteFn): Promise; + namespace describe { + /** + * Shorthand for skipping a suite, same as `describe([name], { skip: true }[, fn])`. + */ + function skip(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; + function skip(name?: string, fn?: SuiteFn): Promise; + function skip(options?: TestOptions, fn?: SuiteFn): Promise; + function skip(fn?: SuiteFn): Promise; + /** + * Shorthand for marking a suite as `TODO`, same as `describe([name], { todo: true }[, fn])`. + */ + function todo(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; + function todo(name?: string, fn?: SuiteFn): Promise; + function todo(options?: TestOptions, fn?: SuiteFn): Promise; + function todo(fn?: SuiteFn): Promise; + /** + * Shorthand for marking a suite as `only`, same as `describe([name], { only: true }[, fn])`. + * @since v18.15.0 + */ + function only(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; + function only(name?: string, fn?: SuiteFn): Promise; + function only(options?: TestOptions, fn?: SuiteFn): Promise; + function only(fn?: SuiteFn): Promise; + } + /** + * Shorthand for `test()`. + * + * The `it()` function is imported from the `node:test` module. + * @since v18.6.0, v16.17.0 + */ + function it(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function it(name?: string, fn?: TestFn): Promise; + function it(options?: TestOptions, fn?: TestFn): Promise; + function it(fn?: TestFn): Promise; + namespace it { + /** + * Shorthand for skipping a test, same as `it([name], { skip: true }[, fn])`. + */ + function skip(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function skip(name?: string, fn?: TestFn): Promise; + function skip(options?: TestOptions, fn?: TestFn): Promise; + function skip(fn?: TestFn): Promise; + /** + * Shorthand for marking a test as `TODO`, same as `it([name], { todo: true }[, fn])`. + */ + function todo(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function todo(name?: string, fn?: TestFn): Promise; + function todo(options?: TestOptions, fn?: TestFn): Promise; + function todo(fn?: TestFn): Promise; + /** + * Shorthand for marking a test as `only`, same as `it([name], { only: true }[, fn])`. + * @since v18.15.0 + */ + function only(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function only(name?: string, fn?: TestFn): Promise; + function only(options?: TestOptions, fn?: TestFn): Promise; + function only(fn?: TestFn): Promise; + } + /** + * Shorthand for skipping a test, same as `test([name], { skip: true }[, fn])`. + * @since v20.2.0 + */ + function skip(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function skip(name?: string, fn?: TestFn): Promise; + function skip(options?: TestOptions, fn?: TestFn): Promise; + function skip(fn?: TestFn): Promise; + /** + * Shorthand for marking a test as `TODO`, same as `test([name], { todo: true }[, fn])`. + * @since v20.2.0 + */ + function todo(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function todo(name?: string, fn?: TestFn): Promise; + function todo(options?: TestOptions, fn?: TestFn): Promise; + function todo(fn?: TestFn): Promise; + /** + * Shorthand for marking a test as `only`, same as `test([name], { only: true }[, fn])`. + * @since v20.2.0 + */ + function only(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function only(name?: string, fn?: TestFn): Promise; + function only(options?: TestOptions, fn?: TestFn): Promise; + function only(fn?: TestFn): Promise; + /** + * The type of a function under test. The first argument to this function is a + * {@link TestContext} object. If the test uses callbacks, the callback function is passed as + * the second argument. + */ + type TestFn = (t: TestContext, done: (result?: any) => void) => void | Promise; + /** + * The type of a function under Suite. + */ + type SuiteFn = (s: SuiteContext) => void | Promise; + interface TestShard { + /** + * A positive integer between 1 and `` that specifies the index of the shard to run. + */ + index: number; + /** + * A positive integer that specifies the total number of shards to split the test files to. + */ + total: number; + } + interface RunOptions { + /** + * If a number is provided, then that many files would run in parallel. + * If truthy, it would run (number of cpu cores - 1) files in parallel. + * If falsy, it would only run one file at a time. + * If unspecified, subtests inherit this value from their parent. + * @default true + */ + concurrency?: number | boolean | undefined; + /** + * An array containing the list of files to run. + * If unspecified, the test runner execution model will be used. + */ + files?: readonly string[] | undefined; + /** + * Allows aborting an in-progress test execution. + * @default undefined + */ + signal?: AbortSignal | undefined; + /** + * A number of milliseconds the test will fail after. + * If unspecified, subtests inherit this value from their parent. + * @default Infinity + */ + timeout?: number | undefined; + /** + * Sets inspector port of test child process. + * If a nullish value is provided, each process gets its own port, + * incremented from the primary's `process.debugPort`. + */ + inspectPort?: number | (() => number) | undefined; + /** + * That can be used to only run tests whose name matches the provided pattern. + * Test name patterns are interpreted as JavaScript regular expressions. + * For each test that is executed, any corresponding test hooks, such as `beforeEach()`, are also run. + */ + testNamePatterns?: string | RegExp | string[] | RegExp[]; + /** + * If truthy, the test context will only run tests that have the `only` option set + */ + only?: boolean; + /** + * A function that accepts the TestsStream instance and can be used to setup listeners before any tests are run. + */ + setup?: (root: Test) => void | Promise; + /** + * Whether to run in watch mode or not. + * @default false + */ + watch?: boolean | undefined; + /** + * Running tests in a specific shard. + * @default undefined + */ + shard?: TestShard | undefined; + } + class Test extends AsyncResource { + concurrency: number; + nesting: number; + only: boolean; + reporter: TestsStream; + runOnlySubtests: boolean; + testNumber: number; + timeout: number | null; + } + /** + * A successful call to `run()` method will return a new `TestsStream` object, streaming a series of events representing the execution of the tests.`TestsStream` will emit events, in the + * order of the tests definition + * @since v18.9.0, v16.19.0 + */ + class TestsStream extends Readable implements NodeJS.ReadableStream { + addListener(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; + addListener(event: "test:fail", listener: (data: TestFail) => void): this; + addListener(event: "test:pass", listener: (data: TestPass) => void): this; + addListener(event: "test:plan", listener: (data: TestPlan) => void): this; + addListener(event: "test:start", listener: (data: TestStart) => void): this; + addListener(event: "test:stderr", listener: (data: TestStderr) => void): this; + addListener(event: "test:stdout", listener: (data: TestStdout) => void): this; + addListener(event: string, listener: (...args: any[]) => void): this; + emit(event: "test:diagnostic", data: DiagnosticData): boolean; + emit(event: "test:fail", data: TestFail): boolean; + emit(event: "test:pass", data: TestPass): boolean; + emit(event: "test:plan", data: TestPlan): boolean; + emit(event: "test:start", data: TestStart): boolean; + emit(event: "test:stderr", data: TestStderr): boolean; + emit(event: "test:stdout", data: TestStdout): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; + on(event: "test:fail", listener: (data: TestFail) => void): this; + on(event: "test:pass", listener: (data: TestPass) => void): this; + on(event: "test:plan", listener: (data: TestPlan) => void): this; + on(event: "test:start", listener: (data: TestStart) => void): this; + on(event: "test:stderr", listener: (data: TestStderr) => void): this; + on(event: "test:stdout", listener: (data: TestStdout) => void): this; + on(event: string, listener: (...args: any[]) => void): this; + once(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; + once(event: "test:fail", listener: (data: TestFail) => void): this; + once(event: "test:pass", listener: (data: TestPass) => void): this; + once(event: "test:plan", listener: (data: TestPlan) => void): this; + once(event: "test:start", listener: (data: TestStart) => void): this; + once(event: "test:stderr", listener: (data: TestStderr) => void): this; + once(event: "test:stdout", listener: (data: TestStdout) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; + prependListener(event: "test:fail", listener: (data: TestFail) => void): this; + prependListener(event: "test:pass", listener: (data: TestPass) => void): this; + prependListener(event: "test:plan", listener: (data: TestPlan) => void): this; + prependListener(event: "test:start", listener: (data: TestStart) => void): this; + prependListener(event: "test:stderr", listener: (data: TestStderr) => void): this; + prependListener(event: "test:stdout", listener: (data: TestStdout) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; + prependOnceListener(event: "test:fail", listener: (data: TestFail) => void): this; + prependOnceListener(event: "test:pass", listener: (data: TestPass) => void): this; + prependOnceListener(event: "test:plan", listener: (data: TestPlan) => void): this; + prependOnceListener(event: "test:start", listener: (data: TestStart) => void): this; + prependOnceListener(event: "test:stderr", listener: (data: TestStderr) => void): this; + prependOnceListener(event: "test:stdout", listener: (data: TestStdout) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + } + /** + * An instance of `TestContext` is passed to each test function in order to + * interact with the test runner. However, the `TestContext` constructor is not + * exposed as part of the API. + * @since v18.0.0, v16.17.0 + */ + class TestContext { + /** + * This function is used to create a hook running before subtest of the current test. + * @param fn The hook function. If the hook uses callbacks, the callback function is passed as + * the second argument. Default: A no-op function. + * @param options Configuration options for the hook. + * @since v20.1.0 + */ + before: typeof before; + /** + * This function is used to create a hook running before each subtest of the current test. + * @param fn The hook function. If the hook uses callbacks, the callback function is passed as + * the second argument. Default: A no-op function. + * @param options Configuration options for the hook. + * @since v18.8.0 + */ + beforeEach: typeof beforeEach; + /** + * This function is used to create a hook that runs after the current test finishes. + * @param fn The hook function. If the hook uses callbacks, the callback function is passed as + * the second argument. Default: A no-op function. + * @param options Configuration options for the hook. + * @since v18.13.0 + */ + after: typeof after; + /** + * This function is used to create a hook running after each subtest of the current test. + * @param fn The hook function. If the hook uses callbacks, the callback function is passed as + * the second argument. Default: A no-op function. + * @param options Configuration options for the hook. + * @since v18.8.0 + */ + afterEach: typeof afterEach; + /** + * This function is used to write diagnostics to the output. Any diagnostic + * information is included at the end of the test's results. This function does + * not return a value. + * + * ```js + * test('top level test', (t) => { + * t.diagnostic('A diagnostic message'); + * }); + * ``` + * @since v18.0.0, v16.17.0 + * @param message Message to be reported. + */ + diagnostic(message: string): void; + /** + * The name of the test. + * @since v18.8.0, v16.18.0 + */ + readonly name: string; + /** + * If `shouldRunOnlyTests` is truthy, the test context will only run tests that + * have the `only` option set. Otherwise, all tests are run. If Node.js was not + * started with the `--test-only` command-line option, this function is a + * no-op. + * + * ```js + * test('top level test', (t) => { + * // The test context can be set to run subtests with the 'only' option. + * t.runOnly(true); + * return Promise.all([ + * t.test('this subtest is now skipped'), + * t.test('this subtest is run', { only: true }), + * ]); + * }); + * ``` + * @since v18.0.0, v16.17.0 + * @param shouldRunOnlyTests Whether or not to run `only` tests. + */ + runOnly(shouldRunOnlyTests: boolean): void; + /** + * ```js + * test('top level test', async (t) => { + * await fetch('some/uri', { signal: t.signal }); + * }); + * ``` + * @since v18.7.0, v16.17.0 + */ + readonly signal: AbortSignal; + /** + * This function causes the test's output to indicate the test as skipped. If`message` is provided, it is included in the output. Calling `skip()` does + * not terminate execution of the test function. This function does not return a + * value. + * + * ```js + * test('top level test', (t) => { + * // Make sure to return here as well if the test contains additional logic. + * t.skip('this is skipped'); + * }); + * ``` + * @since v18.0.0, v16.17.0 + * @param message Optional skip message. + */ + skip(message?: string): void; + /** + * This function adds a `TODO` directive to the test's output. If `message` is + * provided, it is included in the output. Calling `todo()` does not terminate + * execution of the test function. This function does not return a value. + * + * ```js + * test('top level test', (t) => { + * // This test is marked as `TODO` + * t.todo('this is a todo'); + * }); + * ``` + * @since v18.0.0, v16.17.0 + * @param message Optional `TODO` message. + */ + todo(message?: string): void; + /** + * This function is used to create subtests under the current test. This function behaves in + * the same fashion as the top level {@link test} function. + * @since v18.0.0 + * @param name The name of the test, which is displayed when reporting test results. + * Default: The `name` property of fn, or `''` if `fn` does not have a name. + * @param options Configuration options for the test + * @param fn The function under test. This first argument to this function is a + * {@link TestContext} object. If the test uses callbacks, the callback function is + * passed as the second argument. Default: A no-op function. + * @returns A {@link Promise} resolved with `undefined` once the test completes. + */ + test: typeof test; + /** + * Each test provides its own MockTracker instance. + */ + readonly mock: MockTracker; + } + /** + * An instance of `SuiteContext` is passed to each suite function in order to + * interact with the test runner. However, the `SuiteContext` constructor is not + * exposed as part of the API. + * @since v18.7.0, v16.17.0 + */ + class SuiteContext { + /** + * The name of the suite. + * @since v18.8.0, v16.18.0 + */ + readonly name: string; + /** + * Can be used to abort test subtasks when the test has been aborted. + * @since v18.7.0, v16.17.0 + */ + readonly signal: AbortSignal; + } + interface TestOptions { + /** + * If a number is provided, then that many tests would run in parallel. + * If truthy, it would run (number of cpu cores - 1) tests in parallel. + * For subtests, it will be `Infinity` tests in parallel. + * If falsy, it would only run one test at a time. + * If unspecified, subtests inherit this value from their parent. + * @default false + */ + concurrency?: number | boolean | undefined; + /** + * If truthy, and the test context is configured to run `only` tests, then this test will be + * run. Otherwise, the test is skipped. + * @default false + */ + only?: boolean | undefined; + /** + * Allows aborting an in-progress test. + * @since v18.8.0 + */ + signal?: AbortSignal | undefined; + /** + * If truthy, the test is skipped. If a string is provided, that string is displayed in the + * test results as the reason for skipping the test. + * @default false + */ + skip?: boolean | string | undefined; + /** + * A number of milliseconds the test will fail after. If unspecified, subtests inherit this + * value from their parent. + * @default Infinity + * @since v18.7.0 + */ + timeout?: number | undefined; + /** + * If truthy, the test marked as `TODO`. If a string is provided, that string is displayed in + * the test results as the reason why the test is `TODO`. + * @default false + */ + todo?: boolean | string | undefined; + } + /** + * This function is used to create a hook running before running a suite. + * + * ```js + * describe('tests', async () => { + * before(() => console.log('about to run some test')); + * it('is a subtest', () => { + * assert.ok('some relevant assertion here'); + * }); + * }); + * ``` + * @since v18.8.0, v16.18.0 + * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. + * @param options Configuration options for the hook. The following properties are supported: + */ + function before(fn?: HookFn, options?: HookOptions): void; + /** + * This function is used to create a hook running after running a suite. + * + * ```js + * describe('tests', async () => { + * after(() => console.log('finished running tests')); + * it('is a subtest', () => { + * assert.ok('some relevant assertion here'); + * }); + * }); + * ``` + * @since v18.8.0, v16.18.0 + * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. + * @param options Configuration options for the hook. The following properties are supported: + */ + function after(fn?: HookFn, options?: HookOptions): void; + /** + * This function is used to create a hook running + * before each subtest of the current suite. + * + * ```js + * describe('tests', async () => { + * beforeEach(() => console.log('about to run a test')); + * it('is a subtest', () => { + * assert.ok('some relevant assertion here'); + * }); + * }); + * ``` + * @since v18.8.0, v16.18.0 + * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. + * @param options Configuration options for the hook. The following properties are supported: + */ + function beforeEach(fn?: HookFn, options?: HookOptions): void; + /** + * This function is used to create a hook running + * after each subtest of the current test. + * + * ```js + * describe('tests', async () => { + * afterEach(() => console.log('finished running a test')); + * it('is a subtest', () => { + * assert.ok('some relevant assertion here'); + * }); + * }); + * ``` + * @since v18.8.0, v16.18.0 + * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. + * @param options Configuration options for the hook. The following properties are supported: + */ + function afterEach(fn?: HookFn, options?: HookOptions): void; + /** + * The hook function. If the hook uses callbacks, the callback function is passed as the + * second argument. + */ + type HookFn = (s: SuiteContext, done: (result?: any) => void) => any; + /** + * Configuration options for hooks. + * @since v18.8.0 + */ + interface HookOptions { + /** + * Allows aborting an in-progress hook. + */ + signal?: AbortSignal | undefined; + /** + * A number of milliseconds the hook will fail after. If unspecified, subtests inherit this + * value from their parent. + * @default Infinity + */ + timeout?: number | undefined; + } + interface MockFunctionOptions { + /** + * The number of times that the mock will use the behavior of `implementation`. + * Once the mock function has been called `times` times, + * it will automatically restore the behavior of `original`. + * This value must be an integer greater than zero. + * @default Infinity + */ + times?: number | undefined; + } + interface MockMethodOptions extends MockFunctionOptions { + /** + * If `true`, `object[methodName]` is treated as a getter. + * This option cannot be used with the `setter` option. + */ + getter?: boolean | undefined; + /** + * If `true`, `object[methodName]` is treated as a setter. + * This option cannot be used with the `getter` option. + */ + setter?: boolean | undefined; + } + type Mock = F & { + mock: MockFunctionContext; + }; + type NoOpFunction = (...args: any[]) => undefined; + type FunctionPropertyNames = { + [K in keyof T]: T[K] extends Function ? K : never; + }[keyof T]; + /** + * The `MockTracker` class is used to manage mocking functionality. The test runner + * module provides a top level `mock` export which is a `MockTracker` instance. + * Each test also provides its own `MockTracker` instance via the test context's`mock` property. + * @since v19.1.0, v18.13.0 + */ + class MockTracker { + /** + * This function is used to create a mock function. + * + * The following example creates a mock function that increments a counter by one + * on each invocation. The `times` option is used to modify the mock behavior such + * that the first two invocations add two to the counter instead of one. + * + * ```js + * test('mocks a counting function', (t) => { + * let cnt = 0; + * + * function addOne() { + * cnt++; + * return cnt; + * } + * + * function addTwo() { + * cnt += 2; + * return cnt; + * } + * + * const fn = t.mock.fn(addOne, addTwo, { times: 2 }); + * + * assert.strictEqual(fn(), 2); + * assert.strictEqual(fn(), 4); + * assert.strictEqual(fn(), 5); + * assert.strictEqual(fn(), 6); + * }); + * ``` + * @since v19.1.0, v18.13.0 + * @param [original='A no-op function'] An optional function to create a mock on. + * @param implementation An optional function used as the mock implementation for `original`. This is useful for creating mocks that exhibit one behavior for a specified number of calls and + * then restore the behavior of `original`. + * @param options Optional configuration options for the mock function. The following properties are supported: + * @return The mocked function. The mocked function contains a special `mock` property, which is an instance of {@link MockFunctionContext}, and can be used for inspecting and changing the + * behavior of the mocked function. + */ + fn(original?: F, options?: MockFunctionOptions): Mock; + fn( + original?: F, + implementation?: Implementation, + options?: MockFunctionOptions, + ): Mock; + /** + * This function is used to create a mock on an existing object method. The + * following example demonstrates how a mock is created on an existing object + * method. + * + * ```js + * test('spies on an object method', (t) => { + * const number = { + * value: 5, + * subtract(a) { + * return this.value - a; + * }, + * }; + * + * t.mock.method(number, 'subtract'); + * assert.strictEqual(number.subtract.mock.calls.length, 0); + * assert.strictEqual(number.subtract(3), 2); + * assert.strictEqual(number.subtract.mock.calls.length, 1); + * + * const call = number.subtract.mock.calls[0]; + * + * assert.deepStrictEqual(call.arguments, [3]); + * assert.strictEqual(call.result, 2); + * assert.strictEqual(call.error, undefined); + * assert.strictEqual(call.target, undefined); + * assert.strictEqual(call.this, number); + * }); + * ``` + * @since v19.1.0, v18.13.0 + * @param object The object whose method is being mocked. + * @param methodName The identifier of the method on `object` to mock. If `object[methodName]` is not a function, an error is thrown. + * @param implementation An optional function used as the mock implementation for `object[methodName]`. + * @param options Optional configuration options for the mock method. The following properties are supported: + * @return The mocked method. The mocked method contains a special `mock` property, which is an instance of {@link MockFunctionContext}, and can be used for inspecting and changing the + * behavior of the mocked method. + */ + method< + MockedObject extends object, + MethodName extends FunctionPropertyNames, + >( + object: MockedObject, + methodName: MethodName, + options?: MockFunctionOptions, + ): MockedObject[MethodName] extends Function ? Mock + : never; + method< + MockedObject extends object, + MethodName extends FunctionPropertyNames, + Implementation extends Function, + >( + object: MockedObject, + methodName: MethodName, + implementation: Implementation, + options?: MockFunctionOptions, + ): MockedObject[MethodName] extends Function ? Mock + : never; + method( + object: MockedObject, + methodName: keyof MockedObject, + options: MockMethodOptions, + ): Mock; + method( + object: MockedObject, + methodName: keyof MockedObject, + implementation: Function, + options: MockMethodOptions, + ): Mock; + + /** + * This function is syntax sugar for `MockTracker.method` with `options.getter`set to `true`. + * @since v19.3.0, v18.13.0 + */ + getter< + MockedObject extends object, + MethodName extends keyof MockedObject, + >( + object: MockedObject, + methodName: MethodName, + options?: MockFunctionOptions, + ): Mock<() => MockedObject[MethodName]>; + getter< + MockedObject extends object, + MethodName extends keyof MockedObject, + Implementation extends Function, + >( + object: MockedObject, + methodName: MethodName, + implementation?: Implementation, + options?: MockFunctionOptions, + ): Mock<(() => MockedObject[MethodName]) | Implementation>; + /** + * This function is syntax sugar for `MockTracker.method` with `options.setter`set to `true`. + * @since v19.3.0, v18.13.0 + */ + setter< + MockedObject extends object, + MethodName extends keyof MockedObject, + >( + object: MockedObject, + methodName: MethodName, + options?: MockFunctionOptions, + ): Mock<(value: MockedObject[MethodName]) => void>; + setter< + MockedObject extends object, + MethodName extends keyof MockedObject, + Implementation extends Function, + >( + object: MockedObject, + methodName: MethodName, + implementation?: Implementation, + options?: MockFunctionOptions, + ): Mock<((value: MockedObject[MethodName]) => void) | Implementation>; + /** + * This function restores the default behavior of all mocks that were previously + * created by this `MockTracker` and disassociates the mocks from the`MockTracker` instance. Once disassociated, the mocks can still be used, but the`MockTracker` instance can no longer be + * used to reset their behavior or + * otherwise interact with them. + * + * After each test completes, this function is called on the test context's`MockTracker`. If the global `MockTracker` is used extensively, calling this + * function manually is recommended. + * @since v19.1.0, v18.13.0 + */ + reset(): void; + /** + * This function restores the default behavior of all mocks that were previously + * created by this `MockTracker`. Unlike `mock.reset()`, `mock.restoreAll()` does + * not disassociate the mocks from the `MockTracker` instance. + * @since v19.1.0, v18.13.0 + */ + restoreAll(): void; + timers: MockTimers; + } + const mock: MockTracker; + interface MockFunctionCall< + F extends Function, + ReturnType = F extends (...args: any) => infer T ? T + : F extends abstract new(...args: any) => infer T ? T + : unknown, + Args = F extends (...args: infer Y) => any ? Y + : F extends abstract new(...args: infer Y) => any ? Y + : unknown[], + > { + /** + * An array of the arguments passed to the mock function. + */ + arguments: Args; + /** + * If the mocked function threw then this property contains the thrown value. + */ + error: unknown | undefined; + /** + * The value returned by the mocked function. + * + * If the mocked function threw, it will be `undefined`. + */ + result: ReturnType | undefined; + /** + * An `Error` object whose stack can be used to determine the callsite of the mocked function invocation. + */ + stack: Error; + /** + * If the mocked function is a constructor, this field contains the class being constructed. + * Otherwise this will be `undefined`. + */ + target: F extends abstract new(...args: any) => any ? F : undefined; + /** + * The mocked function's `this` value. + */ + this: unknown; + } + /** + * The `MockFunctionContext` class is used to inspect or manipulate the behavior of + * mocks created via the `MockTracker` APIs. + * @since v19.1.0, v18.13.0 + */ + class MockFunctionContext { + /** + * A getter that returns a copy of the internal array used to track calls to the + * mock. Each entry in the array is an object with the following properties. + * @since v19.1.0, v18.13.0 + */ + readonly calls: Array>; + /** + * This function returns the number of times that this mock has been invoked. This + * function is more efficient than checking `ctx.calls.length` because `ctx.calls`is a getter that creates a copy of the internal call tracking array. + * @since v19.1.0, v18.13.0 + * @return The number of times that this mock has been invoked. + */ + callCount(): number; + /** + * This function is used to change the behavior of an existing mock. + * + * The following example creates a mock function using `t.mock.fn()`, calls the + * mock function, and then changes the mock implementation to a different function. + * + * ```js + * test('changes a mock behavior', (t) => { + * let cnt = 0; + * + * function addOne() { + * cnt++; + * return cnt; + * } + * + * function addTwo() { + * cnt += 2; + * return cnt; + * } + * + * const fn = t.mock.fn(addOne); + * + * assert.strictEqual(fn(), 1); + * fn.mock.mockImplementation(addTwo); + * assert.strictEqual(fn(), 3); + * assert.strictEqual(fn(), 5); + * }); + * ``` + * @since v19.1.0, v18.13.0 + * @param implementation The function to be used as the mock's new implementation. + */ + mockImplementation(implementation: Function): void; + /** + * This function is used to change the behavior of an existing mock for a single + * invocation. Once invocation `onCall` has occurred, the mock will revert to + * whatever behavior it would have used had `mockImplementationOnce()` not been + * called. + * + * The following example creates a mock function using `t.mock.fn()`, calls the + * mock function, changes the mock implementation to a different function for the + * next invocation, and then resumes its previous behavior. + * + * ```js + * test('changes a mock behavior once', (t) => { + * let cnt = 0; + * + * function addOne() { + * cnt++; + * return cnt; + * } + * + * function addTwo() { + * cnt += 2; + * return cnt; + * } + * + * const fn = t.mock.fn(addOne); + * + * assert.strictEqual(fn(), 1); + * fn.mock.mockImplementationOnce(addTwo); + * assert.strictEqual(fn(), 3); + * assert.strictEqual(fn(), 4); + * }); + * ``` + * @since v19.1.0, v18.13.0 + * @param implementation The function to be used as the mock's implementation for the invocation number specified by `onCall`. + * @param onCall The invocation number that will use `implementation`. If the specified invocation has already occurred then an exception is thrown. + */ + mockImplementationOnce(implementation: Function, onCall?: number): void; + /** + * Resets the call history of the mock function. + * @since v19.3.0, v18.13.0 + */ + resetCalls(): void; + /** + * Resets the implementation of the mock function to its original behavior. The + * mock can still be used after calling this function. + * @since v19.1.0, v18.13.0 + */ + restore(): void; + } + type Timer = "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout"; + /** + * Mocking timers is a technique commonly used in software testing to simulate and + * control the behavior of timers, such as `setInterval` and `setTimeout`, + * without actually waiting for the specified time intervals. + * + * The `MockTracker` provides a top-level `timers` export + * which is a `MockTimers` instance. + * @since v20.4.0 + * @experimental + */ + class MockTimers { + /** + * Enables timer mocking for the specified timers. + * + * **Note:** When you enable mocking for a specific timer, its associated + * clear function will also be implicitly mocked. + * + * Example usage: + * + * ```js + * import { mock } from 'node:test'; + * mock.timers.enable(['setInterval']); + * ``` + * + * The above example enables mocking for the `setInterval` timer and + * implicitly mocks the `clearInterval` function. Only the `setInterval`and `clearInterval` functions from `node:timers`,`node:timers/promises`, and`globalThis` will be mocked. + * + * Alternatively, if you call `mock.timers.enable()` without any parameters: + * + * All timers (`'setInterval'`, `'clearInterval'`, `'setTimeout'`, and `'clearTimeout'`) + * will be mocked. The `setInterval`, `clearInterval`, `setTimeout`, and `clearTimeout`functions from `node:timers`, `node:timers/promises`, + * and `globalThis` will be mocked. + * @since v20.4.0 + */ + enable(timers?: Timer[]): void; + /** + * This function restores the default behavior of all mocks that were previously + * created by this `MockTimers` instance and disassociates the mocks + * from the `MockTracker` instance. + * + * **Note:** After each test completes, this function is called on + * the test context's `MockTracker`. + * + * ```js + * import { mock } from 'node:test'; + * mock.timers.reset(); + * ``` + * @since v20.4.0 + */ + reset(): void; + /** + * Advances time for all mocked timers. + * + * **Note:** This diverges from how `setTimeout` in Node.js behaves and accepts + * only positive numbers. In Node.js, `setTimeout` with negative numbers is + * only supported for web compatibility reasons. + * + * The following example mocks a `setTimeout` function and + * by using `.tick` advances in + * time triggering all pending timers. + * + * ```js + * import assert from 'node:assert'; + * import { test } from 'node:test'; + * + * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => { + * const fn = context.mock.fn(); + * + * context.mock.timers.enable(['setTimeout']); + * + * setTimeout(fn, 9999); + * + * assert.strictEqual(fn.mock.callCount(), 0); + * + * // Advance in time + * context.mock.timers.tick(9999); + * + * assert.strictEqual(fn.mock.callCount(), 1); + * }); + * ``` + * + * Alternativelly, the `.tick` function can be called many times + * + * ```js + * import assert from 'node:assert'; + * import { test } from 'node:test'; + * + * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => { + * const fn = context.mock.fn(); + * context.mock.timers.enable(['setTimeout']); + * const nineSecs = 9000; + * setTimeout(fn, nineSecs); + * + * const twoSeconds = 3000; + * context.mock.timers.tick(twoSeconds); + * context.mock.timers.tick(twoSeconds); + * context.mock.timers.tick(twoSeconds); + * + * assert.strictEqual(fn.mock.callCount(), 1); + * }); + * ``` + * @since v20.4.0 + */ + tick(milliseconds: number): void; + /** + * Triggers all pending mocked timers immediately. + * + * The example below triggers all pending timers immediately, + * causing them to execute without any delay. + * + * ```js + * import assert from 'node:assert'; + * import { test } from 'node:test'; + * + * test('runAll functions following the given order', (context) => { + * context.mock.timers.enable(['setTimeout']); + * const results = []; + * setTimeout(() => results.push(1), 9999); + * + * // Notice that if both timers have the same timeout, + * // the order of execution is guaranteed + * setTimeout(() => results.push(3), 8888); + * setTimeout(() => results.push(2), 8888); + * + * assert.deepStrictEqual(results, []); + * + * context.mock.timers.runAll(); + * + * assert.deepStrictEqual(results, [3, 2, 1]); + * }); + * ``` + * + * **Note:** The `runAll()` function is specifically designed for + * triggering timers in the context of timer mocking. + * It does not have any effect on real-time system + * clocks or actual timers outside of the mocking environment. + * @since v20.4.0 + */ + runAll(): void; + /** + * Calls {@link MockTimers.reset()}. + */ + [Symbol.dispose](): void; + } + export { + after, + afterEach, + before, + beforeEach, + describe, + it, + Mock, + mock, + only, + run, + skip, + test, + test as default, + todo, + }; +} + +interface TestLocationInfo { + /** + * The column number where the test is defined, or + * `undefined` if the test was run through the REPL. + */ + column?: number; + /** + * The path of the test file, `undefined` if test is not ran through a file. + */ + file?: string; + /** + * The line number where the test is defined, or + * `undefined` if the test was run through the REPL. + */ + line?: number; +} +interface DiagnosticData extends TestLocationInfo { + /** + * The diagnostic message. + */ + message: string; + /** + * The nesting level of the test. + */ + nesting: number; +} +interface TestFail extends TestLocationInfo { + /** + * Additional execution metadata. + */ + details: { + /** + * The duration of the test in milliseconds. + */ + duration_ms: number; + /** + * The error thrown by the test. + */ + error: Error; + /** + * The type of the test, used to denote whether this is a suite. + * @since 20.0.0, 19.9.0, 18.17.0 + */ + type?: "suite"; + }; + /** + * The test name. + */ + name: string; + /** + * The nesting level of the test. + */ + nesting: number; + /** + * The ordinal number of the test. + */ + testNumber: number; + /** + * Present if `context.todo` is called. + */ + todo?: string | boolean; + /** + * Present if `context.skip` is called. + */ + skip?: string | boolean; +} +interface TestPass extends TestLocationInfo { + /** + * Additional execution metadata. + */ + details: { + /** + * The duration of the test in milliseconds. + */ + duration_ms: number; + /** + * The type of the test, used to denote whether this is a suite. + * @since 20.0.0, 19.9.0, 18.17.0 + */ + type?: "suite"; + }; + /** + * The test name. + */ + name: string; + /** + * The nesting level of the test. + */ + nesting: number; + /** + * The ordinal number of the test. + */ + testNumber: number; + /** + * Present if `context.todo` is called. + */ + todo?: string | boolean; + /** + * Present if `context.skip` is called. + */ + skip?: string | boolean; +} +interface TestPlan extends TestLocationInfo { + /** + * The nesting level of the test. + */ + nesting: number; + /** + * The number of subtests that have ran. + */ + count: number; +} +interface TestStart extends TestLocationInfo { + /** + * The test name. + */ + name: string; + /** + * The nesting level of the test. + */ + nesting: number; +} +interface TestStderr extends TestLocationInfo { + /** + * The message written to `stderr` + */ + message: string; +} +interface TestStdout extends TestLocationInfo { + /** + * The message written to `stdout` + */ + message: string; +} +interface TestEnqueue extends TestLocationInfo { + /** + * The test name + */ + name: string; + /** + * The nesting level of the test. + */ + nesting: number; +} +interface TestDequeue extends TestLocationInfo { + /** + * The test name + */ + name: string; + /** + * The nesting level of the test. + */ + nesting: number; +} + +/** + * The `node:test/reporters` module exposes the builtin-reporters for `node:test`. + * To access it: + * + * ```js + * import test from 'node:test/reporters'; + * ``` + * + * This module is only available under the `node:` scheme. The following will not + * work: + * + * ```js + * import test from 'test/reporters'; + * ``` + * @since v19.9.0 + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/test/reporters.js) + */ +declare module "node:test/reporters" { + import { Transform } from "node:stream"; + + type TestEvent = + | { type: "test:diagnostic"; data: DiagnosticData } + | { type: "test:fail"; data: TestFail } + | { type: "test:pass"; data: TestPass } + | { type: "test:plan"; data: TestPlan } + | { type: "test:start"; data: TestStart } + | { type: "test:stderr"; data: TestStderr } + | { type: "test:stdout"; data: TestStdout } + | { type: "test:enqueue"; data: TestEnqueue } + | { type: "test:dequeue"; data: TestDequeue } + | { type: "test:watch:drained" }; + type TestEventGenerator = AsyncGenerator; + + /** + * The `dot` reporter outputs the test results in a compact format, + * where each passing test is represented by a `.`, + * and each failing test is represented by a `X`. + */ + function dot(source: TestEventGenerator): AsyncGenerator<"\n" | "." | "X", void>; + /** + * The `tap` reporter outputs the test results in the [TAP](https://testanything.org/) format. + */ + function tap(source: TestEventGenerator): AsyncGenerator; + /** + * The `spec` reporter outputs the test results in a human-readable format. + */ + class Spec extends Transform { + constructor(); + } + /** + * The `junit` reporter outputs test results in a jUnit XML format + */ + function junit(source: TestEventGenerator): AsyncGenerator; + export { dot, junit, Spec as spec, tap, TestEvent }; +} diff --git a/node_modules/@types/node/timers.d.ts b/node_modules/@types/node/timers.d.ts new file mode 100644 index 000000000..039f31f7a --- /dev/null +++ b/node_modules/@types/node/timers.d.ts @@ -0,0 +1,240 @@ +/** + * The `timer` module exposes a global API for scheduling functions to + * be called at some future period of time. Because the timer functions are + * globals, there is no need to call `require('node:timers')` to use the API. + * + * The timer functions within Node.js implement a similar API as the timers API + * provided by Web Browsers but use a different internal implementation that is + * built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout). + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/timers.js) + */ +declare module "timers" { + import { Abortable } from "node:events"; + import { + setImmediate as setImmediatePromise, + setInterval as setIntervalPromise, + setTimeout as setTimeoutPromise, + } from "node:timers/promises"; + interface TimerOptions extends Abortable { + /** + * Set to `false` to indicate that the scheduled `Timeout` + * should not require the Node.js event loop to remain active. + * @default true + */ + ref?: boolean | undefined; + } + let setTimeout: typeof global.setTimeout; + let clearTimeout: typeof global.clearTimeout; + let setInterval: typeof global.setInterval; + let clearInterval: typeof global.clearInterval; + let setImmediate: typeof global.setImmediate; + let clearImmediate: typeof global.clearImmediate; + global { + namespace NodeJS { + // compatibility with older typings + interface Timer extends RefCounted { + hasRef(): boolean; + refresh(): this; + [Symbol.toPrimitive](): number; + } + /** + * This object is created internally and is returned from `setImmediate()`. It + * can be passed to `clearImmediate()` in order to cancel the scheduled + * actions. + * + * By default, when an immediate is scheduled, the Node.js event loop will continue + * running as long as the immediate is active. The `Immediate` object returned by `setImmediate()` exports both `immediate.ref()` and `immediate.unref()`functions that can be used to + * control this default behavior. + */ + class Immediate implements RefCounted { + /** + * When called, requests that the Node.js event loop _not_ exit so long as the`Immediate` is active. Calling `immediate.ref()` multiple times will have no + * effect. + * + * By default, all `Immediate` objects are "ref'ed", making it normally unnecessary + * to call `immediate.ref()` unless `immediate.unref()` had been called previously. + * @since v9.7.0 + * @return a reference to `immediate` + */ + ref(): this; + /** + * When called, the active `Immediate` object will not require the Node.js event + * loop to remain active. If there is no other activity keeping the event loop + * running, the process may exit before the `Immediate` object's callback is + * invoked. Calling `immediate.unref()` multiple times will have no effect. + * @since v9.7.0 + * @return a reference to `immediate` + */ + unref(): this; + /** + * If true, the `Immediate` object will keep the Node.js event loop active. + * @since v11.0.0 + */ + hasRef(): boolean; + _onImmediate: Function; // to distinguish it from the Timeout class + /** + * Cancels the immediate. This is similar to calling `clearImmediate()`. + * @since v20.5.0 + */ + [Symbol.dispose](): void; + } + /** + * This object is created internally and is returned from `setTimeout()` and `setInterval()`. It can be passed to either `clearTimeout()` or `clearInterval()` in order to cancel the + * scheduled actions. + * + * By default, when a timer is scheduled using either `setTimeout()` or `setInterval()`, the Node.js event loop will continue running as long as the + * timer is active. Each of the `Timeout` objects returned by these functions + * export both `timeout.ref()` and `timeout.unref()` functions that can be used to + * control this default behavior. + */ + class Timeout implements Timer { + /** + * When called, requests that the Node.js event loop _not_ exit so long as the`Timeout` is active. Calling `timeout.ref()` multiple times will have no effect. + * + * By default, all `Timeout` objects are "ref'ed", making it normally unnecessary + * to call `timeout.ref()` unless `timeout.unref()` had been called previously. + * @since v0.9.1 + * @return a reference to `timeout` + */ + ref(): this; + /** + * When called, the active `Timeout` object will not require the Node.js event loop + * to remain active. If there is no other activity keeping the event loop running, + * the process may exit before the `Timeout` object's callback is invoked. Calling`timeout.unref()` multiple times will have no effect. + * @since v0.9.1 + * @return a reference to `timeout` + */ + unref(): this; + /** + * If true, the `Timeout` object will keep the Node.js event loop active. + * @since v11.0.0 + */ + hasRef(): boolean; + /** + * Sets the timer's start time to the current time, and reschedules the timer to + * call its callback at the previously specified duration adjusted to the current + * time. This is useful for refreshing a timer without allocating a new + * JavaScript object. + * + * Using this on a timer that has already called its callback will reactivate the + * timer. + * @since v10.2.0 + * @return a reference to `timeout` + */ + refresh(): this; + [Symbol.toPrimitive](): number; + /** + * Cancels the timeout. + * @since v20.5.0 + */ + [Symbol.dispose](): void; + } + } + /** + * Schedules execution of a one-time `callback` after `delay` milliseconds. + * + * The `callback` will likely not be invoked in precisely `delay` milliseconds. + * Node.js makes no guarantees about the exact timing of when callbacks will fire, + * nor of their ordering. The callback will be called as close as possible to the + * time specified. + * + * When `delay` is larger than `2147483647` or less than `1`, the `delay`will be set to `1`. Non-integer delays are truncated to an integer. + * + * If `callback` is not a function, a `TypeError` will be thrown. + * + * This method has a custom variant for promises that is available using `timersPromises.setTimeout()`. + * @since v0.0.1 + * @param callback The function to call when the timer elapses. + * @param [delay=1] The number of milliseconds to wait before calling the `callback`. + * @param args Optional arguments to pass when the `callback` is called. + * @return for use with {@link clearTimeout} + */ + function setTimeout( + callback: (...args: TArgs) => void, + ms?: number, + ...args: TArgs + ): NodeJS.Timeout; + // util.promisify no rest args compability + // eslint-disable-next-line @typescript-eslint/no-invalid-void-type + function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout; + namespace setTimeout { + const __promisify__: typeof setTimeoutPromise; + } + /** + * Cancels a `Timeout` object created by `setTimeout()`. + * @since v0.0.1 + * @param timeout A `Timeout` object as returned by {@link setTimeout} or the `primitive` of the `Timeout` object as a string or a number. + */ + function clearTimeout(timeoutId: NodeJS.Timeout | string | number | undefined): void; + /** + * Schedules repeated execution of `callback` every `delay` milliseconds. + * + * When `delay` is larger than `2147483647` or less than `1`, the `delay` will be + * set to `1`. Non-integer delays are truncated to an integer. + * + * If `callback` is not a function, a `TypeError` will be thrown. + * + * This method has a custom variant for promises that is available using `timersPromises.setInterval()`. + * @since v0.0.1 + * @param callback The function to call when the timer elapses. + * @param [delay=1] The number of milliseconds to wait before calling the `callback`. + * @param args Optional arguments to pass when the `callback` is called. + * @return for use with {@link clearInterval} + */ + function setInterval( + callback: (...args: TArgs) => void, + ms?: number, + ...args: TArgs + ): NodeJS.Timeout; + // util.promisify no rest args compability + // eslint-disable-next-line @typescript-eslint/no-invalid-void-type + function setInterval(callback: (args: void) => void, ms?: number): NodeJS.Timeout; + namespace setInterval { + const __promisify__: typeof setIntervalPromise; + } + /** + * Cancels a `Timeout` object created by `setInterval()`. + * @since v0.0.1 + * @param timeout A `Timeout` object as returned by {@link setInterval} or the `primitive` of the `Timeout` object as a string or a number. + */ + function clearInterval(intervalId: NodeJS.Timeout | string | number | undefined): void; + /** + * Schedules the "immediate" execution of the `callback` after I/O events' + * callbacks. + * + * When multiple calls to `setImmediate()` are made, the `callback` functions are + * queued for execution in the order in which they are created. The entire callback + * queue is processed every event loop iteration. If an immediate timer is queued + * from inside an executing callback, that timer will not be triggered until the + * next event loop iteration. + * + * If `callback` is not a function, a `TypeError` will be thrown. + * + * This method has a custom variant for promises that is available using `timersPromises.setImmediate()`. + * @since v0.9.1 + * @param callback The function to call at the end of this turn of the Node.js `Event Loop` + * @param args Optional arguments to pass when the `callback` is called. + * @return for use with {@link clearImmediate} + */ + function setImmediate( + callback: (...args: TArgs) => void, + ...args: TArgs + ): NodeJS.Immediate; + // util.promisify no rest args compability + // eslint-disable-next-line @typescript-eslint/no-invalid-void-type + function setImmediate(callback: (args: void) => void): NodeJS.Immediate; + namespace setImmediate { + const __promisify__: typeof setImmediatePromise; + } + /** + * Cancels an `Immediate` object created by `setImmediate()`. + * @since v0.9.1 + * @param immediate An `Immediate` object as returned by {@link setImmediate}. + */ + function clearImmediate(immediateId: NodeJS.Immediate | undefined): void; + function queueMicrotask(callback: () => void): void; + } +} +declare module "node:timers" { + export * from "timers"; +} diff --git a/node_modules/@types/node/timers/promises.d.ts b/node_modules/@types/node/timers/promises.d.ts new file mode 100644 index 000000000..5a54dc772 --- /dev/null +++ b/node_modules/@types/node/timers/promises.d.ts @@ -0,0 +1,93 @@ +/** + * The `timers/promises` API provides an alternative set of timer functions + * that return `Promise` objects. The API is accessible via`require('node:timers/promises')`. + * + * ```js + * import { + * setTimeout, + * setImmediate, + * setInterval, + * } from 'timers/promises'; + * ``` + * @since v15.0.0 + */ +declare module "timers/promises" { + import { TimerOptions } from "node:timers"; + /** + * ```js + * import { + * setTimeout, + * } from 'timers/promises'; + * + * const res = await setTimeout(100, 'result'); + * + * console.log(res); // Prints 'result' + * ``` + * @since v15.0.0 + * @param [delay=1] The number of milliseconds to wait before fulfilling the promise. + * @param value A value with which the promise is fulfilled. + */ + function setTimeout(delay?: number, value?: T, options?: TimerOptions): Promise; + /** + * ```js + * import { + * setImmediate, + * } from 'timers/promises'; + * + * const res = await setImmediate('result'); + * + * console.log(res); // Prints 'result' + * ``` + * @since v15.0.0 + * @param value A value with which the promise is fulfilled. + */ + function setImmediate(value?: T, options?: TimerOptions): Promise; + /** + * Returns an async iterator that generates values in an interval of `delay` ms. + * If `ref` is `true`, you need to call `next()` of async iterator explicitly + * or implicitly to keep the event loop alive. + * + * ```js + * import { + * setInterval, + * } from 'timers/promises'; + * + * const interval = 100; + * for await (const startTime of setInterval(interval, Date.now())) { + * const now = Date.now(); + * console.log(now); + * if ((now - startTime) > 1000) + * break; + * } + * console.log(Date.now()); + * ``` + * @since v15.9.0 + */ + function setInterval(delay?: number, value?: T, options?: TimerOptions): AsyncIterable; + interface Scheduler { + /** + * ```js + * import { scheduler } from 'node:timers/promises'; + * + * await scheduler.wait(1000); // Wait one second before continuing + * ``` + * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API. + * Calling timersPromises.scheduler.wait(delay, options) is roughly equivalent to calling timersPromises.setTimeout(delay, undefined, options) except that the ref option is not supported. + * @since v16.14.0 + * @experimental + * @param [delay=1] The number of milliseconds to wait before fulfilling the promise. + */ + wait: (delay?: number, options?: TimerOptions) => Promise; + /** + * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API. + * Calling timersPromises.scheduler.yield() is equivalent to calling timersPromises.setImmediate() with no arguments. + * @since v16.14.0 + * @experimental + */ + yield: () => Promise; + } + const scheduler: Scheduler; +} +declare module "node:timers/promises" { + export * from "timers/promises"; +} diff --git a/node_modules/@types/node/tls.d.ts b/node_modules/@types/node/tls.d.ts new file mode 100644 index 000000000..b289e841c --- /dev/null +++ b/node_modules/@types/node/tls.d.ts @@ -0,0 +1,1210 @@ +/** + * The `node:tls` module provides an implementation of the Transport Layer Security + * (TLS) and Secure Socket Layer (SSL) protocols that is built on top of OpenSSL. + * The module can be accessed using: + * + * ```js + * const tls = require('node:tls'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/tls.js) + */ +declare module "tls" { + import { X509Certificate } from "node:crypto"; + import * as net from "node:net"; + import * as stream from "stream"; + const CLIENT_RENEG_LIMIT: number; + const CLIENT_RENEG_WINDOW: number; + interface Certificate { + /** + * Country code. + */ + C: string; + /** + * Street. + */ + ST: string; + /** + * Locality. + */ + L: string; + /** + * Organization. + */ + O: string; + /** + * Organizational unit. + */ + OU: string; + /** + * Common name. + */ + CN: string; + } + interface PeerCertificate { + /** + * `true` if a Certificate Authority (CA), `false` otherwise. + * @since v18.13.0 + */ + ca: boolean; + /** + * The DER encoded X.509 certificate data. + */ + raw: Buffer; + /** + * The certificate subject. + */ + subject: Certificate; + /** + * The certificate issuer, described in the same terms as the `subject`. + */ + issuer: Certificate; + /** + * The date-time the certificate is valid from. + */ + valid_from: string; + /** + * The date-time the certificate is valid to. + */ + valid_to: string; + /** + * The certificate serial number, as a hex string. + */ + serialNumber: string; + /** + * The SHA-1 digest of the DER encoded certificate. + * It is returned as a `:` separated hexadecimal string. + */ + fingerprint: string; + /** + * The SHA-256 digest of the DER encoded certificate. + * It is returned as a `:` separated hexadecimal string. + */ + fingerprint256: string; + /** + * The SHA-512 digest of the DER encoded certificate. + * It is returned as a `:` separated hexadecimal string. + */ + fingerprint512: string; + /** + * The extended key usage, a set of OIDs. + */ + ext_key_usage?: string[]; + /** + * A string containing concatenated names for the subject, + * an alternative to the `subject` names. + */ + subjectaltname?: string; + /** + * An array describing the AuthorityInfoAccess, used with OCSP. + */ + infoAccess?: NodeJS.Dict; + /** + * For RSA keys: The RSA bit size. + * + * For EC keys: The key size in bits. + */ + bits?: number; + /** + * The RSA exponent, as a string in hexadecimal number notation. + */ + exponent?: string; + /** + * The RSA modulus, as a hexadecimal string. + */ + modulus?: string; + /** + * The public key. + */ + pubkey?: Buffer; + /** + * The ASN.1 name of the OID of the elliptic curve. + * Well-known curves are identified by an OID. + * While it is unusual, it is possible that the curve + * is identified by its mathematical properties, + * in which case it will not have an OID. + */ + asn1Curve?: string; + /** + * The NIST name for the elliptic curve,if it has one + * (not all well-known curves have been assigned names by NIST). + */ + nistCurve?: string; + } + interface DetailedPeerCertificate extends PeerCertificate { + /** + * The issuer certificate object. + * For self-signed certificates, this may be a circular reference. + */ + issuerCertificate: DetailedPeerCertificate; + } + interface CipherNameAndProtocol { + /** + * The cipher name. + */ + name: string; + /** + * SSL/TLS protocol version. + */ + version: string; + /** + * IETF name for the cipher suite. + */ + standardName: string; + } + interface EphemeralKeyInfo { + /** + * The supported types are 'DH' and 'ECDH'. + */ + type: string; + /** + * The name property is available only when type is 'ECDH'. + */ + name?: string | undefined; + /** + * The size of parameter of an ephemeral key exchange. + */ + size: number; + } + interface KeyObject { + /** + * Private keys in PEM format. + */ + pem: string | Buffer; + /** + * Optional passphrase. + */ + passphrase?: string | undefined; + } + interface PxfObject { + /** + * PFX or PKCS12 encoded private key and certificate chain. + */ + buf: string | Buffer; + /** + * Optional passphrase. + */ + passphrase?: string | undefined; + } + interface TLSSocketOptions extends SecureContextOptions, CommonConnectionOptions { + /** + * If true the TLS socket will be instantiated in server-mode. + * Defaults to false. + */ + isServer?: boolean | undefined; + /** + * An optional net.Server instance. + */ + server?: net.Server | undefined; + /** + * An optional Buffer instance containing a TLS session. + */ + session?: Buffer | undefined; + /** + * If true, specifies that the OCSP status request extension will be + * added to the client hello and an 'OCSPResponse' event will be + * emitted on the socket before establishing a secure communication + */ + requestOCSP?: boolean | undefined; + } + /** + * Performs transparent encryption of written data and all required TLS + * negotiation. + * + * Instances of `tls.TLSSocket` implement the duplex `Stream` interface. + * + * Methods that return TLS connection metadata (e.g.{@link TLSSocket.getPeerCertificate}) will only return data while the + * connection is open. + * @since v0.11.4 + */ + class TLSSocket extends net.Socket { + /** + * Construct a new tls.TLSSocket object from an existing TCP socket. + */ + constructor(socket: net.Socket, options?: TLSSocketOptions); + /** + * This property is `true` if the peer certificate was signed by one of the CAs + * specified when creating the `tls.TLSSocket` instance, otherwise `false`. + * @since v0.11.4 + */ + authorized: boolean; + /** + * Returns the reason why the peer's certificate was not been verified. This + * property is set only when `tlsSocket.authorized === false`. + * @since v0.11.4 + */ + authorizationError: Error; + /** + * Always returns `true`. This may be used to distinguish TLS sockets from regular`net.Socket` instances. + * @since v0.11.4 + */ + encrypted: true; + /** + * String containing the selected ALPN protocol. + * Before a handshake has completed, this value is always null. + * When a handshake is completed but not ALPN protocol was selected, tlsSocket.alpnProtocol equals false. + */ + alpnProtocol: string | false | null; + /** + * Returns an object representing the local certificate. The returned object has + * some properties corresponding to the fields of the certificate. + * + * See {@link TLSSocket.getPeerCertificate} for an example of the certificate + * structure. + * + * If there is no local certificate, an empty object will be returned. If the + * socket has been destroyed, `null` will be returned. + * @since v11.2.0 + */ + getCertificate(): PeerCertificate | object | null; + /** + * Returns an object containing information on the negotiated cipher suite. + * + * For example, a TLSv1.2 protocol with AES256-SHA cipher: + * + * ```json + * { + * "name": "AES256-SHA", + * "standardName": "TLS_RSA_WITH_AES_256_CBC_SHA", + * "version": "SSLv3" + * } + * ``` + * + * See [SSL\_CIPHER\_get\_name](https://www.openssl.org/docs/man1.1.1/man3/SSL_CIPHER_get_name.html) for more information. + * @since v0.11.4 + */ + getCipher(): CipherNameAndProtocol; + /** + * Returns an object representing the type, name, and size of parameter of + * an ephemeral key exchange in `perfect forward secrecy` on a client + * connection. It returns an empty object when the key exchange is not + * ephemeral. As this is only supported on a client socket; `null` is returned + * if called on a server socket. The supported types are `'DH'` and `'ECDH'`. The`name` property is available only when type is `'ECDH'`. + * + * For example: `{ type: 'ECDH', name: 'prime256v1', size: 256 }`. + * @since v5.0.0 + */ + getEphemeralKeyInfo(): EphemeralKeyInfo | object | null; + /** + * As the `Finished` messages are message digests of the complete handshake + * (with a total of 192 bits for TLS 1.0 and more for SSL 3.0), they can + * be used for external authentication procedures when the authentication + * provided by SSL/TLS is not desired or is not enough. + * + * Corresponds to the `SSL_get_finished` routine in OpenSSL and may be used + * to implement the `tls-unique` channel binding from [RFC 5929](https://tools.ietf.org/html/rfc5929). + * @since v9.9.0 + * @return The latest `Finished` message that has been sent to the socket as part of a SSL/TLS handshake, or `undefined` if no `Finished` message has been sent yet. + */ + getFinished(): Buffer | undefined; + /** + * Returns an object representing the peer's certificate. If the peer does not + * provide a certificate, an empty object will be returned. If the socket has been + * destroyed, `null` will be returned. + * + * If the full certificate chain was requested, each certificate will include an`issuerCertificate` property containing an object representing its issuer's + * certificate. + * @since v0.11.4 + * @param detailed Include the full certificate chain if `true`, otherwise include just the peer's certificate. + * @return A certificate object. + */ + getPeerCertificate(detailed: true): DetailedPeerCertificate; + getPeerCertificate(detailed?: false): PeerCertificate; + getPeerCertificate(detailed?: boolean): PeerCertificate | DetailedPeerCertificate; + /** + * As the `Finished` messages are message digests of the complete handshake + * (with a total of 192 bits for TLS 1.0 and more for SSL 3.0), they can + * be used for external authentication procedures when the authentication + * provided by SSL/TLS is not desired or is not enough. + * + * Corresponds to the `SSL_get_peer_finished` routine in OpenSSL and may be used + * to implement the `tls-unique` channel binding from [RFC 5929](https://tools.ietf.org/html/rfc5929). + * @since v9.9.0 + * @return The latest `Finished` message that is expected or has actually been received from the socket as part of a SSL/TLS handshake, or `undefined` if there is no `Finished` message so + * far. + */ + getPeerFinished(): Buffer | undefined; + /** + * Returns a string containing the negotiated SSL/TLS protocol version of the + * current connection. The value `'unknown'` will be returned for connected + * sockets that have not completed the handshaking process. The value `null` will + * be returned for server sockets or disconnected client sockets. + * + * Protocol versions are: + * + * * `'SSLv3'` + * * `'TLSv1'` + * * `'TLSv1.1'` + * * `'TLSv1.2'` + * * `'TLSv1.3'` + * + * See the OpenSSL [`SSL_get_version`](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html) documentation for more information. + * @since v5.7.0 + */ + getProtocol(): string | null; + /** + * Returns the TLS session data or `undefined` if no session was + * negotiated. On the client, the data can be provided to the `session` option of {@link connect} to resume the connection. On the server, it may be useful + * for debugging. + * + * See `Session Resumption` for more information. + * + * Note: `getSession()` works only for TLSv1.2 and below. For TLSv1.3, applications + * must use the `'session'` event (it also works for TLSv1.2 and below). + * @since v0.11.4 + */ + getSession(): Buffer | undefined; + /** + * See [SSL\_get\_shared\_sigalgs](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_shared_sigalgs.html) for more information. + * @since v12.11.0 + * @return List of signature algorithms shared between the server and the client in the order of decreasing preference. + */ + getSharedSigalgs(): string[]; + /** + * For a client, returns the TLS session ticket if one is available, or`undefined`. For a server, always returns `undefined`. + * + * It may be useful for debugging. + * + * See `Session Resumption` for more information. + * @since v0.11.4 + */ + getTLSTicket(): Buffer | undefined; + /** + * See `Session Resumption` for more information. + * @since v0.5.6 + * @return `true` if the session was reused, `false` otherwise. + */ + isSessionReused(): boolean; + /** + * The `tlsSocket.renegotiate()` method initiates a TLS renegotiation process. + * Upon completion, the `callback` function will be passed a single argument + * that is either an `Error` (if the request failed) or `null`. + * + * This method can be used to request a peer's certificate after the secure + * connection has been established. + * + * When running as the server, the socket will be destroyed with an error after`handshakeTimeout` timeout. + * + * For TLSv1.3, renegotiation cannot be initiated, it is not supported by the + * protocol. + * @since v0.11.8 + * @param callback If `renegotiate()` returned `true`, callback is attached once to the `'secure'` event. If `renegotiate()` returned `false`, `callback` will be called in the next tick with + * an error, unless the `tlsSocket` has been destroyed, in which case `callback` will not be called at all. + * @return `true` if renegotiation was initiated, `false` otherwise. + */ + renegotiate( + options: { + rejectUnauthorized?: boolean | undefined; + requestCert?: boolean | undefined; + }, + callback: (err: Error | null) => void, + ): undefined | boolean; + /** + * The `tlsSocket.setMaxSendFragment()` method sets the maximum TLS fragment size. + * Returns `true` if setting the limit succeeded; `false` otherwise. + * + * Smaller fragment sizes decrease the buffering latency on the client: larger + * fragments are buffered by the TLS layer until the entire fragment is received + * and its integrity is verified; large fragments can span multiple roundtrips + * and their processing can be delayed due to packet loss or reordering. However, + * smaller fragments add extra TLS framing bytes and CPU overhead, which may + * decrease overall server throughput. + * @since v0.11.11 + * @param [size=16384] The maximum TLS fragment size. The maximum value is `16384`. + */ + setMaxSendFragment(size: number): boolean; + /** + * Disables TLS renegotiation for this `TLSSocket` instance. Once called, attempts + * to renegotiate will trigger an `'error'` event on the `TLSSocket`. + * @since v8.4.0 + */ + disableRenegotiation(): void; + /** + * When enabled, TLS packet trace information is written to `stderr`. This can be + * used to debug TLS connection problems. + * + * The format of the output is identical to the output of`openssl s_client -trace` or `openssl s_server -trace`. While it is produced by + * OpenSSL's `SSL_trace()` function, the format is undocumented, can change + * without notice, and should not be relied on. + * @since v12.2.0 + */ + enableTrace(): void; + /** + * Returns the peer certificate as an `X509Certificate` object. + * + * If there is no peer certificate, or the socket has been destroyed,`undefined` will be returned. + * @since v15.9.0 + */ + getPeerX509Certificate(): X509Certificate | undefined; + /** + * Returns the local certificate as an `X509Certificate` object. + * + * If there is no local certificate, or the socket has been destroyed,`undefined` will be returned. + * @since v15.9.0 + */ + getX509Certificate(): X509Certificate | undefined; + /** + * Keying material is used for validations to prevent different kind of attacks in + * network protocols, for example in the specifications of IEEE 802.1X. + * + * Example + * + * ```js + * const keyingMaterial = tlsSocket.exportKeyingMaterial( + * 128, + * 'client finished'); + * + * /* + * Example return value of keyingMaterial: + * + * + * ``` + * + * See the OpenSSL [`SSL_export_keying_material`](https://www.openssl.org/docs/man1.1.1/man3/SSL_export_keying_material.html) documentation for more + * information. + * @since v13.10.0, v12.17.0 + * @param length number of bytes to retrieve from keying material + * @param label an application specific label, typically this will be a value from the [IANA Exporter Label + * Registry](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#exporter-labels). + * @param context Optionally provide a context. + * @return requested bytes of the keying material + */ + exportKeyingMaterial(length: number, label: string, context: Buffer): Buffer; + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; + addListener(event: "secureConnect", listener: () => void): this; + addListener(event: "session", listener: (session: Buffer) => void): this; + addListener(event: "keylog", listener: (line: Buffer) => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "OCSPResponse", response: Buffer): boolean; + emit(event: "secureConnect"): boolean; + emit(event: "session", session: Buffer): boolean; + emit(event: "keylog", line: Buffer): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "OCSPResponse", listener: (response: Buffer) => void): this; + on(event: "secureConnect", listener: () => void): this; + on(event: "session", listener: (session: Buffer) => void): this; + on(event: "keylog", listener: (line: Buffer) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "OCSPResponse", listener: (response: Buffer) => void): this; + once(event: "secureConnect", listener: () => void): this; + once(event: "session", listener: (session: Buffer) => void): this; + once(event: "keylog", listener: (line: Buffer) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; + prependListener(event: "secureConnect", listener: () => void): this; + prependListener(event: "session", listener: (session: Buffer) => void): this; + prependListener(event: "keylog", listener: (line: Buffer) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; + prependOnceListener(event: "secureConnect", listener: () => void): this; + prependOnceListener(event: "session", listener: (session: Buffer) => void): this; + prependOnceListener(event: "keylog", listener: (line: Buffer) => void): this; + } + interface CommonConnectionOptions { + /** + * An optional TLS context object from tls.createSecureContext() + */ + secureContext?: SecureContext | undefined; + /** + * When enabled, TLS packet trace information is written to `stderr`. This can be + * used to debug TLS connection problems. + * @default false + */ + enableTrace?: boolean | undefined; + /** + * If true the server will request a certificate from clients that + * connect and attempt to verify that certificate. Defaults to + * false. + */ + requestCert?: boolean | undefined; + /** + * An array of strings or a Buffer naming possible ALPN protocols. + * (Protocols should be ordered by their priority.) + */ + ALPNProtocols?: string[] | Uint8Array[] | Uint8Array | undefined; + /** + * SNICallback(servername, cb) A function that will be + * called if the client supports SNI TLS extension. Two arguments + * will be passed when called: servername and cb. SNICallback should + * invoke cb(null, ctx), where ctx is a SecureContext instance. + * (tls.createSecureContext(...) can be used to get a proper + * SecureContext.) If SNICallback wasn't provided the default callback + * with high-level API will be used (see below). + */ + SNICallback?: ((servername: string, cb: (err: Error | null, ctx?: SecureContext) => void) => void) | undefined; + /** + * If true the server will reject any connection which is not + * authorized with the list of supplied CAs. This option only has an + * effect if requestCert is true. + * @default true + */ + rejectUnauthorized?: boolean | undefined; + } + interface TlsOptions extends SecureContextOptions, CommonConnectionOptions, net.ServerOpts { + /** + * Abort the connection if the SSL/TLS handshake does not finish in the + * specified number of milliseconds. A 'tlsClientError' is emitted on + * the tls.Server object whenever a handshake times out. Default: + * 120000 (120 seconds). + */ + handshakeTimeout?: number | undefined; + /** + * The number of seconds after which a TLS session created by the + * server will no longer be resumable. See Session Resumption for more + * information. Default: 300. + */ + sessionTimeout?: number | undefined; + /** + * 48-bytes of cryptographically strong pseudo-random data. + */ + ticketKeys?: Buffer | undefined; + /** + * @param socket + * @param identity identity parameter sent from the client. + * @return pre-shared key that must either be + * a buffer or `null` to stop the negotiation process. Returned PSK must be + * compatible with the selected cipher's digest. + * + * When negotiating TLS-PSK (pre-shared keys), this function is called + * with the identity provided by the client. + * If the return value is `null` the negotiation process will stop and an + * "unknown_psk_identity" alert message will be sent to the other party. + * If the server wishes to hide the fact that the PSK identity was not known, + * the callback must provide some random data as `psk` to make the connection + * fail with "decrypt_error" before negotiation is finished. + * PSK ciphers are disabled by default, and using TLS-PSK thus + * requires explicitly specifying a cipher suite with the `ciphers` option. + * More information can be found in the RFC 4279. + */ + pskCallback?(socket: TLSSocket, identity: string): DataView | NodeJS.TypedArray | null; + /** + * hint to send to a client to help + * with selecting the identity during TLS-PSK negotiation. Will be ignored + * in TLS 1.3. Upon failing to set pskIdentityHint `tlsClientError` will be + * emitted with `ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED` code. + */ + pskIdentityHint?: string | undefined; + } + interface PSKCallbackNegotation { + psk: DataView | NodeJS.TypedArray; + identity: string; + } + interface ConnectionOptions extends SecureContextOptions, CommonConnectionOptions { + host?: string | undefined; + port?: number | undefined; + path?: string | undefined; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored. + socket?: stream.Duplex | undefined; // Establish secure connection on a given socket rather than creating a new socket + checkServerIdentity?: typeof checkServerIdentity | undefined; + servername?: string | undefined; // SNI TLS Extension + session?: Buffer | undefined; + minDHSize?: number | undefined; + lookup?: net.LookupFunction | undefined; + timeout?: number | undefined; + /** + * When negotiating TLS-PSK (pre-shared keys), this function is called + * with optional identity `hint` provided by the server or `null` + * in case of TLS 1.3 where `hint` was removed. + * It will be necessary to provide a custom `tls.checkServerIdentity()` + * for the connection as the default one will try to check hostname/IP + * of the server against the certificate but that's not applicable for PSK + * because there won't be a certificate present. + * More information can be found in the RFC 4279. + * + * @param hint message sent from the server to help client + * decide which identity to use during negotiation. + * Always `null` if TLS 1.3 is used. + * @returns Return `null` to stop the negotiation process. `psk` must be + * compatible with the selected cipher's digest. + * `identity` must use UTF-8 encoding. + */ + pskCallback?(hint: string | null): PSKCallbackNegotation | null; + } + /** + * Accepts encrypted connections using TLS or SSL. + * @since v0.3.2 + */ + class Server extends net.Server { + constructor(secureConnectionListener?: (socket: TLSSocket) => void); + constructor(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void); + /** + * The `server.addContext()` method adds a secure context that will be used if + * the client request's SNI name matches the supplied `hostname` (or wildcard). + * + * When there are multiple matching contexts, the most recently added one is + * used. + * @since v0.5.3 + * @param hostname A SNI host name or wildcard (e.g. `'*'`) + * @param context An object containing any of the possible properties from the {@link createSecureContext} `options` arguments (e.g. `key`, `cert`, `ca`, etc), or a TLS context object created + * with {@link createSecureContext} itself. + */ + addContext(hostname: string, context: SecureContextOptions): void; + /** + * Returns the session ticket keys. + * + * See `Session Resumption` for more information. + * @since v3.0.0 + * @return A 48-byte buffer containing the session ticket keys. + */ + getTicketKeys(): Buffer; + /** + * The `server.setSecureContext()` method replaces the secure context of an + * existing server. Existing connections to the server are not interrupted. + * @since v11.0.0 + * @param options An object containing any of the possible properties from the {@link createSecureContext} `options` arguments (e.g. `key`, `cert`, `ca`, etc). + */ + setSecureContext(options: SecureContextOptions): void; + /** + * Sets the session ticket keys. + * + * Changes to the ticket keys are effective only for future server connections. + * Existing or currently pending server connections will use the previous keys. + * + * See `Session Resumption` for more information. + * @since v3.0.0 + * @param keys A 48-byte buffer containing the session ticket keys. + */ + setTicketKeys(keys: Buffer): void; + /** + * events.EventEmitter + * 1. tlsClientError + * 2. newSession + * 3. OCSPRequest + * 4. resumeSession + * 5. secureConnection + * 6. keylog + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; + addListener( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, + ): this; + addListener( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + addListener( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, + ): this; + addListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; + addListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "tlsClientError", err: Error, tlsSocket: TLSSocket): boolean; + emit(event: "newSession", sessionId: Buffer, sessionData: Buffer, callback: () => void): boolean; + emit( + event: "OCSPRequest", + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ): boolean; + emit( + event: "resumeSession", + sessionId: Buffer, + callback: (err: Error | null, sessionData: Buffer | null) => void, + ): boolean; + emit(event: "secureConnection", tlsSocket: TLSSocket): boolean; + emit(event: "keylog", line: Buffer, tlsSocket: TLSSocket): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; + on(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void): this; + on( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + on( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, + ): this; + on(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; + on(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; + once( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, + ): this; + once( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + once( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, + ): this; + once(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; + once(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; + prependListener( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, + ): this; + prependListener( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + prependListener( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, + ): this; + prependListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; + prependListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; + prependOnceListener( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, + ): this; + prependOnceListener( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + prependOnceListener( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, + ): this; + prependOnceListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; + prependOnceListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; + } + /** + * @deprecated since v0.11.3 Use `tls.TLSSocket` instead. + */ + interface SecurePair { + encrypted: TLSSocket; + cleartext: TLSSocket; + } + type SecureVersion = "TLSv1.3" | "TLSv1.2" | "TLSv1.1" | "TLSv1"; + interface SecureContextOptions { + /** + * If set, this will be called when a client opens a connection using the ALPN extension. + * One argument will be passed to the callback: an object containing `servername` and `protocols` fields, + * respectively containing the server name from the SNI extension (if any) and an array of + * ALPN protocol name strings. The callback must return either one of the strings listed in `protocols`, + * which will be returned to the client as the selected ALPN protocol, or `undefined`, + * to reject the connection with a fatal alert. If a string is returned that does not match one of + * the client's ALPN protocols, an error will be thrown. + * This option cannot be used with the `ALPNProtocols` option, and setting both options will throw an error. + */ + ALPNCallback?: ((arg: { servername: string; protocols: string[] }) => string | undefined) | undefined; + /** + * Optionally override the trusted CA certificates. Default is to trust + * the well-known CAs curated by Mozilla. Mozilla's CAs are completely + * replaced when CAs are explicitly specified using this option. + */ + ca?: string | Buffer | Array | undefined; + /** + * Cert chains in PEM format. One cert chain should be provided per + * private key. Each cert chain should consist of the PEM formatted + * certificate for a provided private key, followed by the PEM + * formatted intermediate certificates (if any), in order, and not + * including the root CA (the root CA must be pre-known to the peer, + * see ca). When providing multiple cert chains, they do not have to + * be in the same order as their private keys in key. If the + * intermediate certificates are not provided, the peer will not be + * able to validate the certificate, and the handshake will fail. + */ + cert?: string | Buffer | Array | undefined; + /** + * Colon-separated list of supported signature algorithms. The list + * can contain digest algorithms (SHA256, MD5 etc.), public key + * algorithms (RSA-PSS, ECDSA etc.), combination of both (e.g + * 'RSA+SHA384') or TLS v1.3 scheme names (e.g. rsa_pss_pss_sha512). + */ + sigalgs?: string | undefined; + /** + * Cipher suite specification, replacing the default. For more + * information, see modifying the default cipher suite. Permitted + * ciphers can be obtained via tls.getCiphers(). Cipher names must be + * uppercased in order for OpenSSL to accept them. + */ + ciphers?: string | undefined; + /** + * Name of an OpenSSL engine which can provide the client certificate. + */ + clientCertEngine?: string | undefined; + /** + * PEM formatted CRLs (Certificate Revocation Lists). + */ + crl?: string | Buffer | Array | undefined; + /** + * `'auto'` or custom Diffie-Hellman parameters, required for non-ECDHE perfect forward secrecy. + * If omitted or invalid, the parameters are silently discarded and DHE ciphers will not be available. + * ECDHE-based perfect forward secrecy will still be available. + */ + dhparam?: string | Buffer | undefined; + /** + * A string describing a named curve or a colon separated list of curve + * NIDs or names, for example P-521:P-384:P-256, to use for ECDH key + * agreement. Set to auto to select the curve automatically. Use + * crypto.getCurves() to obtain a list of available curve names. On + * recent releases, openssl ecparam -list_curves will also display the + * name and description of each available elliptic curve. Default: + * tls.DEFAULT_ECDH_CURVE. + */ + ecdhCurve?: string | undefined; + /** + * Attempt to use the server's cipher suite preferences instead of the + * client's. When true, causes SSL_OP_CIPHER_SERVER_PREFERENCE to be + * set in secureOptions + */ + honorCipherOrder?: boolean | undefined; + /** + * Private keys in PEM format. PEM allows the option of private keys + * being encrypted. Encrypted keys will be decrypted with + * options.passphrase. Multiple keys using different algorithms can be + * provided either as an array of unencrypted key strings or buffers, + * or an array of objects in the form {pem: [, + * passphrase: ]}. The object form can only occur in an array. + * object.passphrase is optional. Encrypted keys will be decrypted with + * object.passphrase if provided, or options.passphrase if it is not. + */ + key?: string | Buffer | Array | undefined; + /** + * Name of an OpenSSL engine to get private key from. Should be used + * together with privateKeyIdentifier. + */ + privateKeyEngine?: string | undefined; + /** + * Identifier of a private key managed by an OpenSSL engine. Should be + * used together with privateKeyEngine. Should not be set together with + * key, because both options define a private key in different ways. + */ + privateKeyIdentifier?: string | undefined; + /** + * Optionally set the maximum TLS version to allow. One + * of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the + * `secureProtocol` option, use one or the other. + * **Default:** `'TLSv1.3'`, unless changed using CLI options. Using + * `--tls-max-v1.2` sets the default to `'TLSv1.2'`. Using `--tls-max-v1.3` sets the default to + * `'TLSv1.3'`. If multiple of the options are provided, the highest maximum is used. + */ + maxVersion?: SecureVersion | undefined; + /** + * Optionally set the minimum TLS version to allow. One + * of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the + * `secureProtocol` option, use one or the other. It is not recommended to use + * less than TLSv1.2, but it may be required for interoperability. + * **Default:** `'TLSv1.2'`, unless changed using CLI options. Using + * `--tls-v1.0` sets the default to `'TLSv1'`. Using `--tls-v1.1` sets the default to + * `'TLSv1.1'`. Using `--tls-min-v1.3` sets the default to + * 'TLSv1.3'. If multiple of the options are provided, the lowest minimum is used. + */ + minVersion?: SecureVersion | undefined; + /** + * Shared passphrase used for a single private key and/or a PFX. + */ + passphrase?: string | undefined; + /** + * PFX or PKCS12 encoded private key and certificate chain. pfx is an + * alternative to providing key and cert individually. PFX is usually + * encrypted, if it is, passphrase will be used to decrypt it. Multiple + * PFX can be provided either as an array of unencrypted PFX buffers, + * or an array of objects in the form {buf: [, + * passphrase: ]}. The object form can only occur in an array. + * object.passphrase is optional. Encrypted PFX will be decrypted with + * object.passphrase if provided, or options.passphrase if it is not. + */ + pfx?: string | Buffer | Array | undefined; + /** + * Optionally affect the OpenSSL protocol behavior, which is not + * usually necessary. This should be used carefully if at all! Value is + * a numeric bitmask of the SSL_OP_* options from OpenSSL Options + */ + secureOptions?: number | undefined; // Value is a numeric bitmask of the `SSL_OP_*` options + /** + * Legacy mechanism to select the TLS protocol version to use, it does + * not support independent control of the minimum and maximum version, + * and does not support limiting the protocol to TLSv1.3. Use + * minVersion and maxVersion instead. The possible values are listed as + * SSL_METHODS, use the function names as strings. For example, use + * 'TLSv1_1_method' to force TLS version 1.1, or 'TLS_method' to allow + * any TLS protocol version up to TLSv1.3. It is not recommended to use + * TLS versions less than 1.2, but it may be required for + * interoperability. Default: none, see minVersion. + */ + secureProtocol?: string | undefined; + /** + * Opaque identifier used by servers to ensure session state is not + * shared between applications. Unused by clients. + */ + sessionIdContext?: string | undefined; + /** + * 48-bytes of cryptographically strong pseudo-random data. + * See Session Resumption for more information. + */ + ticketKeys?: Buffer | undefined; + /** + * The number of seconds after which a TLS session created by the + * server will no longer be resumable. See Session Resumption for more + * information. Default: 300. + */ + sessionTimeout?: number | undefined; + } + interface SecureContext { + context: any; + } + /** + * Verifies the certificate `cert` is issued to `hostname`. + * + * Returns [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) object, populating it with `reason`, `host`, and `cert` on + * failure. On success, returns [undefined](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Undefined_type). + * + * This function is intended to be used in combination with the`checkServerIdentity` option that can be passed to {@link connect} and as + * such operates on a `certificate object`. For other purposes, consider using `x509.checkHost()` instead. + * + * This function can be overwritten by providing an alternative function as the`options.checkServerIdentity` option that is passed to `tls.connect()`. The + * overwriting function can call `tls.checkServerIdentity()` of course, to augment + * the checks done with additional verification. + * + * This function is only called if the certificate passed all other checks, such as + * being issued by trusted CA (`options.ca`). + * + * Earlier versions of Node.js incorrectly accepted certificates for a given`hostname` if a matching `uniformResourceIdentifier` subject alternative name + * was present (see [CVE-2021-44531](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44531)). Applications that wish to accept`uniformResourceIdentifier` subject alternative names can use + * a custom`options.checkServerIdentity` function that implements the desired behavior. + * @since v0.8.4 + * @param hostname The host name or IP address to verify the certificate against. + * @param cert A `certificate object` representing the peer's certificate. + */ + function checkServerIdentity(hostname: string, cert: PeerCertificate): Error | undefined; + /** + * Creates a new {@link Server}. The `secureConnectionListener`, if provided, is + * automatically set as a listener for the `'secureConnection'` event. + * + * The `ticketKeys` options is automatically shared between `node:cluster` module + * workers. + * + * The following illustrates a simple echo server: + * + * ```js + * const tls = require('node:tls'); + * const fs = require('node:fs'); + * + * const options = { + * key: fs.readFileSync('server-key.pem'), + * cert: fs.readFileSync('server-cert.pem'), + * + * // This is necessary only if using client certificate authentication. + * requestCert: true, + * + * // This is necessary only if the client uses a self-signed certificate. + * ca: [ fs.readFileSync('client-cert.pem') ], + * }; + * + * const server = tls.createServer(options, (socket) => { + * console.log('server connected', + * socket.authorized ? 'authorized' : 'unauthorized'); + * socket.write('welcome!\n'); + * socket.setEncoding('utf8'); + * socket.pipe(socket); + * }); + * server.listen(8000, () => { + * console.log('server bound'); + * }); + * ``` + * + * The server can be tested by connecting to it using the example client from {@link connect}. + * @since v0.3.2 + */ + function createServer(secureConnectionListener?: (socket: TLSSocket) => void): Server; + function createServer(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; + /** + * The `callback` function, if specified, will be added as a listener for the `'secureConnect'` event. + * + * `tls.connect()` returns a {@link TLSSocket} object. + * + * Unlike the `https` API, `tls.connect()` does not enable the + * SNI (Server Name Indication) extension by default, which may cause some + * servers to return an incorrect certificate or reject the connection + * altogether. To enable SNI, set the `servername` option in addition + * to `host`. + * + * The following illustrates a client for the echo server example from {@link createServer}: + * + * ```js + * // Assumes an echo server that is listening on port 8000. + * const tls = require('node:tls'); + * const fs = require('node:fs'); + * + * const options = { + * // Necessary only if the server requires client certificate authentication. + * key: fs.readFileSync('client-key.pem'), + * cert: fs.readFileSync('client-cert.pem'), + * + * // Necessary only if the server uses a self-signed certificate. + * ca: [ fs.readFileSync('server-cert.pem') ], + * + * // Necessary only if the server's cert isn't for "localhost". + * checkServerIdentity: () => { return null; }, + * }; + * + * const socket = tls.connect(8000, options, () => { + * console.log('client connected', + * socket.authorized ? 'authorized' : 'unauthorized'); + * process.stdin.pipe(socket); + * process.stdin.resume(); + * }); + * socket.setEncoding('utf8'); + * socket.on('data', (data) => { + * console.log(data); + * }); + * socket.on('end', () => { + * console.log('server ends connection'); + * }); + * ``` + * @since v0.11.3 + */ + function connect(options: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; + function connect( + port: number, + host?: string, + options?: ConnectionOptions, + secureConnectListener?: () => void, + ): TLSSocket; + function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; + /** + * Creates a new secure pair object with two streams, one of which reads and writes + * the encrypted data and the other of which reads and writes the cleartext data. + * Generally, the encrypted stream is piped to/from an incoming encrypted data + * stream and the cleartext one is used as a replacement for the initial encrypted + * stream. + * + * `tls.createSecurePair()` returns a `tls.SecurePair` object with `cleartext` and`encrypted` stream properties. + * + * Using `cleartext` has the same API as {@link TLSSocket}. + * + * The `tls.createSecurePair()` method is now deprecated in favor of`tls.TLSSocket()`. For example, the code: + * + * ```js + * pair = tls.createSecurePair(// ... ); + * pair.encrypted.pipe(socket); + * socket.pipe(pair.encrypted); + * ``` + * + * can be replaced by: + * + * ```js + * secureSocket = tls.TLSSocket(socket, options); + * ``` + * + * where `secureSocket` has the same API as `pair.cleartext`. + * @since v0.3.2 + * @deprecated Since v0.11.3 - Use {@link TLSSocket} instead. + * @param context A secure context object as returned by `tls.createSecureContext()` + * @param isServer `true` to specify that this TLS connection should be opened as a server. + * @param requestCert `true` to specify whether a server should request a certificate from a connecting client. Only applies when `isServer` is `true`. + * @param rejectUnauthorized If not `false` a server automatically reject clients with invalid certificates. Only applies when `isServer` is `true`. + */ + function createSecurePair( + context?: SecureContext, + isServer?: boolean, + requestCert?: boolean, + rejectUnauthorized?: boolean, + ): SecurePair; + /** + * {@link createServer} sets the default value of the `honorCipherOrder` option + * to `true`, other APIs that create secure contexts leave it unset. + * + * {@link createServer} uses a 128 bit truncated SHA1 hash value generated + * from `process.argv` as the default value of the `sessionIdContext` option, other + * APIs that create secure contexts have no default value. + * + * The `tls.createSecureContext()` method creates a `SecureContext` object. It is + * usable as an argument to several `tls` APIs, such as `server.addContext()`, + * but has no public methods. The {@link Server} constructor and the {@link createServer} method do not support the `secureContext` option. + * + * A key is _required_ for ciphers that use certificates. Either `key` or`pfx` can be used to provide it. + * + * If the `ca` option is not given, then Node.js will default to using [Mozilla's publicly trusted list of + * CAs](https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt). + * + * Custom DHE parameters are discouraged in favor of the new `dhparam: 'auto'`option. When set to `'auto'`, well-known DHE parameters of sufficient strength + * will be selected automatically. Otherwise, if necessary, `openssl dhparam` can + * be used to create custom parameters. The key length must be greater than or + * equal to 1024 bits or else an error will be thrown. Although 1024 bits is + * permissible, use 2048 bits or larger for stronger security. + * @since v0.11.13 + */ + function createSecureContext(options?: SecureContextOptions): SecureContext; + /** + * Returns an array with the names of the supported TLS ciphers. The names are + * lower-case for historical reasons, but must be uppercased to be used in + * the `ciphers` option of {@link createSecureContext}. + * + * Not all supported ciphers are enabled by default. See `Modifying the default TLS cipher suite`. + * + * Cipher names that start with `'tls_'` are for TLSv1.3, all the others are for + * TLSv1.2 and below. + * + * ```js + * console.log(tls.getCiphers()); // ['aes128-gcm-sha256', 'aes128-sha', ...] + * ``` + * @since v0.10.2 + */ + function getCiphers(): string[]; + /** + * The default curve name to use for ECDH key agreement in a tls server. + * The default value is 'auto'. See tls.createSecureContext() for further + * information. + */ + let DEFAULT_ECDH_CURVE: string; + /** + * The default value of the maxVersion option of + * tls.createSecureContext(). It can be assigned any of the supported TLS + * protocol versions, 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: + * 'TLSv1.3', unless changed using CLI options. Using --tls-max-v1.2 sets + * the default to 'TLSv1.2'. Using --tls-max-v1.3 sets the default to + * 'TLSv1.3'. If multiple of the options are provided, the highest maximum + * is used. + */ + let DEFAULT_MAX_VERSION: SecureVersion; + /** + * The default value of the minVersion option of tls.createSecureContext(). + * It can be assigned any of the supported TLS protocol versions, + * 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: 'TLSv1.2', unless + * changed using CLI options. Using --tls-min-v1.0 sets the default to + * 'TLSv1'. Using --tls-min-v1.1 sets the default to 'TLSv1.1'. Using + * --tls-min-v1.3 sets the default to 'TLSv1.3'. If multiple of the options + * are provided, the lowest minimum is used. + */ + let DEFAULT_MIN_VERSION: SecureVersion; + /** + * The default value of the ciphers option of tls.createSecureContext(). + * It can be assigned any of the supported OpenSSL ciphers. + * Defaults to the content of crypto.constants.defaultCoreCipherList, unless + * changed using CLI options using --tls-default-ciphers. + */ + let DEFAULT_CIPHERS: string; + /** + * An immutable array of strings representing the root certificates (in PEM + * format) used for verifying peer certificates. This is the default value + * of the ca option to tls.createSecureContext(). + */ + const rootCertificates: readonly string[]; +} +declare module "node:tls" { + export * from "tls"; +} diff --git a/node_modules/@types/node/trace_events.d.ts b/node_modules/@types/node/trace_events.d.ts new file mode 100644 index 000000000..336135959 --- /dev/null +++ b/node_modules/@types/node/trace_events.d.ts @@ -0,0 +1,182 @@ +/** + * The `node:trace_events` module provides a mechanism to centralize tracing + * information generated by V8, Node.js core, and userspace code. + * + * Tracing can be enabled with the `--trace-event-categories` command-line flag + * or by using the `node:trace_events` module. The `--trace-event-categories` flag + * accepts a list of comma-separated category names. + * + * The available categories are: + * + * * `node`: An empty placeholder. + * * `node.async_hooks`: Enables capture of detailed `async_hooks` trace data. + * The `async_hooks` events have a unique `asyncId` and a special `triggerId` `triggerAsyncId` property. + * * `node.bootstrap`: Enables capture of Node.js bootstrap milestones. + * * `node.console`: Enables capture of `console.time()` and `console.count()`output. + * * `node.threadpoolwork.sync`: Enables capture of trace data for threadpool + * synchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`. + * * `node.threadpoolwork.async`: Enables capture of trace data for threadpool + * asynchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`. + * * `node.dns.native`: Enables capture of trace data for DNS queries. + * * `node.net.native`: Enables capture of trace data for network. + * * `node.environment`: Enables capture of Node.js Environment milestones. + * * `node.fs.sync`: Enables capture of trace data for file system sync methods. + * * `node.fs_dir.sync`: Enables capture of trace data for file system sync + * directory methods. + * * `node.fs.async`: Enables capture of trace data for file system async methods. + * * `node.fs_dir.async`: Enables capture of trace data for file system async + * directory methods. + * * `node.perf`: Enables capture of `Performance API` measurements. + * * `node.perf.usertiming`: Enables capture of only Performance API User Timing + * measures and marks. + * * `node.perf.timerify`: Enables capture of only Performance API timerify + * measurements. + * * `node.promises.rejections`: Enables capture of trace data tracking the number + * of unhandled Promise rejections and handled-after-rejections. + * * `node.vm.script`: Enables capture of trace data for the `node:vm` module's`runInNewContext()`, `runInContext()`, and `runInThisContext()` methods. + * * `v8`: The `V8` events are GC, compiling, and execution related. + * * `node.http`: Enables capture of trace data for http request / response. + * + * By default the `node`, `node.async_hooks`, and `v8` categories are enabled. + * + * ```bash + * node --trace-event-categories v8,node,node.async_hooks server.js + * ``` + * + * Prior versions of Node.js required the use of the `--trace-events-enabled`flag to enable trace events. This requirement has been removed. However, the`--trace-events-enabled` flag _may_ still be + * used and will enable the`node`, `node.async_hooks`, and `v8` trace event categories by default. + * + * ```bash + * node --trace-events-enabled + * + * # is equivalent to + * + * node --trace-event-categories v8,node,node.async_hooks + * ``` + * + * Alternatively, trace events may be enabled using the `node:trace_events` module: + * + * ```js + * const trace_events = require('node:trace_events'); + * const tracing = trace_events.createTracing({ categories: ['node.perf'] }); + * tracing.enable(); // Enable trace event capture for the 'node.perf' category + * + * // do work + * + * tracing.disable(); // Disable trace event capture for the 'node.perf' category + * ``` + * + * Running Node.js with tracing enabled will produce log files that can be opened + * in the [`chrome://tracing`](https://www.chromium.org/developers/how-tos/trace-event-profiling-tool) tab of Chrome. + * + * The logging file is by default called `node_trace.${rotation}.log`, where`${rotation}` is an incrementing log-rotation id. The filepath pattern can + * be specified with `--trace-event-file-pattern` that accepts a template + * string that supports `${rotation}` and `${pid}`: + * + * ```bash + * node --trace-event-categories v8 --trace-event-file-pattern '${pid}-${rotation}.log' server.js + * ``` + * + * To guarantee that the log file is properly generated after signal events like`SIGINT`, `SIGTERM`, or `SIGBREAK`, make sure to have the appropriate handlers + * in your code, such as: + * + * ```js + * process.on('SIGINT', function onSigint() { + * console.info('Received SIGINT.'); + * process.exit(130); // Or applicable exit code depending on OS and signal + * }); + * ``` + * + * The tracing system uses the same time source + * as the one used by `process.hrtime()`. + * However the trace-event timestamps are expressed in microseconds, + * unlike `process.hrtime()` which returns nanoseconds. + * + * The features from this module are not available in `Worker` threads. + * @experimental + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/trace_events.js) + */ +declare module "trace_events" { + /** + * The `Tracing` object is used to enable or disable tracing for sets of + * categories. Instances are created using the + * `trace_events.createTracing()` method. + * + * When created, the `Tracing` object is disabled. Calling the + * `tracing.enable()` method adds the categories to the set of enabled trace + * event categories. Calling `tracing.disable()` will remove the categories + * from the set of enabled trace event categories. + */ + interface Tracing { + /** + * A comma-separated list of the trace event categories covered by this + * `Tracing` object. + */ + readonly categories: string; + /** + * Disables this `Tracing` object. + * + * Only trace event categories _not_ covered by other enabled `Tracing` + * objects and _not_ specified by the `--trace-event-categories` flag + * will be disabled. + */ + disable(): void; + /** + * Enables this `Tracing` object for the set of categories covered by + * the `Tracing` object. + */ + enable(): void; + /** + * `true` only if the `Tracing` object has been enabled. + */ + readonly enabled: boolean; + } + interface CreateTracingOptions { + /** + * An array of trace category names. Values included in the array are + * coerced to a string when possible. An error will be thrown if the + * value cannot be coerced. + */ + categories: string[]; + } + /** + * Creates and returns a `Tracing` object for the given set of `categories`. + * + * ```js + * const trace_events = require('node:trace_events'); + * const categories = ['node.perf', 'node.async_hooks']; + * const tracing = trace_events.createTracing({ categories }); + * tracing.enable(); + * // do stuff + * tracing.disable(); + * ``` + * @since v10.0.0 + * @return . + */ + function createTracing(options: CreateTracingOptions): Tracing; + /** + * Returns a comma-separated list of all currently-enabled trace event + * categories. The current set of enabled trace event categories is determined + * by the _union_ of all currently-enabled `Tracing` objects and any categories + * enabled using the `--trace-event-categories` flag. + * + * Given the file `test.js` below, the command`node --trace-event-categories node.perf test.js` will print`'node.async_hooks,node.perf'` to the console. + * + * ```js + * const trace_events = require('node:trace_events'); + * const t1 = trace_events.createTracing({ categories: ['node.async_hooks'] }); + * const t2 = trace_events.createTracing({ categories: ['node.perf'] }); + * const t3 = trace_events.createTracing({ categories: ['v8'] }); + * + * t1.enable(); + * t2.enable(); + * + * console.log(trace_events.getEnabledCategories()); + * ``` + * @since v10.0.0 + */ + function getEnabledCategories(): string | undefined; +} +declare module "node:trace_events" { + export * from "trace_events"; +} diff --git a/node_modules/@types/node/ts4.8/assert.d.ts b/node_modules/@types/node/ts4.8/assert.d.ts new file mode 100644 index 000000000..cd8214335 --- /dev/null +++ b/node_modules/@types/node/ts4.8/assert.d.ts @@ -0,0 +1,996 @@ +/** + * The `node:assert` module provides a set of assertion functions for verifying + * invariants. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/assert.js) + */ +declare module "assert" { + /** + * An alias of {@link ok}. + * @since v0.5.9 + * @param value The input that is checked for being truthy. + */ + function assert(value: unknown, message?: string | Error): asserts value; + namespace assert { + /** + * Indicates the failure of an assertion. All errors thrown by the `node:assert`module will be instances of the `AssertionError` class. + */ + class AssertionError extends Error { + /** + * Set to the `actual` argument for methods such as {@link assert.strictEqual()}. + */ + actual: unknown; + /** + * Set to the `expected` argument for methods such as {@link assert.strictEqual()}. + */ + expected: unknown; + /** + * Set to the passed in operator value. + */ + operator: string; + /** + * Indicates if the message was auto-generated (`true`) or not. + */ + generatedMessage: boolean; + /** + * Value is always `ERR_ASSERTION` to show that the error is an assertion error. + */ + code: "ERR_ASSERTION"; + constructor(options?: { + /** If provided, the error message is set to this value. */ + message?: string | undefined; + /** The `actual` property on the error instance. */ + actual?: unknown | undefined; + /** The `expected` property on the error instance. */ + expected?: unknown | undefined; + /** The `operator` property on the error instance. */ + operator?: string | undefined; + /** If provided, the generated stack trace omits frames before this function. */ + // eslint-disable-next-line @typescript-eslint/ban-types + stackStartFn?: Function | undefined; + }); + } + /** + * This feature is deprecated and will be removed in a future version. + * Please consider using alternatives such as the `mock` helper function. + * @since v14.2.0, v12.19.0 + * @deprecated Deprecated + */ + class CallTracker { + /** + * The wrapper function is expected to be called exactly `exact` times. If the + * function has not been called exactly `exact` times when `tracker.verify()` is called, then `tracker.verify()` will throw an + * error. + * + * ```js + * import assert from 'node:assert'; + * + * // Creates call tracker. + * const tracker = new assert.CallTracker(); + * + * function func() {} + * + * // Returns a function that wraps func() that must be called exact times + * // before tracker.verify(). + * const callsfunc = tracker.calls(func); + * ``` + * @since v14.2.0, v12.19.0 + * @param [fn='A no-op function'] + * @param [exact=1] + * @return that wraps `fn`. + */ + calls(exact?: number): () => void; + calls any>(fn?: Func, exact?: number): Func; + /** + * Example: + * + * ```js + * import assert from 'node:assert'; + * + * const tracker = new assert.CallTracker(); + * + * function func() {} + * const callsfunc = tracker.calls(func); + * callsfunc(1, 2, 3); + * + * assert.deepStrictEqual(tracker.getCalls(callsfunc), + * [{ thisArg: undefined, arguments: [1, 2, 3] }]); + * ``` + * @since v18.8.0, v16.18.0 + * @param fn + * @return An Array with all the calls to a tracked function. + */ + getCalls(fn: Function): CallTrackerCall[]; + /** + * The arrays contains information about the expected and actual number of calls of + * the functions that have not been called the expected number of times. + * + * ```js + * import assert from 'node:assert'; + * + * // Creates call tracker. + * const tracker = new assert.CallTracker(); + * + * function func() {} + * + * // Returns a function that wraps func() that must be called exact times + * // before tracker.verify(). + * const callsfunc = tracker.calls(func, 2); + * + * // Returns an array containing information on callsfunc() + * console.log(tracker.report()); + * // [ + * // { + * // message: 'Expected the func function to be executed 2 time(s) but was + * // executed 0 time(s).', + * // actual: 0, + * // expected: 2, + * // operator: 'func', + * // stack: stack trace + * // } + * // ] + * ``` + * @since v14.2.0, v12.19.0 + * @return An Array of objects containing information about the wrapper functions returned by `calls`. + */ + report(): CallTrackerReportInformation[]; + /** + * Reset calls of the call tracker. + * If a tracked function is passed as an argument, the calls will be reset for it. + * If no arguments are passed, all tracked functions will be reset. + * + * ```js + * import assert from 'node:assert'; + * + * const tracker = new assert.CallTracker(); + * + * function func() {} + * const callsfunc = tracker.calls(func); + * + * callsfunc(); + * // Tracker was called once + * assert.strictEqual(tracker.getCalls(callsfunc).length, 1); + * + * tracker.reset(callsfunc); + * assert.strictEqual(tracker.getCalls(callsfunc).length, 0); + * ``` + * @since v18.8.0, v16.18.0 + * @param fn a tracked function to reset. + */ + reset(fn?: Function): void; + /** + * Iterates through the list of functions passed to `tracker.calls()` and will throw an error for functions that + * have not been called the expected number of times. + * + * ```js + * import assert from 'node:assert'; + * + * // Creates call tracker. + * const tracker = new assert.CallTracker(); + * + * function func() {} + * + * // Returns a function that wraps func() that must be called exact times + * // before tracker.verify(). + * const callsfunc = tracker.calls(func, 2); + * + * callsfunc(); + * + * // Will throw an error since callsfunc() was only called once. + * tracker.verify(); + * ``` + * @since v14.2.0, v12.19.0 + */ + verify(): void; + } + interface CallTrackerCall { + thisArg: object; + arguments: unknown[]; + } + interface CallTrackerReportInformation { + message: string; + /** The actual number of times the function was called. */ + actual: number; + /** The number of times the function was expected to be called. */ + expected: number; + /** The name of the function that is wrapped. */ + operator: string; + /** A stack trace of the function. */ + stack: object; + } + type AssertPredicate = RegExp | (new() => object) | ((thrown: unknown) => boolean) | object | Error; + /** + * Throws an `AssertionError` with the provided error message or a default + * error message. If the `message` parameter is an instance of an `Error` then + * it will be thrown instead of the `AssertionError`. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.fail(); + * // AssertionError [ERR_ASSERTION]: Failed + * + * assert.fail('boom'); + * // AssertionError [ERR_ASSERTION]: boom + * + * assert.fail(new TypeError('need array')); + * // TypeError: need array + * ``` + * + * Using `assert.fail()` with more than two arguments is possible but deprecated. + * See below for further details. + * @since v0.1.21 + * @param [message='Failed'] + */ + function fail(message?: string | Error): never; + /** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */ + function fail( + actual: unknown, + expected: unknown, + message?: string | Error, + operator?: string, + // eslint-disable-next-line @typescript-eslint/ban-types + stackStartFn?: Function, + ): never; + /** + * Tests if `value` is truthy. It is equivalent to`assert.equal(!!value, true, message)`. + * + * If `value` is not truthy, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is `undefined`, a default + * error message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`. + * If no arguments are passed in at all `message` will be set to the string:`` 'No value argument passed to `assert.ok()`' ``. + * + * Be aware that in the `repl` the error message will be different to the one + * thrown in a file! See below for further details. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.ok(true); + * // OK + * assert.ok(1); + * // OK + * + * assert.ok(); + * // AssertionError: No value argument passed to `assert.ok()` + * + * assert.ok(false, 'it\'s false'); + * // AssertionError: it's false + * + * // In the repl: + * assert.ok(typeof 123 === 'string'); + * // AssertionError: false == true + * + * // In a file (e.g. test.js): + * assert.ok(typeof 123 === 'string'); + * // AssertionError: The expression evaluated to a falsy value: + * // + * // assert.ok(typeof 123 === 'string') + * + * assert.ok(false); + * // AssertionError: The expression evaluated to a falsy value: + * // + * // assert.ok(false) + * + * assert.ok(0); + * // AssertionError: The expression evaluated to a falsy value: + * // + * // assert.ok(0) + * ``` + * + * ```js + * import assert from 'node:assert/strict'; + * + * // Using `assert()` works the same: + * assert(0); + * // AssertionError: The expression evaluated to a falsy value: + * // + * // assert(0) + * ``` + * @since v0.1.21 + */ + function ok(value: unknown, message?: string | Error): asserts value; + /** + * **Strict assertion mode** + * + * An alias of {@link strictEqual}. + * + * **Legacy assertion mode** + * + * > Stability: 3 - Legacy: Use {@link strictEqual} instead. + * + * Tests shallow, coercive equality between the `actual` and `expected` parameters + * using the [`==` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality). `NaN` is specially handled + * and treated as being identical if both sides are `NaN`. + * + * ```js + * import assert from 'node:assert'; + * + * assert.equal(1, 1); + * // OK, 1 == 1 + * assert.equal(1, '1'); + * // OK, 1 == '1' + * assert.equal(NaN, NaN); + * // OK + * + * assert.equal(1, 2); + * // AssertionError: 1 == 2 + * assert.equal({ a: { b: 1 } }, { a: { b: 1 } }); + * // AssertionError: { a: { b: 1 } } == { a: { b: 1 } } + * ``` + * + * If the values are not equal, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is undefined, a default + * error message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`. + * @since v0.1.21 + */ + function equal(actual: unknown, expected: unknown, message?: string | Error): void; + /** + * **Strict assertion mode** + * + * An alias of {@link notStrictEqual}. + * + * **Legacy assertion mode** + * + * > Stability: 3 - Legacy: Use {@link notStrictEqual} instead. + * + * Tests shallow, coercive inequality with the [`!=` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Inequality). `NaN` is + * specially handled and treated as being identical if both sides are `NaN`. + * + * ```js + * import assert from 'node:assert'; + * + * assert.notEqual(1, 2); + * // OK + * + * assert.notEqual(1, 1); + * // AssertionError: 1 != 1 + * + * assert.notEqual(1, '1'); + * // AssertionError: 1 != '1' + * ``` + * + * If the values are equal, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is undefined, a default error + * message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`. + * @since v0.1.21 + */ + function notEqual(actual: unknown, expected: unknown, message?: string | Error): void; + /** + * **Strict assertion mode** + * + * An alias of {@link deepStrictEqual}. + * + * **Legacy assertion mode** + * + * > Stability: 3 - Legacy: Use {@link deepStrictEqual} instead. + * + * Tests for deep equality between the `actual` and `expected` parameters. Consider + * using {@link deepStrictEqual} instead. {@link deepEqual} can have + * surprising results. + * + * _Deep equality_ means that the enumerable "own" properties of child objects + * are also recursively evaluated by the following rules. + * @since v0.1.21 + */ + function deepEqual(actual: unknown, expected: unknown, message?: string | Error): void; + /** + * **Strict assertion mode** + * + * An alias of {@link notDeepStrictEqual}. + * + * **Legacy assertion mode** + * + * > Stability: 3 - Legacy: Use {@link notDeepStrictEqual} instead. + * + * Tests for any deep inequality. Opposite of {@link deepEqual}. + * + * ```js + * import assert from 'node:assert'; + * + * const obj1 = { + * a: { + * b: 1, + * }, + * }; + * const obj2 = { + * a: { + * b: 2, + * }, + * }; + * const obj3 = { + * a: { + * b: 1, + * }, + * }; + * const obj4 = { __proto__: obj1 }; + * + * assert.notDeepEqual(obj1, obj1); + * // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } } + * + * assert.notDeepEqual(obj1, obj2); + * // OK + * + * assert.notDeepEqual(obj1, obj3); + * // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } } + * + * assert.notDeepEqual(obj1, obj4); + * // OK + * ``` + * + * If the values are deeply equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a default + * error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown + * instead of the `AssertionError`. + * @since v0.1.21 + */ + function notDeepEqual(actual: unknown, expected: unknown, message?: string | Error): void; + /** + * Tests strict equality between the `actual` and `expected` parameters as + * determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is). + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.strictEqual(1, 2); + * // AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal: + * // + * // 1 !== 2 + * + * assert.strictEqual(1, 1); + * // OK + * + * assert.strictEqual('Hello foobar', 'Hello World!'); + * // AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal: + * // + actual - expected + * // + * // + 'Hello foobar' + * // - 'Hello World!' + * // ^ + * + * const apples = 1; + * const oranges = 2; + * assert.strictEqual(apples, oranges, `apples ${apples} !== oranges ${oranges}`); + * // AssertionError [ERR_ASSERTION]: apples 1 !== oranges 2 + * + * assert.strictEqual(1, '1', new TypeError('Inputs are not identical')); + * // TypeError: Inputs are not identical + * ``` + * + * If the values are not strictly equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a + * default error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown + * instead of the `AssertionError`. + * @since v0.1.21 + */ + function strictEqual(actual: unknown, expected: T, message?: string | Error): asserts actual is T; + /** + * Tests strict inequality between the `actual` and `expected` parameters as + * determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is). + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.notStrictEqual(1, 2); + * // OK + * + * assert.notStrictEqual(1, 1); + * // AssertionError [ERR_ASSERTION]: Expected "actual" to be strictly unequal to: + * // + * // 1 + * + * assert.notStrictEqual(1, '1'); + * // OK + * ``` + * + * If the values are strictly equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a + * default error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown + * instead of the `AssertionError`. + * @since v0.1.21 + */ + function notStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void; + /** + * Tests for deep equality between the `actual` and `expected` parameters. + * "Deep" equality means that the enumerable "own" properties of child objects + * are recursively evaluated also by the following rules. + * @since v1.2.0 + */ + function deepStrictEqual(actual: unknown, expected: T, message?: string | Error): asserts actual is T; + /** + * Tests for deep strict inequality. Opposite of {@link deepStrictEqual}. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.notDeepStrictEqual({ a: 1 }, { a: '1' }); + * // OK + * ``` + * + * If the values are deeply and strictly equal, an `AssertionError` is thrown + * with a `message` property set equal to the value of the `message` parameter. If + * the `message` parameter is undefined, a default error message is assigned. If + * the `message` parameter is an instance of an `Error` then it will be thrown + * instead of the `AssertionError`. + * @since v1.2.0 + */ + function notDeepStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void; + /** + * Expects the function `fn` to throw an error. + * + * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), + * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), a validation function, + * a validation object where each property will be tested for strict deep equality, + * or an instance of error where each property will be tested for strict deep + * equality including the non-enumerable `message` and `name` properties. When + * using an object, it is also possible to use a regular expression, when + * validating against a string property. See below for examples. + * + * If specified, `message` will be appended to the message provided by the`AssertionError` if the `fn` call fails to throw or in case the error validation + * fails. + * + * Custom validation object/error instance: + * + * ```js + * import assert from 'node:assert/strict'; + * + * const err = new TypeError('Wrong value'); + * err.code = 404; + * err.foo = 'bar'; + * err.info = { + * nested: true, + * baz: 'text', + * }; + * err.reg = /abc/i; + * + * assert.throws( + * () => { + * throw err; + * }, + * { + * name: 'TypeError', + * message: 'Wrong value', + * info: { + * nested: true, + * baz: 'text', + * }, + * // Only properties on the validation object will be tested for. + * // Using nested objects requires all properties to be present. Otherwise + * // the validation is going to fail. + * }, + * ); + * + * // Using regular expressions to validate error properties: + * assert.throws( + * () => { + * throw err; + * }, + * { + * // The `name` and `message` properties are strings and using regular + * // expressions on those will match against the string. If they fail, an + * // error is thrown. + * name: /^TypeError$/, + * message: /Wrong/, + * foo: 'bar', + * info: { + * nested: true, + * // It is not possible to use regular expressions for nested properties! + * baz: 'text', + * }, + * // The `reg` property contains a regular expression and only if the + * // validation object contains an identical regular expression, it is going + * // to pass. + * reg: /abc/i, + * }, + * ); + * + * // Fails due to the different `message` and `name` properties: + * assert.throws( + * () => { + * const otherErr = new Error('Not found'); + * // Copy all enumerable properties from `err` to `otherErr`. + * for (const [key, value] of Object.entries(err)) { + * otherErr[key] = value; + * } + * throw otherErr; + * }, + * // The error's `message` and `name` properties will also be checked when using + * // an error as validation object. + * err, + * ); + * ``` + * + * Validate instanceof using constructor: + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.throws( + * () => { + * throw new Error('Wrong value'); + * }, + * Error, + * ); + * ``` + * + * Validate error message using [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions): + * + * Using a regular expression runs `.toString` on the error object, and will + * therefore also include the error name. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.throws( + * () => { + * throw new Error('Wrong value'); + * }, + * /^Error: Wrong value$/, + * ); + * ``` + * + * Custom error validation: + * + * The function must return `true` to indicate all internal validations passed. + * It will otherwise fail with an `AssertionError`. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.throws( + * () => { + * throw new Error('Wrong value'); + * }, + * (err) => { + * assert(err instanceof Error); + * assert(/value/.test(err)); + * // Avoid returning anything from validation functions besides `true`. + * // Otherwise, it's not clear what part of the validation failed. Instead, + * // throw an error about the specific validation that failed (as done in this + * // example) and add as much helpful debugging information to that error as + * // possible. + * return true; + * }, + * 'unexpected error', + * ); + * ``` + * + * `error` cannot be a string. If a string is provided as the second + * argument, then `error` is assumed to be omitted and the string will be used for`message` instead. This can lead to easy-to-miss mistakes. Using the same + * message as the thrown error message is going to result in an`ERR_AMBIGUOUS_ARGUMENT` error. Please read the example below carefully if using + * a string as the second argument gets considered: + * + * ```js + * import assert from 'node:assert/strict'; + * + * function throwingFirst() { + * throw new Error('First'); + * } + * + * function throwingSecond() { + * throw new Error('Second'); + * } + * + * function notThrowing() {} + * + * // The second argument is a string and the input function threw an Error. + * // The first case will not throw as it does not match for the error message + * // thrown by the input function! + * assert.throws(throwingFirst, 'Second'); + * // In the next example the message has no benefit over the message from the + * // error and since it is not clear if the user intended to actually match + * // against the error message, Node.js throws an `ERR_AMBIGUOUS_ARGUMENT` error. + * assert.throws(throwingSecond, 'Second'); + * // TypeError [ERR_AMBIGUOUS_ARGUMENT] + * + * // The string is only used (as message) in case the function does not throw: + * assert.throws(notThrowing, 'Second'); + * // AssertionError [ERR_ASSERTION]: Missing expected exception: Second + * + * // If it was intended to match for the error message do this instead: + * // It does not throw because the error messages match. + * assert.throws(throwingSecond, /Second$/); + * + * // If the error message does not match, an AssertionError is thrown. + * assert.throws(throwingFirst, /Second$/); + * // AssertionError [ERR_ASSERTION] + * ``` + * + * Due to the confusing error-prone notation, avoid a string as the second + * argument. + * @since v0.1.21 + */ + function throws(block: () => unknown, message?: string | Error): void; + function throws(block: () => unknown, error: AssertPredicate, message?: string | Error): void; + /** + * Asserts that the function `fn` does not throw an error. + * + * Using `assert.doesNotThrow()` is actually not useful because there + * is no benefit in catching an error and then rethrowing it. Instead, consider + * adding a comment next to the specific code path that should not throw and keep + * error messages as expressive as possible. + * + * When `assert.doesNotThrow()` is called, it will immediately call the `fn`function. + * + * If an error is thrown and it is the same type as that specified by the `error`parameter, then an `AssertionError` is thrown. If the error is of a + * different type, or if the `error` parameter is undefined, the error is + * propagated back to the caller. + * + * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), + * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), or a validation + * function. See {@link throws} for more details. + * + * The following, for instance, will throw the `TypeError` because there is no + * matching error type in the assertion: + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.doesNotThrow( + * () => { + * throw new TypeError('Wrong value'); + * }, + * SyntaxError, + * ); + * ``` + * + * However, the following will result in an `AssertionError` with the message + * 'Got unwanted exception...': + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.doesNotThrow( + * () => { + * throw new TypeError('Wrong value'); + * }, + * TypeError, + * ); + * ``` + * + * If an `AssertionError` is thrown and a value is provided for the `message`parameter, the value of `message` will be appended to the `AssertionError` message: + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.doesNotThrow( + * () => { + * throw new TypeError('Wrong value'); + * }, + * /Wrong value/, + * 'Whoops', + * ); + * // Throws: AssertionError: Got unwanted exception: Whoops + * ``` + * @since v0.1.21 + */ + function doesNotThrow(block: () => unknown, message?: string | Error): void; + function doesNotThrow(block: () => unknown, error: AssertPredicate, message?: string | Error): void; + /** + * Throws `value` if `value` is not `undefined` or `null`. This is useful when + * testing the `error` argument in callbacks. The stack trace contains all frames + * from the error passed to `ifError()` including the potential new frames for`ifError()` itself. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.ifError(null); + * // OK + * assert.ifError(0); + * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: 0 + * assert.ifError('error'); + * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: 'error' + * assert.ifError(new Error()); + * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Error + * + * // Create some random error frames. + * let err; + * (function errorFrame() { + * err = new Error('test error'); + * })(); + * + * (function ifErrorFrame() { + * assert.ifError(err); + * })(); + * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: test error + * // at ifErrorFrame + * // at errorFrame + * ``` + * @since v0.1.97 + */ + function ifError(value: unknown): asserts value is null | undefined; + /** + * Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately + * calls the function and awaits the returned promise to complete. It will then + * check that the promise is rejected. + * + * If `asyncFn` is a function and it throws an error synchronously,`assert.rejects()` will return a rejected `Promise` with that error. If the + * function does not return a promise, `assert.rejects()` will return a rejected`Promise` with an `ERR_INVALID_RETURN_VALUE` error. In both cases the error + * handler is skipped. + * + * Besides the async nature to await the completion behaves identically to {@link throws}. + * + * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), + * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), a validation function, + * an object where each property will be tested for, or an instance of error where + * each property will be tested for including the non-enumerable `message` and`name` properties. + * + * If specified, `message` will be the message provided by the `AssertionError` if the `asyncFn` fails to reject. + * + * ```js + * import assert from 'node:assert/strict'; + * + * await assert.rejects( + * async () => { + * throw new TypeError('Wrong value'); + * }, + * { + * name: 'TypeError', + * message: 'Wrong value', + * }, + * ); + * ``` + * + * ```js + * import assert from 'node:assert/strict'; + * + * await assert.rejects( + * async () => { + * throw new TypeError('Wrong value'); + * }, + * (err) => { + * assert.strictEqual(err.name, 'TypeError'); + * assert.strictEqual(err.message, 'Wrong value'); + * return true; + * }, + * ); + * ``` + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.rejects( + * Promise.reject(new Error('Wrong value')), + * Error, + * ).then(() => { + * // ... + * }); + * ``` + * + * `error` cannot be a string. If a string is provided as the second + * argument, then `error` is assumed to be omitted and the string will be used for`message` instead. This can lead to easy-to-miss mistakes. Please read the + * example in {@link throws} carefully if using a string as the second + * argument gets considered. + * @since v10.0.0 + */ + function rejects(block: (() => Promise) | Promise, message?: string | Error): Promise; + function rejects( + block: (() => Promise) | Promise, + error: AssertPredicate, + message?: string | Error, + ): Promise; + /** + * Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately + * calls the function and awaits the returned promise to complete. It will then + * check that the promise is not rejected. + * + * If `asyncFn` is a function and it throws an error synchronously,`assert.doesNotReject()` will return a rejected `Promise` with that error. If + * the function does not return a promise, `assert.doesNotReject()` will return a + * rejected `Promise` with an `ERR_INVALID_RETURN_VALUE` error. In both cases + * the error handler is skipped. + * + * Using `assert.doesNotReject()` is actually not useful because there is little + * benefit in catching a rejection and then rejecting it again. Instead, consider + * adding a comment next to the specific code path that should not reject and keep + * error messages as expressive as possible. + * + * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), + * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), or a validation + * function. See {@link throws} for more details. + * + * Besides the async nature to await the completion behaves identically to {@link doesNotThrow}. + * + * ```js + * import assert from 'node:assert/strict'; + * + * await assert.doesNotReject( + * async () => { + * throw new TypeError('Wrong value'); + * }, + * SyntaxError, + * ); + * ``` + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.doesNotReject(Promise.reject(new TypeError('Wrong value'))) + * .then(() => { + * // ... + * }); + * ``` + * @since v10.0.0 + */ + function doesNotReject( + block: (() => Promise) | Promise, + message?: string | Error, + ): Promise; + function doesNotReject( + block: (() => Promise) | Promise, + error: AssertPredicate, + message?: string | Error, + ): Promise; + /** + * Expects the `string` input to match the regular expression. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.match('I will fail', /pass/); + * // AssertionError [ERR_ASSERTION]: The input did not match the regular ... + * + * assert.match(123, /pass/); + * // AssertionError [ERR_ASSERTION]: The "string" argument must be of type string. + * + * assert.match('I will pass', /pass/); + * // OK + * ``` + * + * If the values do not match, or if the `string` argument is of another type than`string`, an `AssertionError` is thrown with a `message` property set equal + * to the value of the `message` parameter. If the `message` parameter is + * undefined, a default error message is assigned. If the `message` parameter is an + * instance of an `Error` then it will be thrown instead of the `AssertionError`. + * @since v13.6.0, v12.16.0 + */ + function match(value: string, regExp: RegExp, message?: string | Error): void; + /** + * Expects the `string` input not to match the regular expression. + * + * ```js + * import assert from 'node:assert/strict'; + * + * assert.doesNotMatch('I will fail', /fail/); + * // AssertionError [ERR_ASSERTION]: The input was expected to not match the ... + * + * assert.doesNotMatch(123, /pass/); + * // AssertionError [ERR_ASSERTION]: The "string" argument must be of type string. + * + * assert.doesNotMatch('I will pass', /different/); + * // OK + * ``` + * + * If the values do match, or if the `string` argument is of another type than`string`, an `AssertionError` is thrown with a `message` property set equal + * to the value of the `message` parameter. If the `message` parameter is + * undefined, a default error message is assigned. If the `message` parameter is an + * instance of an `Error` then it will be thrown instead of the `AssertionError`. + * @since v13.6.0, v12.16.0 + */ + function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void; + const strict: + & Omit< + typeof assert, + | "equal" + | "notEqual" + | "deepEqual" + | "notDeepEqual" + | "ok" + | "strictEqual" + | "deepStrictEqual" + | "ifError" + | "strict" + > + & { + (value: unknown, message?: string | Error): asserts value; + equal: typeof strictEqual; + notEqual: typeof notStrictEqual; + deepEqual: typeof deepStrictEqual; + notDeepEqual: typeof notDeepStrictEqual; + // Mapped types and assertion functions are incompatible? + // TS2775: Assertions require every name in the call target + // to be declared with an explicit type annotation. + ok: typeof ok; + strictEqual: typeof strictEqual; + deepStrictEqual: typeof deepStrictEqual; + ifError: typeof ifError; + strict: typeof strict; + }; + } + export = assert; +} +declare module "node:assert" { + import assert = require("assert"); + export = assert; +} diff --git a/node_modules/@types/node/ts4.8/assert/strict.d.ts b/node_modules/@types/node/ts4.8/assert/strict.d.ts new file mode 100644 index 000000000..f333913a4 --- /dev/null +++ b/node_modules/@types/node/ts4.8/assert/strict.d.ts @@ -0,0 +1,8 @@ +declare module "assert/strict" { + import { strict } from "node:assert"; + export = strict; +} +declare module "node:assert/strict" { + import { strict } from "node:assert"; + export = strict; +} diff --git a/node_modules/@types/node/ts4.8/async_hooks.d.ts b/node_modules/@types/node/ts4.8/async_hooks.d.ts new file mode 100644 index 000000000..0667a6150 --- /dev/null +++ b/node_modules/@types/node/ts4.8/async_hooks.d.ts @@ -0,0 +1,539 @@ +/** + * We strongly discourage the use of the `async_hooks` API. + * Other APIs that can cover most of its use cases include: + * + * * `AsyncLocalStorage` tracks async context + * * `process.getActiveResourcesInfo()` tracks active resources + * + * The `node:async_hooks` module provides an API to track asynchronous resources. + * It can be accessed using: + * + * ```js + * import async_hooks from 'node:async_hooks'; + * ``` + * @experimental + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/async_hooks.js) + */ +declare module "async_hooks" { + /** + * ```js + * import { executionAsyncId } from 'node:async_hooks'; + * import fs from 'node:fs'; + * + * console.log(executionAsyncId()); // 1 - bootstrap + * const path = '.'; + * fs.open(path, 'r', (err, fd) => { + * console.log(executionAsyncId()); // 6 - open() + * }); + * ``` + * + * The ID returned from `executionAsyncId()` is related to execution timing, not + * causality (which is covered by `triggerAsyncId()`): + * + * ```js + * const server = net.createServer((conn) => { + * // Returns the ID of the server, not of the new connection, because the + * // callback runs in the execution scope of the server's MakeCallback(). + * async_hooks.executionAsyncId(); + * + * }).listen(port, () => { + * // Returns the ID of a TickObject (process.nextTick()) because all + * // callbacks passed to .listen() are wrapped in a nextTick(). + * async_hooks.executionAsyncId(); + * }); + * ``` + * + * Promise contexts may not get precise `executionAsyncIds` by default. + * See the section on `promise execution tracking`. + * @since v8.1.0 + * @return The `asyncId` of the current execution context. Useful to track when something calls. + */ + function executionAsyncId(): number; + /** + * Resource objects returned by `executionAsyncResource()` are most often internal + * Node.js handle objects with undocumented APIs. Using any functions or properties + * on the object is likely to crash your application and should be avoided. + * + * Using `executionAsyncResource()` in the top-level execution context will + * return an empty object as there is no handle or request object to use, + * but having an object representing the top-level can be helpful. + * + * ```js + * import { open } from 'node:fs'; + * import { executionAsyncId, executionAsyncResource } from 'node:async_hooks'; + * + * console.log(executionAsyncId(), executionAsyncResource()); // 1 {} + * open(new URL(import.meta.url), 'r', (err, fd) => { + * console.log(executionAsyncId(), executionAsyncResource()); // 7 FSReqWrap + * }); + * ``` + * + * This can be used to implement continuation local storage without the + * use of a tracking `Map` to store the metadata: + * + * ```js + * import { createServer } from 'node:http'; + * import { + * executionAsyncId, + * executionAsyncResource, + * createHook, + * } from 'async_hooks'; + * const sym = Symbol('state'); // Private symbol to avoid pollution + * + * createHook({ + * init(asyncId, type, triggerAsyncId, resource) { + * const cr = executionAsyncResource(); + * if (cr) { + * resource[sym] = cr[sym]; + * } + * }, + * }).enable(); + * + * const server = createServer((req, res) => { + * executionAsyncResource()[sym] = { state: req.url }; + * setTimeout(function() { + * res.end(JSON.stringify(executionAsyncResource()[sym])); + * }, 100); + * }).listen(3000); + * ``` + * @since v13.9.0, v12.17.0 + * @return The resource representing the current execution. Useful to store data within the resource. + */ + function executionAsyncResource(): object; + /** + * ```js + * const server = net.createServer((conn) => { + * // The resource that caused (or triggered) this callback to be called + * // was that of the new connection. Thus the return value of triggerAsyncId() + * // is the asyncId of "conn". + * async_hooks.triggerAsyncId(); + * + * }).listen(port, () => { + * // Even though all callbacks passed to .listen() are wrapped in a nextTick() + * // the callback itself exists because the call to the server's .listen() + * // was made. So the return value would be the ID of the server. + * async_hooks.triggerAsyncId(); + * }); + * ``` + * + * Promise contexts may not get valid `triggerAsyncId`s by default. See + * the section on `promise execution tracking`. + * @return The ID of the resource responsible for calling the callback that is currently being executed. + */ + function triggerAsyncId(): number; + interface HookCallbacks { + /** + * Called when a class is constructed that has the possibility to emit an asynchronous event. + * @param asyncId a unique ID for the async resource + * @param type the type of the async resource + * @param triggerAsyncId the unique ID of the async resource in whose execution context this async resource was created + * @param resource reference to the resource representing the async operation, needs to be released during destroy + */ + init?(asyncId: number, type: string, triggerAsyncId: number, resource: object): void; + /** + * When an asynchronous operation is initiated or completes a callback is called to notify the user. + * The before callback is called just before said callback is executed. + * @param asyncId the unique identifier assigned to the resource about to execute the callback. + */ + before?(asyncId: number): void; + /** + * Called immediately after the callback specified in before is completed. + * @param asyncId the unique identifier assigned to the resource which has executed the callback. + */ + after?(asyncId: number): void; + /** + * Called when a promise has resolve() called. This may not be in the same execution id + * as the promise itself. + * @param asyncId the unique id for the promise that was resolve()d. + */ + promiseResolve?(asyncId: number): void; + /** + * Called after the resource corresponding to asyncId is destroyed + * @param asyncId a unique ID for the async resource + */ + destroy?(asyncId: number): void; + } + interface AsyncHook { + /** + * Enable the callbacks for a given AsyncHook instance. If no callbacks are provided enabling is a noop. + */ + enable(): this; + /** + * Disable the callbacks for a given AsyncHook instance from the global pool of AsyncHook callbacks to be executed. Once a hook has been disabled it will not be called again until enabled. + */ + disable(): this; + } + /** + * Registers functions to be called for different lifetime events of each async + * operation. + * + * The callbacks `init()`/`before()`/`after()`/`destroy()` are called for the + * respective asynchronous event during a resource's lifetime. + * + * All callbacks are optional. For example, if only resource cleanup needs to + * be tracked, then only the `destroy` callback needs to be passed. The + * specifics of all functions that can be passed to `callbacks` is in the `Hook Callbacks` section. + * + * ```js + * import { createHook } from 'node:async_hooks'; + * + * const asyncHook = createHook({ + * init(asyncId, type, triggerAsyncId, resource) { }, + * destroy(asyncId) { }, + * }); + * ``` + * + * The callbacks will be inherited via the prototype chain: + * + * ```js + * class MyAsyncCallbacks { + * init(asyncId, type, triggerAsyncId, resource) { } + * destroy(asyncId) {} + * } + * + * class MyAddedCallbacks extends MyAsyncCallbacks { + * before(asyncId) { } + * after(asyncId) { } + * } + * + * const asyncHook = async_hooks.createHook(new MyAddedCallbacks()); + * ``` + * + * Because promises are asynchronous resources whose lifecycle is tracked + * via the async hooks mechanism, the `init()`, `before()`, `after()`, and`destroy()` callbacks _must not_ be async functions that return promises. + * @since v8.1.0 + * @param callbacks The `Hook Callbacks` to register + * @return Instance used for disabling and enabling hooks + */ + function createHook(callbacks: HookCallbacks): AsyncHook; + interface AsyncResourceOptions { + /** + * The ID of the execution context that created this async event. + * @default executionAsyncId() + */ + triggerAsyncId?: number | undefined; + /** + * Disables automatic `emitDestroy` when the object is garbage collected. + * This usually does not need to be set (even if `emitDestroy` is called + * manually), unless the resource's `asyncId` is retrieved and the + * sensitive API's `emitDestroy` is called with it. + * @default false + */ + requireManualDestroy?: boolean | undefined; + } + /** + * The class `AsyncResource` is designed to be extended by the embedder's async + * resources. Using this, users can easily trigger the lifetime events of their + * own resources. + * + * The `init` hook will trigger when an `AsyncResource` is instantiated. + * + * The following is an overview of the `AsyncResource` API. + * + * ```js + * import { AsyncResource, executionAsyncId } from 'node:async_hooks'; + * + * // AsyncResource() is meant to be extended. Instantiating a + * // new AsyncResource() also triggers init. If triggerAsyncId is omitted then + * // async_hook.executionAsyncId() is used. + * const asyncResource = new AsyncResource( + * type, { triggerAsyncId: executionAsyncId(), requireManualDestroy: false }, + * ); + * + * // Run a function in the execution context of the resource. This will + * // * establish the context of the resource + * // * trigger the AsyncHooks before callbacks + * // * call the provided function `fn` with the supplied arguments + * // * trigger the AsyncHooks after callbacks + * // * restore the original execution context + * asyncResource.runInAsyncScope(fn, thisArg, ...args); + * + * // Call AsyncHooks destroy callbacks. + * asyncResource.emitDestroy(); + * + * // Return the unique ID assigned to the AsyncResource instance. + * asyncResource.asyncId(); + * + * // Return the trigger ID for the AsyncResource instance. + * asyncResource.triggerAsyncId(); + * ``` + */ + class AsyncResource { + /** + * AsyncResource() is meant to be extended. Instantiating a + * new AsyncResource() also triggers init. If triggerAsyncId is omitted then + * async_hook.executionAsyncId() is used. + * @param type The type of async event. + * @param triggerAsyncId The ID of the execution context that created + * this async event (default: `executionAsyncId()`), or an + * AsyncResourceOptions object (since v9.3.0) + */ + constructor(type: string, triggerAsyncId?: number | AsyncResourceOptions); + /** + * Binds the given function to the current execution context. + * @since v14.8.0, v12.19.0 + * @param fn The function to bind to the current execution context. + * @param type An optional name to associate with the underlying `AsyncResource`. + */ + static bind any, ThisArg>( + fn: Func, + type?: string, + thisArg?: ThisArg, + ): Func; + /** + * Binds the given function to execute to this `AsyncResource`'s scope. + * @since v14.8.0, v12.19.0 + * @param fn The function to bind to the current `AsyncResource`. + */ + bind any>(fn: Func): Func; + /** + * Call the provided function with the provided arguments in the execution context + * of the async resource. This will establish the context, trigger the AsyncHooks + * before callbacks, call the function, trigger the AsyncHooks after callbacks, and + * then restore the original execution context. + * @since v9.6.0 + * @param fn The function to call in the execution context of this async resource. + * @param thisArg The receiver to be used for the function call. + * @param args Optional arguments to pass to the function. + */ + runInAsyncScope( + fn: (this: This, ...args: any[]) => Result, + thisArg?: This, + ...args: any[] + ): Result; + /** + * Call all `destroy` hooks. This should only ever be called once. An error will + * be thrown if it is called more than once. This **must** be manually called. If + * the resource is left to be collected by the GC then the `destroy` hooks will + * never be called. + * @return A reference to `asyncResource`. + */ + emitDestroy(): this; + /** + * @return The unique `asyncId` assigned to the resource. + */ + asyncId(): number; + /** + * @return The same `triggerAsyncId` that is passed to the `AsyncResource` constructor. + */ + triggerAsyncId(): number; + } + /** + * This class creates stores that stay coherent through asynchronous operations. + * + * While you can create your own implementation on top of the `node:async_hooks`module, `AsyncLocalStorage` should be preferred as it is a performant and memory + * safe implementation that involves significant optimizations that are non-obvious + * to implement. + * + * The following example uses `AsyncLocalStorage` to build a simple logger + * that assigns IDs to incoming HTTP requests and includes them in messages + * logged within each request. + * + * ```js + * import http from 'node:http'; + * import { AsyncLocalStorage } from 'node:async_hooks'; + * + * const asyncLocalStorage = new AsyncLocalStorage(); + * + * function logWithId(msg) { + * const id = asyncLocalStorage.getStore(); + * console.log(`${id !== undefined ? id : '-'}:`, msg); + * } + * + * let idSeq = 0; + * http.createServer((req, res) => { + * asyncLocalStorage.run(idSeq++, () => { + * logWithId('start'); + * // Imagine any chain of async operations here + * setImmediate(() => { + * logWithId('finish'); + * res.end(); + * }); + * }); + * }).listen(8080); + * + * http.get('http://localhost:8080'); + * http.get('http://localhost:8080'); + * // Prints: + * // 0: start + * // 1: start + * // 0: finish + * // 1: finish + * ``` + * + * Each instance of `AsyncLocalStorage` maintains an independent storage context. + * Multiple instances can safely exist simultaneously without risk of interfering + * with each other's data. + * @since v13.10.0, v12.17.0 + */ + class AsyncLocalStorage { + /** + * Binds the given function to the current execution context. + * @since v19.8.0 + * @experimental + * @param fn The function to bind to the current execution context. + * @return A new function that calls `fn` within the captured execution context. + */ + static bind any>(fn: Func): Func; + /** + * Captures the current execution context and returns a function that accepts a + * function as an argument. Whenever the returned function is called, it + * calls the function passed to it within the captured context. + * + * ```js + * const asyncLocalStorage = new AsyncLocalStorage(); + * const runInAsyncScope = asyncLocalStorage.run(123, () => AsyncLocalStorage.snapshot()); + * const result = asyncLocalStorage.run(321, () => runInAsyncScope(() => asyncLocalStorage.getStore())); + * console.log(result); // returns 123 + * ``` + * + * AsyncLocalStorage.snapshot() can replace the use of AsyncResource for simple + * async context tracking purposes, for example: + * + * ```js + * class Foo { + * #runInAsyncScope = AsyncLocalStorage.snapshot(); + * + * get() { return this.#runInAsyncScope(() => asyncLocalStorage.getStore()); } + * } + * + * const foo = asyncLocalStorage.run(123, () => new Foo()); + * console.log(asyncLocalStorage.run(321, () => foo.get())); // returns 123 + * ``` + * @since v19.8.0 + * @experimental + * @return A new function with the signature `(fn: (...args) : R, ...args) : R`. + */ + static snapshot(): (fn: (...args: TArgs) => R, ...args: TArgs) => R; + /** + * Disables the instance of `AsyncLocalStorage`. All subsequent calls + * to `asyncLocalStorage.getStore()` will return `undefined` until`asyncLocalStorage.run()` or `asyncLocalStorage.enterWith()` is called again. + * + * When calling `asyncLocalStorage.disable()`, all current contexts linked to the + * instance will be exited. + * + * Calling `asyncLocalStorage.disable()` is required before the`asyncLocalStorage` can be garbage collected. This does not apply to stores + * provided by the `asyncLocalStorage`, as those objects are garbage collected + * along with the corresponding async resources. + * + * Use this method when the `asyncLocalStorage` is not in use anymore + * in the current process. + * @since v13.10.0, v12.17.0 + * @experimental + */ + disable(): void; + /** + * Returns the current store. + * If called outside of an asynchronous context initialized by + * calling `asyncLocalStorage.run()` or `asyncLocalStorage.enterWith()`, it + * returns `undefined`. + * @since v13.10.0, v12.17.0 + */ + getStore(): T | undefined; + /** + * Runs a function synchronously within a context and returns its + * return value. The store is not accessible outside of the callback function. + * The store is accessible to any asynchronous operations created within the + * callback. + * + * The optional `args` are passed to the callback function. + * + * If the callback function throws an error, the error is thrown by `run()` too. + * The stacktrace is not impacted by this call and the context is exited. + * + * Example: + * + * ```js + * const store = { id: 2 }; + * try { + * asyncLocalStorage.run(store, () => { + * asyncLocalStorage.getStore(); // Returns the store object + * setTimeout(() => { + * asyncLocalStorage.getStore(); // Returns the store object + * }, 200); + * throw new Error(); + * }); + * } catch (e) { + * asyncLocalStorage.getStore(); // Returns undefined + * // The error will be caught here + * } + * ``` + * @since v13.10.0, v12.17.0 + */ + run(store: T, callback: () => R): R; + run(store: T, callback: (...args: TArgs) => R, ...args: TArgs): R; + /** + * Runs a function synchronously outside of a context and returns its + * return value. The store is not accessible within the callback function or + * the asynchronous operations created within the callback. Any `getStore()`call done within the callback function will always return `undefined`. + * + * The optional `args` are passed to the callback function. + * + * If the callback function throws an error, the error is thrown by `exit()` too. + * The stacktrace is not impacted by this call and the context is re-entered. + * + * Example: + * + * ```js + * // Within a call to run + * try { + * asyncLocalStorage.getStore(); // Returns the store object or value + * asyncLocalStorage.exit(() => { + * asyncLocalStorage.getStore(); // Returns undefined + * throw new Error(); + * }); + * } catch (e) { + * asyncLocalStorage.getStore(); // Returns the same object or value + * // The error will be caught here + * } + * ``` + * @since v13.10.0, v12.17.0 + * @experimental + */ + exit(callback: (...args: TArgs) => R, ...args: TArgs): R; + /** + * Transitions into the context for the remainder of the current + * synchronous execution and then persists the store through any following + * asynchronous calls. + * + * Example: + * + * ```js + * const store = { id: 1 }; + * // Replaces previous store with the given store object + * asyncLocalStorage.enterWith(store); + * asyncLocalStorage.getStore(); // Returns the store object + * someAsyncOperation(() => { + * asyncLocalStorage.getStore(); // Returns the same object + * }); + * ``` + * + * This transition will continue for the _entire_ synchronous execution. + * This means that if, for example, the context is entered within an event + * handler subsequent event handlers will also run within that context unless + * specifically bound to another context with an `AsyncResource`. That is why`run()` should be preferred over `enterWith()` unless there are strong reasons + * to use the latter method. + * + * ```js + * const store = { id: 1 }; + * + * emitter.on('my-event', () => { + * asyncLocalStorage.enterWith(store); + * }); + * emitter.on('my-event', () => { + * asyncLocalStorage.getStore(); // Returns the same object + * }); + * + * asyncLocalStorage.getStore(); // Returns undefined + * emitter.emit('my-event'); + * asyncLocalStorage.getStore(); // Returns the same object + * ``` + * @since v13.11.0, v12.17.0 + * @experimental + */ + enterWith(store: T): void; + } +} +declare module "node:async_hooks" { + export * from "async_hooks"; +} diff --git a/node_modules/@types/node/ts4.8/buffer.d.ts b/node_modules/@types/node/ts4.8/buffer.d.ts new file mode 100644 index 000000000..1ee5c0135 --- /dev/null +++ b/node_modules/@types/node/ts4.8/buffer.d.ts @@ -0,0 +1,2362 @@ +/** + * `Buffer` objects are used to represent a fixed-length sequence of bytes. Many + * Node.js APIs support `Buffer`s. + * + * The `Buffer` class is a subclass of JavaScript's [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) class and + * extends it with methods that cover additional use cases. Node.js APIs accept + * plain [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) s wherever `Buffer`s are supported as well. + * + * While the `Buffer` class is available within the global scope, it is still + * recommended to explicitly reference it via an import or require statement. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Creates a zero-filled Buffer of length 10. + * const buf1 = Buffer.alloc(10); + * + * // Creates a Buffer of length 10, + * // filled with bytes which all have the value `1`. + * const buf2 = Buffer.alloc(10, 1); + * + * // Creates an uninitialized buffer of length 10. + * // This is faster than calling Buffer.alloc() but the returned + * // Buffer instance might contain old data that needs to be + * // overwritten using fill(), write(), or other functions that fill the Buffer's + * // contents. + * const buf3 = Buffer.allocUnsafe(10); + * + * // Creates a Buffer containing the bytes [1, 2, 3]. + * const buf4 = Buffer.from([1, 2, 3]); + * + * // Creates a Buffer containing the bytes [1, 1, 1, 1] – the entries + * // are all truncated using `(value & 255)` to fit into the range 0–255. + * const buf5 = Buffer.from([257, 257.5, -255, '1']); + * + * // Creates a Buffer containing the UTF-8-encoded bytes for the string 'tést': + * // [0x74, 0xc3, 0xa9, 0x73, 0x74] (in hexadecimal notation) + * // [116, 195, 169, 115, 116] (in decimal notation) + * const buf6 = Buffer.from('tést'); + * + * // Creates a Buffer containing the Latin-1 bytes [0x74, 0xe9, 0x73, 0x74]. + * const buf7 = Buffer.from('tést', 'latin1'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/buffer.js) + */ +declare module "buffer" { + import { BinaryLike } from "node:crypto"; + import { ReadableStream as WebReadableStream } from "node:stream/web"; + /** + * This function returns `true` if `input` contains only valid UTF-8-encoded data, + * including the case in which `input` is empty. + * + * Throws if the `input` is a detached array buffer. + * @since v19.4.0, v18.14.0 + * @param input The input to validate. + */ + export function isUtf8(input: Buffer | ArrayBuffer | NodeJS.TypedArray): boolean; + /** + * This function returns `true` if `input` contains only valid ASCII-encoded data, + * including the case in which `input` is empty. + * + * Throws if the `input` is a detached array buffer. + * @since v19.6.0, v18.15.0 + * @param input The input to validate. + */ + export function isAscii(input: Buffer | ArrayBuffer | NodeJS.TypedArray): boolean; + export const INSPECT_MAX_BYTES: number; + export const kMaxLength: number; + export const kStringMaxLength: number; + export const constants: { + MAX_LENGTH: number; + MAX_STRING_LENGTH: number; + }; + export type TranscodeEncoding = + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "latin1" + | "binary"; + /** + * Re-encodes the given `Buffer` or `Uint8Array` instance from one character + * encoding to another. Returns a new `Buffer` instance. + * + * Throws if the `fromEnc` or `toEnc` specify invalid character encodings or if + * conversion from `fromEnc` to `toEnc` is not permitted. + * + * Encodings supported by `buffer.transcode()` are: `'ascii'`, `'utf8'`,`'utf16le'`, `'ucs2'`, `'latin1'`, and `'binary'`. + * + * The transcoding process will use substitution characters if a given byte + * sequence cannot be adequately represented in the target encoding. For instance: + * + * ```js + * import { Buffer, transcode } from 'node:buffer'; + * + * const newBuf = transcode(Buffer.from('€'), 'utf8', 'ascii'); + * console.log(newBuf.toString('ascii')); + * // Prints: '?' + * ``` + * + * Because the Euro (`€`) sign is not representable in US-ASCII, it is replaced + * with `?` in the transcoded `Buffer`. + * @since v7.1.0 + * @param source A `Buffer` or `Uint8Array` instance. + * @param fromEnc The current encoding. + * @param toEnc To target encoding. + */ + export function transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer; + export const SlowBuffer: { + /** @deprecated since v6.0.0, use `Buffer.allocUnsafeSlow()` */ + new(size: number): Buffer; + prototype: Buffer; + }; + /** + * Resolves a `'blob:nodedata:...'` an associated `Blob` object registered using + * a prior call to `URL.createObjectURL()`. + * @since v16.7.0 + * @experimental + * @param id A `'blob:nodedata:...` URL string returned by a prior call to `URL.createObjectURL()`. + */ + export function resolveObjectURL(id: string): Blob | undefined; + export { Buffer }; + /** + * @experimental + */ + export interface BlobOptions { + /** + * @default 'utf8' + */ + encoding?: BufferEncoding | undefined; + /** + * The Blob content-type. The intent is for `type` to convey + * the MIME media type of the data, however no validation of the type format + * is performed. + */ + type?: string | undefined; + } + /** + * A [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob) encapsulates immutable, raw data that can be safely shared across + * multiple worker threads. + * @since v15.7.0, v14.18.0 + */ + export class Blob { + /** + * The total size of the `Blob` in bytes. + * @since v15.7.0, v14.18.0 + */ + readonly size: number; + /** + * The content-type of the `Blob`. + * @since v15.7.0, v14.18.0 + */ + readonly type: string; + /** + * Creates a new `Blob` object containing a concatenation of the given sources. + * + * {ArrayBuffer}, {TypedArray}, {DataView}, and {Buffer} sources are copied into + * the 'Blob' and can therefore be safely modified after the 'Blob' is created. + * + * String sources are also copied into the `Blob`. + */ + constructor(sources: Array, options?: BlobOptions); + /** + * Returns a promise that fulfills with an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) containing a copy of + * the `Blob` data. + * @since v15.7.0, v14.18.0 + */ + arrayBuffer(): Promise; + /** + * Creates and returns a new `Blob` containing a subset of this `Blob` objects + * data. The original `Blob` is not altered. + * @since v15.7.0, v14.18.0 + * @param start The starting index. + * @param end The ending index. + * @param type The content-type for the new `Blob` + */ + slice(start?: number, end?: number, type?: string): Blob; + /** + * Returns a promise that fulfills with the contents of the `Blob` decoded as a + * UTF-8 string. + * @since v15.7.0, v14.18.0 + */ + text(): Promise; + /** + * Returns a new `ReadableStream` that allows the content of the `Blob` to be read. + * @since v16.7.0 + */ + stream(): WebReadableStream; + } + export interface FileOptions { + /** + * One of either `'transparent'` or `'native'`. When set to `'native'`, line endings in string source parts will be + * converted to the platform native line-ending as specified by `require('node:os').EOL`. + */ + endings?: "native" | "transparent"; + /** The File content-type. */ + type?: string; + /** The last modified date of the file. `Default`: Date.now(). */ + lastModified?: number; + } + /** + * A [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File) provides information about files. + * @since v19.2.0, v18.13.0 + */ + export class File extends Blob { + constructor(sources: Array, fileName: string, options?: FileOptions); + /** + * The name of the `File`. + * @since v19.2.0, v18.13.0 + */ + readonly name: string; + /** + * The last modified date of the `File`. + * @since v19.2.0, v18.13.0 + */ + readonly lastModified: number; + } + export import atob = globalThis.atob; + export import btoa = globalThis.btoa; + import { Blob as NodeBlob } from "buffer"; + // This conditional type will be the existing global Blob in a browser, or + // the copy below in a Node environment. + type __Blob = typeof globalThis extends { onmessage: any; Blob: any } ? {} : NodeBlob; + global { + namespace NodeJS { + export { BufferEncoding }; + } + // Buffer class + type BufferEncoding = + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "base64" + | "base64url" + | "latin1" + | "binary" + | "hex"; + type WithImplicitCoercion = + | T + | { + valueOf(): T; + }; + /** + * Raw data is stored in instances of the Buffer class. + * A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. + * Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'base64url'|'binary'(deprecated)|'hex' + */ + interface BufferConstructor { + /** + * Allocates a new buffer containing the given {str}. + * + * @param str String to store in buffer. + * @param encoding encoding to use, optional. Default is 'utf8' + * @deprecated since v10.0.0 - Use `Buffer.from(string[, encoding])` instead. + */ + new(str: string, encoding?: BufferEncoding): Buffer; + /** + * Allocates a new buffer of {size} octets. + * + * @param size count of octets to allocate. + * @deprecated since v10.0.0 - Use `Buffer.alloc()` instead (also see `Buffer.allocUnsafe()`). + */ + new(size: number): Buffer; + /** + * Allocates a new buffer containing the given {array} of octets. + * + * @param array The octets to store. + * @deprecated since v10.0.0 - Use `Buffer.from(array)` instead. + */ + new(array: Uint8Array): Buffer; + /** + * Produces a Buffer backed by the same allocated memory as + * the given {ArrayBuffer}/{SharedArrayBuffer}. + * + * @param arrayBuffer The ArrayBuffer with which to share memory. + * @deprecated since v10.0.0 - Use `Buffer.from(arrayBuffer[, byteOffset[, length]])` instead. + */ + new(arrayBuffer: ArrayBuffer | SharedArrayBuffer): Buffer; + /** + * Allocates a new buffer containing the given {array} of octets. + * + * @param array The octets to store. + * @deprecated since v10.0.0 - Use `Buffer.from(array)` instead. + */ + new(array: readonly any[]): Buffer; + /** + * Copies the passed {buffer} data onto a new {Buffer} instance. + * + * @param buffer The buffer to copy. + * @deprecated since v10.0.0 - Use `Buffer.from(buffer)` instead. + */ + new(buffer: Buffer): Buffer; + /** + * Allocates a new `Buffer` using an `array` of bytes in the range `0` – `255`. + * Array entries outside that range will be truncated to fit into it. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Creates a new Buffer containing the UTF-8 bytes of the string 'buffer'. + * const buf = Buffer.from([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]); + * ``` + * + * If `array` is an `Array`\-like object (that is, one with a `length` property of + * type `number`), it is treated as if it is an array, unless it is a `Buffer` or + * a `Uint8Array`. This means all other `TypedArray` variants get treated as an`Array`. To create a `Buffer` from the bytes backing a `TypedArray`, use `Buffer.copyBytesFrom()`. + * + * A `TypeError` will be thrown if `array` is not an `Array` or another type + * appropriate for `Buffer.from()` variants. + * + * `Buffer.from(array)` and `Buffer.from(string)` may also use the internal`Buffer` pool like `Buffer.allocUnsafe()` does. + * @since v5.10.0 + */ + from( + arrayBuffer: WithImplicitCoercion, + byteOffset?: number, + length?: number, + ): Buffer; + /** + * Creates a new Buffer using the passed {data} + * @param data data to create a new Buffer + */ + from(data: Uint8Array | readonly number[]): Buffer; + from(data: WithImplicitCoercion): Buffer; + /** + * Creates a new Buffer containing the given JavaScript string {str}. + * If provided, the {encoding} parameter identifies the character encoding. + * If not provided, {encoding} defaults to 'utf8'. + */ + from( + str: + | WithImplicitCoercion + | { + [Symbol.toPrimitive](hint: "string"): string; + }, + encoding?: BufferEncoding, + ): Buffer; + /** + * Creates a new Buffer using the passed {data} + * @param values to create a new Buffer + */ + of(...items: number[]): Buffer; + /** + * Returns `true` if `obj` is a `Buffer`, `false` otherwise. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * Buffer.isBuffer(Buffer.alloc(10)); // true + * Buffer.isBuffer(Buffer.from('foo')); // true + * Buffer.isBuffer('a string'); // false + * Buffer.isBuffer([]); // false + * Buffer.isBuffer(new Uint8Array(1024)); // false + * ``` + * @since v0.1.101 + */ + isBuffer(obj: any): obj is Buffer; + /** + * Returns `true` if `encoding` is the name of a supported character encoding, + * or `false` otherwise. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * console.log(Buffer.isEncoding('utf8')); + * // Prints: true + * + * console.log(Buffer.isEncoding('hex')); + * // Prints: true + * + * console.log(Buffer.isEncoding('utf/8')); + * // Prints: false + * + * console.log(Buffer.isEncoding('')); + * // Prints: false + * ``` + * @since v0.9.1 + * @param encoding A character encoding name to check. + */ + isEncoding(encoding: string): encoding is BufferEncoding; + /** + * Returns the byte length of a string when encoded using `encoding`. + * This is not the same as [`String.prototype.length`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length), which does not account + * for the encoding that is used to convert the string into bytes. + * + * For `'base64'`, `'base64url'`, and `'hex'`, this function assumes valid input. + * For strings that contain non-base64/hex-encoded data (e.g. whitespace), the + * return value might be greater than the length of a `Buffer` created from the + * string. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const str = '\u00bd + \u00bc = \u00be'; + * + * console.log(`${str}: ${str.length} characters, ` + + * `${Buffer.byteLength(str, 'utf8')} bytes`); + * // Prints: ½ + ¼ = ¾: 9 characters, 12 bytes + * ``` + * + * When `string` is a + * `Buffer`/[`DataView`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView)/[`TypedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/- + * Reference/Global_Objects/TypedArray)/[`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer)/[`SharedArrayBuffer`](https://develop- + * er.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer), the byte length as reported by `.byteLength`is returned. + * @since v0.1.90 + * @param string A value to calculate the length of. + * @param [encoding='utf8'] If `string` is a string, this is its encoding. + * @return The number of bytes contained within `string`. + */ + byteLength( + string: string | NodeJS.ArrayBufferView | ArrayBuffer | SharedArrayBuffer, + encoding?: BufferEncoding, + ): number; + /** + * Returns a new `Buffer` which is the result of concatenating all the `Buffer`instances in the `list` together. + * + * If the list has no items, or if the `totalLength` is 0, then a new zero-length`Buffer` is returned. + * + * If `totalLength` is not provided, it is calculated from the `Buffer` instances + * in `list` by adding their lengths. + * + * If `totalLength` is provided, it is coerced to an unsigned integer. If the + * combined length of the `Buffer`s in `list` exceeds `totalLength`, the result is + * truncated to `totalLength`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Create a single `Buffer` from a list of three `Buffer` instances. + * + * const buf1 = Buffer.alloc(10); + * const buf2 = Buffer.alloc(14); + * const buf3 = Buffer.alloc(18); + * const totalLength = buf1.length + buf2.length + buf3.length; + * + * console.log(totalLength); + * // Prints: 42 + * + * const bufA = Buffer.concat([buf1, buf2, buf3], totalLength); + * + * console.log(bufA); + * // Prints: + * console.log(bufA.length); + * // Prints: 42 + * ``` + * + * `Buffer.concat()` may also use the internal `Buffer` pool like `Buffer.allocUnsafe()` does. + * @since v0.7.11 + * @param list List of `Buffer` or {@link Uint8Array} instances to concatenate. + * @param totalLength Total length of the `Buffer` instances in `list` when concatenated. + */ + concat(list: readonly Uint8Array[], totalLength?: number): Buffer; + /** + * Copies the underlying memory of `view` into a new `Buffer`. + * + * ```js + * const u16 = new Uint16Array([0, 0xffff]); + * const buf = Buffer.copyBytesFrom(u16, 1, 1); + * u16[1] = 0; + * console.log(buf.length); // 2 + * console.log(buf[0]); // 255 + * console.log(buf[1]); // 255 + * ``` + * @since v19.8.0 + * @param view The {TypedArray} to copy. + * @param [offset=': 0'] The starting offset within `view`. + * @param [length=view.length - offset] The number of elements from `view` to copy. + */ + copyBytesFrom(view: NodeJS.TypedArray, offset?: number, length?: number): Buffer; + /** + * Compares `buf1` to `buf2`, typically for the purpose of sorting arrays of`Buffer` instances. This is equivalent to calling `buf1.compare(buf2)`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from('1234'); + * const buf2 = Buffer.from('0123'); + * const arr = [buf1, buf2]; + * + * console.log(arr.sort(Buffer.compare)); + * // Prints: [ , ] + * // (This result is equal to: [buf2, buf1].) + * ``` + * @since v0.11.13 + * @return Either `-1`, `0`, or `1`, depending on the result of the comparison. See `compare` for details. + */ + compare(buf1: Uint8Array, buf2: Uint8Array): -1 | 0 | 1; + /** + * Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the`Buffer` will be zero-filled. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.alloc(5); + * + * console.log(buf); + * // Prints: + * ``` + * + * If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown. + * + * If `fill` is specified, the allocated `Buffer` will be initialized by calling `buf.fill(fill)`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.alloc(5, 'a'); + * + * console.log(buf); + * // Prints: + * ``` + * + * If both `fill` and `encoding` are specified, the allocated `Buffer` will be + * initialized by calling `buf.fill(fill, encoding)`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.alloc(11, 'aGVsbG8gd29ybGQ=', 'base64'); + * + * console.log(buf); + * // Prints: + * ``` + * + * Calling `Buffer.alloc()` can be measurably slower than the alternative `Buffer.allocUnsafe()` but ensures that the newly created `Buffer` instance + * contents will never contain sensitive data from previous allocations, including + * data that might not have been allocated for `Buffer`s. + * + * A `TypeError` will be thrown if `size` is not a number. + * @since v5.10.0 + * @param size The desired length of the new `Buffer`. + * @param [fill=0] A value to pre-fill the new `Buffer` with. + * @param [encoding='utf8'] If `fill` is a string, this is its encoding. + */ + alloc(size: number, fill?: string | Uint8Array | number, encoding?: BufferEncoding): Buffer; + /** + * Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown. + * + * The underlying memory for `Buffer` instances created in this way is _not_ + * _initialized_. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `Buffer.alloc()` instead to initialize`Buffer` instances with zeroes. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(10); + * + * console.log(buf); + * // Prints (contents may vary): + * + * buf.fill(0); + * + * console.log(buf); + * // Prints: + * ``` + * + * A `TypeError` will be thrown if `size` is not a number. + * + * The `Buffer` module pre-allocates an internal `Buffer` instance of + * size `Buffer.poolSize` that is used as a pool for the fast allocation of new`Buffer` instances created using `Buffer.allocUnsafe()`, `Buffer.from(array)`, + * and `Buffer.concat()` only when `size` is less than or equal to`Buffer.poolSize >> 1` (floor of `Buffer.poolSize` divided by two). + * + * Use of this pre-allocated internal memory pool is a key difference between + * calling `Buffer.alloc(size, fill)` vs. `Buffer.allocUnsafe(size).fill(fill)`. + * Specifically, `Buffer.alloc(size, fill)` will _never_ use the internal `Buffer`pool, while `Buffer.allocUnsafe(size).fill(fill)`_will_ use the internal`Buffer` pool if `size` is less + * than or equal to half `Buffer.poolSize`. The + * difference is subtle but can be important when an application requires the + * additional performance that `Buffer.allocUnsafe()` provides. + * @since v5.10.0 + * @param size The desired length of the new `Buffer`. + */ + allocUnsafe(size: number): Buffer; + /** + * Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown. A zero-length `Buffer` is created if + * `size` is 0. + * + * The underlying memory for `Buffer` instances created in this way is _not_ + * _initialized_. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `buf.fill(0)` to initialize + * such `Buffer` instances with zeroes. + * + * When using `Buffer.allocUnsafe()` to allocate new `Buffer` instances, + * allocations under 4 KiB are sliced from a single pre-allocated `Buffer`. This + * allows applications to avoid the garbage collection overhead of creating many + * individually allocated `Buffer` instances. This approach improves both + * performance and memory usage by eliminating the need to track and clean up as + * many individual `ArrayBuffer` objects. + * + * However, in the case where a developer may need to retain a small chunk of + * memory from a pool for an indeterminate amount of time, it may be appropriate + * to create an un-pooled `Buffer` instance using `Buffer.allocUnsafeSlow()` and + * then copying out the relevant bits. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Need to keep around a few small chunks of memory. + * const store = []; + * + * socket.on('readable', () => { + * let data; + * while (null !== (data = readable.read())) { + * // Allocate for retained data. + * const sb = Buffer.allocUnsafeSlow(10); + * + * // Copy the data into the new allocation. + * data.copy(sb, 0, 0, 10); + * + * store.push(sb); + * } + * }); + * ``` + * + * A `TypeError` will be thrown if `size` is not a number. + * @since v5.12.0 + * @param size The desired length of the new `Buffer`. + */ + allocUnsafeSlow(size: number): Buffer; + /** + * This is the size (in bytes) of pre-allocated internal `Buffer` instances used + * for pooling. This value may be modified. + * @since v0.11.3 + */ + poolSize: number; + } + interface Buffer extends Uint8Array { + /** + * Writes `string` to `buf` at `offset` according to the character encoding in`encoding`. The `length` parameter is the number of bytes to write. If `buf` did + * not contain enough space to fit the entire string, only part of `string` will be + * written. However, partially encoded characters will not be written. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.alloc(256); + * + * const len = buf.write('\u00bd + \u00bc = \u00be', 0); + * + * console.log(`${len} bytes: ${buf.toString('utf8', 0, len)}`); + * // Prints: 12 bytes: ½ + ¼ = ¾ + * + * const buffer = Buffer.alloc(10); + * + * const length = buffer.write('abcd', 8); + * + * console.log(`${length} bytes: ${buffer.toString('utf8', 8, 10)}`); + * // Prints: 2 bytes : ab + * ``` + * @since v0.1.90 + * @param string String to write to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write `string`. + * @param [length=buf.length - offset] Maximum number of bytes to write (written bytes will not exceed `buf.length - offset`). + * @param [encoding='utf8'] The character encoding of `string`. + * @return Number of bytes written. + */ + write(string: string, encoding?: BufferEncoding): number; + write(string: string, offset: number, encoding?: BufferEncoding): number; + write(string: string, offset: number, length: number, encoding?: BufferEncoding): number; + /** + * Decodes `buf` to a string according to the specified character encoding in`encoding`. `start` and `end` may be passed to decode only a subset of `buf`. + * + * If `encoding` is `'utf8'` and a byte sequence in the input is not valid UTF-8, + * then each invalid byte is replaced with the replacement character `U+FFFD`. + * + * The maximum length of a string instance (in UTF-16 code units) is available + * as {@link constants.MAX_STRING_LENGTH}. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.allocUnsafe(26); + * + * for (let i = 0; i < 26; i++) { + * // 97 is the decimal ASCII value for 'a'. + * buf1[i] = i + 97; + * } + * + * console.log(buf1.toString('utf8')); + * // Prints: abcdefghijklmnopqrstuvwxyz + * console.log(buf1.toString('utf8', 0, 5)); + * // Prints: abcde + * + * const buf2 = Buffer.from('tést'); + * + * console.log(buf2.toString('hex')); + * // Prints: 74c3a97374 + * console.log(buf2.toString('utf8', 0, 3)); + * // Prints: té + * console.log(buf2.toString(undefined, 0, 3)); + * // Prints: té + * ``` + * @since v0.1.90 + * @param [encoding='utf8'] The character encoding to use. + * @param [start=0] The byte offset to start decoding at. + * @param [end=buf.length] The byte offset to stop decoding at (not inclusive). + */ + toString(encoding?: BufferEncoding, start?: number, end?: number): string; + /** + * Returns a JSON representation of `buf`. [`JSON.stringify()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify) implicitly calls + * this function when stringifying a `Buffer` instance. + * + * `Buffer.from()` accepts objects in the format returned from this method. + * In particular, `Buffer.from(buf.toJSON())` works like `Buffer.from(buf)`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5]); + * const json = JSON.stringify(buf); + * + * console.log(json); + * // Prints: {"type":"Buffer","data":[1,2,3,4,5]} + * + * const copy = JSON.parse(json, (key, value) => { + * return value && value.type === 'Buffer' ? + * Buffer.from(value) : + * value; + * }); + * + * console.log(copy); + * // Prints: + * ``` + * @since v0.9.2 + */ + toJSON(): { + type: "Buffer"; + data: number[]; + }; + /** + * Returns `true` if both `buf` and `otherBuffer` have exactly the same bytes,`false` otherwise. Equivalent to `buf.compare(otherBuffer) === 0`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from('ABC'); + * const buf2 = Buffer.from('414243', 'hex'); + * const buf3 = Buffer.from('ABCD'); + * + * console.log(buf1.equals(buf2)); + * // Prints: true + * console.log(buf1.equals(buf3)); + * // Prints: false + * ``` + * @since v0.11.13 + * @param otherBuffer A `Buffer` or {@link Uint8Array} with which to compare `buf`. + */ + equals(otherBuffer: Uint8Array): boolean; + /** + * Compares `buf` with `target` and returns a number indicating whether `buf`comes before, after, or is the same as `target` in sort order. + * Comparison is based on the actual sequence of bytes in each `Buffer`. + * + * * `0` is returned if `target` is the same as `buf` + * * `1` is returned if `target` should come _before_`buf` when sorted. + * * `-1` is returned if `target` should come _after_`buf` when sorted. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from('ABC'); + * const buf2 = Buffer.from('BCD'); + * const buf3 = Buffer.from('ABCD'); + * + * console.log(buf1.compare(buf1)); + * // Prints: 0 + * console.log(buf1.compare(buf2)); + * // Prints: -1 + * console.log(buf1.compare(buf3)); + * // Prints: -1 + * console.log(buf2.compare(buf1)); + * // Prints: 1 + * console.log(buf2.compare(buf3)); + * // Prints: 1 + * console.log([buf1, buf2, buf3].sort(Buffer.compare)); + * // Prints: [ , , ] + * // (This result is equal to: [buf1, buf3, buf2].) + * ``` + * + * The optional `targetStart`, `targetEnd`, `sourceStart`, and `sourceEnd`arguments can be used to limit the comparison to specific ranges within `target`and `buf` respectively. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8, 9]); + * const buf2 = Buffer.from([5, 6, 7, 8, 9, 1, 2, 3, 4]); + * + * console.log(buf1.compare(buf2, 5, 9, 0, 4)); + * // Prints: 0 + * console.log(buf1.compare(buf2, 0, 6, 4)); + * // Prints: -1 + * console.log(buf1.compare(buf2, 5, 6, 5)); + * // Prints: 1 + * ``` + * + * `ERR_OUT_OF_RANGE` is thrown if `targetStart < 0`, `sourceStart < 0`,`targetEnd > target.byteLength`, or `sourceEnd > source.byteLength`. + * @since v0.11.13 + * @param target A `Buffer` or {@link Uint8Array} with which to compare `buf`. + * @param [targetStart=0] The offset within `target` at which to begin comparison. + * @param [targetEnd=target.length] The offset within `target` at which to end comparison (not inclusive). + * @param [sourceStart=0] The offset within `buf` at which to begin comparison. + * @param [sourceEnd=buf.length] The offset within `buf` at which to end comparison (not inclusive). + */ + compare( + target: Uint8Array, + targetStart?: number, + targetEnd?: number, + sourceStart?: number, + sourceEnd?: number, + ): -1 | 0 | 1; + /** + * Copies data from a region of `buf` to a region in `target`, even if the `target`memory region overlaps with `buf`. + * + * [`TypedArray.prototype.set()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/set) performs the same operation, and is available + * for all TypedArrays, including Node.js `Buffer`s, although it takes + * different function arguments. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Create two `Buffer` instances. + * const buf1 = Buffer.allocUnsafe(26); + * const buf2 = Buffer.allocUnsafe(26).fill('!'); + * + * for (let i = 0; i < 26; i++) { + * // 97 is the decimal ASCII value for 'a'. + * buf1[i] = i + 97; + * } + * + * // Copy `buf1` bytes 16 through 19 into `buf2` starting at byte 8 of `buf2`. + * buf1.copy(buf2, 8, 16, 20); + * // This is equivalent to: + * // buf2.set(buf1.subarray(16, 20), 8); + * + * console.log(buf2.toString('ascii', 0, 25)); + * // Prints: !!!!!!!!qrst!!!!!!!!!!!!! + * ``` + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Create a `Buffer` and copy data from one region to an overlapping region + * // within the same `Buffer`. + * + * const buf = Buffer.allocUnsafe(26); + * + * for (let i = 0; i < 26; i++) { + * // 97 is the decimal ASCII value for 'a'. + * buf[i] = i + 97; + * } + * + * buf.copy(buf, 0, 4, 10); + * + * console.log(buf.toString()); + * // Prints: efghijghijklmnopqrstuvwxyz + * ``` + * @since v0.1.90 + * @param target A `Buffer` or {@link Uint8Array} to copy into. + * @param [targetStart=0] The offset within `target` at which to begin writing. + * @param [sourceStart=0] The offset within `buf` from which to begin copying. + * @param [sourceEnd=buf.length] The offset within `buf` at which to stop copying (not inclusive). + * @return The number of bytes copied. + */ + copy(target: Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; + /** + * Returns a new `Buffer` that references the same memory as the original, but + * offset and cropped by the `start` and `end` indices. + * + * This method is not compatible with the `Uint8Array.prototype.slice()`, + * which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('buffer'); + * + * const copiedBuf = Uint8Array.prototype.slice.call(buf); + * copiedBuf[0]++; + * console.log(copiedBuf.toString()); + * // Prints: cuffer + * + * console.log(buf.toString()); + * // Prints: buffer + * + * // With buf.slice(), the original buffer is modified. + * const notReallyCopiedBuf = buf.slice(); + * notReallyCopiedBuf[0]++; + * console.log(notReallyCopiedBuf.toString()); + * // Prints: cuffer + * console.log(buf.toString()); + * // Also prints: cuffer (!) + * ``` + * @since v0.3.0 + * @deprecated Use `subarray` instead. + * @param [start=0] Where the new `Buffer` will start. + * @param [end=buf.length] Where the new `Buffer` will end (not inclusive). + */ + slice(start?: number, end?: number): Buffer; + /** + * Returns a new `Buffer` that references the same memory as the original, but + * offset and cropped by the `start` and `end` indices. + * + * Specifying `end` greater than `buf.length` will return the same result as + * that of `end` equal to `buf.length`. + * + * This method is inherited from [`TypedArray.prototype.subarray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray). + * + * Modifying the new `Buffer` slice will modify the memory in the original `Buffer`because the allocated memory of the two objects overlap. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Create a `Buffer` with the ASCII alphabet, take a slice, and modify one byte + * // from the original `Buffer`. + * + * const buf1 = Buffer.allocUnsafe(26); + * + * for (let i = 0; i < 26; i++) { + * // 97 is the decimal ASCII value for 'a'. + * buf1[i] = i + 97; + * } + * + * const buf2 = buf1.subarray(0, 3); + * + * console.log(buf2.toString('ascii', 0, buf2.length)); + * // Prints: abc + * + * buf1[0] = 33; + * + * console.log(buf2.toString('ascii', 0, buf2.length)); + * // Prints: !bc + * ``` + * + * Specifying negative indexes causes the slice to be generated relative to the + * end of `buf` rather than the beginning. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('buffer'); + * + * console.log(buf.subarray(-6, -1).toString()); + * // Prints: buffe + * // (Equivalent to buf.subarray(0, 5).) + * + * console.log(buf.subarray(-6, -2).toString()); + * // Prints: buff + * // (Equivalent to buf.subarray(0, 4).) + * + * console.log(buf.subarray(-5, -2).toString()); + * // Prints: uff + * // (Equivalent to buf.subarray(1, 4).) + * ``` + * @since v3.0.0 + * @param [start=0] Where the new `Buffer` will start. + * @param [end=buf.length] Where the new `Buffer` will end (not inclusive). + */ + subarray(start?: number, end?: number): Buffer; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. + * + * `value` is interpreted and written as a two's complement signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(8); + * + * buf.writeBigInt64BE(0x0102030405060708n, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v12.0.0, v10.20.0 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. + * @return `offset` plus the number of bytes written. + */ + writeBigInt64BE(value: bigint, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian. + * + * `value` is interpreted and written as a two's complement signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(8); + * + * buf.writeBigInt64LE(0x0102030405060708n, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v12.0.0, v10.20.0 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. + * @return `offset` plus the number of bytes written. + */ + writeBigInt64LE(value: bigint, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. + * + * This function is also available under the `writeBigUint64BE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(8); + * + * buf.writeBigUInt64BE(0xdecafafecacefaden, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v12.0.0, v10.20.0 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. + * @return `offset` plus the number of bytes written. + */ + writeBigUInt64BE(value: bigint, offset?: number): number; + /** + * @alias Buffer.writeBigUInt64BE + * @since v14.10.0, v12.19.0 + */ + writeBigUint64BE(value: bigint, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(8); + * + * buf.writeBigUInt64LE(0xdecafafecacefaden, 0); + * + * console.log(buf); + * // Prints: + * ``` + * + * This function is also available under the `writeBigUint64LE` alias. + * @since v12.0.0, v10.20.0 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy: `0 <= offset <= buf.length - 8`. + * @return `offset` plus the number of bytes written. + */ + writeBigUInt64LE(value: bigint, offset?: number): number; + /** + * @alias Buffer.writeBigUInt64LE + * @since v14.10.0, v12.19.0 + */ + writeBigUint64LE(value: bigint, offset?: number): number; + /** + * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined + * when `value` is anything other than an unsigned integer. + * + * This function is also available under the `writeUintLE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(6); + * + * buf.writeUIntLE(0x1234567890ab, 0, 6); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. + * @return `offset` plus the number of bytes written. + */ + writeUIntLE(value: number, offset: number, byteLength: number): number; + /** + * @alias Buffer.writeUIntLE + * @since v14.9.0, v12.19.0 + */ + writeUintLE(value: number, offset: number, byteLength: number): number; + /** + * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined + * when `value` is anything other than an unsigned integer. + * + * This function is also available under the `writeUintBE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(6); + * + * buf.writeUIntBE(0x1234567890ab, 0, 6); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. + * @return `offset` plus the number of bytes written. + */ + writeUIntBE(value: number, offset: number, byteLength: number): number; + /** + * @alias Buffer.writeUIntBE + * @since v14.9.0, v12.19.0 + */ + writeUintBE(value: number, offset: number, byteLength: number): number; + /** + * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined + * when `value` is anything other than a signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(6); + * + * buf.writeIntLE(0x1234567890ab, 0, 6); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.11.15 + * @param value Number to be written to `buf`. + * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. + * @return `offset` plus the number of bytes written. + */ + writeIntLE(value: number, offset: number, byteLength: number): number; + /** + * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined when`value` is anything other than a + * signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(6); + * + * buf.writeIntBE(0x1234567890ab, 0, 6); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.11.15 + * @param value Number to be written to `buf`. + * @param offset Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to write. Must satisfy `0 < byteLength <= 6`. + * @return `offset` plus the number of bytes written. + */ + writeIntBE(value: number, offset: number, byteLength: number): number; + /** + * Reads an unsigned, big-endian 64-bit integer from `buf` at the specified`offset`. + * + * This function is also available under the `readBigUint64BE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]); + * + * console.log(buf.readBigUInt64BE(0)); + * // Prints: 4294967295n + * ``` + * @since v12.0.0, v10.20.0 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. + */ + readBigUInt64BE(offset?: number): bigint; + /** + * @alias Buffer.readBigUInt64BE + * @since v14.10.0, v12.19.0 + */ + readBigUint64BE(offset?: number): bigint; + /** + * Reads an unsigned, little-endian 64-bit integer from `buf` at the specified`offset`. + * + * This function is also available under the `readBigUint64LE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]); + * + * console.log(buf.readBigUInt64LE(0)); + * // Prints: 18446744069414584320n + * ``` + * @since v12.0.0, v10.20.0 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. + */ + readBigUInt64LE(offset?: number): bigint; + /** + * @alias Buffer.readBigUInt64LE + * @since v14.10.0, v12.19.0 + */ + readBigUint64LE(offset?: number): bigint; + /** + * Reads a signed, big-endian 64-bit integer from `buf` at the specified `offset`. + * + * Integers read from a `Buffer` are interpreted as two's complement signed + * values. + * @since v12.0.0, v10.20.0 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. + */ + readBigInt64BE(offset?: number): bigint; + /** + * Reads a signed, little-endian 64-bit integer from `buf` at the specified`offset`. + * + * Integers read from a `Buffer` are interpreted as two's complement signed + * values. + * @since v12.0.0, v10.20.0 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`. + */ + readBigInt64LE(offset?: number): bigint; + /** + * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as an unsigned, little-endian integer supporting + * up to 48 bits of accuracy. + * + * This function is also available under the `readUintLE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); + * + * console.log(buf.readUIntLE(0, 6).toString(16)); + * // Prints: ab9078563412 + * ``` + * @since v0.11.15 + * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. + */ + readUIntLE(offset: number, byteLength: number): number; + /** + * @alias Buffer.readUIntLE + * @since v14.9.0, v12.19.0 + */ + readUintLE(offset: number, byteLength: number): number; + /** + * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as an unsigned big-endian integer supporting + * up to 48 bits of accuracy. + * + * This function is also available under the `readUintBE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); + * + * console.log(buf.readUIntBE(0, 6).toString(16)); + * // Prints: 1234567890ab + * console.log(buf.readUIntBE(1, 6).toString(16)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.11.15 + * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. + */ + readUIntBE(offset: number, byteLength: number): number; + /** + * @alias Buffer.readUIntBE + * @since v14.9.0, v12.19.0 + */ + readUintBE(offset: number, byteLength: number): number; + /** + * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as a little-endian, two's complement signed value + * supporting up to 48 bits of accuracy. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); + * + * console.log(buf.readIntLE(0, 6).toString(16)); + * // Prints: -546f87a9cbee + * ``` + * @since v0.11.15 + * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. + */ + readIntLE(offset: number, byteLength: number): number; + /** + * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as a big-endian, two's complement signed value + * supporting up to 48 bits of accuracy. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]); + * + * console.log(buf.readIntBE(0, 6).toString(16)); + * // Prints: 1234567890ab + * console.log(buf.readIntBE(1, 6).toString(16)); + * // Throws ERR_OUT_OF_RANGE. + * console.log(buf.readIntBE(1, 0).toString(16)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.11.15 + * @param offset Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - byteLength`. + * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`. + */ + readIntBE(offset: number, byteLength: number): number; + /** + * Reads an unsigned 8-bit integer from `buf` at the specified `offset`. + * + * This function is also available under the `readUint8` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([1, -2]); + * + * console.log(buf.readUInt8(0)); + * // Prints: 1 + * console.log(buf.readUInt8(1)); + * // Prints: 254 + * console.log(buf.readUInt8(2)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.5.0 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 1`. + */ + readUInt8(offset?: number): number; + /** + * @alias Buffer.readUInt8 + * @since v14.9.0, v12.19.0 + */ + readUint8(offset?: number): number; + /** + * Reads an unsigned, little-endian 16-bit integer from `buf` at the specified`offset`. + * + * This function is also available under the `readUint16LE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56]); + * + * console.log(buf.readUInt16LE(0).toString(16)); + * // Prints: 3412 + * console.log(buf.readUInt16LE(1).toString(16)); + * // Prints: 5634 + * console.log(buf.readUInt16LE(2).toString(16)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. + */ + readUInt16LE(offset?: number): number; + /** + * @alias Buffer.readUInt16LE + * @since v14.9.0, v12.19.0 + */ + readUint16LE(offset?: number): number; + /** + * Reads an unsigned, big-endian 16-bit integer from `buf` at the specified`offset`. + * + * This function is also available under the `readUint16BE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56]); + * + * console.log(buf.readUInt16BE(0).toString(16)); + * // Prints: 1234 + * console.log(buf.readUInt16BE(1).toString(16)); + * // Prints: 3456 + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. + */ + readUInt16BE(offset?: number): number; + /** + * @alias Buffer.readUInt16BE + * @since v14.9.0, v12.19.0 + */ + readUint16BE(offset?: number): number; + /** + * Reads an unsigned, little-endian 32-bit integer from `buf` at the specified`offset`. + * + * This function is also available under the `readUint32LE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]); + * + * console.log(buf.readUInt32LE(0).toString(16)); + * // Prints: 78563412 + * console.log(buf.readUInt32LE(1).toString(16)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. + */ + readUInt32LE(offset?: number): number; + /** + * @alias Buffer.readUInt32LE + * @since v14.9.0, v12.19.0 + */ + readUint32LE(offset?: number): number; + /** + * Reads an unsigned, big-endian 32-bit integer from `buf` at the specified`offset`. + * + * This function is also available under the `readUint32BE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]); + * + * console.log(buf.readUInt32BE(0).toString(16)); + * // Prints: 12345678 + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. + */ + readUInt32BE(offset?: number): number; + /** + * @alias Buffer.readUInt32BE + * @since v14.9.0, v12.19.0 + */ + readUint32BE(offset?: number): number; + /** + * Reads a signed 8-bit integer from `buf` at the specified `offset`. + * + * Integers read from a `Buffer` are interpreted as two's complement signed values. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([-1, 5]); + * + * console.log(buf.readInt8(0)); + * // Prints: -1 + * console.log(buf.readInt8(1)); + * // Prints: 5 + * console.log(buf.readInt8(2)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.5.0 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 1`. + */ + readInt8(offset?: number): number; + /** + * Reads a signed, little-endian 16-bit integer from `buf` at the specified`offset`. + * + * Integers read from a `Buffer` are interpreted as two's complement signed values. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0, 5]); + * + * console.log(buf.readInt16LE(0)); + * // Prints: 1280 + * console.log(buf.readInt16LE(1)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. + */ + readInt16LE(offset?: number): number; + /** + * Reads a signed, big-endian 16-bit integer from `buf` at the specified `offset`. + * + * Integers read from a `Buffer` are interpreted as two's complement signed values. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0, 5]); + * + * console.log(buf.readInt16BE(0)); + * // Prints: 5 + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`. + */ + readInt16BE(offset?: number): number; + /** + * Reads a signed, little-endian 32-bit integer from `buf` at the specified`offset`. + * + * Integers read from a `Buffer` are interpreted as two's complement signed values. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0, 0, 0, 5]); + * + * console.log(buf.readInt32LE(0)); + * // Prints: 83886080 + * console.log(buf.readInt32LE(1)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. + */ + readInt32LE(offset?: number): number; + /** + * Reads a signed, big-endian 32-bit integer from `buf` at the specified `offset`. + * + * Integers read from a `Buffer` are interpreted as two's complement signed values. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([0, 0, 0, 5]); + * + * console.log(buf.readInt32BE(0)); + * // Prints: 5 + * ``` + * @since v0.5.5 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. + */ + readInt32BE(offset?: number): number; + /** + * Reads a 32-bit, little-endian float from `buf` at the specified `offset`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([1, 2, 3, 4]); + * + * console.log(buf.readFloatLE(0)); + * // Prints: 1.539989614439558e-36 + * console.log(buf.readFloatLE(1)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.11.15 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. + */ + readFloatLE(offset?: number): number; + /** + * Reads a 32-bit, big-endian float from `buf` at the specified `offset`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([1, 2, 3, 4]); + * + * console.log(buf.readFloatBE(0)); + * // Prints: 2.387939260590663e-38 + * ``` + * @since v0.11.15 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`. + */ + readFloatBE(offset?: number): number; + /** + * Reads a 64-bit, little-endian double from `buf` at the specified `offset`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]); + * + * console.log(buf.readDoubleLE(0)); + * // Prints: 5.447603722011605e-270 + * console.log(buf.readDoubleLE(1)); + * // Throws ERR_OUT_OF_RANGE. + * ``` + * @since v0.11.15 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 8`. + */ + readDoubleLE(offset?: number): number; + /** + * Reads a 64-bit, big-endian double from `buf` at the specified `offset`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]); + * + * console.log(buf.readDoubleBE(0)); + * // Prints: 8.20788039913184e-304 + * ``` + * @since v0.11.15 + * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 8`. + */ + readDoubleBE(offset?: number): number; + reverse(): this; + /** + * Interprets `buf` as an array of unsigned 16-bit integers and swaps the + * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 2. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]); + * + * console.log(buf1); + * // Prints: + * + * buf1.swap16(); + * + * console.log(buf1); + * // Prints: + * + * const buf2 = Buffer.from([0x1, 0x2, 0x3]); + * + * buf2.swap16(); + * // Throws ERR_INVALID_BUFFER_SIZE. + * ``` + * + * One convenient use of `buf.swap16()` is to perform a fast in-place conversion + * between UTF-16 little-endian and UTF-16 big-endian: + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('This is little-endian UTF-16', 'utf16le'); + * buf.swap16(); // Convert to big-endian UTF-16 text. + * ``` + * @since v5.10.0 + * @return A reference to `buf`. + */ + swap16(): Buffer; + /** + * Interprets `buf` as an array of unsigned 32-bit integers and swaps the + * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 4. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]); + * + * console.log(buf1); + * // Prints: + * + * buf1.swap32(); + * + * console.log(buf1); + * // Prints: + * + * const buf2 = Buffer.from([0x1, 0x2, 0x3]); + * + * buf2.swap32(); + * // Throws ERR_INVALID_BUFFER_SIZE. + * ``` + * @since v5.10.0 + * @return A reference to `buf`. + */ + swap32(): Buffer; + /** + * Interprets `buf` as an array of 64-bit numbers and swaps byte order _in-place_. + * Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 8. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]); + * + * console.log(buf1); + * // Prints: + * + * buf1.swap64(); + * + * console.log(buf1); + * // Prints: + * + * const buf2 = Buffer.from([0x1, 0x2, 0x3]); + * + * buf2.swap64(); + * // Throws ERR_INVALID_BUFFER_SIZE. + * ``` + * @since v6.3.0 + * @return A reference to `buf`. + */ + swap64(): Buffer; + /** + * Writes `value` to `buf` at the specified `offset`. `value` must be a + * valid unsigned 8-bit integer. Behavior is undefined when `value` is anything + * other than an unsigned 8-bit integer. + * + * This function is also available under the `writeUint8` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeUInt8(0x3, 0); + * buf.writeUInt8(0x4, 1); + * buf.writeUInt8(0x23, 2); + * buf.writeUInt8(0x42, 3); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.0 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 1`. + * @return `offset` plus the number of bytes written. + */ + writeUInt8(value: number, offset?: number): number; + /** + * @alias Buffer.writeUInt8 + * @since v14.9.0, v12.19.0 + */ + writeUint8(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value` is + * anything other than an unsigned 16-bit integer. + * + * This function is also available under the `writeUint16LE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeUInt16LE(0xdead, 0); + * buf.writeUInt16LE(0xbeef, 2); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. + * @return `offset` plus the number of bytes written. + */ + writeUInt16LE(value: number, offset?: number): number; + /** + * @alias Buffer.writeUInt16LE + * @since v14.9.0, v12.19.0 + */ + writeUint16LE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value`is anything other than an + * unsigned 16-bit integer. + * + * This function is also available under the `writeUint16BE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeUInt16BE(0xdead, 0); + * buf.writeUInt16BE(0xbeef, 2); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. + * @return `offset` plus the number of bytes written. + */ + writeUInt16BE(value: number, offset?: number): number; + /** + * @alias Buffer.writeUInt16BE + * @since v14.9.0, v12.19.0 + */ + writeUint16BE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value` is + * anything other than an unsigned 32-bit integer. + * + * This function is also available under the `writeUint32LE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeUInt32LE(0xfeedface, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. + * @return `offset` plus the number of bytes written. + */ + writeUInt32LE(value: number, offset?: number): number; + /** + * @alias Buffer.writeUInt32LE + * @since v14.9.0, v12.19.0 + */ + writeUint32LE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value`is anything other than an + * unsigned 32-bit integer. + * + * This function is also available under the `writeUint32BE` alias. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeUInt32BE(0xfeedface, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. + * @return `offset` plus the number of bytes written. + */ + writeUInt32BE(value: number, offset?: number): number; + /** + * @alias Buffer.writeUInt32BE + * @since v14.9.0, v12.19.0 + */ + writeUint32BE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset`. `value` must be a valid + * signed 8-bit integer. Behavior is undefined when `value` is anything other than + * a signed 8-bit integer. + * + * `value` is interpreted and written as a two's complement signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(2); + * + * buf.writeInt8(2, 0); + * buf.writeInt8(-2, 1); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.0 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 1`. + * @return `offset` plus the number of bytes written. + */ + writeInt8(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid signed 16-bit integer. Behavior is undefined when `value` is + * anything other than a signed 16-bit integer. + * + * The `value` is interpreted and written as a two's complement signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(2); + * + * buf.writeInt16LE(0x0304, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. + * @return `offset` plus the number of bytes written. + */ + writeInt16LE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid signed 16-bit integer. Behavior is undefined when `value` is + * anything other than a signed 16-bit integer. + * + * The `value` is interpreted and written as a two's complement signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(2); + * + * buf.writeInt16BE(0x0102, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 2`. + * @return `offset` plus the number of bytes written. + */ + writeInt16BE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid signed 32-bit integer. Behavior is undefined when `value` is + * anything other than a signed 32-bit integer. + * + * The `value` is interpreted and written as a two's complement signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeInt32LE(0x05060708, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. + * @return `offset` plus the number of bytes written. + */ + writeInt32LE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid signed 32-bit integer. Behavior is undefined when `value` is + * anything other than a signed 32-bit integer. + * + * The `value` is interpreted and written as a two's complement signed integer. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeInt32BE(0x01020304, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.5.5 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. + * @return `offset` plus the number of bytes written. + */ + writeInt32BE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian. Behavior is + * undefined when `value` is anything other than a JavaScript number. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeFloatLE(0xcafebabe, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.11.15 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. + * @return `offset` plus the number of bytes written. + */ + writeFloatLE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. Behavior is + * undefined when `value` is anything other than a JavaScript number. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(4); + * + * buf.writeFloatBE(0xcafebabe, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.11.15 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 4`. + * @return `offset` plus the number of bytes written. + */ + writeFloatBE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a JavaScript number. Behavior is undefined when `value` is anything + * other than a JavaScript number. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(8); + * + * buf.writeDoubleLE(123.456, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.11.15 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 8`. + * @return `offset` plus the number of bytes written. + */ + writeDoubleLE(value: number, offset?: number): number; + /** + * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a JavaScript number. Behavior is undefined when `value` is anything + * other than a JavaScript number. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(8); + * + * buf.writeDoubleBE(123.456, 0); + * + * console.log(buf); + * // Prints: + * ``` + * @since v0.11.15 + * @param value Number to be written to `buf`. + * @param [offset=0] Number of bytes to skip before starting to write. Must satisfy `0 <= offset <= buf.length - 8`. + * @return `offset` plus the number of bytes written. + */ + writeDoubleBE(value: number, offset?: number): number; + /** + * Fills `buf` with the specified `value`. If the `offset` and `end` are not given, + * the entire `buf` will be filled: + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Fill a `Buffer` with the ASCII character 'h'. + * + * const b = Buffer.allocUnsafe(50).fill('h'); + * + * console.log(b.toString()); + * // Prints: hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh + * + * // Fill a buffer with empty string + * const c = Buffer.allocUnsafe(5).fill(''); + * + * console.log(c.fill('')); + * // Prints: + * ``` + * + * `value` is coerced to a `uint32` value if it is not a string, `Buffer`, or + * integer. If the resulting integer is greater than `255` (decimal), `buf` will be + * filled with `value & 255`. + * + * If the final write of a `fill()` operation falls on a multi-byte character, + * then only the bytes of that character that fit into `buf` are written: + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Fill a `Buffer` with character that takes up two bytes in UTF-8. + * + * console.log(Buffer.allocUnsafe(5).fill('\u0222')); + * // Prints: + * ``` + * + * If `value` contains invalid characters, it is truncated; if no valid + * fill data remains, an exception is thrown: + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.allocUnsafe(5); + * + * console.log(buf.fill('a')); + * // Prints: + * console.log(buf.fill('aazz', 'hex')); + * // Prints: + * console.log(buf.fill('zz', 'hex')); + * // Throws an exception. + * ``` + * @since v0.5.0 + * @param value The value with which to fill `buf`. Empty value (string, Uint8Array, Buffer) is coerced to `0`. + * @param [offset=0] Number of bytes to skip before starting to fill `buf`. + * @param [end=buf.length] Where to stop filling `buf` (not inclusive). + * @param [encoding='utf8'] The encoding for `value` if `value` is a string. + * @return A reference to `buf`. + */ + fill(value: string | Uint8Array | number, offset?: number, end?: number, encoding?: BufferEncoding): this; + /** + * If `value` is: + * + * * a string, `value` is interpreted according to the character encoding in`encoding`. + * * a `Buffer` or [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array), `value` will be used in its entirety. + * To compare a partial `Buffer`, use `buf.subarray`. + * * a number, `value` will be interpreted as an unsigned 8-bit integer + * value between `0` and `255`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('this is a buffer'); + * + * console.log(buf.indexOf('this')); + * // Prints: 0 + * console.log(buf.indexOf('is')); + * // Prints: 2 + * console.log(buf.indexOf(Buffer.from('a buffer'))); + * // Prints: 8 + * console.log(buf.indexOf(97)); + * // Prints: 8 (97 is the decimal ASCII value for 'a') + * console.log(buf.indexOf(Buffer.from('a buffer example'))); + * // Prints: -1 + * console.log(buf.indexOf(Buffer.from('a buffer example').slice(0, 8))); + * // Prints: 8 + * + * const utf16Buffer = Buffer.from('\u039a\u0391\u03a3\u03a3\u0395', 'utf16le'); + * + * console.log(utf16Buffer.indexOf('\u03a3', 0, 'utf16le')); + * // Prints: 4 + * console.log(utf16Buffer.indexOf('\u03a3', -4, 'utf16le')); + * // Prints: 6 + * ``` + * + * If `value` is not a string, number, or `Buffer`, this method will throw a`TypeError`. If `value` is a number, it will be coerced to a valid byte value, + * an integer between 0 and 255. + * + * If `byteOffset` is not a number, it will be coerced to a number. If the result + * of coercion is `NaN` or `0`, then the entire buffer will be searched. This + * behavior matches [`String.prototype.indexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf). + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const b = Buffer.from('abcdef'); + * + * // Passing a value that's a number, but not a valid byte. + * // Prints: 2, equivalent to searching for 99 or 'c'. + * console.log(b.indexOf(99.9)); + * console.log(b.indexOf(256 + 99)); + * + * // Passing a byteOffset that coerces to NaN or 0. + * // Prints: 1, searching the whole buffer. + * console.log(b.indexOf('b', undefined)); + * console.log(b.indexOf('b', {})); + * console.log(b.indexOf('b', null)); + * console.log(b.indexOf('b', [])); + * ``` + * + * If `value` is an empty string or empty `Buffer` and `byteOffset` is less + * than `buf.length`, `byteOffset` will be returned. If `value` is empty and`byteOffset` is at least `buf.length`, `buf.length` will be returned. + * @since v1.5.0 + * @param value What to search for. + * @param [byteOffset=0] Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`. + * @param [encoding='utf8'] If `value` is a string, this is the encoding used to determine the binary representation of the string that will be searched for in `buf`. + * @return The index of the first occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`. + */ + indexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number; + /** + * Identical to `buf.indexOf()`, except the last occurrence of `value` is found + * rather than the first occurrence. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('this buffer is a buffer'); + * + * console.log(buf.lastIndexOf('this')); + * // Prints: 0 + * console.log(buf.lastIndexOf('buffer')); + * // Prints: 17 + * console.log(buf.lastIndexOf(Buffer.from('buffer'))); + * // Prints: 17 + * console.log(buf.lastIndexOf(97)); + * // Prints: 15 (97 is the decimal ASCII value for 'a') + * console.log(buf.lastIndexOf(Buffer.from('yolo'))); + * // Prints: -1 + * console.log(buf.lastIndexOf('buffer', 5)); + * // Prints: 5 + * console.log(buf.lastIndexOf('buffer', 4)); + * // Prints: -1 + * + * const utf16Buffer = Buffer.from('\u039a\u0391\u03a3\u03a3\u0395', 'utf16le'); + * + * console.log(utf16Buffer.lastIndexOf('\u03a3', undefined, 'utf16le')); + * // Prints: 6 + * console.log(utf16Buffer.lastIndexOf('\u03a3', -5, 'utf16le')); + * // Prints: 4 + * ``` + * + * If `value` is not a string, number, or `Buffer`, this method will throw a`TypeError`. If `value` is a number, it will be coerced to a valid byte value, + * an integer between 0 and 255. + * + * If `byteOffset` is not a number, it will be coerced to a number. Any arguments + * that coerce to `NaN`, like `{}` or `undefined`, will search the whole buffer. + * This behavior matches [`String.prototype.lastIndexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf). + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const b = Buffer.from('abcdef'); + * + * // Passing a value that's a number, but not a valid byte. + * // Prints: 2, equivalent to searching for 99 or 'c'. + * console.log(b.lastIndexOf(99.9)); + * console.log(b.lastIndexOf(256 + 99)); + * + * // Passing a byteOffset that coerces to NaN. + * // Prints: 1, searching the whole buffer. + * console.log(b.lastIndexOf('b', undefined)); + * console.log(b.lastIndexOf('b', {})); + * + * // Passing a byteOffset that coerces to 0. + * // Prints: -1, equivalent to passing 0. + * console.log(b.lastIndexOf('b', null)); + * console.log(b.lastIndexOf('b', [])); + * ``` + * + * If `value` is an empty string or empty `Buffer`, `byteOffset` will be returned. + * @since v6.0.0 + * @param value What to search for. + * @param [byteOffset=buf.length - 1] Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`. + * @param [encoding='utf8'] If `value` is a string, this is the encoding used to determine the binary representation of the string that will be searched for in `buf`. + * @return The index of the last occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`. + */ + lastIndexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number; + /** + * Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) of `[index, byte]` pairs from the contents + * of `buf`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * // Log the entire contents of a `Buffer`. + * + * const buf = Buffer.from('buffer'); + * + * for (const pair of buf.entries()) { + * console.log(pair); + * } + * // Prints: + * // [0, 98] + * // [1, 117] + * // [2, 102] + * // [3, 102] + * // [4, 101] + * // [5, 114] + * ``` + * @since v1.1.0 + */ + entries(): IterableIterator<[number, number]>; + /** + * Equivalent to `buf.indexOf() !== -1`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('this is a buffer'); + * + * console.log(buf.includes('this')); + * // Prints: true + * console.log(buf.includes('is')); + * // Prints: true + * console.log(buf.includes(Buffer.from('a buffer'))); + * // Prints: true + * console.log(buf.includes(97)); + * // Prints: true (97 is the decimal ASCII value for 'a') + * console.log(buf.includes(Buffer.from('a buffer example'))); + * // Prints: false + * console.log(buf.includes(Buffer.from('a buffer example').slice(0, 8))); + * // Prints: true + * console.log(buf.includes('this', 4)); + * // Prints: false + * ``` + * @since v5.3.0 + * @param value What to search for. + * @param [byteOffset=0] Where to begin searching in `buf`. If negative, then offset is calculated from the end of `buf`. + * @param [encoding='utf8'] If `value` is a string, this is its encoding. + * @return `true` if `value` was found in `buf`, `false` otherwise. + */ + includes(value: string | number | Buffer, byteOffset?: number, encoding?: BufferEncoding): boolean; + /** + * Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) of `buf` keys (indices). + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('buffer'); + * + * for (const key of buf.keys()) { + * console.log(key); + * } + * // Prints: + * // 0 + * // 1 + * // 2 + * // 3 + * // 4 + * // 5 + * ``` + * @since v1.1.0 + */ + keys(): IterableIterator; + /** + * Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) for `buf` values (bytes). This function is + * called automatically when a `Buffer` is used in a `for..of` statement. + * + * ```js + * import { Buffer } from 'node:buffer'; + * + * const buf = Buffer.from('buffer'); + * + * for (const value of buf.values()) { + * console.log(value); + * } + * // Prints: + * // 98 + * // 117 + * // 102 + * // 102 + * // 101 + * // 114 + * + * for (const value of buf) { + * console.log(value); + * } + * // Prints: + * // 98 + * // 117 + * // 102 + * // 102 + * // 101 + * // 114 + * ``` + * @since v1.1.0 + */ + values(): IterableIterator; + } + var Buffer: BufferConstructor; + /** + * Decodes a string of Base64-encoded data into bytes, and encodes those bytes + * into a string using Latin-1 (ISO-8859-1). + * + * The `data` may be any JavaScript-value that can be coerced into a string. + * + * **This function is only provided for compatibility with legacy web platform APIs** + * **and should never be used in new code, because they use strings to represent** + * **binary data and predate the introduction of typed arrays in JavaScript.** + * **For code running using Node.js APIs, converting between base64-encoded strings** + * **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.** + * @since v15.13.0, v14.17.0 + * @legacy Use `Buffer.from(data, 'base64')` instead. + * @param data The Base64-encoded input string. + */ + function atob(data: string): string; + /** + * Decodes a string into bytes using Latin-1 (ISO-8859), and encodes those bytes + * into a string using Base64. + * + * The `data` may be any JavaScript-value that can be coerced into a string. + * + * **This function is only provided for compatibility with legacy web platform APIs** + * **and should never be used in new code, because they use strings to represent** + * **binary data and predate the introduction of typed arrays in JavaScript.** + * **For code running using Node.js APIs, converting between base64-encoded strings** + * **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.** + * @since v15.13.0, v14.17.0 + * @legacy Use `buf.toString('base64')` instead. + * @param data An ASCII (Latin1) string. + */ + function btoa(data: string): string; + interface Blob extends __Blob {} + /** + * `Blob` class is a global reference for `require('node:buffer').Blob` + * https://nodejs.org/api/buffer.html#class-blob + * @since v18.0.0 + */ + var Blob: typeof globalThis extends { + onmessage: any; + Blob: infer T; + } ? T + : typeof NodeBlob; + } +} +declare module "node:buffer" { + export * from "buffer"; +} diff --git a/node_modules/@types/node/ts4.8/child_process.d.ts b/node_modules/@types/node/ts4.8/child_process.d.ts new file mode 100644 index 000000000..a97532b47 --- /dev/null +++ b/node_modules/@types/node/ts4.8/child_process.d.ts @@ -0,0 +1,1540 @@ +/** + * The `node:child_process` module provides the ability to spawn subprocesses in + * a manner that is similar, but not identical, to [`popen(3)`](http://man7.org/linux/man-pages/man3/popen.3.html). This capability + * is primarily provided by the {@link spawn} function: + * + * ```js + * const { spawn } = require('node:child_process'); + * const ls = spawn('ls', ['-lh', '/usr']); + * + * ls.stdout.on('data', (data) => { + * console.log(`stdout: ${data}`); + * }); + * + * ls.stderr.on('data', (data) => { + * console.error(`stderr: ${data}`); + * }); + * + * ls.on('close', (code) => { + * console.log(`child process exited with code ${code}`); + * }); + * ``` + * + * By default, pipes for `stdin`, `stdout`, and `stderr` are established between + * the parent Node.js process and the spawned subprocess. These pipes have + * limited (and platform-specific) capacity. If the subprocess writes to + * stdout in excess of that limit without the output being captured, the + * subprocess blocks waiting for the pipe buffer to accept more data. This is + * identical to the behavior of pipes in the shell. Use the `{ stdio: 'ignore' }`option if the output will not be consumed. + * + * The command lookup is performed using the `options.env.PATH` environment + * variable if `env` is in the `options` object. Otherwise, `process.env.PATH` is + * used. If `options.env` is set without `PATH`, lookup on Unix is performed + * on a default search path search of `/usr/bin:/bin` (see your operating system's + * manual for execvpe/execvp), on Windows the current processes environment + * variable `PATH` is used. + * + * On Windows, environment variables are case-insensitive. Node.js + * lexicographically sorts the `env` keys and uses the first one that + * case-insensitively matches. Only first (in lexicographic order) entry will be + * passed to the subprocess. This might lead to issues on Windows when passing + * objects to the `env` option that have multiple variants of the same key, such as`PATH` and `Path`. + * + * The {@link spawn} method spawns the child process asynchronously, + * without blocking the Node.js event loop. The {@link spawnSync} function provides equivalent functionality in a synchronous manner that blocks + * the event loop until the spawned process either exits or is terminated. + * + * For convenience, the `node:child_process` module provides a handful of + * synchronous and asynchronous alternatives to {@link spawn} and {@link spawnSync}. Each of these alternatives are implemented on + * top of {@link spawn} or {@link spawnSync}. + * + * * {@link exec}: spawns a shell and runs a command within that + * shell, passing the `stdout` and `stderr` to a callback function when + * complete. + * * {@link execFile}: similar to {@link exec} except + * that it spawns the command directly without first spawning a shell by + * default. + * * {@link fork}: spawns a new Node.js process and invokes a + * specified module with an IPC communication channel established that allows + * sending messages between parent and child. + * * {@link execSync}: a synchronous version of {@link exec} that will block the Node.js event loop. + * * {@link execFileSync}: a synchronous version of {@link execFile} that will block the Node.js event loop. + * + * For certain use cases, such as automating shell scripts, the `synchronous counterparts` may be more convenient. In many cases, however, + * the synchronous methods can have significant impact on performance due to + * stalling the event loop while spawned processes complete. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/child_process.js) + */ +declare module "child_process" { + import { ObjectEncodingOptions } from "node:fs"; + import { Abortable, EventEmitter } from "node:events"; + import * as net from "node:net"; + import { Pipe, Readable, Stream, Writable } from "node:stream"; + import { URL } from "node:url"; + type Serializable = string | object | number | boolean | bigint; + type SendHandle = net.Socket | net.Server; + /** + * Instances of the `ChildProcess` represent spawned child processes. + * + * Instances of `ChildProcess` are not intended to be created directly. Rather, + * use the {@link spawn}, {@link exec},{@link execFile}, or {@link fork} methods to create + * instances of `ChildProcess`. + * @since v2.2.0 + */ + class ChildProcess extends EventEmitter { + /** + * A `Writable Stream` that represents the child process's `stdin`. + * + * If a child process waits to read all of its input, the child will not continue + * until this stream has been closed via `end()`. + * + * If the child was spawned with `stdio[0]` set to anything other than `'pipe'`, + * then this will be `null`. + * + * `subprocess.stdin` is an alias for `subprocess.stdio[0]`. Both properties will + * refer to the same value. + * + * The `subprocess.stdin` property can be `null` or `undefined`if the child process could not be successfully spawned. + * @since v0.1.90 + */ + stdin: Writable | null; + /** + * A `Readable Stream` that represents the child process's `stdout`. + * + * If the child was spawned with `stdio[1]` set to anything other than `'pipe'`, + * then this will be `null`. + * + * `subprocess.stdout` is an alias for `subprocess.stdio[1]`. Both properties will + * refer to the same value. + * + * ```js + * const { spawn } = require('node:child_process'); + * + * const subprocess = spawn('ls'); + * + * subprocess.stdout.on('data', (data) => { + * console.log(`Received chunk ${data}`); + * }); + * ``` + * + * The `subprocess.stdout` property can be `null` or `undefined`if the child process could not be successfully spawned. + * @since v0.1.90 + */ + stdout: Readable | null; + /** + * A `Readable Stream` that represents the child process's `stderr`. + * + * If the child was spawned with `stdio[2]` set to anything other than `'pipe'`, + * then this will be `null`. + * + * `subprocess.stderr` is an alias for `subprocess.stdio[2]`. Both properties will + * refer to the same value. + * + * The `subprocess.stderr` property can be `null` or `undefined`if the child process could not be successfully spawned. + * @since v0.1.90 + */ + stderr: Readable | null; + /** + * The `subprocess.channel` property is a reference to the child's IPC channel. If + * no IPC channel exists, this property is `undefined`. + * @since v7.1.0 + */ + readonly channel?: Pipe | null | undefined; + /** + * A sparse array of pipes to the child process, corresponding with positions in + * the `stdio` option passed to {@link spawn} that have been set + * to the value `'pipe'`. `subprocess.stdio[0]`, `subprocess.stdio[1]`, and`subprocess.stdio[2]` are also available as `subprocess.stdin`,`subprocess.stdout`, and `subprocess.stderr`, + * respectively. + * + * In the following example, only the child's fd `1` (stdout) is configured as a + * pipe, so only the parent's `subprocess.stdio[1]` is a stream, all other values + * in the array are `null`. + * + * ```js + * const assert = require('node:assert'); + * const fs = require('node:fs'); + * const child_process = require('node:child_process'); + * + * const subprocess = child_process.spawn('ls', { + * stdio: [ + * 0, // Use parent's stdin for child. + * 'pipe', // Pipe child's stdout to parent. + * fs.openSync('err.out', 'w'), // Direct child's stderr to a file. + * ], + * }); + * + * assert.strictEqual(subprocess.stdio[0], null); + * assert.strictEqual(subprocess.stdio[0], subprocess.stdin); + * + * assert(subprocess.stdout); + * assert.strictEqual(subprocess.stdio[1], subprocess.stdout); + * + * assert.strictEqual(subprocess.stdio[2], null); + * assert.strictEqual(subprocess.stdio[2], subprocess.stderr); + * ``` + * + * The `subprocess.stdio` property can be `undefined` if the child process could + * not be successfully spawned. + * @since v0.7.10 + */ + readonly stdio: [ + Writable | null, + // stdin + Readable | null, + // stdout + Readable | null, + // stderr + Readable | Writable | null | undefined, + // extra + Readable | Writable | null | undefined, // extra + ]; + /** + * The `subprocess.killed` property indicates whether the child process + * successfully received a signal from `subprocess.kill()`. The `killed` property + * does not indicate that the child process has been terminated. + * @since v0.5.10 + */ + readonly killed: boolean; + /** + * Returns the process identifier (PID) of the child process. If the child process + * fails to spawn due to errors, then the value is `undefined` and `error` is + * emitted. + * + * ```js + * const { spawn } = require('node:child_process'); + * const grep = spawn('grep', ['ssh']); + * + * console.log(`Spawned child pid: ${grep.pid}`); + * grep.stdin.end(); + * ``` + * @since v0.1.90 + */ + readonly pid?: number | undefined; + /** + * The `subprocess.connected` property indicates whether it is still possible to + * send and receive messages from a child process. When `subprocess.connected` is`false`, it is no longer possible to send or receive messages. + * @since v0.7.2 + */ + readonly connected: boolean; + /** + * The `subprocess.exitCode` property indicates the exit code of the child process. + * If the child process is still running, the field will be `null`. + */ + readonly exitCode: number | null; + /** + * The `subprocess.signalCode` property indicates the signal received by + * the child process if any, else `null`. + */ + readonly signalCode: NodeJS.Signals | null; + /** + * The `subprocess.spawnargs` property represents the full list of command-line + * arguments the child process was launched with. + */ + readonly spawnargs: string[]; + /** + * The `subprocess.spawnfile` property indicates the executable file name of + * the child process that is launched. + * + * For {@link fork}, its value will be equal to `process.execPath`. + * For {@link spawn}, its value will be the name of + * the executable file. + * For {@link exec}, its value will be the name of the shell + * in which the child process is launched. + */ + readonly spawnfile: string; + /** + * The `subprocess.kill()` method sends a signal to the child process. If no + * argument is given, the process will be sent the `'SIGTERM'` signal. See [`signal(7)`](http://man7.org/linux/man-pages/man7/signal.7.html) for a list of available signals. This function + * returns `true` if [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) succeeds, and `false` otherwise. + * + * ```js + * const { spawn } = require('node:child_process'); + * const grep = spawn('grep', ['ssh']); + * + * grep.on('close', (code, signal) => { + * console.log( + * `child process terminated due to receipt of signal ${signal}`); + * }); + * + * // Send SIGHUP to process. + * grep.kill('SIGHUP'); + * ``` + * + * The `ChildProcess` object may emit an `'error'` event if the signal + * cannot be delivered. Sending a signal to a child process that has already exited + * is not an error but may have unforeseen consequences. Specifically, if the + * process identifier (PID) has been reassigned to another process, the signal will + * be delivered to that process instead which can have unexpected results. + * + * While the function is called `kill`, the signal delivered to the child process + * may not actually terminate the process. + * + * See [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) for reference. + * + * On Windows, where POSIX signals do not exist, the `signal` argument will be + * ignored, and the process will be killed forcefully and abruptly (similar to`'SIGKILL'`). + * See `Signal Events` for more details. + * + * On Linux, child processes of child processes will not be terminated + * when attempting to kill their parent. This is likely to happen when running a + * new process in a shell or with the use of the `shell` option of `ChildProcess`: + * + * ```js + * 'use strict'; + * const { spawn } = require('node:child_process'); + * + * const subprocess = spawn( + * 'sh', + * [ + * '-c', + * `node -e "setInterval(() => { + * console.log(process.pid, 'is alive') + * }, 500);"`, + * ], { + * stdio: ['inherit', 'inherit', 'inherit'], + * }, + * ); + * + * setTimeout(() => { + * subprocess.kill(); // Does not terminate the Node.js process in the shell. + * }, 2000); + * ``` + * @since v0.1.90 + */ + kill(signal?: NodeJS.Signals | number): boolean; + /** + * Calls {@link ChildProcess.kill} with `'SIGTERM'`. + * @since v20.5.0 + */ + [Symbol.dispose](): void; + /** + * When an IPC channel has been established between the parent and child ( + * i.e. when using {@link fork}), the `subprocess.send()` method can + * be used to send messages to the child process. When the child process is a + * Node.js instance, these messages can be received via the `'message'` event. + * + * The message goes through serialization and parsing. The resulting + * message might not be the same as what is originally sent. + * + * For example, in the parent script: + * + * ```js + * const cp = require('node:child_process'); + * const n = cp.fork(`${__dirname}/sub.js`); + * + * n.on('message', (m) => { + * console.log('PARENT got message:', m); + * }); + * + * // Causes the child to print: CHILD got message: { hello: 'world' } + * n.send({ hello: 'world' }); + * ``` + * + * And then the child script, `'sub.js'` might look like this: + * + * ```js + * process.on('message', (m) => { + * console.log('CHILD got message:', m); + * }); + * + * // Causes the parent to print: PARENT got message: { foo: 'bar', baz: null } + * process.send({ foo: 'bar', baz: NaN }); + * ``` + * + * Child Node.js processes will have a `process.send()` method of their own + * that allows the child to send messages back to the parent. + * + * There is a special case when sending a `{cmd: 'NODE_foo'}` message. Messages + * containing a `NODE_` prefix in the `cmd` property are reserved for use within + * Node.js core and will not be emitted in the child's `'message'` event. Rather, such messages are emitted using the`'internalMessage'` event and are consumed internally by Node.js. + * Applications should avoid using such messages or listening for`'internalMessage'` events as it is subject to change without notice. + * + * The optional `sendHandle` argument that may be passed to `subprocess.send()` is + * for passing a TCP server or socket object to the child process. The child will + * receive the object as the second argument passed to the callback function + * registered on the `'message'` event. Any data that is received + * and buffered in the socket will not be sent to the child. + * + * The optional `callback` is a function that is invoked after the message is + * sent but before the child may have received it. The function is called with a + * single argument: `null` on success, or an `Error` object on failure. + * + * If no `callback` function is provided and the message cannot be sent, an`'error'` event will be emitted by the `ChildProcess` object. This can + * happen, for instance, when the child process has already exited. + * + * `subprocess.send()` will return `false` if the channel has closed or when the + * backlog of unsent messages exceeds a threshold that makes it unwise to send + * more. Otherwise, the method returns `true`. The `callback` function can be + * used to implement flow control. + * + * #### Example: sending a server object + * + * The `sendHandle` argument can be used, for instance, to pass the handle of + * a TCP server object to the child process as illustrated in the example below: + * + * ```js + * const subprocess = require('node:child_process').fork('subprocess.js'); + * + * // Open up the server object and send the handle. + * const server = require('node:net').createServer(); + * server.on('connection', (socket) => { + * socket.end('handled by parent'); + * }); + * server.listen(1337, () => { + * subprocess.send('server', server); + * }); + * ``` + * + * The child would then receive the server object as: + * + * ```js + * process.on('message', (m, server) => { + * if (m === 'server') { + * server.on('connection', (socket) => { + * socket.end('handled by child'); + * }); + * } + * }); + * ``` + * + * Once the server is now shared between the parent and child, some connections + * can be handled by the parent and some by the child. + * + * While the example above uses a server created using the `node:net` module,`node:dgram` module servers use exactly the same workflow with the exceptions of + * listening on a `'message'` event instead of `'connection'` and using`server.bind()` instead of `server.listen()`. This is, however, only + * supported on Unix platforms. + * + * #### Example: sending a socket object + * + * Similarly, the `sendHandler` argument can be used to pass the handle of a + * socket to the child process. The example below spawns two children that each + * handle connections with "normal" or "special" priority: + * + * ```js + * const { fork } = require('node:child_process'); + * const normal = fork('subprocess.js', ['normal']); + * const special = fork('subprocess.js', ['special']); + * + * // Open up the server and send sockets to child. Use pauseOnConnect to prevent + * // the sockets from being read before they are sent to the child process. + * const server = require('node:net').createServer({ pauseOnConnect: true }); + * server.on('connection', (socket) => { + * + * // If this is special priority... + * if (socket.remoteAddress === '74.125.127.100') { + * special.send('socket', socket); + * return; + * } + * // This is normal priority. + * normal.send('socket', socket); + * }); + * server.listen(1337); + * ``` + * + * The `subprocess.js` would receive the socket handle as the second argument + * passed to the event callback function: + * + * ```js + * process.on('message', (m, socket) => { + * if (m === 'socket') { + * if (socket) { + * // Check that the client socket exists. + * // It is possible for the socket to be closed between the time it is + * // sent and the time it is received in the child process. + * socket.end(`Request handled with ${process.argv[2]} priority`); + * } + * } + * }); + * ``` + * + * Do not use `.maxConnections` on a socket that has been passed to a subprocess. + * The parent cannot track when the socket is destroyed. + * + * Any `'message'` handlers in the subprocess should verify that `socket` exists, + * as the connection may have been closed during the time it takes to send the + * connection to the child. + * @since v0.5.9 + * @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties: + */ + send(message: Serializable, callback?: (error: Error | null) => void): boolean; + send(message: Serializable, sendHandle?: SendHandle, callback?: (error: Error | null) => void): boolean; + send( + message: Serializable, + sendHandle?: SendHandle, + options?: MessageOptions, + callback?: (error: Error | null) => void, + ): boolean; + /** + * Closes the IPC channel between parent and child, allowing the child to exit + * gracefully once there are no other connections keeping it alive. After calling + * this method the `subprocess.connected` and `process.connected` properties in + * both the parent and child (respectively) will be set to `false`, and it will be + * no longer possible to pass messages between the processes. + * + * The `'disconnect'` event will be emitted when there are no messages in the + * process of being received. This will most often be triggered immediately after + * calling `subprocess.disconnect()`. + * + * When the child process is a Node.js instance (e.g. spawned using {@link fork}), the `process.disconnect()` method can be invoked + * within the child process to close the IPC channel as well. + * @since v0.7.2 + */ + disconnect(): void; + /** + * By default, the parent will wait for the detached child to exit. To prevent the + * parent from waiting for a given `subprocess` to exit, use the`subprocess.unref()` method. Doing so will cause the parent's event loop to not + * include the child in its reference count, allowing the parent to exit + * independently of the child, unless there is an established IPC channel between + * the child and the parent. + * + * ```js + * const { spawn } = require('node:child_process'); + * + * const subprocess = spawn(process.argv[0], ['child_program.js'], { + * detached: true, + * stdio: 'ignore', + * }); + * + * subprocess.unref(); + * ``` + * @since v0.7.10 + */ + unref(): void; + /** + * Calling `subprocess.ref()` after making a call to `subprocess.unref()` will + * restore the removed reference count for the child process, forcing the parent + * to wait for the child to exit before exiting itself. + * + * ```js + * const { spawn } = require('node:child_process'); + * + * const subprocess = spawn(process.argv[0], ['child_program.js'], { + * detached: true, + * stdio: 'ignore', + * }); + * + * subprocess.unref(); + * subprocess.ref(); + * ``` + * @since v0.7.10 + */ + ref(): void; + /** + * events.EventEmitter + * 1. close + * 2. disconnect + * 3. error + * 4. exit + * 5. message + * 6. spawn + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + addListener(event: "disconnect", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + addListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; + addListener(event: "spawn", listener: () => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "close", code: number | null, signal: NodeJS.Signals | null): boolean; + emit(event: "disconnect"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "exit", code: number | null, signal: NodeJS.Signals | null): boolean; + emit(event: "message", message: Serializable, sendHandle: SendHandle): boolean; + emit(event: "spawn", listener: () => void): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + on(event: "disconnect", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + on(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; + on(event: "spawn", listener: () => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + once(event: "disconnect", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + once(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; + once(event: "spawn", listener: () => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + prependListener(event: "disconnect", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; + prependListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; + prependListener(event: "spawn", listener: () => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener( + event: "close", + listener: (code: number | null, signal: NodeJS.Signals | null) => void, + ): this; + prependOnceListener(event: "disconnect", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener( + event: "exit", + listener: (code: number | null, signal: NodeJS.Signals | null) => void, + ): this; + prependOnceListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; + prependOnceListener(event: "spawn", listener: () => void): this; + } + // return this object when stdio option is undefined or not specified + interface ChildProcessWithoutNullStreams extends ChildProcess { + stdin: Writable; + stdout: Readable; + stderr: Readable; + readonly stdio: [ + Writable, + Readable, + Readable, + // stderr + Readable | Writable | null | undefined, + // extra, no modification + Readable | Writable | null | undefined, // extra, no modification + ]; + } + // return this object when stdio option is a tuple of 3 + interface ChildProcessByStdio + extends ChildProcess + { + stdin: I; + stdout: O; + stderr: E; + readonly stdio: [ + I, + O, + E, + Readable | Writable | null | undefined, + // extra, no modification + Readable | Writable | null | undefined, // extra, no modification + ]; + } + interface MessageOptions { + keepOpen?: boolean | undefined; + } + type IOType = "overlapped" | "pipe" | "ignore" | "inherit"; + type StdioOptions = IOType | Array; + type SerializationType = "json" | "advanced"; + interface MessagingOptions extends Abortable { + /** + * Specify the kind of serialization used for sending messages between processes. + * @default 'json' + */ + serialization?: SerializationType | undefined; + /** + * The signal value to be used when the spawned process will be killed by the abort signal. + * @default 'SIGTERM' + */ + killSignal?: NodeJS.Signals | number | undefined; + /** + * In milliseconds the maximum amount of time the process is allowed to run. + */ + timeout?: number | undefined; + } + interface ProcessEnvOptions { + uid?: number | undefined; + gid?: number | undefined; + cwd?: string | URL | undefined; + env?: NodeJS.ProcessEnv | undefined; + } + interface CommonOptions extends ProcessEnvOptions { + /** + * @default false + */ + windowsHide?: boolean | undefined; + /** + * @default 0 + */ + timeout?: number | undefined; + } + interface CommonSpawnOptions extends CommonOptions, MessagingOptions, Abortable { + argv0?: string | undefined; + /** + * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings. + * If passed as an array, the first element is used for `stdin`, the second for + * `stdout`, and the third for `stderr`. A fourth element can be used to + * specify the `stdio` behavior beyond the standard streams. See + * {@link ChildProcess.stdio} for more information. + * + * @default 'pipe' + */ + stdio?: StdioOptions | undefined; + shell?: boolean | string | undefined; + windowsVerbatimArguments?: boolean | undefined; + } + interface SpawnOptions extends CommonSpawnOptions { + detached?: boolean | undefined; + } + interface SpawnOptionsWithoutStdio extends SpawnOptions { + stdio?: StdioPipeNamed | StdioPipe[] | undefined; + } + type StdioNull = "inherit" | "ignore" | Stream; + type StdioPipeNamed = "pipe" | "overlapped"; + type StdioPipe = undefined | null | StdioPipeNamed; + interface SpawnOptionsWithStdioTuple< + Stdin extends StdioNull | StdioPipe, + Stdout extends StdioNull | StdioPipe, + Stderr extends StdioNull | StdioPipe, + > extends SpawnOptions { + stdio: [Stdin, Stdout, Stderr]; + } + /** + * The `child_process.spawn()` method spawns a new process using the given`command`, with command-line arguments in `args`. If omitted, `args` defaults + * to an empty array. + * + * **If the `shell` option is enabled, do not pass unsanitized user input to this** + * **function. Any input containing shell metacharacters may be used to trigger** + * **arbitrary command execution.** + * + * A third argument may be used to specify additional options, with these defaults: + * + * ```js + * const defaults = { + * cwd: undefined, + * env: process.env, + * }; + * ``` + * + * Use `cwd` to specify the working directory from which the process is spawned. + * If not given, the default is to inherit the current working directory. If given, + * but the path does not exist, the child process emits an `ENOENT` error + * and exits immediately. `ENOENT` is also emitted when the command + * does not exist. + * + * Use `env` to specify environment variables that will be visible to the new + * process, the default is `process.env`. + * + * `undefined` values in `env` will be ignored. + * + * Example of running `ls -lh /usr`, capturing `stdout`, `stderr`, and the + * exit code: + * + * ```js + * const { spawn } = require('node:child_process'); + * const ls = spawn('ls', ['-lh', '/usr']); + * + * ls.stdout.on('data', (data) => { + * console.log(`stdout: ${data}`); + * }); + * + * ls.stderr.on('data', (data) => { + * console.error(`stderr: ${data}`); + * }); + * + * ls.on('close', (code) => { + * console.log(`child process exited with code ${code}`); + * }); + * ``` + * + * Example: A very elaborate way to run `ps ax | grep ssh` + * + * ```js + * const { spawn } = require('node:child_process'); + * const ps = spawn('ps', ['ax']); + * const grep = spawn('grep', ['ssh']); + * + * ps.stdout.on('data', (data) => { + * grep.stdin.write(data); + * }); + * + * ps.stderr.on('data', (data) => { + * console.error(`ps stderr: ${data}`); + * }); + * + * ps.on('close', (code) => { + * if (code !== 0) { + * console.log(`ps process exited with code ${code}`); + * } + * grep.stdin.end(); + * }); + * + * grep.stdout.on('data', (data) => { + * console.log(data.toString()); + * }); + * + * grep.stderr.on('data', (data) => { + * console.error(`grep stderr: ${data}`); + * }); + * + * grep.on('close', (code) => { + * if (code !== 0) { + * console.log(`grep process exited with code ${code}`); + * } + * }); + * ``` + * + * Example of checking for failed `spawn`: + * + * ```js + * const { spawn } = require('node:child_process'); + * const subprocess = spawn('bad_command'); + * + * subprocess.on('error', (err) => { + * console.error('Failed to start subprocess.'); + * }); + * ``` + * + * Certain platforms (macOS, Linux) will use the value of `argv[0]` for the process + * title while others (Windows, SunOS) will use `command`. + * + * Node.js overwrites `argv[0]` with `process.execPath` on startup, so`process.argv[0]` in a Node.js child process will not match the `argv0`parameter passed to `spawn` from the parent. Retrieve + * it with the`process.argv0` property instead. + * + * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except + * the error passed to the callback will be an `AbortError`: + * + * ```js + * const { spawn } = require('node:child_process'); + * const controller = new AbortController(); + * const { signal } = controller; + * const grep = spawn('grep', ['ssh'], { signal }); + * grep.on('error', (err) => { + * // This will be called with err being an AbortError if the controller aborts + * }); + * controller.abort(); // Stops the child process + * ``` + * @since v0.1.90 + * @param command The command to run. + * @param args List of string arguments. + */ + function spawn(command: string, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn(command: string, options: SpawnOptions): ChildProcess; + // overloads of spawn with 'args' + function spawn( + command: string, + args?: readonly string[], + options?: SpawnOptionsWithoutStdio, + ): ChildProcessWithoutNullStreams; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn( + command: string, + args: readonly string[], + options: SpawnOptionsWithStdioTuple, + ): ChildProcessByStdio; + function spawn(command: string, args: readonly string[], options: SpawnOptions): ChildProcess; + interface ExecOptions extends CommonOptions { + shell?: string | undefined; + signal?: AbortSignal | undefined; + maxBuffer?: number | undefined; + killSignal?: NodeJS.Signals | number | undefined; + } + interface ExecOptionsWithStringEncoding extends ExecOptions { + encoding: BufferEncoding; + } + interface ExecOptionsWithBufferEncoding extends ExecOptions { + encoding: BufferEncoding | null; // specify `null`. + } + interface ExecException extends Error { + cmd?: string | undefined; + killed?: boolean | undefined; + code?: number | undefined; + signal?: NodeJS.Signals | undefined; + } + /** + * Spawns a shell then executes the `command` within that shell, buffering any + * generated output. The `command` string passed to the exec function is processed + * directly by the shell and special characters (vary based on [shell](https://en.wikipedia.org/wiki/List_of_command-line_interpreters)) + * need to be dealt with accordingly: + * + * ```js + * const { exec } = require('node:child_process'); + * + * exec('"/path/to/test file/test.sh" arg1 arg2'); + * // Double quotes are used so that the space in the path is not interpreted as + * // a delimiter of multiple arguments. + * + * exec('echo "The \\$HOME variable is $HOME"'); + * // The $HOME variable is escaped in the first instance, but not in the second. + * ``` + * + * **Never pass unsanitized user input to this function. Any input containing shell** + * **metacharacters may be used to trigger arbitrary command execution.** + * + * If a `callback` function is provided, it is called with the arguments`(error, stdout, stderr)`. On success, `error` will be `null`. On error,`error` will be an instance of `Error`. The + * `error.code` property will be + * the exit code of the process. By convention, any exit code other than `0`indicates an error. `error.signal` will be the signal that terminated the + * process. + * + * The `stdout` and `stderr` arguments passed to the callback will contain the + * stdout and stderr output of the child process. By default, Node.js will decode + * the output as UTF-8 and pass strings to the callback. The `encoding` option + * can be used to specify the character encoding used to decode the stdout and + * stderr output. If `encoding` is `'buffer'`, or an unrecognized character + * encoding, `Buffer` objects will be passed to the callback instead. + * + * ```js + * const { exec } = require('node:child_process'); + * exec('cat *.js missing_file | wc -l', (error, stdout, stderr) => { + * if (error) { + * console.error(`exec error: ${error}`); + * return; + * } + * console.log(`stdout: ${stdout}`); + * console.error(`stderr: ${stderr}`); + * }); + * ``` + * + * If `timeout` is greater than `0`, the parent will send the signal + * identified by the `killSignal` property (the default is `'SIGTERM'`) if the + * child runs longer than `timeout` milliseconds. + * + * Unlike the [`exec(3)`](http://man7.org/linux/man-pages/man3/exec.3.html) POSIX system call, `child_process.exec()` does not replace + * the existing process and uses a shell to execute the command. + * + * If this method is invoked as its `util.promisify()` ed version, it returns + * a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned`ChildProcess` instance is attached to the `Promise` as a `child` property. In + * case of an error (including any error resulting in an exit code other than 0), a + * rejected promise is returned, with the same `error` object given in the + * callback, but with two additional properties `stdout` and `stderr`. + * + * ```js + * const util = require('node:util'); + * const exec = util.promisify(require('node:child_process').exec); + * + * async function lsExample() { + * const { stdout, stderr } = await exec('ls'); + * console.log('stdout:', stdout); + * console.error('stderr:', stderr); + * } + * lsExample(); + * ``` + * + * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except + * the error passed to the callback will be an `AbortError`: + * + * ```js + * const { exec } = require('node:child_process'); + * const controller = new AbortController(); + * const { signal } = controller; + * const child = exec('grep ssh', { signal }, (error) => { + * console.error(error); // an AbortError + * }); + * controller.abort(); + * ``` + * @since v0.1.90 + * @param command The command to run, with space-separated arguments. + * @param callback called with the output when process terminates. + */ + function exec( + command: string, + callback?: (error: ExecException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`. + function exec( + command: string, + options: { + encoding: "buffer" | null; + } & ExecOptions, + callback?: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void, + ): ChildProcess; + // `options` with well known `encoding` means stdout/stderr are definitely `string`. + function exec( + command: string, + options: { + encoding: BufferEncoding; + } & ExecOptions, + callback?: (error: ExecException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`. + // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`. + function exec( + command: string, + options: { + encoding: BufferEncoding; + } & ExecOptions, + callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, + ): ChildProcess; + // `options` without an `encoding` means stdout/stderr are definitely `string`. + function exec( + command: string, + options: ExecOptions, + callback?: (error: ExecException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + // fallback if nothing else matches. Worst case is always `string | Buffer`. + function exec( + command: string, + options: (ObjectEncodingOptions & ExecOptions) | undefined | null, + callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, + ): ChildProcess; + interface PromiseWithChild extends Promise { + child: ChildProcess; + } + namespace exec { + function __promisify__(command: string): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + command: string, + options: { + encoding: "buffer" | null; + } & ExecOptions, + ): PromiseWithChild<{ + stdout: Buffer; + stderr: Buffer; + }>; + function __promisify__( + command: string, + options: { + encoding: BufferEncoding; + } & ExecOptions, + ): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + command: string, + options: ExecOptions, + ): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + command: string, + options?: (ObjectEncodingOptions & ExecOptions) | null, + ): PromiseWithChild<{ + stdout: string | Buffer; + stderr: string | Buffer; + }>; + } + interface ExecFileOptions extends CommonOptions, Abortable { + maxBuffer?: number | undefined; + killSignal?: NodeJS.Signals | number | undefined; + windowsVerbatimArguments?: boolean | undefined; + shell?: boolean | string | undefined; + signal?: AbortSignal | undefined; + } + interface ExecFileOptionsWithStringEncoding extends ExecFileOptions { + encoding: BufferEncoding; + } + interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions { + encoding: "buffer" | null; + } + interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions { + encoding: BufferEncoding; + } + type ExecFileException = + & Omit + & Omit + & { code?: string | number | undefined | null }; + /** + * The `child_process.execFile()` function is similar to {@link exec} except that it does not spawn a shell by default. Rather, the specified + * executable `file` is spawned directly as a new process making it slightly more + * efficient than {@link exec}. + * + * The same options as {@link exec} are supported. Since a shell is + * not spawned, behaviors such as I/O redirection and file globbing are not + * supported. + * + * ```js + * const { execFile } = require('node:child_process'); + * const child = execFile('node', ['--version'], (error, stdout, stderr) => { + * if (error) { + * throw error; + * } + * console.log(stdout); + * }); + * ``` + * + * The `stdout` and `stderr` arguments passed to the callback will contain the + * stdout and stderr output of the child process. By default, Node.js will decode + * the output as UTF-8 and pass strings to the callback. The `encoding` option + * can be used to specify the character encoding used to decode the stdout and + * stderr output. If `encoding` is `'buffer'`, or an unrecognized character + * encoding, `Buffer` objects will be passed to the callback instead. + * + * If this method is invoked as its `util.promisify()` ed version, it returns + * a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned`ChildProcess` instance is attached to the `Promise` as a `child` property. In + * case of an error (including any error resulting in an exit code other than 0), a + * rejected promise is returned, with the same `error` object given in the + * callback, but with two additional properties `stdout` and `stderr`. + * + * ```js + * const util = require('node:util'); + * const execFile = util.promisify(require('node:child_process').execFile); + * async function getVersion() { + * const { stdout } = await execFile('node', ['--version']); + * console.log(stdout); + * } + * getVersion(); + * ``` + * + * **If the `shell` option is enabled, do not pass unsanitized user input to this** + * **function. Any input containing shell metacharacters may be used to trigger** + * **arbitrary command execution.** + * + * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except + * the error passed to the callback will be an `AbortError`: + * + * ```js + * const { execFile } = require('node:child_process'); + * const controller = new AbortController(); + * const { signal } = controller; + * const child = execFile('node', ['--version'], { signal }, (error) => { + * console.error(error); // an AbortError + * }); + * controller.abort(); + * ``` + * @since v0.1.91 + * @param file The name or path of the executable file to run. + * @param args List of string arguments. + * @param callback Called with the output when process terminates. + */ + function execFile(file: string): ChildProcess; + function execFile( + file: string, + options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, + ): ChildProcess; + function execFile(file: string, args?: readonly string[] | null): ChildProcess; + function execFile( + file: string, + args: readonly string[] | undefined | null, + options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, + ): ChildProcess; + // no `options` definitely means stdout/stderr are `string`. + function execFile( + file: string, + callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + function execFile( + file: string, + args: readonly string[] | undefined | null, + callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`. + function execFile( + file: string, + options: ExecFileOptionsWithBufferEncoding, + callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void, + ): ChildProcess; + function execFile( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptionsWithBufferEncoding, + callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void, + ): ChildProcess; + // `options` with well known `encoding` means stdout/stderr are definitely `string`. + function execFile( + file: string, + options: ExecFileOptionsWithStringEncoding, + callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + function execFile( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptionsWithStringEncoding, + callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`. + // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`. + function execFile( + file: string, + options: ExecFileOptionsWithOtherEncoding, + callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void, + ): ChildProcess; + function execFile( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptionsWithOtherEncoding, + callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void, + ): ChildProcess; + // `options` without an `encoding` means stdout/stderr are definitely `string`. + function execFile( + file: string, + options: ExecFileOptions, + callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + function execFile( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptions, + callback: (error: ExecFileException | null, stdout: string, stderr: string) => void, + ): ChildProcess; + // fallback if nothing else matches. Worst case is always `string | Buffer`. + function execFile( + file: string, + options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, + callback: + | ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) + | undefined + | null, + ): ChildProcess; + function execFile( + file: string, + args: readonly string[] | undefined | null, + options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, + callback: + | ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) + | undefined + | null, + ): ChildProcess; + namespace execFile { + function __promisify__(file: string): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + file: string, + args: readonly string[] | undefined | null, + ): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + file: string, + options: ExecFileOptionsWithBufferEncoding, + ): PromiseWithChild<{ + stdout: Buffer; + stderr: Buffer; + }>; + function __promisify__( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptionsWithBufferEncoding, + ): PromiseWithChild<{ + stdout: Buffer; + stderr: Buffer; + }>; + function __promisify__( + file: string, + options: ExecFileOptionsWithStringEncoding, + ): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptionsWithStringEncoding, + ): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + file: string, + options: ExecFileOptionsWithOtherEncoding, + ): PromiseWithChild<{ + stdout: string | Buffer; + stderr: string | Buffer; + }>; + function __promisify__( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptionsWithOtherEncoding, + ): PromiseWithChild<{ + stdout: string | Buffer; + stderr: string | Buffer; + }>; + function __promisify__( + file: string, + options: ExecFileOptions, + ): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + file: string, + args: readonly string[] | undefined | null, + options: ExecFileOptions, + ): PromiseWithChild<{ + stdout: string; + stderr: string; + }>; + function __promisify__( + file: string, + options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, + ): PromiseWithChild<{ + stdout: string | Buffer; + stderr: string | Buffer; + }>; + function __promisify__( + file: string, + args: readonly string[] | undefined | null, + options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null, + ): PromiseWithChild<{ + stdout: string | Buffer; + stderr: string | Buffer; + }>; + } + interface ForkOptions extends ProcessEnvOptions, MessagingOptions, Abortable { + execPath?: string | undefined; + execArgv?: string[] | undefined; + silent?: boolean | undefined; + /** + * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings. + * If passed as an array, the first element is used for `stdin`, the second for + * `stdout`, and the third for `stderr`. A fourth element can be used to + * specify the `stdio` behavior beyond the standard streams. See + * {@link ChildProcess.stdio} for more information. + * + * @default 'pipe' + */ + stdio?: StdioOptions | undefined; + detached?: boolean | undefined; + windowsVerbatimArguments?: boolean | undefined; + } + /** + * The `child_process.fork()` method is a special case of {@link spawn} used specifically to spawn new Node.js processes. + * Like {@link spawn}, a `ChildProcess` object is returned. The + * returned `ChildProcess` will have an additional communication channel + * built-in that allows messages to be passed back and forth between the parent and + * child. See `subprocess.send()` for details. + * + * Keep in mind that spawned Node.js child processes are + * independent of the parent with exception of the IPC communication channel + * that is established between the two. Each process has its own memory, with + * their own V8 instances. Because of the additional resource allocations + * required, spawning a large number of child Node.js processes is not + * recommended. + * + * By default, `child_process.fork()` will spawn new Node.js instances using the `process.execPath` of the parent process. The `execPath` property in the`options` object allows for an alternative + * execution path to be used. + * + * Node.js processes launched with a custom `execPath` will communicate with the + * parent process using the file descriptor (fd) identified using the + * environment variable `NODE_CHANNEL_FD` on the child process. + * + * Unlike the [`fork(2)`](http://man7.org/linux/man-pages/man2/fork.2.html) POSIX system call, `child_process.fork()` does not clone the + * current process. + * + * The `shell` option available in {@link spawn} is not supported by`child_process.fork()` and will be ignored if set. + * + * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except + * the error passed to the callback will be an `AbortError`: + * + * ```js + * if (process.argv[2] === 'child') { + * setTimeout(() => { + * console.log(`Hello from ${process.argv[2]}!`); + * }, 1_000); + * } else { + * const { fork } = require('node:child_process'); + * const controller = new AbortController(); + * const { signal } = controller; + * const child = fork(__filename, ['child'], { signal }); + * child.on('error', (err) => { + * // This will be called with err being an AbortError if the controller aborts + * }); + * controller.abort(); // Stops the child process + * } + * ``` + * @since v0.5.0 + * @param modulePath The module to run in the child. + * @param args List of string arguments. + */ + function fork(modulePath: string, options?: ForkOptions): ChildProcess; + function fork(modulePath: string, args?: readonly string[], options?: ForkOptions): ChildProcess; + interface SpawnSyncOptions extends CommonSpawnOptions { + input?: string | NodeJS.ArrayBufferView | undefined; + maxBuffer?: number | undefined; + encoding?: BufferEncoding | "buffer" | null | undefined; + } + interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions { + encoding: BufferEncoding; + } + interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions { + encoding?: "buffer" | null | undefined; + } + interface SpawnSyncReturns { + pid: number; + output: Array; + stdout: T; + stderr: T; + status: number | null; + signal: NodeJS.Signals | null; + error?: Error | undefined; + } + /** + * The `child_process.spawnSync()` method is generally identical to {@link spawn} with the exception that the function will not return + * until the child process has fully closed. When a timeout has been encountered + * and `killSignal` is sent, the method won't return until the process has + * completely exited. If the process intercepts and handles the `SIGTERM` signal + * and doesn't exit, the parent process will wait until the child process has + * exited. + * + * **If the `shell` option is enabled, do not pass unsanitized user input to this** + * **function. Any input containing shell metacharacters may be used to trigger** + * **arbitrary command execution.** + * @since v0.11.12 + * @param command The command to run. + * @param args List of string arguments. + */ + function spawnSync(command: string): SpawnSyncReturns; + function spawnSync(command: string, options: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; + function spawnSync(command: string, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; + function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns; + function spawnSync(command: string, args: readonly string[]): SpawnSyncReturns; + function spawnSync( + command: string, + args: readonly string[], + options: SpawnSyncOptionsWithStringEncoding, + ): SpawnSyncReturns; + function spawnSync( + command: string, + args: readonly string[], + options: SpawnSyncOptionsWithBufferEncoding, + ): SpawnSyncReturns; + function spawnSync( + command: string, + args?: readonly string[], + options?: SpawnSyncOptions, + ): SpawnSyncReturns; + interface CommonExecOptions extends CommonOptions { + input?: string | NodeJS.ArrayBufferView | undefined; + /** + * Can be set to 'pipe', 'inherit, or 'ignore', or an array of these strings. + * If passed as an array, the first element is used for `stdin`, the second for + * `stdout`, and the third for `stderr`. A fourth element can be used to + * specify the `stdio` behavior beyond the standard streams. See + * {@link ChildProcess.stdio} for more information. + * + * @default 'pipe' + */ + stdio?: StdioOptions | undefined; + killSignal?: NodeJS.Signals | number | undefined; + maxBuffer?: number | undefined; + encoding?: BufferEncoding | "buffer" | null | undefined; + } + interface ExecSyncOptions extends CommonExecOptions { + shell?: string | undefined; + } + interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions { + encoding: BufferEncoding; + } + interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions { + encoding?: "buffer" | null | undefined; + } + /** + * The `child_process.execSync()` method is generally identical to {@link exec} with the exception that the method will not return + * until the child process has fully closed. When a timeout has been encountered + * and `killSignal` is sent, the method won't return until the process has + * completely exited. If the child process intercepts and handles the `SIGTERM`signal and doesn't exit, the parent process will wait until the child process + * has exited. + * + * If the process times out or has a non-zero exit code, this method will throw. + * The `Error` object will contain the entire result from {@link spawnSync}. + * + * **Never pass unsanitized user input to this function. Any input containing shell** + * **metacharacters may be used to trigger arbitrary command execution.** + * @since v0.11.12 + * @param command The command to run. + * @return The stdout from the command. + */ + function execSync(command: string): Buffer; + function execSync(command: string, options: ExecSyncOptionsWithStringEncoding): string; + function execSync(command: string, options: ExecSyncOptionsWithBufferEncoding): Buffer; + function execSync(command: string, options?: ExecSyncOptions): string | Buffer; + interface ExecFileSyncOptions extends CommonExecOptions { + shell?: boolean | string | undefined; + } + interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions { + encoding: BufferEncoding; + } + interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions { + encoding?: "buffer" | null; // specify `null`. + } + /** + * The `child_process.execFileSync()` method is generally identical to {@link execFile} with the exception that the method will not + * return until the child process has fully closed. When a timeout has been + * encountered and `killSignal` is sent, the method won't return until the process + * has completely exited. + * + * If the child process intercepts and handles the `SIGTERM` signal and + * does not exit, the parent process will still wait until the child process has + * exited. + * + * If the process times out or has a non-zero exit code, this method will throw an `Error` that will include the full result of the underlying {@link spawnSync}. + * + * **If the `shell` option is enabled, do not pass unsanitized user input to this** + * **function. Any input containing shell metacharacters may be used to trigger** + * **arbitrary command execution.** + * @since v0.11.12 + * @param file The name or path of the executable file to run. + * @param args List of string arguments. + * @return The stdout from the command. + */ + function execFileSync(file: string): Buffer; + function execFileSync(file: string, options: ExecFileSyncOptionsWithStringEncoding): string; + function execFileSync(file: string, options: ExecFileSyncOptionsWithBufferEncoding): Buffer; + function execFileSync(file: string, options?: ExecFileSyncOptions): string | Buffer; + function execFileSync(file: string, args: readonly string[]): Buffer; + function execFileSync( + file: string, + args: readonly string[], + options: ExecFileSyncOptionsWithStringEncoding, + ): string; + function execFileSync( + file: string, + args: readonly string[], + options: ExecFileSyncOptionsWithBufferEncoding, + ): Buffer; + function execFileSync(file: string, args?: readonly string[], options?: ExecFileSyncOptions): string | Buffer; +} +declare module "node:child_process" { + export * from "child_process"; +} diff --git a/node_modules/@types/node/ts4.8/cluster.d.ts b/node_modules/@types/node/ts4.8/cluster.d.ts new file mode 100644 index 000000000..39cd56ad3 --- /dev/null +++ b/node_modules/@types/node/ts4.8/cluster.d.ts @@ -0,0 +1,432 @@ +/** + * Clusters of Node.js processes can be used to run multiple instances of Node.js + * that can distribute workloads among their application threads. When process + * isolation is not needed, use the `worker_threads` module instead, which + * allows running multiple application threads within a single Node.js instance. + * + * The cluster module allows easy creation of child processes that all share + * server ports. + * + * ```js + * import cluster from 'node:cluster'; + * import http from 'node:http'; + * import { availableParallelism } from 'node:os'; + * import process from 'node:process'; + * + * const numCPUs = availableParallelism(); + * + * if (cluster.isPrimary) { + * console.log(`Primary ${process.pid} is running`); + * + * // Fork workers. + * for (let i = 0; i < numCPUs; i++) { + * cluster.fork(); + * } + * + * cluster.on('exit', (worker, code, signal) => { + * console.log(`worker ${worker.process.pid} died`); + * }); + * } else { + * // Workers can share any TCP connection + * // In this case it is an HTTP server + * http.createServer((req, res) => { + * res.writeHead(200); + * res.end('hello world\n'); + * }).listen(8000); + * + * console.log(`Worker ${process.pid} started`); + * } + * ``` + * + * Running Node.js will now share port 8000 between the workers: + * + * ```console + * $ node server.js + * Primary 3596 is running + * Worker 4324 started + * Worker 4520 started + * Worker 6056 started + * Worker 5644 started + * ``` + * + * On Windows, it is not yet possible to set up a named pipe server in a worker. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/cluster.js) + */ +declare module "cluster" { + import * as child from "node:child_process"; + import EventEmitter = require("node:events"); + import * as net from "node:net"; + type SerializationType = "json" | "advanced"; + export interface ClusterSettings { + execArgv?: string[] | undefined; // default: process.execArgv + exec?: string | undefined; + args?: string[] | undefined; + silent?: boolean | undefined; + stdio?: any[] | undefined; + uid?: number | undefined; + gid?: number | undefined; + inspectPort?: number | (() => number) | undefined; + serialization?: SerializationType | undefined; + cwd?: string | undefined; + windowsHide?: boolean | undefined; + } + export interface Address { + address: string; + port: number; + addressType: number | "udp4" | "udp6"; // 4, 6, -1, "udp4", "udp6" + } + /** + * A `Worker` object contains all public information and method about a worker. + * In the primary it can be obtained using `cluster.workers`. In a worker + * it can be obtained using `cluster.worker`. + * @since v0.7.0 + */ + export class Worker extends EventEmitter { + /** + * Each new worker is given its own unique id, this id is stored in the`id`. + * + * While a worker is alive, this is the key that indexes it in`cluster.workers`. + * @since v0.8.0 + */ + id: number; + /** + * All workers are created using `child_process.fork()`, the returned object + * from this function is stored as `.process`. In a worker, the global `process`is stored. + * + * See: `Child Process module`. + * + * Workers will call `process.exit(0)` if the `'disconnect'` event occurs + * on `process` and `.exitedAfterDisconnect` is not `true`. This protects against + * accidental disconnection. + * @since v0.7.0 + */ + process: child.ChildProcess; + /** + * Send a message to a worker or primary, optionally with a handle. + * + * In the primary, this sends a message to a specific worker. It is identical to `ChildProcess.send()`. + * + * In a worker, this sends a message to the primary. It is identical to`process.send()`. + * + * This example will echo back all messages from the primary: + * + * ```js + * if (cluster.isPrimary) { + * const worker = cluster.fork(); + * worker.send('hi there'); + * + * } else if (cluster.isWorker) { + * process.on('message', (msg) => { + * process.send(msg); + * }); + * } + * ``` + * @since v0.7.0 + * @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties: + */ + send(message: child.Serializable, callback?: (error: Error | null) => void): boolean; + send( + message: child.Serializable, + sendHandle: child.SendHandle, + callback?: (error: Error | null) => void, + ): boolean; + send( + message: child.Serializable, + sendHandle: child.SendHandle, + options?: child.MessageOptions, + callback?: (error: Error | null) => void, + ): boolean; + /** + * This function will kill the worker. In the primary worker, it does this by + * disconnecting the `worker.process`, and once disconnected, killing with`signal`. In the worker, it does it by killing the process with `signal`. + * + * The `kill()` function kills the worker process without waiting for a graceful + * disconnect, it has the same behavior as `worker.process.kill()`. + * + * This method is aliased as `worker.destroy()` for backwards compatibility. + * + * In a worker, `process.kill()` exists, but it is not this function; + * it is `kill()`. + * @since v0.9.12 + * @param [signal='SIGTERM'] Name of the kill signal to send to the worker process. + */ + kill(signal?: string): void; + destroy(signal?: string): void; + /** + * In a worker, this function will close all servers, wait for the `'close'` event + * on those servers, and then disconnect the IPC channel. + * + * In the primary, an internal message is sent to the worker causing it to call`.disconnect()` on itself. + * + * Causes `.exitedAfterDisconnect` to be set. + * + * After a server is closed, it will no longer accept new connections, + * but connections may be accepted by any other listening worker. Existing + * connections will be allowed to close as usual. When no more connections exist, + * see `server.close()`, the IPC channel to the worker will close allowing it + * to die gracefully. + * + * The above applies _only_ to server connections, client connections are not + * automatically closed by workers, and disconnect does not wait for them to close + * before exiting. + * + * In a worker, `process.disconnect` exists, but it is not this function; + * it is `disconnect()`. + * + * Because long living server connections may block workers from disconnecting, it + * may be useful to send a message, so application specific actions may be taken to + * close them. It also may be useful to implement a timeout, killing a worker if + * the `'disconnect'` event has not been emitted after some time. + * + * ```js + * if (cluster.isPrimary) { + * const worker = cluster.fork(); + * let timeout; + * + * worker.on('listening', (address) => { + * worker.send('shutdown'); + * worker.disconnect(); + * timeout = setTimeout(() => { + * worker.kill(); + * }, 2000); + * }); + * + * worker.on('disconnect', () => { + * clearTimeout(timeout); + * }); + * + * } else if (cluster.isWorker) { + * const net = require('node:net'); + * const server = net.createServer((socket) => { + * // Connections never end + * }); + * + * server.listen(8000); + * + * process.on('message', (msg) => { + * if (msg === 'shutdown') { + * // Initiate graceful close of any connections to server + * } + * }); + * } + * ``` + * @since v0.7.7 + * @return A reference to `worker`. + */ + disconnect(): void; + /** + * This function returns `true` if the worker is connected to its primary via its + * IPC channel, `false` otherwise. A worker is connected to its primary after it + * has been created. It is disconnected after the `'disconnect'` event is emitted. + * @since v0.11.14 + */ + isConnected(): boolean; + /** + * This function returns `true` if the worker's process has terminated (either + * because of exiting or being signaled). Otherwise, it returns `false`. + * + * ```js + * import cluster from 'node:cluster'; + * import http from 'node:http'; + * import { availableParallelism } from 'node:os'; + * import process from 'node:process'; + * + * const numCPUs = availableParallelism(); + * + * if (cluster.isPrimary) { + * console.log(`Primary ${process.pid} is running`); + * + * // Fork workers. + * for (let i = 0; i < numCPUs; i++) { + * cluster.fork(); + * } + * + * cluster.on('fork', (worker) => { + * console.log('worker is dead:', worker.isDead()); + * }); + * + * cluster.on('exit', (worker, code, signal) => { + * console.log('worker is dead:', worker.isDead()); + * }); + * } else { + * // Workers can share any TCP connection. In this case, it is an HTTP server. + * http.createServer((req, res) => { + * res.writeHead(200); + * res.end(`Current process\n ${process.pid}`); + * process.kill(process.pid); + * }).listen(8000); + * } + * ``` + * @since v0.11.14 + */ + isDead(): boolean; + /** + * This property is `true` if the worker exited due to `.disconnect()`. + * If the worker exited any other way, it is `false`. If the + * worker has not exited, it is `undefined`. + * + * The boolean `worker.exitedAfterDisconnect` allows distinguishing between + * voluntary and accidental exit, the primary may choose not to respawn a worker + * based on this value. + * + * ```js + * cluster.on('exit', (worker, code, signal) => { + * if (worker.exitedAfterDisconnect === true) { + * console.log('Oh, it was just voluntary – no need to worry'); + * } + * }); + * + * // kill worker + * worker.kill(); + * ``` + * @since v6.0.0 + */ + exitedAfterDisconnect: boolean; + /** + * events.EventEmitter + * 1. disconnect + * 2. error + * 3. exit + * 4. listening + * 5. message + * 6. online + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "disconnect", listener: () => void): this; + addListener(event: "error", listener: (error: Error) => void): this; + addListener(event: "exit", listener: (code: number, signal: string) => void): this; + addListener(event: "listening", listener: (address: Address) => void): this; + addListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + addListener(event: "online", listener: () => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "disconnect"): boolean; + emit(event: "error", error: Error): boolean; + emit(event: "exit", code: number, signal: string): boolean; + emit(event: "listening", address: Address): boolean; + emit(event: "message", message: any, handle: net.Socket | net.Server): boolean; + emit(event: "online"): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "disconnect", listener: () => void): this; + on(event: "error", listener: (error: Error) => void): this; + on(event: "exit", listener: (code: number, signal: string) => void): this; + on(event: "listening", listener: (address: Address) => void): this; + on(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + on(event: "online", listener: () => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "disconnect", listener: () => void): this; + once(event: "error", listener: (error: Error) => void): this; + once(event: "exit", listener: (code: number, signal: string) => void): this; + once(event: "listening", listener: (address: Address) => void): this; + once(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + once(event: "online", listener: () => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "disconnect", listener: () => void): this; + prependListener(event: "error", listener: (error: Error) => void): this; + prependListener(event: "exit", listener: (code: number, signal: string) => void): this; + prependListener(event: "listening", listener: (address: Address) => void): this; + prependListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + prependListener(event: "online", listener: () => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "disconnect", listener: () => void): this; + prependOnceListener(event: "error", listener: (error: Error) => void): this; + prependOnceListener(event: "exit", listener: (code: number, signal: string) => void): this; + prependOnceListener(event: "listening", listener: (address: Address) => void): this; + prependOnceListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + prependOnceListener(event: "online", listener: () => void): this; + } + export interface Cluster extends EventEmitter { + disconnect(callback?: () => void): void; + fork(env?: any): Worker; + /** @deprecated since v16.0.0 - use isPrimary. */ + readonly isMaster: boolean; + readonly isPrimary: boolean; + readonly isWorker: boolean; + schedulingPolicy: number; + readonly settings: ClusterSettings; + /** @deprecated since v16.0.0 - use setupPrimary. */ + setupMaster(settings?: ClusterSettings): void; + /** + * `setupPrimary` is used to change the default 'fork' behavior. Once called, the settings will be present in cluster.settings. + */ + setupPrimary(settings?: ClusterSettings): void; + readonly worker?: Worker | undefined; + readonly workers?: NodeJS.Dict | undefined; + readonly SCHED_NONE: number; + readonly SCHED_RR: number; + /** + * events.EventEmitter + * 1. disconnect + * 2. exit + * 3. fork + * 4. listening + * 5. message + * 6. online + * 7. setup + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "disconnect", listener: (worker: Worker) => void): this; + addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; + addListener(event: "fork", listener: (worker: Worker) => void): this; + addListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; + addListener( + event: "message", + listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void, + ): this; // the handle is a net.Socket or net.Server object, or undefined. + addListener(event: "online", listener: (worker: Worker) => void): this; + addListener(event: "setup", listener: (settings: ClusterSettings) => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "disconnect", worker: Worker): boolean; + emit(event: "exit", worker: Worker, code: number, signal: string): boolean; + emit(event: "fork", worker: Worker): boolean; + emit(event: "listening", worker: Worker, address: Address): boolean; + emit(event: "message", worker: Worker, message: any, handle: net.Socket | net.Server): boolean; + emit(event: "online", worker: Worker): boolean; + emit(event: "setup", settings: ClusterSettings): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "disconnect", listener: (worker: Worker) => void): this; + on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; + on(event: "fork", listener: (worker: Worker) => void): this; + on(event: "listening", listener: (worker: Worker, address: Address) => void): this; + on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + on(event: "online", listener: (worker: Worker) => void): this; + on(event: "setup", listener: (settings: ClusterSettings) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "disconnect", listener: (worker: Worker) => void): this; + once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; + once(event: "fork", listener: (worker: Worker) => void): this; + once(event: "listening", listener: (worker: Worker, address: Address) => void): this; + once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + once(event: "online", listener: (worker: Worker) => void): this; + once(event: "setup", listener: (settings: ClusterSettings) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "disconnect", listener: (worker: Worker) => void): this; + prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; + prependListener(event: "fork", listener: (worker: Worker) => void): this; + prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; + // the handle is a net.Socket or net.Server object, or undefined. + prependListener( + event: "message", + listener: (worker: Worker, message: any, handle?: net.Socket | net.Server) => void, + ): this; + prependListener(event: "online", listener: (worker: Worker) => void): this; + prependListener(event: "setup", listener: (settings: ClusterSettings) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): this; + prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; + prependOnceListener(event: "fork", listener: (worker: Worker) => void): this; + prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; + // the handle is a net.Socket or net.Server object, or undefined. + prependOnceListener( + event: "message", + listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void, + ): this; + prependOnceListener(event: "online", listener: (worker: Worker) => void): this; + prependOnceListener(event: "setup", listener: (settings: ClusterSettings) => void): this; + } + const cluster: Cluster; + export default cluster; +} +declare module "node:cluster" { + export * from "cluster"; + export { default as default } from "cluster"; +} diff --git a/node_modules/@types/node/ts4.8/console.d.ts b/node_modules/@types/node/ts4.8/console.d.ts new file mode 100644 index 000000000..bcc345042 --- /dev/null +++ b/node_modules/@types/node/ts4.8/console.d.ts @@ -0,0 +1,415 @@ +/** + * The `node:console` module provides a simple debugging console that is similar to + * the JavaScript console mechanism provided by web browsers. + * + * The module exports two specific components: + * + * * A `Console` class with methods such as `console.log()`, `console.error()`, and`console.warn()` that can be used to write to any Node.js stream. + * * A global `console` instance configured to write to `process.stdout` and `process.stderr`. The global `console` can be used without calling`require('node:console')`. + * + * _**Warning**_: The global console object's methods are neither consistently + * synchronous like the browser APIs they resemble, nor are they consistently + * asynchronous like all other Node.js streams. See the `note on process I/O` for + * more information. + * + * Example using the global `console`: + * + * ```js + * console.log('hello world'); + * // Prints: hello world, to stdout + * console.log('hello %s', 'world'); + * // Prints: hello world, to stdout + * console.error(new Error('Whoops, something bad happened')); + * // Prints error message and stack trace to stderr: + * // Error: Whoops, something bad happened + * // at [eval]:5:15 + * // at Script.runInThisContext (node:vm:132:18) + * // at Object.runInThisContext (node:vm:309:38) + * // at node:internal/process/execution:77:19 + * // at [eval]-wrapper:6:22 + * // at evalScript (node:internal/process/execution:76:60) + * // at node:internal/main/eval_string:23:3 + * + * const name = 'Will Robinson'; + * console.warn(`Danger ${name}! Danger!`); + * // Prints: Danger Will Robinson! Danger!, to stderr + * ``` + * + * Example using the `Console` class: + * + * ```js + * const out = getStreamSomehow(); + * const err = getStreamSomehow(); + * const myConsole = new console.Console(out, err); + * + * myConsole.log('hello world'); + * // Prints: hello world, to out + * myConsole.log('hello %s', 'world'); + * // Prints: hello world, to out + * myConsole.error(new Error('Whoops, something bad happened')); + * // Prints: [Error: Whoops, something bad happened], to err + * + * const name = 'Will Robinson'; + * myConsole.warn(`Danger ${name}! Danger!`); + * // Prints: Danger Will Robinson! Danger!, to err + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/console.js) + */ +declare module "console" { + import console = require("node:console"); + export = console; +} +declare module "node:console" { + import { InspectOptions } from "node:util"; + global { + // This needs to be global to avoid TS2403 in case lib.dom.d.ts is present in the same build + interface Console { + Console: console.ConsoleConstructor; + /** + * `console.assert()` writes a message if `value` is [falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy) or omitted. It only + * writes a message and does not otherwise affect execution. The output always + * starts with `"Assertion failed"`. If provided, `message` is formatted using `util.format()`. + * + * If `value` is [truthy](https://developer.mozilla.org/en-US/docs/Glossary/Truthy), nothing happens. + * + * ```js + * console.assert(true, 'does nothing'); + * + * console.assert(false, 'Whoops %s work', 'didn\'t'); + * // Assertion failed: Whoops didn't work + * + * console.assert(); + * // Assertion failed + * ``` + * @since v0.1.101 + * @param value The value tested for being truthy. + * @param message All arguments besides `value` are used as error message. + */ + assert(value: any, message?: string, ...optionalParams: any[]): void; + /** + * When `stdout` is a TTY, calling `console.clear()` will attempt to clear the + * TTY. When `stdout` is not a TTY, this method does nothing. + * + * The specific operation of `console.clear()` can vary across operating systems + * and terminal types. For most Linux operating systems, `console.clear()`operates similarly to the `clear` shell command. On Windows, `console.clear()`will clear only the output in the + * current terminal viewport for the Node.js + * binary. + * @since v8.3.0 + */ + clear(): void; + /** + * Maintains an internal counter specific to `label` and outputs to `stdout` the + * number of times `console.count()` has been called with the given `label`. + * + * ```js + * > console.count() + * default: 1 + * undefined + * > console.count('default') + * default: 2 + * undefined + * > console.count('abc') + * abc: 1 + * undefined + * > console.count('xyz') + * xyz: 1 + * undefined + * > console.count('abc') + * abc: 2 + * undefined + * > console.count() + * default: 3 + * undefined + * > + * ``` + * @since v8.3.0 + * @param [label='default'] The display label for the counter. + */ + count(label?: string): void; + /** + * Resets the internal counter specific to `label`. + * + * ```js + * > console.count('abc'); + * abc: 1 + * undefined + * > console.countReset('abc'); + * undefined + * > console.count('abc'); + * abc: 1 + * undefined + * > + * ``` + * @since v8.3.0 + * @param [label='default'] The display label for the counter. + */ + countReset(label?: string): void; + /** + * The `console.debug()` function is an alias for {@link log}. + * @since v8.0.0 + */ + debug(message?: any, ...optionalParams: any[]): void; + /** + * Uses `util.inspect()` on `obj` and prints the resulting string to `stdout`. + * This function bypasses any custom `inspect()` function defined on `obj`. + * @since v0.1.101 + */ + dir(obj: any, options?: InspectOptions): void; + /** + * This method calls `console.log()` passing it the arguments received. + * This method does not produce any XML formatting. + * @since v8.0.0 + */ + dirxml(...data: any[]): void; + /** + * Prints to `stderr` with newline. Multiple arguments can be passed, with the + * first used as the primary message and all additional used as substitution + * values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html) (the arguments are all passed to `util.format()`). + * + * ```js + * const code = 5; + * console.error('error #%d', code); + * // Prints: error #5, to stderr + * console.error('error', code); + * // Prints: error 5, to stderr + * ``` + * + * If formatting elements (e.g. `%d`) are not found in the first string then `util.inspect()` is called on each argument and the resulting string + * values are concatenated. See `util.format()` for more information. + * @since v0.1.100 + */ + error(message?: any, ...optionalParams: any[]): void; + /** + * Increases indentation of subsequent lines by spaces for `groupIndentation`length. + * + * If one or more `label`s are provided, those are printed first without the + * additional indentation. + * @since v8.5.0 + */ + group(...label: any[]): void; + /** + * An alias for {@link group}. + * @since v8.5.0 + */ + groupCollapsed(...label: any[]): void; + /** + * Decreases indentation of subsequent lines by spaces for `groupIndentation`length. + * @since v8.5.0 + */ + groupEnd(): void; + /** + * The `console.info()` function is an alias for {@link log}. + * @since v0.1.100 + */ + info(message?: any, ...optionalParams: any[]): void; + /** + * Prints to `stdout` with newline. Multiple arguments can be passed, with the + * first used as the primary message and all additional used as substitution + * values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html) (the arguments are all passed to `util.format()`). + * + * ```js + * const count = 5; + * console.log('count: %d', count); + * // Prints: count: 5, to stdout + * console.log('count:', count); + * // Prints: count: 5, to stdout + * ``` + * + * See `util.format()` for more information. + * @since v0.1.100 + */ + log(message?: any, ...optionalParams: any[]): void; + /** + * Try to construct a table with the columns of the properties of `tabularData`(or use `properties`) and rows of `tabularData` and log it. Falls back to just + * logging the argument if it can't be parsed as tabular. + * + * ```js + * // These can't be parsed as tabular data + * console.table(Symbol()); + * // Symbol() + * + * console.table(undefined); + * // undefined + * + * console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }]); + * // ┌─────────┬─────┬─────┐ + * // │ (index) │ a │ b │ + * // ├─────────┼─────┼─────┤ + * // │ 0 │ 1 │ 'Y' │ + * // │ 1 │ 'Z' │ 2 │ + * // └─────────┴─────┴─────┘ + * + * console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }], ['a']); + * // ┌─────────┬─────┐ + * // │ (index) │ a │ + * // ├─────────┼─────┤ + * // │ 0 │ 1 │ + * // │ 1 │ 'Z' │ + * // └─────────┴─────┘ + * ``` + * @since v10.0.0 + * @param properties Alternate properties for constructing the table. + */ + table(tabularData: any, properties?: readonly string[]): void; + /** + * Starts a timer that can be used to compute the duration of an operation. Timers + * are identified by a unique `label`. Use the same `label` when calling {@link timeEnd} to stop the timer and output the elapsed time in + * suitable time units to `stdout`. For example, if the elapsed + * time is 3869ms, `console.timeEnd()` displays "3.869s". + * @since v0.1.104 + * @param [label='default'] + */ + time(label?: string): void; + /** + * Stops a timer that was previously started by calling {@link time} and + * prints the result to `stdout`: + * + * ```js + * console.time('bunch-of-stuff'); + * // Do a bunch of stuff. + * console.timeEnd('bunch-of-stuff'); + * // Prints: bunch-of-stuff: 225.438ms + * ``` + * @since v0.1.104 + * @param [label='default'] + */ + timeEnd(label?: string): void; + /** + * For a timer that was previously started by calling {@link time}, prints + * the elapsed time and other `data` arguments to `stdout`: + * + * ```js + * console.time('process'); + * const value = expensiveProcess1(); // Returns 42 + * console.timeLog('process', value); + * // Prints "process: 365.227ms 42". + * doExpensiveProcess2(value); + * console.timeEnd('process'); + * ``` + * @since v10.7.0 + * @param [label='default'] + */ + timeLog(label?: string, ...data: any[]): void; + /** + * Prints to `stderr` the string `'Trace: '`, followed by the `util.format()` formatted message and stack trace to the current position in the code. + * + * ```js + * console.trace('Show me'); + * // Prints: (stack trace will vary based on where trace is called) + * // Trace: Show me + * // at repl:2:9 + * // at REPLServer.defaultEval (repl.js:248:27) + * // at bound (domain.js:287:14) + * // at REPLServer.runBound [as eval] (domain.js:300:12) + * // at REPLServer. (repl.js:412:12) + * // at emitOne (events.js:82:20) + * // at REPLServer.emit (events.js:169:7) + * // at REPLServer.Interface._onLine (readline.js:210:10) + * // at REPLServer.Interface._line (readline.js:549:8) + * // at REPLServer.Interface._ttyWrite (readline.js:826:14) + * ``` + * @since v0.1.104 + */ + trace(message?: any, ...optionalParams: any[]): void; + /** + * The `console.warn()` function is an alias for {@link error}. + * @since v0.1.100 + */ + warn(message?: any, ...optionalParams: any[]): void; + // --- Inspector mode only --- + /** + * This method does not display anything unless used in the inspector. + * Starts a JavaScript CPU profile with an optional label. + */ + profile(label?: string): void; + /** + * This method does not display anything unless used in the inspector. + * Stops the current JavaScript CPU profiling session if one has been started and prints the report to the Profiles panel of the inspector. + */ + profileEnd(label?: string): void; + /** + * This method does not display anything unless used in the inspector. + * Adds an event with the label `label` to the Timeline panel of the inspector. + */ + timeStamp(label?: string): void; + } + /** + * The `console` module provides a simple debugging console that is similar to the + * JavaScript console mechanism provided by web browsers. + * + * The module exports two specific components: + * + * * A `Console` class with methods such as `console.log()`, `console.error()` and`console.warn()` that can be used to write to any Node.js stream. + * * A global `console` instance configured to write to `process.stdout` and `process.stderr`. The global `console` can be used without calling`require('console')`. + * + * _**Warning**_: The global console object's methods are neither consistently + * synchronous like the browser APIs they resemble, nor are they consistently + * asynchronous like all other Node.js streams. See the `note on process I/O` for + * more information. + * + * Example using the global `console`: + * + * ```js + * console.log('hello world'); + * // Prints: hello world, to stdout + * console.log('hello %s', 'world'); + * // Prints: hello world, to stdout + * console.error(new Error('Whoops, something bad happened')); + * // Prints error message and stack trace to stderr: + * // Error: Whoops, something bad happened + * // at [eval]:5:15 + * // at Script.runInThisContext (node:vm:132:18) + * // at Object.runInThisContext (node:vm:309:38) + * // at node:internal/process/execution:77:19 + * // at [eval]-wrapper:6:22 + * // at evalScript (node:internal/process/execution:76:60) + * // at node:internal/main/eval_string:23:3 + * + * const name = 'Will Robinson'; + * console.warn(`Danger ${name}! Danger!`); + * // Prints: Danger Will Robinson! Danger!, to stderr + * ``` + * + * Example using the `Console` class: + * + * ```js + * const out = getStreamSomehow(); + * const err = getStreamSomehow(); + * const myConsole = new console.Console(out, err); + * + * myConsole.log('hello world'); + * // Prints: hello world, to out + * myConsole.log('hello %s', 'world'); + * // Prints: hello world, to out + * myConsole.error(new Error('Whoops, something bad happened')); + * // Prints: [Error: Whoops, something bad happened], to err + * + * const name = 'Will Robinson'; + * myConsole.warn(`Danger ${name}! Danger!`); + * // Prints: Danger Will Robinson! Danger!, to err + * ``` + * @see [source](https://github.com/nodejs/node/blob/v16.4.2/lib/console.js) + */ + namespace console { + interface ConsoleConstructorOptions { + stdout: NodeJS.WritableStream; + stderr?: NodeJS.WritableStream | undefined; + ignoreErrors?: boolean | undefined; + colorMode?: boolean | "auto" | undefined; + inspectOptions?: InspectOptions | undefined; + /** + * Set group indentation + * @default 2 + */ + groupIndentation?: number | undefined; + } + interface ConsoleConstructor { + prototype: Console; + new(stdout: NodeJS.WritableStream, stderr?: NodeJS.WritableStream, ignoreErrors?: boolean): Console; + new(options: ConsoleConstructorOptions): Console; + } + } + var console: Console; + } + export = globalThis.console; +} diff --git a/node_modules/@types/node/ts4.8/constants.d.ts b/node_modules/@types/node/ts4.8/constants.d.ts new file mode 100644 index 000000000..c3ac2b826 --- /dev/null +++ b/node_modules/@types/node/ts4.8/constants.d.ts @@ -0,0 +1,19 @@ +/** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */ +declare module "constants" { + import { constants as osConstants, SignalConstants } from "node:os"; + import { constants as cryptoConstants } from "node:crypto"; + import { constants as fsConstants } from "node:fs"; + + const exp: + & typeof osConstants.errno + & typeof osConstants.priority + & SignalConstants + & typeof cryptoConstants + & typeof fsConstants; + export = exp; +} + +declare module "node:constants" { + import constants = require("constants"); + export = constants; +} diff --git a/node_modules/@types/node/ts4.8/crypto.d.ts b/node_modules/@types/node/ts4.8/crypto.d.ts new file mode 100644 index 000000000..ead4a5724 --- /dev/null +++ b/node_modules/@types/node/ts4.8/crypto.d.ts @@ -0,0 +1,4461 @@ +/** + * The `node:crypto` module provides cryptographic functionality that includes a + * set of wrappers for OpenSSL's hash, HMAC, cipher, decipher, sign, and verify + * functions. + * + * ```js + * const { createHmac } = await import('node:crypto'); + * + * const secret = 'abcdefg'; + * const hash = createHmac('sha256', secret) + * .update('I love cupcakes') + * .digest('hex'); + * console.log(hash); + * // Prints: + * // c0fa1bc00531bd78ef38c628449c5102aeabd49b5dc3a2a516ea6ea959d6658e + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/crypto.js) + */ +declare module "crypto" { + import * as stream from "node:stream"; + import { PeerCertificate } from "node:tls"; + /** + * SPKAC is a Certificate Signing Request mechanism originally implemented by + * Netscape and was specified formally as part of HTML5's `keygen` element. + * + * `` is deprecated since [HTML 5.2](https://www.w3.org/TR/html52/changes.html#features-removed) and new projects + * should not use this element anymore. + * + * The `node:crypto` module provides the `Certificate` class for working with SPKAC + * data. The most common usage is handling output generated by the HTML5`` element. Node.js uses [OpenSSL's SPKAC + * implementation](https://www.openssl.org/docs/man3.0/man1/openssl-spkac.html) internally. + * @since v0.11.8 + */ + class Certificate { + /** + * ```js + * const { Certificate } = await import('node:crypto'); + * const spkac = getSpkacSomehow(); + * const challenge = Certificate.exportChallenge(spkac); + * console.log(challenge.toString('utf8')); + * // Prints: the challenge as a UTF8 string + * ``` + * @since v9.0.0 + * @param encoding The `encoding` of the `spkac` string. + * @return The challenge component of the `spkac` data structure, which includes a public key and a challenge. + */ + static exportChallenge(spkac: BinaryLike): Buffer; + /** + * ```js + * const { Certificate } = await import('node:crypto'); + * const spkac = getSpkacSomehow(); + * const publicKey = Certificate.exportPublicKey(spkac); + * console.log(publicKey); + * // Prints: the public key as + * ``` + * @since v9.0.0 + * @param encoding The `encoding` of the `spkac` string. + * @return The public key component of the `spkac` data structure, which includes a public key and a challenge. + */ + static exportPublicKey(spkac: BinaryLike, encoding?: string): Buffer; + /** + * ```js + * import { Buffer } from 'node:buffer'; + * const { Certificate } = await import('node:crypto'); + * + * const spkac = getSpkacSomehow(); + * console.log(Certificate.verifySpkac(Buffer.from(spkac))); + * // Prints: true or false + * ``` + * @since v9.0.0 + * @param encoding The `encoding` of the `spkac` string. + * @return `true` if the given `spkac` data structure is valid, `false` otherwise. + */ + static verifySpkac(spkac: NodeJS.ArrayBufferView): boolean; + /** + * @deprecated + * @param spkac + * @returns The challenge component of the `spkac` data structure, + * which includes a public key and a challenge. + */ + exportChallenge(spkac: BinaryLike): Buffer; + /** + * @deprecated + * @param spkac + * @param encoding The encoding of the spkac string. + * @returns The public key component of the `spkac` data structure, + * which includes a public key and a challenge. + */ + exportPublicKey(spkac: BinaryLike, encoding?: string): Buffer; + /** + * @deprecated + * @param spkac + * @returns `true` if the given `spkac` data structure is valid, + * `false` otherwise. + */ + verifySpkac(spkac: NodeJS.ArrayBufferView): boolean; + } + namespace constants { + // https://nodejs.org/dist/latest-v20.x/docs/api/crypto.html#crypto-constants + const OPENSSL_VERSION_NUMBER: number; + /** Applies multiple bug workarounds within OpenSSL. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html for detail. */ + const SSL_OP_ALL: number; + /** Allows legacy insecure renegotiation between OpenSSL and unpatched clients or servers. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html. */ + const SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number; + /** Attempts to use the server's preferences instead of the client's when selecting a cipher. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html. */ + const SSL_OP_CIPHER_SERVER_PREFERENCE: number; + /** Instructs OpenSSL to use Cisco's "speshul" version of DTLS_BAD_VER. */ + const SSL_OP_CISCO_ANYCONNECT: number; + /** Instructs OpenSSL to turn on cookie exchange. */ + const SSL_OP_COOKIE_EXCHANGE: number; + /** Instructs OpenSSL to add server-hello extension from an early version of the cryptopro draft. */ + const SSL_OP_CRYPTOPRO_TLSEXT_BUG: number; + /** Instructs OpenSSL to disable a SSL 3.0/TLS 1.0 vulnerability workaround added in OpenSSL 0.9.6d. */ + const SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: number; + /** Allows initial connection to servers that do not support RI. */ + const SSL_OP_LEGACY_SERVER_CONNECT: number; + /** Instructs OpenSSL to disable support for SSL/TLS compression. */ + const SSL_OP_NO_COMPRESSION: number; + const SSL_OP_NO_QUERY_MTU: number; + /** Instructs OpenSSL to always start a new session when performing renegotiation. */ + const SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: number; + const SSL_OP_NO_SSLv2: number; + const SSL_OP_NO_SSLv3: number; + const SSL_OP_NO_TICKET: number; + const SSL_OP_NO_TLSv1: number; + const SSL_OP_NO_TLSv1_1: number; + const SSL_OP_NO_TLSv1_2: number; + /** Instructs OpenSSL to disable version rollback attack detection. */ + const SSL_OP_TLS_ROLLBACK_BUG: number; + const ENGINE_METHOD_RSA: number; + const ENGINE_METHOD_DSA: number; + const ENGINE_METHOD_DH: number; + const ENGINE_METHOD_RAND: number; + const ENGINE_METHOD_EC: number; + const ENGINE_METHOD_CIPHERS: number; + const ENGINE_METHOD_DIGESTS: number; + const ENGINE_METHOD_PKEY_METHS: number; + const ENGINE_METHOD_PKEY_ASN1_METHS: number; + const ENGINE_METHOD_ALL: number; + const ENGINE_METHOD_NONE: number; + const DH_CHECK_P_NOT_SAFE_PRIME: number; + const DH_CHECK_P_NOT_PRIME: number; + const DH_UNABLE_TO_CHECK_GENERATOR: number; + const DH_NOT_SUITABLE_GENERATOR: number; + const RSA_PKCS1_PADDING: number; + const RSA_SSLV23_PADDING: number; + const RSA_NO_PADDING: number; + const RSA_PKCS1_OAEP_PADDING: number; + const RSA_X931_PADDING: number; + const RSA_PKCS1_PSS_PADDING: number; + /** Sets the salt length for RSA_PKCS1_PSS_PADDING to the digest size when signing or verifying. */ + const RSA_PSS_SALTLEN_DIGEST: number; + /** Sets the salt length for RSA_PKCS1_PSS_PADDING to the maximum permissible value when signing data. */ + const RSA_PSS_SALTLEN_MAX_SIGN: number; + /** Causes the salt length for RSA_PKCS1_PSS_PADDING to be determined automatically when verifying a signature. */ + const RSA_PSS_SALTLEN_AUTO: number; + const POINT_CONVERSION_COMPRESSED: number; + const POINT_CONVERSION_UNCOMPRESSED: number; + const POINT_CONVERSION_HYBRID: number; + /** Specifies the built-in default cipher list used by Node.js (colon-separated values). */ + const defaultCoreCipherList: string; + /** Specifies the active default cipher list used by the current Node.js process (colon-separated values). */ + const defaultCipherList: string; + } + interface HashOptions extends stream.TransformOptions { + /** + * For XOF hash functions such as `shake256`, the + * outputLength option can be used to specify the desired output length in bytes. + */ + outputLength?: number | undefined; + } + /** @deprecated since v10.0.0 */ + const fips: boolean; + /** + * Creates and returns a `Hash` object that can be used to generate hash digests + * using the given `algorithm`. Optional `options` argument controls stream + * behavior. For XOF hash functions such as `'shake256'`, the `outputLength` option + * can be used to specify the desired output length in bytes. + * + * The `algorithm` is dependent on the available algorithms supported by the + * version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. + * On recent releases of OpenSSL, `openssl list -digest-algorithms` will + * display the available digest algorithms. + * + * Example: generating the sha256 sum of a file + * + * ```js + * import { + * createReadStream, + * } from 'node:fs'; + * import { argv } from 'node:process'; + * const { + * createHash, + * } = await import('node:crypto'); + * + * const filename = argv[2]; + * + * const hash = createHash('sha256'); + * + * const input = createReadStream(filename); + * input.on('readable', () => { + * // Only one element is going to be produced by the + * // hash stream. + * const data = input.read(); + * if (data) + * hash.update(data); + * else { + * console.log(`${hash.digest('hex')} ${filename}`); + * } + * }); + * ``` + * @since v0.1.92 + * @param options `stream.transform` options + */ + function createHash(algorithm: string, options?: HashOptions): Hash; + /** + * Creates and returns an `Hmac` object that uses the given `algorithm` and `key`. + * Optional `options` argument controls stream behavior. + * + * The `algorithm` is dependent on the available algorithms supported by the + * version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. + * On recent releases of OpenSSL, `openssl list -digest-algorithms` will + * display the available digest algorithms. + * + * The `key` is the HMAC key used to generate the cryptographic HMAC hash. If it is + * a `KeyObject`, its type must be `secret`. If it is a string, please consider `caveats when using strings as inputs to cryptographic APIs`. If it was + * obtained from a cryptographically secure source of entropy, such as {@link randomBytes} or {@link generateKey}, its length should not + * exceed the block size of `algorithm` (e.g., 512 bits for SHA-256). + * + * Example: generating the sha256 HMAC of a file + * + * ```js + * import { + * createReadStream, + * } from 'node:fs'; + * import { argv } from 'node:process'; + * const { + * createHmac, + * } = await import('node:crypto'); + * + * const filename = argv[2]; + * + * const hmac = createHmac('sha256', 'a secret'); + * + * const input = createReadStream(filename); + * input.on('readable', () => { + * // Only one element is going to be produced by the + * // hash stream. + * const data = input.read(); + * if (data) + * hmac.update(data); + * else { + * console.log(`${hmac.digest('hex')} ${filename}`); + * } + * }); + * ``` + * @since v0.1.94 + * @param options `stream.transform` options + */ + function createHmac(algorithm: string, key: BinaryLike | KeyObject, options?: stream.TransformOptions): Hmac; + // https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings + type BinaryToTextEncoding = "base64" | "base64url" | "hex" | "binary"; + type CharacterEncoding = "utf8" | "utf-8" | "utf16le" | "utf-16le" | "latin1"; + type LegacyCharacterEncoding = "ascii" | "binary" | "ucs2" | "ucs-2"; + type Encoding = BinaryToTextEncoding | CharacterEncoding | LegacyCharacterEncoding; + type ECDHKeyFormat = "compressed" | "uncompressed" | "hybrid"; + /** + * The `Hash` class is a utility for creating hash digests of data. It can be + * used in one of two ways: + * + * * As a `stream` that is both readable and writable, where data is written + * to produce a computed hash digest on the readable side, or + * * Using the `hash.update()` and `hash.digest()` methods to produce the + * computed hash. + * + * The {@link createHash} method is used to create `Hash` instances. `Hash`objects are not to be created directly using the `new` keyword. + * + * Example: Using `Hash` objects as streams: + * + * ```js + * const { + * createHash, + * } = await import('node:crypto'); + * + * const hash = createHash('sha256'); + * + * hash.on('readable', () => { + * // Only one element is going to be produced by the + * // hash stream. + * const data = hash.read(); + * if (data) { + * console.log(data.toString('hex')); + * // Prints: + * // 6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50 + * } + * }); + * + * hash.write('some data to hash'); + * hash.end(); + * ``` + * + * Example: Using `Hash` and piped streams: + * + * ```js + * import { createReadStream } from 'node:fs'; + * import { stdout } from 'node:process'; + * const { createHash } = await import('node:crypto'); + * + * const hash = createHash('sha256'); + * + * const input = createReadStream('test.js'); + * input.pipe(hash).setEncoding('hex').pipe(stdout); + * ``` + * + * Example: Using the `hash.update()` and `hash.digest()` methods: + * + * ```js + * const { + * createHash, + * } = await import('node:crypto'); + * + * const hash = createHash('sha256'); + * + * hash.update('some data to hash'); + * console.log(hash.digest('hex')); + * // Prints: + * // 6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50 + * ``` + * @since v0.1.92 + */ + class Hash extends stream.Transform { + private constructor(); + /** + * Creates a new `Hash` object that contains a deep copy of the internal state + * of the current `Hash` object. + * + * The optional `options` argument controls stream behavior. For XOF hash + * functions such as `'shake256'`, the `outputLength` option can be used to + * specify the desired output length in bytes. + * + * An error is thrown when an attempt is made to copy the `Hash` object after + * its `hash.digest()` method has been called. + * + * ```js + * // Calculate a rolling hash. + * const { + * createHash, + * } = await import('node:crypto'); + * + * const hash = createHash('sha256'); + * + * hash.update('one'); + * console.log(hash.copy().digest('hex')); + * + * hash.update('two'); + * console.log(hash.copy().digest('hex')); + * + * hash.update('three'); + * console.log(hash.copy().digest('hex')); + * + * // Etc. + * ``` + * @since v13.1.0 + * @param options `stream.transform` options + */ + copy(options?: stream.TransformOptions): Hash; + /** + * Updates the hash content with the given `data`, the encoding of which + * is given in `inputEncoding`. + * If `encoding` is not provided, and the `data` is a string, an + * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. + * + * This can be called many times with new data as it is streamed. + * @since v0.1.92 + * @param inputEncoding The `encoding` of the `data` string. + */ + update(data: BinaryLike): Hash; + update(data: string, inputEncoding: Encoding): Hash; + /** + * Calculates the digest of all of the data passed to be hashed (using the `hash.update()` method). + * If `encoding` is provided a string will be returned; otherwise + * a `Buffer` is returned. + * + * The `Hash` object can not be used again after `hash.digest()` method has been + * called. Multiple calls will cause an error to be thrown. + * @since v0.1.92 + * @param encoding The `encoding` of the return value. + */ + digest(): Buffer; + digest(encoding: BinaryToTextEncoding): string; + } + /** + * The `Hmac` class is a utility for creating cryptographic HMAC digests. It can + * be used in one of two ways: + * + * * As a `stream` that is both readable and writable, where data is written + * to produce a computed HMAC digest on the readable side, or + * * Using the `hmac.update()` and `hmac.digest()` methods to produce the + * computed HMAC digest. + * + * The {@link createHmac} method is used to create `Hmac` instances. `Hmac`objects are not to be created directly using the `new` keyword. + * + * Example: Using `Hmac` objects as streams: + * + * ```js + * const { + * createHmac, + * } = await import('node:crypto'); + * + * const hmac = createHmac('sha256', 'a secret'); + * + * hmac.on('readable', () => { + * // Only one element is going to be produced by the + * // hash stream. + * const data = hmac.read(); + * if (data) { + * console.log(data.toString('hex')); + * // Prints: + * // 7fd04df92f636fd450bc841c9418e5825c17f33ad9c87c518115a45971f7f77e + * } + * }); + * + * hmac.write('some data to hash'); + * hmac.end(); + * ``` + * + * Example: Using `Hmac` and piped streams: + * + * ```js + * import { createReadStream } from 'node:fs'; + * import { stdout } from 'node:process'; + * const { + * createHmac, + * } = await import('node:crypto'); + * + * const hmac = createHmac('sha256', 'a secret'); + * + * const input = createReadStream('test.js'); + * input.pipe(hmac).pipe(stdout); + * ``` + * + * Example: Using the `hmac.update()` and `hmac.digest()` methods: + * + * ```js + * const { + * createHmac, + * } = await import('node:crypto'); + * + * const hmac = createHmac('sha256', 'a secret'); + * + * hmac.update('some data to hash'); + * console.log(hmac.digest('hex')); + * // Prints: + * // 7fd04df92f636fd450bc841c9418e5825c17f33ad9c87c518115a45971f7f77e + * ``` + * @since v0.1.94 + */ + class Hmac extends stream.Transform { + private constructor(); + /** + * Updates the `Hmac` content with the given `data`, the encoding of which + * is given in `inputEncoding`. + * If `encoding` is not provided, and the `data` is a string, an + * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. + * + * This can be called many times with new data as it is streamed. + * @since v0.1.94 + * @param inputEncoding The `encoding` of the `data` string. + */ + update(data: BinaryLike): Hmac; + update(data: string, inputEncoding: Encoding): Hmac; + /** + * Calculates the HMAC digest of all of the data passed using `hmac.update()`. + * If `encoding` is + * provided a string is returned; otherwise a `Buffer` is returned; + * + * The `Hmac` object can not be used again after `hmac.digest()` has been + * called. Multiple calls to `hmac.digest()` will result in an error being thrown. + * @since v0.1.94 + * @param encoding The `encoding` of the return value. + */ + digest(): Buffer; + digest(encoding: BinaryToTextEncoding): string; + } + type KeyObjectType = "secret" | "public" | "private"; + interface KeyExportOptions { + type: "pkcs1" | "spki" | "pkcs8" | "sec1"; + format: T; + cipher?: string | undefined; + passphrase?: string | Buffer | undefined; + } + interface JwkKeyExportOptions { + format: "jwk"; + } + interface JsonWebKey { + crv?: string | undefined; + d?: string | undefined; + dp?: string | undefined; + dq?: string | undefined; + e?: string | undefined; + k?: string | undefined; + kty?: string | undefined; + n?: string | undefined; + p?: string | undefined; + q?: string | undefined; + qi?: string | undefined; + x?: string | undefined; + y?: string | undefined; + [key: string]: unknown; + } + interface AsymmetricKeyDetails { + /** + * Key size in bits (RSA, DSA). + */ + modulusLength?: number | undefined; + /** + * Public exponent (RSA). + */ + publicExponent?: bigint | undefined; + /** + * Name of the message digest (RSA-PSS). + */ + hashAlgorithm?: string | undefined; + /** + * Name of the message digest used by MGF1 (RSA-PSS). + */ + mgf1HashAlgorithm?: string | undefined; + /** + * Minimal salt length in bytes (RSA-PSS). + */ + saltLength?: number | undefined; + /** + * Size of q in bits (DSA). + */ + divisorLength?: number | undefined; + /** + * Name of the curve (EC). + */ + namedCurve?: string | undefined; + } + /** + * Node.js uses a `KeyObject` class to represent a symmetric or asymmetric key, + * and each kind of key exposes different functions. The {@link createSecretKey}, {@link createPublicKey} and {@link createPrivateKey} methods are used to create `KeyObject`instances. `KeyObject` + * objects are not to be created directly using the `new`keyword. + * + * Most applications should consider using the new `KeyObject` API instead of + * passing keys as strings or `Buffer`s due to improved security features. + * + * `KeyObject` instances can be passed to other threads via `postMessage()`. + * The receiver obtains a cloned `KeyObject`, and the `KeyObject` does not need to + * be listed in the `transferList` argument. + * @since v11.6.0 + */ + class KeyObject { + private constructor(); + /** + * Example: Converting a `CryptoKey` instance to a `KeyObject`: + * + * ```js + * const { KeyObject } = await import('node:crypto'); + * const { subtle } = globalThis.crypto; + * + * const key = await subtle.generateKey({ + * name: 'HMAC', + * hash: 'SHA-256', + * length: 256, + * }, true, ['sign', 'verify']); + * + * const keyObject = KeyObject.from(key); + * console.log(keyObject.symmetricKeySize); + * // Prints: 32 (symmetric key size in bytes) + * ``` + * @since v15.0.0 + */ + static from(key: webcrypto.CryptoKey): KeyObject; + /** + * For asymmetric keys, this property represents the type of the key. Supported key + * types are: + * + * * `'rsa'` (OID 1.2.840.113549.1.1.1) + * * `'rsa-pss'` (OID 1.2.840.113549.1.1.10) + * * `'dsa'` (OID 1.2.840.10040.4.1) + * * `'ec'` (OID 1.2.840.10045.2.1) + * * `'x25519'` (OID 1.3.101.110) + * * `'x448'` (OID 1.3.101.111) + * * `'ed25519'` (OID 1.3.101.112) + * * `'ed448'` (OID 1.3.101.113) + * * `'dh'` (OID 1.2.840.113549.1.3.1) + * + * This property is `undefined` for unrecognized `KeyObject` types and symmetric + * keys. + * @since v11.6.0 + */ + asymmetricKeyType?: KeyType | undefined; + /** + * For asymmetric keys, this property represents the size of the embedded key in + * bytes. This property is `undefined` for symmetric keys. + */ + asymmetricKeySize?: number | undefined; + /** + * This property exists only on asymmetric keys. Depending on the type of the key, + * this object contains information about the key. None of the information obtained + * through this property can be used to uniquely identify a key or to compromise + * the security of the key. + * + * For RSA-PSS keys, if the key material contains a `RSASSA-PSS-params` sequence, + * the `hashAlgorithm`, `mgf1HashAlgorithm`, and `saltLength` properties will be + * set. + * + * Other key details might be exposed via this API using additional attributes. + * @since v15.7.0 + */ + asymmetricKeyDetails?: AsymmetricKeyDetails | undefined; + /** + * For symmetric keys, the following encoding options can be used: + * + * For public keys, the following encoding options can be used: + * + * For private keys, the following encoding options can be used: + * + * The result type depends on the selected encoding format, when PEM the + * result is a string, when DER it will be a buffer containing the data + * encoded as DER, when [JWK](https://tools.ietf.org/html/rfc7517) it will be an object. + * + * When [JWK](https://tools.ietf.org/html/rfc7517) encoding format was selected, all other encoding options are + * ignored. + * + * PKCS#1, SEC1, and PKCS#8 type keys can be encrypted by using a combination of + * the `cipher` and `format` options. The PKCS#8 `type` can be used with any`format` to encrypt any key algorithm (RSA, EC, or DH) by specifying a`cipher`. PKCS#1 and SEC1 can only be + * encrypted by specifying a `cipher`when the PEM `format` is used. For maximum compatibility, use PKCS#8 for + * encrypted private keys. Since PKCS#8 defines its own + * encryption mechanism, PEM-level encryption is not supported when encrypting + * a PKCS#8 key. See [RFC 5208](https://www.rfc-editor.org/rfc/rfc5208.txt) for PKCS#8 encryption and [RFC 1421](https://www.rfc-editor.org/rfc/rfc1421.txt) for + * PKCS#1 and SEC1 encryption. + * @since v11.6.0 + */ + export(options: KeyExportOptions<"pem">): string | Buffer; + export(options?: KeyExportOptions<"der">): Buffer; + export(options?: JwkKeyExportOptions): JsonWebKey; + /** + * Returns `true` or `false` depending on whether the keys have exactly the same type, value, and parameters. + * This method is not [constant time](https://en.wikipedia.org/wiki/Timing_attack). + * @since v16.15.0 + */ + equals(otherKeyObject: KeyObject): boolean; + /** + * For secret keys, this property represents the size of the key in bytes. This + * property is `undefined` for asymmetric keys. + * @since v11.6.0 + */ + symmetricKeySize?: number | undefined; + /** + * Depending on the type of this `KeyObject`, this property is either`'secret'` for secret (symmetric) keys, `'public'` for public (asymmetric) keys + * or `'private'` for private (asymmetric) keys. + * @since v11.6.0 + */ + type: KeyObjectType; + } + type CipherCCMTypes = "aes-128-ccm" | "aes-192-ccm" | "aes-256-ccm" | "chacha20-poly1305"; + type CipherGCMTypes = "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm"; + type CipherOCBTypes = "aes-128-ocb" | "aes-192-ocb" | "aes-256-ocb"; + type BinaryLike = string | NodeJS.ArrayBufferView; + type CipherKey = BinaryLike | KeyObject; + interface CipherCCMOptions extends stream.TransformOptions { + authTagLength: number; + } + interface CipherGCMOptions extends stream.TransformOptions { + authTagLength?: number | undefined; + } + interface CipherOCBOptions extends stream.TransformOptions { + authTagLength: number; + } + /** + * Creates and returns a `Cipher` object that uses the given `algorithm` and`password`. + * + * The `options` argument controls stream behavior and is optional except when a + * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the + * authentication tag in bytes, see `CCM mode`. In GCM mode, the `authTagLength`option is not required but can be used to set the length of the authentication + * tag that will be returned by `getAuthTag()` and defaults to 16 bytes. + * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. + * + * The `algorithm` is dependent on OpenSSL, examples are `'aes192'`, etc. On + * recent OpenSSL releases, `openssl list -cipher-algorithms` will + * display the available cipher algorithms. + * + * The `password` is used to derive the cipher key and initialization vector (IV). + * The value must be either a `'latin1'` encoded string, a `Buffer`, a`TypedArray`, or a `DataView`. + * + * **This function is semantically insecure for all** + * **supported ciphers and fatally flawed for ciphers in counter mode (such as CTR,** + * **GCM, or CCM).** + * + * The implementation of `crypto.createCipher()` derives keys using the OpenSSL + * function [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) with the digest algorithm set to MD5, one + * iteration, and no salt. The lack of salt allows dictionary attacks as the same + * password always creates the same key. The low iteration count and + * non-cryptographically secure hash algorithm allow passwords to be tested very + * rapidly. + * + * In line with OpenSSL's recommendation to use a more modern algorithm instead of [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) it is recommended that + * developers derive a key and IV on + * their own using {@link scrypt} and to use {@link createCipheriv} to create the `Cipher` object. Users should not use ciphers with counter mode + * (e.g. CTR, GCM, or CCM) in `crypto.createCipher()`. A warning is emitted when + * they are used in order to avoid the risk of IV reuse that causes + * vulnerabilities. For the case when IV is reused in GCM, see [Nonce-Disrespecting Adversaries](https://github.com/nonce-disrespect/nonce-disrespect) for details. + * @since v0.1.94 + * @deprecated Since v10.0.0 - Use {@link createCipheriv} instead. + * @param options `stream.transform` options + */ + function createCipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): CipherCCM; + /** @deprecated since v10.0.0 use `createCipheriv()` */ + function createCipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): CipherGCM; + /** @deprecated since v10.0.0 use `createCipheriv()` */ + function createCipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Cipher; + /** + * Creates and returns a `Cipher` object, with the given `algorithm`, `key` and + * initialization vector (`iv`). + * + * The `options` argument controls stream behavior and is optional except when a + * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the + * authentication tag in bytes, see `CCM mode`. In GCM mode, the `authTagLength`option is not required but can be used to set the length of the authentication + * tag that will be returned by `getAuthTag()` and defaults to 16 bytes. + * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. + * + * The `algorithm` is dependent on OpenSSL, examples are `'aes192'`, etc. On + * recent OpenSSL releases, `openssl list -cipher-algorithms` will + * display the available cipher algorithms. + * + * The `key` is the raw key used by the `algorithm` and `iv` is an [initialization vector](https://en.wikipedia.org/wiki/Initialization_vector). Both arguments must be `'utf8'` encoded + * strings,`Buffers`, `TypedArray`, or `DataView`s. The `key` may optionally be + * a `KeyObject` of type `secret`. If the cipher does not need + * an initialization vector, `iv` may be `null`. + * + * When passing strings for `key` or `iv`, please consider `caveats when using strings as inputs to cryptographic APIs`. + * + * Initialization vectors should be unpredictable and unique; ideally, they will be + * cryptographically random. They do not have to be secret: IVs are typically just + * added to ciphertext messages unencrypted. It may sound contradictory that + * something has to be unpredictable and unique, but does not have to be secret; + * remember that an attacker must not be able to predict ahead of time what a + * given IV will be. + * @since v0.1.94 + * @param options `stream.transform` options + */ + function createCipheriv( + algorithm: CipherCCMTypes, + key: CipherKey, + iv: BinaryLike, + options: CipherCCMOptions, + ): CipherCCM; + function createCipheriv( + algorithm: CipherOCBTypes, + key: CipherKey, + iv: BinaryLike, + options: CipherOCBOptions, + ): CipherOCB; + function createCipheriv( + algorithm: CipherGCMTypes, + key: CipherKey, + iv: BinaryLike, + options?: CipherGCMOptions, + ): CipherGCM; + function createCipheriv( + algorithm: string, + key: CipherKey, + iv: BinaryLike | null, + options?: stream.TransformOptions, + ): Cipher; + /** + * Instances of the `Cipher` class are used to encrypt data. The class can be + * used in one of two ways: + * + * * As a `stream` that is both readable and writable, where plain unencrypted + * data is written to produce encrypted data on the readable side, or + * * Using the `cipher.update()` and `cipher.final()` methods to produce + * the encrypted data. + * + * The {@link createCipher} or {@link createCipheriv} methods are + * used to create `Cipher` instances. `Cipher` objects are not to be created + * directly using the `new` keyword. + * + * Example: Using `Cipher` objects as streams: + * + * ```js + * const { + * scrypt, + * randomFill, + * createCipheriv, + * } = await import('node:crypto'); + * + * const algorithm = 'aes-192-cbc'; + * const password = 'Password used to generate key'; + * + * // First, we'll generate the key. The key length is dependent on the algorithm. + * // In this case for aes192, it is 24 bytes (192 bits). + * scrypt(password, 'salt', 24, (err, key) => { + * if (err) throw err; + * // Then, we'll generate a random initialization vector + * randomFill(new Uint8Array(16), (err, iv) => { + * if (err) throw err; + * + * // Once we have the key and iv, we can create and use the cipher... + * const cipher = createCipheriv(algorithm, key, iv); + * + * let encrypted = ''; + * cipher.setEncoding('hex'); + * + * cipher.on('data', (chunk) => encrypted += chunk); + * cipher.on('end', () => console.log(encrypted)); + * + * cipher.write('some clear text data'); + * cipher.end(); + * }); + * }); + * ``` + * + * Example: Using `Cipher` and piped streams: + * + * ```js + * import { + * createReadStream, + * createWriteStream, + * } from 'node:fs'; + * + * import { + * pipeline, + * } from 'node:stream'; + * + * const { + * scrypt, + * randomFill, + * createCipheriv, + * } = await import('node:crypto'); + * + * const algorithm = 'aes-192-cbc'; + * const password = 'Password used to generate key'; + * + * // First, we'll generate the key. The key length is dependent on the algorithm. + * // In this case for aes192, it is 24 bytes (192 bits). + * scrypt(password, 'salt', 24, (err, key) => { + * if (err) throw err; + * // Then, we'll generate a random initialization vector + * randomFill(new Uint8Array(16), (err, iv) => { + * if (err) throw err; + * + * const cipher = createCipheriv(algorithm, key, iv); + * + * const input = createReadStream('test.js'); + * const output = createWriteStream('test.enc'); + * + * pipeline(input, cipher, output, (err) => { + * if (err) throw err; + * }); + * }); + * }); + * ``` + * + * Example: Using the `cipher.update()` and `cipher.final()` methods: + * + * ```js + * const { + * scrypt, + * randomFill, + * createCipheriv, + * } = await import('node:crypto'); + * + * const algorithm = 'aes-192-cbc'; + * const password = 'Password used to generate key'; + * + * // First, we'll generate the key. The key length is dependent on the algorithm. + * // In this case for aes192, it is 24 bytes (192 bits). + * scrypt(password, 'salt', 24, (err, key) => { + * if (err) throw err; + * // Then, we'll generate a random initialization vector + * randomFill(new Uint8Array(16), (err, iv) => { + * if (err) throw err; + * + * const cipher = createCipheriv(algorithm, key, iv); + * + * let encrypted = cipher.update('some clear text data', 'utf8', 'hex'); + * encrypted += cipher.final('hex'); + * console.log(encrypted); + * }); + * }); + * ``` + * @since v0.1.94 + */ + class Cipher extends stream.Transform { + private constructor(); + /** + * Updates the cipher with `data`. If the `inputEncoding` argument is given, + * the `data`argument is a string using the specified encoding. If the `inputEncoding`argument is not given, `data` must be a `Buffer`, `TypedArray`, or`DataView`. If `data` is a `Buffer`, + * `TypedArray`, or `DataView`, then`inputEncoding` is ignored. + * + * The `outputEncoding` specifies the output format of the enciphered + * data. If the `outputEncoding`is specified, a string using the specified encoding is returned. If no`outputEncoding` is provided, a `Buffer` is returned. + * + * The `cipher.update()` method can be called multiple times with new data until `cipher.final()` is called. Calling `cipher.update()` after `cipher.final()` will result in an error being + * thrown. + * @since v0.1.94 + * @param inputEncoding The `encoding` of the data. + * @param outputEncoding The `encoding` of the return value. + */ + update(data: BinaryLike): Buffer; + update(data: string, inputEncoding: Encoding): Buffer; + update(data: NodeJS.ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): string; + update(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): string; + /** + * Once the `cipher.final()` method has been called, the `Cipher` object can no + * longer be used to encrypt data. Attempts to call `cipher.final()` more than + * once will result in an error being thrown. + * @since v0.1.94 + * @param outputEncoding The `encoding` of the return value. + * @return Any remaining enciphered contents. If `outputEncoding` is specified, a string is returned. If an `outputEncoding` is not provided, a {@link Buffer} is returned. + */ + final(): Buffer; + final(outputEncoding: BufferEncoding): string; + /** + * When using block encryption algorithms, the `Cipher` class will automatically + * add padding to the input data to the appropriate block size. To disable the + * default padding call `cipher.setAutoPadding(false)`. + * + * When `autoPadding` is `false`, the length of the entire input data must be a + * multiple of the cipher's block size or `cipher.final()` will throw an error. + * Disabling automatic padding is useful for non-standard padding, for instance + * using `0x0` instead of PKCS padding. + * + * The `cipher.setAutoPadding()` method must be called before `cipher.final()`. + * @since v0.7.1 + * @param [autoPadding=true] + * @return for method chaining. + */ + setAutoPadding(autoPadding?: boolean): this; + } + interface CipherCCM extends Cipher { + setAAD( + buffer: NodeJS.ArrayBufferView, + options: { + plaintextLength: number; + }, + ): this; + getAuthTag(): Buffer; + } + interface CipherGCM extends Cipher { + setAAD( + buffer: NodeJS.ArrayBufferView, + options?: { + plaintextLength: number; + }, + ): this; + getAuthTag(): Buffer; + } + interface CipherOCB extends Cipher { + setAAD( + buffer: NodeJS.ArrayBufferView, + options?: { + plaintextLength: number; + }, + ): this; + getAuthTag(): Buffer; + } + /** + * Creates and returns a `Decipher` object that uses the given `algorithm` and`password` (key). + * + * The `options` argument controls stream behavior and is optional except when a + * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the + * authentication tag in bytes, see `CCM mode`. + * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. + * + * **This function is semantically insecure for all** + * **supported ciphers and fatally flawed for ciphers in counter mode (such as CTR,** + * **GCM, or CCM).** + * + * The implementation of `crypto.createDecipher()` derives keys using the OpenSSL + * function [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) with the digest algorithm set to MD5, one + * iteration, and no salt. The lack of salt allows dictionary attacks as the same + * password always creates the same key. The low iteration count and + * non-cryptographically secure hash algorithm allow passwords to be tested very + * rapidly. + * + * In line with OpenSSL's recommendation to use a more modern algorithm instead of [`EVP_BytesToKey`](https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html) it is recommended that + * developers derive a key and IV on + * their own using {@link scrypt} and to use {@link createDecipheriv} to create the `Decipher` object. + * @since v0.1.94 + * @deprecated Since v10.0.0 - Use {@link createDecipheriv} instead. + * @param options `stream.transform` options + */ + function createDecipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): DecipherCCM; + /** @deprecated since v10.0.0 use `createDecipheriv()` */ + function createDecipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): DecipherGCM; + /** @deprecated since v10.0.0 use `createDecipheriv()` */ + function createDecipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Decipher; + /** + * Creates and returns a `Decipher` object that uses the given `algorithm`, `key`and initialization vector (`iv`). + * + * The `options` argument controls stream behavior and is optional except when a + * cipher in CCM or OCB mode (e.g. `'aes-128-ccm'`) is used. In that case, the`authTagLength` option is required and specifies the length of the + * authentication tag in bytes, see `CCM mode`. In GCM mode, the `authTagLength`option is not required but can be used to restrict accepted authentication tags + * to those with the specified length. + * For `chacha20-poly1305`, the `authTagLength` option defaults to 16 bytes. + * + * The `algorithm` is dependent on OpenSSL, examples are `'aes192'`, etc. On + * recent OpenSSL releases, `openssl list -cipher-algorithms` will + * display the available cipher algorithms. + * + * The `key` is the raw key used by the `algorithm` and `iv` is an [initialization vector](https://en.wikipedia.org/wiki/Initialization_vector). Both arguments must be `'utf8'` encoded + * strings,`Buffers`, `TypedArray`, or `DataView`s. The `key` may optionally be + * a `KeyObject` of type `secret`. If the cipher does not need + * an initialization vector, `iv` may be `null`. + * + * When passing strings for `key` or `iv`, please consider `caveats when using strings as inputs to cryptographic APIs`. + * + * Initialization vectors should be unpredictable and unique; ideally, they will be + * cryptographically random. They do not have to be secret: IVs are typically just + * added to ciphertext messages unencrypted. It may sound contradictory that + * something has to be unpredictable and unique, but does not have to be secret; + * remember that an attacker must not be able to predict ahead of time what a given + * IV will be. + * @since v0.1.94 + * @param options `stream.transform` options + */ + function createDecipheriv( + algorithm: CipherCCMTypes, + key: CipherKey, + iv: BinaryLike, + options: CipherCCMOptions, + ): DecipherCCM; + function createDecipheriv( + algorithm: CipherOCBTypes, + key: CipherKey, + iv: BinaryLike, + options: CipherOCBOptions, + ): DecipherOCB; + function createDecipheriv( + algorithm: CipherGCMTypes, + key: CipherKey, + iv: BinaryLike, + options?: CipherGCMOptions, + ): DecipherGCM; + function createDecipheriv( + algorithm: string, + key: CipherKey, + iv: BinaryLike | null, + options?: stream.TransformOptions, + ): Decipher; + /** + * Instances of the `Decipher` class are used to decrypt data. The class can be + * used in one of two ways: + * + * * As a `stream` that is both readable and writable, where plain encrypted + * data is written to produce unencrypted data on the readable side, or + * * Using the `decipher.update()` and `decipher.final()` methods to + * produce the unencrypted data. + * + * The {@link createDecipher} or {@link createDecipheriv} methods are + * used to create `Decipher` instances. `Decipher` objects are not to be created + * directly using the `new` keyword. + * + * Example: Using `Decipher` objects as streams: + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { + * scryptSync, + * createDecipheriv, + * } = await import('node:crypto'); + * + * const algorithm = 'aes-192-cbc'; + * const password = 'Password used to generate key'; + * // Key length is dependent on the algorithm. In this case for aes192, it is + * // 24 bytes (192 bits). + * // Use the async `crypto.scrypt()` instead. + * const key = scryptSync(password, 'salt', 24); + * // The IV is usually passed along with the ciphertext. + * const iv = Buffer.alloc(16, 0); // Initialization vector. + * + * const decipher = createDecipheriv(algorithm, key, iv); + * + * let decrypted = ''; + * decipher.on('readable', () => { + * let chunk; + * while (null !== (chunk = decipher.read())) { + * decrypted += chunk.toString('utf8'); + * } + * }); + * decipher.on('end', () => { + * console.log(decrypted); + * // Prints: some clear text data + * }); + * + * // Encrypted with same algorithm, key and iv. + * const encrypted = + * 'e5f79c5915c02171eec6b212d5520d44480993d7d622a7c4c2da32f6efda0ffa'; + * decipher.write(encrypted, 'hex'); + * decipher.end(); + * ``` + * + * Example: Using `Decipher` and piped streams: + * + * ```js + * import { + * createReadStream, + * createWriteStream, + * } from 'node:fs'; + * import { Buffer } from 'node:buffer'; + * const { + * scryptSync, + * createDecipheriv, + * } = await import('node:crypto'); + * + * const algorithm = 'aes-192-cbc'; + * const password = 'Password used to generate key'; + * // Use the async `crypto.scrypt()` instead. + * const key = scryptSync(password, 'salt', 24); + * // The IV is usually passed along with the ciphertext. + * const iv = Buffer.alloc(16, 0); // Initialization vector. + * + * const decipher = createDecipheriv(algorithm, key, iv); + * + * const input = createReadStream('test.enc'); + * const output = createWriteStream('test.js'); + * + * input.pipe(decipher).pipe(output); + * ``` + * + * Example: Using the `decipher.update()` and `decipher.final()` methods: + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { + * scryptSync, + * createDecipheriv, + * } = await import('node:crypto'); + * + * const algorithm = 'aes-192-cbc'; + * const password = 'Password used to generate key'; + * // Use the async `crypto.scrypt()` instead. + * const key = scryptSync(password, 'salt', 24); + * // The IV is usually passed along with the ciphertext. + * const iv = Buffer.alloc(16, 0); // Initialization vector. + * + * const decipher = createDecipheriv(algorithm, key, iv); + * + * // Encrypted using same algorithm, key and iv. + * const encrypted = + * 'e5f79c5915c02171eec6b212d5520d44480993d7d622a7c4c2da32f6efda0ffa'; + * let decrypted = decipher.update(encrypted, 'hex', 'utf8'); + * decrypted += decipher.final('utf8'); + * console.log(decrypted); + * // Prints: some clear text data + * ``` + * @since v0.1.94 + */ + class Decipher extends stream.Transform { + private constructor(); + /** + * Updates the decipher with `data`. If the `inputEncoding` argument is given, + * the `data`argument is a string using the specified encoding. If the `inputEncoding`argument is not given, `data` must be a `Buffer`. If `data` is a `Buffer` then `inputEncoding` is + * ignored. + * + * The `outputEncoding` specifies the output format of the enciphered + * data. If the `outputEncoding`is specified, a string using the specified encoding is returned. If no`outputEncoding` is provided, a `Buffer` is returned. + * + * The `decipher.update()` method can be called multiple times with new data until `decipher.final()` is called. Calling `decipher.update()` after `decipher.final()` will result in an error + * being thrown. + * @since v0.1.94 + * @param inputEncoding The `encoding` of the `data` string. + * @param outputEncoding The `encoding` of the return value. + */ + update(data: NodeJS.ArrayBufferView): Buffer; + update(data: string, inputEncoding: Encoding): Buffer; + update(data: NodeJS.ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): string; + update(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): string; + /** + * Once the `decipher.final()` method has been called, the `Decipher` object can + * no longer be used to decrypt data. Attempts to call `decipher.final()` more + * than once will result in an error being thrown. + * @since v0.1.94 + * @param outputEncoding The `encoding` of the return value. + * @return Any remaining deciphered contents. If `outputEncoding` is specified, a string is returned. If an `outputEncoding` is not provided, a {@link Buffer} is returned. + */ + final(): Buffer; + final(outputEncoding: BufferEncoding): string; + /** + * When data has been encrypted without standard block padding, calling`decipher.setAutoPadding(false)` will disable automatic padding to prevent `decipher.final()` from checking for and + * removing padding. + * + * Turning auto padding off will only work if the input data's length is a + * multiple of the ciphers block size. + * + * The `decipher.setAutoPadding()` method must be called before `decipher.final()`. + * @since v0.7.1 + * @param [autoPadding=true] + * @return for method chaining. + */ + setAutoPadding(auto_padding?: boolean): this; + } + interface DecipherCCM extends Decipher { + setAuthTag(buffer: NodeJS.ArrayBufferView): this; + setAAD( + buffer: NodeJS.ArrayBufferView, + options: { + plaintextLength: number; + }, + ): this; + } + interface DecipherGCM extends Decipher { + setAuthTag(buffer: NodeJS.ArrayBufferView): this; + setAAD( + buffer: NodeJS.ArrayBufferView, + options?: { + plaintextLength: number; + }, + ): this; + } + interface DecipherOCB extends Decipher { + setAuthTag(buffer: NodeJS.ArrayBufferView): this; + setAAD( + buffer: NodeJS.ArrayBufferView, + options?: { + plaintextLength: number; + }, + ): this; + } + interface PrivateKeyInput { + key: string | Buffer; + format?: KeyFormat | undefined; + type?: "pkcs1" | "pkcs8" | "sec1" | undefined; + passphrase?: string | Buffer | undefined; + encoding?: string | undefined; + } + interface PublicKeyInput { + key: string | Buffer; + format?: KeyFormat | undefined; + type?: "pkcs1" | "spki" | undefined; + encoding?: string | undefined; + } + /** + * Asynchronously generates a new random secret key of the given `length`. The`type` will determine which validations will be performed on the `length`. + * + * ```js + * const { + * generateKey, + * } = await import('node:crypto'); + * + * generateKey('hmac', { length: 512 }, (err, key) => { + * if (err) throw err; + * console.log(key.export().toString('hex')); // 46e..........620 + * }); + * ``` + * + * The size of a generated HMAC key should not exceed the block size of the + * underlying hash function. See {@link createHmac} for more information. + * @since v15.0.0 + * @param type The intended use of the generated secret key. Currently accepted values are `'hmac'` and `'aes'`. + */ + function generateKey( + type: "hmac" | "aes", + options: { + length: number; + }, + callback: (err: Error | null, key: KeyObject) => void, + ): void; + /** + * Synchronously generates a new random secret key of the given `length`. The`type` will determine which validations will be performed on the `length`. + * + * ```js + * const { + * generateKeySync, + * } = await import('node:crypto'); + * + * const key = generateKeySync('hmac', { length: 512 }); + * console.log(key.export().toString('hex')); // e89..........41e + * ``` + * + * The size of a generated HMAC key should not exceed the block size of the + * underlying hash function. See {@link createHmac} for more information. + * @since v15.0.0 + * @param type The intended use of the generated secret key. Currently accepted values are `'hmac'` and `'aes'`. + */ + function generateKeySync( + type: "hmac" | "aes", + options: { + length: number; + }, + ): KeyObject; + interface JsonWebKeyInput { + key: JsonWebKey; + format: "jwk"; + } + /** + * Creates and returns a new key object containing a private key. If `key` is a + * string or `Buffer`, `format` is assumed to be `'pem'`; otherwise, `key`must be an object with the properties described above. + * + * If the private key is encrypted, a `passphrase` must be specified. The length + * of the passphrase is limited to 1024 bytes. + * @since v11.6.0 + */ + function createPrivateKey(key: PrivateKeyInput | string | Buffer | JsonWebKeyInput): KeyObject; + /** + * Creates and returns a new key object containing a public key. If `key` is a + * string or `Buffer`, `format` is assumed to be `'pem'`; if `key` is a `KeyObject`with type `'private'`, the public key is derived from the given private key; + * otherwise, `key` must be an object with the properties described above. + * + * If the format is `'pem'`, the `'key'` may also be an X.509 certificate. + * + * Because public keys can be derived from private keys, a private key may be + * passed instead of a public key. In that case, this function behaves as if {@link createPrivateKey} had been called, except that the type of the + * returned `KeyObject` will be `'public'` and that the private key cannot be + * extracted from the returned `KeyObject`. Similarly, if a `KeyObject` with type`'private'` is given, a new `KeyObject` with type `'public'` will be returned + * and it will be impossible to extract the private key from the returned object. + * @since v11.6.0 + */ + function createPublicKey(key: PublicKeyInput | string | Buffer | KeyObject | JsonWebKeyInput): KeyObject; + /** + * Creates and returns a new key object containing a secret key for symmetric + * encryption or `Hmac`. + * @since v11.6.0 + * @param encoding The string encoding when `key` is a string. + */ + function createSecretKey(key: NodeJS.ArrayBufferView): KeyObject; + function createSecretKey(key: string, encoding: BufferEncoding): KeyObject; + /** + * Creates and returns a `Sign` object that uses the given `algorithm`. Use {@link getHashes} to obtain the names of the available digest algorithms. + * Optional `options` argument controls the `stream.Writable` behavior. + * + * In some cases, a `Sign` instance can be created using the name of a signature + * algorithm, such as `'RSA-SHA256'`, instead of a digest algorithm. This will use + * the corresponding digest algorithm. This does not work for all signature + * algorithms, such as `'ecdsa-with-SHA256'`, so it is best to always use digest + * algorithm names. + * @since v0.1.92 + * @param options `stream.Writable` options + */ + function createSign(algorithm: string, options?: stream.WritableOptions): Sign; + type DSAEncoding = "der" | "ieee-p1363"; + interface SigningOptions { + /** + * @see crypto.constants.RSA_PKCS1_PADDING + */ + padding?: number | undefined; + saltLength?: number | undefined; + dsaEncoding?: DSAEncoding | undefined; + } + interface SignPrivateKeyInput extends PrivateKeyInput, SigningOptions {} + interface SignKeyObjectInput extends SigningOptions { + key: KeyObject; + } + interface VerifyPublicKeyInput extends PublicKeyInput, SigningOptions {} + interface VerifyKeyObjectInput extends SigningOptions { + key: KeyObject; + } + interface VerifyJsonWebKeyInput extends JsonWebKeyInput, SigningOptions {} + type KeyLike = string | Buffer | KeyObject; + /** + * The `Sign` class is a utility for generating signatures. It can be used in one + * of two ways: + * + * * As a writable `stream`, where data to be signed is written and the `sign.sign()` method is used to generate and return the signature, or + * * Using the `sign.update()` and `sign.sign()` methods to produce the + * signature. + * + * The {@link createSign} method is used to create `Sign` instances. The + * argument is the string name of the hash function to use. `Sign` objects are not + * to be created directly using the `new` keyword. + * + * Example: Using `Sign` and `Verify` objects as streams: + * + * ```js + * const { + * generateKeyPairSync, + * createSign, + * createVerify, + * } = await import('node:crypto'); + * + * const { privateKey, publicKey } = generateKeyPairSync('ec', { + * namedCurve: 'sect239k1', + * }); + * + * const sign = createSign('SHA256'); + * sign.write('some data to sign'); + * sign.end(); + * const signature = sign.sign(privateKey, 'hex'); + * + * const verify = createVerify('SHA256'); + * verify.write('some data to sign'); + * verify.end(); + * console.log(verify.verify(publicKey, signature, 'hex')); + * // Prints: true + * ``` + * + * Example: Using the `sign.update()` and `verify.update()` methods: + * + * ```js + * const { + * generateKeyPairSync, + * createSign, + * createVerify, + * } = await import('node:crypto'); + * + * const { privateKey, publicKey } = generateKeyPairSync('rsa', { + * modulusLength: 2048, + * }); + * + * const sign = createSign('SHA256'); + * sign.update('some data to sign'); + * sign.end(); + * const signature = sign.sign(privateKey); + * + * const verify = createVerify('SHA256'); + * verify.update('some data to sign'); + * verify.end(); + * console.log(verify.verify(publicKey, signature)); + * // Prints: true + * ``` + * @since v0.1.92 + */ + class Sign extends stream.Writable { + private constructor(); + /** + * Updates the `Sign` content with the given `data`, the encoding of which + * is given in `inputEncoding`. + * If `encoding` is not provided, and the `data` is a string, an + * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. + * + * This can be called many times with new data as it is streamed. + * @since v0.1.92 + * @param inputEncoding The `encoding` of the `data` string. + */ + update(data: BinaryLike): this; + update(data: string, inputEncoding: Encoding): this; + /** + * Calculates the signature on all the data passed through using either `sign.update()` or `sign.write()`. + * + * If `privateKey` is not a `KeyObject`, this function behaves as if`privateKey` had been passed to {@link createPrivateKey}. If it is an + * object, the following additional properties can be passed: + * + * If `outputEncoding` is provided a string is returned; otherwise a `Buffer` is returned. + * + * The `Sign` object can not be again used after `sign.sign()` method has been + * called. Multiple calls to `sign.sign()` will result in an error being thrown. + * @since v0.1.92 + */ + sign(privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput): Buffer; + sign( + privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, + outputFormat: BinaryToTextEncoding, + ): string; + } + /** + * Creates and returns a `Verify` object that uses the given algorithm. + * Use {@link getHashes} to obtain an array of names of the available + * signing algorithms. Optional `options` argument controls the`stream.Writable` behavior. + * + * In some cases, a `Verify` instance can be created using the name of a signature + * algorithm, such as `'RSA-SHA256'`, instead of a digest algorithm. This will use + * the corresponding digest algorithm. This does not work for all signature + * algorithms, such as `'ecdsa-with-SHA256'`, so it is best to always use digest + * algorithm names. + * @since v0.1.92 + * @param options `stream.Writable` options + */ + function createVerify(algorithm: string, options?: stream.WritableOptions): Verify; + /** + * The `Verify` class is a utility for verifying signatures. It can be used in one + * of two ways: + * + * * As a writable `stream` where written data is used to validate against the + * supplied signature, or + * * Using the `verify.update()` and `verify.verify()` methods to verify + * the signature. + * + * The {@link createVerify} method is used to create `Verify` instances.`Verify` objects are not to be created directly using the `new` keyword. + * + * See `Sign` for examples. + * @since v0.1.92 + */ + class Verify extends stream.Writable { + private constructor(); + /** + * Updates the `Verify` content with the given `data`, the encoding of which + * is given in `inputEncoding`. + * If `inputEncoding` is not provided, and the `data` is a string, an + * encoding of `'utf8'` is enforced. If `data` is a `Buffer`, `TypedArray`, or`DataView`, then `inputEncoding` is ignored. + * + * This can be called many times with new data as it is streamed. + * @since v0.1.92 + * @param inputEncoding The `encoding` of the `data` string. + */ + update(data: BinaryLike): Verify; + update(data: string, inputEncoding: Encoding): Verify; + /** + * Verifies the provided data using the given `object` and `signature`. + * + * If `object` is not a `KeyObject`, this function behaves as if`object` had been passed to {@link createPublicKey}. If it is an + * object, the following additional properties can be passed: + * + * The `signature` argument is the previously calculated signature for the data, in + * the `signatureEncoding`. + * If a `signatureEncoding` is specified, the `signature` is expected to be a + * string; otherwise `signature` is expected to be a `Buffer`,`TypedArray`, or `DataView`. + * + * The `verify` object can not be used again after `verify.verify()` has been + * called. Multiple calls to `verify.verify()` will result in an error being + * thrown. + * + * Because public keys can be derived from private keys, a private key may + * be passed instead of a public key. + * @since v0.1.92 + */ + verify( + object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, + signature: NodeJS.ArrayBufferView, + ): boolean; + verify( + object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, + signature: string, + signature_format?: BinaryToTextEncoding, + ): boolean; + } + /** + * Creates a `DiffieHellman` key exchange object using the supplied `prime` and an + * optional specific `generator`. + * + * The `generator` argument can be a number, string, or `Buffer`. If`generator` is not specified, the value `2` is used. + * + * If `primeEncoding` is specified, `prime` is expected to be a string; otherwise + * a `Buffer`, `TypedArray`, or `DataView` is expected. + * + * If `generatorEncoding` is specified, `generator` is expected to be a string; + * otherwise a number, `Buffer`, `TypedArray`, or `DataView` is expected. + * @since v0.11.12 + * @param primeEncoding The `encoding` of the `prime` string. + * @param [generator=2] + * @param generatorEncoding The `encoding` of the `generator` string. + */ + function createDiffieHellman(primeLength: number, generator?: number): DiffieHellman; + function createDiffieHellman( + prime: ArrayBuffer | NodeJS.ArrayBufferView, + generator?: number | ArrayBuffer | NodeJS.ArrayBufferView, + ): DiffieHellman; + function createDiffieHellman( + prime: ArrayBuffer | NodeJS.ArrayBufferView, + generator: string, + generatorEncoding: BinaryToTextEncoding, + ): DiffieHellman; + function createDiffieHellman( + prime: string, + primeEncoding: BinaryToTextEncoding, + generator?: number | ArrayBuffer | NodeJS.ArrayBufferView, + ): DiffieHellman; + function createDiffieHellman( + prime: string, + primeEncoding: BinaryToTextEncoding, + generator: string, + generatorEncoding: BinaryToTextEncoding, + ): DiffieHellman; + /** + * The `DiffieHellman` class is a utility for creating Diffie-Hellman key + * exchanges. + * + * Instances of the `DiffieHellman` class can be created using the {@link createDiffieHellman} function. + * + * ```js + * import assert from 'node:assert'; + * + * const { + * createDiffieHellman, + * } = await import('node:crypto'); + * + * // Generate Alice's keys... + * const alice = createDiffieHellman(2048); + * const aliceKey = alice.generateKeys(); + * + * // Generate Bob's keys... + * const bob = createDiffieHellman(alice.getPrime(), alice.getGenerator()); + * const bobKey = bob.generateKeys(); + * + * // Exchange and generate the secret... + * const aliceSecret = alice.computeSecret(bobKey); + * const bobSecret = bob.computeSecret(aliceKey); + * + * // OK + * assert.strictEqual(aliceSecret.toString('hex'), bobSecret.toString('hex')); + * ``` + * @since v0.5.0 + */ + class DiffieHellman { + private constructor(); + /** + * Generates private and public Diffie-Hellman key values unless they have been + * generated or computed already, and returns + * the public key in the specified `encoding`. This key should be + * transferred to the other party. + * If `encoding` is provided a string is returned; otherwise a `Buffer` is returned. + * + * This function is a thin wrapper around [`DH_generate_key()`](https://www.openssl.org/docs/man3.0/man3/DH_generate_key.html). In particular, + * once a private key has been generated or set, calling this function only updates + * the public key but does not generate a new private key. + * @since v0.5.0 + * @param encoding The `encoding` of the return value. + */ + generateKeys(): Buffer; + generateKeys(encoding: BinaryToTextEncoding): string; + /** + * Computes the shared secret using `otherPublicKey` as the other + * party's public key and returns the computed shared secret. The supplied + * key is interpreted using the specified `inputEncoding`, and secret is + * encoded using specified `outputEncoding`. + * If the `inputEncoding` is not + * provided, `otherPublicKey` is expected to be a `Buffer`,`TypedArray`, or `DataView`. + * + * If `outputEncoding` is given a string is returned; otherwise, a `Buffer` is returned. + * @since v0.5.0 + * @param inputEncoding The `encoding` of an `otherPublicKey` string. + * @param outputEncoding The `encoding` of the return value. + */ + computeSecret(otherPublicKey: NodeJS.ArrayBufferView, inputEncoding?: null, outputEncoding?: null): Buffer; + computeSecret(otherPublicKey: string, inputEncoding: BinaryToTextEncoding, outputEncoding?: null): Buffer; + computeSecret( + otherPublicKey: NodeJS.ArrayBufferView, + inputEncoding: null, + outputEncoding: BinaryToTextEncoding, + ): string; + computeSecret( + otherPublicKey: string, + inputEncoding: BinaryToTextEncoding, + outputEncoding: BinaryToTextEncoding, + ): string; + /** + * Returns the Diffie-Hellman prime in the specified `encoding`. + * If `encoding` is provided a string is + * returned; otherwise a `Buffer` is returned. + * @since v0.5.0 + * @param encoding The `encoding` of the return value. + */ + getPrime(): Buffer; + getPrime(encoding: BinaryToTextEncoding): string; + /** + * Returns the Diffie-Hellman generator in the specified `encoding`. + * If `encoding` is provided a string is + * returned; otherwise a `Buffer` is returned. + * @since v0.5.0 + * @param encoding The `encoding` of the return value. + */ + getGenerator(): Buffer; + getGenerator(encoding: BinaryToTextEncoding): string; + /** + * Returns the Diffie-Hellman public key in the specified `encoding`. + * If `encoding` is provided a + * string is returned; otherwise a `Buffer` is returned. + * @since v0.5.0 + * @param encoding The `encoding` of the return value. + */ + getPublicKey(): Buffer; + getPublicKey(encoding: BinaryToTextEncoding): string; + /** + * Returns the Diffie-Hellman private key in the specified `encoding`. + * If `encoding` is provided a + * string is returned; otherwise a `Buffer` is returned. + * @since v0.5.0 + * @param encoding The `encoding` of the return value. + */ + getPrivateKey(): Buffer; + getPrivateKey(encoding: BinaryToTextEncoding): string; + /** + * Sets the Diffie-Hellman public key. If the `encoding` argument is provided,`publicKey` is expected + * to be a string. If no `encoding` is provided, `publicKey` is expected + * to be a `Buffer`, `TypedArray`, or `DataView`. + * @since v0.5.0 + * @param encoding The `encoding` of the `publicKey` string. + */ + setPublicKey(publicKey: NodeJS.ArrayBufferView): void; + setPublicKey(publicKey: string, encoding: BufferEncoding): void; + /** + * Sets the Diffie-Hellman private key. If the `encoding` argument is provided,`privateKey` is expected + * to be a string. If no `encoding` is provided, `privateKey` is expected + * to be a `Buffer`, `TypedArray`, or `DataView`. + * + * This function does not automatically compute the associated public key. Either `diffieHellman.setPublicKey()` or `diffieHellman.generateKeys()` can be + * used to manually provide the public key or to automatically derive it. + * @since v0.5.0 + * @param encoding The `encoding` of the `privateKey` string. + */ + setPrivateKey(privateKey: NodeJS.ArrayBufferView): void; + setPrivateKey(privateKey: string, encoding: BufferEncoding): void; + /** + * A bit field containing any warnings and/or errors resulting from a check + * performed during initialization of the `DiffieHellman` object. + * + * The following values are valid for this property (as defined in `node:constants` module): + * + * * `DH_CHECK_P_NOT_SAFE_PRIME` + * * `DH_CHECK_P_NOT_PRIME` + * * `DH_UNABLE_TO_CHECK_GENERATOR` + * * `DH_NOT_SUITABLE_GENERATOR` + * @since v0.11.12 + */ + verifyError: number; + } + /** + * The `DiffieHellmanGroup` class takes a well-known modp group as its argument. + * It works the same as `DiffieHellman`, except that it does not allow changing its keys after creation. + * In other words, it does not implement `setPublicKey()` or `setPrivateKey()` methods. + * + * ```js + * const { createDiffieHellmanGroup } = await import('node:crypto'); + * const dh = createDiffieHellmanGroup('modp1'); + * ``` + * The name (e.g. `'modp1'`) is taken from [RFC 2412](https://www.rfc-editor.org/rfc/rfc2412.txt) (modp1 and 2) and [RFC 3526](https://www.rfc-editor.org/rfc/rfc3526.txt): + * ```bash + * $ perl -ne 'print "$1\n" if /"(modp\d+)"/' src/node_crypto_groups.h + * modp1 # 768 bits + * modp2 # 1024 bits + * modp5 # 1536 bits + * modp14 # 2048 bits + * modp15 # etc. + * modp16 + * modp17 + * modp18 + * ``` + * @since v0.7.5 + */ + const DiffieHellmanGroup: DiffieHellmanGroupConstructor; + interface DiffieHellmanGroupConstructor { + new(name: string): DiffieHellmanGroup; + (name: string): DiffieHellmanGroup; + readonly prototype: DiffieHellmanGroup; + } + type DiffieHellmanGroup = Omit; + /** + * Creates a predefined `DiffieHellmanGroup` key exchange object. The + * supported groups are listed in the documentation for `DiffieHellmanGroup`. + * + * The returned object mimics the interface of objects created by {@link createDiffieHellman}, but will not allow changing + * the keys (with `diffieHellman.setPublicKey()`, for example). The + * advantage of using this method is that the parties do not have to + * generate nor exchange a group modulus beforehand, saving both processor + * and communication time. + * + * Example (obtaining a shared secret): + * + * ```js + * const { + * getDiffieHellman, + * } = await import('node:crypto'); + * const alice = getDiffieHellman('modp14'); + * const bob = getDiffieHellman('modp14'); + * + * alice.generateKeys(); + * bob.generateKeys(); + * + * const aliceSecret = alice.computeSecret(bob.getPublicKey(), null, 'hex'); + * const bobSecret = bob.computeSecret(alice.getPublicKey(), null, 'hex'); + * + * // aliceSecret and bobSecret should be the same + * console.log(aliceSecret === bobSecret); + * ``` + * @since v0.7.5 + */ + function getDiffieHellman(groupName: string): DiffieHellmanGroup; + /** + * An alias for {@link getDiffieHellman} + * @since v0.9.3 + */ + function createDiffieHellmanGroup(name: string): DiffieHellmanGroup; + /** + * Provides an asynchronous Password-Based Key Derivation Function 2 (PBKDF2) + * implementation. A selected HMAC digest algorithm specified by `digest` is + * applied to derive a key of the requested byte length (`keylen`) from the`password`, `salt` and `iterations`. + * + * The supplied `callback` function is called with two arguments: `err` and`derivedKey`. If an error occurs while deriving the key, `err` will be set; + * otherwise `err` will be `null`. By default, the successfully generated`derivedKey` will be passed to the callback as a `Buffer`. An error will be + * thrown if any of the input arguments specify invalid values or types. + * + * The `iterations` argument must be a number set as high as possible. The + * higher the number of iterations, the more secure the derived key will be, + * but will take a longer amount of time to complete. + * + * The `salt` should be as unique as possible. It is recommended that a salt is + * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. + * + * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. + * + * ```js + * const { + * pbkdf2, + * } = await import('node:crypto'); + * + * pbkdf2('secret', 'salt', 100000, 64, 'sha512', (err, derivedKey) => { + * if (err) throw err; + * console.log(derivedKey.toString('hex')); // '3745e48...08d59ae' + * }); + * ``` + * + * An array of supported digest functions can be retrieved using {@link getHashes}. + * + * This API uses libuv's threadpool, which can have surprising and + * negative performance implications for some applications; see the `UV_THREADPOOL_SIZE` documentation for more information. + * @since v0.5.5 + */ + function pbkdf2( + password: BinaryLike, + salt: BinaryLike, + iterations: number, + keylen: number, + digest: string, + callback: (err: Error | null, derivedKey: Buffer) => void, + ): void; + /** + * Provides a synchronous Password-Based Key Derivation Function 2 (PBKDF2) + * implementation. A selected HMAC digest algorithm specified by `digest` is + * applied to derive a key of the requested byte length (`keylen`) from the`password`, `salt` and `iterations`. + * + * If an error occurs an `Error` will be thrown, otherwise the derived key will be + * returned as a `Buffer`. + * + * The `iterations` argument must be a number set as high as possible. The + * higher the number of iterations, the more secure the derived key will be, + * but will take a longer amount of time to complete. + * + * The `salt` should be as unique as possible. It is recommended that a salt is + * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. + * + * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. + * + * ```js + * const { + * pbkdf2Sync, + * } = await import('node:crypto'); + * + * const key = pbkdf2Sync('secret', 'salt', 100000, 64, 'sha512'); + * console.log(key.toString('hex')); // '3745e48...08d59ae' + * ``` + * + * An array of supported digest functions can be retrieved using {@link getHashes}. + * @since v0.9.3 + */ + function pbkdf2Sync( + password: BinaryLike, + salt: BinaryLike, + iterations: number, + keylen: number, + digest: string, + ): Buffer; + /** + * Generates cryptographically strong pseudorandom data. The `size` argument + * is a number indicating the number of bytes to generate. + * + * If a `callback` function is provided, the bytes are generated asynchronously + * and the `callback` function is invoked with two arguments: `err` and `buf`. + * If an error occurs, `err` will be an `Error` object; otherwise it is `null`. The`buf` argument is a `Buffer` containing the generated bytes. + * + * ```js + * // Asynchronous + * const { + * randomBytes, + * } = await import('node:crypto'); + * + * randomBytes(256, (err, buf) => { + * if (err) throw err; + * console.log(`${buf.length} bytes of random data: ${buf.toString('hex')}`); + * }); + * ``` + * + * If the `callback` function is not provided, the random bytes are generated + * synchronously and returned as a `Buffer`. An error will be thrown if + * there is a problem generating the bytes. + * + * ```js + * // Synchronous + * const { + * randomBytes, + * } = await import('node:crypto'); + * + * const buf = randomBytes(256); + * console.log( + * `${buf.length} bytes of random data: ${buf.toString('hex')}`); + * ``` + * + * The `crypto.randomBytes()` method will not complete until there is + * sufficient entropy available. + * This should normally never take longer than a few milliseconds. The only time + * when generating the random bytes may conceivably block for a longer period of + * time is right after boot, when the whole system is still low on entropy. + * + * This API uses libuv's threadpool, which can have surprising and + * negative performance implications for some applications; see the `UV_THREADPOOL_SIZE` documentation for more information. + * + * The asynchronous version of `crypto.randomBytes()` is carried out in a single + * threadpool request. To minimize threadpool task length variation, partition + * large `randomBytes` requests when doing so as part of fulfilling a client + * request. + * @since v0.5.8 + * @param size The number of bytes to generate. The `size` must not be larger than `2**31 - 1`. + * @return if the `callback` function is not provided. + */ + function randomBytes(size: number): Buffer; + function randomBytes(size: number, callback: (err: Error | null, buf: Buffer) => void): void; + function pseudoRandomBytes(size: number): Buffer; + function pseudoRandomBytes(size: number, callback: (err: Error | null, buf: Buffer) => void): void; + /** + * Return a random integer `n` such that `min <= n < max`. This + * implementation avoids [modulo bias](https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle#Modulo_bias). + * + * The range (`max - min`) must be less than 248. `min` and `max` must + * be [safe integers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger). + * + * If the `callback` function is not provided, the random integer is + * generated synchronously. + * + * ```js + * // Asynchronous + * const { + * randomInt, + * } = await import('node:crypto'); + * + * randomInt(3, (err, n) => { + * if (err) throw err; + * console.log(`Random number chosen from (0, 1, 2): ${n}`); + * }); + * ``` + * + * ```js + * // Synchronous + * const { + * randomInt, + * } = await import('node:crypto'); + * + * const n = randomInt(3); + * console.log(`Random number chosen from (0, 1, 2): ${n}`); + * ``` + * + * ```js + * // With `min` argument + * const { + * randomInt, + * } = await import('node:crypto'); + * + * const n = randomInt(1, 7); + * console.log(`The dice rolled: ${n}`); + * ``` + * @since v14.10.0, v12.19.0 + * @param [min=0] Start of random range (inclusive). + * @param max End of random range (exclusive). + * @param callback `function(err, n) {}`. + */ + function randomInt(max: number): number; + function randomInt(min: number, max: number): number; + function randomInt(max: number, callback: (err: Error | null, value: number) => void): void; + function randomInt(min: number, max: number, callback: (err: Error | null, value: number) => void): void; + /** + * Synchronous version of {@link randomFill}. + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { randomFillSync } = await import('node:crypto'); + * + * const buf = Buffer.alloc(10); + * console.log(randomFillSync(buf).toString('hex')); + * + * randomFillSync(buf, 5); + * console.log(buf.toString('hex')); + * + * // The above is equivalent to the following: + * randomFillSync(buf, 5, 5); + * console.log(buf.toString('hex')); + * ``` + * + * Any `ArrayBuffer`, `TypedArray` or `DataView` instance may be passed as`buffer`. + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { randomFillSync } = await import('node:crypto'); + * + * const a = new Uint32Array(10); + * console.log(Buffer.from(randomFillSync(a).buffer, + * a.byteOffset, a.byteLength).toString('hex')); + * + * const b = new DataView(new ArrayBuffer(10)); + * console.log(Buffer.from(randomFillSync(b).buffer, + * b.byteOffset, b.byteLength).toString('hex')); + * + * const c = new ArrayBuffer(10); + * console.log(Buffer.from(randomFillSync(c)).toString('hex')); + * ``` + * @since v7.10.0, v6.13.0 + * @param buffer Must be supplied. The size of the provided `buffer` must not be larger than `2**31 - 1`. + * @param [offset=0] + * @param [size=buffer.length - offset] + * @return The object passed as `buffer` argument. + */ + function randomFillSync(buffer: T, offset?: number, size?: number): T; + /** + * This function is similar to {@link randomBytes} but requires the first + * argument to be a `Buffer` that will be filled. It also + * requires that a callback is passed in. + * + * If the `callback` function is not provided, an error will be thrown. + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { randomFill } = await import('node:crypto'); + * + * const buf = Buffer.alloc(10); + * randomFill(buf, (err, buf) => { + * if (err) throw err; + * console.log(buf.toString('hex')); + * }); + * + * randomFill(buf, 5, (err, buf) => { + * if (err) throw err; + * console.log(buf.toString('hex')); + * }); + * + * // The above is equivalent to the following: + * randomFill(buf, 5, 5, (err, buf) => { + * if (err) throw err; + * console.log(buf.toString('hex')); + * }); + * ``` + * + * Any `ArrayBuffer`, `TypedArray`, or `DataView` instance may be passed as`buffer`. + * + * While this includes instances of `Float32Array` and `Float64Array`, this + * function should not be used to generate random floating-point numbers. The + * result may contain `+Infinity`, `-Infinity`, and `NaN`, and even if the array + * contains finite numbers only, they are not drawn from a uniform random + * distribution and have no meaningful lower or upper bounds. + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { randomFill } = await import('node:crypto'); + * + * const a = new Uint32Array(10); + * randomFill(a, (err, buf) => { + * if (err) throw err; + * console.log(Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength) + * .toString('hex')); + * }); + * + * const b = new DataView(new ArrayBuffer(10)); + * randomFill(b, (err, buf) => { + * if (err) throw err; + * console.log(Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength) + * .toString('hex')); + * }); + * + * const c = new ArrayBuffer(10); + * randomFill(c, (err, buf) => { + * if (err) throw err; + * console.log(Buffer.from(buf).toString('hex')); + * }); + * ``` + * + * This API uses libuv's threadpool, which can have surprising and + * negative performance implications for some applications; see the `UV_THREADPOOL_SIZE` documentation for more information. + * + * The asynchronous version of `crypto.randomFill()` is carried out in a single + * threadpool request. To minimize threadpool task length variation, partition + * large `randomFill` requests when doing so as part of fulfilling a client + * request. + * @since v7.10.0, v6.13.0 + * @param buffer Must be supplied. The size of the provided `buffer` must not be larger than `2**31 - 1`. + * @param [offset=0] + * @param [size=buffer.length - offset] + * @param callback `function(err, buf) {}`. + */ + function randomFill( + buffer: T, + callback: (err: Error | null, buf: T) => void, + ): void; + function randomFill( + buffer: T, + offset: number, + callback: (err: Error | null, buf: T) => void, + ): void; + function randomFill( + buffer: T, + offset: number, + size: number, + callback: (err: Error | null, buf: T) => void, + ): void; + interface ScryptOptions { + cost?: number | undefined; + blockSize?: number | undefined; + parallelization?: number | undefined; + N?: number | undefined; + r?: number | undefined; + p?: number | undefined; + maxmem?: number | undefined; + } + /** + * Provides an asynchronous [scrypt](https://en.wikipedia.org/wiki/Scrypt) implementation. Scrypt is a password-based + * key derivation function that is designed to be expensive computationally and + * memory-wise in order to make brute-force attacks unrewarding. + * + * The `salt` should be as unique as possible. It is recommended that a salt is + * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. + * + * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. + * + * The `callback` function is called with two arguments: `err` and `derivedKey`.`err` is an exception object when key derivation fails, otherwise `err` is`null`. `derivedKey` is passed to the + * callback as a `Buffer`. + * + * An exception is thrown when any of the input arguments specify invalid values + * or types. + * + * ```js + * const { + * scrypt, + * } = await import('node:crypto'); + * + * // Using the factory defaults. + * scrypt('password', 'salt', 64, (err, derivedKey) => { + * if (err) throw err; + * console.log(derivedKey.toString('hex')); // '3745e48...08d59ae' + * }); + * // Using a custom N parameter. Must be a power of two. + * scrypt('password', 'salt', 64, { N: 1024 }, (err, derivedKey) => { + * if (err) throw err; + * console.log(derivedKey.toString('hex')); // '3745e48...aa39b34' + * }); + * ``` + * @since v10.5.0 + */ + function scrypt( + password: BinaryLike, + salt: BinaryLike, + keylen: number, + callback: (err: Error | null, derivedKey: Buffer) => void, + ): void; + function scrypt( + password: BinaryLike, + salt: BinaryLike, + keylen: number, + options: ScryptOptions, + callback: (err: Error | null, derivedKey: Buffer) => void, + ): void; + /** + * Provides a synchronous [scrypt](https://en.wikipedia.org/wiki/Scrypt) implementation. Scrypt is a password-based + * key derivation function that is designed to be expensive computationally and + * memory-wise in order to make brute-force attacks unrewarding. + * + * The `salt` should be as unique as possible. It is recommended that a salt is + * random and at least 16 bytes long. See [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf) for details. + * + * When passing strings for `password` or `salt`, please consider `caveats when using strings as inputs to cryptographic APIs`. + * + * An exception is thrown when key derivation fails, otherwise the derived key is + * returned as a `Buffer`. + * + * An exception is thrown when any of the input arguments specify invalid values + * or types. + * + * ```js + * const { + * scryptSync, + * } = await import('node:crypto'); + * // Using the factory defaults. + * + * const key1 = scryptSync('password', 'salt', 64); + * console.log(key1.toString('hex')); // '3745e48...08d59ae' + * // Using a custom N parameter. Must be a power of two. + * const key2 = scryptSync('password', 'salt', 64, { N: 1024 }); + * console.log(key2.toString('hex')); // '3745e48...aa39b34' + * ``` + * @since v10.5.0 + */ + function scryptSync(password: BinaryLike, salt: BinaryLike, keylen: number, options?: ScryptOptions): Buffer; + interface RsaPublicKey { + key: KeyLike; + padding?: number | undefined; + } + interface RsaPrivateKey { + key: KeyLike; + passphrase?: string | undefined; + /** + * @default 'sha1' + */ + oaepHash?: string | undefined; + oaepLabel?: NodeJS.TypedArray | undefined; + padding?: number | undefined; + } + /** + * Encrypts the content of `buffer` with `key` and returns a new `Buffer` with encrypted content. The returned data can be decrypted using + * the corresponding private key, for example using {@link privateDecrypt}. + * + * If `key` is not a `KeyObject`, this function behaves as if`key` had been passed to {@link createPublicKey}. If it is an + * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_OAEP_PADDING`. + * + * Because RSA public keys can be derived from private keys, a private key may + * be passed instead of a public key. + * @since v0.11.14 + */ + function publicEncrypt(key: RsaPublicKey | RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; + /** + * Decrypts `buffer` with `key`.`buffer` was previously encrypted using + * the corresponding private key, for example using {@link privateEncrypt}. + * + * If `key` is not a `KeyObject`, this function behaves as if`key` had been passed to {@link createPublicKey}. If it is an + * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_PADDING`. + * + * Because RSA public keys can be derived from private keys, a private key may + * be passed instead of a public key. + * @since v1.1.0 + */ + function publicDecrypt(key: RsaPublicKey | RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; + /** + * Decrypts `buffer` with `privateKey`. `buffer` was previously encrypted using + * the corresponding public key, for example using {@link publicEncrypt}. + * + * If `privateKey` is not a `KeyObject`, this function behaves as if`privateKey` had been passed to {@link createPrivateKey}. If it is an + * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_OAEP_PADDING`. + * @since v0.11.14 + */ + function privateDecrypt(privateKey: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; + /** + * Encrypts `buffer` with `privateKey`. The returned data can be decrypted using + * the corresponding public key, for example using {@link publicDecrypt}. + * + * If `privateKey` is not a `KeyObject`, this function behaves as if`privateKey` had been passed to {@link createPrivateKey}. If it is an + * object, the `padding` property can be passed. Otherwise, this function uses`RSA_PKCS1_PADDING`. + * @since v1.1.0 + */ + function privateEncrypt(privateKey: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; + /** + * ```js + * const { + * getCiphers, + * } = await import('node:crypto'); + * + * console.log(getCiphers()); // ['aes-128-cbc', 'aes-128-ccm', ...] + * ``` + * @since v0.9.3 + * @return An array with the names of the supported cipher algorithms. + */ + function getCiphers(): string[]; + /** + * ```js + * const { + * getCurves, + * } = await import('node:crypto'); + * + * console.log(getCurves()); // ['Oakley-EC2N-3', 'Oakley-EC2N-4', ...] + * ``` + * @since v2.3.0 + * @return An array with the names of the supported elliptic curves. + */ + function getCurves(): string[]; + /** + * @since v10.0.0 + * @return `1` if and only if a FIPS compliant crypto provider is currently in use, `0` otherwise. A future semver-major release may change the return type of this API to a {boolean}. + */ + function getFips(): 1 | 0; + /** + * Enables the FIPS compliant crypto provider in a FIPS-enabled Node.js build. + * Throws an error if FIPS mode is not available. + * @since v10.0.0 + * @param bool `true` to enable FIPS mode. + */ + function setFips(bool: boolean): void; + /** + * ```js + * const { + * getHashes, + * } = await import('node:crypto'); + * + * console.log(getHashes()); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...] + * ``` + * @since v0.9.3 + * @return An array of the names of the supported hash algorithms, such as `'RSA-SHA256'`. Hash algorithms are also called "digest" algorithms. + */ + function getHashes(): string[]; + /** + * The `ECDH` class is a utility for creating Elliptic Curve Diffie-Hellman (ECDH) + * key exchanges. + * + * Instances of the `ECDH` class can be created using the {@link createECDH} function. + * + * ```js + * import assert from 'node:assert'; + * + * const { + * createECDH, + * } = await import('node:crypto'); + * + * // Generate Alice's keys... + * const alice = createECDH('secp521r1'); + * const aliceKey = alice.generateKeys(); + * + * // Generate Bob's keys... + * const bob = createECDH('secp521r1'); + * const bobKey = bob.generateKeys(); + * + * // Exchange and generate the secret... + * const aliceSecret = alice.computeSecret(bobKey); + * const bobSecret = bob.computeSecret(aliceKey); + * + * assert.strictEqual(aliceSecret.toString('hex'), bobSecret.toString('hex')); + * // OK + * ``` + * @since v0.11.14 + */ + class ECDH { + private constructor(); + /** + * Converts the EC Diffie-Hellman public key specified by `key` and `curve` to the + * format specified by `format`. The `format` argument specifies point encoding + * and can be `'compressed'`, `'uncompressed'` or `'hybrid'`. The supplied key is + * interpreted using the specified `inputEncoding`, and the returned key is encoded + * using the specified `outputEncoding`. + * + * Use {@link getCurves} to obtain a list of available curve names. + * On recent OpenSSL releases, `openssl ecparam -list_curves` will also display + * the name and description of each available elliptic curve. + * + * If `format` is not specified the point will be returned in `'uncompressed'`format. + * + * If the `inputEncoding` is not provided, `key` is expected to be a `Buffer`,`TypedArray`, or `DataView`. + * + * Example (uncompressing a key): + * + * ```js + * const { + * createECDH, + * ECDH, + * } = await import('node:crypto'); + * + * const ecdh = createECDH('secp256k1'); + * ecdh.generateKeys(); + * + * const compressedKey = ecdh.getPublicKey('hex', 'compressed'); + * + * const uncompressedKey = ECDH.convertKey(compressedKey, + * 'secp256k1', + * 'hex', + * 'hex', + * 'uncompressed'); + * + * // The converted key and the uncompressed public key should be the same + * console.log(uncompressedKey === ecdh.getPublicKey('hex')); + * ``` + * @since v10.0.0 + * @param inputEncoding The `encoding` of the `key` string. + * @param outputEncoding The `encoding` of the return value. + * @param [format='uncompressed'] + */ + static convertKey( + key: BinaryLike, + curve: string, + inputEncoding?: BinaryToTextEncoding, + outputEncoding?: "latin1" | "hex" | "base64" | "base64url", + format?: "uncompressed" | "compressed" | "hybrid", + ): Buffer | string; + /** + * Generates private and public EC Diffie-Hellman key values, and returns + * the public key in the specified `format` and `encoding`. This key should be + * transferred to the other party. + * + * The `format` argument specifies point encoding and can be `'compressed'` or`'uncompressed'`. If `format` is not specified, the point will be returned in`'uncompressed'` format. + * + * If `encoding` is provided a string is returned; otherwise a `Buffer` is returned. + * @since v0.11.14 + * @param encoding The `encoding` of the return value. + * @param [format='uncompressed'] + */ + generateKeys(): Buffer; + generateKeys(encoding: BinaryToTextEncoding, format?: ECDHKeyFormat): string; + /** + * Computes the shared secret using `otherPublicKey` as the other + * party's public key and returns the computed shared secret. The supplied + * key is interpreted using specified `inputEncoding`, and the returned secret + * is encoded using the specified `outputEncoding`. + * If the `inputEncoding` is not + * provided, `otherPublicKey` is expected to be a `Buffer`, `TypedArray`, or`DataView`. + * + * If `outputEncoding` is given a string will be returned; otherwise a `Buffer` is returned. + * + * `ecdh.computeSecret` will throw an`ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY` error when `otherPublicKey`lies outside of the elliptic curve. Since `otherPublicKey` is + * usually supplied from a remote user over an insecure network, + * be sure to handle this exception accordingly. + * @since v0.11.14 + * @param inputEncoding The `encoding` of the `otherPublicKey` string. + * @param outputEncoding The `encoding` of the return value. + */ + computeSecret(otherPublicKey: NodeJS.ArrayBufferView): Buffer; + computeSecret(otherPublicKey: string, inputEncoding: BinaryToTextEncoding): Buffer; + computeSecret(otherPublicKey: NodeJS.ArrayBufferView, outputEncoding: BinaryToTextEncoding): string; + computeSecret( + otherPublicKey: string, + inputEncoding: BinaryToTextEncoding, + outputEncoding: BinaryToTextEncoding, + ): string; + /** + * If `encoding` is specified, a string is returned; otherwise a `Buffer` is + * returned. + * @since v0.11.14 + * @param encoding The `encoding` of the return value. + * @return The EC Diffie-Hellman in the specified `encoding`. + */ + getPrivateKey(): Buffer; + getPrivateKey(encoding: BinaryToTextEncoding): string; + /** + * The `format` argument specifies point encoding and can be `'compressed'` or`'uncompressed'`. If `format` is not specified the point will be returned in`'uncompressed'` format. + * + * If `encoding` is specified, a string is returned; otherwise a `Buffer` is + * returned. + * @since v0.11.14 + * @param encoding The `encoding` of the return value. + * @param [format='uncompressed'] + * @return The EC Diffie-Hellman public key in the specified `encoding` and `format`. + */ + getPublicKey(encoding?: null, format?: ECDHKeyFormat): Buffer; + getPublicKey(encoding: BinaryToTextEncoding, format?: ECDHKeyFormat): string; + /** + * Sets the EC Diffie-Hellman private key. + * If `encoding` is provided, `privateKey` is expected + * to be a string; otherwise `privateKey` is expected to be a `Buffer`,`TypedArray`, or `DataView`. + * + * If `privateKey` is not valid for the curve specified when the `ECDH` object was + * created, an error is thrown. Upon setting the private key, the associated + * public point (key) is also generated and set in the `ECDH` object. + * @since v0.11.14 + * @param encoding The `encoding` of the `privateKey` string. + */ + setPrivateKey(privateKey: NodeJS.ArrayBufferView): void; + setPrivateKey(privateKey: string, encoding: BinaryToTextEncoding): void; + } + /** + * Creates an Elliptic Curve Diffie-Hellman (`ECDH`) key exchange object using a + * predefined curve specified by the `curveName` string. Use {@link getCurves} to obtain a list of available curve names. On recent + * OpenSSL releases, `openssl ecparam -list_curves` will also display the name + * and description of each available elliptic curve. + * @since v0.11.14 + */ + function createECDH(curveName: string): ECDH; + /** + * This function compares the underlying bytes that represent the given`ArrayBuffer`, `TypedArray`, or `DataView` instances using a constant-time + * algorithm. + * + * This function does not leak timing information that + * would allow an attacker to guess one of the values. This is suitable for + * comparing HMAC digests or secret values like authentication cookies or [capability urls](https://www.w3.org/TR/capability-urls/). + * + * `a` and `b` must both be `Buffer`s, `TypedArray`s, or `DataView`s, and they + * must have the same byte length. An error is thrown if `a` and `b` have + * different byte lengths. + * + * If at least one of `a` and `b` is a `TypedArray` with more than one byte per + * entry, such as `Uint16Array`, the result will be computed using the platform + * byte order. + * + * **When both of the inputs are `Float32Array`s or`Float64Array`s, this function might return unexpected results due to IEEE 754** + * **encoding of floating-point numbers. In particular, neither `x === y` nor`Object.is(x, y)` implies that the byte representations of two floating-point** + * **numbers `x` and `y` are equal.** + * + * Use of `crypto.timingSafeEqual` does not guarantee that the _surrounding_ code + * is timing-safe. Care should be taken to ensure that the surrounding code does + * not introduce timing vulnerabilities. + * @since v6.6.0 + */ + function timingSafeEqual(a: NodeJS.ArrayBufferView, b: NodeJS.ArrayBufferView): boolean; + type KeyType = "rsa" | "rsa-pss" | "dsa" | "ec" | "ed25519" | "ed448" | "x25519" | "x448"; + type KeyFormat = "pem" | "der" | "jwk"; + interface BasePrivateKeyEncodingOptions { + format: T; + cipher?: string | undefined; + passphrase?: string | undefined; + } + interface KeyPairKeyObjectResult { + publicKey: KeyObject; + privateKey: KeyObject; + } + interface ED25519KeyPairKeyObjectOptions {} + interface ED448KeyPairKeyObjectOptions {} + interface X25519KeyPairKeyObjectOptions {} + interface X448KeyPairKeyObjectOptions {} + interface ECKeyPairKeyObjectOptions { + /** + * Name of the curve to use + */ + namedCurve: string; + /** + * Must be `'named'` or `'explicit'`. Default: `'named'`. + */ + paramEncoding?: "explicit" | "named" | undefined; + } + interface RSAKeyPairKeyObjectOptions { + /** + * Key size in bits + */ + modulusLength: number; + /** + * Public exponent + * @default 0x10001 + */ + publicExponent?: number | undefined; + } + interface RSAPSSKeyPairKeyObjectOptions { + /** + * Key size in bits + */ + modulusLength: number; + /** + * Public exponent + * @default 0x10001 + */ + publicExponent?: number | undefined; + /** + * Name of the message digest + */ + hashAlgorithm?: string; + /** + * Name of the message digest used by MGF1 + */ + mgf1HashAlgorithm?: string; + /** + * Minimal salt length in bytes + */ + saltLength?: string; + } + interface DSAKeyPairKeyObjectOptions { + /** + * Key size in bits + */ + modulusLength: number; + /** + * Size of q in bits + */ + divisorLength: number; + } + interface RSAKeyPairOptions { + /** + * Key size in bits + */ + modulusLength: number; + /** + * Public exponent + * @default 0x10001 + */ + publicExponent?: number | undefined; + publicKeyEncoding: { + type: "pkcs1" | "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "pkcs1" | "pkcs8"; + }; + } + interface RSAPSSKeyPairOptions { + /** + * Key size in bits + */ + modulusLength: number; + /** + * Public exponent + * @default 0x10001 + */ + publicExponent?: number | undefined; + /** + * Name of the message digest + */ + hashAlgorithm?: string; + /** + * Name of the message digest used by MGF1 + */ + mgf1HashAlgorithm?: string; + /** + * Minimal salt length in bytes + */ + saltLength?: string; + publicKeyEncoding: { + type: "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "pkcs8"; + }; + } + interface DSAKeyPairOptions { + /** + * Key size in bits + */ + modulusLength: number; + /** + * Size of q in bits + */ + divisorLength: number; + publicKeyEncoding: { + type: "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "pkcs8"; + }; + } + interface ECKeyPairOptions extends ECKeyPairKeyObjectOptions { + publicKeyEncoding: { + type: "pkcs1" | "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "sec1" | "pkcs8"; + }; + } + interface ED25519KeyPairOptions { + publicKeyEncoding: { + type: "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "pkcs8"; + }; + } + interface ED448KeyPairOptions { + publicKeyEncoding: { + type: "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "pkcs8"; + }; + } + interface X25519KeyPairOptions { + publicKeyEncoding: { + type: "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "pkcs8"; + }; + } + interface X448KeyPairOptions { + publicKeyEncoding: { + type: "spki"; + format: PubF; + }; + privateKeyEncoding: BasePrivateKeyEncodingOptions & { + type: "pkcs8"; + }; + } + interface KeyPairSyncResult { + publicKey: T1; + privateKey: T2; + } + /** + * Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC, + * Ed25519, Ed448, X25519, X448, and DH are currently supported. + * + * If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function + * behaves as if `keyObject.export()` had been called on its result. Otherwise, + * the respective part of the key is returned as a `KeyObject`. + * + * When encoding public keys, it is recommended to use `'spki'`. When encoding + * private keys, it is recommended to use `'pkcs8'` with a strong passphrase, + * and to keep the passphrase confidential. + * + * ```js + * const { + * generateKeyPairSync, + * } = await import('node:crypto'); + * + * const { + * publicKey, + * privateKey, + * } = generateKeyPairSync('rsa', { + * modulusLength: 4096, + * publicKeyEncoding: { + * type: 'spki', + * format: 'pem', + * }, + * privateKeyEncoding: { + * type: 'pkcs8', + * format: 'pem', + * cipher: 'aes-256-cbc', + * passphrase: 'top secret', + * }, + * }); + * ``` + * + * The return value `{ publicKey, privateKey }` represents the generated key pair. + * When PEM encoding was selected, the respective key will be a string, otherwise + * it will be a buffer containing the data encoded as DER. + * @since v10.12.0 + * @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`, `'ed448'`, `'x25519'`, `'x448'`, or `'dh'`. + */ + function generateKeyPairSync( + type: "rsa", + options: RSAKeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "rsa", + options: RSAKeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "rsa", + options: RSAKeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "rsa", + options: RSAKeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "rsa", options: RSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult; + function generateKeyPairSync( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "rsa-pss", options: RSAPSSKeyPairKeyObjectOptions): KeyPairKeyObjectResult; + function generateKeyPairSync( + type: "dsa", + options: DSAKeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "dsa", + options: DSAKeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "dsa", + options: DSAKeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "dsa", + options: DSAKeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "dsa", options: DSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult; + function generateKeyPairSync( + type: "ec", + options: ECKeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ec", + options: ECKeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ec", + options: ECKeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ec", + options: ECKeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "ec", options: ECKeyPairKeyObjectOptions): KeyPairKeyObjectResult; + function generateKeyPairSync( + type: "ed25519", + options: ED25519KeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ed25519", + options: ED25519KeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ed25519", + options: ED25519KeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ed25519", + options: ED25519KeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "ed25519", options?: ED25519KeyPairKeyObjectOptions): KeyPairKeyObjectResult; + function generateKeyPairSync( + type: "ed448", + options: ED448KeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ed448", + options: ED448KeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ed448", + options: ED448KeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "ed448", + options: ED448KeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "ed448", options?: ED448KeyPairKeyObjectOptions): KeyPairKeyObjectResult; + function generateKeyPairSync( + type: "x25519", + options: X25519KeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "x25519", + options: X25519KeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "x25519", + options: X25519KeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "x25519", + options: X25519KeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "x25519", options?: X25519KeyPairKeyObjectOptions): KeyPairKeyObjectResult; + function generateKeyPairSync( + type: "x448", + options: X448KeyPairOptions<"pem", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "x448", + options: X448KeyPairOptions<"pem", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "x448", + options: X448KeyPairOptions<"der", "pem">, + ): KeyPairSyncResult; + function generateKeyPairSync( + type: "x448", + options: X448KeyPairOptions<"der", "der">, + ): KeyPairSyncResult; + function generateKeyPairSync(type: "x448", options?: X448KeyPairKeyObjectOptions): KeyPairKeyObjectResult; + /** + * Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC, + * Ed25519, Ed448, X25519, X448, and DH are currently supported. + * + * If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function + * behaves as if `keyObject.export()` had been called on its result. Otherwise, + * the respective part of the key is returned as a `KeyObject`. + * + * It is recommended to encode public keys as `'spki'` and private keys as`'pkcs8'` with encryption for long-term storage: + * + * ```js + * const { + * generateKeyPair, + * } = await import('node:crypto'); + * + * generateKeyPair('rsa', { + * modulusLength: 4096, + * publicKeyEncoding: { + * type: 'spki', + * format: 'pem', + * }, + * privateKeyEncoding: { + * type: 'pkcs8', + * format: 'pem', + * cipher: 'aes-256-cbc', + * passphrase: 'top secret', + * }, + * }, (err, publicKey, privateKey) => { + * // Handle errors and use the generated key pair. + * }); + * ``` + * + * On completion, `callback` will be called with `err` set to `undefined` and`publicKey` / `privateKey` representing the generated key pair. + * + * If this method is invoked as its `util.promisify()` ed version, it returns + * a `Promise` for an `Object` with `publicKey` and `privateKey` properties. + * @since v10.12.0 + * @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`, `'ed448'`, `'x25519'`, `'x448'`, or `'dh'`. + */ + function generateKeyPair( + type: "rsa", + options: RSAKeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "rsa", + options: RSAKeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "rsa", + options: RSAKeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "rsa", + options: RSAKeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "rsa", + options: RSAKeyPairKeyObjectOptions, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + function generateKeyPair( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "rsa-pss", + options: RSAPSSKeyPairKeyObjectOptions, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + function generateKeyPair( + type: "dsa", + options: DSAKeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "dsa", + options: DSAKeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "dsa", + options: DSAKeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "dsa", + options: DSAKeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "dsa", + options: DSAKeyPairKeyObjectOptions, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + function generateKeyPair( + type: "ec", + options: ECKeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "ec", + options: ECKeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "ec", + options: ECKeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "ec", + options: ECKeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "ec", + options: ECKeyPairKeyObjectOptions, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + function generateKeyPair( + type: "ed25519", + options: ED25519KeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "ed25519", + options: ED25519KeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "ed25519", + options: ED25519KeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "ed25519", + options: ED25519KeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "ed25519", + options: ED25519KeyPairKeyObjectOptions | undefined, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + function generateKeyPair( + type: "ed448", + options: ED448KeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "ed448", + options: ED448KeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "ed448", + options: ED448KeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "ed448", + options: ED448KeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "ed448", + options: ED448KeyPairKeyObjectOptions | undefined, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + function generateKeyPair( + type: "x25519", + options: X25519KeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "x25519", + options: X25519KeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "x25519", + options: X25519KeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "x25519", + options: X25519KeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "x25519", + options: X25519KeyPairKeyObjectOptions | undefined, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + function generateKeyPair( + type: "x448", + options: X448KeyPairOptions<"pem", "pem">, + callback: (err: Error | null, publicKey: string, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "x448", + options: X448KeyPairOptions<"pem", "der">, + callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "x448", + options: X448KeyPairOptions<"der", "pem">, + callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void, + ): void; + function generateKeyPair( + type: "x448", + options: X448KeyPairOptions<"der", "der">, + callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void, + ): void; + function generateKeyPair( + type: "x448", + options: X448KeyPairKeyObjectOptions | undefined, + callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void, + ): void; + namespace generateKeyPair { + function __promisify__( + type: "rsa", + options: RSAKeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "rsa", + options: RSAKeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "rsa", + options: RSAKeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "rsa", + options: RSAKeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__(type: "rsa", options: RSAKeyPairKeyObjectOptions): Promise; + function __promisify__( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "rsa-pss", + options: RSAPSSKeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__( + type: "rsa-pss", + options: RSAPSSKeyPairKeyObjectOptions, + ): Promise; + function __promisify__( + type: "dsa", + options: DSAKeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "dsa", + options: DSAKeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "dsa", + options: DSAKeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "dsa", + options: DSAKeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__(type: "dsa", options: DSAKeyPairKeyObjectOptions): Promise; + function __promisify__( + type: "ec", + options: ECKeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "ec", + options: ECKeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "ec", + options: ECKeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "ec", + options: ECKeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__(type: "ec", options: ECKeyPairKeyObjectOptions): Promise; + function __promisify__( + type: "ed25519", + options: ED25519KeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "ed25519", + options: ED25519KeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "ed25519", + options: ED25519KeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "ed25519", + options: ED25519KeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__( + type: "ed25519", + options?: ED25519KeyPairKeyObjectOptions, + ): Promise; + function __promisify__( + type: "ed448", + options: ED448KeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "ed448", + options: ED448KeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "ed448", + options: ED448KeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "ed448", + options: ED448KeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__(type: "ed448", options?: ED448KeyPairKeyObjectOptions): Promise; + function __promisify__( + type: "x25519", + options: X25519KeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "x25519", + options: X25519KeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "x25519", + options: X25519KeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "x25519", + options: X25519KeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__( + type: "x25519", + options?: X25519KeyPairKeyObjectOptions, + ): Promise; + function __promisify__( + type: "x448", + options: X448KeyPairOptions<"pem", "pem">, + ): Promise<{ + publicKey: string; + privateKey: string; + }>; + function __promisify__( + type: "x448", + options: X448KeyPairOptions<"pem", "der">, + ): Promise<{ + publicKey: string; + privateKey: Buffer; + }>; + function __promisify__( + type: "x448", + options: X448KeyPairOptions<"der", "pem">, + ): Promise<{ + publicKey: Buffer; + privateKey: string; + }>; + function __promisify__( + type: "x448", + options: X448KeyPairOptions<"der", "der">, + ): Promise<{ + publicKey: Buffer; + privateKey: Buffer; + }>; + function __promisify__(type: "x448", options?: X448KeyPairKeyObjectOptions): Promise; + } + /** + * Calculates and returns the signature for `data` using the given private key and + * algorithm. If `algorithm` is `null` or `undefined`, then the algorithm is + * dependent upon the key type (especially Ed25519 and Ed448). + * + * If `key` is not a `KeyObject`, this function behaves as if `key` had been + * passed to {@link createPrivateKey}. If it is an object, the following + * additional properties can be passed: + * + * If the `callback` function is provided this function uses libuv's threadpool. + * @since v12.0.0 + */ + function sign( + algorithm: string | null | undefined, + data: NodeJS.ArrayBufferView, + key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, + ): Buffer; + function sign( + algorithm: string | null | undefined, + data: NodeJS.ArrayBufferView, + key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, + callback: (error: Error | null, data: Buffer) => void, + ): void; + /** + * Verifies the given signature for `data` using the given key and algorithm. If`algorithm` is `null` or `undefined`, then the algorithm is dependent upon the + * key type (especially Ed25519 and Ed448). + * + * If `key` is not a `KeyObject`, this function behaves as if `key` had been + * passed to {@link createPublicKey}. If it is an object, the following + * additional properties can be passed: + * + * The `signature` argument is the previously calculated signature for the `data`. + * + * Because public keys can be derived from private keys, a private key or a public + * key may be passed for `key`. + * + * If the `callback` function is provided this function uses libuv's threadpool. + * @since v12.0.0 + */ + function verify( + algorithm: string | null | undefined, + data: NodeJS.ArrayBufferView, + key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, + signature: NodeJS.ArrayBufferView, + ): boolean; + function verify( + algorithm: string | null | undefined, + data: NodeJS.ArrayBufferView, + key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput | VerifyJsonWebKeyInput, + signature: NodeJS.ArrayBufferView, + callback: (error: Error | null, result: boolean) => void, + ): void; + /** + * Computes the Diffie-Hellman secret based on a `privateKey` and a `publicKey`. + * Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'`(for Diffie-Hellman), `'ec'` (for ECDH), `'x448'`, or `'x25519'` (for ECDH-ES). + * @since v13.9.0, v12.17.0 + */ + function diffieHellman(options: { privateKey: KeyObject; publicKey: KeyObject }): Buffer; + type CipherMode = "cbc" | "ccm" | "cfb" | "ctr" | "ecb" | "gcm" | "ocb" | "ofb" | "stream" | "wrap" | "xts"; + interface CipherInfoOptions { + /** + * A test key length. + */ + keyLength?: number | undefined; + /** + * A test IV length. + */ + ivLength?: number | undefined; + } + interface CipherInfo { + /** + * The name of the cipher. + */ + name: string; + /** + * The nid of the cipher. + */ + nid: number; + /** + * The block size of the cipher in bytes. + * This property is omitted when mode is 'stream'. + */ + blockSize?: number | undefined; + /** + * The expected or default initialization vector length in bytes. + * This property is omitted if the cipher does not use an initialization vector. + */ + ivLength?: number | undefined; + /** + * The expected or default key length in bytes. + */ + keyLength: number; + /** + * The cipher mode. + */ + mode: CipherMode; + } + /** + * Returns information about a given cipher. + * + * Some ciphers accept variable length keys and initialization vectors. By default, + * the `crypto.getCipherInfo()` method will return the default values for these + * ciphers. To test if a given key length or iv length is acceptable for given + * cipher, use the `keyLength` and `ivLength` options. If the given values are + * unacceptable, `undefined` will be returned. + * @since v15.0.0 + * @param nameOrNid The name or nid of the cipher to query. + */ + function getCipherInfo(nameOrNid: string | number, options?: CipherInfoOptions): CipherInfo | undefined; + /** + * HKDF is a simple key derivation function defined in RFC 5869\. The given `ikm`,`salt` and `info` are used with the `digest` to derive a key of `keylen` bytes. + * + * The supplied `callback` function is called with two arguments: `err` and`derivedKey`. If an errors occurs while deriving the key, `err` will be set; + * otherwise `err` will be `null`. The successfully generated `derivedKey` will + * be passed to the callback as an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). An error will be thrown if any + * of the input arguments specify invalid values or types. + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { + * hkdf, + * } = await import('node:crypto'); + * + * hkdf('sha512', 'key', 'salt', 'info', 64, (err, derivedKey) => { + * if (err) throw err; + * console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653' + * }); + * ``` + * @since v15.0.0 + * @param digest The digest algorithm to use. + * @param ikm The input keying material. Must be provided but can be zero-length. + * @param salt The salt value. Must be provided but can be zero-length. + * @param info Additional info value. Must be provided but can be zero-length, and cannot be more than 1024 bytes. + * @param keylen The length of the key to generate. Must be greater than 0. The maximum allowable value is `255` times the number of bytes produced by the selected digest function (e.g. `sha512` + * generates 64-byte hashes, making the maximum HKDF output 16320 bytes). + */ + function hkdf( + digest: string, + irm: BinaryLike | KeyObject, + salt: BinaryLike, + info: BinaryLike, + keylen: number, + callback: (err: Error | null, derivedKey: ArrayBuffer) => void, + ): void; + /** + * Provides a synchronous HKDF key derivation function as defined in RFC 5869\. The + * given `ikm`, `salt` and `info` are used with the `digest` to derive a key of`keylen` bytes. + * + * The successfully generated `derivedKey` will be returned as an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). + * + * An error will be thrown if any of the input arguments specify invalid values or + * types, or if the derived key cannot be generated. + * + * ```js + * import { Buffer } from 'node:buffer'; + * const { + * hkdfSync, + * } = await import('node:crypto'); + * + * const derivedKey = hkdfSync('sha512', 'key', 'salt', 'info', 64); + * console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653' + * ``` + * @since v15.0.0 + * @param digest The digest algorithm to use. + * @param ikm The input keying material. Must be provided but can be zero-length. + * @param salt The salt value. Must be provided but can be zero-length. + * @param info Additional info value. Must be provided but can be zero-length, and cannot be more than 1024 bytes. + * @param keylen The length of the key to generate. Must be greater than 0. The maximum allowable value is `255` times the number of bytes produced by the selected digest function (e.g. `sha512` + * generates 64-byte hashes, making the maximum HKDF output 16320 bytes). + */ + function hkdfSync( + digest: string, + ikm: BinaryLike | KeyObject, + salt: BinaryLike, + info: BinaryLike, + keylen: number, + ): ArrayBuffer; + interface SecureHeapUsage { + /** + * The total allocated secure heap size as specified using the `--secure-heap=n` command-line flag. + */ + total: number; + /** + * The minimum allocation from the secure heap as specified using the `--secure-heap-min` command-line flag. + */ + min: number; + /** + * The total number of bytes currently allocated from the secure heap. + */ + used: number; + /** + * The calculated ratio of `used` to `total` allocated bytes. + */ + utilization: number; + } + /** + * @since v15.6.0 + */ + function secureHeapUsed(): SecureHeapUsage; + interface RandomUUIDOptions { + /** + * By default, to improve performance, + * Node.js will pre-emptively generate and persistently cache enough + * random data to generate up to 128 random UUIDs. To generate a UUID + * without using the cache, set `disableEntropyCache` to `true`. + * + * @default `false` + */ + disableEntropyCache?: boolean | undefined; + } + /** + * Generates a random [RFC 4122](https://www.rfc-editor.org/rfc/rfc4122.txt) version 4 UUID. The UUID is generated using a + * cryptographic pseudorandom number generator. + * @since v15.6.0, v14.17.0 + */ + function randomUUID(options?: RandomUUIDOptions): string; + interface X509CheckOptions { + /** + * @default 'always' + */ + subject?: "always" | "default" | "never"; + /** + * @default true + */ + wildcards?: boolean; + /** + * @default true + */ + partialWildcards?: boolean; + /** + * @default false + */ + multiLabelWildcards?: boolean; + /** + * @default false + */ + singleLabelSubdomains?: boolean; + } + /** + * Encapsulates an X509 certificate and provides read-only access to + * its information. + * + * ```js + * const { X509Certificate } = await import('node:crypto'); + * + * const x509 = new X509Certificate('{... pem encoded cert ...}'); + * + * console.log(x509.subject); + * ``` + * @since v15.6.0 + */ + class X509Certificate { + /** + * Will be \`true\` if this is a Certificate Authority (CA) certificate. + * @since v15.6.0 + */ + readonly ca: boolean; + /** + * The SHA-1 fingerprint of this certificate. + * + * Because SHA-1 is cryptographically broken and because the security of SHA-1 is + * significantly worse than that of algorithms that are commonly used to sign + * certificates, consider using `x509.fingerprint256` instead. + * @since v15.6.0 + */ + readonly fingerprint: string; + /** + * The SHA-256 fingerprint of this certificate. + * @since v15.6.0 + */ + readonly fingerprint256: string; + /** + * The SHA-512 fingerprint of this certificate. + * + * Because computing the SHA-256 fingerprint is usually faster and because it is + * only half the size of the SHA-512 fingerprint, `x509.fingerprint256` may be + * a better choice. While SHA-512 presumably provides a higher level of security in + * general, the security of SHA-256 matches that of most algorithms that are + * commonly used to sign certificates. + * @since v17.2.0, v16.14.0 + */ + readonly fingerprint512: string; + /** + * The complete subject of this certificate. + * @since v15.6.0 + */ + readonly subject: string; + /** + * The subject alternative name specified for this certificate. + * + * This is a comma-separated list of subject alternative names. Each entry begins + * with a string identifying the kind of the subject alternative name followed by + * a colon and the value associated with the entry. + * + * Earlier versions of Node.js incorrectly assumed that it is safe to split this + * property at the two-character sequence `', '` (see [CVE-2021-44532](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44532)). However, + * both malicious and legitimate certificates can contain subject alternative names + * that include this sequence when represented as a string. + * + * After the prefix denoting the type of the entry, the remainder of each entry + * might be enclosed in quotes to indicate that the value is a JSON string literal. + * For backward compatibility, Node.js only uses JSON string literals within this + * property when necessary to avoid ambiguity. Third-party code should be prepared + * to handle both possible entry formats. + * @since v15.6.0 + */ + readonly subjectAltName: string | undefined; + /** + * A textual representation of the certificate's authority information access + * extension. + * + * This is a line feed separated list of access descriptions. Each line begins with + * the access method and the kind of the access location, followed by a colon and + * the value associated with the access location. + * + * After the prefix denoting the access method and the kind of the access location, + * the remainder of each line might be enclosed in quotes to indicate that the + * value is a JSON string literal. For backward compatibility, Node.js only uses + * JSON string literals within this property when necessary to avoid ambiguity. + * Third-party code should be prepared to handle both possible entry formats. + * @since v15.6.0 + */ + readonly infoAccess: string | undefined; + /** + * An array detailing the key usages for this certificate. + * @since v15.6.0 + */ + readonly keyUsage: string[]; + /** + * The issuer identification included in this certificate. + * @since v15.6.0 + */ + readonly issuer: string; + /** + * The issuer certificate or `undefined` if the issuer certificate is not + * available. + * @since v15.9.0 + */ + readonly issuerCertificate?: X509Certificate | undefined; + /** + * The public key `KeyObject` for this certificate. + * @since v15.6.0 + */ + readonly publicKey: KeyObject; + /** + * A `Buffer` containing the DER encoding of this certificate. + * @since v15.6.0 + */ + readonly raw: Buffer; + /** + * The serial number of this certificate. + * + * Serial numbers are assigned by certificate authorities and do not uniquely + * identify certificates. Consider using `x509.fingerprint256` as a unique + * identifier instead. + * @since v15.6.0 + */ + readonly serialNumber: string; + /** + * The date/time from which this certificate is considered valid. + * @since v15.6.0 + */ + readonly validFrom: string; + /** + * The date/time until which this certificate is considered valid. + * @since v15.6.0 + */ + readonly validTo: string; + constructor(buffer: BinaryLike); + /** + * Checks whether the certificate matches the given email address. + * + * If the `'subject'` option is undefined or set to `'default'`, the certificate + * subject is only considered if the subject alternative name extension either does + * not exist or does not contain any email addresses. + * + * If the `'subject'` option is set to `'always'` and if the subject alternative + * name extension either does not exist or does not contain a matching email + * address, the certificate subject is considered. + * + * If the `'subject'` option is set to `'never'`, the certificate subject is never + * considered, even if the certificate contains no subject alternative names. + * @since v15.6.0 + * @return Returns `email` if the certificate matches, `undefined` if it does not. + */ + checkEmail(email: string, options?: Pick): string | undefined; + /** + * Checks whether the certificate matches the given host name. + * + * If the certificate matches the given host name, the matching subject name is + * returned. The returned name might be an exact match (e.g., `foo.example.com`) + * or it might contain wildcards (e.g., `*.example.com`). Because host name + * comparisons are case-insensitive, the returned subject name might also differ + * from the given `name` in capitalization. + * + * If the `'subject'` option is undefined or set to `'default'`, the certificate + * subject is only considered if the subject alternative name extension either does + * not exist or does not contain any DNS names. This behavior is consistent with [RFC 2818](https://www.rfc-editor.org/rfc/rfc2818.txt) ("HTTP Over TLS"). + * + * If the `'subject'` option is set to `'always'` and if the subject alternative + * name extension either does not exist or does not contain a matching DNS name, + * the certificate subject is considered. + * + * If the `'subject'` option is set to `'never'`, the certificate subject is never + * considered, even if the certificate contains no subject alternative names. + * @since v15.6.0 + * @return Returns a subject name that matches `name`, or `undefined` if no subject name matches `name`. + */ + checkHost(name: string, options?: X509CheckOptions): string | undefined; + /** + * Checks whether the certificate matches the given IP address (IPv4 or IPv6). + * + * Only [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280.txt) `iPAddress` subject alternative names are considered, and they + * must match the given `ip` address exactly. Other subject alternative names as + * well as the subject field of the certificate are ignored. + * @since v15.6.0 + * @return Returns `ip` if the certificate matches, `undefined` if it does not. + */ + checkIP(ip: string): string | undefined; + /** + * Checks whether this certificate was issued by the given `otherCert`. + * @since v15.6.0 + */ + checkIssued(otherCert: X509Certificate): boolean; + /** + * Checks whether the public key for this certificate is consistent with + * the given private key. + * @since v15.6.0 + * @param privateKey A private key. + */ + checkPrivateKey(privateKey: KeyObject): boolean; + /** + * There is no standard JSON encoding for X509 certificates. The`toJSON()` method returns a string containing the PEM encoded + * certificate. + * @since v15.6.0 + */ + toJSON(): string; + /** + * Returns information about this certificate using the legacy `certificate object` encoding. + * @since v15.6.0 + */ + toLegacyObject(): PeerCertificate; + /** + * Returns the PEM-encoded certificate. + * @since v15.6.0 + */ + toString(): string; + /** + * Verifies that this certificate was signed by the given public key. + * Does not perform any other validation checks on the certificate. + * @since v15.6.0 + * @param publicKey A public key. + */ + verify(publicKey: KeyObject): boolean; + } + type LargeNumberLike = NodeJS.ArrayBufferView | SharedArrayBuffer | ArrayBuffer | bigint; + interface GeneratePrimeOptions { + add?: LargeNumberLike | undefined; + rem?: LargeNumberLike | undefined; + /** + * @default false + */ + safe?: boolean | undefined; + bigint?: boolean | undefined; + } + interface GeneratePrimeOptionsBigInt extends GeneratePrimeOptions { + bigint: true; + } + interface GeneratePrimeOptionsArrayBuffer extends GeneratePrimeOptions { + bigint?: false | undefined; + } + /** + * Generates a pseudorandom prime of `size` bits. + * + * If `options.safe` is `true`, the prime will be a safe prime -- that is,`(prime - 1) / 2` will also be a prime. + * + * The `options.add` and `options.rem` parameters can be used to enforce additional + * requirements, e.g., for Diffie-Hellman: + * + * * If `options.add` and `options.rem` are both set, the prime will satisfy the + * condition that `prime % add = rem`. + * * If only `options.add` is set and `options.safe` is not `true`, the prime will + * satisfy the condition that `prime % add = 1`. + * * If only `options.add` is set and `options.safe` is set to `true`, the prime + * will instead satisfy the condition that `prime % add = 3`. This is necessary + * because `prime % add = 1` for `options.add > 2` would contradict the condition + * enforced by `options.safe`. + * * `options.rem` is ignored if `options.add` is not given. + * + * Both `options.add` and `options.rem` must be encoded as big-endian sequences + * if given as an `ArrayBuffer`, `SharedArrayBuffer`, `TypedArray`, `Buffer`, or`DataView`. + * + * By default, the prime is encoded as a big-endian sequence of octets + * in an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). If the `bigint` option is `true`, then a + * [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) is provided. + * @since v15.8.0 + * @param size The size (in bits) of the prime to generate. + */ + function generatePrime(size: number, callback: (err: Error | null, prime: ArrayBuffer) => void): void; + function generatePrime( + size: number, + options: GeneratePrimeOptionsBigInt, + callback: (err: Error | null, prime: bigint) => void, + ): void; + function generatePrime( + size: number, + options: GeneratePrimeOptionsArrayBuffer, + callback: (err: Error | null, prime: ArrayBuffer) => void, + ): void; + function generatePrime( + size: number, + options: GeneratePrimeOptions, + callback: (err: Error | null, prime: ArrayBuffer | bigint) => void, + ): void; + /** + * Generates a pseudorandom prime of `size` bits. + * + * If `options.safe` is `true`, the prime will be a safe prime -- that is,`(prime - 1) / 2` will also be a prime. + * + * The `options.add` and `options.rem` parameters can be used to enforce additional + * requirements, e.g., for Diffie-Hellman: + * + * * If `options.add` and `options.rem` are both set, the prime will satisfy the + * condition that `prime % add = rem`. + * * If only `options.add` is set and `options.safe` is not `true`, the prime will + * satisfy the condition that `prime % add = 1`. + * * If only `options.add` is set and `options.safe` is set to `true`, the prime + * will instead satisfy the condition that `prime % add = 3`. This is necessary + * because `prime % add = 1` for `options.add > 2` would contradict the condition + * enforced by `options.safe`. + * * `options.rem` is ignored if `options.add` is not given. + * + * Both `options.add` and `options.rem` must be encoded as big-endian sequences + * if given as an `ArrayBuffer`, `SharedArrayBuffer`, `TypedArray`, `Buffer`, or`DataView`. + * + * By default, the prime is encoded as a big-endian sequence of octets + * in an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). If the `bigint` option is `true`, then a + * [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) is provided. + * @since v15.8.0 + * @param size The size (in bits) of the prime to generate. + */ + function generatePrimeSync(size: number): ArrayBuffer; + function generatePrimeSync(size: number, options: GeneratePrimeOptionsBigInt): bigint; + function generatePrimeSync(size: number, options: GeneratePrimeOptionsArrayBuffer): ArrayBuffer; + function generatePrimeSync(size: number, options: GeneratePrimeOptions): ArrayBuffer | bigint; + interface CheckPrimeOptions { + /** + * The number of Miller-Rabin probabilistic primality iterations to perform. + * When the value is 0 (zero), a number of checks is used that yields a false positive rate of at most `2**-64` for random input. + * Care must be used when selecting a number of checks. + * Refer to the OpenSSL documentation for the BN_is_prime_ex function nchecks options for more details. + * + * @default 0 + */ + checks?: number | undefined; + } + /** + * Checks the primality of the `candidate`. + * @since v15.8.0 + * @param candidate A possible prime encoded as a sequence of big endian octets of arbitrary length. + */ + function checkPrime(value: LargeNumberLike, callback: (err: Error | null, result: boolean) => void): void; + function checkPrime( + value: LargeNumberLike, + options: CheckPrimeOptions, + callback: (err: Error | null, result: boolean) => void, + ): void; + /** + * Checks the primality of the `candidate`. + * @since v15.8.0 + * @param candidate A possible prime encoded as a sequence of big endian octets of arbitrary length. + * @return `true` if the candidate is a prime with an error probability less than `0.25 ** options.checks`. + */ + function checkPrimeSync(candidate: LargeNumberLike, options?: CheckPrimeOptions): boolean; + /** + * Load and set the `engine` for some or all OpenSSL functions (selected by flags). + * + * `engine` could be either an id or a path to the engine's shared library. + * + * The optional `flags` argument uses `ENGINE_METHOD_ALL` by default. The `flags`is a bit field taking one of or a mix of the following flags (defined in`crypto.constants`): + * + * * `crypto.constants.ENGINE_METHOD_RSA` + * * `crypto.constants.ENGINE_METHOD_DSA` + * * `crypto.constants.ENGINE_METHOD_DH` + * * `crypto.constants.ENGINE_METHOD_RAND` + * * `crypto.constants.ENGINE_METHOD_EC` + * * `crypto.constants.ENGINE_METHOD_CIPHERS` + * * `crypto.constants.ENGINE_METHOD_DIGESTS` + * * `crypto.constants.ENGINE_METHOD_PKEY_METHS` + * * `crypto.constants.ENGINE_METHOD_PKEY_ASN1_METHS` + * * `crypto.constants.ENGINE_METHOD_ALL` + * * `crypto.constants.ENGINE_METHOD_NONE` + * @since v0.11.11 + * @param flags + */ + function setEngine(engine: string, flags?: number): void; + /** + * A convenient alias for {@link webcrypto.getRandomValues}. This + * implementation is not compliant with the Web Crypto spec, to write + * web-compatible code use {@link webcrypto.getRandomValues} instead. + * @since v17.4.0 + * @return Returns `typedArray`. + */ + function getRandomValues(typedArray: T): T; + /** + * A convenient alias for `crypto.webcrypto.subtle`. + * @since v17.4.0 + */ + const subtle: webcrypto.SubtleCrypto; + /** + * An implementation of the Web Crypto API standard. + * + * See the {@link https://nodejs.org/docs/latest/api/webcrypto.html Web Crypto API documentation} for details. + * @since v15.0.0 + */ + const webcrypto: webcrypto.Crypto; + namespace webcrypto { + type BufferSource = ArrayBufferView | ArrayBuffer; + type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki"; + type KeyType = "private" | "public" | "secret"; + type KeyUsage = + | "decrypt" + | "deriveBits" + | "deriveKey" + | "encrypt" + | "sign" + | "unwrapKey" + | "verify" + | "wrapKey"; + type AlgorithmIdentifier = Algorithm | string; + type HashAlgorithmIdentifier = AlgorithmIdentifier; + type NamedCurve = string; + type BigInteger = Uint8Array; + interface AesCbcParams extends Algorithm { + iv: BufferSource; + } + interface AesCtrParams extends Algorithm { + counter: BufferSource; + length: number; + } + interface AesDerivedKeyParams extends Algorithm { + length: number; + } + interface AesGcmParams extends Algorithm { + additionalData?: BufferSource; + iv: BufferSource; + tagLength?: number; + } + interface AesKeyAlgorithm extends KeyAlgorithm { + length: number; + } + interface AesKeyGenParams extends Algorithm { + length: number; + } + interface Algorithm { + name: string; + } + interface EcKeyAlgorithm extends KeyAlgorithm { + namedCurve: NamedCurve; + } + interface EcKeyGenParams extends Algorithm { + namedCurve: NamedCurve; + } + interface EcKeyImportParams extends Algorithm { + namedCurve: NamedCurve; + } + interface EcdhKeyDeriveParams extends Algorithm { + public: CryptoKey; + } + interface EcdsaParams extends Algorithm { + hash: HashAlgorithmIdentifier; + } + interface Ed448Params extends Algorithm { + context?: BufferSource; + } + interface HkdfParams extends Algorithm { + hash: HashAlgorithmIdentifier; + info: BufferSource; + salt: BufferSource; + } + interface HmacImportParams extends Algorithm { + hash: HashAlgorithmIdentifier; + length?: number; + } + interface HmacKeyAlgorithm extends KeyAlgorithm { + hash: KeyAlgorithm; + length: number; + } + interface HmacKeyGenParams extends Algorithm { + hash: HashAlgorithmIdentifier; + length?: number; + } + interface JsonWebKey { + alg?: string; + crv?: string; + d?: string; + dp?: string; + dq?: string; + e?: string; + ext?: boolean; + k?: string; + key_ops?: string[]; + kty?: string; + n?: string; + oth?: RsaOtherPrimesInfo[]; + p?: string; + q?: string; + qi?: string; + use?: string; + x?: string; + y?: string; + } + interface KeyAlgorithm { + name: string; + } + interface Pbkdf2Params extends Algorithm { + hash: HashAlgorithmIdentifier; + iterations: number; + salt: BufferSource; + } + interface RsaHashedImportParams extends Algorithm { + hash: HashAlgorithmIdentifier; + } + interface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm { + hash: KeyAlgorithm; + } + interface RsaHashedKeyGenParams extends RsaKeyGenParams { + hash: HashAlgorithmIdentifier; + } + interface RsaKeyAlgorithm extends KeyAlgorithm { + modulusLength: number; + publicExponent: BigInteger; + } + interface RsaKeyGenParams extends Algorithm { + modulusLength: number; + publicExponent: BigInteger; + } + interface RsaOaepParams extends Algorithm { + label?: BufferSource; + } + interface RsaOtherPrimesInfo { + d?: string; + r?: string; + t?: string; + } + interface RsaPssParams extends Algorithm { + saltLength: number; + } + /** + * Calling `require('node:crypto').webcrypto` returns an instance of the `Crypto` class. + * `Crypto` is a singleton that provides access to the remainder of the crypto API. + * @since v15.0.0 + */ + interface Crypto { + /** + * Provides access to the `SubtleCrypto` API. + * @since v15.0.0 + */ + readonly subtle: SubtleCrypto; + /** + * Generates cryptographically strong random values. + * The given `typedArray` is filled with random values, and a reference to `typedArray` is returned. + * + * The given `typedArray` must be an integer-based instance of {@link NodeJS.TypedArray}, i.e. `Float32Array` and `Float64Array` are not accepted. + * + * An error will be thrown if the given `typedArray` is larger than 65,536 bytes. + * @since v15.0.0 + */ + getRandomValues>(typedArray: T): T; + /** + * Generates a random {@link https://www.rfc-editor.org/rfc/rfc4122.txt RFC 4122} version 4 UUID. + * The UUID is generated using a cryptographic pseudorandom number generator. + * @since v16.7.0 + */ + randomUUID(): string; + CryptoKey: CryptoKeyConstructor; + } + // This constructor throws ILLEGAL_CONSTRUCTOR so it should not be newable. + interface CryptoKeyConstructor { + /** Illegal constructor */ + (_: { readonly _: unique symbol }): never; // Allows instanceof to work but not be callable by the user. + readonly length: 0; + readonly name: "CryptoKey"; + readonly prototype: CryptoKey; + } + /** + * @since v15.0.0 + */ + interface CryptoKey { + /** + * An object detailing the algorithm for which the key can be used along with additional algorithm-specific parameters. + * @since v15.0.0 + */ + readonly algorithm: KeyAlgorithm; + /** + * When `true`, the {@link CryptoKey} can be extracted using either `subtleCrypto.exportKey()` or `subtleCrypto.wrapKey()`. + * @since v15.0.0 + */ + readonly extractable: boolean; + /** + * A string identifying whether the key is a symmetric (`'secret'`) or asymmetric (`'private'` or `'public'`) key. + * @since v15.0.0 + */ + readonly type: KeyType; + /** + * An array of strings identifying the operations for which the key may be used. + * + * The possible usages are: + * - `'encrypt'` - The key may be used to encrypt data. + * - `'decrypt'` - The key may be used to decrypt data. + * - `'sign'` - The key may be used to generate digital signatures. + * - `'verify'` - The key may be used to verify digital signatures. + * - `'deriveKey'` - The key may be used to derive a new key. + * - `'deriveBits'` - The key may be used to derive bits. + * - `'wrapKey'` - The key may be used to wrap another key. + * - `'unwrapKey'` - The key may be used to unwrap another key. + * + * Valid key usages depend on the key algorithm (identified by `cryptokey.algorithm.name`). + * @since v15.0.0 + */ + readonly usages: KeyUsage[]; + } + /** + * The `CryptoKeyPair` is a simple dictionary object with `publicKey` and `privateKey` properties, representing an asymmetric key pair. + * @since v15.0.0 + */ + interface CryptoKeyPair { + /** + * A {@link CryptoKey} whose type will be `'private'`. + * @since v15.0.0 + */ + privateKey: CryptoKey; + /** + * A {@link CryptoKey} whose type will be `'public'`. + * @since v15.0.0 + */ + publicKey: CryptoKey; + } + /** + * @since v15.0.0 + */ + interface SubtleCrypto { + /** + * Using the method and parameters specified in `algorithm` and the keying material provided by `key`, + * `subtle.decrypt()` attempts to decipher the provided `data`. If successful, + * the returned promise will be resolved with an `` containing the plaintext result. + * + * The algorithms currently supported include: + * + * - `'RSA-OAEP'` + * - `'AES-CTR'` + * - `'AES-CBC'` + * - `'AES-GCM'` + * @since v15.0.0 + */ + decrypt( + algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, + key: CryptoKey, + data: BufferSource, + ): Promise; + /** + * Using the method and parameters specified in `algorithm` and the keying material provided by `baseKey`, + * `subtle.deriveBits()` attempts to generate `length` bits. + * The Node.js implementation requires that when `length` is a number it must be multiple of `8`. + * When `length` is `null` the maximum number of bits for a given algorithm is generated. This is allowed + * for the `'ECDH'`, `'X25519'`, and `'X448'` algorithms. + * If successful, the returned promise will be resolved with an `` containing the generated data. + * + * The algorithms currently supported include: + * + * - `'ECDH'` + * - `'X25519'` + * - `'X448'` + * - `'HKDF'` + * - `'PBKDF2'` + * @since v15.0.0 + */ + deriveBits(algorithm: EcdhKeyDeriveParams, baseKey: CryptoKey, length: number | null): Promise; + deriveBits( + algorithm: AlgorithmIdentifier | HkdfParams | Pbkdf2Params, + baseKey: CryptoKey, + length: number, + ): Promise; + /** + * Using the method and parameters specified in `algorithm`, and the keying material provided by `baseKey`, + * `subtle.deriveKey()` attempts to generate a new ` based on the method and parameters in `derivedKeyAlgorithm`. + * + * Calling `subtle.deriveKey()` is equivalent to calling `subtle.deriveBits()` to generate raw keying material, + * then passing the result into the `subtle.importKey()` method using the `deriveKeyAlgorithm`, `extractable`, and `keyUsages` parameters as input. + * + * The algorithms currently supported include: + * + * - `'ECDH'` + * - `'X25519'` + * - `'X448'` + * - `'HKDF'` + * - `'PBKDF2'` + * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. + * @since v15.0.0 + */ + deriveKey( + algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, + baseKey: CryptoKey, + derivedKeyAlgorithm: + | AlgorithmIdentifier + | AesDerivedKeyParams + | HmacImportParams + | HkdfParams + | Pbkdf2Params, + extractable: boolean, + keyUsages: readonly KeyUsage[], + ): Promise; + /** + * Using the method identified by `algorithm`, `subtle.digest()` attempts to generate a digest of `data`. + * If successful, the returned promise is resolved with an `` containing the computed digest. + * + * If `algorithm` is provided as a ``, it must be one of: + * + * - `'SHA-1'` + * - `'SHA-256'` + * - `'SHA-384'` + * - `'SHA-512'` + * + * If `algorithm` is provided as an ``, it must have a `name` property whose value is one of the above. + * @since v15.0.0 + */ + digest(algorithm: AlgorithmIdentifier, data: BufferSource): Promise; + /** + * Using the method and parameters specified by `algorithm` and the keying material provided by `key`, + * `subtle.encrypt()` attempts to encipher `data`. If successful, + * the returned promise is resolved with an `` containing the encrypted result. + * + * The algorithms currently supported include: + * + * - `'RSA-OAEP'` + * - `'AES-CTR'` + * - `'AES-CBC'` + * - `'AES-GCM'` + * @since v15.0.0 + */ + encrypt( + algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, + key: CryptoKey, + data: BufferSource, + ): Promise; + /** + * Exports the given key into the specified format, if supported. + * + * If the `` is not extractable, the returned promise will reject. + * + * When `format` is either `'pkcs8'` or `'spki'` and the export is successful, + * the returned promise will be resolved with an `` containing the exported key data. + * + * When `format` is `'jwk'` and the export is successful, the returned promise will be resolved with a + * JavaScript object conforming to the {@link https://tools.ietf.org/html/rfc7517 JSON Web Key} specification. + * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. + * @returns `` containing ``. + * @since v15.0.0 + */ + exportKey(format: "jwk", key: CryptoKey): Promise; + exportKey(format: Exclude, key: CryptoKey): Promise; + /** + * Using the method and parameters provided in `algorithm`, + * `subtle.generateKey()` attempts to generate new keying material. + * Depending the method used, the method may generate either a single `` or a ``. + * + * The `` (public and private key) generating algorithms supported include: + * + * - `'RSASSA-PKCS1-v1_5'` + * - `'RSA-PSS'` + * - `'RSA-OAEP'` + * - `'ECDSA'` + * - `'Ed25519'` + * - `'Ed448'` + * - `'ECDH'` + * - `'X25519'` + * - `'X448'` + * The `` (secret key) generating algorithms supported include: + * + * - `'HMAC'` + * - `'AES-CTR'` + * - `'AES-CBC'` + * - `'AES-GCM'` + * - `'AES-KW'` + * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. + * @since v15.0.0 + */ + generateKey( + algorithm: RsaHashedKeyGenParams | EcKeyGenParams, + extractable: boolean, + keyUsages: readonly KeyUsage[], + ): Promise; + generateKey( + algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, + extractable: boolean, + keyUsages: readonly KeyUsage[], + ): Promise; + generateKey( + algorithm: AlgorithmIdentifier, + extractable: boolean, + keyUsages: KeyUsage[], + ): Promise; + /** + * The `subtle.importKey()` method attempts to interpret the provided `keyData` as the given `format` + * to create a `` instance using the provided `algorithm`, `extractable`, and `keyUsages` arguments. + * If the import is successful, the returned promise will be resolved with the created ``. + * + * If importing a `'PBKDF2'` key, `extractable` must be `false`. + * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. + * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. + * @since v15.0.0 + */ + importKey( + format: "jwk", + keyData: JsonWebKey, + algorithm: + | AlgorithmIdentifier + | RsaHashedImportParams + | EcKeyImportParams + | HmacImportParams + | AesKeyAlgorithm, + extractable: boolean, + keyUsages: readonly KeyUsage[], + ): Promise; + importKey( + format: Exclude, + keyData: BufferSource, + algorithm: + | AlgorithmIdentifier + | RsaHashedImportParams + | EcKeyImportParams + | HmacImportParams + | AesKeyAlgorithm, + extractable: boolean, + keyUsages: KeyUsage[], + ): Promise; + /** + * Using the method and parameters given by `algorithm` and the keying material provided by `key`, + * `subtle.sign()` attempts to generate a cryptographic signature of `data`. If successful, + * the returned promise is resolved with an `` containing the generated signature. + * + * The algorithms currently supported include: + * + * - `'RSASSA-PKCS1-v1_5'` + * - `'RSA-PSS'` + * - `'ECDSA'` + * - `'Ed25519'` + * - `'Ed448'` + * - `'HMAC'` + * @since v15.0.0 + */ + sign( + algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | Ed448Params, + key: CryptoKey, + data: BufferSource, + ): Promise; + /** + * In cryptography, "wrapping a key" refers to exporting and then encrypting the keying material. + * The `subtle.unwrapKey()` method attempts to decrypt a wrapped key and create a `` instance. + * It is equivalent to calling `subtle.decrypt()` first on the encrypted key data (using the `wrappedKey`, `unwrapAlgo`, and `unwrappingKey` arguments as input) + * then passing the results in to the `subtle.importKey()` method using the `unwrappedKeyAlgo`, `extractable`, and `keyUsages` arguments as inputs. + * If successful, the returned promise is resolved with a `` object. + * + * The wrapping algorithms currently supported include: + * + * - `'RSA-OAEP'` + * - `'AES-CTR'` + * - `'AES-CBC'` + * - `'AES-GCM'` + * - `'AES-KW'` + * + * The unwrapped key algorithms supported include: + * + * - `'RSASSA-PKCS1-v1_5'` + * - `'RSA-PSS'` + * - `'RSA-OAEP'` + * - `'ECDSA'` + * - `'Ed25519'` + * - `'Ed448'` + * - `'ECDH'` + * - `'X25519'` + * - `'X448'` + * - `'HMAC'` + * - `'AES-CTR'` + * - `'AES-CBC'` + * - `'AES-GCM'` + * - `'AES-KW'` + * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. + * @param keyUsages See {@link https://nodejs.org/docs/latest/api/webcrypto.html#cryptokeyusages Key usages}. + * @since v15.0.0 + */ + unwrapKey( + format: KeyFormat, + wrappedKey: BufferSource, + unwrappingKey: CryptoKey, + unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, + unwrappedKeyAlgorithm: + | AlgorithmIdentifier + | RsaHashedImportParams + | EcKeyImportParams + | HmacImportParams + | AesKeyAlgorithm, + extractable: boolean, + keyUsages: KeyUsage[], + ): Promise; + /** + * Using the method and parameters given in `algorithm` and the keying material provided by `key`, + * `subtle.verify()` attempts to verify that `signature` is a valid cryptographic signature of `data`. + * The returned promise is resolved with either `true` or `false`. + * + * The algorithms currently supported include: + * + * - `'RSASSA-PKCS1-v1_5'` + * - `'RSA-PSS'` + * - `'ECDSA'` + * - `'Ed25519'` + * - `'Ed448'` + * - `'HMAC'` + * @since v15.0.0 + */ + verify( + algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams | Ed448Params, + key: CryptoKey, + signature: BufferSource, + data: BufferSource, + ): Promise; + /** + * In cryptography, "wrapping a key" refers to exporting and then encrypting the keying material. + * The `subtle.wrapKey()` method exports the keying material into the format identified by `format`, + * then encrypts it using the method and parameters specified by `wrapAlgo` and the keying material provided by `wrappingKey`. + * It is the equivalent to calling `subtle.exportKey()` using `format` and `key` as the arguments, + * then passing the result to the `subtle.encrypt()` method using `wrappingKey` and `wrapAlgo` as inputs. + * If successful, the returned promise will be resolved with an `` containing the encrypted key data. + * + * The wrapping algorithms currently supported include: + * + * - `'RSA-OAEP'` + * - `'AES-CTR'` + * - `'AES-CBC'` + * - `'AES-GCM'` + * - `'AES-KW'` + * @param format Must be one of `'raw'`, `'pkcs8'`, `'spki'`, or `'jwk'`. + * @since v15.0.0 + */ + wrapKey( + format: KeyFormat, + key: CryptoKey, + wrappingKey: CryptoKey, + wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, + ): Promise; + } + } +} +declare module "node:crypto" { + export * from "crypto"; +} diff --git a/node_modules/@types/node/ts4.8/dgram.d.ts b/node_modules/@types/node/ts4.8/dgram.d.ts new file mode 100644 index 000000000..692e547fc --- /dev/null +++ b/node_modules/@types/node/ts4.8/dgram.d.ts @@ -0,0 +1,586 @@ +/** + * The `node:dgram` module provides an implementation of UDP datagram sockets. + * + * ```js + * import dgram from 'node:dgram'; + * + * const server = dgram.createSocket('udp4'); + * + * server.on('error', (err) => { + * console.error(`server error:\n${err.stack}`); + * server.close(); + * }); + * + * server.on('message', (msg, rinfo) => { + * console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`); + * }); + * + * server.on('listening', () => { + * const address = server.address(); + * console.log(`server listening ${address.address}:${address.port}`); + * }); + * + * server.bind(41234); + * // Prints: server listening 0.0.0.0:41234 + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/dgram.js) + */ +declare module "dgram" { + import { AddressInfo } from "node:net"; + import * as dns from "node:dns"; + import { Abortable, EventEmitter } from "node:events"; + interface RemoteInfo { + address: string; + family: "IPv4" | "IPv6"; + port: number; + size: number; + } + interface BindOptions { + port?: number | undefined; + address?: string | undefined; + exclusive?: boolean | undefined; + fd?: number | undefined; + } + type SocketType = "udp4" | "udp6"; + interface SocketOptions extends Abortable { + type: SocketType; + reuseAddr?: boolean | undefined; + /** + * @default false + */ + ipv6Only?: boolean | undefined; + recvBufferSize?: number | undefined; + sendBufferSize?: number | undefined; + lookup?: + | (( + hostname: string, + options: dns.LookupOneOptions, + callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, + ) => void) + | undefined; + } + /** + * Creates a `dgram.Socket` object. Once the socket is created, calling `socket.bind()` will instruct the socket to begin listening for datagram + * messages. When `address` and `port` are not passed to `socket.bind()` the + * method will bind the socket to the "all interfaces" address on a random port + * (it does the right thing for both `udp4` and `udp6` sockets). The bound address + * and port can be retrieved using `socket.address().address` and `socket.address().port`. + * + * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.close()` on the socket: + * + * ```js + * const controller = new AbortController(); + * const { signal } = controller; + * const server = dgram.createSocket({ type: 'udp4', signal }); + * server.on('message', (msg, rinfo) => { + * console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`); + * }); + * // Later, when you want to close the server. + * controller.abort(); + * ``` + * @since v0.11.13 + * @param options Available options are: + * @param callback Attached as a listener for `'message'` events. Optional. + */ + function createSocket(type: SocketType, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; + function createSocket(options: SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; + /** + * Encapsulates the datagram functionality. + * + * New instances of `dgram.Socket` are created using {@link createSocket}. + * The `new` keyword is not to be used to create `dgram.Socket` instances. + * @since v0.1.99 + */ + class Socket extends EventEmitter { + /** + * Tells the kernel to join a multicast group at the given `multicastAddress` and`multicastInterface` using the `IP_ADD_MEMBERSHIP` socket option. If the`multicastInterface` argument is not + * specified, the operating system will choose + * one interface and will add membership to it. To add membership to every + * available interface, call `addMembership` multiple times, once per interface. + * + * When called on an unbound socket, this method will implicitly bind to a random + * port, listening on all interfaces. + * + * When sharing a UDP socket across multiple `cluster` workers, the`socket.addMembership()` function must be called only once or an`EADDRINUSE` error will occur: + * + * ```js + * import cluster from 'node:cluster'; + * import dgram from 'node:dgram'; + * + * if (cluster.isPrimary) { + * cluster.fork(); // Works ok. + * cluster.fork(); // Fails with EADDRINUSE. + * } else { + * const s = dgram.createSocket('udp4'); + * s.bind(1234, () => { + * s.addMembership('224.0.0.114'); + * }); + * } + * ``` + * @since v0.6.9 + */ + addMembership(multicastAddress: string, multicastInterface?: string): void; + /** + * Returns an object containing the address information for a socket. + * For UDP sockets, this object will contain `address`, `family`, and `port`properties. + * + * This method throws `EBADF` if called on an unbound socket. + * @since v0.1.99 + */ + address(): AddressInfo; + /** + * For UDP sockets, causes the `dgram.Socket` to listen for datagram + * messages on a named `port` and optional `address`. If `port` is not + * specified or is `0`, the operating system will attempt to bind to a + * random port. If `address` is not specified, the operating system will + * attempt to listen on all addresses. Once binding is complete, a`'listening'` event is emitted and the optional `callback` function is + * called. + * + * Specifying both a `'listening'` event listener and passing a`callback` to the `socket.bind()` method is not harmful but not very + * useful. + * + * A bound datagram socket keeps the Node.js process running to receive + * datagram messages. + * + * If binding fails, an `'error'` event is generated. In rare case (e.g. + * attempting to bind with a closed socket), an `Error` may be thrown. + * + * Example of a UDP server listening on port 41234: + * + * ```js + * import dgram from 'node:dgram'; + * + * const server = dgram.createSocket('udp4'); + * + * server.on('error', (err) => { + * console.error(`server error:\n${err.stack}`); + * server.close(); + * }); + * + * server.on('message', (msg, rinfo) => { + * console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`); + * }); + * + * server.on('listening', () => { + * const address = server.address(); + * console.log(`server listening ${address.address}:${address.port}`); + * }); + * + * server.bind(41234); + * // Prints: server listening 0.0.0.0:41234 + * ``` + * @since v0.1.99 + * @param callback with no parameters. Called when binding is complete. + */ + bind(port?: number, address?: string, callback?: () => void): this; + bind(port?: number, callback?: () => void): this; + bind(callback?: () => void): this; + bind(options: BindOptions, callback?: () => void): this; + /** + * Close the underlying socket and stop listening for data on it. If a callback is + * provided, it is added as a listener for the `'close'` event. + * @since v0.1.99 + * @param callback Called when the socket has been closed. + */ + close(callback?: () => void): this; + /** + * Associates the `dgram.Socket` to a remote address and port. Every + * message sent by this handle is automatically sent to that destination. Also, + * the socket will only receive messages from that remote peer. + * Trying to call `connect()` on an already connected socket will result + * in an `ERR_SOCKET_DGRAM_IS_CONNECTED` exception. If `address` is not + * provided, `'127.0.0.1'` (for `udp4` sockets) or `'::1'` (for `udp6` sockets) + * will be used by default. Once the connection is complete, a `'connect'` event + * is emitted and the optional `callback` function is called. In case of failure, + * the `callback` is called or, failing this, an `'error'` event is emitted. + * @since v12.0.0 + * @param callback Called when the connection is completed or on error. + */ + connect(port: number, address?: string, callback?: () => void): void; + connect(port: number, callback: () => void): void; + /** + * A synchronous function that disassociates a connected `dgram.Socket` from + * its remote address. Trying to call `disconnect()` on an unbound or already + * disconnected socket will result in an `ERR_SOCKET_DGRAM_NOT_CONNECTED` exception. + * @since v12.0.0 + */ + disconnect(): void; + /** + * Instructs the kernel to leave a multicast group at `multicastAddress` using the`IP_DROP_MEMBERSHIP` socket option. This method is automatically called by the + * kernel when the socket is closed or the process terminates, so most apps will + * never have reason to call this. + * + * If `multicastInterface` is not specified, the operating system will attempt to + * drop membership on all valid interfaces. + * @since v0.6.9 + */ + dropMembership(multicastAddress: string, multicastInterface?: string): void; + /** + * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. + * @since v8.7.0 + * @return the `SO_RCVBUF` socket receive buffer size in bytes. + */ + getRecvBufferSize(): number; + /** + * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. + * @since v8.7.0 + * @return the `SO_SNDBUF` socket send buffer size in bytes. + */ + getSendBufferSize(): number; + /** + * By default, binding a socket will cause it to block the Node.js process from + * exiting as long as the socket is open. The `socket.unref()` method can be used + * to exclude the socket from the reference counting that keeps the Node.js + * process active. The `socket.ref()` method adds the socket back to the reference + * counting and restores the default behavior. + * + * Calling `socket.ref()` multiples times will have no additional effect. + * + * The `socket.ref()` method returns a reference to the socket so calls can be + * chained. + * @since v0.9.1 + */ + ref(): this; + /** + * Returns an object containing the `address`, `family`, and `port` of the remote + * endpoint. This method throws an `ERR_SOCKET_DGRAM_NOT_CONNECTED` exception + * if the socket is not connected. + * @since v12.0.0 + */ + remoteAddress(): AddressInfo; + /** + * Broadcasts a datagram on the socket. + * For connectionless sockets, the destination `port` and `address` must be + * specified. Connected sockets, on the other hand, will use their associated + * remote endpoint, so the `port` and `address` arguments must not be set. + * + * The `msg` argument contains the message to be sent. + * Depending on its type, different behavior can apply. If `msg` is a `Buffer`, + * any `TypedArray` or a `DataView`, + * the `offset` and `length` specify the offset within the `Buffer` where the + * message begins and the number of bytes in the message, respectively. + * If `msg` is a `String`, then it is automatically converted to a `Buffer`with `'utf8'` encoding. With messages that + * contain multi-byte characters, `offset` and `length` will be calculated with + * respect to `byte length` and not the character position. + * If `msg` is an array, `offset` and `length` must not be specified. + * + * The `address` argument is a string. If the value of `address` is a host name, + * DNS will be used to resolve the address of the host. If `address` is not + * provided or otherwise nullish, `'127.0.0.1'` (for `udp4` sockets) or `'::1'`(for `udp6` sockets) will be used by default. + * + * If the socket has not been previously bound with a call to `bind`, the socket + * is assigned a random port number and is bound to the "all interfaces" address + * (`'0.0.0.0'` for `udp4` sockets, `'::0'` for `udp6` sockets.) + * + * An optional `callback` function may be specified to as a way of reporting + * DNS errors or for determining when it is safe to reuse the `buf` object. + * DNS lookups delay the time to send for at least one tick of the + * Node.js event loop. + * + * The only way to know for sure that the datagram has been sent is by using a`callback`. If an error occurs and a `callback` is given, the error will be + * passed as the first argument to the `callback`. If a `callback` is not given, + * the error is emitted as an `'error'` event on the `socket` object. + * + * Offset and length are optional but both _must_ be set if either are used. + * They are supported only when the first argument is a `Buffer`, a `TypedArray`, + * or a `DataView`. + * + * This method throws `ERR_SOCKET_BAD_PORT` if called on an unbound socket. + * + * Example of sending a UDP packet to a port on `localhost`; + * + * ```js + * import dgram from 'node:dgram'; + * import { Buffer } from 'node:buffer'; + * + * const message = Buffer.from('Some bytes'); + * const client = dgram.createSocket('udp4'); + * client.send(message, 41234, 'localhost', (err) => { + * client.close(); + * }); + * ``` + * + * Example of sending a UDP packet composed of multiple buffers to a port on`127.0.0.1`; + * + * ```js + * import dgram from 'node:dgram'; + * import { Buffer } from 'node:buffer'; + * + * const buf1 = Buffer.from('Some '); + * const buf2 = Buffer.from('bytes'); + * const client = dgram.createSocket('udp4'); + * client.send([buf1, buf2], 41234, (err) => { + * client.close(); + * }); + * ``` + * + * Sending multiple buffers might be faster or slower depending on the + * application and operating system. Run benchmarks to + * determine the optimal strategy on a case-by-case basis. Generally speaking, + * however, sending multiple buffers is faster. + * + * Example of sending a UDP packet using a socket connected to a port on`localhost`: + * + * ```js + * import dgram from 'node:dgram'; + * import { Buffer } from 'node:buffer'; + * + * const message = Buffer.from('Some bytes'); + * const client = dgram.createSocket('udp4'); + * client.connect(41234, 'localhost', (err) => { + * client.send(message, (err) => { + * client.close(); + * }); + * }); + * ``` + * @since v0.1.99 + * @param msg Message to be sent. + * @param offset Offset in the buffer where the message starts. + * @param length Number of bytes in the message. + * @param port Destination port. + * @param address Destination host name or IP address. + * @param callback Called when the message has been sent. + */ + send( + msg: string | Uint8Array | readonly any[], + port?: number, + address?: string, + callback?: (error: Error | null, bytes: number) => void, + ): void; + send( + msg: string | Uint8Array | readonly any[], + port?: number, + callback?: (error: Error | null, bytes: number) => void, + ): void; + send( + msg: string | Uint8Array | readonly any[], + callback?: (error: Error | null, bytes: number) => void, + ): void; + send( + msg: string | Uint8Array, + offset: number, + length: number, + port?: number, + address?: string, + callback?: (error: Error | null, bytes: number) => void, + ): void; + send( + msg: string | Uint8Array, + offset: number, + length: number, + port?: number, + callback?: (error: Error | null, bytes: number) => void, + ): void; + send( + msg: string | Uint8Array, + offset: number, + length: number, + callback?: (error: Error | null, bytes: number) => void, + ): void; + /** + * Sets or clears the `SO_BROADCAST` socket option. When set to `true`, UDP + * packets may be sent to a local interface's broadcast address. + * + * This method throws `EBADF` if called on an unbound socket. + * @since v0.6.9 + */ + setBroadcast(flag: boolean): void; + /** + * _All references to scope in this section are referring to [IPv6 Zone Indices](https://en.wikipedia.org/wiki/IPv6_address#Scoped_literal_IPv6_addresses), which are defined by [RFC + * 4007](https://tools.ietf.org/html/rfc4007). In string form, an IP_ + * _with a scope index is written as `'IP%scope'` where scope is an interface name_ + * _or interface number._ + * + * Sets the default outgoing multicast interface of the socket to a chosen + * interface or back to system interface selection. The `multicastInterface` must + * be a valid string representation of an IP from the socket's family. + * + * For IPv4 sockets, this should be the IP configured for the desired physical + * interface. All packets sent to multicast on the socket will be sent on the + * interface determined by the most recent successful use of this call. + * + * For IPv6 sockets, `multicastInterface` should include a scope to indicate the + * interface as in the examples that follow. In IPv6, individual `send` calls can + * also use explicit scope in addresses, so only packets sent to a multicast + * address without specifying an explicit scope are affected by the most recent + * successful use of this call. + * + * This method throws `EBADF` if called on an unbound socket. + * + * #### Example: IPv6 outgoing multicast interface + * + * On most systems, where scope format uses the interface name: + * + * ```js + * const socket = dgram.createSocket('udp6'); + * + * socket.bind(1234, () => { + * socket.setMulticastInterface('::%eth1'); + * }); + * ``` + * + * On Windows, where scope format uses an interface number: + * + * ```js + * const socket = dgram.createSocket('udp6'); + * + * socket.bind(1234, () => { + * socket.setMulticastInterface('::%2'); + * }); + * ``` + * + * #### Example: IPv4 outgoing multicast interface + * + * All systems use an IP of the host on the desired physical interface: + * + * ```js + * const socket = dgram.createSocket('udp4'); + * + * socket.bind(1234, () => { + * socket.setMulticastInterface('10.0.0.2'); + * }); + * ``` + * @since v8.6.0 + */ + setMulticastInterface(multicastInterface: string): void; + /** + * Sets or clears the `IP_MULTICAST_LOOP` socket option. When set to `true`, + * multicast packets will also be received on the local interface. + * + * This method throws `EBADF` if called on an unbound socket. + * @since v0.3.8 + */ + setMulticastLoopback(flag: boolean): boolean; + /** + * Sets the `IP_MULTICAST_TTL` socket option. While TTL generally stands for + * "Time to Live", in this context it specifies the number of IP hops that a + * packet is allowed to travel through, specifically for multicast traffic. Each + * router or gateway that forwards a packet decrements the TTL. If the TTL is + * decremented to 0 by a router, it will not be forwarded. + * + * The `ttl` argument may be between 0 and 255\. The default on most systems is `1`. + * + * This method throws `EBADF` if called on an unbound socket. + * @since v0.3.8 + */ + setMulticastTTL(ttl: number): number; + /** + * Sets the `SO_RCVBUF` socket option. Sets the maximum socket receive buffer + * in bytes. + * + * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. + * @since v8.7.0 + */ + setRecvBufferSize(size: number): void; + /** + * Sets the `SO_SNDBUF` socket option. Sets the maximum socket send buffer + * in bytes. + * + * This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket. + * @since v8.7.0 + */ + setSendBufferSize(size: number): void; + /** + * Sets the `IP_TTL` socket option. While TTL generally stands for "Time to Live", + * in this context it specifies the number of IP hops that a packet is allowed to + * travel through. Each router or gateway that forwards a packet decrements the + * TTL. If the TTL is decremented to 0 by a router, it will not be forwarded. + * Changing TTL values is typically done for network probes or when multicasting. + * + * The `ttl` argument may be between 1 and 255\. The default on most systems + * is 64. + * + * This method throws `EBADF` if called on an unbound socket. + * @since v0.1.101 + */ + setTTL(ttl: number): number; + /** + * By default, binding a socket will cause it to block the Node.js process from + * exiting as long as the socket is open. The `socket.unref()` method can be used + * to exclude the socket from the reference counting that keeps the Node.js + * process active, allowing the process to exit even if the socket is still + * listening. + * + * Calling `socket.unref()` multiple times will have no additional effect. + * + * The `socket.unref()` method returns a reference to the socket so calls can be + * chained. + * @since v0.9.1 + */ + unref(): this; + /** + * Tells the kernel to join a source-specific multicast channel at the given`sourceAddress` and `groupAddress`, using the `multicastInterface` with the`IP_ADD_SOURCE_MEMBERSHIP` socket + * option. If the `multicastInterface` argument + * is not specified, the operating system will choose one interface and will add + * membership to it. To add membership to every available interface, call`socket.addSourceSpecificMembership()` multiple times, once per interface. + * + * When called on an unbound socket, this method will implicitly bind to a random + * port, listening on all interfaces. + * @since v13.1.0, v12.16.0 + */ + addSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void; + /** + * Instructs the kernel to leave a source-specific multicast channel at the given`sourceAddress` and `groupAddress` using the `IP_DROP_SOURCE_MEMBERSHIP`socket option. This method is + * automatically called by the kernel when the + * socket is closed or the process terminates, so most apps will never have + * reason to call this. + * + * If `multicastInterface` is not specified, the operating system will attempt to + * drop membership on all valid interfaces. + * @since v13.1.0, v12.16.0 + */ + dropSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void; + /** + * events.EventEmitter + * 1. close + * 2. connect + * 3. error + * 4. listening + * 5. message + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "connect", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "listening", listener: () => void): this; + addListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "close"): boolean; + emit(event: "connect"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "listening"): boolean; + emit(event: "message", msg: Buffer, rinfo: RemoteInfo): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "close", listener: () => void): this; + on(event: "connect", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "listening", listener: () => void): this; + on(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "connect", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "listening", listener: () => void): this; + once(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "connect", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "listening", listener: () => void): this; + prependListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "connect", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "listening", listener: () => void): this; + prependOnceListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; + /** + * Calls `socket.close()` and returns a promise that fulfills when the socket has closed. + * @since v20.5.0 + */ + [Symbol.asyncDispose](): Promise; + } +} +declare module "node:dgram" { + export * from "dgram"; +} diff --git a/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts b/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts new file mode 100644 index 000000000..b02f59178 --- /dev/null +++ b/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts @@ -0,0 +1,191 @@ +/** + * The `node:diagnostics_channel` module provides an API to create named channels + * to report arbitrary message data for diagnostics purposes. + * + * It can be accessed using: + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * ``` + * + * It is intended that a module writer wanting to report diagnostics messages + * will create one or many top-level channels to report messages through. + * Channels may also be acquired at runtime but it is not encouraged + * due to the additional overhead of doing so. Channels may be exported for + * convenience, but as long as the name is known it can be acquired anywhere. + * + * If you intend for your module to produce diagnostics data for others to + * consume it is recommended that you include documentation of what named + * channels are used along with the shape of the message data. Channel names + * should generally include the module name to avoid collisions with data from + * other modules. + * @since v15.1.0, v14.17.0 + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/diagnostics_channel.js) + */ +declare module "diagnostics_channel" { + /** + * Check if there are active subscribers to the named channel. This is helpful if + * the message you want to send might be expensive to prepare. + * + * This API is optional but helpful when trying to publish messages from very + * performance-sensitive code. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * if (diagnostics_channel.hasSubscribers('my-channel')) { + * // There are subscribers, prepare and publish message + * } + * ``` + * @since v15.1.0, v14.17.0 + * @param name The channel name + * @return If there are active subscribers + */ + function hasSubscribers(name: string | symbol): boolean; + /** + * This is the primary entry-point for anyone wanting to publish to a named + * channel. It produces a channel object which is optimized to reduce overhead at + * publish time as much as possible. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * const channel = diagnostics_channel.channel('my-channel'); + * ``` + * @since v15.1.0, v14.17.0 + * @param name The channel name + * @return The named channel object + */ + function channel(name: string | symbol): Channel; + type ChannelListener = (message: unknown, name: string | symbol) => void; + /** + * Register a message handler to subscribe to this channel. This message handler + * will be run synchronously whenever a message is published to the channel. Any + * errors thrown in the message handler will trigger an `'uncaughtException'`. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * diagnostics_channel.subscribe('my-channel', (message, name) => { + * // Received data + * }); + * ``` + * @since v18.7.0, v16.17.0 + * @param name The channel name + * @param onMessage The handler to receive channel messages + */ + function subscribe(name: string | symbol, onMessage: ChannelListener): void; + /** + * Remove a message handler previously registered to this channel with {@link subscribe}. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * function onMessage(message, name) { + * // Received data + * } + * + * diagnostics_channel.subscribe('my-channel', onMessage); + * + * diagnostics_channel.unsubscribe('my-channel', onMessage); + * ``` + * @since v18.7.0, v16.17.0 + * @param name The channel name + * @param onMessage The previous subscribed handler to remove + * @return `true` if the handler was found, `false` otherwise. + */ + function unsubscribe(name: string | symbol, onMessage: ChannelListener): boolean; + /** + * The class `Channel` represents an individual named channel within the data + * pipeline. It is used to track subscribers and to publish messages when there + * are subscribers present. It exists as a separate object to avoid channel + * lookups at publish time, enabling very fast publish speeds and allowing + * for heavy use while incurring very minimal cost. Channels are created with {@link channel}, constructing a channel directly + * with `new Channel(name)` is not supported. + * @since v15.1.0, v14.17.0 + */ + class Channel { + readonly name: string | symbol; + /** + * Check if there are active subscribers to this channel. This is helpful if + * the message you want to send might be expensive to prepare. + * + * This API is optional but helpful when trying to publish messages from very + * performance-sensitive code. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * const channel = diagnostics_channel.channel('my-channel'); + * + * if (channel.hasSubscribers) { + * // There are subscribers, prepare and publish message + * } + * ``` + * @since v15.1.0, v14.17.0 + */ + readonly hasSubscribers: boolean; + private constructor(name: string | symbol); + /** + * Publish a message to any subscribers to the channel. This will trigger + * message handlers synchronously so they will execute within the same context. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * const channel = diagnostics_channel.channel('my-channel'); + * + * channel.publish({ + * some: 'message', + * }); + * ``` + * @since v15.1.0, v14.17.0 + * @param message The message to send to the channel subscribers + */ + publish(message: unknown): void; + /** + * Register a message handler to subscribe to this channel. This message handler + * will be run synchronously whenever a message is published to the channel. Any + * errors thrown in the message handler will trigger an `'uncaughtException'`. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * const channel = diagnostics_channel.channel('my-channel'); + * + * channel.subscribe((message, name) => { + * // Received data + * }); + * ``` + * @since v15.1.0, v14.17.0 + * @deprecated Since v18.7.0,v16.17.0 - Use {@link subscribe(name, onMessage)} + * @param onMessage The handler to receive channel messages + */ + subscribe(onMessage: ChannelListener): void; + /** + * Remove a message handler previously registered to this channel with `channel.subscribe(onMessage)`. + * + * ```js + * import diagnostics_channel from 'node:diagnostics_channel'; + * + * const channel = diagnostics_channel.channel('my-channel'); + * + * function onMessage(message, name) { + * // Received data + * } + * + * channel.subscribe(onMessage); + * + * channel.unsubscribe(onMessage); + * ``` + * @since v15.1.0, v14.17.0 + * @deprecated Since v18.7.0,v16.17.0 - Use {@link unsubscribe(name, onMessage)} + * @param onMessage The previous subscribed handler to remove + * @return `true` if the handler was found, `false` otherwise. + */ + unsubscribe(onMessage: ChannelListener): void; + } +} +declare module "node:diagnostics_channel" { + export * from "diagnostics_channel"; +} diff --git a/node_modules/@types/node/ts4.8/dns.d.ts b/node_modules/@types/node/ts4.8/dns.d.ts new file mode 100644 index 000000000..380cf7d70 --- /dev/null +++ b/node_modules/@types/node/ts4.8/dns.d.ts @@ -0,0 +1,809 @@ +/** + * The `node:dns` module enables name resolution. For example, use it to look up IP + * addresses of host names. + * + * Although named for the [Domain Name System (DNS)](https://en.wikipedia.org/wiki/Domain_Name_System), it does not always use the + * DNS protocol for lookups. {@link lookup} uses the operating system + * facilities to perform name resolution. It may not need to perform any network + * communication. To perform name resolution the way other applications on the same + * system do, use {@link lookup}. + * + * ```js + * const dns = require('node:dns'); + * + * dns.lookup('example.org', (err, address, family) => { + * console.log('address: %j family: IPv%s', address, family); + * }); + * // address: "93.184.216.34" family: IPv4 + * ``` + * + * All other functions in the `node:dns` module connect to an actual DNS server to + * perform name resolution. They will always use the network to perform DNS + * queries. These functions do not use the same set of configuration files used by {@link lookup} (e.g. `/etc/hosts`). Use these functions to always perform + * DNS queries, bypassing other name-resolution facilities. + * + * ```js + * const dns = require('node:dns'); + * + * dns.resolve4('archive.org', (err, addresses) => { + * if (err) throw err; + * + * console.log(`addresses: ${JSON.stringify(addresses)}`); + * + * addresses.forEach((a) => { + * dns.reverse(a, (err, hostnames) => { + * if (err) { + * throw err; + * } + * console.log(`reverse for ${a}: ${JSON.stringify(hostnames)}`); + * }); + * }); + * }); + * ``` + * + * See the `Implementation considerations section` for more information. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/dns.js) + */ +declare module "dns" { + import * as dnsPromises from "node:dns/promises"; + // Supported getaddrinfo flags. + export const ADDRCONFIG: number; + export const V4MAPPED: number; + /** + * If `dns.V4MAPPED` is specified, return resolved IPv6 addresses as + * well as IPv4 mapped IPv6 addresses. + */ + export const ALL: number; + export interface LookupOptions { + family?: number | undefined; + hints?: number | undefined; + all?: boolean | undefined; + /** + * @default true + */ + verbatim?: boolean | undefined; + } + export interface LookupOneOptions extends LookupOptions { + all?: false | undefined; + } + export interface LookupAllOptions extends LookupOptions { + all: true; + } + export interface LookupAddress { + address: string; + family: number; + } + /** + * Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or + * AAAA (IPv6) record. All `option` properties are optional. If `options` is an + * integer, then it must be `4` or `6` – if `options` is `0` or not provided, then + * IPv4 and IPv6 addresses are both returned if found. + * + * With the `all` option set to `true`, the arguments for `callback` change to`(err, addresses)`, with `addresses` being an array of objects with the + * properties `address` and `family`. + * + * On error, `err` is an `Error` object, where `err.code` is the error code. + * Keep in mind that `err.code` will be set to `'ENOTFOUND'` not only when + * the host name does not exist but also when the lookup fails in other ways + * such as no available file descriptors. + * + * `dns.lookup()` does not necessarily have anything to do with the DNS protocol. + * The implementation uses an operating system facility that can associate names + * with addresses and vice versa. This implementation can have subtle but + * important consequences on the behavior of any Node.js program. Please take some + * time to consult the `Implementation considerations section` before using`dns.lookup()`. + * + * Example usage: + * + * ```js + * const dns = require('node:dns'); + * const options = { + * family: 6, + * hints: dns.ADDRCONFIG | dns.V4MAPPED, + * }; + * dns.lookup('example.com', options, (err, address, family) => + * console.log('address: %j family: IPv%s', address, family)); + * // address: "2606:2800:220:1:248:1893:25c8:1946" family: IPv6 + * + * // When options.all is true, the result will be an Array. + * options.all = true; + * dns.lookup('example.com', options, (err, addresses) => + * console.log('addresses: %j', addresses)); + * // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}] + * ``` + * + * If this method is invoked as its `util.promisify()` ed version, and `all`is not set to `true`, it returns a `Promise` for an `Object` with `address` and`family` properties. + * @since v0.1.90 + */ + export function lookup( + hostname: string, + family: number, + callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, + ): void; + export function lookup( + hostname: string, + options: LookupOneOptions, + callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, + ): void; + export function lookup( + hostname: string, + options: LookupAllOptions, + callback: (err: NodeJS.ErrnoException | null, addresses: LookupAddress[]) => void, + ): void; + export function lookup( + hostname: string, + options: LookupOptions, + callback: (err: NodeJS.ErrnoException | null, address: string | LookupAddress[], family: number) => void, + ): void; + export function lookup( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void, + ): void; + export namespace lookup { + function __promisify__(hostname: string, options: LookupAllOptions): Promise; + function __promisify__(hostname: string, options?: LookupOneOptions | number): Promise; + function __promisify__(hostname: string, options: LookupOptions): Promise; + } + /** + * Resolves the given `address` and `port` into a host name and service using + * the operating system's underlying `getnameinfo` implementation. + * + * If `address` is not a valid IP address, a `TypeError` will be thrown. + * The `port` will be coerced to a number. If it is not a legal port, a `TypeError`will be thrown. + * + * On an error, `err` is an `Error` object, where `err.code` is the error code. + * + * ```js + * const dns = require('node:dns'); + * dns.lookupService('127.0.0.1', 22, (err, hostname, service) => { + * console.log(hostname, service); + * // Prints: localhost ssh + * }); + * ``` + * + * If this method is invoked as its `util.promisify()` ed version, it returns a`Promise` for an `Object` with `hostname` and `service` properties. + * @since v0.11.14 + */ + export function lookupService( + address: string, + port: number, + callback: (err: NodeJS.ErrnoException | null, hostname: string, service: string) => void, + ): void; + export namespace lookupService { + function __promisify__( + address: string, + port: number, + ): Promise<{ + hostname: string; + service: string; + }>; + } + export interface ResolveOptions { + ttl: boolean; + } + export interface ResolveWithTtlOptions extends ResolveOptions { + ttl: true; + } + export interface RecordWithTtl { + address: string; + ttl: number; + } + /** @deprecated Use `AnyARecord` or `AnyAaaaRecord` instead. */ + export type AnyRecordWithTtl = AnyARecord | AnyAaaaRecord; + export interface AnyARecord extends RecordWithTtl { + type: "A"; + } + export interface AnyAaaaRecord extends RecordWithTtl { + type: "AAAA"; + } + export interface CaaRecord { + critical: number; + issue?: string | undefined; + issuewild?: string | undefined; + iodef?: string | undefined; + contactemail?: string | undefined; + contactphone?: string | undefined; + } + export interface MxRecord { + priority: number; + exchange: string; + } + export interface AnyMxRecord extends MxRecord { + type: "MX"; + } + export interface NaptrRecord { + flags: string; + service: string; + regexp: string; + replacement: string; + order: number; + preference: number; + } + export interface AnyNaptrRecord extends NaptrRecord { + type: "NAPTR"; + } + export interface SoaRecord { + nsname: string; + hostmaster: string; + serial: number; + refresh: number; + retry: number; + expire: number; + minttl: number; + } + export interface AnySoaRecord extends SoaRecord { + type: "SOA"; + } + export interface SrvRecord { + priority: number; + weight: number; + port: number; + name: string; + } + export interface AnySrvRecord extends SrvRecord { + type: "SRV"; + } + export interface AnyTxtRecord { + type: "TXT"; + entries: string[]; + } + export interface AnyNsRecord { + type: "NS"; + value: string; + } + export interface AnyPtrRecord { + type: "PTR"; + value: string; + } + export interface AnyCnameRecord { + type: "CNAME"; + value: string; + } + export type AnyRecord = + | AnyARecord + | AnyAaaaRecord + | AnyCnameRecord + | AnyMxRecord + | AnyNaptrRecord + | AnyNsRecord + | AnyPtrRecord + | AnySoaRecord + | AnySrvRecord + | AnyTxtRecord; + /** + * Uses the DNS protocol to resolve a host name (e.g. `'nodejs.org'`) into an array + * of the resource records. The `callback` function has arguments`(err, records)`. When successful, `records` will be an array of resource + * records. The type and structure of individual results varies based on `rrtype`: + * + * + * + * On error, `err` is an `Error` object, where `err.code` is one of the `DNS error codes`. + * @since v0.1.27 + * @param hostname Host name to resolve. + * @param [rrtype='A'] Resource record type. + */ + export function resolve( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "A", + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "AAAA", + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "ANY", + callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "CNAME", + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "MX", + callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "NAPTR", + callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "NS", + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "PTR", + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "SOA", + callback: (err: NodeJS.ErrnoException | null, addresses: SoaRecord) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "SRV", + callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: "TXT", + callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void, + ): void; + export function resolve( + hostname: string, + rrtype: string, + callback: ( + err: NodeJS.ErrnoException | null, + addresses: string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[], + ) => void, + ): void; + export namespace resolve { + function __promisify__(hostname: string, rrtype?: "A" | "AAAA" | "CNAME" | "NS" | "PTR"): Promise; + function __promisify__(hostname: string, rrtype: "ANY"): Promise; + function __promisify__(hostname: string, rrtype: "MX"): Promise; + function __promisify__(hostname: string, rrtype: "NAPTR"): Promise; + function __promisify__(hostname: string, rrtype: "SOA"): Promise; + function __promisify__(hostname: string, rrtype: "SRV"): Promise; + function __promisify__(hostname: string, rrtype: "TXT"): Promise; + function __promisify__( + hostname: string, + rrtype: string, + ): Promise; + } + /** + * Uses the DNS protocol to resolve a IPv4 addresses (`A` records) for the`hostname`. The `addresses` argument passed to the `callback` function + * will contain an array of IPv4 addresses (e.g.`['74.125.79.104', '74.125.79.105', '74.125.79.106']`). + * @since v0.1.16 + * @param hostname Host name to resolve. + */ + export function resolve4( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve4( + hostname: string, + options: ResolveWithTtlOptions, + callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void, + ): void; + export function resolve4( + hostname: string, + options: ResolveOptions, + callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void, + ): void; + export namespace resolve4 { + function __promisify__(hostname: string): Promise; + function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise; + function __promisify__(hostname: string, options?: ResolveOptions): Promise; + } + /** + * Uses the DNS protocol to resolve IPv6 addresses (`AAAA` records) for the`hostname`. The `addresses` argument passed to the `callback` function + * will contain an array of IPv6 addresses. + * @since v0.1.16 + * @param hostname Host name to resolve. + */ + export function resolve6( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export function resolve6( + hostname: string, + options: ResolveWithTtlOptions, + callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void, + ): void; + export function resolve6( + hostname: string, + options: ResolveOptions, + callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void, + ): void; + export namespace resolve6 { + function __promisify__(hostname: string): Promise; + function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise; + function __promisify__(hostname: string, options?: ResolveOptions): Promise; + } + /** + * Uses the DNS protocol to resolve `CNAME` records for the `hostname`. The`addresses` argument passed to the `callback` function + * will contain an array of canonical name records available for the `hostname`(e.g. `['bar.example.com']`). + * @since v0.3.2 + */ + export function resolveCname( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export namespace resolveCname { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve `CAA` records for the `hostname`. The`addresses` argument passed to the `callback` function + * will contain an array of certification authority authorization records + * available for the `hostname` (e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'}, {critical: 128, issue: 'pki.example.com'}]`). + * @since v15.0.0, v14.17.0 + */ + export function resolveCaa( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, records: CaaRecord[]) => void, + ): void; + export namespace resolveCaa { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve mail exchange records (`MX` records) for the`hostname`. The `addresses` argument passed to the `callback` function will + * contain an array of objects containing both a `priority` and `exchange`property (e.g. `[{priority: 10, exchange: 'mx.example.com'}, ...]`). + * @since v0.1.27 + */ + export function resolveMx( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void, + ): void; + export namespace resolveMx { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve regular expression-based records (`NAPTR`records) for the `hostname`. The `addresses` argument passed to the `callback`function will contain an array of + * objects with the following properties: + * + * * `flags` + * * `service` + * * `regexp` + * * `replacement` + * * `order` + * * `preference` + * + * ```js + * { + * flags: 's', + * service: 'SIP+D2U', + * regexp: '', + * replacement: '_sip._udp.example.com', + * order: 30, + * preference: 100 + * } + * ``` + * @since v0.9.12 + */ + export function resolveNaptr( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void, + ): void; + export namespace resolveNaptr { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve name server records (`NS` records) for the`hostname`. The `addresses` argument passed to the `callback` function will + * contain an array of name server records available for `hostname`(e.g. `['ns1.example.com', 'ns2.example.com']`). + * @since v0.1.90 + */ + export function resolveNs( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export namespace resolveNs { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve pointer records (`PTR` records) for the`hostname`. The `addresses` argument passed to the `callback` function will + * be an array of strings containing the reply records. + * @since v6.0.0 + */ + export function resolvePtr( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void, + ): void; + export namespace resolvePtr { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve a start of authority record (`SOA` record) for + * the `hostname`. The `address` argument passed to the `callback` function will + * be an object with the following properties: + * + * * `nsname` + * * `hostmaster` + * * `serial` + * * `refresh` + * * `retry` + * * `expire` + * * `minttl` + * + * ```js + * { + * nsname: 'ns.example.com', + * hostmaster: 'root.example.com', + * serial: 2013101809, + * refresh: 10000, + * retry: 2400, + * expire: 604800, + * minttl: 3600 + * } + * ``` + * @since v0.11.10 + */ + export function resolveSoa( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, address: SoaRecord) => void, + ): void; + export namespace resolveSoa { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve service records (`SRV` records) for the`hostname`. The `addresses` argument passed to the `callback` function will + * be an array of objects with the following properties: + * + * * `priority` + * * `weight` + * * `port` + * * `name` + * + * ```js + * { + * priority: 10, + * weight: 5, + * port: 21223, + * name: 'service.example.com' + * } + * ``` + * @since v0.1.27 + */ + export function resolveSrv( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void, + ): void; + export namespace resolveSrv { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve text queries (`TXT` records) for the`hostname`. The `records` argument passed to the `callback` function is a + * two-dimensional array of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of + * one record. Depending on the use case, these could be either joined together or + * treated separately. + * @since v0.1.27 + */ + export function resolveTxt( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void, + ): void; + export namespace resolveTxt { + function __promisify__(hostname: string): Promise; + } + /** + * Uses the DNS protocol to resolve all records (also known as `ANY` or `*` query). + * The `ret` argument passed to the `callback` function will be an array containing + * various types of records. Each object has a property `type` that indicates the + * type of the current record. And depending on the `type`, additional properties + * will be present on the object: + * + * + * + * Here is an example of the `ret` object passed to the callback: + * + * ```js + * [ { type: 'A', address: '127.0.0.1', ttl: 299 }, + * { type: 'CNAME', value: 'example.com' }, + * { type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 }, + * { type: 'NS', value: 'ns1.example.com' }, + * { type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] }, + * { type: 'SOA', + * nsname: 'ns1.example.com', + * hostmaster: 'admin.example.com', + * serial: 156696742, + * refresh: 900, + * retry: 900, + * expire: 1800, + * minttl: 60 } ] + * ``` + * + * DNS server operators may choose not to respond to `ANY`queries. It may be better to call individual methods like {@link resolve4},{@link resolveMx}, and so on. For more details, see [RFC + * 8482](https://tools.ietf.org/html/rfc8482). + */ + export function resolveAny( + hostname: string, + callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void, + ): void; + export namespace resolveAny { + function __promisify__(hostname: string): Promise; + } + /** + * Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an + * array of host names. + * + * On error, `err` is an `Error` object, where `err.code` is + * one of the `DNS error codes`. + * @since v0.1.16 + */ + export function reverse( + ip: string, + callback: (err: NodeJS.ErrnoException | null, hostnames: string[]) => void, + ): void; + /** + * Get the default value for `verbatim` in {@link lookup} and `dnsPromises.lookup()`. The value could be: + * + * * `ipv4first`: for `verbatim` defaulting to `false`. + * * `verbatim`: for `verbatim` defaulting to `true`. + * @since v20.1.0 + */ + export function getDefaultResultOrder(): "ipv4first" | "verbatim"; + /** + * Sets the IP address and port of servers to be used when performing DNS + * resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted + * addresses. If the port is the IANA default DNS port (53) it can be omitted. + * + * ```js + * dns.setServers([ + * '4.4.4.4', + * '[2001:4860:4860::8888]', + * '4.4.4.4:1053', + * '[2001:4860:4860::8888]:1053', + * ]); + * ``` + * + * An error will be thrown if an invalid address is provided. + * + * The `dns.setServers()` method must not be called while a DNS query is in + * progress. + * + * The {@link setServers} method affects only {@link resolve},`dns.resolve*()` and {@link reverse} (and specifically _not_ {@link lookup}). + * + * This method works much like [resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html). + * That is, if attempting to resolve with the first server provided results in a`NOTFOUND` error, the `resolve()` method will _not_ attempt to resolve with + * subsequent servers provided. Fallback DNS servers will only be used if the + * earlier ones time out or result in some other error. + * @since v0.11.3 + * @param servers array of `RFC 5952` formatted addresses + */ + export function setServers(servers: readonly string[]): void; + /** + * Returns an array of IP address strings, formatted according to [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6), + * that are currently configured for DNS resolution. A string will include a port + * section if a custom port is used. + * + * ```js + * [ + * '4.4.4.4', + * '2001:4860:4860::8888', + * '4.4.4.4:1053', + * '[2001:4860:4860::8888]:1053', + * ] + * ``` + * @since v0.11.3 + */ + export function getServers(): string[]; + /** + * Set the default value of `verbatim` in {@link lookup} and `dnsPromises.lookup()`. The value could be: + * + * * `ipv4first`: sets default `verbatim` `false`. + * * `verbatim`: sets default `verbatim` `true`. + * + * The default is `verbatim` and {@link setDefaultResultOrder} have higher + * priority than `--dns-result-order`. When using `worker threads`,{@link setDefaultResultOrder} from the main thread won't affect the default + * dns orders in workers. + * @since v16.4.0, v14.18.0 + * @param order must be `'ipv4first'` or `'verbatim'`. + */ + export function setDefaultResultOrder(order: "ipv4first" | "verbatim"): void; + // Error codes + export const NODATA: string; + export const FORMERR: string; + export const SERVFAIL: string; + export const NOTFOUND: string; + export const NOTIMP: string; + export const REFUSED: string; + export const BADQUERY: string; + export const BADNAME: string; + export const BADFAMILY: string; + export const BADRESP: string; + export const CONNREFUSED: string; + export const TIMEOUT: string; + export const EOF: string; + export const FILE: string; + export const NOMEM: string; + export const DESTRUCTION: string; + export const BADSTR: string; + export const BADFLAGS: string; + export const NONAME: string; + export const BADHINTS: string; + export const NOTINITIALIZED: string; + export const LOADIPHLPAPI: string; + export const ADDRGETNETWORKPARAMS: string; + export const CANCELLED: string; + export interface ResolverOptions { + timeout?: number | undefined; + /** + * @default 4 + */ + tries?: number; + } + /** + * An independent resolver for DNS requests. + * + * Creating a new resolver uses the default server settings. Setting + * the servers used for a resolver using `resolver.setServers()` does not affect + * other resolvers: + * + * ```js + * const { Resolver } = require('node:dns'); + * const resolver = new Resolver(); + * resolver.setServers(['4.4.4.4']); + * + * // This request will use the server at 4.4.4.4, independent of global settings. + * resolver.resolve4('example.org', (err, addresses) => { + * // ... + * }); + * ``` + * + * The following methods from the `node:dns` module are available: + * + * * `resolver.getServers()` + * * `resolver.resolve()` + * * `resolver.resolve4()` + * * `resolver.resolve6()` + * * `resolver.resolveAny()` + * * `resolver.resolveCaa()` + * * `resolver.resolveCname()` + * * `resolver.resolveMx()` + * * `resolver.resolveNaptr()` + * * `resolver.resolveNs()` + * * `resolver.resolvePtr()` + * * `resolver.resolveSoa()` + * * `resolver.resolveSrv()` + * * `resolver.resolveTxt()` + * * `resolver.reverse()` + * * `resolver.setServers()` + * @since v8.3.0 + */ + export class Resolver { + constructor(options?: ResolverOptions); + /** + * Cancel all outstanding DNS queries made by this resolver. The corresponding + * callbacks will be called with an error with code `ECANCELLED`. + * @since v8.3.0 + */ + cancel(): void; + getServers: typeof getServers; + resolve: typeof resolve; + resolve4: typeof resolve4; + resolve6: typeof resolve6; + resolveAny: typeof resolveAny; + resolveCaa: typeof resolveCaa; + resolveCname: typeof resolveCname; + resolveMx: typeof resolveMx; + resolveNaptr: typeof resolveNaptr; + resolveNs: typeof resolveNs; + resolvePtr: typeof resolvePtr; + resolveSoa: typeof resolveSoa; + resolveSrv: typeof resolveSrv; + resolveTxt: typeof resolveTxt; + reverse: typeof reverse; + /** + * The resolver instance will send its requests from the specified IP address. + * This allows programs to specify outbound interfaces when used on multi-homed + * systems. + * + * If a v4 or v6 address is not specified, it is set to the default and the + * operating system will choose a local address automatically. + * + * The resolver will use the v4 local address when making requests to IPv4 DNS + * servers, and the v6 local address when making requests to IPv6 DNS servers. + * The `rrtype` of resolution requests has no impact on the local address used. + * @since v15.1.0, v14.17.0 + * @param [ipv4='0.0.0.0'] A string representation of an IPv4 address. + * @param [ipv6='::0'] A string representation of an IPv6 address. + */ + setLocalAddress(ipv4?: string, ipv6?: string): void; + setServers: typeof setServers; + } + export { dnsPromises as promises }; +} +declare module "node:dns" { + export * from "dns"; +} diff --git a/node_modules/@types/node/ts4.8/dns/promises.d.ts b/node_modules/@types/node/ts4.8/dns/promises.d.ts new file mode 100644 index 000000000..ef9b22281 --- /dev/null +++ b/node_modules/@types/node/ts4.8/dns/promises.d.ts @@ -0,0 +1,425 @@ +/** + * The `dns.promises` API provides an alternative set of asynchronous DNS methods + * that return `Promise` objects rather than using callbacks. The API is accessible + * via `require('node:dns').promises` or `require('node:dns/promises')`. + * @since v10.6.0 + */ +declare module "dns/promises" { + import { + AnyRecord, + CaaRecord, + LookupAddress, + LookupAllOptions, + LookupOneOptions, + LookupOptions, + MxRecord, + NaptrRecord, + RecordWithTtl, + ResolveOptions, + ResolverOptions, + ResolveWithTtlOptions, + SoaRecord, + SrvRecord, + } from "node:dns"; + /** + * Returns an array of IP address strings, formatted according to [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6), + * that are currently configured for DNS resolution. A string will include a port + * section if a custom port is used. + * + * ```js + * [ + * '4.4.4.4', + * '2001:4860:4860::8888', + * '4.4.4.4:1053', + * '[2001:4860:4860::8888]:1053', + * ] + * ``` + * @since v10.6.0 + */ + function getServers(): string[]; + /** + * Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or + * AAAA (IPv6) record. All `option` properties are optional. If `options` is an + * integer, then it must be `4` or `6` – if `options` is not provided, then IPv4 + * and IPv6 addresses are both returned if found. + * + * With the `all` option set to `true`, the `Promise` is resolved with `addresses`being an array of objects with the properties `address` and `family`. + * + * On error, the `Promise` is rejected with an `Error` object, where `err.code`is the error code. + * Keep in mind that `err.code` will be set to `'ENOTFOUND'` not only when + * the host name does not exist but also when the lookup fails in other ways + * such as no available file descriptors. + * + * `dnsPromises.lookup()` does not necessarily have anything to do with the DNS + * protocol. The implementation uses an operating system facility that can + * associate names with addresses and vice versa. This implementation can have + * subtle but important consequences on the behavior of any Node.js program. Please + * take some time to consult the `Implementation considerations section` before + * using `dnsPromises.lookup()`. + * + * Example usage: + * + * ```js + * const dns = require('node:dns'); + * const dnsPromises = dns.promises; + * const options = { + * family: 6, + * hints: dns.ADDRCONFIG | dns.V4MAPPED, + * }; + * + * dnsPromises.lookup('example.com', options).then((result) => { + * console.log('address: %j family: IPv%s', result.address, result.family); + * // address: "2606:2800:220:1:248:1893:25c8:1946" family: IPv6 + * }); + * + * // When options.all is true, the result will be an Array. + * options.all = true; + * dnsPromises.lookup('example.com', options).then((result) => { + * console.log('addresses: %j', result); + * // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}] + * }); + * ``` + * @since v10.6.0 + */ + function lookup(hostname: string, family: number): Promise; + function lookup(hostname: string, options: LookupOneOptions): Promise; + function lookup(hostname: string, options: LookupAllOptions): Promise; + function lookup(hostname: string, options: LookupOptions): Promise; + function lookup(hostname: string): Promise; + /** + * Resolves the given `address` and `port` into a host name and service using + * the operating system's underlying `getnameinfo` implementation. + * + * If `address` is not a valid IP address, a `TypeError` will be thrown. + * The `port` will be coerced to a number. If it is not a legal port, a `TypeError`will be thrown. + * + * On error, the `Promise` is rejected with an `Error` object, where `err.code`is the error code. + * + * ```js + * const dnsPromises = require('node:dns').promises; + * dnsPromises.lookupService('127.0.0.1', 22).then((result) => { + * console.log(result.hostname, result.service); + * // Prints: localhost ssh + * }); + * ``` + * @since v10.6.0 + */ + function lookupService( + address: string, + port: number, + ): Promise<{ + hostname: string; + service: string; + }>; + /** + * Uses the DNS protocol to resolve a host name (e.g. `'nodejs.org'`) into an array + * of the resource records. When successful, the `Promise` is resolved with an + * array of resource records. The type and structure of individual results vary + * based on `rrtype`: + * + * + * + * On error, the `Promise` is rejected with an `Error` object, where `err.code`is one of the `DNS error codes`. + * @since v10.6.0 + * @param hostname Host name to resolve. + * @param [rrtype='A'] Resource record type. + */ + function resolve(hostname: string): Promise; + function resolve(hostname: string, rrtype: "A"): Promise; + function resolve(hostname: string, rrtype: "AAAA"): Promise; + function resolve(hostname: string, rrtype: "ANY"): Promise; + function resolve(hostname: string, rrtype: "CAA"): Promise; + function resolve(hostname: string, rrtype: "CNAME"): Promise; + function resolve(hostname: string, rrtype: "MX"): Promise; + function resolve(hostname: string, rrtype: "NAPTR"): Promise; + function resolve(hostname: string, rrtype: "NS"): Promise; + function resolve(hostname: string, rrtype: "PTR"): Promise; + function resolve(hostname: string, rrtype: "SOA"): Promise; + function resolve(hostname: string, rrtype: "SRV"): Promise; + function resolve(hostname: string, rrtype: "TXT"): Promise; + function resolve( + hostname: string, + rrtype: string, + ): Promise; + /** + * Uses the DNS protocol to resolve IPv4 addresses (`A` records) for the`hostname`. On success, the `Promise` is resolved with an array of IPv4 + * addresses (e.g. `['74.125.79.104', '74.125.79.105', '74.125.79.106']`). + * @since v10.6.0 + * @param hostname Host name to resolve. + */ + function resolve4(hostname: string): Promise; + function resolve4(hostname: string, options: ResolveWithTtlOptions): Promise; + function resolve4(hostname: string, options: ResolveOptions): Promise; + /** + * Uses the DNS protocol to resolve IPv6 addresses (`AAAA` records) for the`hostname`. On success, the `Promise` is resolved with an array of IPv6 + * addresses. + * @since v10.6.0 + * @param hostname Host name to resolve. + */ + function resolve6(hostname: string): Promise; + function resolve6(hostname: string, options: ResolveWithTtlOptions): Promise; + function resolve6(hostname: string, options: ResolveOptions): Promise; + /** + * Uses the DNS protocol to resolve all records (also known as `ANY` or `*` query). + * On success, the `Promise` is resolved with an array containing various types of + * records. Each object has a property `type` that indicates the type of the + * current record. And depending on the `type`, additional properties will be + * present on the object: + * + * + * + * Here is an example of the result object: + * + * ```js + * [ { type: 'A', address: '127.0.0.1', ttl: 299 }, + * { type: 'CNAME', value: 'example.com' }, + * { type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 }, + * { type: 'NS', value: 'ns1.example.com' }, + * { type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] }, + * { type: 'SOA', + * nsname: 'ns1.example.com', + * hostmaster: 'admin.example.com', + * serial: 156696742, + * refresh: 900, + * retry: 900, + * expire: 1800, + * minttl: 60 } ] + * ``` + * @since v10.6.0 + */ + function resolveAny(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve `CAA` records for the `hostname`. On success, + * the `Promise` is resolved with an array of objects containing available + * certification authority authorization records available for the `hostname`(e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'},{critical: 128, issue: 'pki.example.com'}]`). + * @since v15.0.0, v14.17.0 + */ + function resolveCaa(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve `CNAME` records for the `hostname`. On success, + * the `Promise` is resolved with an array of canonical name records available for + * the `hostname` (e.g. `['bar.example.com']`). + * @since v10.6.0 + */ + function resolveCname(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve mail exchange records (`MX` records) for the`hostname`. On success, the `Promise` is resolved with an array of objects + * containing both a `priority` and `exchange` property (e.g.`[{priority: 10, exchange: 'mx.example.com'}, ...]`). + * @since v10.6.0 + */ + function resolveMx(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve regular expression-based records (`NAPTR`records) for the `hostname`. On success, the `Promise` is resolved with an array + * of objects with the following properties: + * + * * `flags` + * * `service` + * * `regexp` + * * `replacement` + * * `order` + * * `preference` + * + * ```js + * { + * flags: 's', + * service: 'SIP+D2U', + * regexp: '', + * replacement: '_sip._udp.example.com', + * order: 30, + * preference: 100 + * } + * ``` + * @since v10.6.0 + */ + function resolveNaptr(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve name server records (`NS` records) for the`hostname`. On success, the `Promise` is resolved with an array of name server + * records available for `hostname` (e.g.`['ns1.example.com', 'ns2.example.com']`). + * @since v10.6.0 + */ + function resolveNs(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve pointer records (`PTR` records) for the`hostname`. On success, the `Promise` is resolved with an array of strings + * containing the reply records. + * @since v10.6.0 + */ + function resolvePtr(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve a start of authority record (`SOA` record) for + * the `hostname`. On success, the `Promise` is resolved with an object with the + * following properties: + * + * * `nsname` + * * `hostmaster` + * * `serial` + * * `refresh` + * * `retry` + * * `expire` + * * `minttl` + * + * ```js + * { + * nsname: 'ns.example.com', + * hostmaster: 'root.example.com', + * serial: 2013101809, + * refresh: 10000, + * retry: 2400, + * expire: 604800, + * minttl: 3600 + * } + * ``` + * @since v10.6.0 + */ + function resolveSoa(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve service records (`SRV` records) for the`hostname`. On success, the `Promise` is resolved with an array of objects with + * the following properties: + * + * * `priority` + * * `weight` + * * `port` + * * `name` + * + * ```js + * { + * priority: 10, + * weight: 5, + * port: 21223, + * name: 'service.example.com' + * } + * ``` + * @since v10.6.0 + */ + function resolveSrv(hostname: string): Promise; + /** + * Uses the DNS protocol to resolve text queries (`TXT` records) for the`hostname`. On success, the `Promise` is resolved with a two-dimensional array + * of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of + * one record. Depending on the use case, these could be either joined together or + * treated separately. + * @since v10.6.0 + */ + function resolveTxt(hostname: string): Promise; + /** + * Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an + * array of host names. + * + * On error, the `Promise` is rejected with an `Error` object, where `err.code`is one of the `DNS error codes`. + * @since v10.6.0 + */ + function reverse(ip: string): Promise; + /** + * Get the default value for `verbatim` in {@link lookup} and `dnsPromises.lookup()`. The value could be: + * + * * `ipv4first`: for `verbatim` defaulting to `false`. + * * `verbatim`: for `verbatim` defaulting to `true`. + * @since v20.1.0 + */ + function getDefaultResultOrder(): "ipv4first" | "verbatim"; + /** + * Sets the IP address and port of servers to be used when performing DNS + * resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted + * addresses. If the port is the IANA default DNS port (53) it can be omitted. + * + * ```js + * dnsPromises.setServers([ + * '4.4.4.4', + * '[2001:4860:4860::8888]', + * '4.4.4.4:1053', + * '[2001:4860:4860::8888]:1053', + * ]); + * ``` + * + * An error will be thrown if an invalid address is provided. + * + * The `dnsPromises.setServers()` method must not be called while a DNS query is in + * progress. + * + * This method works much like [resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html). + * That is, if attempting to resolve with the first server provided results in a`NOTFOUND` error, the `resolve()` method will _not_ attempt to resolve with + * subsequent servers provided. Fallback DNS servers will only be used if the + * earlier ones time out or result in some other error. + * @since v10.6.0 + * @param servers array of `RFC 5952` formatted addresses + */ + function setServers(servers: readonly string[]): void; + /** + * Set the default value of `verbatim` in `dns.lookup()` and `dnsPromises.lookup()`. The value could be: + * + * * `ipv4first`: sets default `verbatim` `false`. + * * `verbatim`: sets default `verbatim` `true`. + * + * The default is `verbatim` and `dnsPromises.setDefaultResultOrder()` have + * higher priority than `--dns-result-order`. When using `worker threads`,`dnsPromises.setDefaultResultOrder()` from the main thread won't affect the + * default dns orders in workers. + * @since v16.4.0, v14.18.0 + * @param order must be `'ipv4first'` or `'verbatim'`. + */ + function setDefaultResultOrder(order: "ipv4first" | "verbatim"): void; + /** + * An independent resolver for DNS requests. + * + * Creating a new resolver uses the default server settings. Setting + * the servers used for a resolver using `resolver.setServers()` does not affect + * other resolvers: + * + * ```js + * const { Resolver } = require('node:dns').promises; + * const resolver = new Resolver(); + * resolver.setServers(['4.4.4.4']); + * + * // This request will use the server at 4.4.4.4, independent of global settings. + * resolver.resolve4('example.org').then((addresses) => { + * // ... + * }); + * + * // Alternatively, the same code can be written using async-await style. + * (async function() { + * const addresses = await resolver.resolve4('example.org'); + * })(); + * ``` + * + * The following methods from the `dnsPromises` API are available: + * + * * `resolver.getServers()` + * * `resolver.resolve()` + * * `resolver.resolve4()` + * * `resolver.resolve6()` + * * `resolver.resolveAny()` + * * `resolver.resolveCaa()` + * * `resolver.resolveCname()` + * * `resolver.resolveMx()` + * * `resolver.resolveNaptr()` + * * `resolver.resolveNs()` + * * `resolver.resolvePtr()` + * * `resolver.resolveSoa()` + * * `resolver.resolveSrv()` + * * `resolver.resolveTxt()` + * * `resolver.reverse()` + * * `resolver.setServers()` + * @since v10.6.0 + */ + class Resolver { + constructor(options?: ResolverOptions); + cancel(): void; + getServers: typeof getServers; + resolve: typeof resolve; + resolve4: typeof resolve4; + resolve6: typeof resolve6; + resolveAny: typeof resolveAny; + resolveCaa: typeof resolveCaa; + resolveCname: typeof resolveCname; + resolveMx: typeof resolveMx; + resolveNaptr: typeof resolveNaptr; + resolveNs: typeof resolveNs; + resolvePtr: typeof resolvePtr; + resolveSoa: typeof resolveSoa; + resolveSrv: typeof resolveSrv; + resolveTxt: typeof resolveTxt; + reverse: typeof reverse; + setLocalAddress(ipv4?: string, ipv6?: string): void; + setServers: typeof setServers; + } +} +declare module "node:dns/promises" { + export * from "dns/promises"; +} diff --git a/node_modules/@types/node/ts4.8/dom-events.d.ts b/node_modules/@types/node/ts4.8/dom-events.d.ts new file mode 100644 index 000000000..147a7b657 --- /dev/null +++ b/node_modules/@types/node/ts4.8/dom-events.d.ts @@ -0,0 +1,122 @@ +export {}; // Don't export anything! + +//// DOM-like Events +// NB: The Event / EventTarget / EventListener implementations below were copied +// from lib.dom.d.ts, then edited to reflect Node's documentation at +// https://nodejs.org/api/events.html#class-eventtarget. +// Please read that link to understand important implementation differences. + +// This conditional type will be the existing global Event in a browser, or +// the copy below in a Node environment. +type __Event = typeof globalThis extends { onmessage: any; Event: any } ? {} + : { + /** This is not used in Node.js and is provided purely for completeness. */ + readonly bubbles: boolean; + /** Alias for event.stopPropagation(). This is not used in Node.js and is provided purely for completeness. */ + cancelBubble: () => void; + /** True if the event was created with the cancelable option */ + readonly cancelable: boolean; + /** This is not used in Node.js and is provided purely for completeness. */ + readonly composed: boolean; + /** Returns an array containing the current EventTarget as the only entry or empty if the event is not being dispatched. This is not used in Node.js and is provided purely for completeness. */ + composedPath(): [EventTarget?]; + /** Alias for event.target. */ + readonly currentTarget: EventTarget | null; + /** Is true if cancelable is true and event.preventDefault() has been called. */ + readonly defaultPrevented: boolean; + /** This is not used in Node.js and is provided purely for completeness. */ + readonly eventPhase: 0 | 2; + /** The `AbortSignal` "abort" event is emitted with `isTrusted` set to `true`. The value is `false` in all other cases. */ + readonly isTrusted: boolean; + /** Sets the `defaultPrevented` property to `true` if `cancelable` is `true`. */ + preventDefault(): void; + /** This is not used in Node.js and is provided purely for completeness. */ + returnValue: boolean; + /** Alias for event.target. */ + readonly srcElement: EventTarget | null; + /** Stops the invocation of event listeners after the current one completes. */ + stopImmediatePropagation(): void; + /** This is not used in Node.js and is provided purely for completeness. */ + stopPropagation(): void; + /** The `EventTarget` dispatching the event */ + readonly target: EventTarget | null; + /** The millisecond timestamp when the Event object was created. */ + readonly timeStamp: number; + /** Returns the type of event, e.g. "click", "hashchange", or "submit". */ + readonly type: string; + }; + +// See comment above explaining conditional type +type __EventTarget = typeof globalThis extends { onmessage: any; EventTarget: any } ? {} + : { + /** + * Adds a new handler for the `type` event. Any given `listener` is added only once per `type` and per `capture` option value. + * + * If the `once` option is true, the `listener` is removed after the next time a `type` event is dispatched. + * + * The `capture` option is not used by Node.js in any functional way other than tracking registered event listeners per the `EventTarget` specification. + * Specifically, the `capture` option is used as part of the key when registering a `listener`. + * Any individual `listener` may be added once with `capture = false`, and once with `capture = true`. + */ + addEventListener( + type: string, + listener: EventListener | EventListenerObject, + options?: AddEventListenerOptions | boolean, + ): void; + /** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */ + dispatchEvent(event: Event): boolean; + /** Removes the event listener in target's event listener list with the same type, callback, and options. */ + removeEventListener( + type: string, + listener: EventListener | EventListenerObject, + options?: EventListenerOptions | boolean, + ): void; + }; + +interface EventInit { + bubbles?: boolean; + cancelable?: boolean; + composed?: boolean; +} + +interface EventListenerOptions { + /** Not directly used by Node.js. Added for API completeness. Default: `false`. */ + capture?: boolean; +} + +interface AddEventListenerOptions extends EventListenerOptions { + /** When `true`, the listener is automatically removed when it is first invoked. Default: `false`. */ + once?: boolean; + /** When `true`, serves as a hint that the listener will not call the `Event` object's `preventDefault()` method. Default: false. */ + passive?: boolean; +} + +interface EventListener { + (evt: Event): void; +} + +interface EventListenerObject { + handleEvent(object: Event): void; +} + +import {} from "events"; // Make this an ambient declaration +declare global { + /** An event which takes place in the DOM. */ + interface Event extends __Event {} + var Event: typeof globalThis extends { onmessage: any; Event: infer T } ? T + : { + prototype: __Event; + new(type: string, eventInitDict?: EventInit): __Event; + }; + + /** + * EventTarget is a DOM interface implemented by objects that can + * receive events and may have listeners for them. + */ + interface EventTarget extends __EventTarget {} + var EventTarget: typeof globalThis extends { onmessage: any; EventTarget: infer T } ? T + : { + prototype: __EventTarget; + new(): __EventTarget; + }; +} diff --git a/node_modules/@types/node/ts4.8/domain.d.ts b/node_modules/@types/node/ts4.8/domain.d.ts new file mode 100644 index 000000000..72f17bd80 --- /dev/null +++ b/node_modules/@types/node/ts4.8/domain.d.ts @@ -0,0 +1,170 @@ +/** + * **This module is pending deprecation.** Once a replacement API has been + * finalized, this module will be fully deprecated. Most developers should + * **not** have cause to use this module. Users who absolutely must have + * the functionality that domains provide may rely on it for the time being + * but should expect to have to migrate to a different solution + * in the future. + * + * Domains provide a way to handle multiple different IO operations as a + * single group. If any of the event emitters or callbacks registered to a + * domain emit an `'error'` event, or throw an error, then the domain object + * will be notified, rather than losing the context of the error in the`process.on('uncaughtException')` handler, or causing the program to + * exit immediately with an error code. + * @deprecated Since v1.4.2 - Deprecated + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/domain.js) + */ +declare module "domain" { + import EventEmitter = require("node:events"); + /** + * The `Domain` class encapsulates the functionality of routing errors and + * uncaught exceptions to the active `Domain` object. + * + * To handle the errors that it catches, listen to its `'error'` event. + */ + class Domain extends EventEmitter { + /** + * An array of timers and event emitters that have been explicitly added + * to the domain. + */ + members: Array; + /** + * The `enter()` method is plumbing used by the `run()`, `bind()`, and`intercept()` methods to set the active domain. It sets `domain.active` and`process.domain` to the domain, and implicitly + * pushes the domain onto the domain + * stack managed by the domain module (see {@link exit} for details on the + * domain stack). The call to `enter()` delimits the beginning of a chain of + * asynchronous calls and I/O operations bound to a domain. + * + * Calling `enter()` changes only the active domain, and does not alter the domain + * itself. `enter()` and `exit()` can be called an arbitrary number of times on a + * single domain. + */ + enter(): void; + /** + * The `exit()` method exits the current domain, popping it off the domain stack. + * Any time execution is going to switch to the context of a different chain of + * asynchronous calls, it's important to ensure that the current domain is exited. + * The call to `exit()` delimits either the end of or an interruption to the chain + * of asynchronous calls and I/O operations bound to a domain. + * + * If there are multiple, nested domains bound to the current execution context,`exit()` will exit any domains nested within this domain. + * + * Calling `exit()` changes only the active domain, and does not alter the domain + * itself. `enter()` and `exit()` can be called an arbitrary number of times on a + * single domain. + */ + exit(): void; + /** + * Run the supplied function in the context of the domain, implicitly + * binding all event emitters, timers, and low-level requests that are + * created in that context. Optionally, arguments can be passed to + * the function. + * + * This is the most basic way to use a domain. + * + * ```js + * const domain = require('node:domain'); + * const fs = require('node:fs'); + * const d = domain.create(); + * d.on('error', (er) => { + * console.error('Caught error!', er); + * }); + * d.run(() => { + * process.nextTick(() => { + * setTimeout(() => { // Simulating some various async stuff + * fs.open('non-existent file', 'r', (er, fd) => { + * if (er) throw er; + * // proceed... + * }); + * }, 100); + * }); + * }); + * ``` + * + * In this example, the `d.on('error')` handler will be triggered, rather + * than crashing the program. + */ + run(fn: (...args: any[]) => T, ...args: any[]): T; + /** + * Explicitly adds an emitter to the domain. If any event handlers called by + * the emitter throw an error, or if the emitter emits an `'error'` event, it + * will be routed to the domain's `'error'` event, just like with implicit + * binding. + * + * This also works with timers that are returned from `setInterval()` and `setTimeout()`. If their callback function throws, it will be caught by + * the domain `'error'` handler. + * + * If the Timer or `EventEmitter` was already bound to a domain, it is removed + * from that one, and bound to this one instead. + * @param emitter emitter or timer to be added to the domain + */ + add(emitter: EventEmitter | NodeJS.Timer): void; + /** + * The opposite of {@link add}. Removes domain handling from the + * specified emitter. + * @param emitter emitter or timer to be removed from the domain + */ + remove(emitter: EventEmitter | NodeJS.Timer): void; + /** + * The returned function will be a wrapper around the supplied callback + * function. When the returned function is called, any errors that are + * thrown will be routed to the domain's `'error'` event. + * + * ```js + * const d = domain.create(); + * + * function readSomeFile(filename, cb) { + * fs.readFile(filename, 'utf8', d.bind((er, data) => { + * // If this throws, it will also be passed to the domain. + * return cb(er, data ? JSON.parse(data) : null); + * })); + * } + * + * d.on('error', (er) => { + * // An error occurred somewhere. If we throw it now, it will crash the program + * // with the normal line number and stack message. + * }); + * ``` + * @param callback The callback function + * @return The bound function + */ + bind(callback: T): T; + /** + * This method is almost identical to {@link bind}. However, in + * addition to catching thrown errors, it will also intercept `Error` objects sent as the first argument to the function. + * + * In this way, the common `if (err) return callback(err);` pattern can be replaced + * with a single error handler in a single place. + * + * ```js + * const d = domain.create(); + * + * function readSomeFile(filename, cb) { + * fs.readFile(filename, 'utf8', d.intercept((data) => { + * // Note, the first argument is never passed to the + * // callback since it is assumed to be the 'Error' argument + * // and thus intercepted by the domain. + * + * // If this throws, it will also be passed to the domain + * // so the error-handling logic can be moved to the 'error' + * // event on the domain instead of being repeated throughout + * // the program. + * return cb(null, JSON.parse(data)); + * })); + * } + * + * d.on('error', (er) => { + * // An error occurred somewhere. If we throw it now, it will crash the program + * // with the normal line number and stack message. + * }); + * ``` + * @param callback The callback function + * @return The intercepted function + */ + intercept(callback: T): T; + } + function create(): Domain; +} +declare module "node:domain" { + export * from "domain"; +} diff --git a/node_modules/@types/node/ts4.8/events.d.ts b/node_modules/@types/node/ts4.8/events.d.ts new file mode 100644 index 000000000..6ed47c53a --- /dev/null +++ b/node_modules/@types/node/ts4.8/events.d.ts @@ -0,0 +1,879 @@ +/** + * Much of the Node.js core API is built around an idiomatic asynchronous + * event-driven architecture in which certain kinds of objects (called "emitters") + * emit named events that cause `Function` objects ("listeners") to be called. + * + * For instance: a `net.Server` object emits an event each time a peer + * connects to it; a `fs.ReadStream` emits an event when the file is opened; + * a `stream` emits an event whenever data is available to be read. + * + * All objects that emit events are instances of the `EventEmitter` class. These + * objects expose an `eventEmitter.on()` function that allows one or more + * functions to be attached to named events emitted by the object. Typically, + * event names are camel-cased strings but any valid JavaScript property key + * can be used. + * + * When the `EventEmitter` object emits an event, all of the functions attached + * to that specific event are called _synchronously_. Any values returned by the + * called listeners are _ignored_ and discarded. + * + * The following example shows a simple `EventEmitter` instance with a single + * listener. The `eventEmitter.on()` method is used to register listeners, while + * the `eventEmitter.emit()` method is used to trigger the event. + * + * ```js + * import { EventEmitter } from 'node:events'; + * + * class MyEmitter extends EventEmitter {} + * + * const myEmitter = new MyEmitter(); + * myEmitter.on('event', () => { + * console.log('an event occurred!'); + * }); + * myEmitter.emit('event'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/events.js) + */ +declare module "events" { + import { AsyncResource, AsyncResourceOptions } from "node:async_hooks"; + // NOTE: This class is in the docs but is **not actually exported** by Node. + // If https://github.com/nodejs/node/issues/39903 gets resolved and Node + // actually starts exporting the class, uncomment below. + // import { EventListener, EventListenerObject } from '__dom-events'; + // /** The NodeEventTarget is a Node.js-specific extension to EventTarget that emulates a subset of the EventEmitter API. */ + // interface NodeEventTarget extends EventTarget { + // /** + // * Node.js-specific extension to the `EventTarget` class that emulates the equivalent `EventEmitter` API. + // * The only difference between `addListener()` and `addEventListener()` is that addListener() will return a reference to the EventTarget. + // */ + // addListener(type: string, listener: EventListener | EventListenerObject, options?: { once: boolean }): this; + // /** Node.js-specific extension to the `EventTarget` class that returns an array of event `type` names for which event listeners are registered. */ + // eventNames(): string[]; + // /** Node.js-specific extension to the `EventTarget` class that returns the number of event listeners registered for the `type`. */ + // listenerCount(type: string): number; + // /** Node.js-specific alias for `eventTarget.removeListener()`. */ + // off(type: string, listener: EventListener | EventListenerObject): this; + // /** Node.js-specific alias for `eventTarget.addListener()`. */ + // on(type: string, listener: EventListener | EventListenerObject, options?: { once: boolean }): this; + // /** Node.js-specific extension to the `EventTarget` class that adds a `once` listener for the given event `type`. This is equivalent to calling `on` with the `once` option set to `true`. */ + // once(type: string, listener: EventListener | EventListenerObject): this; + // /** + // * Node.js-specific extension to the `EventTarget` class. + // * If `type` is specified, removes all registered listeners for `type`, + // * otherwise removes all registered listeners. + // */ + // removeAllListeners(type: string): this; + // /** + // * Node.js-specific extension to the `EventTarget` class that removes the listener for the given `type`. + // * The only difference between `removeListener()` and `removeEventListener()` is that `removeListener()` will return a reference to the `EventTarget`. + // */ + // removeListener(type: string, listener: EventListener | EventListenerObject): this; + // } + interface EventEmitterOptions { + /** + * Enables automatic capturing of promise rejection. + */ + captureRejections?: boolean | undefined; + } + // Any EventTarget with a Node-style `once` function + interface _NodeEventTarget { + once(eventName: string | symbol, listener: (...args: any[]) => void): this; + } + // Any EventTarget with a DOM-style `addEventListener` + interface _DOMEventTarget { + addEventListener( + eventName: string, + listener: (...args: any[]) => void, + opts?: { + once: boolean; + }, + ): any; + } + interface StaticEventEmitterOptions { + signal?: AbortSignal | undefined; + } + interface EventEmitter extends NodeJS.EventEmitter {} + /** + * The `EventEmitter` class is defined and exposed by the `node:events` module: + * + * ```js + * import { EventEmitter } from 'node:events'; + * ``` + * + * All `EventEmitter`s emit the event `'newListener'` when new listeners are + * added and `'removeListener'` when existing listeners are removed. + * + * It supports the following option: + * @since v0.1.26 + */ + class EventEmitter { + constructor(options?: EventEmitterOptions); + + [EventEmitter.captureRejectionSymbol]?(error: Error, event: string, ...args: any[]): void; + + /** + * Creates a `Promise` that is fulfilled when the `EventEmitter` emits the given + * event or that is rejected if the `EventEmitter` emits `'error'` while waiting. + * The `Promise` will resolve with an array of all the arguments emitted to the + * given event. + * + * This method is intentionally generic and works with the web platform [EventTarget](https://dom.spec.whatwg.org/#interface-eventtarget) interface, which has no special`'error'` event + * semantics and does not listen to the `'error'` event. + * + * ```js + * import { once, EventEmitter } from 'node:events'; + * import process from 'node:process'; + * + * const ee = new EventEmitter(); + * + * process.nextTick(() => { + * ee.emit('myevent', 42); + * }); + * + * const [value] = await once(ee, 'myevent'); + * console.log(value); + * + * const err = new Error('kaboom'); + * process.nextTick(() => { + * ee.emit('error', err); + * }); + * + * try { + * await once(ee, 'myevent'); + * } catch (err) { + * console.error('error happened', err); + * } + * ``` + * + * The special handling of the `'error'` event is only used when `events.once()`is used to wait for another event. If `events.once()` is used to wait for the + * '`error'` event itself, then it is treated as any other kind of event without + * special handling: + * + * ```js + * import { EventEmitter, once } from 'node:events'; + * + * const ee = new EventEmitter(); + * + * once(ee, 'error') + * .then(([err]) => console.log('ok', err.message)) + * .catch((err) => console.error('error', err.message)); + * + * ee.emit('error', new Error('boom')); + * + * // Prints: ok boom + * ``` + * + * An `AbortSignal` can be used to cancel waiting for the event: + * + * ```js + * import { EventEmitter, once } from 'node:events'; + * + * const ee = new EventEmitter(); + * const ac = new AbortController(); + * + * async function foo(emitter, event, signal) { + * try { + * await once(emitter, event, { signal }); + * console.log('event emitted!'); + * } catch (error) { + * if (error.name === 'AbortError') { + * console.error('Waiting for the event was canceled!'); + * } else { + * console.error('There was an error', error.message); + * } + * } + * } + * + * foo(ee, 'foo', ac.signal); + * ac.abort(); // Abort waiting for the event + * ee.emit('foo'); // Prints: Waiting for the event was canceled! + * ``` + * @since v11.13.0, v10.16.0 + */ + static once( + emitter: _NodeEventTarget, + eventName: string | symbol, + options?: StaticEventEmitterOptions, + ): Promise; + static once(emitter: _DOMEventTarget, eventName: string, options?: StaticEventEmitterOptions): Promise; + /** + * ```js + * import { on, EventEmitter } from 'node:events'; + * import process from 'node:process'; + * + * const ee = new EventEmitter(); + * + * // Emit later on + * process.nextTick(() => { + * ee.emit('foo', 'bar'); + * ee.emit('foo', 42); + * }); + * + * for await (const event of on(ee, 'foo')) { + * // The execution of this inner block is synchronous and it + * // processes one event at a time (even with await). Do not use + * // if concurrent execution is required. + * console.log(event); // prints ['bar'] [42] + * } + * // Unreachable here + * ``` + * + * Returns an `AsyncIterator` that iterates `eventName` events. It will throw + * if the `EventEmitter` emits `'error'`. It removes all listeners when + * exiting the loop. The `value` returned by each iteration is an array + * composed of the emitted event arguments. + * + * An `AbortSignal` can be used to cancel waiting on events: + * + * ```js + * import { on, EventEmitter } from 'node:events'; + * import process from 'node:process'; + * + * const ac = new AbortController(); + * + * (async () => { + * const ee = new EventEmitter(); + * + * // Emit later on + * process.nextTick(() => { + * ee.emit('foo', 'bar'); + * ee.emit('foo', 42); + * }); + * + * for await (const event of on(ee, 'foo', { signal: ac.signal })) { + * // The execution of this inner block is synchronous and it + * // processes one event at a time (even with await). Do not use + * // if concurrent execution is required. + * console.log(event); // prints ['bar'] [42] + * } + * // Unreachable here + * })(); + * + * process.nextTick(() => ac.abort()); + * ``` + * @since v13.6.0, v12.16.0 + * @param eventName The name of the event being listened for + * @return that iterates `eventName` events emitted by the `emitter` + */ + static on( + emitter: NodeJS.EventEmitter, + eventName: string, + options?: StaticEventEmitterOptions, + ): AsyncIterableIterator; + /** + * A class method that returns the number of listeners for the given `eventName`registered on the given `emitter`. + * + * ```js + * import { EventEmitter, listenerCount } from 'node:events'; + * + * const myEmitter = new EventEmitter(); + * myEmitter.on('event', () => {}); + * myEmitter.on('event', () => {}); + * console.log(listenerCount(myEmitter, 'event')); + * // Prints: 2 + * ``` + * @since v0.9.12 + * @deprecated Since v3.2.0 - Use `listenerCount` instead. + * @param emitter The emitter to query + * @param eventName The event name + */ + static listenerCount(emitter: NodeJS.EventEmitter, eventName: string | symbol): number; + /** + * Returns a copy of the array of listeners for the event named `eventName`. + * + * For `EventEmitter`s this behaves exactly the same as calling `.listeners` on + * the emitter. + * + * For `EventTarget`s this is the only way to get the event listeners for the + * event target. This is useful for debugging and diagnostic purposes. + * + * ```js + * import { getEventListeners, EventEmitter } from 'node:events'; + * + * { + * const ee = new EventEmitter(); + * const listener = () => console.log('Events are fun'); + * ee.on('foo', listener); + * console.log(getEventListeners(ee, 'foo')); // [ [Function: listener] ] + * } + * { + * const et = new EventTarget(); + * const listener = () => console.log('Events are fun'); + * et.addEventListener('foo', listener); + * console.log(getEventListeners(et, 'foo')); // [ [Function: listener] ] + * } + * ``` + * @since v15.2.0, v14.17.0 + */ + static getEventListeners(emitter: _DOMEventTarget | NodeJS.EventEmitter, name: string | symbol): Function[]; + /** + * Returns the currently set max amount of listeners. + * + * For `EventEmitter`s this behaves exactly the same as calling `.getMaxListeners` on + * the emitter. + * + * For `EventTarget`s this is the only way to get the max event listeners for the + * event target. If the number of event handlers on a single EventTarget exceeds + * the max set, the EventTarget will print a warning. + * + * ```js + * import { getMaxListeners, setMaxListeners, EventEmitter } from 'node:events'; + * + * { + * const ee = new EventEmitter(); + * console.log(getMaxListeners(ee)); // 10 + * setMaxListeners(11, ee); + * console.log(getMaxListeners(ee)); // 11 + * } + * { + * const et = new EventTarget(); + * console.log(getMaxListeners(et)); // 10 + * setMaxListeners(11, et); + * console.log(getMaxListeners(et)); // 11 + * } + * ``` + * @since v19.9.0 + */ + static getMaxListeners(emitter: _DOMEventTarget | NodeJS.EventEmitter): number; + /** + * ```js + * import { setMaxListeners, EventEmitter } from 'node:events'; + * + * const target = new EventTarget(); + * const emitter = new EventEmitter(); + * + * setMaxListeners(5, target, emitter); + * ``` + * @since v15.4.0 + * @param n A non-negative number. The maximum number of listeners per `EventTarget` event. + * @param eventsTargets Zero or more {EventTarget} or {EventEmitter} instances. If none are specified, `n` is set as the default max for all newly created {EventTarget} and {EventEmitter} + * objects. + */ + static setMaxListeners(n?: number, ...eventTargets: Array<_DOMEventTarget | NodeJS.EventEmitter>): void; + /** + * Listens once to the `abort` event on the provided `signal`. + * + * Listening to the `abort` event on abort signals is unsafe and may + * lead to resource leaks since another third party with the signal can + * call `e.stopImmediatePropagation()`. Unfortunately Node.js cannot change + * this since it would violate the web standard. Additionally, the original + * API makes it easy to forget to remove listeners. + * + * This API allows safely using `AbortSignal`s in Node.js APIs by solving these + * two issues by listening to the event such that `stopImmediatePropagation` does + * not prevent the listener from running. + * + * Returns a disposable so that it may be unsubscribed from more easily. + * + * ```js + * import { addAbortListener } from 'node:events'; + * + * function example(signal) { + * let disposable; + * try { + * signal.addEventListener('abort', (e) => e.stopImmediatePropagation()); + * disposable = addAbortListener(signal, (e) => { + * // Do something when signal is aborted. + * }); + * } finally { + * disposable?.[Symbol.dispose](); + * } + * } + * ``` + * @since v20.5.0 + * @experimental + * @return Disposable that removes the `abort` listener. + */ + static addAbortListener(signal: AbortSignal, resource: (event: Event) => void): Disposable; + /** + * This symbol shall be used to install a listener for only monitoring `'error'`events. Listeners installed using this symbol are called before the regular`'error'` listeners are called. + * + * Installing a listener using this symbol does not change the behavior once an`'error'` event is emitted. Therefore, the process will still crash if no + * regular `'error'` listener is installed. + * @since v13.6.0, v12.17.0 + */ + static readonly errorMonitor: unique symbol; + /** + * Value: `Symbol.for('nodejs.rejection')` + * + * See how to write a custom `rejection handler`. + * @since v13.4.0, v12.16.0 + */ + static readonly captureRejectionSymbol: unique symbol; + /** + * Value: [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) + * + * Change the default `captureRejections` option on all new `EventEmitter` objects. + * @since v13.4.0, v12.16.0 + */ + static captureRejections: boolean; + /** + * By default, a maximum of `10` listeners can be registered for any single + * event. This limit can be changed for individual `EventEmitter` instances + * using the `emitter.setMaxListeners(n)` method. To change the default + * for _all_`EventEmitter` instances, the `events.defaultMaxListeners`property can be used. If this value is not a positive number, a `RangeError`is thrown. + * + * Take caution when setting the `events.defaultMaxListeners` because the + * change affects _all_`EventEmitter` instances, including those created before + * the change is made. However, calling `emitter.setMaxListeners(n)` still has + * precedence over `events.defaultMaxListeners`. + * + * This is not a hard limit. The `EventEmitter` instance will allow + * more listeners to be added but will output a trace warning to stderr indicating + * that a "possible EventEmitter memory leak" has been detected. For any single`EventEmitter`, the `emitter.getMaxListeners()` and `emitter.setMaxListeners()`methods can be used to + * temporarily avoid this warning: + * + * ```js + * import { EventEmitter } from 'node:events'; + * const emitter = new EventEmitter(); + * emitter.setMaxListeners(emitter.getMaxListeners() + 1); + * emitter.once('event', () => { + * // do stuff + * emitter.setMaxListeners(Math.max(emitter.getMaxListeners() - 1, 0)); + * }); + * ``` + * + * The `--trace-warnings` command-line flag can be used to display the + * stack trace for such warnings. + * + * The emitted warning can be inspected with `process.on('warning')` and will + * have the additional `emitter`, `type`, and `count` properties, referring to + * the event emitter instance, the event's name and the number of attached + * listeners, respectively. + * Its `name` property is set to `'MaxListenersExceededWarning'`. + * @since v0.11.2 + */ + static defaultMaxListeners: number; + } + import internal = require("node:events"); + namespace EventEmitter { + // Should just be `export { EventEmitter }`, but that doesn't work in TypeScript 3.4 + export { internal as EventEmitter }; + export interface Abortable { + /** + * When provided the corresponding `AbortController` can be used to cancel an asynchronous action. + */ + signal?: AbortSignal | undefined; + } + + export interface EventEmitterReferencingAsyncResource extends AsyncResource { + readonly eventEmitter: EventEmitterAsyncResource; + } + + export interface EventEmitterAsyncResourceOptions extends AsyncResourceOptions, EventEmitterOptions { + /** + * The type of async event, this is required when instantiating `EventEmitterAsyncResource` + * directly rather than as a child class. + * @default new.target.name if instantiated as a child class. + */ + name?: string; + } + + /** + * Integrates `EventEmitter` with `AsyncResource` for `EventEmitter`s that + * require manual async tracking. Specifically, all events emitted by instances + * of `events.EventEmitterAsyncResource` will run within its `async context`. + * + * ```js + * import { EventEmitterAsyncResource, EventEmitter } from 'node:events'; + * import { notStrictEqual, strictEqual } from 'node:assert'; + * import { executionAsyncId, triggerAsyncId } from 'node:async_hooks'; + * + * // Async tracking tooling will identify this as 'Q'. + * const ee1 = new EventEmitterAsyncResource({ name: 'Q' }); + * + * // 'foo' listeners will run in the EventEmitters async context. + * ee1.on('foo', () => { + * strictEqual(executionAsyncId(), ee1.asyncId); + * strictEqual(triggerAsyncId(), ee1.triggerAsyncId); + * }); + * + * const ee2 = new EventEmitter(); + * + * // 'foo' listeners on ordinary EventEmitters that do not track async + * // context, however, run in the same async context as the emit(). + * ee2.on('foo', () => { + * notStrictEqual(executionAsyncId(), ee2.asyncId); + * notStrictEqual(triggerAsyncId(), ee2.triggerAsyncId); + * }); + * + * Promise.resolve().then(() => { + * ee1.emit('foo'); + * ee2.emit('foo'); + * }); + * ``` + * + * The `EventEmitterAsyncResource` class has the same methods and takes the + * same options as `EventEmitter` and `AsyncResource` themselves. + * @since v17.4.0, v16.14.0 + */ + export class EventEmitterAsyncResource extends EventEmitter { + /** + * @param options Only optional in child class. + */ + constructor(options?: EventEmitterAsyncResourceOptions); + /** + * Call all `destroy` hooks. This should only ever be called once. An error will + * be thrown if it is called more than once. This **must** be manually called. If + * the resource is left to be collected by the GC then the `destroy` hooks will + * never be called. + */ + emitDestroy(): void; + /** + * The unique `asyncId` assigned to the resource. + */ + readonly asyncId: number; + /** + * The same triggerAsyncId that is passed to the AsyncResource constructor. + */ + readonly triggerAsyncId: number; + /** + * The returned `AsyncResource` object has an additional `eventEmitter` property + * that provides a reference to this `EventEmitterAsyncResource`. + */ + readonly asyncResource: EventEmitterReferencingAsyncResource; + } + } + global { + namespace NodeJS { + interface EventEmitter { + [EventEmitter.captureRejectionSymbol]?(error: Error, event: string, ...args: any[]): void; + /** + * Alias for `emitter.on(eventName, listener)`. + * @since v0.1.26 + */ + addListener(eventName: string | symbol, listener: (...args: any[]) => void): this; + /** + * Adds the `listener` function to the end of the listeners array for the + * event named `eventName`. No checks are made to see if the `listener` has + * already been added. Multiple calls passing the same combination of `eventName`and `listener` will result in the `listener` being added, and called, multiple + * times. + * + * ```js + * server.on('connection', (stream) => { + * console.log('someone connected!'); + * }); + * ``` + * + * Returns a reference to the `EventEmitter`, so that calls can be chained. + * + * By default, event listeners are invoked in the order they are added. The`emitter.prependListener()` method can be used as an alternative to add the + * event listener to the beginning of the listeners array. + * + * ```js + * import { EventEmitter } from 'node:events'; + * const myEE = new EventEmitter(); + * myEE.on('foo', () => console.log('a')); + * myEE.prependListener('foo', () => console.log('b')); + * myEE.emit('foo'); + * // Prints: + * // b + * // a + * ``` + * @since v0.1.101 + * @param eventName The name of the event. + * @param listener The callback function + */ + on(eventName: string | symbol, listener: (...args: any[]) => void): this; + /** + * Adds a **one-time**`listener` function for the event named `eventName`. The + * next time `eventName` is triggered, this listener is removed and then invoked. + * + * ```js + * server.once('connection', (stream) => { + * console.log('Ah, we have our first user!'); + * }); + * ``` + * + * Returns a reference to the `EventEmitter`, so that calls can be chained. + * + * By default, event listeners are invoked in the order they are added. The`emitter.prependOnceListener()` method can be used as an alternative to add the + * event listener to the beginning of the listeners array. + * + * ```js + * import { EventEmitter } from 'node:events'; + * const myEE = new EventEmitter(); + * myEE.once('foo', () => console.log('a')); + * myEE.prependOnceListener('foo', () => console.log('b')); + * myEE.emit('foo'); + * // Prints: + * // b + * // a + * ``` + * @since v0.3.0 + * @param eventName The name of the event. + * @param listener The callback function + */ + once(eventName: string | symbol, listener: (...args: any[]) => void): this; + /** + * Removes the specified `listener` from the listener array for the event named`eventName`. + * + * ```js + * const callback = (stream) => { + * console.log('someone connected!'); + * }; + * server.on('connection', callback); + * // ... + * server.removeListener('connection', callback); + * ``` + * + * `removeListener()` will remove, at most, one instance of a listener from the + * listener array. If any single listener has been added multiple times to the + * listener array for the specified `eventName`, then `removeListener()` must be + * called multiple times to remove each instance. + * + * Once an event is emitted, all listeners attached to it at the + * time of emitting are called in order. This implies that any`removeListener()` or `removeAllListeners()` calls _after_ emitting and _before_ the last listener finishes execution + * will not remove them from`emit()` in progress. Subsequent events behave as expected. + * + * ```js + * import { EventEmitter } from 'node:events'; + * class MyEmitter extends EventEmitter {} + * const myEmitter = new MyEmitter(); + * + * const callbackA = () => { + * console.log('A'); + * myEmitter.removeListener('event', callbackB); + * }; + * + * const callbackB = () => { + * console.log('B'); + * }; + * + * myEmitter.on('event', callbackA); + * + * myEmitter.on('event', callbackB); + * + * // callbackA removes listener callbackB but it will still be called. + * // Internal listener array at time of emit [callbackA, callbackB] + * myEmitter.emit('event'); + * // Prints: + * // A + * // B + * + * // callbackB is now removed. + * // Internal listener array [callbackA] + * myEmitter.emit('event'); + * // Prints: + * // A + * ``` + * + * Because listeners are managed using an internal array, calling this will + * change the position indices of any listener registered _after_ the listener + * being removed. This will not impact the order in which listeners are called, + * but it means that any copies of the listener array as returned by + * the `emitter.listeners()` method will need to be recreated. + * + * When a single function has been added as a handler multiple times for a single + * event (as in the example below), `removeListener()` will remove the most + * recently added instance. In the example the `once('ping')`listener is removed: + * + * ```js + * import { EventEmitter } from 'node:events'; + * const ee = new EventEmitter(); + * + * function pong() { + * console.log('pong'); + * } + * + * ee.on('ping', pong); + * ee.once('ping', pong); + * ee.removeListener('ping', pong); + * + * ee.emit('ping'); + * ee.emit('ping'); + * ``` + * + * Returns a reference to the `EventEmitter`, so that calls can be chained. + * @since v0.1.26 + */ + removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this; + /** + * Alias for `emitter.removeListener()`. + * @since v10.0.0 + */ + off(eventName: string | symbol, listener: (...args: any[]) => void): this; + /** + * Removes all listeners, or those of the specified `eventName`. + * + * It is bad practice to remove listeners added elsewhere in the code, + * particularly when the `EventEmitter` instance was created by some other + * component or module (e.g. sockets or file streams). + * + * Returns a reference to the `EventEmitter`, so that calls can be chained. + * @since v0.1.26 + */ + removeAllListeners(event?: string | symbol): this; + /** + * By default `EventEmitter`s will print a warning if more than `10` listeners are + * added for a particular event. This is a useful default that helps finding + * memory leaks. The `emitter.setMaxListeners()` method allows the limit to be + * modified for this specific `EventEmitter` instance. The value can be set to`Infinity` (or `0`) to indicate an unlimited number of listeners. + * + * Returns a reference to the `EventEmitter`, so that calls can be chained. + * @since v0.3.5 + */ + setMaxListeners(n: number): this; + /** + * Returns the current max listener value for the `EventEmitter` which is either + * set by `emitter.setMaxListeners(n)` or defaults to {@link defaultMaxListeners}. + * @since v1.0.0 + */ + getMaxListeners(): number; + /** + * Returns a copy of the array of listeners for the event named `eventName`. + * + * ```js + * server.on('connection', (stream) => { + * console.log('someone connected!'); + * }); + * console.log(util.inspect(server.listeners('connection'))); + * // Prints: [ [Function] ] + * ``` + * @since v0.1.26 + */ + listeners(eventName: string | symbol): Function[]; + /** + * Returns a copy of the array of listeners for the event named `eventName`, + * including any wrappers (such as those created by `.once()`). + * + * ```js + * import { EventEmitter } from 'node:events'; + * const emitter = new EventEmitter(); + * emitter.once('log', () => console.log('log once')); + * + * // Returns a new Array with a function `onceWrapper` which has a property + * // `listener` which contains the original listener bound above + * const listeners = emitter.rawListeners('log'); + * const logFnWrapper = listeners[0]; + * + * // Logs "log once" to the console and does not unbind the `once` event + * logFnWrapper.listener(); + * + * // Logs "log once" to the console and removes the listener + * logFnWrapper(); + * + * emitter.on('log', () => console.log('log persistently')); + * // Will return a new Array with a single function bound by `.on()` above + * const newListeners = emitter.rawListeners('log'); + * + * // Logs "log persistently" twice + * newListeners[0](); + * emitter.emit('log'); + * ``` + * @since v9.4.0 + */ + rawListeners(eventName: string | symbol): Function[]; + /** + * Synchronously calls each of the listeners registered for the event named`eventName`, in the order they were registered, passing the supplied arguments + * to each. + * + * Returns `true` if the event had listeners, `false` otherwise. + * + * ```js + * import { EventEmitter } from 'node:events'; + * const myEmitter = new EventEmitter(); + * + * // First listener + * myEmitter.on('event', function firstListener() { + * console.log('Helloooo! first listener'); + * }); + * // Second listener + * myEmitter.on('event', function secondListener(arg1, arg2) { + * console.log(`event with parameters ${arg1}, ${arg2} in second listener`); + * }); + * // Third listener + * myEmitter.on('event', function thirdListener(...args) { + * const parameters = args.join(', '); + * console.log(`event with parameters ${parameters} in third listener`); + * }); + * + * console.log(myEmitter.listeners('event')); + * + * myEmitter.emit('event', 1, 2, 3, 4, 5); + * + * // Prints: + * // [ + * // [Function: firstListener], + * // [Function: secondListener], + * // [Function: thirdListener] + * // ] + * // Helloooo! first listener + * // event with parameters 1, 2 in second listener + * // event with parameters 1, 2, 3, 4, 5 in third listener + * ``` + * @since v0.1.26 + */ + emit(eventName: string | symbol, ...args: any[]): boolean; + /** + * Returns the number of listeners listening for the event named `eventName`. + * If `listener` is provided, it will return how many times the listener is found + * in the list of the listeners of the event. + * @since v3.2.0 + * @param eventName The name of the event being listened for + * @param listener The event handler function + */ + listenerCount(eventName: string | symbol, listener?: Function): number; + /** + * Adds the `listener` function to the _beginning_ of the listeners array for the + * event named `eventName`. No checks are made to see if the `listener` has + * already been added. Multiple calls passing the same combination of `eventName`and `listener` will result in the `listener` being added, and called, multiple + * times. + * + * ```js + * server.prependListener('connection', (stream) => { + * console.log('someone connected!'); + * }); + * ``` + * + * Returns a reference to the `EventEmitter`, so that calls can be chained. + * @since v6.0.0 + * @param eventName The name of the event. + * @param listener The callback function + */ + prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this; + /** + * Adds a **one-time**`listener` function for the event named `eventName` to the _beginning_ of the listeners array. The next time `eventName` is triggered, this + * listener is removed, and then invoked. + * + * ```js + * server.prependOnceListener('connection', (stream) => { + * console.log('Ah, we have our first user!'); + * }); + * ``` + * + * Returns a reference to the `EventEmitter`, so that calls can be chained. + * @since v6.0.0 + * @param eventName The name of the event. + * @param listener The callback function + */ + prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this; + /** + * Returns an array listing the events for which the emitter has registered + * listeners. The values in the array are strings or `Symbol`s. + * + * ```js + * import { EventEmitter } from 'node:events'; + * + * const myEE = new EventEmitter(); + * myEE.on('foo', () => {}); + * myEE.on('bar', () => {}); + * + * const sym = Symbol('symbol'); + * myEE.on(sym, () => {}); + * + * console.log(myEE.eventNames()); + * // Prints: [ 'foo', 'bar', Symbol(symbol) ] + * ``` + * @since v6.0.0 + */ + eventNames(): Array; + } + } + } + export = EventEmitter; +} +declare module "node:events" { + import events = require("events"); + export = events; +} diff --git a/node_modules/@types/node/ts4.8/fs.d.ts b/node_modules/@types/node/ts4.8/fs.d.ts new file mode 100644 index 000000000..f98453a53 --- /dev/null +++ b/node_modules/@types/node/ts4.8/fs.d.ts @@ -0,0 +1,4291 @@ +/** + * The `node:fs` module enables interacting with the file system in a + * way modeled on standard POSIX functions. + * + * To use the promise-based APIs: + * + * ```js + * import * as fs from 'node:fs/promises'; + * ``` + * + * To use the callback and sync APIs: + * + * ```js + * import * as fs from 'node:fs'; + * ``` + * + * All file system operations have synchronous, callback, and promise-based + * forms, and are accessible using both CommonJS syntax and ES6 Modules (ESM). + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/fs.js) + */ +declare module "fs" { + import * as stream from "node:stream"; + import { Abortable, EventEmitter } from "node:events"; + import { URL } from "node:url"; + import * as promises from "node:fs/promises"; + export { promises }; + /** + * Valid types for path values in "fs". + */ + export type PathLike = string | Buffer | URL; + export type PathOrFileDescriptor = PathLike | number; + export type TimeLike = string | number | Date; + export type NoParamCallback = (err: NodeJS.ErrnoException | null) => void; + export type BufferEncodingOption = + | "buffer" + | { + encoding: "buffer"; + }; + export interface ObjectEncodingOptions { + encoding?: BufferEncoding | null | undefined; + } + export type EncodingOption = ObjectEncodingOptions | BufferEncoding | undefined | null; + export type OpenMode = number | string; + export type Mode = number | string; + export interface StatsBase { + isFile(): boolean; + isDirectory(): boolean; + isBlockDevice(): boolean; + isCharacterDevice(): boolean; + isSymbolicLink(): boolean; + isFIFO(): boolean; + isSocket(): boolean; + dev: T; + ino: T; + mode: T; + nlink: T; + uid: T; + gid: T; + rdev: T; + size: T; + blksize: T; + blocks: T; + atimeMs: T; + mtimeMs: T; + ctimeMs: T; + birthtimeMs: T; + atime: Date; + mtime: Date; + ctime: Date; + birthtime: Date; + } + export interface Stats extends StatsBase {} + /** + * A `fs.Stats` object provides information about a file. + * + * Objects returned from {@link stat}, {@link lstat}, {@link fstat}, and + * their synchronous counterparts are of this type. + * If `bigint` in the `options` passed to those methods is true, the numeric values + * will be `bigint` instead of `number`, and the object will contain additional + * nanosecond-precision properties suffixed with `Ns`. + * + * ```console + * Stats { + * dev: 2114, + * ino: 48064969, + * mode: 33188, + * nlink: 1, + * uid: 85, + * gid: 100, + * rdev: 0, + * size: 527, + * blksize: 4096, + * blocks: 8, + * atimeMs: 1318289051000.1, + * mtimeMs: 1318289051000.1, + * ctimeMs: 1318289051000.1, + * birthtimeMs: 1318289051000.1, + * atime: Mon, 10 Oct 2011 23:24:11 GMT, + * mtime: Mon, 10 Oct 2011 23:24:11 GMT, + * ctime: Mon, 10 Oct 2011 23:24:11 GMT, + * birthtime: Mon, 10 Oct 2011 23:24:11 GMT } + * ``` + * + * `bigint` version: + * + * ```console + * BigIntStats { + * dev: 2114n, + * ino: 48064969n, + * mode: 33188n, + * nlink: 1n, + * uid: 85n, + * gid: 100n, + * rdev: 0n, + * size: 527n, + * blksize: 4096n, + * blocks: 8n, + * atimeMs: 1318289051000n, + * mtimeMs: 1318289051000n, + * ctimeMs: 1318289051000n, + * birthtimeMs: 1318289051000n, + * atimeNs: 1318289051000000000n, + * mtimeNs: 1318289051000000000n, + * ctimeNs: 1318289051000000000n, + * birthtimeNs: 1318289051000000000n, + * atime: Mon, 10 Oct 2011 23:24:11 GMT, + * mtime: Mon, 10 Oct 2011 23:24:11 GMT, + * ctime: Mon, 10 Oct 2011 23:24:11 GMT, + * birthtime: Mon, 10 Oct 2011 23:24:11 GMT } + * ``` + * @since v0.1.21 + */ + export class Stats {} + export interface StatsFsBase { + /** Type of file system. */ + type: T; + /** Optimal transfer block size. */ + bsize: T; + /** Total data blocks in file system. */ + blocks: T; + /** Free blocks in file system. */ + bfree: T; + /** Available blocks for unprivileged users */ + bavail: T; + /** Total file nodes in file system. */ + files: T; + /** Free file nodes in file system. */ + ffree: T; + } + export interface StatsFs extends StatsFsBase {} + /** + * Provides information about a mounted file system. + * + * Objects returned from {@link statfs} and its synchronous counterpart are of + * this type. If `bigint` in the `options` passed to those methods is `true`, the + * numeric values will be `bigint` instead of `number`. + * + * ```console + * StatFs { + * type: 1397114950, + * bsize: 4096, + * blocks: 121938943, + * bfree: 61058895, + * bavail: 61058895, + * files: 999, + * ffree: 1000000 + * } + * ``` + * + * `bigint` version: + * + * ```console + * StatFs { + * type: 1397114950n, + * bsize: 4096n, + * blocks: 121938943n, + * bfree: 61058895n, + * bavail: 61058895n, + * files: 999n, + * ffree: 1000000n + * } + * ``` + * @since v19.6.0, v18.15.0 + */ + export class StatsFs {} + export interface BigIntStatsFs extends StatsFsBase {} + export interface StatFsOptions { + bigint?: boolean | undefined; + } + /** + * A representation of a directory entry, which can be a file or a subdirectory + * within the directory, as returned by reading from an `fs.Dir`. The + * directory entry is a combination of the file name and file type pairs. + * + * Additionally, when {@link readdir} or {@link readdirSync} is called with + * the `withFileTypes` option set to `true`, the resulting array is filled with `fs.Dirent` objects, rather than strings or `Buffer` s. + * @since v10.10.0 + */ + export class Dirent { + /** + * Returns `true` if the `fs.Dirent` object describes a regular file. + * @since v10.10.0 + */ + isFile(): boolean; + /** + * Returns `true` if the `fs.Dirent` object describes a file system + * directory. + * @since v10.10.0 + */ + isDirectory(): boolean; + /** + * Returns `true` if the `fs.Dirent` object describes a block device. + * @since v10.10.0 + */ + isBlockDevice(): boolean; + /** + * Returns `true` if the `fs.Dirent` object describes a character device. + * @since v10.10.0 + */ + isCharacterDevice(): boolean; + /** + * Returns `true` if the `fs.Dirent` object describes a symbolic link. + * @since v10.10.0 + */ + isSymbolicLink(): boolean; + /** + * Returns `true` if the `fs.Dirent` object describes a first-in-first-out + * (FIFO) pipe. + * @since v10.10.0 + */ + isFIFO(): boolean; + /** + * Returns `true` if the `fs.Dirent` object describes a socket. + * @since v10.10.0 + */ + isSocket(): boolean; + /** + * The file name that this `fs.Dirent` object refers to. The type of this + * value is determined by the `options.encoding` passed to {@link readdir} or {@link readdirSync}. + * @since v10.10.0 + */ + name: string; + /** + * The base path that this `fs.Dirent` object refers to. + * @since v20.1.0 + */ + path: string; + } + /** + * A class representing a directory stream. + * + * Created by {@link opendir}, {@link opendirSync}, or `fsPromises.opendir()`. + * + * ```js + * import { opendir } from 'node:fs/promises'; + * + * try { + * const dir = await opendir('./'); + * for await (const dirent of dir) + * console.log(dirent.name); + * } catch (err) { + * console.error(err); + * } + * ``` + * + * When using the async iterator, the `fs.Dir` object will be automatically + * closed after the iterator exits. + * @since v12.12.0 + */ + export class Dir implements AsyncIterable { + /** + * The read-only path of this directory as was provided to {@link opendir},{@link opendirSync}, or `fsPromises.opendir()`. + * @since v12.12.0 + */ + readonly path: string; + /** + * Asynchronously iterates over the directory via `readdir(3)` until all entries have been read. + */ + [Symbol.asyncIterator](): AsyncIterableIterator; + /** + * Asynchronously close the directory's underlying resource handle. + * Subsequent reads will result in errors. + * + * A promise is returned that will be resolved after the resource has been + * closed. + * @since v12.12.0 + */ + close(): Promise; + close(cb: NoParamCallback): void; + /** + * Synchronously close the directory's underlying resource handle. + * Subsequent reads will result in errors. + * @since v12.12.0 + */ + closeSync(): void; + /** + * Asynchronously read the next directory entry via [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) as an `fs.Dirent`. + * + * A promise is returned that will be resolved with an `fs.Dirent`, or `null`if there are no more directory entries to read. + * + * Directory entries returned by this function are in no particular order as + * provided by the operating system's underlying directory mechanisms. + * Entries added or removed while iterating over the directory might not be + * included in the iteration results. + * @since v12.12.0 + * @return containing {fs.Dirent|null} + */ + read(): Promise; + read(cb: (err: NodeJS.ErrnoException | null, dirEnt: Dirent | null) => void): void; + /** + * Synchronously read the next directory entry as an `fs.Dirent`. See the + * POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more detail. + * + * If there are no more directory entries to read, `null` will be returned. + * + * Directory entries returned by this function are in no particular order as + * provided by the operating system's underlying directory mechanisms. + * Entries added or removed while iterating over the directory might not be + * included in the iteration results. + * @since v12.12.0 + */ + readSync(): Dirent | null; + } + /** + * Class: fs.StatWatcher + * @since v14.3.0, v12.20.0 + * Extends `EventEmitter` + * A successful call to {@link watchFile} method will return a new fs.StatWatcher object. + */ + export interface StatWatcher extends EventEmitter { + /** + * When called, requests that the Node.js event loop _not_ exit so long as the `fs.StatWatcher` is active. Calling `watcher.ref()` multiple times will have + * no effect. + * + * By default, all `fs.StatWatcher` objects are "ref'ed", making it normally + * unnecessary to call `watcher.ref()` unless `watcher.unref()` had been + * called previously. + * @since v14.3.0, v12.20.0 + */ + ref(): this; + /** + * When called, the active `fs.StatWatcher` object will not require the Node.js + * event loop to remain active. If there is no other activity keeping the + * event loop running, the process may exit before the `fs.StatWatcher` object's + * callback is invoked. Calling `watcher.unref()` multiple times will have + * no effect. + * @since v14.3.0, v12.20.0 + */ + unref(): this; + } + export interface FSWatcher extends EventEmitter { + /** + * Stop watching for changes on the given `fs.FSWatcher`. Once stopped, the `fs.FSWatcher` object is no longer usable. + * @since v0.5.8 + */ + close(): void; + /** + * events.EventEmitter + * 1. change + * 2. error + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; + addListener(event: "error", listener: (error: Error) => void): this; + addListener(event: "close", listener: () => void): this; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; + on(event: "error", listener: (error: Error) => void): this; + on(event: "close", listener: () => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; + once(event: "error", listener: (error: Error) => void): this; + once(event: "close", listener: () => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; + prependListener(event: "error", listener: (error: Error) => void): this; + prependListener(event: "close", listener: () => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; + prependOnceListener(event: "error", listener: (error: Error) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + } + /** + * Instances of `fs.ReadStream` are created and returned using the {@link createReadStream} function. + * @since v0.1.93 + */ + export class ReadStream extends stream.Readable { + close(callback?: (err?: NodeJS.ErrnoException | null) => void): void; + /** + * The number of bytes that have been read so far. + * @since v6.4.0 + */ + bytesRead: number; + /** + * The path to the file the stream is reading from as specified in the first + * argument to `fs.createReadStream()`. If `path` is passed as a string, then`readStream.path` will be a string. If `path` is passed as a `Buffer`, then`readStream.path` will be a + * `Buffer`. If `fd` is specified, then`readStream.path` will be `undefined`. + * @since v0.1.93 + */ + path: string | Buffer; + /** + * This property is `true` if the underlying file has not been opened yet, + * i.e. before the `'ready'` event is emitted. + * @since v11.2.0, v10.16.0 + */ + pending: boolean; + /** + * events.EventEmitter + * 1. open + * 2. close + * 3. ready + */ + addListener(event: "close", listener: () => void): this; + addListener(event: "data", listener: (chunk: Buffer | string) => void): this; + addListener(event: "end", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "open", listener: (fd: number) => void): this; + addListener(event: "pause", listener: () => void): this; + addListener(event: "readable", listener: () => void): this; + addListener(event: "ready", listener: () => void): this; + addListener(event: "resume", listener: () => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + on(event: "close", listener: () => void): this; + on(event: "data", listener: (chunk: Buffer | string) => void): this; + on(event: "end", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "open", listener: (fd: number) => void): this; + on(event: "pause", listener: () => void): this; + on(event: "readable", listener: () => void): this; + on(event: "ready", listener: () => void): this; + on(event: "resume", listener: () => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "data", listener: (chunk: Buffer | string) => void): this; + once(event: "end", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "open", listener: (fd: number) => void): this; + once(event: "pause", listener: () => void): this; + once(event: "readable", listener: () => void): this; + once(event: "ready", listener: () => void): this; + once(event: "resume", listener: () => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; + prependListener(event: "end", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "open", listener: (fd: number) => void): this; + prependListener(event: "pause", listener: () => void): this; + prependListener(event: "readable", listener: () => void): this; + prependListener(event: "ready", listener: () => void): this; + prependListener(event: "resume", listener: () => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; + prependOnceListener(event: "end", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "open", listener: (fd: number) => void): this; + prependOnceListener(event: "pause", listener: () => void): this; + prependOnceListener(event: "readable", listener: () => void): this; + prependOnceListener(event: "ready", listener: () => void): this; + prependOnceListener(event: "resume", listener: () => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + /** + * * Extends `stream.Writable` + * + * Instances of `fs.WriteStream` are created and returned using the {@link createWriteStream} function. + * @since v0.1.93 + */ + export class WriteStream extends stream.Writable { + /** + * Closes `writeStream`. Optionally accepts a + * callback that will be executed once the `writeStream`is closed. + * @since v0.9.4 + */ + close(callback?: (err?: NodeJS.ErrnoException | null) => void): void; + /** + * The number of bytes written so far. Does not include data that is still queued + * for writing. + * @since v0.4.7 + */ + bytesWritten: number; + /** + * The path to the file the stream is writing to as specified in the first + * argument to {@link createWriteStream}. If `path` is passed as a string, then`writeStream.path` will be a string. If `path` is passed as a `Buffer`, then`writeStream.path` will be a + * `Buffer`. + * @since v0.1.93 + */ + path: string | Buffer; + /** + * This property is `true` if the underlying file has not been opened yet, + * i.e. before the `'ready'` event is emitted. + * @since v11.2.0 + */ + pending: boolean; + /** + * events.EventEmitter + * 1. open + * 2. close + * 3. ready + */ + addListener(event: "close", listener: () => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "finish", listener: () => void): this; + addListener(event: "open", listener: (fd: number) => void): this; + addListener(event: "pipe", listener: (src: stream.Readable) => void): this; + addListener(event: "ready", listener: () => void): this; + addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + on(event: "close", listener: () => void): this; + on(event: "drain", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "finish", listener: () => void): this; + on(event: "open", listener: (fd: number) => void): this; + on(event: "pipe", listener: (src: stream.Readable) => void): this; + on(event: "ready", listener: () => void): this; + on(event: "unpipe", listener: (src: stream.Readable) => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "drain", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "finish", listener: () => void): this; + once(event: "open", listener: (fd: number) => void): this; + once(event: "pipe", listener: (src: stream.Readable) => void): this; + once(event: "ready", listener: () => void): this; + once(event: "unpipe", listener: (src: stream.Readable) => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "finish", listener: () => void): this; + prependListener(event: "open", listener: (fd: number) => void): this; + prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependListener(event: "ready", listener: () => void): this; + prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "finish", listener: () => void): this; + prependOnceListener(event: "open", listener: (fd: number) => void): this; + prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: "ready", listener: () => void): this; + prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + /** + * Asynchronously rename file at `oldPath` to the pathname provided + * as `newPath`. In the case that `newPath` already exists, it will + * be overwritten. If there is a directory at `newPath`, an error will + * be raised instead. No arguments other than a possible exception are + * given to the completion callback. + * + * See also: [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html). + * + * ```js + * import { rename } from 'node:fs'; + * + * rename('oldFile.txt', 'newFile.txt', (err) => { + * if (err) throw err; + * console.log('Rename complete!'); + * }); + * ``` + * @since v0.0.2 + */ + export function rename(oldPath: PathLike, newPath: PathLike, callback: NoParamCallback): void; + export namespace rename { + /** + * Asynchronous rename(2) - Change the name or location of a file or directory. + * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + */ + function __promisify__(oldPath: PathLike, newPath: PathLike): Promise; + } + /** + * Renames the file from `oldPath` to `newPath`. Returns `undefined`. + * + * See the POSIX [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html) documentation for more details. + * @since v0.1.21 + */ + export function renameSync(oldPath: PathLike, newPath: PathLike): void; + /** + * Truncates the file. No arguments other than a possible exception are + * given to the completion callback. A file descriptor can also be passed as the + * first argument. In this case, `fs.ftruncate()` is called. + * + * ```js + * import { truncate } from 'node:fs'; + * // Assuming that 'path/file.txt' is a regular file. + * truncate('path/file.txt', (err) => { + * if (err) throw err; + * console.log('path/file.txt was truncated'); + * }); + * ``` + * + * Passing a file descriptor is deprecated and may result in an error being thrown + * in the future. + * + * See the POSIX [`truncate(2)`](http://man7.org/linux/man-pages/man2/truncate.2.html) documentation for more details. + * @since v0.8.6 + * @param [len=0] + */ + export function truncate(path: PathLike, len: number | undefined | null, callback: NoParamCallback): void; + /** + * Asynchronous truncate(2) - Truncate a file to a specified length. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export function truncate(path: PathLike, callback: NoParamCallback): void; + export namespace truncate { + /** + * Asynchronous truncate(2) - Truncate a file to a specified length. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param len If not specified, defaults to `0`. + */ + function __promisify__(path: PathLike, len?: number | null): Promise; + } + /** + * Truncates the file. Returns `undefined`. A file descriptor can also be + * passed as the first argument. In this case, `fs.ftruncateSync()` is called. + * + * Passing a file descriptor is deprecated and may result in an error being thrown + * in the future. + * @since v0.8.6 + * @param [len=0] + */ + export function truncateSync(path: PathLike, len?: number | null): void; + /** + * Truncates the file descriptor. No arguments other than a possible exception are + * given to the completion callback. + * + * See the POSIX [`ftruncate(2)`](http://man7.org/linux/man-pages/man2/ftruncate.2.html) documentation for more detail. + * + * If the file referred to by the file descriptor was larger than `len` bytes, only + * the first `len` bytes will be retained in the file. + * + * For example, the following program retains only the first four bytes of the + * file: + * + * ```js + * import { open, close, ftruncate } from 'node:fs'; + * + * function closeFd(fd) { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * + * open('temp.txt', 'r+', (err, fd) => { + * if (err) throw err; + * + * try { + * ftruncate(fd, 4, (err) => { + * closeFd(fd); + * if (err) throw err; + * }); + * } catch (err) { + * closeFd(fd); + * if (err) throw err; + * } + * }); + * ``` + * + * If the file previously was shorter than `len` bytes, it is extended, and the + * extended part is filled with null bytes (`'\0'`): + * + * If `len` is negative then `0` will be used. + * @since v0.8.6 + * @param [len=0] + */ + export function ftruncate(fd: number, len: number | undefined | null, callback: NoParamCallback): void; + /** + * Asynchronous ftruncate(2) - Truncate a file to a specified length. + * @param fd A file descriptor. + */ + export function ftruncate(fd: number, callback: NoParamCallback): void; + export namespace ftruncate { + /** + * Asynchronous ftruncate(2) - Truncate a file to a specified length. + * @param fd A file descriptor. + * @param len If not specified, defaults to `0`. + */ + function __promisify__(fd: number, len?: number | null): Promise; + } + /** + * Truncates the file descriptor. Returns `undefined`. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link ftruncate}. + * @since v0.8.6 + * @param [len=0] + */ + export function ftruncateSync(fd: number, len?: number | null): void; + /** + * Asynchronously changes owner and group of a file. No arguments other than a + * possible exception are given to the completion callback. + * + * See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail. + * @since v0.1.97 + */ + export function chown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void; + export namespace chown { + /** + * Asynchronous chown(2) - Change ownership of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + function __promisify__(path: PathLike, uid: number, gid: number): Promise; + } + /** + * Synchronously changes owner and group of a file. Returns `undefined`. + * This is the synchronous version of {@link chown}. + * + * See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail. + * @since v0.1.97 + */ + export function chownSync(path: PathLike, uid: number, gid: number): void; + /** + * Sets the owner of the file. No arguments other than a possible exception are + * given to the completion callback. + * + * See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail. + * @since v0.4.7 + */ + export function fchown(fd: number, uid: number, gid: number, callback: NoParamCallback): void; + export namespace fchown { + /** + * Asynchronous fchown(2) - Change ownership of a file. + * @param fd A file descriptor. + */ + function __promisify__(fd: number, uid: number, gid: number): Promise; + } + /** + * Sets the owner of the file. Returns `undefined`. + * + * See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail. + * @since v0.4.7 + * @param uid The file's new owner's user id. + * @param gid The file's new group's group id. + */ + export function fchownSync(fd: number, uid: number, gid: number): void; + /** + * Set the owner of the symbolic link. No arguments other than a possible + * exception are given to the completion callback. + * + * See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more detail. + */ + export function lchown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void; + export namespace lchown { + /** + * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + function __promisify__(path: PathLike, uid: number, gid: number): Promise; + } + /** + * Set the owner for the path. Returns `undefined`. + * + * See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more details. + * @param uid The file's new owner's user id. + * @param gid The file's new group's group id. + */ + export function lchownSync(path: PathLike, uid: number, gid: number): void; + /** + * Changes the access and modification times of a file in the same way as {@link utimes}, with the difference that if the path refers to a symbolic + * link, then the link is not dereferenced: instead, the timestamps of the + * symbolic link itself are changed. + * + * No arguments other than a possible exception are given to the completion + * callback. + * @since v14.5.0, v12.19.0 + */ + export function lutimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void; + export namespace lutimes { + /** + * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`, + * with the difference that if the path refers to a symbolic link, then the link is not + * dereferenced: instead, the timestamps of the symbolic link itself are changed. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param atime The last access time. If a string is provided, it will be coerced to number. + * @param mtime The last modified time. If a string is provided, it will be coerced to number. + */ + function __promisify__(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; + } + /** + * Change the file system timestamps of the symbolic link referenced by `path`. + * Returns `undefined`, or throws an exception when parameters are incorrect or + * the operation fails. This is the synchronous version of {@link lutimes}. + * @since v14.5.0, v12.19.0 + */ + export function lutimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void; + /** + * Asynchronously changes the permissions of a file. No arguments other than a + * possible exception are given to the completion callback. + * + * See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail. + * + * ```js + * import { chmod } from 'node:fs'; + * + * chmod('my_file.txt', 0o775, (err) => { + * if (err) throw err; + * console.log('The permissions for file "my_file.txt" have been changed!'); + * }); + * ``` + * @since v0.1.30 + */ + export function chmod(path: PathLike, mode: Mode, callback: NoParamCallback): void; + export namespace chmod { + /** + * Asynchronous chmod(2) - Change permissions of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param mode A file mode. If a string is passed, it is parsed as an octal integer. + */ + function __promisify__(path: PathLike, mode: Mode): Promise; + } + /** + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link chmod}. + * + * See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail. + * @since v0.6.7 + */ + export function chmodSync(path: PathLike, mode: Mode): void; + /** + * Sets the permissions on the file. No arguments other than a possible exception + * are given to the completion callback. + * + * See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail. + * @since v0.4.7 + */ + export function fchmod(fd: number, mode: Mode, callback: NoParamCallback): void; + export namespace fchmod { + /** + * Asynchronous fchmod(2) - Change permissions of a file. + * @param fd A file descriptor. + * @param mode A file mode. If a string is passed, it is parsed as an octal integer. + */ + function __promisify__(fd: number, mode: Mode): Promise; + } + /** + * Sets the permissions on the file. Returns `undefined`. + * + * See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail. + * @since v0.4.7 + */ + export function fchmodSync(fd: number, mode: Mode): void; + /** + * Changes the permissions on a symbolic link. No arguments other than a possible + * exception are given to the completion callback. + * + * This method is only implemented on macOS. + * + * See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail. + * @deprecated Since v0.4.7 + */ + export function lchmod(path: PathLike, mode: Mode, callback: NoParamCallback): void; + /** @deprecated */ + export namespace lchmod { + /** + * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param mode A file mode. If a string is passed, it is parsed as an octal integer. + */ + function __promisify__(path: PathLike, mode: Mode): Promise; + } + /** + * Changes the permissions on a symbolic link. Returns `undefined`. + * + * This method is only implemented on macOS. + * + * See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail. + * @deprecated Since v0.4.7 + */ + export function lchmodSync(path: PathLike, mode: Mode): void; + /** + * Asynchronous [`stat(2)`](http://man7.org/linux/man-pages/man2/stat.2.html). The callback gets two arguments `(err, stats)` where`stats` is an `fs.Stats` object. + * + * In case of an error, the `err.code` will be one of `Common System Errors`. + * + * {@link stat} follows symbolic links. Use {@link lstat} to look at the + * links themselves. + * + * Using `fs.stat()` to check for the existence of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()` is not recommended. + * Instead, user code should open/read/write the file directly and handle the + * error raised if the file is not available. + * + * To check if a file exists without manipulating it afterwards, {@link access} is recommended. + * + * For example, given the following directory structure: + * + * ```text + * - txtDir + * -- file.txt + * - app.js + * ``` + * + * The next program will check for the stats of the given paths: + * + * ```js + * import { stat } from 'node:fs'; + * + * const pathsToCheck = ['./txtDir', './txtDir/file.txt']; + * + * for (let i = 0; i < pathsToCheck.length; i++) { + * stat(pathsToCheck[i], (err, stats) => { + * console.log(stats.isDirectory()); + * console.log(stats); + * }); + * } + * ``` + * + * The resulting output will resemble: + * + * ```console + * true + * Stats { + * dev: 16777220, + * mode: 16877, + * nlink: 3, + * uid: 501, + * gid: 20, + * rdev: 0, + * blksize: 4096, + * ino: 14214262, + * size: 96, + * blocks: 0, + * atimeMs: 1561174653071.963, + * mtimeMs: 1561174614583.3518, + * ctimeMs: 1561174626623.5366, + * birthtimeMs: 1561174126937.2893, + * atime: 2019-06-22T03:37:33.072Z, + * mtime: 2019-06-22T03:36:54.583Z, + * ctime: 2019-06-22T03:37:06.624Z, + * birthtime: 2019-06-22T03:28:46.937Z + * } + * false + * Stats { + * dev: 16777220, + * mode: 33188, + * nlink: 1, + * uid: 501, + * gid: 20, + * rdev: 0, + * blksize: 4096, + * ino: 14214074, + * size: 8, + * blocks: 8, + * atimeMs: 1561174616618.8555, + * mtimeMs: 1561174614584, + * ctimeMs: 1561174614583.8145, + * birthtimeMs: 1561174007710.7478, + * atime: 2019-06-22T03:36:56.619Z, + * mtime: 2019-06-22T03:36:54.584Z, + * ctime: 2019-06-22T03:36:54.584Z, + * birthtime: 2019-06-22T03:26:47.711Z + * } + * ``` + * @since v0.0.2 + */ + export function stat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; + export function stat( + path: PathLike, + options: + | (StatOptions & { + bigint?: false | undefined; + }) + | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void, + ): void; + export function stat( + path: PathLike, + options: StatOptions & { + bigint: true; + }, + callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void, + ): void; + export function stat( + path: PathLike, + options: StatOptions | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void, + ): void; + export namespace stat { + /** + * Asynchronous stat(2) - Get file status. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + function __promisify__( + path: PathLike, + options?: StatOptions & { + bigint?: false | undefined; + }, + ): Promise; + function __promisify__( + path: PathLike, + options: StatOptions & { + bigint: true; + }, + ): Promise; + function __promisify__(path: PathLike, options?: StatOptions): Promise; + } + export interface StatSyncFn extends Function { + (path: PathLike, options?: undefined): Stats; + ( + path: PathLike, + options?: StatSyncOptions & { + bigint?: false | undefined; + throwIfNoEntry: false; + }, + ): Stats | undefined; + ( + path: PathLike, + options: StatSyncOptions & { + bigint: true; + throwIfNoEntry: false; + }, + ): BigIntStats | undefined; + ( + path: PathLike, + options?: StatSyncOptions & { + bigint?: false | undefined; + }, + ): Stats; + ( + path: PathLike, + options: StatSyncOptions & { + bigint: true; + }, + ): BigIntStats; + ( + path: PathLike, + options: StatSyncOptions & { + bigint: boolean; + throwIfNoEntry?: false | undefined; + }, + ): Stats | BigIntStats; + (path: PathLike, options?: StatSyncOptions): Stats | BigIntStats | undefined; + } + /** + * Synchronous stat(2) - Get file status. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export const statSync: StatSyncFn; + /** + * Invokes the callback with the `fs.Stats` for the file descriptor. + * + * See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail. + * @since v0.1.95 + */ + export function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; + export function fstat( + fd: number, + options: + | (StatOptions & { + bigint?: false | undefined; + }) + | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void, + ): void; + export function fstat( + fd: number, + options: StatOptions & { + bigint: true; + }, + callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void, + ): void; + export function fstat( + fd: number, + options: StatOptions | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void, + ): void; + export namespace fstat { + /** + * Asynchronous fstat(2) - Get file status. + * @param fd A file descriptor. + */ + function __promisify__( + fd: number, + options?: StatOptions & { + bigint?: false | undefined; + }, + ): Promise; + function __promisify__( + fd: number, + options: StatOptions & { + bigint: true; + }, + ): Promise; + function __promisify__(fd: number, options?: StatOptions): Promise; + } + /** + * Retrieves the `fs.Stats` for the file descriptor. + * + * See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail. + * @since v0.1.95 + */ + export function fstatSync( + fd: number, + options?: StatOptions & { + bigint?: false | undefined; + }, + ): Stats; + export function fstatSync( + fd: number, + options: StatOptions & { + bigint: true; + }, + ): BigIntStats; + export function fstatSync(fd: number, options?: StatOptions): Stats | BigIntStats; + /** + * Retrieves the `fs.Stats` for the symbolic link referred to by the path. + * The callback gets two arguments `(err, stats)` where `stats` is a `fs.Stats` object. `lstat()` is identical to `stat()`, except that if `path` is a symbolic + * link, then the link itself is stat-ed, not the file that it refers to. + * + * See the POSIX [`lstat(2)`](http://man7.org/linux/man-pages/man2/lstat.2.html) documentation for more details. + * @since v0.1.30 + */ + export function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; + export function lstat( + path: PathLike, + options: + | (StatOptions & { + bigint?: false | undefined; + }) + | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void, + ): void; + export function lstat( + path: PathLike, + options: StatOptions & { + bigint: true; + }, + callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void, + ): void; + export function lstat( + path: PathLike, + options: StatOptions | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void, + ): void; + export namespace lstat { + /** + * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + function __promisify__( + path: PathLike, + options?: StatOptions & { + bigint?: false | undefined; + }, + ): Promise; + function __promisify__( + path: PathLike, + options: StatOptions & { + bigint: true; + }, + ): Promise; + function __promisify__(path: PathLike, options?: StatOptions): Promise; + } + /** + * Asynchronous [`statfs(2)`](http://man7.org/linux/man-pages/man2/statfs.2.html). Returns information about the mounted file system which + * contains `path`. The callback gets two arguments `(err, stats)` where `stats`is an `fs.StatFs` object. + * + * In case of an error, the `err.code` will be one of `Common System Errors`. + * @since v19.6.0, v18.15.0 + * @param path A path to an existing file or directory on the file system to be queried. + */ + export function statfs(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void): void; + export function statfs( + path: PathLike, + options: + | (StatFsOptions & { + bigint?: false | undefined; + }) + | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void, + ): void; + export function statfs( + path: PathLike, + options: StatFsOptions & { + bigint: true; + }, + callback: (err: NodeJS.ErrnoException | null, stats: BigIntStatsFs) => void, + ): void; + export function statfs( + path: PathLike, + options: StatFsOptions | undefined, + callback: (err: NodeJS.ErrnoException | null, stats: StatsFs | BigIntStatsFs) => void, + ): void; + export namespace statfs { + /** + * Asynchronous statfs(2) - Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where stats is an object. + * @param path A path to an existing file or directory on the file system to be queried. + */ + function __promisify__( + path: PathLike, + options?: StatFsOptions & { + bigint?: false | undefined; + }, + ): Promise; + function __promisify__( + path: PathLike, + options: StatFsOptions & { + bigint: true; + }, + ): Promise; + function __promisify__(path: PathLike, options?: StatFsOptions): Promise; + } + /** + * Synchronous [`statfs(2)`](http://man7.org/linux/man-pages/man2/statfs.2.html). Returns information about the mounted file system which + * contains `path`. + * + * In case of an error, the `err.code` will be one of `Common System Errors`. + * @since v19.6.0, v18.15.0 + * @param path A path to an existing file or directory on the file system to be queried. + */ + export function statfsSync( + path: PathLike, + options?: StatFsOptions & { + bigint?: false | undefined; + }, + ): StatsFs; + export function statfsSync( + path: PathLike, + options: StatFsOptions & { + bigint: true; + }, + ): BigIntStatsFs; + export function statfsSync(path: PathLike, options?: StatFsOptions): StatsFs | BigIntStatsFs; + /** + * Synchronous lstat(2) - Get file status. Does not dereference symbolic links. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export const lstatSync: StatSyncFn; + /** + * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. No arguments other than + * a possible + * exception are given to the completion callback. + * @since v0.1.31 + */ + export function link(existingPath: PathLike, newPath: PathLike, callback: NoParamCallback): void; + export namespace link { + /** + * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file. + * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + function __promisify__(existingPath: PathLike, newPath: PathLike): Promise; + } + /** + * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. Returns `undefined`. + * @since v0.1.31 + */ + export function linkSync(existingPath: PathLike, newPath: PathLike): void; + /** + * Creates the link called `path` pointing to `target`. No arguments other than a + * possible exception are given to the completion callback. + * + * See the POSIX [`symlink(2)`](http://man7.org/linux/man-pages/man2/symlink.2.html) documentation for more details. + * + * The `type` argument is only available on Windows and ignored on other platforms. + * It can be set to `'dir'`, `'file'`, or `'junction'`. If the `type` argument is + * not a string, Node.js will autodetect `target` type and use `'file'` or `'dir'`. + * If the `target` does not exist, `'file'` will be used. Windows junction points + * require the destination path to be absolute. When using `'junction'`, the`target` argument will automatically be normalized to absolute path. Junction + * points on NTFS volumes can only point to directories. + * + * Relative targets are relative to the link's parent directory. + * + * ```js + * import { symlink } from 'node:fs'; + * + * symlink('./mew', './mewtwo', callback); + * ``` + * + * The above example creates a symbolic link `mewtwo` which points to `mew` in the + * same directory: + * + * ```bash + * $ tree . + * . + * ├── mew + * └── mewtwo -> ./mew + * ``` + * @since v0.1.31 + * @param [type='null'] + */ + export function symlink( + target: PathLike, + path: PathLike, + type: symlink.Type | undefined | null, + callback: NoParamCallback, + ): void; + /** + * Asynchronous symlink(2) - Create a new symbolic link to an existing file. + * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. + * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. + */ + export function symlink(target: PathLike, path: PathLike, callback: NoParamCallback): void; + export namespace symlink { + /** + * Asynchronous symlink(2) - Create a new symbolic link to an existing file. + * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. + * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. + * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms). + * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path. + */ + function __promisify__(target: PathLike, path: PathLike, type?: string | null): Promise; + type Type = "dir" | "file" | "junction"; + } + /** + * Returns `undefined`. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link symlink}. + * @since v0.1.31 + * @param [type='null'] + */ + export function symlinkSync(target: PathLike, path: PathLike, type?: symlink.Type | null): void; + /** + * Reads the contents of the symbolic link referred to by `path`. The callback gets + * two arguments `(err, linkString)`. + * + * See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more details. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the link path passed to the callback. If the `encoding` is set to `'buffer'`, + * the link path returned will be passed as a `Buffer` object. + * @since v0.1.31 + */ + export function readlink( + path: PathLike, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, linkString: string) => void, + ): void; + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readlink( + path: PathLike, + options: BufferEncodingOption, + callback: (err: NodeJS.ErrnoException | null, linkString: Buffer) => void, + ): void; + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readlink( + path: PathLike, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, linkString: string | Buffer) => void, + ): void; + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export function readlink( + path: PathLike, + callback: (err: NodeJS.ErrnoException | null, linkString: string) => void, + ): void; + export namespace readlink { + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(path: PathLike, options?: EncodingOption): Promise; + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(path: PathLike, options: BufferEncodingOption): Promise; + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(path: PathLike, options?: EncodingOption): Promise; + } + /** + * Returns the symbolic link's string value. + * + * See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more details. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the link path returned. If the `encoding` is set to `'buffer'`, + * the link path returned will be passed as a `Buffer` object. + * @since v0.1.31 + */ + export function readlinkSync(path: PathLike, options?: EncodingOption): string; + /** + * Synchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readlinkSync(path: PathLike, options: BufferEncodingOption): Buffer; + /** + * Synchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readlinkSync(path: PathLike, options?: EncodingOption): string | Buffer; + /** + * Asynchronously computes the canonical pathname by resolving `.`, `..`, and + * symbolic links. + * + * A canonical pathname is not necessarily unique. Hard links and bind mounts can + * expose a file system entity through many pathnames. + * + * This function behaves like [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html), with some exceptions: + * + * 1. No case conversion is performed on case-insensitive file systems. + * 2. The maximum number of symbolic links is platform-independent and generally + * (much) higher than what the native [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html) implementation supports. + * + * The `callback` gets two arguments `(err, resolvedPath)`. May use `process.cwd`to resolve relative paths. + * + * Only paths that can be converted to UTF8 strings are supported. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the path passed to the callback. If the `encoding` is set to `'buffer'`, + * the path returned will be passed as a `Buffer` object. + * + * If `path` resolves to a socket or a pipe, the function will return a system + * dependent name for that object. + * @since v0.1.31 + */ + export function realpath( + path: PathLike, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, + ): void; + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function realpath( + path: PathLike, + options: BufferEncodingOption, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void, + ): void; + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function realpath( + path: PathLike, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void, + ): void; + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export function realpath( + path: PathLike, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, + ): void; + export namespace realpath { + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(path: PathLike, options?: EncodingOption): Promise; + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(path: PathLike, options: BufferEncodingOption): Promise; + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(path: PathLike, options?: EncodingOption): Promise; + /** + * Asynchronous [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html). + * + * The `callback` gets two arguments `(err, resolvedPath)`. + * + * Only paths that can be converted to UTF8 strings are supported. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the path passed to the callback. If the `encoding` is set to `'buffer'`, + * the path returned will be passed as a `Buffer` object. + * + * On Linux, when Node.js is linked against musl libc, the procfs file system must + * be mounted on `/proc` in order for this function to work. Glibc does not have + * this restriction. + * @since v9.2.0 + */ + function native( + path: PathLike, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, + ): void; + function native( + path: PathLike, + options: BufferEncodingOption, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void, + ): void; + function native( + path: PathLike, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void, + ): void; + function native( + path: PathLike, + callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void, + ): void; + } + /** + * Returns the resolved pathname. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link realpath}. + * @since v0.1.31 + */ + export function realpathSync(path: PathLike, options?: EncodingOption): string; + /** + * Synchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function realpathSync(path: PathLike, options: BufferEncodingOption): Buffer; + /** + * Synchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function realpathSync(path: PathLike, options?: EncodingOption): string | Buffer; + export namespace realpathSync { + function native(path: PathLike, options?: EncodingOption): string; + function native(path: PathLike, options: BufferEncodingOption): Buffer; + function native(path: PathLike, options?: EncodingOption): string | Buffer; + } + /** + * Asynchronously removes a file or symbolic link. No arguments other than a + * possible exception are given to the completion callback. + * + * ```js + * import { unlink } from 'node:fs'; + * // Assuming that 'path/file.txt' is a regular file. + * unlink('path/file.txt', (err) => { + * if (err) throw err; + * console.log('path/file.txt was deleted'); + * }); + * ``` + * + * `fs.unlink()` will not work on a directory, empty or otherwise. To remove a + * directory, use {@link rmdir}. + * + * See the POSIX [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html) documentation for more details. + * @since v0.0.2 + */ + export function unlink(path: PathLike, callback: NoParamCallback): void; + export namespace unlink { + /** + * Asynchronous unlink(2) - delete a name and possibly the file it refers to. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + function __promisify__(path: PathLike): Promise; + } + /** + * Synchronous [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html). Returns `undefined`. + * @since v0.1.21 + */ + export function unlinkSync(path: PathLike): void; + export interface RmDirOptions { + /** + * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or + * `EPERM` error is encountered, Node.js will retry the operation with a linear + * backoff wait of `retryDelay` ms longer on each try. This option represents the + * number of retries. This option is ignored if the `recursive` option is not + * `true`. + * @default 0 + */ + maxRetries?: number | undefined; + /** + * @deprecated since v14.14.0 In future versions of Node.js and will trigger a warning + * `fs.rmdir(path, { recursive: true })` will throw if `path` does not exist or is a file. + * Use `fs.rm(path, { recursive: true, force: true })` instead. + * + * If `true`, perform a recursive directory removal. In + * recursive mode, operations are retried on failure. + * @default false + */ + recursive?: boolean | undefined; + /** + * The amount of time in milliseconds to wait between retries. + * This option is ignored if the `recursive` option is not `true`. + * @default 100 + */ + retryDelay?: number | undefined; + } + /** + * Asynchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). No arguments other than a possible exception are given + * to the completion callback. + * + * Using `fs.rmdir()` on a file (not a directory) results in an `ENOENT` error on + * Windows and an `ENOTDIR` error on POSIX. + * + * To get a behavior similar to the `rm -rf` Unix command, use {@link rm} with options `{ recursive: true, force: true }`. + * @since v0.0.2 + */ + export function rmdir(path: PathLike, callback: NoParamCallback): void; + export function rmdir(path: PathLike, options: RmDirOptions, callback: NoParamCallback): void; + export namespace rmdir { + /** + * Asynchronous rmdir(2) - delete a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + function __promisify__(path: PathLike, options?: RmDirOptions): Promise; + } + /** + * Synchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). Returns `undefined`. + * + * Using `fs.rmdirSync()` on a file (not a directory) results in an `ENOENT` error + * on Windows and an `ENOTDIR` error on POSIX. + * + * To get a behavior similar to the `rm -rf` Unix command, use {@link rmSync} with options `{ recursive: true, force: true }`. + * @since v0.1.21 + */ + export function rmdirSync(path: PathLike, options?: RmDirOptions): void; + export interface RmOptions { + /** + * When `true`, exceptions will be ignored if `path` does not exist. + * @default false + */ + force?: boolean | undefined; + /** + * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or + * `EPERM` error is encountered, Node.js will retry the operation with a linear + * backoff wait of `retryDelay` ms longer on each try. This option represents the + * number of retries. This option is ignored if the `recursive` option is not + * `true`. + * @default 0 + */ + maxRetries?: number | undefined; + /** + * If `true`, perform a recursive directory removal. In + * recursive mode, operations are retried on failure. + * @default false + */ + recursive?: boolean | undefined; + /** + * The amount of time in milliseconds to wait between retries. + * This option is ignored if the `recursive` option is not `true`. + * @default 100 + */ + retryDelay?: number | undefined; + } + /** + * Asynchronously removes files and directories (modeled on the standard POSIX `rm`utility). No arguments other than a possible exception are given to the + * completion callback. + * @since v14.14.0 + */ + export function rm(path: PathLike, callback: NoParamCallback): void; + export function rm(path: PathLike, options: RmOptions, callback: NoParamCallback): void; + export namespace rm { + /** + * Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility). + */ + function __promisify__(path: PathLike, options?: RmOptions): Promise; + } + /** + * Synchronously removes files and directories (modeled on the standard POSIX `rm`utility). Returns `undefined`. + * @since v14.14.0 + */ + export function rmSync(path: PathLike, options?: RmOptions): void; + export interface MakeDirectoryOptions { + /** + * Indicates whether parent folders should be created. + * If a folder was created, the path to the first created folder will be returned. + * @default false + */ + recursive?: boolean | undefined; + /** + * A file mode. If a string is passed, it is parsed as an octal integer. If not specified + * @default 0o777 + */ + mode?: Mode | undefined; + } + /** + * Asynchronously creates a directory. + * + * The callback is given a possible exception and, if `recursive` is `true`, the + * first directory path created, `(err[, path])`.`path` can still be `undefined` when `recursive` is `true`, if no directory was + * created (for instance, if it was previously created). + * + * The optional `options` argument can be an integer specifying `mode` (permission + * and sticky bits), or an object with a `mode` property and a `recursive`property indicating whether parent directories should be created. Calling`fs.mkdir()` when `path` is a directory that + * exists results in an error only + * when `recursive` is false. If `recursive` is false and the directory exists, + * an `EEXIST` error occurs. + * + * ```js + * import { mkdir } from 'node:fs'; + * + * // Create ./tmp/a/apple, regardless of whether ./tmp and ./tmp/a exist. + * mkdir('./tmp/a/apple', { recursive: true }, (err) => { + * if (err) throw err; + * }); + * ``` + * + * On Windows, using `fs.mkdir()` on the root directory even with recursion will + * result in an error: + * + * ```js + * import { mkdir } from 'node:fs'; + * + * mkdir('/', { recursive: true }, (err) => { + * // => [Error: EPERM: operation not permitted, mkdir 'C:\'] + * }); + * ``` + * + * See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details. + * @since v0.1.8 + */ + export function mkdir( + path: PathLike, + options: MakeDirectoryOptions & { + recursive: true; + }, + callback: (err: NodeJS.ErrnoException | null, path?: string) => void, + ): void; + /** + * Asynchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + export function mkdir( + path: PathLike, + options: + | Mode + | (MakeDirectoryOptions & { + recursive?: false | undefined; + }) + | null + | undefined, + callback: NoParamCallback, + ): void; + /** + * Asynchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + export function mkdir( + path: PathLike, + options: Mode | MakeDirectoryOptions | null | undefined, + callback: (err: NodeJS.ErrnoException | null, path?: string) => void, + ): void; + /** + * Asynchronous mkdir(2) - create a directory with a mode of `0o777`. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export function mkdir(path: PathLike, callback: NoParamCallback): void; + export namespace mkdir { + /** + * Asynchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + function __promisify__( + path: PathLike, + options: MakeDirectoryOptions & { + recursive: true; + }, + ): Promise; + /** + * Asynchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + function __promisify__( + path: PathLike, + options?: + | Mode + | (MakeDirectoryOptions & { + recursive?: false | undefined; + }) + | null, + ): Promise; + /** + * Asynchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + function __promisify__( + path: PathLike, + options?: Mode | MakeDirectoryOptions | null, + ): Promise; + } + /** + * Synchronously creates a directory. Returns `undefined`, or if `recursive` is`true`, the first directory path created. + * This is the synchronous version of {@link mkdir}. + * + * See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details. + * @since v0.1.21 + */ + export function mkdirSync( + path: PathLike, + options: MakeDirectoryOptions & { + recursive: true; + }, + ): string | undefined; + /** + * Synchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + export function mkdirSync( + path: PathLike, + options?: + | Mode + | (MakeDirectoryOptions & { + recursive?: false | undefined; + }) + | null, + ): void; + /** + * Synchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + export function mkdirSync(path: PathLike, options?: Mode | MakeDirectoryOptions | null): string | undefined; + /** + * Creates a unique temporary directory. + * + * Generates six random characters to be appended behind a required`prefix` to create a unique temporary directory. Due to platform + * inconsistencies, avoid trailing `X` characters in `prefix`. Some platforms, + * notably the BSDs, can return more than six random characters, and replace + * trailing `X` characters in `prefix` with random characters. + * + * The created directory path is passed as a string to the callback's second + * parameter. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use. + * + * ```js + * import { mkdtemp } from 'node:fs'; + * import { join } from 'node:path'; + * import { tmpdir } from 'node:os'; + * + * mkdtemp(join(tmpdir(), 'foo-'), (err, directory) => { + * if (err) throw err; + * console.log(directory); + * // Prints: /tmp/foo-itXde2 or C:\Users\...\AppData\Local\Temp\foo-itXde2 + * }); + * ``` + * + * The `fs.mkdtemp()` method will append the six randomly selected characters + * directly to the `prefix` string. For instance, given a directory `/tmp`, if the + * intention is to create a temporary directory _within_`/tmp`, the `prefix`must end with a trailing platform-specific path separator + * (`require('node:path').sep`). + * + * ```js + * import { tmpdir } from 'node:os'; + * import { mkdtemp } from 'node:fs'; + * + * // The parent directory for the new temporary directory + * const tmpDir = tmpdir(); + * + * // This method is *INCORRECT*: + * mkdtemp(tmpDir, (err, directory) => { + * if (err) throw err; + * console.log(directory); + * // Will print something similar to `/tmpabc123`. + * // A new temporary directory is created at the file system root + * // rather than *within* the /tmp directory. + * }); + * + * // This method is *CORRECT*: + * import { sep } from 'node:path'; + * mkdtemp(`${tmpDir}${sep}`, (err, directory) => { + * if (err) throw err; + * console.log(directory); + * // Will print something similar to `/tmp/abc123`. + * // A new temporary directory is created within + * // the /tmp directory. + * }); + * ``` + * @since v5.10.0 + */ + export function mkdtemp( + prefix: string, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, folder: string) => void, + ): void; + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function mkdtemp( + prefix: string, + options: + | "buffer" + | { + encoding: "buffer"; + }, + callback: (err: NodeJS.ErrnoException | null, folder: Buffer) => void, + ): void; + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function mkdtemp( + prefix: string, + options: EncodingOption, + callback: (err: NodeJS.ErrnoException | null, folder: string | Buffer) => void, + ): void; + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + */ + export function mkdtemp( + prefix: string, + callback: (err: NodeJS.ErrnoException | null, folder: string) => void, + ): void; + export namespace mkdtemp { + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(prefix: string, options?: EncodingOption): Promise; + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(prefix: string, options: BufferEncodingOption): Promise; + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__(prefix: string, options?: EncodingOption): Promise; + } + /** + * Returns the created directory path. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link mkdtemp}. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use. + * @since v5.10.0 + */ + export function mkdtempSync(prefix: string, options?: EncodingOption): string; + /** + * Synchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function mkdtempSync(prefix: string, options: BufferEncodingOption): Buffer; + /** + * Synchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function mkdtempSync(prefix: string, options?: EncodingOption): string | Buffer; + /** + * Reads the contents of a directory. The callback gets two arguments `(err, files)`where `files` is an array of the names of the files in the directory excluding`'.'` and `'..'`. + * + * See the POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more details. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the filenames passed to the callback. If the `encoding` is set to `'buffer'`, + * the filenames returned will be passed as `Buffer` objects. + * + * If `options.withFileTypes` is set to `true`, the `files` array will contain `fs.Dirent` objects. + * @since v0.1.8 + */ + export function readdir( + path: PathLike, + options: + | { + encoding: BufferEncoding | null; + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + } + | BufferEncoding + | undefined + | null, + callback: (err: NodeJS.ErrnoException | null, files: string[]) => void, + ): void; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readdir( + path: PathLike, + options: + | { + encoding: "buffer"; + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + } + | "buffer", + callback: (err: NodeJS.ErrnoException | null, files: Buffer[]) => void, + ): void; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readdir( + path: PathLike, + options: + | (ObjectEncodingOptions & { + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + }) + | BufferEncoding + | undefined + | null, + callback: (err: NodeJS.ErrnoException | null, files: string[] | Buffer[]) => void, + ): void; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export function readdir( + path: PathLike, + callback: (err: NodeJS.ErrnoException | null, files: string[]) => void, + ): void; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. + */ + export function readdir( + path: PathLike, + options: ObjectEncodingOptions & { + withFileTypes: true; + recursive?: boolean | undefined; + }, + callback: (err: NodeJS.ErrnoException | null, files: Dirent[]) => void, + ): void; + export namespace readdir { + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__( + path: PathLike, + options?: + | { + encoding: BufferEncoding | null; + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + } + | BufferEncoding + | null, + ): Promise; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__( + path: PathLike, + options: + | "buffer" + | { + encoding: "buffer"; + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + }, + ): Promise; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function __promisify__( + path: PathLike, + options?: + | (ObjectEncodingOptions & { + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + }) + | BufferEncoding + | null, + ): Promise; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options If called with `withFileTypes: true` the result data will be an array of Dirent + */ + function __promisify__( + path: PathLike, + options: ObjectEncodingOptions & { + withFileTypes: true; + recursive?: boolean | undefined; + }, + ): Promise; + } + /** + * Reads the contents of the directory. + * + * See the POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more details. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the filenames returned. If the `encoding` is set to `'buffer'`, + * the filenames returned will be passed as `Buffer` objects. + * + * If `options.withFileTypes` is set to `true`, the result will contain `fs.Dirent` objects. + * @since v0.1.21 + */ + export function readdirSync( + path: PathLike, + options?: + | { + encoding: BufferEncoding | null; + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + } + | BufferEncoding + | null, + ): string[]; + /** + * Synchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readdirSync( + path: PathLike, + options: + | { + encoding: "buffer"; + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + } + | "buffer", + ): Buffer[]; + /** + * Synchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + export function readdirSync( + path: PathLike, + options?: + | (ObjectEncodingOptions & { + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + }) + | BufferEncoding + | null, + ): string[] | Buffer[]; + /** + * Synchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. + */ + export function readdirSync( + path: PathLike, + options: ObjectEncodingOptions & { + withFileTypes: true; + recursive?: boolean | undefined; + }, + ): Dirent[]; + /** + * Closes the file descriptor. No arguments other than a possible exception are + * given to the completion callback. + * + * Calling `fs.close()` on any file descriptor (`fd`) that is currently in use + * through any other `fs` operation may lead to undefined behavior. + * + * See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail. + * @since v0.0.2 + */ + export function close(fd: number, callback?: NoParamCallback): void; + export namespace close { + /** + * Asynchronous close(2) - close a file descriptor. + * @param fd A file descriptor. + */ + function __promisify__(fd: number): Promise; + } + /** + * Closes the file descriptor. Returns `undefined`. + * + * Calling `fs.closeSync()` on any file descriptor (`fd`) that is currently in use + * through any other `fs` operation may lead to undefined behavior. + * + * See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail. + * @since v0.1.21 + */ + export function closeSync(fd: number): void; + /** + * Asynchronous file open. See the POSIX [`open(2)`](http://man7.org/linux/man-pages/man2/open.2.html) documentation for more details. + * + * `mode` sets the file mode (permission and sticky bits), but only if the file was + * created. On Windows, only the write permission can be manipulated; see {@link chmod}. + * + * The callback gets two arguments `(err, fd)`. + * + * Some characters (`< > : " / \ | ? *`) are reserved under Windows as documented + * by [Naming Files, Paths, and Namespaces](https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file). Under NTFS, if the filename contains + * a colon, Node.js will open a file system stream, as described by [this MSDN page](https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams). + * + * Functions based on `fs.open()` exhibit this behavior as well:`fs.writeFile()`, `fs.readFile()`, etc. + * @since v0.0.2 + * @param [flags='r'] See `support of file system `flags``. + * @param [mode=0o666] + */ + export function open( + path: PathLike, + flags: OpenMode | undefined, + mode: Mode | undefined | null, + callback: (err: NodeJS.ErrnoException | null, fd: number) => void, + ): void; + /** + * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param [flags='r'] See `support of file system `flags``. + */ + export function open( + path: PathLike, + flags: OpenMode | undefined, + callback: (err: NodeJS.ErrnoException | null, fd: number) => void, + ): void; + /** + * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + */ + export function open(path: PathLike, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void; + export namespace open { + /** + * Asynchronous open(2) - open and possibly create a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`. + */ + function __promisify__(path: PathLike, flags: OpenMode, mode?: Mode | null): Promise; + } + /** + * Returns an integer representing the file descriptor. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link open}. + * @since v0.1.21 + * @param [flags='r'] + * @param [mode=0o666] + */ + export function openSync(path: PathLike, flags: OpenMode, mode?: Mode | null): number; + /** + * Change the file system timestamps of the object referenced by `path`. + * + * The `atime` and `mtime` arguments follow these rules: + * + * * Values can be either numbers representing Unix epoch time in seconds,`Date`s, or a numeric string like `'123456789.0'`. + * * If the value can not be converted to a number, or is `NaN`, `Infinity`, or`-Infinity`, an `Error` will be thrown. + * @since v0.4.2 + */ + export function utimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void; + export namespace utimes { + /** + * Asynchronously change file timestamps of the file referenced by the supplied path. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param atime The last access time. If a string is provided, it will be coerced to number. + * @param mtime The last modified time. If a string is provided, it will be coerced to number. + */ + function __promisify__(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; + } + /** + * Returns `undefined`. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link utimes}. + * @since v0.4.2 + */ + export function utimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void; + /** + * Change the file system timestamps of the object referenced by the supplied file + * descriptor. See {@link utimes}. + * @since v0.4.2 + */ + export function futimes(fd: number, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void; + export namespace futimes { + /** + * Asynchronously change file timestamps of the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param atime The last access time. If a string is provided, it will be coerced to number. + * @param mtime The last modified time. If a string is provided, it will be coerced to number. + */ + function __promisify__(fd: number, atime: TimeLike, mtime: TimeLike): Promise; + } + /** + * Synchronous version of {@link futimes}. Returns `undefined`. + * @since v0.4.2 + */ + export function futimesSync(fd: number, atime: TimeLike, mtime: TimeLike): void; + /** + * Request that all data for the open file descriptor is flushed to the storage + * device. The specific implementation is operating system and device specific. + * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. No arguments other + * than a possible exception are given to the completion callback. + * @since v0.1.96 + */ + export function fsync(fd: number, callback: NoParamCallback): void; + export namespace fsync { + /** + * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device. + * @param fd A file descriptor. + */ + function __promisify__(fd: number): Promise; + } + /** + * Request that all data for the open file descriptor is flushed to the storage + * device. The specific implementation is operating system and device specific. + * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. Returns `undefined`. + * @since v0.1.96 + */ + export function fsyncSync(fd: number): void; + /** + * Write `buffer` to the file specified by `fd`. + * + * `offset` determines the part of the buffer to be written, and `length` is + * an integer specifying the number of bytes to write. + * + * `position` refers to the offset from the beginning of the file where this data + * should be written. If `typeof position !== 'number'`, the data will be written + * at the current position. See [`pwrite(2)`](http://man7.org/linux/man-pages/man2/pwrite.2.html). + * + * The callback will be given three arguments `(err, bytesWritten, buffer)` where`bytesWritten` specifies how many _bytes_ were written from `buffer`. + * + * If this method is invoked as its `util.promisify()` ed version, it returns + * a promise for an `Object` with `bytesWritten` and `buffer` properties. + * + * It is unsafe to use `fs.write()` multiple times on the same file without waiting + * for the callback. For this scenario, {@link createWriteStream} is + * recommended. + * + * On Linux, positional writes don't work when the file is opened in append mode. + * The kernel ignores the position argument and always appends the data to + * the end of the file. + * @since v0.0.2 + * @param [offset=0] + * @param [length=buffer.byteLength - offset] + * @param [position='null'] + */ + export function write( + fd: number, + buffer: TBuffer, + offset: number | undefined | null, + length: number | undefined | null, + position: number | undefined | null, + callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, + ): void; + /** + * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. + * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. + */ + export function write( + fd: number, + buffer: TBuffer, + offset: number | undefined | null, + length: number | undefined | null, + callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, + ): void; + /** + * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. + */ + export function write( + fd: number, + buffer: TBuffer, + offset: number | undefined | null, + callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, + ): void; + /** + * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + */ + export function write( + fd: number, + buffer: TBuffer, + callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, + ): void; + /** + * Asynchronously writes `string` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param string A string to write. + * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. + * @param encoding The expected string encoding. + */ + export function write( + fd: number, + string: string, + position: number | undefined | null, + encoding: BufferEncoding | undefined | null, + callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void, + ): void; + /** + * Asynchronously writes `string` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param string A string to write. + * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. + */ + export function write( + fd: number, + string: string, + position: number | undefined | null, + callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void, + ): void; + /** + * Asynchronously writes `string` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param string A string to write. + */ + export function write( + fd: number, + string: string, + callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void, + ): void; + export namespace write { + /** + * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. + * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. + * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. + */ + function __promisify__( + fd: number, + buffer?: TBuffer, + offset?: number, + length?: number, + position?: number | null, + ): Promise<{ + bytesWritten: number; + buffer: TBuffer; + }>; + /** + * Asynchronously writes `string` to the file referenced by the supplied file descriptor. + * @param fd A file descriptor. + * @param string A string to write. + * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. + * @param encoding The expected string encoding. + */ + function __promisify__( + fd: number, + string: string, + position?: number | null, + encoding?: BufferEncoding | null, + ): Promise<{ + bytesWritten: number; + buffer: string; + }>; + } + /** + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link write}. + * @since v0.1.21 + * @param [offset=0] + * @param [length=buffer.byteLength - offset] + * @param [position='null'] + * @return The number of bytes written. + */ + export function writeSync( + fd: number, + buffer: NodeJS.ArrayBufferView, + offset?: number | null, + length?: number | null, + position?: number | null, + ): number; + /** + * Synchronously writes `string` to the file referenced by the supplied file descriptor, returning the number of bytes written. + * @param fd A file descriptor. + * @param string A string to write. + * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. + * @param encoding The expected string encoding. + */ + export function writeSync( + fd: number, + string: string, + position?: number | null, + encoding?: BufferEncoding | null, + ): number; + export type ReadPosition = number | bigint; + export interface ReadSyncOptions { + /** + * @default 0 + */ + offset?: number | undefined; + /** + * @default `length of buffer` + */ + length?: number | undefined; + /** + * @default null + */ + position?: ReadPosition | null | undefined; + } + export interface ReadAsyncOptions extends ReadSyncOptions { + buffer?: TBuffer; + } + /** + * Read data from the file specified by `fd`. + * + * The callback is given the three arguments, `(err, bytesRead, buffer)`. + * + * If the file is not modified concurrently, the end-of-file is reached when the + * number of bytes read is zero. + * + * If this method is invoked as its `util.promisify()` ed version, it returns + * a promise for an `Object` with `bytesRead` and `buffer` properties. + * @since v0.0.2 + * @param buffer The buffer that the data will be written to. + * @param offset The position in `buffer` to write the data to. + * @param length The number of bytes to read. + * @param position Specifies where to begin reading from in the file. If `position` is `null` or `-1 `, data will be read from the current file position, and the file position will be updated. If + * `position` is an integer, the file position will be unchanged. + */ + export function read( + fd: number, + buffer: TBuffer, + offset: number, + length: number, + position: ReadPosition | null, + callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void, + ): void; + /** + * Similar to the above `fs.read` function, this version takes an optional `options` object. + * If not otherwise specified in an `options` object, + * `buffer` defaults to `Buffer.alloc(16384)`, + * `offset` defaults to `0`, + * `length` defaults to `buffer.byteLength`, `- offset` as of Node 17.6.0 + * `position` defaults to `null` + * @since v12.17.0, 13.11.0 + */ + export function read( + fd: number, + options: ReadAsyncOptions, + callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void, + ): void; + export function read( + fd: number, + callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: NodeJS.ArrayBufferView) => void, + ): void; + export namespace read { + /** + * @param fd A file descriptor. + * @param buffer The buffer that the data will be written to. + * @param offset The offset in the buffer at which to start writing. + * @param length The number of bytes to read. + * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position. + */ + function __promisify__( + fd: number, + buffer: TBuffer, + offset: number, + length: number, + position: number | null, + ): Promise<{ + bytesRead: number; + buffer: TBuffer; + }>; + function __promisify__( + fd: number, + options: ReadAsyncOptions, + ): Promise<{ + bytesRead: number; + buffer: TBuffer; + }>; + function __promisify__(fd: number): Promise<{ + bytesRead: number; + buffer: NodeJS.ArrayBufferView; + }>; + } + /** + * Returns the number of `bytesRead`. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link read}. + * @since v0.1.21 + * @param [position='null'] + */ + export function readSync( + fd: number, + buffer: NodeJS.ArrayBufferView, + offset: number, + length: number, + position: ReadPosition | null, + ): number; + /** + * Similar to the above `fs.readSync` function, this version takes an optional `options` object. + * If no `options` object is specified, it will default with the above values. + */ + export function readSync(fd: number, buffer: NodeJS.ArrayBufferView, opts?: ReadSyncOptions): number; + /** + * Asynchronously reads the entire contents of a file. + * + * ```js + * import { readFile } from 'node:fs'; + * + * readFile('/etc/passwd', (err, data) => { + * if (err) throw err; + * console.log(data); + * }); + * ``` + * + * The callback is passed two arguments `(err, data)`, where `data` is the + * contents of the file. + * + * If no encoding is specified, then the raw buffer is returned. + * + * If `options` is a string, then it specifies the encoding: + * + * ```js + * import { readFile } from 'node:fs'; + * + * readFile('/etc/passwd', 'utf8', callback); + * ``` + * + * When the path is a directory, the behavior of `fs.readFile()` and {@link readFileSync} is platform-specific. On macOS, Linux, and Windows, an + * error will be returned. On FreeBSD, a representation of the directory's contents + * will be returned. + * + * ```js + * import { readFile } from 'node:fs'; + * + * // macOS, Linux, and Windows + * readFile('', (err, data) => { + * // => [Error: EISDIR: illegal operation on a directory, read ] + * }); + * + * // FreeBSD + * readFile('', (err, data) => { + * // => null, + * }); + * ``` + * + * It is possible to abort an ongoing request using an `AbortSignal`. If a + * request is aborted the callback is called with an `AbortError`: + * + * ```js + * import { readFile } from 'node:fs'; + * + * const controller = new AbortController(); + * const signal = controller.signal; + * readFile(fileInfo[0].name, { signal }, (err, buf) => { + * // ... + * }); + * // When you want to abort the request + * controller.abort(); + * ``` + * + * The `fs.readFile()` function buffers the entire file. To minimize memory costs, + * when possible prefer streaming via `fs.createReadStream()`. + * + * Aborting an ongoing request does not abort individual operating + * system requests but rather the internal buffering `fs.readFile` performs. + * @since v0.1.29 + * @param path filename or file descriptor + */ + export function readFile( + path: PathOrFileDescriptor, + options: + | ({ + encoding?: null | undefined; + flag?: string | undefined; + } & Abortable) + | undefined + | null, + callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void, + ): void; + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + export function readFile( + path: PathOrFileDescriptor, + options: + | ({ + encoding: BufferEncoding; + flag?: string | undefined; + } & Abortable) + | BufferEncoding, + callback: (err: NodeJS.ErrnoException | null, data: string) => void, + ): void; + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + export function readFile( + path: PathOrFileDescriptor, + options: + | (ObjectEncodingOptions & { + flag?: string | undefined; + } & Abortable) + | BufferEncoding + | undefined + | null, + callback: (err: NodeJS.ErrnoException | null, data: string | Buffer) => void, + ): void; + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + */ + export function readFile( + path: PathOrFileDescriptor, + callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void, + ): void; + export namespace readFile { + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param options An object that may contain an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + function __promisify__( + path: PathOrFileDescriptor, + options?: { + encoding?: null | undefined; + flag?: string | undefined; + } | null, + ): Promise; + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + function __promisify__( + path: PathOrFileDescriptor, + options: + | { + encoding: BufferEncoding; + flag?: string | undefined; + } + | BufferEncoding, + ): Promise; + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + function __promisify__( + path: PathOrFileDescriptor, + options?: + | (ObjectEncodingOptions & { + flag?: string | undefined; + }) + | BufferEncoding + | null, + ): Promise; + } + /** + * Returns the contents of the `path`. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link readFile}. + * + * If the `encoding` option is specified then this function returns a + * string. Otherwise it returns a buffer. + * + * Similar to {@link readFile}, when the path is a directory, the behavior of`fs.readFileSync()` is platform-specific. + * + * ```js + * import { readFileSync } from 'node:fs'; + * + * // macOS, Linux, and Windows + * readFileSync(''); + * // => [Error: EISDIR: illegal operation on a directory, read ] + * + * // FreeBSD + * readFileSync(''); // => + * ``` + * @since v0.1.8 + * @param path filename or file descriptor + */ + export function readFileSync( + path: PathOrFileDescriptor, + options?: { + encoding?: null | undefined; + flag?: string | undefined; + } | null, + ): Buffer; + /** + * Synchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + export function readFileSync( + path: PathOrFileDescriptor, + options: + | { + encoding: BufferEncoding; + flag?: string | undefined; + } + | BufferEncoding, + ): string; + /** + * Synchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + export function readFileSync( + path: PathOrFileDescriptor, + options?: + | (ObjectEncodingOptions & { + flag?: string | undefined; + }) + | BufferEncoding + | null, + ): string | Buffer; + export type WriteFileOptions = + | ( + & ObjectEncodingOptions + & Abortable + & { + mode?: Mode | undefined; + flag?: string | undefined; + flush?: boolean | undefined; + } + ) + | BufferEncoding + | null; + /** + * When `file` is a filename, asynchronously writes data to the file, replacing the + * file if it already exists. `data` can be a string or a buffer. + * + * When `file` is a file descriptor, the behavior is similar to calling`fs.write()` directly (which is recommended). See the notes below on using + * a file descriptor. + * + * The `encoding` option is ignored if `data` is a buffer. + * + * The `mode` option only affects the newly created file. See {@link open} for more details. + * + * ```js + * import { writeFile } from 'node:fs'; + * import { Buffer } from 'node:buffer'; + * + * const data = new Uint8Array(Buffer.from('Hello Node.js')); + * writeFile('message.txt', data, (err) => { + * if (err) throw err; + * console.log('The file has been saved!'); + * }); + * ``` + * + * If `options` is a string, then it specifies the encoding: + * + * ```js + * import { writeFile } from 'node:fs'; + * + * writeFile('message.txt', 'Hello Node.js', 'utf8', callback); + * ``` + * + * It is unsafe to use `fs.writeFile()` multiple times on the same file without + * waiting for the callback. For this scenario, {@link createWriteStream} is + * recommended. + * + * Similarly to `fs.readFile` \- `fs.writeFile` is a convenience method that + * performs multiple `write` calls internally to write the buffer passed to it. + * For performance sensitive code consider using {@link createWriteStream}. + * + * It is possible to use an `AbortSignal` to cancel an `fs.writeFile()`. + * Cancelation is "best effort", and some amount of data is likely still + * to be written. + * + * ```js + * import { writeFile } from 'node:fs'; + * import { Buffer } from 'node:buffer'; + * + * const controller = new AbortController(); + * const { signal } = controller; + * const data = new Uint8Array(Buffer.from('Hello Node.js')); + * writeFile('message.txt', data, { signal }, (err) => { + * // When a request is aborted - the callback is called with an AbortError + * }); + * // When the request should be aborted + * controller.abort(); + * ``` + * + * Aborting an ongoing request does not abort individual operating + * system requests but rather the internal buffering `fs.writeFile` performs. + * @since v0.1.29 + * @param file filename or file descriptor + */ + export function writeFile( + file: PathOrFileDescriptor, + data: string | NodeJS.ArrayBufferView, + options: WriteFileOptions, + callback: NoParamCallback, + ): void; + /** + * Asynchronously writes data to a file, replacing the file if it already exists. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. + */ + export function writeFile( + path: PathOrFileDescriptor, + data: string | NodeJS.ArrayBufferView, + callback: NoParamCallback, + ): void; + export namespace writeFile { + /** + * Asynchronously writes data to a file, replacing the file if it already exists. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. + * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. + * If `encoding` is not supplied, the default of `'utf8'` is used. + * If `mode` is not supplied, the default of `0o666` is used. + * If `mode` is a string, it is parsed as an octal integer. + * If `flag` is not supplied, the default of `'w'` is used. + */ + function __promisify__( + path: PathOrFileDescriptor, + data: string | NodeJS.ArrayBufferView, + options?: WriteFileOptions, + ): Promise; + } + /** + * Returns `undefined`. + * + * The `mode` option only affects the newly created file. See {@link open} for more details. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link writeFile}. + * @since v0.1.29 + * @param file filename or file descriptor + */ + export function writeFileSync( + file: PathOrFileDescriptor, + data: string | NodeJS.ArrayBufferView, + options?: WriteFileOptions, + ): void; + /** + * Asynchronously append data to a file, creating the file if it does not yet + * exist. `data` can be a string or a `Buffer`. + * + * The `mode` option only affects the newly created file. See {@link open} for more details. + * + * ```js + * import { appendFile } from 'node:fs'; + * + * appendFile('message.txt', 'data to append', (err) => { + * if (err) throw err; + * console.log('The "data to append" was appended to file!'); + * }); + * ``` + * + * If `options` is a string, then it specifies the encoding: + * + * ```js + * import { appendFile } from 'node:fs'; + * + * appendFile('message.txt', 'data to append', 'utf8', callback); + * ``` + * + * The `path` may be specified as a numeric file descriptor that has been opened + * for appending (using `fs.open()` or `fs.openSync()`). The file descriptor will + * not be closed automatically. + * + * ```js + * import { open, close, appendFile } from 'node:fs'; + * + * function closeFd(fd) { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * + * open('message.txt', 'a', (err, fd) => { + * if (err) throw err; + * + * try { + * appendFile(fd, 'data to append', 'utf8', (err) => { + * closeFd(fd); + * if (err) throw err; + * }); + * } catch (err) { + * closeFd(fd); + * throw err; + * } + * }); + * ``` + * @since v0.6.7 + * @param path filename or file descriptor + */ + export function appendFile( + path: PathOrFileDescriptor, + data: string | Uint8Array, + options: WriteFileOptions, + callback: NoParamCallback, + ): void; + /** + * Asynchronously append data to a file, creating the file if it does not exist. + * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. + */ + export function appendFile(file: PathOrFileDescriptor, data: string | Uint8Array, callback: NoParamCallback): void; + export namespace appendFile { + /** + * Asynchronously append data to a file, creating the file if it does not exist. + * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + * If a file descriptor is provided, the underlying file will _not_ be closed automatically. + * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. + * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. + * If `encoding` is not supplied, the default of `'utf8'` is used. + * If `mode` is not supplied, the default of `0o666` is used. + * If `mode` is a string, it is parsed as an octal integer. + * If `flag` is not supplied, the default of `'a'` is used. + */ + function __promisify__( + file: PathOrFileDescriptor, + data: string | Uint8Array, + options?: WriteFileOptions, + ): Promise; + } + /** + * Synchronously append data to a file, creating the file if it does not yet + * exist. `data` can be a string or a `Buffer`. + * + * The `mode` option only affects the newly created file. See {@link open} for more details. + * + * ```js + * import { appendFileSync } from 'node:fs'; + * + * try { + * appendFileSync('message.txt', 'data to append'); + * console.log('The "data to append" was appended to file!'); + * } catch (err) { + * // Handle the error + * } + * ``` + * + * If `options` is a string, then it specifies the encoding: + * + * ```js + * import { appendFileSync } from 'node:fs'; + * + * appendFileSync('message.txt', 'data to append', 'utf8'); + * ``` + * + * The `path` may be specified as a numeric file descriptor that has been opened + * for appending (using `fs.open()` or `fs.openSync()`). The file descriptor will + * not be closed automatically. + * + * ```js + * import { openSync, closeSync, appendFileSync } from 'node:fs'; + * + * let fd; + * + * try { + * fd = openSync('message.txt', 'a'); + * appendFileSync(fd, 'data to append', 'utf8'); + * } catch (err) { + * // Handle the error + * } finally { + * if (fd !== undefined) + * closeSync(fd); + * } + * ``` + * @since v0.6.7 + * @param path filename or file descriptor + */ + export function appendFileSync( + path: PathOrFileDescriptor, + data: string | Uint8Array, + options?: WriteFileOptions, + ): void; + /** + * Watch for changes on `filename`. The callback `listener` will be called each + * time the file is accessed. + * + * The `options` argument may be omitted. If provided, it should be an object. The`options` object may contain a boolean named `persistent` that indicates + * whether the process should continue to run as long as files are being watched. + * The `options` object may specify an `interval` property indicating how often the + * target should be polled in milliseconds. + * + * The `listener` gets two arguments the current stat object and the previous + * stat object: + * + * ```js + * import { watchFile } from 'fs'; + * + * watchFile('message.text', (curr, prev) => { + * console.log(`the current mtime is: ${curr.mtime}`); + * console.log(`the previous mtime was: ${prev.mtime}`); + * }); + * ``` + * + * These stat objects are instances of `fs.Stat`. If the `bigint` option is `true`, + * the numeric values in these objects are specified as `BigInt`s. + * + * To be notified when the file was modified, not just accessed, it is necessary + * to compare `curr.mtimeMs` and `prev.mtimeMs`. + * + * When an `fs.watchFile` operation results in an `ENOENT` error, it + * will invoke the listener once, with all the fields zeroed (or, for dates, the + * Unix Epoch). If the file is created later on, the listener will be called + * again, with the latest stat objects. This is a change in functionality since + * v0.10. + * + * Using {@link watch} is more efficient than `fs.watchFile` and`fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and`fs.unwatchFile` when possible. + * + * When a file being watched by `fs.watchFile()` disappears and reappears, + * then the contents of `previous` in the second callback event (the file's + * reappearance) will be the same as the contents of `previous` in the first + * callback event (its disappearance). + * + * This happens when: + * + * * the file is deleted, followed by a restore + * * the file is renamed and then renamed a second time back to its original name + * @since v0.1.31 + */ + export interface WatchFileOptions { + bigint?: boolean | undefined; + persistent?: boolean | undefined; + interval?: number | undefined; + } + /** + * Watch for changes on `filename`. The callback `listener` will be called each + * time the file is accessed. + * + * The `options` argument may be omitted. If provided, it should be an object. The`options` object may contain a boolean named `persistent` that indicates + * whether the process should continue to run as long as files are being watched. + * The `options` object may specify an `interval` property indicating how often the + * target should be polled in milliseconds. + * + * The `listener` gets two arguments the current stat object and the previous + * stat object: + * + * ```js + * import { watchFile } from 'node:fs'; + * + * watchFile('message.text', (curr, prev) => { + * console.log(`the current mtime is: ${curr.mtime}`); + * console.log(`the previous mtime was: ${prev.mtime}`); + * }); + * ``` + * + * These stat objects are instances of `fs.Stat`. If the `bigint` option is `true`, + * the numeric values in these objects are specified as `BigInt`s. + * + * To be notified when the file was modified, not just accessed, it is necessary + * to compare `curr.mtimeMs` and `prev.mtimeMs`. + * + * When an `fs.watchFile` operation results in an `ENOENT` error, it + * will invoke the listener once, with all the fields zeroed (or, for dates, the + * Unix Epoch). If the file is created later on, the listener will be called + * again, with the latest stat objects. This is a change in functionality since + * v0.10. + * + * Using {@link watch} is more efficient than `fs.watchFile` and`fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and`fs.unwatchFile` when possible. + * + * When a file being watched by `fs.watchFile()` disappears and reappears, + * then the contents of `previous` in the second callback event (the file's + * reappearance) will be the same as the contents of `previous` in the first + * callback event (its disappearance). + * + * This happens when: + * + * * the file is deleted, followed by a restore + * * the file is renamed and then renamed a second time back to its original name + * @since v0.1.31 + */ + export function watchFile( + filename: PathLike, + options: + | (WatchFileOptions & { + bigint?: false | undefined; + }) + | undefined, + listener: StatsListener, + ): StatWatcher; + export function watchFile( + filename: PathLike, + options: + | (WatchFileOptions & { + bigint: true; + }) + | undefined, + listener: BigIntStatsListener, + ): StatWatcher; + /** + * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed. + * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + */ + export function watchFile(filename: PathLike, listener: StatsListener): StatWatcher; + /** + * Stop watching for changes on `filename`. If `listener` is specified, only that + * particular listener is removed. Otherwise, _all_ listeners are removed, + * effectively stopping watching of `filename`. + * + * Calling `fs.unwatchFile()` with a filename that is not being watched is a + * no-op, not an error. + * + * Using {@link watch} is more efficient than `fs.watchFile()` and`fs.unwatchFile()`. `fs.watch()` should be used instead of `fs.watchFile()`and `fs.unwatchFile()` when possible. + * @since v0.1.31 + * @param listener Optional, a listener previously attached using `fs.watchFile()` + */ + export function unwatchFile(filename: PathLike, listener?: StatsListener): void; + export function unwatchFile(filename: PathLike, listener?: BigIntStatsListener): void; + export interface WatchOptions extends Abortable { + encoding?: BufferEncoding | "buffer" | undefined; + persistent?: boolean | undefined; + recursive?: boolean | undefined; + } + export type WatchEventType = "rename" | "change"; + export type WatchListener = (event: WatchEventType, filename: T | null) => void; + export type StatsListener = (curr: Stats, prev: Stats) => void; + export type BigIntStatsListener = (curr: BigIntStats, prev: BigIntStats) => void; + /** + * Watch for changes on `filename`, where `filename` is either a file or a + * directory. + * + * The second argument is optional. If `options` is provided as a string, it + * specifies the `encoding`. Otherwise `options` should be passed as an object. + * + * The listener callback gets two arguments `(eventType, filename)`. `eventType`is either `'rename'` or `'change'`, and `filename` is the name of the file + * which triggered the event. + * + * On most platforms, `'rename'` is emitted whenever a filename appears or + * disappears in the directory. + * + * The listener callback is attached to the `'change'` event fired by `fs.FSWatcher`, but it is not the same thing as the `'change'` value of`eventType`. + * + * If a `signal` is passed, aborting the corresponding AbortController will close + * the returned `fs.FSWatcher`. + * @since v0.5.10 + * @param listener + */ + export function watch( + filename: PathLike, + options: + | (WatchOptions & { + encoding: "buffer"; + }) + | "buffer", + listener?: WatchListener, + ): FSWatcher; + /** + * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. + * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. + * If `encoding` is not supplied, the default of `'utf8'` is used. + * If `persistent` is not supplied, the default of `true` is used. + * If `recursive` is not supplied, the default of `false` is used. + */ + export function watch( + filename: PathLike, + options?: WatchOptions | BufferEncoding | null, + listener?: WatchListener, + ): FSWatcher; + /** + * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. + * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. + * If `encoding` is not supplied, the default of `'utf8'` is used. + * If `persistent` is not supplied, the default of `true` is used. + * If `recursive` is not supplied, the default of `false` is used. + */ + export function watch( + filename: PathLike, + options: WatchOptions | string, + listener?: WatchListener, + ): FSWatcher; + /** + * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. + * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + */ + export function watch(filename: PathLike, listener?: WatchListener): FSWatcher; + /** + * Test whether or not the given path exists by checking with the file system. + * Then call the `callback` argument with either true or false: + * + * ```js + * import { exists } from 'node:fs'; + * + * exists('/etc/passwd', (e) => { + * console.log(e ? 'it exists' : 'no passwd!'); + * }); + * ``` + * + * **The parameters for this callback are not consistent with other Node.js** + * **callbacks.** Normally, the first parameter to a Node.js callback is an `err`parameter, optionally followed by other parameters. The `fs.exists()` callback + * has only one boolean parameter. This is one reason `fs.access()` is recommended + * instead of `fs.exists()`. + * + * Using `fs.exists()` to check for the existence of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()` is not recommended. Doing + * so introduces a race condition, since other processes may change the file's + * state between the two calls. Instead, user code should open/read/write the + * file directly and handle the error raised if the file does not exist. + * + * **write (NOT RECOMMENDED)** + * + * ```js + * import { exists, open, close } from 'node:fs'; + * + * exists('myfile', (e) => { + * if (e) { + * console.error('myfile already exists'); + * } else { + * open('myfile', 'wx', (err, fd) => { + * if (err) throw err; + * + * try { + * writeMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * } + * }); + * ``` + * + * **write (RECOMMENDED)** + * + * ```js + * import { open, close } from 'node:fs'; + * open('myfile', 'wx', (err, fd) => { + * if (err) { + * if (err.code === 'EEXIST') { + * console.error('myfile already exists'); + * return; + * } + * + * throw err; + * } + * + * try { + * writeMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * ``` + * + * **read (NOT RECOMMENDED)** + * + * ```js + * import { open, close, exists } from 'node:fs'; + * + * exists('myfile', (e) => { + * if (e) { + * open('myfile', 'r', (err, fd) => { + * if (err) throw err; + * + * try { + * readMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * } else { + * console.error('myfile does not exist'); + * } + * }); + * ``` + * + * **read (RECOMMENDED)** + * + * ```js + * import { open, close } from 'node:fs'; + * + * open('myfile', 'r', (err, fd) => { + * if (err) { + * if (err.code === 'ENOENT') { + * console.error('myfile does not exist'); + * return; + * } + * + * throw err; + * } + * + * try { + * readMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * ``` + * + * The "not recommended" examples above check for existence and then use the + * file; the "recommended" examples are better because they use the file directly + * and handle the error, if any. + * + * In general, check for the existence of a file only if the file won't be + * used directly, for example when its existence is a signal from another + * process. + * @since v0.0.2 + * @deprecated Since v1.0.0 - Use {@link stat} or {@link access} instead. + */ + export function exists(path: PathLike, callback: (exists: boolean) => void): void; + /** @deprecated */ + export namespace exists { + /** + * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + */ + function __promisify__(path: PathLike): Promise; + } + /** + * Returns `true` if the path exists, `false` otherwise. + * + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link exists}. + * + * `fs.exists()` is deprecated, but `fs.existsSync()` is not. The `callback`parameter to `fs.exists()` accepts parameters that are inconsistent with other + * Node.js callbacks. `fs.existsSync()` does not use a callback. + * + * ```js + * import { existsSync } from 'node:fs'; + * + * if (existsSync('/etc/passwd')) + * console.log('The path exists.'); + * ``` + * @since v0.1.21 + */ + export function existsSync(path: PathLike): boolean; + export namespace constants { + // File Access Constants + /** Constant for fs.access(). File is visible to the calling process. */ + const F_OK: number; + /** Constant for fs.access(). File can be read by the calling process. */ + const R_OK: number; + /** Constant for fs.access(). File can be written by the calling process. */ + const W_OK: number; + /** Constant for fs.access(). File can be executed by the calling process. */ + const X_OK: number; + // File Copy Constants + /** Constant for fs.copyFile. Flag indicating the destination file should not be overwritten if it already exists. */ + const COPYFILE_EXCL: number; + /** + * Constant for fs.copyFile. copy operation will attempt to create a copy-on-write reflink. + * If the underlying platform does not support copy-on-write, then a fallback copy mechanism is used. + */ + const COPYFILE_FICLONE: number; + /** + * Constant for fs.copyFile. Copy operation will attempt to create a copy-on-write reflink. + * If the underlying platform does not support copy-on-write, then the operation will fail with an error. + */ + const COPYFILE_FICLONE_FORCE: number; + // File Open Constants + /** Constant for fs.open(). Flag indicating to open a file for read-only access. */ + const O_RDONLY: number; + /** Constant for fs.open(). Flag indicating to open a file for write-only access. */ + const O_WRONLY: number; + /** Constant for fs.open(). Flag indicating to open a file for read-write access. */ + const O_RDWR: number; + /** Constant for fs.open(). Flag indicating to create the file if it does not already exist. */ + const O_CREAT: number; + /** Constant for fs.open(). Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists. */ + const O_EXCL: number; + /** + * Constant for fs.open(). Flag indicating that if path identifies a terminal device, + * opening the path shall not cause that terminal to become the controlling terminal for the process + * (if the process does not already have one). + */ + const O_NOCTTY: number; + /** Constant for fs.open(). Flag indicating that if the file exists and is a regular file, and the file is opened successfully for write access, its length shall be truncated to zero. */ + const O_TRUNC: number; + /** Constant for fs.open(). Flag indicating that data will be appended to the end of the file. */ + const O_APPEND: number; + /** Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory. */ + const O_DIRECTORY: number; + /** + * constant for fs.open(). + * Flag indicating reading accesses to the file system will no longer result in + * an update to the atime information associated with the file. + * This flag is available on Linux operating systems only. + */ + const O_NOATIME: number; + /** Constant for fs.open(). Flag indicating that the open should fail if the path is a symbolic link. */ + const O_NOFOLLOW: number; + /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O. */ + const O_SYNC: number; + /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O with write operations waiting for data integrity. */ + const O_DSYNC: number; + /** Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to. */ + const O_SYMLINK: number; + /** Constant for fs.open(). When set, an attempt will be made to minimize caching effects of file I/O. */ + const O_DIRECT: number; + /** Constant for fs.open(). Flag indicating to open the file in nonblocking mode when possible. */ + const O_NONBLOCK: number; + // File Type Constants + /** Constant for fs.Stats mode property for determining a file's type. Bit mask used to extract the file type code. */ + const S_IFMT: number; + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a regular file. */ + const S_IFREG: number; + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a directory. */ + const S_IFDIR: number; + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a character-oriented device file. */ + const S_IFCHR: number; + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a block-oriented device file. */ + const S_IFBLK: number; + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a FIFO/pipe. */ + const S_IFIFO: number; + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a symbolic link. */ + const S_IFLNK: number; + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a socket. */ + const S_IFSOCK: number; + // File Mode Constants + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by owner. */ + const S_IRWXU: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by owner. */ + const S_IRUSR: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by owner. */ + const S_IWUSR: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by owner. */ + const S_IXUSR: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by group. */ + const S_IRWXG: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by group. */ + const S_IRGRP: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by group. */ + const S_IWGRP: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by group. */ + const S_IXGRP: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by others. */ + const S_IRWXO: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by others. */ + const S_IROTH: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by others. */ + const S_IWOTH: number; + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others. */ + const S_IXOTH: number; + /** + * When set, a memory file mapping is used to access the file. This flag + * is available on Windows operating systems only. On other operating systems, + * this flag is ignored. + */ + const UV_FS_O_FILEMAP: number; + } + /** + * Tests a user's permissions for the file or directory specified by `path`. + * The `mode` argument is an optional integer that specifies the accessibility + * checks to be performed. `mode` should be either the value `fs.constants.F_OK`or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`,`fs.constants.W_OK`, and `fs.constants.X_OK` + * (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for + * possible values of `mode`. + * + * The final argument, `callback`, is a callback function that is invoked with + * a possible error argument. If any of the accessibility checks fail, the error + * argument will be an `Error` object. The following examples check if`package.json` exists, and if it is readable or writable. + * + * ```js + * import { access, constants } from 'node:fs'; + * + * const file = 'package.json'; + * + * // Check if the file exists in the current directory. + * access(file, constants.F_OK, (err) => { + * console.log(`${file} ${err ? 'does not exist' : 'exists'}`); + * }); + * + * // Check if the file is readable. + * access(file, constants.R_OK, (err) => { + * console.log(`${file} ${err ? 'is not readable' : 'is readable'}`); + * }); + * + * // Check if the file is writable. + * access(file, constants.W_OK, (err) => { + * console.log(`${file} ${err ? 'is not writable' : 'is writable'}`); + * }); + * + * // Check if the file is readable and writable. + * access(file, constants.R_OK | constants.W_OK, (err) => { + * console.log(`${file} ${err ? 'is not' : 'is'} readable and writable`); + * }); + * ``` + * + * Do not use `fs.access()` to check for the accessibility of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()`. Doing + * so introduces a race condition, since other processes may change the file's + * state between the two calls. Instead, user code should open/read/write the + * file directly and handle the error raised if the file is not accessible. + * + * **write (NOT RECOMMENDED)** + * + * ```js + * import { access, open, close } from 'node:fs'; + * + * access('myfile', (err) => { + * if (!err) { + * console.error('myfile already exists'); + * return; + * } + * + * open('myfile', 'wx', (err, fd) => { + * if (err) throw err; + * + * try { + * writeMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * }); + * ``` + * + * **write (RECOMMENDED)** + * + * ```js + * import { open, close } from 'node:fs'; + * + * open('myfile', 'wx', (err, fd) => { + * if (err) { + * if (err.code === 'EEXIST') { + * console.error('myfile already exists'); + * return; + * } + * + * throw err; + * } + * + * try { + * writeMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * ``` + * + * **read (NOT RECOMMENDED)** + * + * ```js + * import { access, open, close } from 'node:fs'; + * access('myfile', (err) => { + * if (err) { + * if (err.code === 'ENOENT') { + * console.error('myfile does not exist'); + * return; + * } + * + * throw err; + * } + * + * open('myfile', 'r', (err, fd) => { + * if (err) throw err; + * + * try { + * readMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * }); + * ``` + * + * **read (RECOMMENDED)** + * + * ```js + * import { open, close } from 'node:fs'; + * + * open('myfile', 'r', (err, fd) => { + * if (err) { + * if (err.code === 'ENOENT') { + * console.error('myfile does not exist'); + * return; + * } + * + * throw err; + * } + * + * try { + * readMyData(fd); + * } finally { + * close(fd, (err) => { + * if (err) throw err; + * }); + * } + * }); + * ``` + * + * The "not recommended" examples above check for accessibility and then use the + * file; the "recommended" examples are better because they use the file directly + * and handle the error, if any. + * + * In general, check for the accessibility of a file only if the file will not be + * used directly, for example when its accessibility is a signal from another + * process. + * + * On Windows, access-control policies (ACLs) on a directory may limit access to + * a file or directory. The `fs.access()` function, however, does not check the + * ACL and therefore may report that a path is accessible even if the ACL restricts + * the user from reading or writing to it. + * @since v0.11.15 + * @param [mode=fs.constants.F_OK] + */ + export function access(path: PathLike, mode: number | undefined, callback: NoParamCallback): void; + /** + * Asynchronously tests a user's permissions for the file specified by path. + * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + */ + export function access(path: PathLike, callback: NoParamCallback): void; + export namespace access { + /** + * Asynchronously tests a user's permissions for the file specified by path. + * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + * URL support is _experimental_. + */ + function __promisify__(path: PathLike, mode?: number): Promise; + } + /** + * Synchronously tests a user's permissions for the file or directory specified + * by `path`. The `mode` argument is an optional integer that specifies the + * accessibility checks to be performed. `mode` should be either the value`fs.constants.F_OK` or a mask consisting of the bitwise OR of any of`fs.constants.R_OK`, `fs.constants.W_OK`, and + * `fs.constants.X_OK` (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for + * possible values of `mode`. + * + * If any of the accessibility checks fail, an `Error` will be thrown. Otherwise, + * the method will return `undefined`. + * + * ```js + * import { accessSync, constants } from 'node:fs'; + * + * try { + * accessSync('etc/passwd', constants.R_OK | constants.W_OK); + * console.log('can read/write'); + * } catch (err) { + * console.error('no access!'); + * } + * ``` + * @since v0.11.15 + * @param [mode=fs.constants.F_OK] + */ + export function accessSync(path: PathLike, mode?: number): void; + interface StreamOptions { + flags?: string | undefined; + encoding?: BufferEncoding | undefined; + fd?: number | promises.FileHandle | undefined; + mode?: number | undefined; + autoClose?: boolean | undefined; + emitClose?: boolean | undefined; + start?: number | undefined; + signal?: AbortSignal | null | undefined; + highWaterMark?: number | undefined; + } + interface FSImplementation { + open?: (...args: any[]) => any; + close?: (...args: any[]) => any; + } + interface CreateReadStreamFSImplementation extends FSImplementation { + read: (...args: any[]) => any; + } + interface CreateWriteStreamFSImplementation extends FSImplementation { + write: (...args: any[]) => any; + writev?: (...args: any[]) => any; + } + interface ReadStreamOptions extends StreamOptions { + fs?: CreateReadStreamFSImplementation | null | undefined; + end?: number | undefined; + } + interface WriteStreamOptions extends StreamOptions { + fs?: CreateWriteStreamFSImplementation | null | undefined; + flush?: boolean | undefined; + } + /** + * Unlike the 16 KiB default `highWaterMark` for a `stream.Readable`, the stream + * returned by this method has a default `highWaterMark` of 64 KiB. + * + * `options` can include `start` and `end` values to read a range of bytes from + * the file instead of the entire file. Both `start` and `end` are inclusive and + * start counting at 0, allowed values are in the + * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. If `fd` is specified and `start` is + * omitted or `undefined`, `fs.createReadStream()` reads sequentially from the + * current file position. The `encoding` can be any one of those accepted by `Buffer`. + * + * If `fd` is specified, `ReadStream` will ignore the `path` argument and will use + * the specified file descriptor. This means that no `'open'` event will be + * emitted. `fd` should be blocking; non-blocking `fd`s should be passed to `net.Socket`. + * + * If `fd` points to a character device that only supports blocking reads + * (such as keyboard or sound card), read operations do not finish until data is + * available. This can prevent the process from exiting and the stream from + * closing naturally. + * + * By default, the stream will emit a `'close'` event after it has been + * destroyed. Set the `emitClose` option to `false` to change this behavior. + * + * By providing the `fs` option, it is possible to override the corresponding `fs`implementations for `open`, `read`, and `close`. When providing the `fs` option, + * an override for `read` is required. If no `fd` is provided, an override for`open` is also required. If `autoClose` is `true`, an override for `close` is + * also required. + * + * ```js + * import { createReadStream } from 'node:fs'; + * + * // Create a stream from some character device. + * const stream = createReadStream('/dev/input/event0'); + * setTimeout(() => { + * stream.close(); // This may not close the stream. + * // Artificially marking end-of-stream, as if the underlying resource had + * // indicated end-of-file by itself, allows the stream to close. + * // This does not cancel pending read operations, and if there is such an + * // operation, the process may still not be able to exit successfully + * // until it finishes. + * stream.push(null); + * stream.read(0); + * }, 100); + * ``` + * + * If `autoClose` is false, then the file descriptor won't be closed, even if + * there's an error. It is the application's responsibility to close it and make + * sure there's no file descriptor leak. If `autoClose` is set to true (default + * behavior), on `'error'` or `'end'` the file descriptor will be closed + * automatically. + * + * `mode` sets the file mode (permission and sticky bits), but only if the + * file was created. + * + * An example to read the last 10 bytes of a file which is 100 bytes long: + * + * ```js + * import { createReadStream } from 'node:fs'; + * + * createReadStream('sample.txt', { start: 90, end: 99 }); + * ``` + * + * If `options` is a string, then it specifies the encoding. + * @since v0.1.31 + */ + export function createReadStream(path: PathLike, options?: BufferEncoding | ReadStreamOptions): ReadStream; + /** + * `options` may also include a `start` option to allow writing data at some + * position past the beginning of the file, allowed values are in the + * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. Modifying a file rather than + * replacing it may require the `flags` option to be set to `r+` rather than the + * default `w`. The `encoding` can be any one of those accepted by `Buffer`. + * + * If `autoClose` is set to true (default behavior) on `'error'` or `'finish'`the file descriptor will be closed automatically. If `autoClose` is false, + * then the file descriptor won't be closed, even if there's an error. + * It is the application's responsibility to close it and make sure there's no + * file descriptor leak. + * + * By default, the stream will emit a `'close'` event after it has been + * destroyed. Set the `emitClose` option to `false` to change this behavior. + * + * By providing the `fs` option it is possible to override the corresponding `fs`implementations for `open`, `write`, `writev`, and `close`. Overriding `write()`without `writev()` can reduce + * performance as some optimizations (`_writev()`) + * will be disabled. When providing the `fs` option, overrides for at least one of`write` and `writev` are required. If no `fd` option is supplied, an override + * for `open` is also required. If `autoClose` is `true`, an override for `close`is also required. + * + * Like `fs.ReadStream`, if `fd` is specified, `fs.WriteStream` will ignore the`path` argument and will use the specified file descriptor. This means that no`'open'` event will be + * emitted. `fd` should be blocking; non-blocking `fd`s + * should be passed to `net.Socket`. + * + * If `options` is a string, then it specifies the encoding. + * @since v0.1.31 + */ + export function createWriteStream(path: PathLike, options?: BufferEncoding | WriteStreamOptions): WriteStream; + /** + * Forces all currently queued I/O operations associated with the file to the + * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. No arguments other + * than a possible + * exception are given to the completion callback. + * @since v0.1.96 + */ + export function fdatasync(fd: number, callback: NoParamCallback): void; + export namespace fdatasync { + /** + * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device. + * @param fd A file descriptor. + */ + function __promisify__(fd: number): Promise; + } + /** + * Forces all currently queued I/O operations associated with the file to the + * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. Returns `undefined`. + * @since v0.1.96 + */ + export function fdatasyncSync(fd: number): void; + /** + * Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it + * already exists. No arguments other than a possible exception are given to the + * callback function. Node.js makes no guarantees about the atomicity of the copy + * operation. If an error occurs after the destination file has been opened for + * writing, Node.js will attempt to remove the destination. + * + * `mode` is an optional integer that specifies the behavior + * of the copy operation. It is possible to create a mask consisting of the bitwise + * OR of two or more values (e.g.`fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`). + * + * * `fs.constants.COPYFILE_EXCL`: The copy operation will fail if `dest` already + * exists. + * * `fs.constants.COPYFILE_FICLONE`: The copy operation will attempt to create a + * copy-on-write reflink. If the platform does not support copy-on-write, then a + * fallback copy mechanism is used. + * * `fs.constants.COPYFILE_FICLONE_FORCE`: The copy operation will attempt to + * create a copy-on-write reflink. If the platform does not support + * copy-on-write, then the operation will fail. + * + * ```js + * import { copyFile, constants } from 'node:fs'; + * + * function callback(err) { + * if (err) throw err; + * console.log('source.txt was copied to destination.txt'); + * } + * + * // destination.txt will be created or overwritten by default. + * copyFile('source.txt', 'destination.txt', callback); + * + * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists. + * copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL, callback); + * ``` + * @since v8.5.0 + * @param src source filename to copy + * @param dest destination filename of the copy operation + * @param [mode=0] modifiers for copy operation. + */ + export function copyFile(src: PathLike, dest: PathLike, callback: NoParamCallback): void; + export function copyFile(src: PathLike, dest: PathLike, mode: number, callback: NoParamCallback): void; + export namespace copyFile { + function __promisify__(src: PathLike, dst: PathLike, mode?: number): Promise; + } + /** + * Synchronously copies `src` to `dest`. By default, `dest` is overwritten if it + * already exists. Returns `undefined`. Node.js makes no guarantees about the + * atomicity of the copy operation. If an error occurs after the destination file + * has been opened for writing, Node.js will attempt to remove the destination. + * + * `mode` is an optional integer that specifies the behavior + * of the copy operation. It is possible to create a mask consisting of the bitwise + * OR of two or more values (e.g.`fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`). + * + * * `fs.constants.COPYFILE_EXCL`: The copy operation will fail if `dest` already + * exists. + * * `fs.constants.COPYFILE_FICLONE`: The copy operation will attempt to create a + * copy-on-write reflink. If the platform does not support copy-on-write, then a + * fallback copy mechanism is used. + * * `fs.constants.COPYFILE_FICLONE_FORCE`: The copy operation will attempt to + * create a copy-on-write reflink. If the platform does not support + * copy-on-write, then the operation will fail. + * + * ```js + * import { copyFileSync, constants } from 'node:fs'; + * + * // destination.txt will be created or overwritten by default. + * copyFileSync('source.txt', 'destination.txt'); + * console.log('source.txt was copied to destination.txt'); + * + * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists. + * copyFileSync('source.txt', 'destination.txt', constants.COPYFILE_EXCL); + * ``` + * @since v8.5.0 + * @param src source filename to copy + * @param dest destination filename of the copy operation + * @param [mode=0] modifiers for copy operation. + */ + export function copyFileSync(src: PathLike, dest: PathLike, mode?: number): void; + /** + * Write an array of `ArrayBufferView`s to the file specified by `fd` using`writev()`. + * + * `position` is the offset from the beginning of the file where this data + * should be written. If `typeof position !== 'number'`, the data will be written + * at the current position. + * + * The callback will be given three arguments: `err`, `bytesWritten`, and`buffers`. `bytesWritten` is how many bytes were written from `buffers`. + * + * If this method is `util.promisify()` ed, it returns a promise for an`Object` with `bytesWritten` and `buffers` properties. + * + * It is unsafe to use `fs.writev()` multiple times on the same file without + * waiting for the callback. For this scenario, use {@link createWriteStream}. + * + * On Linux, positional writes don't work when the file is opened in append mode. + * The kernel ignores the position argument and always appends the data to + * the end of the file. + * @since v12.9.0 + * @param [position='null'] + */ + export function writev( + fd: number, + buffers: readonly NodeJS.ArrayBufferView[], + cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void, + ): void; + export function writev( + fd: number, + buffers: readonly NodeJS.ArrayBufferView[], + position: number, + cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void, + ): void; + export interface WriteVResult { + bytesWritten: number; + buffers: NodeJS.ArrayBufferView[]; + } + export namespace writev { + function __promisify__( + fd: number, + buffers: readonly NodeJS.ArrayBufferView[], + position?: number, + ): Promise; + } + /** + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link writev}. + * @since v12.9.0 + * @param [position='null'] + * @return The number of bytes written. + */ + export function writevSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number; + /** + * Read from a file specified by `fd` and write to an array of `ArrayBufferView`s + * using `readv()`. + * + * `position` is the offset from the beginning of the file from where data + * should be read. If `typeof position !== 'number'`, the data will be read + * from the current position. + * + * The callback will be given three arguments: `err`, `bytesRead`, and`buffers`. `bytesRead` is how many bytes were read from the file. + * + * If this method is invoked as its `util.promisify()` ed version, it returns + * a promise for an `Object` with `bytesRead` and `buffers` properties. + * @since v13.13.0, v12.17.0 + * @param [position='null'] + */ + export function readv( + fd: number, + buffers: readonly NodeJS.ArrayBufferView[], + cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void, + ): void; + export function readv( + fd: number, + buffers: readonly NodeJS.ArrayBufferView[], + position: number, + cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void, + ): void; + export interface ReadVResult { + bytesRead: number; + buffers: NodeJS.ArrayBufferView[]; + } + export namespace readv { + function __promisify__( + fd: number, + buffers: readonly NodeJS.ArrayBufferView[], + position?: number, + ): Promise; + } + /** + * For detailed information, see the documentation of the asynchronous version of + * this API: {@link readv}. + * @since v13.13.0, v12.17.0 + * @param [position='null'] + * @return The number of bytes read. + */ + export function readvSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number; + + export interface OpenAsBlobOptions { + /** + * An optional mime type for the blob. + * + * @default 'undefined' + */ + type?: string | undefined; + } + + /** + * Returns a `Blob` whose data is backed by the given file. + * + * The file must not be modified after the `Blob` is created. Any modifications + * will cause reading the `Blob` data to fail with a `DOMException` error. + * Synchronous stat operations on the file when the `Blob` is created, and before + * each read in order to detect whether the file data has been modified on disk. + * + * ```js + * import { openAsBlob } from 'node:fs'; + * + * const blob = await openAsBlob('the.file.txt'); + * const ab = await blob.arrayBuffer(); + * blob.stream(); + * ``` + * @since v19.8.0 + * @experimental + */ + export function openAsBlob(path: PathLike, options?: OpenAsBlobOptions): Promise; + + export interface OpenDirOptions { + /** + * @default 'utf8' + */ + encoding?: BufferEncoding | undefined; + /** + * Number of directory entries that are buffered + * internally when reading from the directory. Higher values lead to better + * performance but higher memory usage. + * @default 32 + */ + bufferSize?: number | undefined; + /** + * @default false + */ + recursive?: boolean; + } + /** + * Synchronously open a directory. See [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html). + * + * Creates an `fs.Dir`, which contains all further functions for reading from + * and cleaning up the directory. + * + * The `encoding` option sets the encoding for the `path` while opening the + * directory and subsequent read operations. + * @since v12.12.0 + */ + export function opendirSync(path: PathLike, options?: OpenDirOptions): Dir; + /** + * Asynchronously open a directory. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for + * more details. + * + * Creates an `fs.Dir`, which contains all further functions for reading from + * and cleaning up the directory. + * + * The `encoding` option sets the encoding for the `path` while opening the + * directory and subsequent read operations. + * @since v12.12.0 + */ + export function opendir(path: PathLike, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void; + export function opendir( + path: PathLike, + options: OpenDirOptions, + cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void, + ): void; + export namespace opendir { + function __promisify__(path: PathLike, options?: OpenDirOptions): Promise; + } + export interface BigIntStats extends StatsBase { + atimeNs: bigint; + mtimeNs: bigint; + ctimeNs: bigint; + birthtimeNs: bigint; + } + export interface BigIntOptions { + bigint: true; + } + export interface StatOptions { + bigint?: boolean | undefined; + } + export interface StatSyncOptions extends StatOptions { + throwIfNoEntry?: boolean | undefined; + } + interface CopyOptionsBase { + /** + * Dereference symlinks + * @default false + */ + dereference?: boolean; + /** + * When `force` is `false`, and the destination + * exists, throw an error. + * @default false + */ + errorOnExist?: boolean; + /** + * Overwrite existing file or directory. _The copy + * operation will ignore errors if you set this to false and the destination + * exists. Use the `errorOnExist` option to change this behavior. + * @default true + */ + force?: boolean; + /** + * Modifiers for copy operation. See `mode` flag of {@link copyFileSync()} + */ + mode?: number; + /** + * When `true` timestamps from `src` will + * be preserved. + * @default false + */ + preserveTimestamps?: boolean; + /** + * Copy directories recursively. + * @default false + */ + recursive?: boolean; + /** + * When true, path resolution for symlinks will be skipped + * @default false + */ + verbatimSymlinks?: boolean; + } + export interface CopyOptions extends CopyOptionsBase { + /** + * Function to filter copied files/directories. Return + * `true` to copy the item, `false` to ignore it. + */ + filter?(source: string, destination: string): boolean | Promise; + } + export interface CopySyncOptions extends CopyOptionsBase { + /** + * Function to filter copied files/directories. Return + * `true` to copy the item, `false` to ignore it. + */ + filter?(source: string, destination: string): boolean; + } + /** + * Asynchronously copies the entire directory structure from `src` to `dest`, + * including subdirectories and files. + * + * When copying a directory to another directory, globs are not supported and + * behavior is similar to `cp dir1/ dir2/`. + * @since v16.7.0 + * @experimental + * @param src source path to copy. + * @param dest destination path to copy to. + */ + export function cp( + source: string | URL, + destination: string | URL, + callback: (err: NodeJS.ErrnoException | null) => void, + ): void; + export function cp( + source: string | URL, + destination: string | URL, + opts: CopyOptions, + callback: (err: NodeJS.ErrnoException | null) => void, + ): void; + /** + * Synchronously copies the entire directory structure from `src` to `dest`, + * including subdirectories and files. + * + * When copying a directory to another directory, globs are not supported and + * behavior is similar to `cp dir1/ dir2/`. + * @since v16.7.0 + * @experimental + * @param src source path to copy. + * @param dest destination path to copy to. + */ + export function cpSync(source: string | URL, destination: string | URL, opts?: CopySyncOptions): void; +} +declare module "node:fs" { + export * from "fs"; +} diff --git a/node_modules/@types/node/ts4.8/fs/promises.d.ts b/node_modules/@types/node/ts4.8/fs/promises.d.ts new file mode 100644 index 000000000..88a9fc33e --- /dev/null +++ b/node_modules/@types/node/ts4.8/fs/promises.d.ts @@ -0,0 +1,1239 @@ +/** + * The `fs/promises` API provides asynchronous file system methods that return + * promises. + * + * The promise APIs use the underlying Node.js threadpool to perform file + * system operations off the event loop thread. These operations are not + * synchronized or threadsafe. Care must be taken when performing multiple + * concurrent modifications on the same file or data corruption may occur. + * @since v10.0.0 + */ +declare module "fs/promises" { + import { Abortable } from "node:events"; + import { Stream } from "node:stream"; + import { ReadableStream } from "node:stream/web"; + import { + BigIntStats, + BigIntStatsFs, + BufferEncodingOption, + constants as fsConstants, + CopyOptions, + Dir, + Dirent, + MakeDirectoryOptions, + Mode, + ObjectEncodingOptions, + OpenDirOptions, + OpenMode, + PathLike, + ReadStream, + ReadVResult, + RmDirOptions, + RmOptions, + StatFsOptions, + StatOptions, + Stats, + StatsFs, + TimeLike, + WatchEventType, + WatchOptions, + WriteStream, + WriteVResult, + } from "node:fs"; + import { Interface as ReadlineInterface } from "node:readline"; + interface FileChangeInfo { + eventType: WatchEventType; + filename: T | null; + } + interface FlagAndOpenMode { + mode?: Mode | undefined; + flag?: OpenMode | undefined; + } + interface FileReadResult { + bytesRead: number; + buffer: T; + } + interface FileReadOptions { + /** + * @default `Buffer.alloc(0xffff)` + */ + buffer?: T; + /** + * @default 0 + */ + offset?: number | null; + /** + * @default `buffer.byteLength` + */ + length?: number | null; + position?: number | null; + } + interface CreateReadStreamOptions { + encoding?: BufferEncoding | null | undefined; + autoClose?: boolean | undefined; + emitClose?: boolean | undefined; + start?: number | undefined; + end?: number | undefined; + highWaterMark?: number | undefined; + } + interface CreateWriteStreamOptions { + encoding?: BufferEncoding | null | undefined; + autoClose?: boolean | undefined; + emitClose?: boolean | undefined; + start?: number | undefined; + highWaterMark?: number | undefined; + flush?: boolean | undefined; + } + interface ReadableWebStreamOptions { + /** + * Whether to open a normal or a `'bytes'` stream. + * @since v20.0.0 + */ + type?: "bytes" | undefined; + } + // TODO: Add `EventEmitter` close + interface FileHandle { + /** + * The numeric file descriptor managed by the {FileHandle} object. + * @since v10.0.0 + */ + readonly fd: number; + /** + * Alias of `filehandle.writeFile()`. + * + * When operating on file handles, the mode cannot be changed from what it was set + * to with `fsPromises.open()`. Therefore, this is equivalent to `filehandle.writeFile()`. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + appendFile( + data: string | Uint8Array, + options?: + | (ObjectEncodingOptions & FlagAndOpenMode & { flush?: boolean | undefined }) + | BufferEncoding + | null, + ): Promise; + /** + * Changes the ownership of the file. A wrapper for [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html). + * @since v10.0.0 + * @param uid The file's new owner's user id. + * @param gid The file's new group's group id. + * @return Fulfills with `undefined` upon success. + */ + chown(uid: number, gid: number): Promise; + /** + * Modifies the permissions on the file. See [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html). + * @since v10.0.0 + * @param mode the file mode bit mask. + * @return Fulfills with `undefined` upon success. + */ + chmod(mode: Mode): Promise; + /** + * Unlike the 16 KiB default `highWaterMark` for a `stream.Readable`, the stream + * returned by this method has a default `highWaterMark` of 64 KiB. + * + * `options` can include `start` and `end` values to read a range of bytes from + * the file instead of the entire file. Both `start` and `end` are inclusive and + * start counting at 0, allowed values are in the + * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. If `start` is + * omitted or `undefined`, `filehandle.createReadStream()` reads sequentially from + * the current file position. The `encoding` can be any one of those accepted by `Buffer`. + * + * If the `FileHandle` points to a character device that only supports blocking + * reads (such as keyboard or sound card), read operations do not finish until data + * is available. This can prevent the process from exiting and the stream from + * closing naturally. + * + * By default, the stream will emit a `'close'` event after it has been + * destroyed. Set the `emitClose` option to `false` to change this behavior. + * + * ```js + * import { open } from 'node:fs/promises'; + * + * const fd = await open('/dev/input/event0'); + * // Create a stream from some character device. + * const stream = fd.createReadStream(); + * setTimeout(() => { + * stream.close(); // This may not close the stream. + * // Artificially marking end-of-stream, as if the underlying resource had + * // indicated end-of-file by itself, allows the stream to close. + * // This does not cancel pending read operations, and if there is such an + * // operation, the process may still not be able to exit successfully + * // until it finishes. + * stream.push(null); + * stream.read(0); + * }, 100); + * ``` + * + * If `autoClose` is false, then the file descriptor won't be closed, even if + * there's an error. It is the application's responsibility to close it and make + * sure there's no file descriptor leak. If `autoClose` is set to true (default + * behavior), on `'error'` or `'end'` the file descriptor will be closed + * automatically. + * + * An example to read the last 10 bytes of a file which is 100 bytes long: + * + * ```js + * import { open } from 'node:fs/promises'; + * + * const fd = await open('sample.txt'); + * fd.createReadStream({ start: 90, end: 99 }); + * ``` + * @since v16.11.0 + */ + createReadStream(options?: CreateReadStreamOptions): ReadStream; + /** + * `options` may also include a `start` option to allow writing data at some + * position past the beginning of the file, allowed values are in the + * \[0, [`Number.MAX_SAFE_INTEGER`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)\] range. Modifying a file rather than + * replacing it may require the `flags` `open` option to be set to `r+` rather than + * the default `r`. The `encoding` can be any one of those accepted by `Buffer`. + * + * If `autoClose` is set to true (default behavior) on `'error'` or `'finish'`the file descriptor will be closed automatically. If `autoClose` is false, + * then the file descriptor won't be closed, even if there's an error. + * It is the application's responsibility to close it and make sure there's no + * file descriptor leak. + * + * By default, the stream will emit a `'close'` event after it has been + * destroyed. Set the `emitClose` option to `false` to change this behavior. + * @since v16.11.0 + */ + createWriteStream(options?: CreateWriteStreamOptions): WriteStream; + /** + * Forces all currently queued I/O operations associated with the file to the + * operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. + * + * Unlike `filehandle.sync` this method does not flush modified metadata. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + datasync(): Promise; + /** + * Request that all data for the open file descriptor is flushed to the storage + * device. The specific implementation is operating system and device specific. + * Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + sync(): Promise; + /** + * Reads data from the file and stores that in the given buffer. + * + * If the file is not modified concurrently, the end-of-file is reached when the + * number of bytes read is zero. + * @since v10.0.0 + * @param buffer A buffer that will be filled with the file data read. + * @param offset The location in the buffer at which to start filling. + * @param length The number of bytes to read. + * @param position The location where to begin reading data from the file. If `null`, data will be read from the current file position, and the position will be updated. If `position` is an + * integer, the current file position will remain unchanged. + * @return Fulfills upon success with an object with two properties: + */ + read( + buffer: T, + offset?: number | null, + length?: number | null, + position?: number | null, + ): Promise>; + read(options?: FileReadOptions): Promise>; + /** + * Returns a `ReadableStream` that may be used to read the files data. + * + * An error will be thrown if this method is called more than once or is called + * after the `FileHandle` is closed or closing. + * + * ```js + * import { + * open, + * } from 'node:fs/promises'; + * + * const file = await open('./some/file/to/read'); + * + * for await (const chunk of file.readableWebStream()) + * console.log(chunk); + * + * await file.close(); + * ``` + * + * While the `ReadableStream` will read the file to completion, it will not + * close the `FileHandle` automatically. User code must still call the`fileHandle.close()` method. + * @since v17.0.0 + * @experimental + */ + readableWebStream(options?: ReadableWebStreamOptions): ReadableStream; + /** + * Asynchronously reads the entire contents of a file. + * + * If `options` is a string, then it specifies the `encoding`. + * + * The `FileHandle` has to support reading. + * + * If one or more `filehandle.read()` calls are made on a file handle and then a`filehandle.readFile()` call is made, the data will be read from the current + * position till the end of the file. It doesn't always read from the beginning + * of the file. + * @since v10.0.0 + * @return Fulfills upon a successful read with the contents of the file. If no encoding is specified (using `options.encoding`), the data is returned as a {Buffer} object. Otherwise, the + * data will be a string. + */ + readFile( + options?: { + encoding?: null | undefined; + flag?: OpenMode | undefined; + } | null, + ): Promise; + /** + * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically. + * The `FileHandle` must have been opened for reading. + * @param options An object that may contain an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + readFile( + options: + | { + encoding: BufferEncoding; + flag?: OpenMode | undefined; + } + | BufferEncoding, + ): Promise; + /** + * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically. + * The `FileHandle` must have been opened for reading. + * @param options An object that may contain an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + readFile( + options?: + | (ObjectEncodingOptions & { + flag?: OpenMode | undefined; + }) + | BufferEncoding + | null, + ): Promise; + /** + * Convenience method to create a `readline` interface and stream over the file. + * See `filehandle.createReadStream()` for the options. + * + * ```js + * import { open } from 'node:fs/promises'; + * + * const file = await open('./some/file/to/read'); + * + * for await (const line of file.readLines()) { + * console.log(line); + * } + * ``` + * @since v18.11.0 + */ + readLines(options?: CreateReadStreamOptions): ReadlineInterface; + /** + * @since v10.0.0 + * @return Fulfills with an {fs.Stats} for the file. + */ + stat( + opts?: StatOptions & { + bigint?: false | undefined; + }, + ): Promise; + stat( + opts: StatOptions & { + bigint: true; + }, + ): Promise; + stat(opts?: StatOptions): Promise; + /** + * Truncates the file. + * + * If the file was larger than `len` bytes, only the first `len` bytes will be + * retained in the file. + * + * The following example retains only the first four bytes of the file: + * + * ```js + * import { open } from 'node:fs/promises'; + * + * let filehandle = null; + * try { + * filehandle = await open('temp.txt', 'r+'); + * await filehandle.truncate(4); + * } finally { + * await filehandle?.close(); + * } + * ``` + * + * If the file previously was shorter than `len` bytes, it is extended, and the + * extended part is filled with null bytes (`'\0'`): + * + * If `len` is negative then `0` will be used. + * @since v10.0.0 + * @param [len=0] + * @return Fulfills with `undefined` upon success. + */ + truncate(len?: number): Promise; + /** + * Change the file system timestamps of the object referenced by the `FileHandle` then fulfills the promise with no arguments upon success. + * @since v10.0.0 + */ + utimes(atime: TimeLike, mtime: TimeLike): Promise; + /** + * Asynchronously writes data to a file, replacing the file if it already exists.`data` can be a string, a buffer, an + * [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface), or an + * [Iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol) object. + * The promise is fulfilled with no arguments upon success. + * + * If `options` is a string, then it specifies the `encoding`. + * + * The `FileHandle` has to support writing. + * + * It is unsafe to use `filehandle.writeFile()` multiple times on the same file + * without waiting for the promise to be fulfilled (or rejected). + * + * If one or more `filehandle.write()` calls are made on a file handle and then a`filehandle.writeFile()` call is made, the data will be written from the + * current position till the end of the file. It doesn't always write from the + * beginning of the file. + * @since v10.0.0 + */ + writeFile( + data: string | Uint8Array, + options?: + | (ObjectEncodingOptions & FlagAndOpenMode & Abortable & { flush?: boolean | undefined }) + | BufferEncoding + | null, + ): Promise; + /** + * Write `buffer` to the file. + * + * The promise is fulfilled with an object containing two properties: + * + * It is unsafe to use `filehandle.write()` multiple times on the same file + * without waiting for the promise to be fulfilled (or rejected). For this + * scenario, use `filehandle.createWriteStream()`. + * + * On Linux, positional writes do not work when the file is opened in append mode. + * The kernel ignores the position argument and always appends the data to + * the end of the file. + * @since v10.0.0 + * @param offset The start position from within `buffer` where the data to write begins. + * @param [length=buffer.byteLength - offset] The number of bytes from `buffer` to write. + * @param [position='null'] The offset from the beginning of the file where the data from `buffer` should be written. If `position` is not a `number`, the data will be written at the current + * position. See the POSIX pwrite(2) documentation for more detail. + */ + write( + buffer: TBuffer, + offset?: number | null, + length?: number | null, + position?: number | null, + ): Promise<{ + bytesWritten: number; + buffer: TBuffer; + }>; + write( + data: string, + position?: number | null, + encoding?: BufferEncoding | null, + ): Promise<{ + bytesWritten: number; + buffer: string; + }>; + /** + * Write an array of [ArrayBufferView](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView) s to the file. + * + * The promise is fulfilled with an object containing a two properties: + * + * It is unsafe to call `writev()` multiple times on the same file without waiting + * for the promise to be fulfilled (or rejected). + * + * On Linux, positional writes don't work when the file is opened in append mode. + * The kernel ignores the position argument and always appends the data to + * the end of the file. + * @since v12.9.0 + * @param [position='null'] The offset from the beginning of the file where the data from `buffers` should be written. If `position` is not a `number`, the data will be written at the current + * position. + */ + writev(buffers: readonly NodeJS.ArrayBufferView[], position?: number): Promise; + /** + * Read from a file and write to an array of [ArrayBufferView](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView) s + * @since v13.13.0, v12.17.0 + * @param [position='null'] The offset from the beginning of the file where the data should be read from. If `position` is not a `number`, the data will be read from the current position. + * @return Fulfills upon success an object containing two properties: + */ + readv(buffers: readonly NodeJS.ArrayBufferView[], position?: number): Promise; + /** + * Closes the file handle after waiting for any pending operation on the handle to + * complete. + * + * ```js + * import { open } from 'node:fs/promises'; + * + * let filehandle; + * try { + * filehandle = await open('thefile.txt', 'r'); + * } finally { + * await filehandle?.close(); + * } + * ``` + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + close(): Promise; + /** + * An alias for {@link FileHandle.close()}. + * @since v20.4.0 + */ + [Symbol.asyncDispose](): Promise; + } + const constants: typeof fsConstants; + /** + * Tests a user's permissions for the file or directory specified by `path`. + * The `mode` argument is an optional integer that specifies the accessibility + * checks to be performed. `mode` should be either the value `fs.constants.F_OK`or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`,`fs.constants.W_OK`, and `fs.constants.X_OK` + * (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for + * possible values of `mode`. + * + * If the accessibility check is successful, the promise is fulfilled with no + * value. If any of the accessibility checks fail, the promise is rejected + * with an [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) object. The following example checks if the file`/etc/passwd` can be read and + * written by the current process. + * + * ```js + * import { access, constants } from 'node:fs/promises'; + * + * try { + * await access('/etc/passwd', constants.R_OK | constants.W_OK); + * console.log('can access'); + * } catch { + * console.error('cannot access'); + * } + * ``` + * + * Using `fsPromises.access()` to check for the accessibility of a file before + * calling `fsPromises.open()` is not recommended. Doing so introduces a race + * condition, since other processes may change the file's state between the two + * calls. Instead, user code should open/read/write the file directly and handle + * the error raised if the file is not accessible. + * @since v10.0.0 + * @param [mode=fs.constants.F_OK] + * @return Fulfills with `undefined` upon success. + */ + function access(path: PathLike, mode?: number): Promise; + /** + * Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it + * already exists. + * + * No guarantees are made about the atomicity of the copy operation. If an + * error occurs after the destination file has been opened for writing, an attempt + * will be made to remove the destination. + * + * ```js + * import { copyFile, constants } from 'node:fs/promises'; + * + * try { + * await copyFile('source.txt', 'destination.txt'); + * console.log('source.txt was copied to destination.txt'); + * } catch { + * console.error('The file could not be copied'); + * } + * + * // By using COPYFILE_EXCL, the operation will fail if destination.txt exists. + * try { + * await copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL); + * console.log('source.txt was copied to destination.txt'); + * } catch { + * console.error('The file could not be copied'); + * } + * ``` + * @since v10.0.0 + * @param src source filename to copy + * @param dest destination filename of the copy operation + * @param [mode=0] Optional modifiers that specify the behavior of the copy operation. It is possible to create a mask consisting of the bitwise OR of two or more values (e.g. + * `fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE`) + * @return Fulfills with `undefined` upon success. + */ + function copyFile(src: PathLike, dest: PathLike, mode?: number): Promise; + /** + * Opens a `FileHandle`. + * + * Refer to the POSIX [`open(2)`](http://man7.org/linux/man-pages/man2/open.2.html) documentation for more detail. + * + * Some characters (`< > : " / \ | ? *`) are reserved under Windows as documented + * by [Naming Files, Paths, and Namespaces](https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file). Under NTFS, if the filename contains + * a colon, Node.js will open a file system stream, as described by [this MSDN page](https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams). + * @since v10.0.0 + * @param [flags='r'] See `support of file system `flags``. + * @param [mode=0o666] Sets the file mode (permission and sticky bits) if the file is created. + * @return Fulfills with a {FileHandle} object. + */ + function open(path: PathLike, flags?: string | number, mode?: Mode): Promise; + /** + * Renames `oldPath` to `newPath`. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function rename(oldPath: PathLike, newPath: PathLike): Promise; + /** + * Truncates (shortens or extends the length) of the content at `path` to `len`bytes. + * @since v10.0.0 + * @param [len=0] + * @return Fulfills with `undefined` upon success. + */ + function truncate(path: PathLike, len?: number): Promise; + /** + * Removes the directory identified by `path`. + * + * Using `fsPromises.rmdir()` on a file (not a directory) results in the + * promise being rejected with an `ENOENT` error on Windows and an `ENOTDIR`error on POSIX. + * + * To get a behavior similar to the `rm -rf` Unix command, use `fsPromises.rm()` with options `{ recursive: true, force: true }`. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function rmdir(path: PathLike, options?: RmDirOptions): Promise; + /** + * Removes files and directories (modeled on the standard POSIX `rm` utility). + * @since v14.14.0 + * @return Fulfills with `undefined` upon success. + */ + function rm(path: PathLike, options?: RmOptions): Promise; + /** + * Asynchronously creates a directory. + * + * The optional `options` argument can be an integer specifying `mode` (permission + * and sticky bits), or an object with a `mode` property and a `recursive`property indicating whether parent directories should be created. Calling`fsPromises.mkdir()` when `path` is a directory + * that exists results in a + * rejection only when `recursive` is false. + * + * ```js + * import { mkdir } from 'node:fs/promises'; + * + * try { + * const projectFolder = new URL('./test/project/', import.meta.url); + * const createDir = await mkdir(projectFolder, { recursive: true }); + * + * console.log(`created ${createDir}`); + * } catch (err) { + * console.error(err.message); + * } + * ``` + * @since v10.0.0 + * @return Upon success, fulfills with `undefined` if `recursive` is `false`, or the first directory path created if `recursive` is `true`. + */ + function mkdir( + path: PathLike, + options: MakeDirectoryOptions & { + recursive: true; + }, + ): Promise; + /** + * Asynchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + function mkdir( + path: PathLike, + options?: + | Mode + | (MakeDirectoryOptions & { + recursive?: false | undefined; + }) + | null, + ): Promise; + /** + * Asynchronous mkdir(2) - create a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders + * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. + */ + function mkdir(path: PathLike, options?: Mode | MakeDirectoryOptions | null): Promise; + /** + * Reads the contents of a directory. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the filenames. If the `encoding` is set to `'buffer'`, the filenames returned + * will be passed as `Buffer` objects. + * + * If `options.withFileTypes` is set to `true`, the returned array will contain `fs.Dirent` objects. + * + * ```js + * import { readdir } from 'node:fs/promises'; + * + * try { + * const files = await readdir(path); + * for (const file of files) + * console.log(file); + * } catch (err) { + * console.error(err); + * } + * ``` + * @since v10.0.0 + * @return Fulfills with an array of the names of the files in the directory excluding `'.'` and `'..'`. + */ + function readdir( + path: PathLike, + options?: + | (ObjectEncodingOptions & { + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + }) + | BufferEncoding + | null, + ): Promise; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function readdir( + path: PathLike, + options: + | { + encoding: "buffer"; + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + } + | "buffer", + ): Promise; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function readdir( + path: PathLike, + options?: + | (ObjectEncodingOptions & { + withFileTypes?: false | undefined; + recursive?: boolean | undefined; + }) + | BufferEncoding + | null, + ): Promise; + /** + * Asynchronous readdir(3) - read a directory. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. + */ + function readdir( + path: PathLike, + options: ObjectEncodingOptions & { + withFileTypes: true; + recursive?: boolean | undefined; + }, + ): Promise; + /** + * Reads the contents of the symbolic link referred to by `path`. See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more detail. The promise is + * fulfilled with the`linkString` upon success. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the link path returned. If the `encoding` is set to `'buffer'`, the link path + * returned will be passed as a `Buffer` object. + * @since v10.0.0 + * @return Fulfills with the `linkString` upon success. + */ + function readlink(path: PathLike, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function readlink(path: PathLike, options: BufferEncodingOption): Promise; + /** + * Asynchronous readlink(2) - read value of a symbolic link. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function readlink(path: PathLike, options?: ObjectEncodingOptions | string | null): Promise; + /** + * Creates a symbolic link. + * + * The `type` argument is only used on Windows platforms and can be one of `'dir'`,`'file'`, or `'junction'`. If the `type` argument is not a string, Node.js will + * autodetect `target` type and use `'file'` or `'dir'`. If the `target` does not + * exist, `'file'` will be used. Windows junction points require the destination + * path to be absolute. When using `'junction'`, the `target` argument will + * automatically be normalized to absolute path. Junction points on NTFS volumes + * can only point to directories. + * @since v10.0.0 + * @param [type='null'] + * @return Fulfills with `undefined` upon success. + */ + function symlink(target: PathLike, path: PathLike, type?: string | null): Promise; + /** + * Equivalent to `fsPromises.stat()` unless `path` refers to a symbolic link, + * in which case the link itself is stat-ed, not the file that it refers to. + * Refer to the POSIX [`lstat(2)`](http://man7.org/linux/man-pages/man2/lstat.2.html) document for more detail. + * @since v10.0.0 + * @return Fulfills with the {fs.Stats} object for the given symbolic link `path`. + */ + function lstat( + path: PathLike, + opts?: StatOptions & { + bigint?: false | undefined; + }, + ): Promise; + function lstat( + path: PathLike, + opts: StatOptions & { + bigint: true; + }, + ): Promise; + function lstat(path: PathLike, opts?: StatOptions): Promise; + /** + * @since v10.0.0 + * @return Fulfills with the {fs.Stats} object for the given `path`. + */ + function stat( + path: PathLike, + opts?: StatOptions & { + bigint?: false | undefined; + }, + ): Promise; + function stat( + path: PathLike, + opts: StatOptions & { + bigint: true; + }, + ): Promise; + function stat(path: PathLike, opts?: StatOptions): Promise; + /** + * @since v19.6.0, v18.15.0 + * @return Fulfills with the {fs.StatFs} object for the given `path`. + */ + function statfs( + path: PathLike, + opts?: StatFsOptions & { + bigint?: false | undefined; + }, + ): Promise; + function statfs( + path: PathLike, + opts: StatFsOptions & { + bigint: true; + }, + ): Promise; + function statfs(path: PathLike, opts?: StatFsOptions): Promise; + /** + * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function link(existingPath: PathLike, newPath: PathLike): Promise; + /** + * If `path` refers to a symbolic link, then the link is removed without affecting + * the file or directory to which that link refers. If the `path` refers to a file + * path that is not a symbolic link, the file is deleted. See the POSIX [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html) documentation for more detail. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function unlink(path: PathLike): Promise; + /** + * Changes the permissions of a file. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function chmod(path: PathLike, mode: Mode): Promise; + /** + * Changes the permissions on a symbolic link. + * + * This method is only implemented on macOS. + * @deprecated Since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function lchmod(path: PathLike, mode: Mode): Promise; + /** + * Changes the ownership on a symbolic link. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function lchown(path: PathLike, uid: number, gid: number): Promise; + /** + * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`, with the difference that if the path refers to a + * symbolic link, then the link is not dereferenced: instead, the timestamps of + * the symbolic link itself are changed. + * @since v14.5.0, v12.19.0 + * @return Fulfills with `undefined` upon success. + */ + function lutimes(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; + /** + * Changes the ownership of a file. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function chown(path: PathLike, uid: number, gid: number): Promise; + /** + * Change the file system timestamps of the object referenced by `path`. + * + * The `atime` and `mtime` arguments follow these rules: + * + * * Values can be either numbers representing Unix epoch time, `Date`s, or a + * numeric string like `'123456789.0'`. + * * If the value can not be converted to a number, or is `NaN`, `Infinity`, or`-Infinity`, an `Error` will be thrown. + * @since v10.0.0 + * @return Fulfills with `undefined` upon success. + */ + function utimes(path: PathLike, atime: TimeLike, mtime: TimeLike): Promise; + /** + * Determines the actual location of `path` using the same semantics as the`fs.realpath.native()` function. + * + * Only paths that can be converted to UTF8 strings are supported. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use for + * the path. If the `encoding` is set to `'buffer'`, the path returned will be + * passed as a `Buffer` object. + * + * On Linux, when Node.js is linked against musl libc, the procfs file system must + * be mounted on `/proc` in order for this function to work. Glibc does not have + * this restriction. + * @since v10.0.0 + * @return Fulfills with the resolved path upon success. + */ + function realpath(path: PathLike, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function realpath(path: PathLike, options: BufferEncodingOption): Promise; + /** + * Asynchronous realpath(3) - return the canonicalized absolute pathname. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function realpath( + path: PathLike, + options?: ObjectEncodingOptions | BufferEncoding | null, + ): Promise; + /** + * Creates a unique temporary directory. A unique directory name is generated by + * appending six random characters to the end of the provided `prefix`. Due to + * platform inconsistencies, avoid trailing `X` characters in `prefix`. Some + * platforms, notably the BSDs, can return more than six random characters, and + * replace trailing `X` characters in `prefix` with random characters. + * + * The optional `options` argument can be a string specifying an encoding, or an + * object with an `encoding` property specifying the character encoding to use. + * + * ```js + * import { mkdtemp } from 'node:fs/promises'; + * import { join } from 'node:path'; + * import { tmpdir } from 'node:os'; + * + * try { + * await mkdtemp(join(tmpdir(), 'foo-')); + * } catch (err) { + * console.error(err); + * } + * ``` + * + * The `fsPromises.mkdtemp()` method will append the six randomly selected + * characters directly to the `prefix` string. For instance, given a directory`/tmp`, if the intention is to create a temporary directory _within_`/tmp`, the`prefix` must end with a trailing + * platform-specific path separator + * (`require('node:path').sep`). + * @since v10.0.0 + * @return Fulfills with a string containing the file system path of the newly created temporary directory. + */ + function mkdtemp(prefix: string, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function mkdtemp(prefix: string, options: BufferEncodingOption): Promise; + /** + * Asynchronously creates a unique temporary directory. + * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. + * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. + */ + function mkdtemp(prefix: string, options?: ObjectEncodingOptions | BufferEncoding | null): Promise; + /** + * Asynchronously writes data to a file, replacing the file if it already exists.`data` can be a string, a buffer, an + * [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface), or an + * [Iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol) object. + * + * The `encoding` option is ignored if `data` is a buffer. + * + * If `options` is a string, then it specifies the encoding. + * + * The `mode` option only affects the newly created file. See `fs.open()` for more details. + * + * Any specified `FileHandle` has to support writing. + * + * It is unsafe to use `fsPromises.writeFile()` multiple times on the same file + * without waiting for the promise to be settled. + * + * Similarly to `fsPromises.readFile` \- `fsPromises.writeFile` is a convenience + * method that performs multiple `write` calls internally to write the buffer + * passed to it. For performance sensitive code consider using `fs.createWriteStream()` or `filehandle.createWriteStream()`. + * + * It is possible to use an `AbortSignal` to cancel an `fsPromises.writeFile()`. + * Cancelation is "best effort", and some amount of data is likely still + * to be written. + * + * ```js + * import { writeFile } from 'node:fs/promises'; + * import { Buffer } from 'node:buffer'; + * + * try { + * const controller = new AbortController(); + * const { signal } = controller; + * const data = new Uint8Array(Buffer.from('Hello Node.js')); + * const promise = writeFile('message.txt', data, { signal }); + * + * // Abort the request before the promise settles. + * controller.abort(); + * + * await promise; + * } catch (err) { + * // When a request is aborted - err is an AbortError + * console.error(err); + * } + * ``` + * + * Aborting an ongoing request does not abort individual operating + * system requests but rather the internal buffering `fs.writeFile` performs. + * @since v10.0.0 + * @param file filename or `FileHandle` + * @return Fulfills with `undefined` upon success. + */ + function writeFile( + file: PathLike | FileHandle, + data: + | string + | NodeJS.ArrayBufferView + | Iterable + | AsyncIterable + | Stream, + options?: + | (ObjectEncodingOptions & { + mode?: Mode | undefined; + flag?: OpenMode | undefined; + } & Abortable) + | BufferEncoding + | null, + ): Promise; + /** + * Asynchronously append data to a file, creating the file if it does not yet + * exist. `data` can be a string or a `Buffer`. + * + * If `options` is a string, then it specifies the `encoding`. + * + * The `mode` option only affects the newly created file. See `fs.open()` for more details. + * + * The `path` may be specified as a `FileHandle` that has been opened + * for appending (using `fsPromises.open()`). + * @since v10.0.0 + * @param path filename or {FileHandle} + * @return Fulfills with `undefined` upon success. + */ + function appendFile( + path: PathLike | FileHandle, + data: string | Uint8Array, + options?: (ObjectEncodingOptions & FlagAndOpenMode & { flush?: boolean | undefined }) | BufferEncoding | null, + ): Promise; + /** + * Asynchronously reads the entire contents of a file. + * + * If no encoding is specified (using `options.encoding`), the data is returned + * as a `Buffer` object. Otherwise, the data will be a string. + * + * If `options` is a string, then it specifies the encoding. + * + * When the `path` is a directory, the behavior of `fsPromises.readFile()` is + * platform-specific. On macOS, Linux, and Windows, the promise will be rejected + * with an error. On FreeBSD, a representation of the directory's contents will be + * returned. + * + * An example of reading a `package.json` file located in the same directory of the + * running code: + * + * ```js + * import { readFile } from 'node:fs/promises'; + * try { + * const filePath = new URL('./package.json', import.meta.url); + * const contents = await readFile(filePath, { encoding: 'utf8' }); + * console.log(contents); + * } catch (err) { + * console.error(err.message); + * } + * ``` + * + * It is possible to abort an ongoing `readFile` using an `AbortSignal`. If a + * request is aborted the promise returned is rejected with an `AbortError`: + * + * ```js + * import { readFile } from 'node:fs/promises'; + * + * try { + * const controller = new AbortController(); + * const { signal } = controller; + * const promise = readFile(fileName, { signal }); + * + * // Abort the request before the promise settles. + * controller.abort(); + * + * await promise; + * } catch (err) { + * // When a request is aborted - err is an AbortError + * console.error(err); + * } + * ``` + * + * Aborting an ongoing request does not abort individual operating + * system requests but rather the internal buffering `fs.readFile` performs. + * + * Any specified `FileHandle` has to support reading. + * @since v10.0.0 + * @param path filename or `FileHandle` + * @return Fulfills with the contents of the file. + */ + function readFile( + path: PathLike | FileHandle, + options?: + | ({ + encoding?: null | undefined; + flag?: OpenMode | undefined; + } & Abortable) + | null, + ): Promise; + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. + * @param options An object that may contain an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + function readFile( + path: PathLike | FileHandle, + options: + | ({ + encoding: BufferEncoding; + flag?: OpenMode | undefined; + } & Abortable) + | BufferEncoding, + ): Promise; + /** + * Asynchronously reads the entire contents of a file. + * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. + * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. + * @param options An object that may contain an optional flag. + * If a flag is not provided, it defaults to `'r'`. + */ + function readFile( + path: PathLike | FileHandle, + options?: + | ( + & ObjectEncodingOptions + & Abortable + & { + flag?: OpenMode | undefined; + } + ) + | BufferEncoding + | null, + ): Promise; + /** + * Asynchronously open a directory for iterative scanning. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for more detail. + * + * Creates an `fs.Dir`, which contains all further functions for reading from + * and cleaning up the directory. + * + * The `encoding` option sets the encoding for the `path` while opening the + * directory and subsequent read operations. + * + * Example using async iteration: + * + * ```js + * import { opendir } from 'node:fs/promises'; + * + * try { + * const dir = await opendir('./'); + * for await (const dirent of dir) + * console.log(dirent.name); + * } catch (err) { + * console.error(err); + * } + * ``` + * + * When using the async iterator, the `fs.Dir` object will be automatically + * closed after the iterator exits. + * @since v12.12.0 + * @return Fulfills with an {fs.Dir}. + */ + function opendir(path: PathLike, options?: OpenDirOptions): Promise; + /** + * Returns an async iterator that watches for changes on `filename`, where `filename`is either a file or a directory. + * + * ```js + * const { watch } = require('node:fs/promises'); + * + * const ac = new AbortController(); + * const { signal } = ac; + * setTimeout(() => ac.abort(), 10000); + * + * (async () => { + * try { + * const watcher = watch(__filename, { signal }); + * for await (const event of watcher) + * console.log(event); + * } catch (err) { + * if (err.name === 'AbortError') + * return; + * throw err; + * } + * })(); + * ``` + * + * On most platforms, `'rename'` is emitted whenever a filename appears or + * disappears in the directory. + * + * All the `caveats` for `fs.watch()` also apply to `fsPromises.watch()`. + * @since v15.9.0, v14.18.0 + * @return of objects with the properties: + */ + function watch( + filename: PathLike, + options: + | (WatchOptions & { + encoding: "buffer"; + }) + | "buffer", + ): AsyncIterable>; + /** + * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. + * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. + * If `encoding` is not supplied, the default of `'utf8'` is used. + * If `persistent` is not supplied, the default of `true` is used. + * If `recursive` is not supplied, the default of `false` is used. + */ + function watch(filename: PathLike, options?: WatchOptions | BufferEncoding): AsyncIterable>; + /** + * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. + * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. + * If `encoding` is not supplied, the default of `'utf8'` is used. + * If `persistent` is not supplied, the default of `true` is used. + * If `recursive` is not supplied, the default of `false` is used. + */ + function watch( + filename: PathLike, + options: WatchOptions | string, + ): AsyncIterable> | AsyncIterable>; + /** + * Asynchronously copies the entire directory structure from `src` to `dest`, + * including subdirectories and files. + * + * When copying a directory to another directory, globs are not supported and + * behavior is similar to `cp dir1/ dir2/`. + * @since v16.7.0 + * @experimental + * @param src source path to copy. + * @param dest destination path to copy to. + * @return Fulfills with `undefined` upon success. + */ + function cp(source: string | URL, destination: string | URL, opts?: CopyOptions): Promise; +} +declare module "node:fs/promises" { + export * from "fs/promises"; +} diff --git a/node_modules/@types/node/ts4.8/globals.d.ts b/node_modules/@types/node/ts4.8/globals.d.ts new file mode 100644 index 000000000..5f250062b --- /dev/null +++ b/node_modules/@types/node/ts4.8/globals.d.ts @@ -0,0 +1,411 @@ +export {}; // Make this a module + +// #region Fetch and friends +// Conditional type aliases, used at the end of this file. +// Will either be empty if lib-dom is included, or the undici version otherwise. +type _Request = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Request; +type _Response = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Response; +type _FormData = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").FormData; +type _Headers = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Headers; +type _RequestInit = typeof globalThis extends { onmessage: any } ? {} + : import("undici-types").RequestInit; +type _ResponseInit = typeof globalThis extends { onmessage: any } ? {} + : import("undici-types").ResponseInit; +type _File = typeof globalThis extends { onmessage: any } ? {} : import("node:buffer").File; +// #endregion Fetch and friends + +declare global { + // Declare "static" methods in Error + interface ErrorConstructor { + /** Create .stack property on a target object */ + captureStackTrace(targetObject: object, constructorOpt?: Function): void; + + /** + * Optional override for formatting stack traces + * + * @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces + */ + prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; + + stackTraceLimit: number; + } + + /*-----------------------------------------------* + * * + * GLOBAL * + * * + ------------------------------------------------*/ + + // For backwards compability + interface NodeRequire extends NodeJS.Require {} + interface RequireResolve extends NodeJS.RequireResolve {} + interface NodeModule extends NodeJS.Module {} + + var process: NodeJS.Process; + var console: Console; + + var __filename: string; + var __dirname: string; + + var require: NodeRequire; + var module: NodeModule; + + // Same as module.exports + var exports: any; + + /** + * Only available if `--expose-gc` is passed to the process. + */ + var gc: undefined | (() => void); + + // #region borrowed + // from https://github.com/microsoft/TypeScript/blob/38da7c600c83e7b31193a62495239a0fe478cb67/lib/lib.webworker.d.ts#L633 until moved to separate lib + /** A controller object that allows you to abort one or more DOM requests as and when desired. */ + interface AbortController { + /** + * Returns the AbortSignal object associated with this object. + */ + + readonly signal: AbortSignal; + /** + * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. + */ + abort(reason?: any): void; + } + + /** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ + interface AbortSignal extends EventTarget { + /** + * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. + */ + readonly aborted: boolean; + readonly reason: any; + onabort: null | ((this: AbortSignal, event: Event) => any); + throwIfAborted(): void; + } + + var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T + : { + prototype: AbortController; + new(): AbortController; + }; + + var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T + : { + prototype: AbortSignal; + new(): AbortSignal; + abort(reason?: any): AbortSignal; + timeout(milliseconds: number): AbortSignal; + }; + // #endregion borrowed + + // #region Disposable + interface SymbolConstructor { + /** + * A method that is used to release resources held by an object. Called by the semantics of the `using` statement. + */ + readonly dispose: unique symbol; + + /** + * A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement. + */ + readonly asyncDispose: unique symbol; + } + + interface Disposable { + [Symbol.dispose](): void; + } + + interface AsyncDisposable { + [Symbol.asyncDispose](): PromiseLike; + } + // #endregion Disposable + + // #region ArrayLike.at() + interface RelativeIndexable { + /** + * Takes an integer value and returns the item at that index, + * allowing for positive and negative integers. + * Negative integers count back from the last item in the array. + */ + at(index: number): T | undefined; + } + interface String extends RelativeIndexable {} + interface Array extends RelativeIndexable {} + interface ReadonlyArray extends RelativeIndexable {} + interface Int8Array extends RelativeIndexable {} + interface Uint8Array extends RelativeIndexable {} + interface Uint8ClampedArray extends RelativeIndexable {} + interface Int16Array extends RelativeIndexable {} + interface Uint16Array extends RelativeIndexable {} + interface Int32Array extends RelativeIndexable {} + interface Uint32Array extends RelativeIndexable {} + interface Float32Array extends RelativeIndexable {} + interface Float64Array extends RelativeIndexable {} + interface BigInt64Array extends RelativeIndexable {} + interface BigUint64Array extends RelativeIndexable {} + // #endregion ArrayLike.at() end + + /** + * @since v17.0.0 + * + * Creates a deep clone of an object. + */ + function structuredClone( + value: T, + transfer?: { transfer: ReadonlyArray }, + ): T; + + /*----------------------------------------------* + * * + * GLOBAL INTERFACES * + * * + *-----------------------------------------------*/ + namespace NodeJS { + interface CallSite { + /** + * Value of "this" + */ + getThis(): unknown; + + /** + * Type of "this" as a string. + * This is the name of the function stored in the constructor field of + * "this", if available. Otherwise the object's [[Class]] internal + * property. + */ + getTypeName(): string | null; + + /** + * Current function + */ + getFunction(): Function | undefined; + + /** + * Name of the current function, typically its name property. + * If a name property is not available an attempt will be made to try + * to infer a name from the function's context. + */ + getFunctionName(): string | null; + + /** + * Name of the property [of "this" or one of its prototypes] that holds + * the current function + */ + getMethodName(): string | null; + + /** + * Name of the script [if this function was defined in a script] + */ + getFileName(): string | undefined; + + /** + * Current line number [if this function was defined in a script] + */ + getLineNumber(): number | null; + + /** + * Current column number [if this function was defined in a script] + */ + getColumnNumber(): number | null; + + /** + * A call site object representing the location where eval was called + * [if this function was created using a call to eval] + */ + getEvalOrigin(): string | undefined; + + /** + * Is this a toplevel invocation, that is, is "this" the global object? + */ + isToplevel(): boolean; + + /** + * Does this call take place in code defined by a call to eval? + */ + isEval(): boolean; + + /** + * Is this call in native V8 code? + */ + isNative(): boolean; + + /** + * Is this a constructor call? + */ + isConstructor(): boolean; + + /** + * is this an async call (i.e. await, Promise.all(), or Promise.any())? + */ + isAsync(): boolean; + + /** + * is this an async call to Promise.all()? + */ + isPromiseAll(): boolean; + + /** + * returns the index of the promise element that was followed in + * Promise.all() or Promise.any() for async stack traces, or null + * if the CallSite is not an async + */ + getPromiseIndex(): number | null; + + getScriptNameOrSourceURL(): string; + getScriptHash(): string; + + getEnclosingColumnNumber(): number; + getEnclosingLineNumber(): number; + getPosition(): number; + + toString(): string; + } + + interface ErrnoException extends Error { + errno?: number | undefined; + code?: string | undefined; + path?: string | undefined; + syscall?: string | undefined; + } + + interface ReadableStream extends EventEmitter { + readable: boolean; + read(size?: number): string | Buffer; + setEncoding(encoding: BufferEncoding): this; + pause(): this; + resume(): this; + isPaused(): boolean; + pipe(destination: T, options?: { end?: boolean | undefined }): T; + unpipe(destination?: WritableStream): this; + unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void; + wrap(oldStream: ReadableStream): this; + [Symbol.asyncIterator](): AsyncIterableIterator; + } + + interface WritableStream extends EventEmitter { + writable: boolean; + write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean; + write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean; + end(cb?: () => void): this; + end(data: string | Uint8Array, cb?: () => void): this; + end(str: string, encoding?: BufferEncoding, cb?: () => void): this; + } + + interface ReadWriteStream extends ReadableStream, WritableStream {} + + interface RefCounted { + ref(): this; + unref(): this; + } + + type TypedArray = + | Uint8Array + | Uint8ClampedArray + | Uint16Array + | Uint32Array + | Int8Array + | Int16Array + | Int32Array + | BigUint64Array + | BigInt64Array + | Float32Array + | Float64Array; + type ArrayBufferView = TypedArray | DataView; + + interface Require { + (id: string): any; + resolve: RequireResolve; + cache: Dict; + /** + * @deprecated + */ + extensions: RequireExtensions; + main: Module | undefined; + } + + interface RequireResolve { + (id: string, options?: { paths?: string[] | undefined }): string; + paths(request: string): string[] | null; + } + + interface RequireExtensions extends Dict<(m: Module, filename: string) => any> { + ".js": (m: Module, filename: string) => any; + ".json": (m: Module, filename: string) => any; + ".node": (m: Module, filename: string) => any; + } + interface Module { + /** + * `true` if the module is running during the Node.js preload + */ + isPreloading: boolean; + exports: any; + require: Require; + id: string; + filename: string; + loaded: boolean; + /** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */ + parent: Module | null | undefined; + children: Module[]; + /** + * @since v11.14.0 + * + * The directory name of the module. This is usually the same as the path.dirname() of the module.id. + */ + path: string; + paths: string[]; + } + + interface Dict { + [key: string]: T | undefined; + } + + interface ReadOnlyDict { + readonly [key: string]: T | undefined; + } + } + + interface RequestInit extends _RequestInit {} + + function fetch( + input: string | URL | globalThis.Request, + init?: RequestInit, + ): Promise; + + interface Request extends _Request {} + var Request: typeof globalThis extends { + onmessage: any; + Request: infer T; + } ? T + : typeof import("undici-types").Request; + + interface ResponseInit extends _ResponseInit {} + + interface Response extends _Response {} + var Response: typeof globalThis extends { + onmessage: any; + Response: infer T; + } ? T + : typeof import("undici-types").Response; + + interface FormData extends _FormData {} + var FormData: typeof globalThis extends { + onmessage: any; + FormData: infer T; + } ? T + : typeof import("undici-types").FormData; + + interface Headers extends _Headers {} + var Headers: typeof globalThis extends { + onmessage: any; + Headers: infer T; + } ? T + : typeof import("undici-types").Headers; + + interface File extends _File {} + var File: typeof globalThis extends { + onmessage: any; + File: infer T; + } ? T + : typeof import("node:buffer").File; +} diff --git a/node_modules/@types/node/ts4.8/globals.global.d.ts b/node_modules/@types/node/ts4.8/globals.global.d.ts new file mode 100644 index 000000000..ef1198c05 --- /dev/null +++ b/node_modules/@types/node/ts4.8/globals.global.d.ts @@ -0,0 +1 @@ +declare var global: typeof globalThis; diff --git a/node_modules/@types/node/ts4.8/http.d.ts b/node_modules/@types/node/ts4.8/http.d.ts new file mode 100644 index 000000000..9b2c3c2c6 --- /dev/null +++ b/node_modules/@types/node/ts4.8/http.d.ts @@ -0,0 +1,1888 @@ +/** + * To use the HTTP server and client one must `require('node:http')`. + * + * The HTTP interfaces in Node.js are designed to support many features + * of the protocol which have been traditionally difficult to use. + * In particular, large, possibly chunk-encoded, messages. The interface is + * careful to never buffer entire requests or responses, so the + * user is able to stream data. + * + * HTTP message headers are represented by an object like this: + * + * ```js + * { 'content-length': '123', + * 'content-type': 'text/plain', + * 'connection': 'keep-alive', + * 'host': 'example.com', + * 'accept': '*' } + * ``` + * + * Keys are lowercased. Values are not modified. + * + * In order to support the full spectrum of possible HTTP applications, the Node.js + * HTTP API is very low-level. It deals with stream handling and message + * parsing only. It parses a message into headers and body but it does not + * parse the actual headers or the body. + * + * See `message.headers` for details on how duplicate headers are handled. + * + * The raw headers as they were received are retained in the `rawHeaders`property, which is an array of `[key, value, key2, value2, ...]`. For + * example, the previous message header object might have a `rawHeaders`list like the following: + * + * ```js + * [ 'ConTent-Length', '123456', + * 'content-LENGTH', '123', + * 'content-type', 'text/plain', + * 'CONNECTION', 'keep-alive', + * 'Host', 'example.com', + * 'accepT', '*' ] + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/http.js) + */ +declare module "http" { + import * as stream from "node:stream"; + import { URL } from "node:url"; + import { LookupOptions } from "node:dns"; + import { EventEmitter } from "node:events"; + import { LookupFunction, Server as NetServer, Socket, TcpSocketConnectOpts } from "node:net"; + // incoming headers will never contain number + interface IncomingHttpHeaders extends NodeJS.Dict { + accept?: string | undefined; + "accept-language"?: string | undefined; + "accept-patch"?: string | undefined; + "accept-ranges"?: string | undefined; + "access-control-allow-credentials"?: string | undefined; + "access-control-allow-headers"?: string | undefined; + "access-control-allow-methods"?: string | undefined; + "access-control-allow-origin"?: string | undefined; + "access-control-expose-headers"?: string | undefined; + "access-control-max-age"?: string | undefined; + "access-control-request-headers"?: string | undefined; + "access-control-request-method"?: string | undefined; + age?: string | undefined; + allow?: string | undefined; + "alt-svc"?: string | undefined; + authorization?: string | undefined; + "cache-control"?: string | undefined; + connection?: string | undefined; + "content-disposition"?: string | undefined; + "content-encoding"?: string | undefined; + "content-language"?: string | undefined; + "content-length"?: string | undefined; + "content-location"?: string | undefined; + "content-range"?: string | undefined; + "content-type"?: string | undefined; + cookie?: string | undefined; + date?: string | undefined; + etag?: string | undefined; + expect?: string | undefined; + expires?: string | undefined; + forwarded?: string | undefined; + from?: string | undefined; + host?: string | undefined; + "if-match"?: string | undefined; + "if-modified-since"?: string | undefined; + "if-none-match"?: string | undefined; + "if-unmodified-since"?: string | undefined; + "last-modified"?: string | undefined; + location?: string | undefined; + origin?: string | undefined; + pragma?: string | undefined; + "proxy-authenticate"?: string | undefined; + "proxy-authorization"?: string | undefined; + "public-key-pins"?: string | undefined; + range?: string | undefined; + referer?: string | undefined; + "retry-after"?: string | undefined; + "sec-websocket-accept"?: string | undefined; + "sec-websocket-extensions"?: string | undefined; + "sec-websocket-key"?: string | undefined; + "sec-websocket-protocol"?: string | undefined; + "sec-websocket-version"?: string | undefined; + "set-cookie"?: string[] | undefined; + "strict-transport-security"?: string | undefined; + tk?: string | undefined; + trailer?: string | undefined; + "transfer-encoding"?: string | undefined; + upgrade?: string | undefined; + "user-agent"?: string | undefined; + vary?: string | undefined; + via?: string | undefined; + warning?: string | undefined; + "www-authenticate"?: string | undefined; + } + // outgoing headers allows numbers (as they are converted internally to strings) + type OutgoingHttpHeader = number | string | string[]; + interface OutgoingHttpHeaders extends NodeJS.Dict { + accept?: string | string[] | undefined; + "accept-charset"?: string | string[] | undefined; + "accept-encoding"?: string | string[] | undefined; + "accept-language"?: string | string[] | undefined; + "accept-ranges"?: string | undefined; + "access-control-allow-credentials"?: string | undefined; + "access-control-allow-headers"?: string | undefined; + "access-control-allow-methods"?: string | undefined; + "access-control-allow-origin"?: string | undefined; + "access-control-expose-headers"?: string | undefined; + "access-control-max-age"?: string | undefined; + "access-control-request-headers"?: string | undefined; + "access-control-request-method"?: string | undefined; + age?: string | undefined; + allow?: string | undefined; + authorization?: string | undefined; + "cache-control"?: string | undefined; + "cdn-cache-control"?: string | undefined; + connection?: string | string[] | undefined; + "content-disposition"?: string | undefined; + "content-encoding"?: string | undefined; + "content-language"?: string | undefined; + "content-length"?: string | number | undefined; + "content-location"?: string | undefined; + "content-range"?: string | undefined; + "content-security-policy"?: string | undefined; + "content-security-policy-report-only"?: string | undefined; + cookie?: string | string[] | undefined; + dav?: string | string[] | undefined; + dnt?: string | undefined; + date?: string | undefined; + etag?: string | undefined; + expect?: string | undefined; + expires?: string | undefined; + forwarded?: string | undefined; + from?: string | undefined; + host?: string | undefined; + "if-match"?: string | undefined; + "if-modified-since"?: string | undefined; + "if-none-match"?: string | undefined; + "if-range"?: string | undefined; + "if-unmodified-since"?: string | undefined; + "last-modified"?: string | undefined; + link?: string | string[] | undefined; + location?: string | undefined; + "max-forwards"?: string | undefined; + origin?: string | undefined; + prgama?: string | string[] | undefined; + "proxy-authenticate"?: string | string[] | undefined; + "proxy-authorization"?: string | undefined; + "public-key-pins"?: string | undefined; + "public-key-pins-report-only"?: string | undefined; + range?: string | undefined; + referer?: string | undefined; + "referrer-policy"?: string | undefined; + refresh?: string | undefined; + "retry-after"?: string | undefined; + "sec-websocket-accept"?: string | undefined; + "sec-websocket-extensions"?: string | string[] | undefined; + "sec-websocket-key"?: string | undefined; + "sec-websocket-protocol"?: string | string[] | undefined; + "sec-websocket-version"?: string | undefined; + server?: string | undefined; + "set-cookie"?: string | string[] | undefined; + "strict-transport-security"?: string | undefined; + te?: string | undefined; + trailer?: string | undefined; + "transfer-encoding"?: string | undefined; + "user-agent"?: string | undefined; + upgrade?: string | undefined; + "upgrade-insecure-requests"?: string | undefined; + vary?: string | undefined; + via?: string | string[] | undefined; + warning?: string | undefined; + "www-authenticate"?: string | string[] | undefined; + "x-content-type-options"?: string | undefined; + "x-dns-prefetch-control"?: string | undefined; + "x-frame-options"?: string | undefined; + "x-xss-protection"?: string | undefined; + } + interface ClientRequestArgs { + _defaultAgent?: Agent | undefined; + agent?: Agent | boolean | undefined; + auth?: string | null | undefined; + // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L278 + createConnection?: + | ((options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket) + | undefined; + defaultPort?: number | string | undefined; + family?: number | undefined; + headers?: OutgoingHttpHeaders | undefined; + hints?: LookupOptions["hints"]; + host?: string | null | undefined; + hostname?: string | null | undefined; + insecureHTTPParser?: boolean | undefined; + localAddress?: string | undefined; + localPort?: number | undefined; + lookup?: LookupFunction | undefined; + /** + * @default 16384 + */ + maxHeaderSize?: number | undefined; + method?: string | undefined; + path?: string | null | undefined; + port?: number | string | null | undefined; + protocol?: string | null | undefined; + setHost?: boolean | undefined; + signal?: AbortSignal | undefined; + socketPath?: string | undefined; + timeout?: number | undefined; + uniqueHeaders?: Array | undefined; + joinDuplicateHeaders?: boolean; + } + interface ServerOptions< + Request extends typeof IncomingMessage = typeof IncomingMessage, + Response extends typeof ServerResponse = typeof ServerResponse, + > { + /** + * Specifies the `IncomingMessage` class to be used. Useful for extending the original `IncomingMessage`. + */ + IncomingMessage?: Request | undefined; + /** + * Specifies the `ServerResponse` class to be used. Useful for extending the original `ServerResponse`. + */ + ServerResponse?: Response | undefined; + /** + * Sets the timeout value in milliseconds for receiving the entire request from the client. + * @see Server.requestTimeout for more information. + * @default 300000 + * @since v18.0.0 + */ + requestTimeout?: number | undefined; + /** + * It joins the field line values of multiple headers in a request with `, ` instead of discarding the duplicates. + * @default false + * @since v18.14.0 + */ + joinDuplicateHeaders?: boolean; + /** + * The number of milliseconds of inactivity a server needs to wait for additional incoming data, + * after it has finished writing the last response, before a socket will be destroyed. + * @see Server.keepAliveTimeout for more information. + * @default 5000 + * @since v18.0.0 + */ + keepAliveTimeout?: number | undefined; + /** + * Sets the interval value in milliseconds to check for request and headers timeout in incomplete requests. + * @default 30000 + */ + connectionsCheckingInterval?: number | undefined; + /** + * Optionally overrides all `socket`s' `readableHighWaterMark` and `writableHighWaterMark`. + * This affects `highWaterMark` property of both `IncomingMessage` and `ServerResponse`. + * Default: @see stream.getDefaultHighWaterMark(). + * @since v20.1.0 + */ + highWaterMark?: number | undefined; + /** + * Use an insecure HTTP parser that accepts invalid HTTP headers when `true`. + * Using the insecure parser should be avoided. + * See --insecure-http-parser for more information. + * @default false + */ + insecureHTTPParser?: boolean | undefined; + /** + * Optionally overrides the value of + * `--max-http-header-size` for requests received by this server, i.e. + * the maximum length of request headers in bytes. + * @default 16384 + * @since v13.3.0 + */ + maxHeaderSize?: number | undefined; + /** + * If set to `true`, it disables the use of Nagle's algorithm immediately after a new incoming connection is received. + * @default true + * @since v16.5.0 + */ + noDelay?: boolean | undefined; + /** + * If set to `true`, it enables keep-alive functionality on the socket immediately after a new incoming connection is received, + * similarly on what is done in `socket.setKeepAlive([enable][, initialDelay])`. + * @default false + * @since v16.5.0 + */ + keepAlive?: boolean | undefined; + /** + * If set to a positive number, it sets the initial delay before the first keepalive probe is sent on an idle socket. + * @default 0 + * @since v16.5.0 + */ + keepAliveInitialDelay?: number | undefined; + /** + * A list of response headers that should be sent only once. + * If the header's value is an array, the items will be joined using `; `. + */ + uniqueHeaders?: Array | undefined; + } + type RequestListener< + Request extends typeof IncomingMessage = typeof IncomingMessage, + Response extends typeof ServerResponse = typeof ServerResponse, + > = (req: InstanceType, res: InstanceType & { req: InstanceType }) => void; + /** + * @since v0.1.17 + */ + class Server< + Request extends typeof IncomingMessage = typeof IncomingMessage, + Response extends typeof ServerResponse = typeof ServerResponse, + > extends NetServer { + constructor(requestListener?: RequestListener); + constructor(options: ServerOptions, requestListener?: RequestListener); + /** + * Sets the timeout value for sockets, and emits a `'timeout'` event on + * the Server object, passing the socket as an argument, if a timeout + * occurs. + * + * If there is a `'timeout'` event listener on the Server object, then it + * will be called with the timed-out socket as an argument. + * + * By default, the Server does not timeout sockets. However, if a callback + * is assigned to the Server's `'timeout'` event, timeouts must be handled + * explicitly. + * @since v0.9.12 + * @param [msecs=0 (no timeout)] + */ + setTimeout(msecs?: number, callback?: () => void): this; + setTimeout(callback: () => void): this; + /** + * Limits maximum incoming headers count. If set to 0, no limit will be applied. + * @since v0.7.0 + */ + maxHeadersCount: number | null; + /** + * The maximum number of requests socket can handle + * before closing keep alive connection. + * + * A value of `0` will disable the limit. + * + * When the limit is reached it will set the `Connection` header value to `close`, + * but will not actually close the connection, subsequent requests sent + * after the limit is reached will get `503 Service Unavailable` as a response. + * @since v16.10.0 + */ + maxRequestsPerSocket: number | null; + /** + * The number of milliseconds of inactivity before a socket is presumed + * to have timed out. + * + * A value of `0` will disable the timeout behavior on incoming connections. + * + * The socket timeout logic is set up on connection, so changing this + * value only affects new connections to the server, not any existing connections. + * @since v0.9.12 + */ + timeout: number; + /** + * Limit the amount of time the parser will wait to receive the complete HTTP + * headers. + * + * If the timeout expires, the server responds with status 408 without + * forwarding the request to the request listener and then closes the connection. + * + * It must be set to a non-zero value (e.g. 120 seconds) to protect against + * potential Denial-of-Service attacks in case the server is deployed without a + * reverse proxy in front. + * @since v11.3.0, v10.14.0 + */ + headersTimeout: number; + /** + * The number of milliseconds of inactivity a server needs to wait for additional + * incoming data, after it has finished writing the last response, before a socket + * will be destroyed. If the server receives new data before the keep-alive + * timeout has fired, it will reset the regular inactivity timeout, i.e.,`server.timeout`. + * + * A value of `0` will disable the keep-alive timeout behavior on incoming + * connections. + * A value of `0` makes the http server behave similarly to Node.js versions prior + * to 8.0.0, which did not have a keep-alive timeout. + * + * The socket timeout logic is set up on connection, so changing this value only + * affects new connections to the server, not any existing connections. + * @since v8.0.0 + */ + keepAliveTimeout: number; + /** + * Sets the timeout value in milliseconds for receiving the entire request from + * the client. + * + * If the timeout expires, the server responds with status 408 without + * forwarding the request to the request listener and then closes the connection. + * + * It must be set to a non-zero value (e.g. 120 seconds) to protect against + * potential Denial-of-Service attacks in case the server is deployed without a + * reverse proxy in front. + * @since v14.11.0 + */ + requestTimeout: number; + /** + * Closes all connections connected to this server. + * @since v18.2.0 + */ + closeAllConnections(): void; + /** + * Closes all connections connected to this server which are not sending a request + * or waiting for a response. + * @since v18.2.0 + */ + closeIdleConnections(): void; + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "connection", listener: (socket: Socket) => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "listening", listener: () => void): this; + addListener(event: "checkContinue", listener: RequestListener): this; + addListener(event: "checkExpectation", listener: RequestListener): this; + addListener(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; + addListener( + event: "connect", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + addListener(event: "dropRequest", listener: (req: InstanceType, socket: stream.Duplex) => void): this; + addListener(event: "request", listener: RequestListener): this; + addListener( + event: "upgrade", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + emit(event: string, ...args: any[]): boolean; + emit(event: "close"): boolean; + emit(event: "connection", socket: Socket): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "listening"): boolean; + emit( + event: "checkContinue", + req: InstanceType, + res: InstanceType & { req: InstanceType }, + ): boolean; + emit( + event: "checkExpectation", + req: InstanceType, + res: InstanceType & { req: InstanceType }, + ): boolean; + emit(event: "clientError", err: Error, socket: stream.Duplex): boolean; + emit(event: "connect", req: InstanceType, socket: stream.Duplex, head: Buffer): boolean; + emit(event: "dropRequest", req: InstanceType, socket: stream.Duplex): boolean; + emit( + event: "request", + req: InstanceType, + res: InstanceType & { req: InstanceType }, + ): boolean; + emit(event: "upgrade", req: InstanceType, socket: stream.Duplex, head: Buffer): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "close", listener: () => void): this; + on(event: "connection", listener: (socket: Socket) => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "listening", listener: () => void): this; + on(event: "checkContinue", listener: RequestListener): this; + on(event: "checkExpectation", listener: RequestListener): this; + on(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; + on(event: "connect", listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void): this; + on(event: "dropRequest", listener: (req: InstanceType, socket: stream.Duplex) => void): this; + on(event: "request", listener: RequestListener): this; + on(event: "upgrade", listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "connection", listener: (socket: Socket) => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "listening", listener: () => void): this; + once(event: "checkContinue", listener: RequestListener): this; + once(event: "checkExpectation", listener: RequestListener): this; + once(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; + once( + event: "connect", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + once(event: "dropRequest", listener: (req: InstanceType, socket: stream.Duplex) => void): this; + once(event: "request", listener: RequestListener): this; + once( + event: "upgrade", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "connection", listener: (socket: Socket) => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "listening", listener: () => void): this; + prependListener(event: "checkContinue", listener: RequestListener): this; + prependListener(event: "checkExpectation", listener: RequestListener): this; + prependListener(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; + prependListener( + event: "connect", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + prependListener( + event: "dropRequest", + listener: (req: InstanceType, socket: stream.Duplex) => void, + ): this; + prependListener(event: "request", listener: RequestListener): this; + prependListener( + event: "upgrade", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "connection", listener: (socket: Socket) => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "listening", listener: () => void): this; + prependOnceListener(event: "checkContinue", listener: RequestListener): this; + prependOnceListener(event: "checkExpectation", listener: RequestListener): this; + prependOnceListener(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this; + prependOnceListener( + event: "connect", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + prependOnceListener( + event: "dropRequest", + listener: (req: InstanceType, socket: stream.Duplex) => void, + ): this; + prependOnceListener(event: "request", listener: RequestListener): this; + prependOnceListener( + event: "upgrade", + listener: (req: InstanceType, socket: stream.Duplex, head: Buffer) => void, + ): this; + } + /** + * This class serves as the parent class of {@link ClientRequest} and {@link ServerResponse}. It is an abstract outgoing message from + * the perspective of the participants of an HTTP transaction. + * @since v0.1.17 + */ + class OutgoingMessage extends stream.Writable { + readonly req: Request; + chunkedEncoding: boolean; + shouldKeepAlive: boolean; + useChunkedEncodingByDefault: boolean; + sendDate: boolean; + /** + * @deprecated Use `writableEnded` instead. + */ + finished: boolean; + /** + * Read-only. `true` if the headers were sent, otherwise `false`. + * @since v0.9.3 + */ + readonly headersSent: boolean; + /** + * Alias of `outgoingMessage.socket`. + * @since v0.3.0 + * @deprecated Since v15.12.0,v14.17.1 - Use `socket` instead. + */ + readonly connection: Socket | null; + /** + * Reference to the underlying socket. Usually, users will not want to access + * this property. + * + * After calling `outgoingMessage.end()`, this property will be nulled. + * @since v0.3.0 + */ + readonly socket: Socket | null; + constructor(); + /** + * Once a socket is associated with the message and is connected,`socket.setTimeout()` will be called with `msecs` as the first parameter. + * @since v0.9.12 + * @param callback Optional function to be called when a timeout occurs. Same as binding to the `timeout` event. + */ + setTimeout(msecs: number, callback?: () => void): this; + /** + * Sets a single header value. If the header already exists in the to-be-sent + * headers, its value will be replaced. Use an array of strings to send multiple + * headers with the same name. + * @since v0.4.0 + * @param name Header name + * @param value Header value + */ + setHeader(name: string, value: number | string | readonly string[]): this; + /** + * Append a single header value for the header object. + * + * If the value is an array, this is equivalent of calling this method multiple + * times. + * + * If there were no previous value for the header, this is equivalent of calling `outgoingMessage.setHeader(name, value)`. + * + * Depending of the value of `options.uniqueHeaders` when the client request or the + * server were created, this will end up in the header being sent multiple times or + * a single time with values joined using `; `. + * @since v18.3.0, v16.17.0 + * @param name Header name + * @param value Header value + */ + appendHeader(name: string, value: string | readonly string[]): this; + /** + * Gets the value of the HTTP header with the given name. If that header is not + * set, the returned value will be `undefined`. + * @since v0.4.0 + * @param name Name of header + */ + getHeader(name: string): number | string | string[] | undefined; + /** + * Returns a shallow copy of the current outgoing headers. Since a shallow + * copy is used, array values may be mutated without additional calls to + * various header-related HTTP module methods. The keys of the returned + * object are the header names and the values are the respective header + * values. All header names are lowercase. + * + * The object returned by the `outgoingMessage.getHeaders()` method does + * not prototypically inherit from the JavaScript `Object`. This means that + * typical `Object` methods such as `obj.toString()`, `obj.hasOwnProperty()`, + * and others are not defined and will not work. + * + * ```js + * outgoingMessage.setHeader('Foo', 'bar'); + * outgoingMessage.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); + * + * const headers = outgoingMessage.getHeaders(); + * // headers === { foo: 'bar', 'set-cookie': ['foo=bar', 'bar=baz'] } + * ``` + * @since v7.7.0 + */ + getHeaders(): OutgoingHttpHeaders; + /** + * Returns an array containing the unique names of the current outgoing headers. + * All names are lowercase. + * @since v7.7.0 + */ + getHeaderNames(): string[]; + /** + * Returns `true` if the header identified by `name` is currently set in the + * outgoing headers. The header name is case-insensitive. + * + * ```js + * const hasContentType = outgoingMessage.hasHeader('content-type'); + * ``` + * @since v7.7.0 + */ + hasHeader(name: string): boolean; + /** + * Removes a header that is queued for implicit sending. + * + * ```js + * outgoingMessage.removeHeader('Content-Encoding'); + * ``` + * @since v0.4.0 + * @param name Header name + */ + removeHeader(name: string): void; + /** + * Adds HTTP trailers (headers but at the end of the message) to the message. + * + * Trailers will **only** be emitted if the message is chunked encoded. If not, + * the trailers will be silently discarded. + * + * HTTP requires the `Trailer` header to be sent to emit trailers, + * with a list of header field names in its value, e.g. + * + * ```js + * message.writeHead(200, { 'Content-Type': 'text/plain', + * 'Trailer': 'Content-MD5' }); + * message.write(fileData); + * message.addTrailers({ 'Content-MD5': '7895bf4b8828b55ceaf47747b4bca667' }); + * message.end(); + * ``` + * + * Attempting to set a header field name or value that contains invalid characters + * will result in a `TypeError` being thrown. + * @since v0.3.0 + */ + addTrailers(headers: OutgoingHttpHeaders | ReadonlyArray<[string, string]>): void; + /** + * Flushes the message headers. + * + * For efficiency reason, Node.js normally buffers the message headers + * until `outgoingMessage.end()` is called or the first chunk of message data + * is written. It then tries to pack the headers and data into a single TCP + * packet. + * + * It is usually desired (it saves a TCP round-trip), but not when the first + * data is not sent until possibly much later. `outgoingMessage.flushHeaders()`bypasses the optimization and kickstarts the message. + * @since v1.6.0 + */ + flushHeaders(): void; + } + /** + * This object is created internally by an HTTP server, not by the user. It is + * passed as the second parameter to the `'request'` event. + * @since v0.1.17 + */ + class ServerResponse extends OutgoingMessage { + /** + * When using implicit headers (not calling `response.writeHead()` explicitly), + * this property controls the status code that will be sent to the client when + * the headers get flushed. + * + * ```js + * response.statusCode = 404; + * ``` + * + * After response header was sent to the client, this property indicates the + * status code which was sent out. + * @since v0.4.0 + */ + statusCode: number; + /** + * When using implicit headers (not calling `response.writeHead()` explicitly), + * this property controls the status message that will be sent to the client when + * the headers get flushed. If this is left as `undefined` then the standard + * message for the status code will be used. + * + * ```js + * response.statusMessage = 'Not found'; + * ``` + * + * After response header was sent to the client, this property indicates the + * status message which was sent out. + * @since v0.11.8 + */ + statusMessage: string; + /** + * If set to `true`, Node.js will check whether the `Content-Length`header value and the size of the body, in bytes, are equal. + * Mismatching the `Content-Length` header value will result + * in an `Error` being thrown, identified by `code:``'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`. + * @since v18.10.0, v16.18.0 + */ + strictContentLength: boolean; + constructor(req: Request); + assignSocket(socket: Socket): void; + detachSocket(socket: Socket): void; + /** + * Sends an HTTP/1.1 100 Continue message to the client, indicating that + * the request body should be sent. See the `'checkContinue'` event on`Server`. + * @since v0.3.0 + */ + writeContinue(callback?: () => void): void; + /** + * Sends an HTTP/1.1 103 Early Hints message to the client with a Link header, + * indicating that the user agent can preload/preconnect the linked resources. + * The `hints` is an object containing the values of headers to be sent with + * early hints message. The optional `callback` argument will be called when + * the response message has been written. + * + * **Example** + * + * ```js + * const earlyHintsLink = '; rel=preload; as=style'; + * response.writeEarlyHints({ + * 'link': earlyHintsLink, + * }); + * + * const earlyHintsLinks = [ + * '; rel=preload; as=style', + * '; rel=preload; as=script', + * ]; + * response.writeEarlyHints({ + * 'link': earlyHintsLinks, + * 'x-trace-id': 'id for diagnostics', + * }); + * + * const earlyHintsCallback = () => console.log('early hints message sent'); + * response.writeEarlyHints({ + * 'link': earlyHintsLinks, + * }, earlyHintsCallback); + * ``` + * @since v18.11.0 + * @param hints An object containing the values of headers + * @param callback Will be called when the response message has been written + */ + writeEarlyHints(hints: Record, callback?: () => void): void; + /** + * Sends a response header to the request. The status code is a 3-digit HTTP + * status code, like `404`. The last argument, `headers`, are the response headers. + * Optionally one can give a human-readable `statusMessage` as the second + * argument. + * + * `headers` may be an `Array` where the keys and values are in the same list. + * It is _not_ a list of tuples. So, the even-numbered offsets are key values, + * and the odd-numbered offsets are the associated values. The array is in the same + * format as `request.rawHeaders`. + * + * Returns a reference to the `ServerResponse`, so that calls can be chained. + * + * ```js + * const body = 'hello world'; + * response + * .writeHead(200, { + * 'Content-Length': Buffer.byteLength(body), + * 'Content-Type': 'text/plain', + * }) + * .end(body); + * ``` + * + * This method must only be called once on a message and it must + * be called before `response.end()` is called. + * + * If `response.write()` or `response.end()` are called before calling + * this, the implicit/mutable headers will be calculated and call this function. + * + * When headers have been set with `response.setHeader()`, they will be merged + * with any headers passed to `response.writeHead()`, with the headers passed + * to `response.writeHead()` given precedence. + * + * If this method is called and `response.setHeader()` has not been called, + * it will directly write the supplied header values onto the network channel + * without caching internally, and the `response.getHeader()` on the header + * will not yield the expected result. If progressive population of headers is + * desired with potential future retrieval and modification, use `response.setHeader()` instead. + * + * ```js + * // Returns content-type = text/plain + * const server = http.createServer((req, res) => { + * res.setHeader('Content-Type', 'text/html'); + * res.setHeader('X-Foo', 'bar'); + * res.writeHead(200, { 'Content-Type': 'text/plain' }); + * res.end('ok'); + * }); + * ``` + * + * `Content-Length` is read in bytes, not characters. Use `Buffer.byteLength()` to determine the length of the body in bytes. Node.js + * will check whether `Content-Length` and the length of the body which has + * been transmitted are equal or not. + * + * Attempting to set a header field name or value that contains invalid characters + * will result in a \[`Error`\]\[\] being thrown. + * @since v0.1.30 + */ + writeHead( + statusCode: number, + statusMessage?: string, + headers?: OutgoingHttpHeaders | OutgoingHttpHeader[], + ): this; + writeHead(statusCode: number, headers?: OutgoingHttpHeaders | OutgoingHttpHeader[]): this; + /** + * Sends a HTTP/1.1 102 Processing message to the client, indicating that + * the request body should be sent. + * @since v10.0.0 + */ + writeProcessing(): void; + } + interface InformationEvent { + statusCode: number; + statusMessage: string; + httpVersion: string; + httpVersionMajor: number; + httpVersionMinor: number; + headers: IncomingHttpHeaders; + rawHeaders: string[]; + } + /** + * This object is created internally and returned from {@link request}. It + * represents an _in-progress_ request whose header has already been queued. The + * header is still mutable using the `setHeader(name, value)`,`getHeader(name)`, `removeHeader(name)` API. The actual header will + * be sent along with the first data chunk or when calling `request.end()`. + * + * To get the response, add a listener for `'response'` to the request object.`'response'` will be emitted from the request object when the response + * headers have been received. The `'response'` event is executed with one + * argument which is an instance of {@link IncomingMessage}. + * + * During the `'response'` event, one can add listeners to the + * response object; particularly to listen for the `'data'` event. + * + * If no `'response'` handler is added, then the response will be + * entirely discarded. However, if a `'response'` event handler is added, + * then the data from the response object **must** be consumed, either by + * calling `response.read()` whenever there is a `'readable'` event, or + * by adding a `'data'` handler, or by calling the `.resume()` method. + * Until the data is consumed, the `'end'` event will not fire. Also, until + * the data is read it will consume memory that can eventually lead to a + * 'process out of memory' error. + * + * For backward compatibility, `res` will only emit `'error'` if there is an`'error'` listener registered. + * + * Set `Content-Length` header to limit the response body size. + * If `response.strictContentLength` is set to `true`, mismatching the`Content-Length` header value will result in an `Error` being thrown, + * identified by `code:``'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`. + * + * `Content-Length` value should be in bytes, not characters. Use `Buffer.byteLength()` to determine the length of the body in bytes. + * @since v0.1.17 + */ + class ClientRequest extends OutgoingMessage { + /** + * The `request.aborted` property will be `true` if the request has + * been aborted. + * @since v0.11.14 + * @deprecated Since v17.0.0,v16.12.0 - Check `destroyed` instead. + */ + aborted: boolean; + /** + * The request host. + * @since v14.5.0, v12.19.0 + */ + host: string; + /** + * The request protocol. + * @since v14.5.0, v12.19.0 + */ + protocol: string; + /** + * When sending request through a keep-alive enabled agent, the underlying socket + * might be reused. But if server closes connection at unfortunate time, client + * may run into a 'ECONNRESET' error. + * + * ```js + * import http from 'node:http'; + * + * // Server has a 5 seconds keep-alive timeout by default + * http + * .createServer((req, res) => { + * res.write('hello\n'); + * res.end(); + * }) + * .listen(3000); + * + * setInterval(() => { + * // Adapting a keep-alive agent + * http.get('http://localhost:3000', { agent }, (res) => { + * res.on('data', (data) => { + * // Do nothing + * }); + * }); + * }, 5000); // Sending request on 5s interval so it's easy to hit idle timeout + * ``` + * + * By marking a request whether it reused socket or not, we can do + * automatic error retry base on it. + * + * ```js + * import http from 'node:http'; + * const agent = new http.Agent({ keepAlive: true }); + * + * function retriableRequest() { + * const req = http + * .get('http://localhost:3000', { agent }, (res) => { + * // ... + * }) + * .on('error', (err) => { + * // Check if retry is needed + * if (req.reusedSocket && err.code === 'ECONNRESET') { + * retriableRequest(); + * } + * }); + * } + * + * retriableRequest(); + * ``` + * @since v13.0.0, v12.16.0 + */ + reusedSocket: boolean; + /** + * Limits maximum response headers count. If set to 0, no limit will be applied. + */ + maxHeadersCount: number; + constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void); + /** + * The request method. + * @since v0.1.97 + */ + method: string; + /** + * The request path. + * @since v0.4.0 + */ + path: string; + /** + * Marks the request as aborting. Calling this will cause remaining data + * in the response to be dropped and the socket to be destroyed. + * @since v0.3.8 + * @deprecated Since v14.1.0,v13.14.0 - Use `destroy` instead. + */ + abort(): void; + onSocket(socket: Socket): void; + /** + * Once a socket is assigned to this request and is connected `socket.setTimeout()` will be called. + * @since v0.5.9 + * @param timeout Milliseconds before a request times out. + * @param callback Optional function to be called when a timeout occurs. Same as binding to the `'timeout'` event. + */ + setTimeout(timeout: number, callback?: () => void): this; + /** + * Once a socket is assigned to this request and is connected `socket.setNoDelay()` will be called. + * @since v0.5.9 + */ + setNoDelay(noDelay?: boolean): void; + /** + * Once a socket is assigned to this request and is connected `socket.setKeepAlive()` will be called. + * @since v0.5.9 + */ + setSocketKeepAlive(enable?: boolean, initialDelay?: number): void; + /** + * Returns an array containing the unique names of the current outgoing raw + * headers. Header names are returned with their exact casing being set. + * + * ```js + * request.setHeader('Foo', 'bar'); + * request.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); + * + * const headerNames = request.getRawHeaderNames(); + * // headerNames === ['Foo', 'Set-Cookie'] + * ``` + * @since v15.13.0, v14.17.0 + */ + getRawHeaderNames(): string[]; + /** + * @deprecated + */ + addListener(event: "abort", listener: () => void): this; + addListener( + event: "connect", + listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, + ): this; + addListener(event: "continue", listener: () => void): this; + addListener(event: "information", listener: (info: InformationEvent) => void): this; + addListener(event: "response", listener: (response: IncomingMessage) => void): this; + addListener(event: "socket", listener: (socket: Socket) => void): this; + addListener(event: "timeout", listener: () => void): this; + addListener( + event: "upgrade", + listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, + ): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "finish", listener: () => void): this; + addListener(event: "pipe", listener: (src: stream.Readable) => void): this; + addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + /** + * @deprecated + */ + on(event: "abort", listener: () => void): this; + on(event: "connect", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; + on(event: "continue", listener: () => void): this; + on(event: "information", listener: (info: InformationEvent) => void): this; + on(event: "response", listener: (response: IncomingMessage) => void): this; + on(event: "socket", listener: (socket: Socket) => void): this; + on(event: "timeout", listener: () => void): this; + on(event: "upgrade", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; + on(event: "close", listener: () => void): this; + on(event: "drain", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "finish", listener: () => void): this; + on(event: "pipe", listener: (src: stream.Readable) => void): this; + on(event: "unpipe", listener: (src: stream.Readable) => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + /** + * @deprecated + */ + once(event: "abort", listener: () => void): this; + once(event: "connect", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; + once(event: "continue", listener: () => void): this; + once(event: "information", listener: (info: InformationEvent) => void): this; + once(event: "response", listener: (response: IncomingMessage) => void): this; + once(event: "socket", listener: (socket: Socket) => void): this; + once(event: "timeout", listener: () => void): this; + once(event: "upgrade", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; + once(event: "close", listener: () => void): this; + once(event: "drain", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "finish", listener: () => void): this; + once(event: "pipe", listener: (src: stream.Readable) => void): this; + once(event: "unpipe", listener: (src: stream.Readable) => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + /** + * @deprecated + */ + prependListener(event: "abort", listener: () => void): this; + prependListener( + event: "connect", + listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, + ): this; + prependListener(event: "continue", listener: () => void): this; + prependListener(event: "information", listener: (info: InformationEvent) => void): this; + prependListener(event: "response", listener: (response: IncomingMessage) => void): this; + prependListener(event: "socket", listener: (socket: Socket) => void): this; + prependListener(event: "timeout", listener: () => void): this; + prependListener( + event: "upgrade", + listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, + ): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "finish", listener: () => void): this; + prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + /** + * @deprecated + */ + prependOnceListener(event: "abort", listener: () => void): this; + prependOnceListener( + event: "connect", + listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, + ): this; + prependOnceListener(event: "continue", listener: () => void): this; + prependOnceListener(event: "information", listener: (info: InformationEvent) => void): this; + prependOnceListener(event: "response", listener: (response: IncomingMessage) => void): this; + prependOnceListener(event: "socket", listener: (socket: Socket) => void): this; + prependOnceListener(event: "timeout", listener: () => void): this; + prependOnceListener( + event: "upgrade", + listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void, + ): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "finish", listener: () => void): this; + prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + /** + * An `IncomingMessage` object is created by {@link Server} or {@link ClientRequest} and passed as the first argument to the `'request'` and `'response'` event respectively. It may be used to + * access response + * status, headers, and data. + * + * Different from its `socket` value which is a subclass of `stream.Duplex`, the`IncomingMessage` itself extends `stream.Readable` and is created separately to + * parse and emit the incoming HTTP headers and payload, as the underlying socket + * may be reused multiple times in case of keep-alive. + * @since v0.1.17 + */ + class IncomingMessage extends stream.Readable { + constructor(socket: Socket); + /** + * The `message.aborted` property will be `true` if the request has + * been aborted. + * @since v10.1.0 + * @deprecated Since v17.0.0,v16.12.0 - Check `message.destroyed` from stream.Readable. + */ + aborted: boolean; + /** + * In case of server request, the HTTP version sent by the client. In the case of + * client response, the HTTP version of the connected-to server. + * Probably either `'1.1'` or `'1.0'`. + * + * Also `message.httpVersionMajor` is the first integer and`message.httpVersionMinor` is the second. + * @since v0.1.1 + */ + httpVersion: string; + httpVersionMajor: number; + httpVersionMinor: number; + /** + * The `message.complete` property will be `true` if a complete HTTP message has + * been received and successfully parsed. + * + * This property is particularly useful as a means of determining if a client or + * server fully transmitted a message before a connection was terminated: + * + * ```js + * const req = http.request({ + * host: '127.0.0.1', + * port: 8080, + * method: 'POST', + * }, (res) => { + * res.resume(); + * res.on('end', () => { + * if (!res.complete) + * console.error( + * 'The connection was terminated while the message was still being sent'); + * }); + * }); + * ``` + * @since v0.3.0 + */ + complete: boolean; + /** + * Alias for `message.socket`. + * @since v0.1.90 + * @deprecated Since v16.0.0 - Use `socket`. + */ + connection: Socket; + /** + * The `net.Socket` object associated with the connection. + * + * With HTTPS support, use `request.socket.getPeerCertificate()` to obtain the + * client's authentication details. + * + * This property is guaranteed to be an instance of the `net.Socket` class, + * a subclass of `stream.Duplex`, unless the user specified a socket + * type other than `net.Socket` or internally nulled. + * @since v0.3.0 + */ + socket: Socket; + /** + * The request/response headers object. + * + * Key-value pairs of header names and values. Header names are lower-cased. + * + * ```js + * // Prints something like: + * // + * // { 'user-agent': 'curl/7.22.0', + * // host: '127.0.0.1:8000', + * // accept: '*' } + * console.log(request.headers); + * ``` + * + * Duplicates in raw headers are handled in the following ways, depending on the + * header name: + * + * * Duplicates of `age`, `authorization`, `content-length`, `content-type`,`etag`, `expires`, `from`, `host`, `if-modified-since`, `if-unmodified-since`,`last-modified`, `location`, + * `max-forwards`, `proxy-authorization`, `referer`,`retry-after`, `server`, or `user-agent` are discarded. + * To allow duplicate values of the headers listed above to be joined, + * use the option `joinDuplicateHeaders` in {@link request} and {@link createServer}. See RFC 9110 Section 5.3 for more + * information. + * * `set-cookie` is always an array. Duplicates are added to the array. + * * For duplicate `cookie` headers, the values are joined together with `; `. + * * For all other headers, the values are joined together with `, `. + * @since v0.1.5 + */ + headers: IncomingHttpHeaders; + /** + * Similar to `message.headers`, but there is no join logic and the values are + * always arrays of strings, even for headers received just once. + * + * ```js + * // Prints something like: + * // + * // { 'user-agent': ['curl/7.22.0'], + * // host: ['127.0.0.1:8000'], + * // accept: ['*'] } + * console.log(request.headersDistinct); + * ``` + * @since v18.3.0, v16.17.0 + */ + headersDistinct: NodeJS.Dict; + /** + * The raw request/response headers list exactly as they were received. + * + * The keys and values are in the same list. It is _not_ a + * list of tuples. So, the even-numbered offsets are key values, and the + * odd-numbered offsets are the associated values. + * + * Header names are not lowercased, and duplicates are not merged. + * + * ```js + * // Prints something like: + * // + * // [ 'user-agent', + * // 'this is invalid because there can be only one', + * // 'User-Agent', + * // 'curl/7.22.0', + * // 'Host', + * // '127.0.0.1:8000', + * // 'ACCEPT', + * // '*' ] + * console.log(request.rawHeaders); + * ``` + * @since v0.11.6 + */ + rawHeaders: string[]; + /** + * The request/response trailers object. Only populated at the `'end'` event. + * @since v0.3.0 + */ + trailers: NodeJS.Dict; + /** + * Similar to `message.trailers`, but there is no join logic and the values are + * always arrays of strings, even for headers received just once. + * Only populated at the `'end'` event. + * @since v18.3.0, v16.17.0 + */ + trailersDistinct: NodeJS.Dict; + /** + * The raw request/response trailer keys and values exactly as they were + * received. Only populated at the `'end'` event. + * @since v0.11.6 + */ + rawTrailers: string[]; + /** + * Calls `message.socket.setTimeout(msecs, callback)`. + * @since v0.5.9 + */ + setTimeout(msecs: number, callback?: () => void): this; + /** + * **Only valid for request obtained from {@link Server}.** + * + * The request method as a string. Read only. Examples: `'GET'`, `'DELETE'`. + * @since v0.1.1 + */ + method?: string | undefined; + /** + * **Only valid for request obtained from {@link Server}.** + * + * Request URL string. This contains only the URL that is present in the actual + * HTTP request. Take the following request: + * + * ```http + * GET /status?name=ryan HTTP/1.1 + * Accept: text/plain + * ``` + * + * To parse the URL into its parts: + * + * ```js + * new URL(request.url, `http://${request.headers.host}`); + * ``` + * + * When `request.url` is `'/status?name=ryan'` and `request.headers.host` is`'localhost:3000'`: + * + * ```console + * $ node + * > new URL(request.url, `http://${request.headers.host}`) + * URL { + * href: 'http://localhost:3000/status?name=ryan', + * origin: 'http://localhost:3000', + * protocol: 'http:', + * username: '', + * password: '', + * host: 'localhost:3000', + * hostname: 'localhost', + * port: '3000', + * pathname: '/status', + * search: '?name=ryan', + * searchParams: URLSearchParams { 'name' => 'ryan' }, + * hash: '' + * } + * ``` + * @since v0.1.90 + */ + url?: string | undefined; + /** + * **Only valid for response obtained from {@link ClientRequest}.** + * + * The 3-digit HTTP response status code. E.G. `404`. + * @since v0.1.1 + */ + statusCode?: number | undefined; + /** + * **Only valid for response obtained from {@link ClientRequest}.** + * + * The HTTP response status message (reason phrase). E.G. `OK` or `Internal Server Error`. + * @since v0.11.10 + */ + statusMessage?: string | undefined; + /** + * Calls `destroy()` on the socket that received the `IncomingMessage`. If `error`is provided, an `'error'` event is emitted on the socket and `error` is passed + * as an argument to any listeners on the event. + * @since v0.3.0 + */ + destroy(error?: Error): this; + } + interface AgentOptions extends Partial { + /** + * Keep sockets around in a pool to be used by other requests in the future. Default = false + */ + keepAlive?: boolean | undefined; + /** + * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000. + * Only relevant if keepAlive is set to true. + */ + keepAliveMsecs?: number | undefined; + /** + * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity + */ + maxSockets?: number | undefined; + /** + * Maximum number of sockets allowed for all hosts in total. Each request will use a new socket until the maximum is reached. Default: Infinity. + */ + maxTotalSockets?: number | undefined; + /** + * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256. + */ + maxFreeSockets?: number | undefined; + /** + * Socket timeout in milliseconds. This will set the timeout after the socket is connected. + */ + timeout?: number | undefined; + /** + * Scheduling strategy to apply when picking the next free socket to use. + * @default `lifo` + */ + scheduling?: "fifo" | "lifo" | undefined; + } + /** + * An `Agent` is responsible for managing connection persistence + * and reuse for HTTP clients. It maintains a queue of pending requests + * for a given host and port, reusing a single socket connection for each + * until the queue is empty, at which time the socket is either destroyed + * or put into a pool where it is kept to be used again for requests to the + * same host and port. Whether it is destroyed or pooled depends on the`keepAlive` `option`. + * + * Pooled connections have TCP Keep-Alive enabled for them, but servers may + * still close idle connections, in which case they will be removed from the + * pool and a new connection will be made when a new HTTP request is made for + * that host and port. Servers may also refuse to allow multiple requests + * over the same connection, in which case the connection will have to be + * remade for every request and cannot be pooled. The `Agent` will still make + * the requests to that server, but each one will occur over a new connection. + * + * When a connection is closed by the client or the server, it is removed + * from the pool. Any unused sockets in the pool will be unrefed so as not + * to keep the Node.js process running when there are no outstanding requests. + * (see `socket.unref()`). + * + * It is good practice, to `destroy()` an `Agent` instance when it is no + * longer in use, because unused sockets consume OS resources. + * + * Sockets are removed from an agent when the socket emits either + * a `'close'` event or an `'agentRemove'` event. When intending to keep one + * HTTP request open for a long time without keeping it in the agent, something + * like the following may be done: + * + * ```js + * http.get(options, (res) => { + * // Do stuff + * }).on('socket', (socket) => { + * socket.emit('agentRemove'); + * }); + * ``` + * + * An agent may also be used for an individual request. By providing`{agent: false}` as an option to the `http.get()` or `http.request()`functions, a one-time use `Agent` with default options + * will be used + * for the client connection. + * + * `agent:false`: + * + * ```js + * http.get({ + * hostname: 'localhost', + * port: 80, + * path: '/', + * agent: false, // Create a new agent just for this one request + * }, (res) => { + * // Do stuff with response + * }); + * ``` + * @since v0.3.4 + */ + class Agent extends EventEmitter { + /** + * By default set to 256. For agents with `keepAlive` enabled, this + * sets the maximum number of sockets that will be left open in the free + * state. + * @since v0.11.7 + */ + maxFreeSockets: number; + /** + * By default set to `Infinity`. Determines how many concurrent sockets the agent + * can have open per origin. Origin is the returned value of `agent.getName()`. + * @since v0.3.6 + */ + maxSockets: number; + /** + * By default set to `Infinity`. Determines how many concurrent sockets the agent + * can have open. Unlike `maxSockets`, this parameter applies across all origins. + * @since v14.5.0, v12.19.0 + */ + maxTotalSockets: number; + /** + * An object which contains arrays of sockets currently awaiting use by + * the agent when `keepAlive` is enabled. Do not modify. + * + * Sockets in the `freeSockets` list will be automatically destroyed and + * removed from the array on `'timeout'`. + * @since v0.11.4 + */ + readonly freeSockets: NodeJS.ReadOnlyDict; + /** + * An object which contains arrays of sockets currently in use by the + * agent. Do not modify. + * @since v0.3.6 + */ + readonly sockets: NodeJS.ReadOnlyDict; + /** + * An object which contains queues of requests that have not yet been assigned to + * sockets. Do not modify. + * @since v0.5.9 + */ + readonly requests: NodeJS.ReadOnlyDict; + constructor(opts?: AgentOptions); + /** + * Destroy any sockets that are currently in use by the agent. + * + * It is usually not necessary to do this. However, if using an + * agent with `keepAlive` enabled, then it is best to explicitly shut down + * the agent when it is no longer needed. Otherwise, + * sockets might stay open for quite a long time before the server + * terminates them. + * @since v0.11.4 + */ + destroy(): void; + } + const METHODS: string[]; + const STATUS_CODES: { + [errorCode: number]: string | undefined; + [errorCode: string]: string | undefined; + }; + /** + * Returns a new instance of {@link Server}. + * + * The `requestListener` is a function which is automatically + * added to the `'request'` event. + * + * ```js + * import http from 'node:http'; + * + * // Create a local server to receive data from + * const server = http.createServer((req, res) => { + * res.writeHead(200, { 'Content-Type': 'application/json' }); + * res.end(JSON.stringify({ + * data: 'Hello World!', + * })); + * }); + * + * server.listen(8000); + * ``` + * + * ```js + * import http from 'node:http'; + * + * // Create a local server to receive data from + * const server = http.createServer(); + * + * // Listen to the request event + * server.on('request', (request, res) => { + * res.writeHead(200, { 'Content-Type': 'application/json' }); + * res.end(JSON.stringify({ + * data: 'Hello World!', + * })); + * }); + * + * server.listen(8000); + * ``` + * @since v0.1.13 + */ + function createServer< + Request extends typeof IncomingMessage = typeof IncomingMessage, + Response extends typeof ServerResponse = typeof ServerResponse, + >(requestListener?: RequestListener): Server; + function createServer< + Request extends typeof IncomingMessage = typeof IncomingMessage, + Response extends typeof ServerResponse = typeof ServerResponse, + >( + options: ServerOptions, + requestListener?: RequestListener, + ): Server; + // although RequestOptions are passed as ClientRequestArgs to ClientRequest directly, + // create interface RequestOptions would make the naming more clear to developers + interface RequestOptions extends ClientRequestArgs {} + /** + * `options` in `socket.connect()` are also supported. + * + * Node.js maintains several connections per server to make HTTP requests. + * This function allows one to transparently issue requests. + * + * `url` can be a string or a `URL` object. If `url` is a + * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object. + * + * If both `url` and `options` are specified, the objects are merged, with the`options` properties taking precedence. + * + * The optional `callback` parameter will be added as a one-time listener for + * the `'response'` event. + * + * `http.request()` returns an instance of the {@link ClientRequest} class. The `ClientRequest` instance is a writable stream. If one needs to + * upload a file with a POST request, then write to the `ClientRequest` object. + * + * ```js + * import http from 'node:http'; + * import { Buffer } from 'node:buffer'; + * + * const postData = JSON.stringify({ + * 'msg': 'Hello World!', + * }); + * + * const options = { + * hostname: 'www.google.com', + * port: 80, + * path: '/upload', + * method: 'POST', + * headers: { + * 'Content-Type': 'application/json', + * 'Content-Length': Buffer.byteLength(postData), + * }, + * }; + * + * const req = http.request(options, (res) => { + * console.log(`STATUS: ${res.statusCode}`); + * console.log(`HEADERS: ${JSON.stringify(res.headers)}`); + * res.setEncoding('utf8'); + * res.on('data', (chunk) => { + * console.log(`BODY: ${chunk}`); + * }); + * res.on('end', () => { + * console.log('No more data in response.'); + * }); + * }); + * + * req.on('error', (e) => { + * console.error(`problem with request: ${e.message}`); + * }); + * + * // Write data to request body + * req.write(postData); + * req.end(); + * ``` + * + * In the example `req.end()` was called. With `http.request()` one + * must always call `req.end()` to signify the end of the request - + * even if there is no data being written to the request body. + * + * If any error is encountered during the request (be that with DNS resolution, + * TCP level errors, or actual HTTP parse errors) an `'error'` event is emitted + * on the returned request object. As with all `'error'` events, if no listeners + * are registered the error will be thrown. + * + * There are a few special headers that should be noted. + * + * * Sending a 'Connection: keep-alive' will notify Node.js that the connection to + * the server should be persisted until the next request. + * * Sending a 'Content-Length' header will disable the default chunked encoding. + * * Sending an 'Expect' header will immediately send the request headers. + * Usually, when sending 'Expect: 100-continue', both a timeout and a listener + * for the `'continue'` event should be set. See RFC 2616 Section 8.2.3 for more + * information. + * * Sending an Authorization header will override using the `auth` option + * to compute basic authentication. + * + * Example using a `URL` as `options`: + * + * ```js + * const options = new URL('http://abc:xyz@example.com'); + * + * const req = http.request(options, (res) => { + * // ... + * }); + * ``` + * + * In a successful request, the following events will be emitted in the following + * order: + * + * * `'socket'` + * * `'response'` + * * `'data'` any number of times, on the `res` object + * (`'data'` will not be emitted at all if the response body is empty, for + * instance, in most redirects) + * * `'end'` on the `res` object + * * `'close'` + * + * In the case of a connection error, the following events will be emitted: + * + * * `'socket'` + * * `'error'` + * * `'close'` + * + * In the case of a premature connection close before the response is received, + * the following events will be emitted in the following order: + * + * * `'socket'` + * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'` + * * `'close'` + * + * In the case of a premature connection close after the response is received, + * the following events will be emitted in the following order: + * + * * `'socket'` + * * `'response'` + * * `'data'` any number of times, on the `res` object + * * (connection closed here) + * * `'aborted'` on the `res` object + * * `'error'` on the `res` object with an error with message`'Error: aborted'` and code `'ECONNRESET'` + * * `'close'` + * * `'close'` on the `res` object + * + * If `req.destroy()` is called before a socket is assigned, the following + * events will be emitted in the following order: + * + * * (`req.destroy()` called here) + * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'`, or the error with which `req.destroy()` was called + * * `'close'` + * + * If `req.destroy()` is called before the connection succeeds, the following + * events will be emitted in the following order: + * + * * `'socket'` + * * (`req.destroy()` called here) + * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'`, or the error with which `req.destroy()` was called + * * `'close'` + * + * If `req.destroy()` is called after the response is received, the following + * events will be emitted in the following order: + * + * * `'socket'` + * * `'response'` + * * `'data'` any number of times, on the `res` object + * * (`req.destroy()` called here) + * * `'aborted'` on the `res` object + * * `'error'` on the `res` object with an error with message `'Error: aborted'`and code `'ECONNRESET'`, or the error with which `req.destroy()` was called + * * `'close'` + * * `'close'` on the `res` object + * + * If `req.abort()` is called before a socket is assigned, the following + * events will be emitted in the following order: + * + * * (`req.abort()` called here) + * * `'abort'` + * * `'close'` + * + * If `req.abort()` is called before the connection succeeds, the following + * events will be emitted in the following order: + * + * * `'socket'` + * * (`req.abort()` called here) + * * `'abort'` + * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'` + * * `'close'` + * + * If `req.abort()` is called after the response is received, the following + * events will be emitted in the following order: + * + * * `'socket'` + * * `'response'` + * * `'data'` any number of times, on the `res` object + * * (`req.abort()` called here) + * * `'abort'` + * * `'aborted'` on the `res` object + * * `'error'` on the `res` object with an error with message`'Error: aborted'` and code `'ECONNRESET'`. + * * `'close'` + * * `'close'` on the `res` object + * + * Setting the `timeout` option or using the `setTimeout()` function will + * not abort the request or do anything besides add a `'timeout'` event. + * + * Passing an `AbortSignal` and then calling `abort()` on the corresponding`AbortController` will behave the same way as calling `.destroy()` on the + * request. Specifically, the `'error'` event will be emitted with an error with + * the message `'AbortError: The operation was aborted'`, the code `'ABORT_ERR'`and the `cause`, if one was provided. + * @since v0.3.6 + */ + function request(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest; + function request( + url: string | URL, + options: RequestOptions, + callback?: (res: IncomingMessage) => void, + ): ClientRequest; + /** + * Since most requests are GET requests without bodies, Node.js provides this + * convenience method. The only difference between this method and {@link request} is that it sets the method to GET by default and calls `req.end()`automatically. The callback must take care to + * consume the response + * data for reasons stated in {@link ClientRequest} section. + * + * The `callback` is invoked with a single argument that is an instance of {@link IncomingMessage}. + * + * JSON fetching example: + * + * ```js + * http.get('http://localhost:8000/', (res) => { + * const { statusCode } = res; + * const contentType = res.headers['content-type']; + * + * let error; + * // Any 2xx status code signals a successful response but + * // here we're only checking for 200. + * if (statusCode !== 200) { + * error = new Error('Request Failed.\n' + + * `Status Code: ${statusCode}`); + * } else if (!/^application\/json/.test(contentType)) { + * error = new Error('Invalid content-type.\n' + + * `Expected application/json but received ${contentType}`); + * } + * if (error) { + * console.error(error.message); + * // Consume response data to free up memory + * res.resume(); + * return; + * } + * + * res.setEncoding('utf8'); + * let rawData = ''; + * res.on('data', (chunk) => { rawData += chunk; }); + * res.on('end', () => { + * try { + * const parsedData = JSON.parse(rawData); + * console.log(parsedData); + * } catch (e) { + * console.error(e.message); + * } + * }); + * }).on('error', (e) => { + * console.error(`Got error: ${e.message}`); + * }); + * + * // Create a local server to receive data from + * const server = http.createServer((req, res) => { + * res.writeHead(200, { 'Content-Type': 'application/json' }); + * res.end(JSON.stringify({ + * data: 'Hello World!', + * })); + * }); + * + * server.listen(8000); + * ``` + * @since v0.3.6 + * @param options Accepts the same `options` as {@link request}, with the method set to GET by default. + */ + function get(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest; + function get(url: string | URL, options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; + /** + * Performs the low-level validations on the provided `name` that are done when`res.setHeader(name, value)` is called. + * + * Passing illegal value as `name` will result in a `TypeError` being thrown, + * identified by `code: 'ERR_INVALID_HTTP_TOKEN'`. + * + * It is not necessary to use this method before passing headers to an HTTP request + * or response. The HTTP module will automatically validate such headers. + * Examples: + * + * Example: + * + * ```js + * import { validateHeaderName } from 'node:http'; + * + * try { + * validateHeaderName(''); + * } catch (err) { + * console.error(err instanceof TypeError); // --> true + * console.error(err.code); // --> 'ERR_INVALID_HTTP_TOKEN' + * console.error(err.message); // --> 'Header name must be a valid HTTP token [""]' + * } + * ``` + * @since v14.3.0 + * @param [label='Header name'] Label for error message. + */ + function validateHeaderName(name: string): void; + /** + * Performs the low-level validations on the provided `value` that are done when`res.setHeader(name, value)` is called. + * + * Passing illegal value as `value` will result in a `TypeError` being thrown. + * + * * Undefined value error is identified by `code: 'ERR_HTTP_INVALID_HEADER_VALUE'`. + * * Invalid value character error is identified by `code: 'ERR_INVALID_CHAR'`. + * + * It is not necessary to use this method before passing headers to an HTTP request + * or response. The HTTP module will automatically validate such headers. + * + * Examples: + * + * ```js + * import { validateHeaderValue } from 'node:http'; + * + * try { + * validateHeaderValue('x-my-header', undefined); + * } catch (err) { + * console.error(err instanceof TypeError); // --> true + * console.error(err.code === 'ERR_HTTP_INVALID_HEADER_VALUE'); // --> true + * console.error(err.message); // --> 'Invalid value "undefined" for header "x-my-header"' + * } + * + * try { + * validateHeaderValue('x-my-header', 'oʊmɪɡə'); + * } catch (err) { + * console.error(err instanceof TypeError); // --> true + * console.error(err.code === 'ERR_INVALID_CHAR'); // --> true + * console.error(err.message); // --> 'Invalid character in header content ["x-my-header"]' + * } + * ``` + * @since v14.3.0 + * @param name Header name + * @param value Header value + */ + function validateHeaderValue(name: string, value: string): void; + /** + * Set the maximum number of idle HTTP parsers. + * @since v18.8.0, v16.18.0 + * @param [max=1000] + */ + function setMaxIdleHTTPParsers(max: number): void; + let globalAgent: Agent; + /** + * Read-only property specifying the maximum allowed size of HTTP headers in bytes. + * Defaults to 16KB. Configurable using the `--max-http-header-size` CLI option. + */ + const maxHeaderSize: number; +} +declare module "node:http" { + export * from "http"; +} diff --git a/node_modules/@types/node/ts4.8/http2.d.ts b/node_modules/@types/node/ts4.8/http2.d.ts new file mode 100644 index 000000000..c3b3e8ec4 --- /dev/null +++ b/node_modules/@types/node/ts4.8/http2.d.ts @@ -0,0 +1,2382 @@ +/** + * The `node:http2` module provides an implementation of the [HTTP/2](https://tools.ietf.org/html/rfc7540) protocol. + * It can be accessed using: + * + * ```js + * const http2 = require('node:http2'); + * ``` + * @since v8.4.0 + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/http2.js) + */ +declare module "http2" { + import EventEmitter = require("node:events"); + import * as fs from "node:fs"; + import * as net from "node:net"; + import * as stream from "node:stream"; + import * as tls from "node:tls"; + import * as url from "node:url"; + import { + IncomingHttpHeaders as Http1IncomingHttpHeaders, + IncomingMessage, + OutgoingHttpHeaders, + ServerResponse, + } from "node:http"; + export { OutgoingHttpHeaders } from "node:http"; + export interface IncomingHttpStatusHeader { + ":status"?: number | undefined; + } + export interface IncomingHttpHeaders extends Http1IncomingHttpHeaders { + ":path"?: string | undefined; + ":method"?: string | undefined; + ":authority"?: string | undefined; + ":scheme"?: string | undefined; + } + // Http2Stream + export interface StreamPriorityOptions { + exclusive?: boolean | undefined; + parent?: number | undefined; + weight?: number | undefined; + silent?: boolean | undefined; + } + export interface StreamState { + localWindowSize?: number | undefined; + state?: number | undefined; + localClose?: number | undefined; + remoteClose?: number | undefined; + sumDependencyWeight?: number | undefined; + weight?: number | undefined; + } + export interface ServerStreamResponseOptions { + endStream?: boolean | undefined; + waitForTrailers?: boolean | undefined; + } + export interface StatOptions { + offset: number; + length: number; + } + export interface ServerStreamFileResponseOptions { + // eslint-disable-next-line @typescript-eslint/no-invalid-void-type + statCheck?(stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions): void | boolean; + waitForTrailers?: boolean | undefined; + offset?: number | undefined; + length?: number | undefined; + } + export interface ServerStreamFileResponseOptionsWithError extends ServerStreamFileResponseOptions { + onError?(err: NodeJS.ErrnoException): void; + } + export interface Http2Stream extends stream.Duplex { + /** + * Set to `true` if the `Http2Stream` instance was aborted abnormally. When set, + * the `'aborted'` event will have been emitted. + * @since v8.4.0 + */ + readonly aborted: boolean; + /** + * This property shows the number of characters currently buffered to be written. + * See `net.Socket.bufferSize` for details. + * @since v11.2.0, v10.16.0 + */ + readonly bufferSize: number; + /** + * Set to `true` if the `Http2Stream` instance has been closed. + * @since v9.4.0 + */ + readonly closed: boolean; + /** + * Set to `true` if the `Http2Stream` instance has been destroyed and is no longer + * usable. + * @since v8.4.0 + */ + readonly destroyed: boolean; + /** + * Set to `true` if the `END_STREAM` flag was set in the request or response + * HEADERS frame received, indicating that no additional data should be received + * and the readable side of the `Http2Stream` will be closed. + * @since v10.11.0 + */ + readonly endAfterHeaders: boolean; + /** + * The numeric stream identifier of this `Http2Stream` instance. Set to `undefined`if the stream identifier has not yet been assigned. + * @since v8.4.0 + */ + readonly id?: number | undefined; + /** + * Set to `true` if the `Http2Stream` instance has not yet been assigned a + * numeric stream identifier. + * @since v9.4.0 + */ + readonly pending: boolean; + /** + * Set to the `RST_STREAM` `error code` reported when the `Http2Stream` is + * destroyed after either receiving an `RST_STREAM` frame from the connected peer, + * calling `http2stream.close()`, or `http2stream.destroy()`. Will be`undefined` if the `Http2Stream` has not been closed. + * @since v8.4.0 + */ + readonly rstCode: number; + /** + * An object containing the outbound headers sent for this `Http2Stream`. + * @since v9.5.0 + */ + readonly sentHeaders: OutgoingHttpHeaders; + /** + * An array of objects containing the outbound informational (additional) headers + * sent for this `Http2Stream`. + * @since v9.5.0 + */ + readonly sentInfoHeaders?: OutgoingHttpHeaders[] | undefined; + /** + * An object containing the outbound trailers sent for this `HttpStream`. + * @since v9.5.0 + */ + readonly sentTrailers?: OutgoingHttpHeaders | undefined; + /** + * A reference to the `Http2Session` instance that owns this `Http2Stream`. The + * value will be `undefined` after the `Http2Stream` instance is destroyed. + * @since v8.4.0 + */ + readonly session: Http2Session | undefined; + /** + * Provides miscellaneous information about the current state of the`Http2Stream`. + * + * A current state of this `Http2Stream`. + * @since v8.4.0 + */ + readonly state: StreamState; + /** + * Closes the `Http2Stream` instance by sending an `RST_STREAM` frame to the + * connected HTTP/2 peer. + * @since v8.4.0 + * @param [code=http2.constants.NGHTTP2_NO_ERROR] Unsigned 32-bit integer identifying the error code. + * @param callback An optional function registered to listen for the `'close'` event. + */ + close(code?: number, callback?: () => void): void; + /** + * Updates the priority for this `Http2Stream` instance. + * @since v8.4.0 + */ + priority(options: StreamPriorityOptions): void; + /** + * ```js + * const http2 = require('node:http2'); + * const client = http2.connect('http://example.org:8000'); + * const { NGHTTP2_CANCEL } = http2.constants; + * const req = client.request({ ':path': '/' }); + * + * // Cancel the stream if there's no activity after 5 seconds + * req.setTimeout(5000, () => req.close(NGHTTP2_CANCEL)); + * ``` + * @since v8.4.0 + */ + setTimeout(msecs: number, callback?: () => void): void; + /** + * Sends a trailing `HEADERS` frame to the connected HTTP/2 peer. This method + * will cause the `Http2Stream` to be immediately closed and must only be + * called after the `'wantTrailers'` event has been emitted. When sending a + * request or sending a response, the `options.waitForTrailers` option must be set + * in order to keep the `Http2Stream` open after the final `DATA` frame so that + * trailers can be sent. + * + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * stream.respond(undefined, { waitForTrailers: true }); + * stream.on('wantTrailers', () => { + * stream.sendTrailers({ xyz: 'abc' }); + * }); + * stream.end('Hello World'); + * }); + * ``` + * + * The HTTP/1 specification forbids trailers from containing HTTP/2 pseudo-header + * fields (e.g. `':method'`, `':path'`, etc). + * @since v10.0.0 + */ + sendTrailers(headers: OutgoingHttpHeaders): void; + addListener(event: "aborted", listener: () => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "data", listener: (chunk: Buffer | string) => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "end", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "finish", listener: () => void): this; + addListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; + addListener(event: "pipe", listener: (src: stream.Readable) => void): this; + addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + addListener(event: "streamClosed", listener: (code: number) => void): this; + addListener(event: "timeout", listener: () => void): this; + addListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; + addListener(event: "wantTrailers", listener: () => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "aborted"): boolean; + emit(event: "close"): boolean; + emit(event: "data", chunk: Buffer | string): boolean; + emit(event: "drain"): boolean; + emit(event: "end"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "finish"): boolean; + emit(event: "frameError", frameType: number, errorCode: number): boolean; + emit(event: "pipe", src: stream.Readable): boolean; + emit(event: "unpipe", src: stream.Readable): boolean; + emit(event: "streamClosed", code: number): boolean; + emit(event: "timeout"): boolean; + emit(event: "trailers", trailers: IncomingHttpHeaders, flags: number): boolean; + emit(event: "wantTrailers"): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "aborted", listener: () => void): this; + on(event: "close", listener: () => void): this; + on(event: "data", listener: (chunk: Buffer | string) => void): this; + on(event: "drain", listener: () => void): this; + on(event: "end", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "finish", listener: () => void): this; + on(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; + on(event: "pipe", listener: (src: stream.Readable) => void): this; + on(event: "unpipe", listener: (src: stream.Readable) => void): this; + on(event: "streamClosed", listener: (code: number) => void): this; + on(event: "timeout", listener: () => void): this; + on(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; + on(event: "wantTrailers", listener: () => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "aborted", listener: () => void): this; + once(event: "close", listener: () => void): this; + once(event: "data", listener: (chunk: Buffer | string) => void): this; + once(event: "drain", listener: () => void): this; + once(event: "end", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "finish", listener: () => void): this; + once(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; + once(event: "pipe", listener: (src: stream.Readable) => void): this; + once(event: "unpipe", listener: (src: stream.Readable) => void): this; + once(event: "streamClosed", listener: (code: number) => void): this; + once(event: "timeout", listener: () => void): this; + once(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; + once(event: "wantTrailers", listener: () => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "aborted", listener: () => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "end", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "finish", listener: () => void): this; + prependListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; + prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependListener(event: "streamClosed", listener: (code: number) => void): this; + prependListener(event: "timeout", listener: () => void): this; + prependListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; + prependListener(event: "wantTrailers", listener: () => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "aborted", listener: () => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "end", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "finish", listener: () => void): this; + prependOnceListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; + prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: "streamClosed", listener: (code: number) => void): this; + prependOnceListener(event: "timeout", listener: () => void): this; + prependOnceListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; + prependOnceListener(event: "wantTrailers", listener: () => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + export interface ClientHttp2Stream extends Http2Stream { + addListener(event: "continue", listener: () => {}): this; + addListener( + event: "headers", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + addListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; + addListener( + event: "response", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "continue"): boolean; + emit(event: "headers", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean; + emit(event: "push", headers: IncomingHttpHeaders, flags: number): boolean; + emit(event: "response", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "continue", listener: () => {}): this; + on( + event: "headers", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + on(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; + on( + event: "response", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "continue", listener: () => {}): this; + once( + event: "headers", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + once(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; + once( + event: "response", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "continue", listener: () => {}): this; + prependListener( + event: "headers", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + prependListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; + prependListener( + event: "response", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "continue", listener: () => {}): this; + prependOnceListener( + event: "headers", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + prependOnceListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; + prependOnceListener( + event: "response", + listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void, + ): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + export interface ServerHttp2Stream extends Http2Stream { + /** + * True if headers were sent, false otherwise (read-only). + * @since v8.4.0 + */ + readonly headersSent: boolean; + /** + * Read-only property mapped to the `SETTINGS_ENABLE_PUSH` flag of the remote + * client's most recent `SETTINGS` frame. Will be `true` if the remote peer + * accepts push streams, `false` otherwise. Settings are the same for every`Http2Stream` in the same `Http2Session`. + * @since v8.4.0 + */ + readonly pushAllowed: boolean; + /** + * Sends an additional informational `HEADERS` frame to the connected HTTP/2 peer. + * @since v8.4.0 + */ + additionalHeaders(headers: OutgoingHttpHeaders): void; + /** + * Initiates a push stream. The callback is invoked with the new `Http2Stream`instance created for the push stream passed as the second argument, or an`Error` passed as the first argument. + * + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * stream.respond({ ':status': 200 }); + * stream.pushStream({ ':path': '/' }, (err, pushStream, headers) => { + * if (err) throw err; + * pushStream.respond({ ':status': 200 }); + * pushStream.end('some pushed data'); + * }); + * stream.end('some data'); + * }); + * ``` + * + * Setting the weight of a push stream is not allowed in the `HEADERS` frame. Pass + * a `weight` value to `http2stream.priority` with the `silent` option set to`true` to enable server-side bandwidth balancing between concurrent streams. + * + * Calling `http2stream.pushStream()` from within a pushed stream is not permitted + * and will throw an error. + * @since v8.4.0 + * @param callback Callback that is called once the push stream has been initiated. + */ + pushStream( + headers: OutgoingHttpHeaders, + callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void, + ): void; + pushStream( + headers: OutgoingHttpHeaders, + options?: StreamPriorityOptions, + callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void, + ): void; + /** + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * stream.respond({ ':status': 200 }); + * stream.end('some data'); + * }); + * ``` + * + * Initiates a response. When the `options.waitForTrailers` option is set, the`'wantTrailers'` event will be emitted immediately after queuing the last chunk + * of payload data to be sent. The `http2stream.sendTrailers()` method can then be + * used to sent trailing header fields to the peer. + * + * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically + * close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. + * + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * stream.respond({ ':status': 200 }, { waitForTrailers: true }); + * stream.on('wantTrailers', () => { + * stream.sendTrailers({ ABC: 'some value to send' }); + * }); + * stream.end('some data'); + * }); + * ``` + * @since v8.4.0 + */ + respond(headers?: OutgoingHttpHeaders, options?: ServerStreamResponseOptions): void; + /** + * Initiates a response whose data is read from the given file descriptor. No + * validation is performed on the given file descriptor. If an error occurs while + * attempting to read data using the file descriptor, the `Http2Stream` will be + * closed using an `RST_STREAM` frame using the standard `INTERNAL_ERROR` code. + * + * When used, the `Http2Stream` object's `Duplex` interface will be closed + * automatically. + * + * ```js + * const http2 = require('node:http2'); + * const fs = require('node:fs'); + * + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * const fd = fs.openSync('/some/file', 'r'); + * + * const stat = fs.fstatSync(fd); + * const headers = { + * 'content-length': stat.size, + * 'last-modified': stat.mtime.toUTCString(), + * 'content-type': 'text/plain; charset=utf-8', + * }; + * stream.respondWithFD(fd, headers); + * stream.on('close', () => fs.closeSync(fd)); + * }); + * ``` + * + * The optional `options.statCheck` function may be specified to give user code + * an opportunity to set additional content headers based on the `fs.Stat` details + * of the given fd. If the `statCheck` function is provided, the`http2stream.respondWithFD()` method will perform an `fs.fstat()` call to + * collect details on the provided file descriptor. + * + * The `offset` and `length` options may be used to limit the response to a + * specific range subset. This can be used, for instance, to support HTTP Range + * requests. + * + * The file descriptor or `FileHandle` is not closed when the stream is closed, + * so it will need to be closed manually once it is no longer needed. + * Using the same file descriptor concurrently for multiple streams + * is not supported and may result in data loss. Re-using a file descriptor + * after a stream has finished is supported. + * + * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event + * will be emitted immediately after queuing the last chunk of payload data to be + * sent. The `http2stream.sendTrailers()` method can then be used to sent trailing + * header fields to the peer. + * + * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically + * close when the final `DATA` frame is transmitted. User code _must_ call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. + * + * ```js + * const http2 = require('node:http2'); + * const fs = require('node:fs'); + * + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * const fd = fs.openSync('/some/file', 'r'); + * + * const stat = fs.fstatSync(fd); + * const headers = { + * 'content-length': stat.size, + * 'last-modified': stat.mtime.toUTCString(), + * 'content-type': 'text/plain; charset=utf-8', + * }; + * stream.respondWithFD(fd, headers, { waitForTrailers: true }); + * stream.on('wantTrailers', () => { + * stream.sendTrailers({ ABC: 'some value to send' }); + * }); + * + * stream.on('close', () => fs.closeSync(fd)); + * }); + * ``` + * @since v8.4.0 + * @param fd A readable file descriptor. + */ + respondWithFD( + fd: number | fs.promises.FileHandle, + headers?: OutgoingHttpHeaders, + options?: ServerStreamFileResponseOptions, + ): void; + /** + * Sends a regular file as the response. The `path` must specify a regular file + * or an `'error'` event will be emitted on the `Http2Stream` object. + * + * When used, the `Http2Stream` object's `Duplex` interface will be closed + * automatically. + * + * The optional `options.statCheck` function may be specified to give user code + * an opportunity to set additional content headers based on the `fs.Stat` details + * of the given file: + * + * If an error occurs while attempting to read the file data, the `Http2Stream`will be closed using an `RST_STREAM` frame using the standard `INTERNAL_ERROR`code. If the `onError` callback is + * defined, then it will be called. Otherwise + * the stream will be destroyed. + * + * Example using a file path: + * + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * function statCheck(stat, headers) { + * headers['last-modified'] = stat.mtime.toUTCString(); + * } + * + * function onError(err) { + * // stream.respond() can throw if the stream has been destroyed by + * // the other side. + * try { + * if (err.code === 'ENOENT') { + * stream.respond({ ':status': 404 }); + * } else { + * stream.respond({ ':status': 500 }); + * } + * } catch (err) { + * // Perform actual error handling. + * console.error(err); + * } + * stream.end(); + * } + * + * stream.respondWithFile('/some/file', + * { 'content-type': 'text/plain; charset=utf-8' }, + * { statCheck, onError }); + * }); + * ``` + * + * The `options.statCheck` function may also be used to cancel the send operation + * by returning `false`. For instance, a conditional request may check the stat + * results to determine if the file has been modified to return an appropriate`304` response: + * + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * function statCheck(stat, headers) { + * // Check the stat here... + * stream.respond({ ':status': 304 }); + * return false; // Cancel the send operation + * } + * stream.respondWithFile('/some/file', + * { 'content-type': 'text/plain; charset=utf-8' }, + * { statCheck }); + * }); + * ``` + * + * The `content-length` header field will be automatically set. + * + * The `offset` and `length` options may be used to limit the response to a + * specific range subset. This can be used, for instance, to support HTTP Range + * requests. + * + * The `options.onError` function may also be used to handle all the errors + * that could happen before the delivery of the file is initiated. The + * default behavior is to destroy the stream. + * + * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event + * will be emitted immediately after queuing the last chunk of payload data to be + * sent. The `http2stream.sendTrailers()` method can then be used to sent trailing + * header fields to the peer. + * + * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically + * close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. + * + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer(); + * server.on('stream', (stream) => { + * stream.respondWithFile('/some/file', + * { 'content-type': 'text/plain; charset=utf-8' }, + * { waitForTrailers: true }); + * stream.on('wantTrailers', () => { + * stream.sendTrailers({ ABC: 'some value to send' }); + * }); + * }); + * ``` + * @since v8.4.0 + */ + respondWithFile( + path: string, + headers?: OutgoingHttpHeaders, + options?: ServerStreamFileResponseOptionsWithError, + ): void; + } + // Http2Session + export interface Settings { + headerTableSize?: number | undefined; + enablePush?: boolean | undefined; + initialWindowSize?: number | undefined; + maxFrameSize?: number | undefined; + maxConcurrentStreams?: number | undefined; + maxHeaderListSize?: number | undefined; + enableConnectProtocol?: boolean | undefined; + } + export interface ClientSessionRequestOptions { + endStream?: boolean | undefined; + exclusive?: boolean | undefined; + parent?: number | undefined; + weight?: number | undefined; + waitForTrailers?: boolean | undefined; + signal?: AbortSignal | undefined; + } + export interface SessionState { + effectiveLocalWindowSize?: number | undefined; + effectiveRecvDataLength?: number | undefined; + nextStreamID?: number | undefined; + localWindowSize?: number | undefined; + lastProcStreamID?: number | undefined; + remoteWindowSize?: number | undefined; + outboundQueueSize?: number | undefined; + deflateDynamicTableSize?: number | undefined; + inflateDynamicTableSize?: number | undefined; + } + export interface Http2Session extends EventEmitter { + /** + * Value will be `undefined` if the `Http2Session` is not yet connected to a + * socket, `h2c` if the `Http2Session` is not connected to a `TLSSocket`, or + * will return the value of the connected `TLSSocket`'s own `alpnProtocol`property. + * @since v9.4.0 + */ + readonly alpnProtocol?: string | undefined; + /** + * Will be `true` if this `Http2Session` instance has been closed, otherwise`false`. + * @since v9.4.0 + */ + readonly closed: boolean; + /** + * Will be `true` if this `Http2Session` instance is still connecting, will be set + * to `false` before emitting `connect` event and/or calling the `http2.connect`callback. + * @since v10.0.0 + */ + readonly connecting: boolean; + /** + * Will be `true` if this `Http2Session` instance has been destroyed and must no + * longer be used, otherwise `false`. + * @since v8.4.0 + */ + readonly destroyed: boolean; + /** + * Value is `undefined` if the `Http2Session` session socket has not yet been + * connected, `true` if the `Http2Session` is connected with a `TLSSocket`, + * and `false` if the `Http2Session` is connected to any other kind of socket + * or stream. + * @since v9.4.0 + */ + readonly encrypted?: boolean | undefined; + /** + * A prototype-less object describing the current local settings of this`Http2Session`. The local settings are local to _this_`Http2Session` instance. + * @since v8.4.0 + */ + readonly localSettings: Settings; + /** + * If the `Http2Session` is connected to a `TLSSocket`, the `originSet` property + * will return an `Array` of origins for which the `Http2Session` may be + * considered authoritative. + * + * The `originSet` property is only available when using a secure TLS connection. + * @since v9.4.0 + */ + readonly originSet?: string[] | undefined; + /** + * Indicates whether the `Http2Session` is currently waiting for acknowledgment of + * a sent `SETTINGS` frame. Will be `true` after calling the`http2session.settings()` method. Will be `false` once all sent `SETTINGS`frames have been acknowledged. + * @since v8.4.0 + */ + readonly pendingSettingsAck: boolean; + /** + * A prototype-less object describing the current remote settings of this`Http2Session`. The remote settings are set by the _connected_ HTTP/2 peer. + * @since v8.4.0 + */ + readonly remoteSettings: Settings; + /** + * Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but + * limits available methods to ones safe to use with HTTP/2. + * + * `destroy`, `emit`, `end`, `pause`, `read`, `resume`, and `write` will throw + * an error with code `ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for more information. + * + * `setTimeout` method will be called on this `Http2Session`. + * + * All other interactions will be routed directly to the socket. + * @since v8.4.0 + */ + readonly socket: net.Socket | tls.TLSSocket; + /** + * Provides miscellaneous information about the current state of the`Http2Session`. + * + * An object describing the current status of this `Http2Session`. + * @since v8.4.0 + */ + readonly state: SessionState; + /** + * The `http2session.type` will be equal to`http2.constants.NGHTTP2_SESSION_SERVER` if this `Http2Session` instance is a + * server, and `http2.constants.NGHTTP2_SESSION_CLIENT` if the instance is a + * client. + * @since v8.4.0 + */ + readonly type: number; + /** + * Gracefully closes the `Http2Session`, allowing any existing streams to + * complete on their own and preventing new `Http2Stream` instances from being + * created. Once closed, `http2session.destroy()`_might_ be called if there + * are no open `Http2Stream` instances. + * + * If specified, the `callback` function is registered as a handler for the`'close'` event. + * @since v9.4.0 + */ + close(callback?: () => void): void; + /** + * Immediately terminates the `Http2Session` and the associated `net.Socket` or`tls.TLSSocket`. + * + * Once destroyed, the `Http2Session` will emit the `'close'` event. If `error`is not undefined, an `'error'` event will be emitted immediately before the`'close'` event. + * + * If there are any remaining open `Http2Streams` associated with the`Http2Session`, those will also be destroyed. + * @since v8.4.0 + * @param error An `Error` object if the `Http2Session` is being destroyed due to an error. + * @param code The HTTP/2 error code to send in the final `GOAWAY` frame. If unspecified, and `error` is not undefined, the default is `INTERNAL_ERROR`, otherwise defaults to `NO_ERROR`. + */ + destroy(error?: Error, code?: number): void; + /** + * Transmits a `GOAWAY` frame to the connected peer _without_ shutting down the`Http2Session`. + * @since v9.4.0 + * @param code An HTTP/2 error code + * @param lastStreamID The numeric ID of the last processed `Http2Stream` + * @param opaqueData A `TypedArray` or `DataView` instance containing additional data to be carried within the `GOAWAY` frame. + */ + goaway(code?: number, lastStreamID?: number, opaqueData?: NodeJS.ArrayBufferView): void; + /** + * Sends a `PING` frame to the connected HTTP/2 peer. A `callback` function must + * be provided. The method will return `true` if the `PING` was sent, `false`otherwise. + * + * The maximum number of outstanding (unacknowledged) pings is determined by the`maxOutstandingPings` configuration option. The default maximum is 10. + * + * If provided, the `payload` must be a `Buffer`, `TypedArray`, or `DataView`containing 8 bytes of data that will be transmitted with the `PING` and + * returned with the ping acknowledgment. + * + * The callback will be invoked with three arguments: an error argument that will + * be `null` if the `PING` was successfully acknowledged, a `duration` argument + * that reports the number of milliseconds elapsed since the ping was sent and the + * acknowledgment was received, and a `Buffer` containing the 8-byte `PING`payload. + * + * ```js + * session.ping(Buffer.from('abcdefgh'), (err, duration, payload) => { + * if (!err) { + * console.log(`Ping acknowledged in ${duration} milliseconds`); + * console.log(`With payload '${payload.toString()}'`); + * } + * }); + * ``` + * + * If the `payload` argument is not specified, the default payload will be the + * 64-bit timestamp (little endian) marking the start of the `PING` duration. + * @since v8.9.3 + * @param payload Optional ping payload. + */ + ping(callback: (err: Error | null, duration: number, payload: Buffer) => void): boolean; + ping( + payload: NodeJS.ArrayBufferView, + callback: (err: Error | null, duration: number, payload: Buffer) => void, + ): boolean; + /** + * Calls `ref()` on this `Http2Session`instance's underlying `net.Socket`. + * @since v9.4.0 + */ + ref(): void; + /** + * Sets the local endpoint's window size. + * The `windowSize` is the total window size to set, not + * the delta. + * + * ```js + * const http2 = require('node:http2'); + * + * const server = http2.createServer(); + * const expectedWindowSize = 2 ** 20; + * server.on('connect', (session) => { + * + * // Set local window size to be 2 ** 20 + * session.setLocalWindowSize(expectedWindowSize); + * }); + * ``` + * @since v15.3.0, v14.18.0 + */ + setLocalWindowSize(windowSize: number): void; + /** + * Used to set a callback function that is called when there is no activity on + * the `Http2Session` after `msecs` milliseconds. The given `callback` is + * registered as a listener on the `'timeout'` event. + * @since v8.4.0 + */ + setTimeout(msecs: number, callback?: () => void): void; + /** + * Updates the current local settings for this `Http2Session` and sends a new`SETTINGS` frame to the connected HTTP/2 peer. + * + * Once called, the `http2session.pendingSettingsAck` property will be `true`while the session is waiting for the remote peer to acknowledge the new + * settings. + * + * The new settings will not become effective until the `SETTINGS` acknowledgment + * is received and the `'localSettings'` event is emitted. It is possible to send + * multiple `SETTINGS` frames while acknowledgment is still pending. + * @since v8.4.0 + * @param callback Callback that is called once the session is connected or right away if the session is already connected. + */ + settings( + settings: Settings, + callback?: (err: Error | null, settings: Settings, duration: number) => void, + ): void; + /** + * Calls `unref()` on this `Http2Session`instance's underlying `net.Socket`. + * @since v9.4.0 + */ + unref(): void; + addListener(event: "close", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener( + event: "frameError", + listener: (frameType: number, errorCode: number, streamID: number) => void, + ): this; + addListener( + event: "goaway", + listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void, + ): this; + addListener(event: "localSettings", listener: (settings: Settings) => void): this; + addListener(event: "ping", listener: () => void): this; + addListener(event: "remoteSettings", listener: (settings: Settings) => void): this; + addListener(event: "timeout", listener: () => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "close"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "frameError", frameType: number, errorCode: number, streamID: number): boolean; + emit(event: "goaway", errorCode: number, lastStreamID: number, opaqueData?: Buffer): boolean; + emit(event: "localSettings", settings: Settings): boolean; + emit(event: "ping"): boolean; + emit(event: "remoteSettings", settings: Settings): boolean; + emit(event: "timeout"): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "close", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; + on(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void): this; + on(event: "localSettings", listener: (settings: Settings) => void): this; + on(event: "ping", listener: () => void): this; + on(event: "remoteSettings", listener: (settings: Settings) => void): this; + on(event: "timeout", listener: () => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; + once(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void): this; + once(event: "localSettings", listener: (settings: Settings) => void): this; + once(event: "ping", listener: () => void): this; + once(event: "remoteSettings", listener: (settings: Settings) => void): this; + once(event: "timeout", listener: () => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener( + event: "frameError", + listener: (frameType: number, errorCode: number, streamID: number) => void, + ): this; + prependListener( + event: "goaway", + listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void, + ): this; + prependListener(event: "localSettings", listener: (settings: Settings) => void): this; + prependListener(event: "ping", listener: () => void): this; + prependListener(event: "remoteSettings", listener: (settings: Settings) => void): this; + prependListener(event: "timeout", listener: () => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener( + event: "frameError", + listener: (frameType: number, errorCode: number, streamID: number) => void, + ): this; + prependOnceListener( + event: "goaway", + listener: (errorCode: number, lastStreamID: number, opaqueData?: Buffer) => void, + ): this; + prependOnceListener(event: "localSettings", listener: (settings: Settings) => void): this; + prependOnceListener(event: "ping", listener: () => void): this; + prependOnceListener(event: "remoteSettings", listener: (settings: Settings) => void): this; + prependOnceListener(event: "timeout", listener: () => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + export interface ClientHttp2Session extends Http2Session { + /** + * For HTTP/2 Client `Http2Session` instances only, the `http2session.request()`creates and returns an `Http2Stream` instance that can be used to send an + * HTTP/2 request to the connected server. + * + * When a `ClientHttp2Session` is first created, the socket may not yet be + * connected. if `clienthttp2session.request()` is called during this time, the + * actual request will be deferred until the socket is ready to go. + * If the `session` is closed before the actual request be executed, an`ERR_HTTP2_GOAWAY_SESSION` is thrown. + * + * This method is only available if `http2session.type` is equal to`http2.constants.NGHTTP2_SESSION_CLIENT`. + * + * ```js + * const http2 = require('node:http2'); + * const clientSession = http2.connect('https://localhost:1234'); + * const { + * HTTP2_HEADER_PATH, + * HTTP2_HEADER_STATUS, + * } = http2.constants; + * + * const req = clientSession.request({ [HTTP2_HEADER_PATH]: '/' }); + * req.on('response', (headers) => { + * console.log(headers[HTTP2_HEADER_STATUS]); + * req.on('data', (chunk) => { // .. }); + * req.on('end', () => { // .. }); + * }); + * ``` + * + * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event + * is emitted immediately after queuing the last chunk of payload data to be sent. + * The `http2stream.sendTrailers()` method can then be called to send trailing + * headers to the peer. + * + * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically + * close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`. + * + * When `options.signal` is set with an `AbortSignal` and then `abort` on the + * corresponding `AbortController` is called, the request will emit an `'error'`event with an `AbortError` error. + * + * The `:method` and `:path` pseudo-headers are not specified within `headers`, + * they respectively default to: + * + * * `:method` \= `'GET'` + * * `:path` \= `/` + * @since v8.4.0 + */ + request(headers?: OutgoingHttpHeaders, options?: ClientSessionRequestOptions): ClientHttp2Stream; + addListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; + addListener(event: "origin", listener: (origins: string[]) => void): this; + addListener( + event: "connect", + listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + addListener( + event: "stream", + listener: ( + stream: ClientHttp2Stream, + headers: IncomingHttpHeaders & IncomingHttpStatusHeader, + flags: number, + ) => void, + ): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "altsvc", alt: string, origin: string, stream: number): boolean; + emit(event: "origin", origins: readonly string[]): boolean; + emit(event: "connect", session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket): boolean; + emit( + event: "stream", + stream: ClientHttp2Stream, + headers: IncomingHttpHeaders & IncomingHttpStatusHeader, + flags: number, + ): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; + on(event: "origin", listener: (origins: string[]) => void): this; + on(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; + on( + event: "stream", + listener: ( + stream: ClientHttp2Stream, + headers: IncomingHttpHeaders & IncomingHttpStatusHeader, + flags: number, + ) => void, + ): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; + once(event: "origin", listener: (origins: string[]) => void): this; + once( + event: "connect", + listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + once( + event: "stream", + listener: ( + stream: ClientHttp2Stream, + headers: IncomingHttpHeaders & IncomingHttpStatusHeader, + flags: number, + ) => void, + ): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; + prependListener(event: "origin", listener: (origins: string[]) => void): this; + prependListener( + event: "connect", + listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + prependListener( + event: "stream", + listener: ( + stream: ClientHttp2Stream, + headers: IncomingHttpHeaders & IncomingHttpStatusHeader, + flags: number, + ) => void, + ): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; + prependOnceListener(event: "origin", listener: (origins: string[]) => void): this; + prependOnceListener( + event: "connect", + listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + prependOnceListener( + event: "stream", + listener: ( + stream: ClientHttp2Stream, + headers: IncomingHttpHeaders & IncomingHttpStatusHeader, + flags: number, + ) => void, + ): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + export interface AlternativeServiceOptions { + origin: number | string | url.URL; + } + export interface ServerHttp2Session extends Http2Session { + readonly server: Http2Server | Http2SecureServer; + /** + * Submits an `ALTSVC` frame (as defined by [RFC 7838](https://tools.ietf.org/html/rfc7838)) to the connected client. + * + * ```js + * const http2 = require('node:http2'); + * + * const server = http2.createServer(); + * server.on('session', (session) => { + * // Set altsvc for origin https://example.org:80 + * session.altsvc('h2=":8000"', 'https://example.org:80'); + * }); + * + * server.on('stream', (stream) => { + * // Set altsvc for a specific stream + * stream.session.altsvc('h2=":8000"', stream.id); + * }); + * ``` + * + * Sending an `ALTSVC` frame with a specific stream ID indicates that the alternate + * service is associated with the origin of the given `Http2Stream`. + * + * The `alt` and origin string _must_ contain only ASCII bytes and are + * strictly interpreted as a sequence of ASCII bytes. The special value `'clear'`may be passed to clear any previously set alternative service for a given + * domain. + * + * When a string is passed for the `originOrStream` argument, it will be parsed as + * a URL and the origin will be derived. For instance, the origin for the + * HTTP URL `'https://example.org/foo/bar'` is the ASCII string`'https://example.org'`. An error will be thrown if either the given string + * cannot be parsed as a URL or if a valid origin cannot be derived. + * + * A `URL` object, or any object with an `origin` property, may be passed as`originOrStream`, in which case the value of the `origin` property will be + * used. The value of the `origin` property _must_ be a properly serialized + * ASCII origin. + * @since v9.4.0 + * @param alt A description of the alternative service configuration as defined by `RFC 7838`. + * @param originOrStream Either a URL string specifying the origin (or an `Object` with an `origin` property) or the numeric identifier of an active `Http2Stream` as given by the + * `http2stream.id` property. + */ + altsvc(alt: string, originOrStream: number | string | url.URL | AlternativeServiceOptions): void; + /** + * Submits an `ORIGIN` frame (as defined by [RFC 8336](https://tools.ietf.org/html/rfc8336)) to the connected client + * to advertise the set of origins for which the server is capable of providing + * authoritative responses. + * + * ```js + * const http2 = require('node:http2'); + * const options = getSecureOptionsSomehow(); + * const server = http2.createSecureServer(options); + * server.on('stream', (stream) => { + * stream.respond(); + * stream.end('ok'); + * }); + * server.on('session', (session) => { + * session.origin('https://example.com', 'https://example.org'); + * }); + * ``` + * + * When a string is passed as an `origin`, it will be parsed as a URL and the + * origin will be derived. For instance, the origin for the HTTP URL`'https://example.org/foo/bar'` is the ASCII string`'https://example.org'`. An error will be thrown if either the given + * string + * cannot be parsed as a URL or if a valid origin cannot be derived. + * + * A `URL` object, or any object with an `origin` property, may be passed as + * an `origin`, in which case the value of the `origin` property will be + * used. The value of the `origin` property _must_ be a properly serialized + * ASCII origin. + * + * Alternatively, the `origins` option may be used when creating a new HTTP/2 + * server using the `http2.createSecureServer()` method: + * + * ```js + * const http2 = require('node:http2'); + * const options = getSecureOptionsSomehow(); + * options.origins = ['https://example.com', 'https://example.org']; + * const server = http2.createSecureServer(options); + * server.on('stream', (stream) => { + * stream.respond(); + * stream.end('ok'); + * }); + * ``` + * @since v10.12.0 + * @param origins One or more URL Strings passed as separate arguments. + */ + origin( + ...origins: Array< + | string + | url.URL + | { + origin: string; + } + > + ): void; + addListener( + event: "connect", + listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + addListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "connect", session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket): boolean; + emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; + on( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once( + event: "connect", + listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + once( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener( + event: "connect", + listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + prependListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener( + event: "connect", + listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): this; + prependOnceListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + // Http2Server + export interface SessionOptions { + maxDeflateDynamicTableSize?: number | undefined; + maxSessionMemory?: number | undefined; + maxHeaderListPairs?: number | undefined; + maxOutstandingPings?: number | undefined; + maxSendHeaderBlockLength?: number | undefined; + paddingStrategy?: number | undefined; + peerMaxConcurrentStreams?: number | undefined; + settings?: Settings | undefined; + /** + * Specifies a timeout in milliseconds that + * a server should wait when an [`'unknownProtocol'`][] is emitted. If the + * socket has not been destroyed by that time the server will destroy it. + * @default 100000 + */ + unknownProtocolTimeout?: number | undefined; + selectPadding?(frameLen: number, maxFrameLen: number): number; + } + export interface ClientSessionOptions extends SessionOptions { + maxReservedRemoteStreams?: number | undefined; + createConnection?: ((authority: url.URL, option: SessionOptions) => stream.Duplex) | undefined; + protocol?: "http:" | "https:" | undefined; + } + export interface ServerSessionOptions extends SessionOptions { + Http1IncomingMessage?: typeof IncomingMessage | undefined; + Http1ServerResponse?: typeof ServerResponse | undefined; + Http2ServerRequest?: typeof Http2ServerRequest | undefined; + Http2ServerResponse?: typeof Http2ServerResponse | undefined; + } + export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions {} + export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions {} + export interface ServerOptions extends ServerSessionOptions {} + export interface SecureServerOptions extends SecureServerSessionOptions { + allowHTTP1?: boolean | undefined; + origins?: string[] | undefined; + } + interface HTTP2ServerCommon { + setTimeout(msec?: number, callback?: () => void): this; + /** + * Throws ERR_HTTP2_INVALID_SETTING_VALUE for invalid settings values. + * Throws ERR_INVALID_ARG_TYPE for invalid settings argument. + */ + updateSettings(settings: Settings): void; + } + export interface Http2Server extends net.Server, HTTP2ServerCommon { + addListener( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + addListener( + event: "request", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + addListener(event: "session", listener: (session: ServerHttp2Session) => void): this; + addListener(event: "sessionError", listener: (err: Error) => void): this; + addListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + addListener(event: "timeout", listener: () => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean; + emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean; + emit(event: "session", session: ServerHttp2Session): boolean; + emit(event: "sessionError", err: Error): boolean; + emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; + emit(event: "timeout"): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; + on(event: "session", listener: (session: ServerHttp2Session) => void): this; + on(event: "sessionError", listener: (err: Error) => void): this; + on( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + on(event: "timeout", listener: () => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; + once(event: "session", listener: (session: ServerHttp2Session) => void): this; + once(event: "sessionError", listener: (err: Error) => void): this; + once( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + once(event: "timeout", listener: () => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependListener( + event: "request", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this; + prependListener(event: "sessionError", listener: (err: Error) => void): this; + prependListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + prependListener(event: "timeout", listener: () => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependOnceListener( + event: "request", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this; + prependOnceListener(event: "sessionError", listener: (err: Error) => void): this; + prependOnceListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + prependOnceListener(event: "timeout", listener: () => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + export interface Http2SecureServer extends tls.Server, HTTP2ServerCommon { + addListener( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + addListener( + event: "request", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + addListener(event: "session", listener: (session: ServerHttp2Session) => void): this; + addListener(event: "sessionError", listener: (err: Error) => void): this; + addListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + addListener(event: "timeout", listener: () => void): this; + addListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean; + emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean; + emit(event: "session", session: ServerHttp2Session): boolean; + emit(event: "sessionError", err: Error): boolean; + emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; + emit(event: "timeout"): boolean; + emit(event: "unknownProtocol", socket: tls.TLSSocket): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; + on(event: "session", listener: (session: ServerHttp2Session) => void): this; + on(event: "sessionError", listener: (err: Error) => void): this; + on( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + on(event: "timeout", listener: () => void): this; + on(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; + once(event: "session", listener: (session: ServerHttp2Session) => void): this; + once(event: "sessionError", listener: (err: Error) => void): this; + once( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + once(event: "timeout", listener: () => void): this; + once(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependListener( + event: "request", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this; + prependListener(event: "sessionError", listener: (err: Error) => void): this; + prependListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + prependListener(event: "timeout", listener: () => void): this; + prependListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener( + event: "checkContinue", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependOnceListener( + event: "request", + listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): this; + prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this; + prependOnceListener(event: "sessionError", listener: (err: Error) => void): this; + prependOnceListener( + event: "stream", + listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void, + ): this; + prependOnceListener(event: "timeout", listener: () => void): this; + prependOnceListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + /** + * A `Http2ServerRequest` object is created by {@link Server} or {@link SecureServer} and passed as the first argument to the `'request'` event. It may be used to access a request status, + * headers, and + * data. + * @since v8.4.0 + */ + export class Http2ServerRequest extends stream.Readable { + constructor( + stream: ServerHttp2Stream, + headers: IncomingHttpHeaders, + options: stream.ReadableOptions, + rawHeaders: readonly string[], + ); + /** + * The `request.aborted` property will be `true` if the request has + * been aborted. + * @since v10.1.0 + */ + readonly aborted: boolean; + /** + * The request authority pseudo header field. Because HTTP/2 allows requests + * to set either `:authority` or `host`, this value is derived from`req.headers[':authority']` if present. Otherwise, it is derived from`req.headers['host']`. + * @since v8.4.0 + */ + readonly authority: string; + /** + * See `request.socket`. + * @since v8.4.0 + * @deprecated Since v13.0.0 - Use `socket`. + */ + readonly connection: net.Socket | tls.TLSSocket; + /** + * The `request.complete` property will be `true` if the request has + * been completed, aborted, or destroyed. + * @since v12.10.0 + */ + readonly complete: boolean; + /** + * The request/response headers object. + * + * Key-value pairs of header names and values. Header names are lower-cased. + * + * ```js + * // Prints something like: + * // + * // { 'user-agent': 'curl/7.22.0', + * // host: '127.0.0.1:8000', + * // accept: '*' } + * console.log(request.headers); + * ``` + * + * See `HTTP/2 Headers Object`. + * + * In HTTP/2, the request path, host name, protocol, and method are represented as + * special headers prefixed with the `:` character (e.g. `':path'`). These special + * headers will be included in the `request.headers` object. Care must be taken not + * to inadvertently modify these special headers or errors may occur. For instance, + * removing all headers from the request will cause errors to occur: + * + * ```js + * removeAllHeaders(request.headers); + * assert(request.url); // Fails because the :path header has been removed + * ``` + * @since v8.4.0 + */ + readonly headers: IncomingHttpHeaders; + /** + * In case of server request, the HTTP version sent by the client. In the case of + * client response, the HTTP version of the connected-to server. Returns`'2.0'`. + * + * Also `message.httpVersionMajor` is the first integer and`message.httpVersionMinor` is the second. + * @since v8.4.0 + */ + readonly httpVersion: string; + readonly httpVersionMinor: number; + readonly httpVersionMajor: number; + /** + * The request method as a string. Read-only. Examples: `'GET'`, `'DELETE'`. + * @since v8.4.0 + */ + readonly method: string; + /** + * The raw request/response headers list exactly as they were received. + * + * The keys and values are in the same list. It is _not_ a + * list of tuples. So, the even-numbered offsets are key values, and the + * odd-numbered offsets are the associated values. + * + * Header names are not lowercased, and duplicates are not merged. + * + * ```js + * // Prints something like: + * // + * // [ 'user-agent', + * // 'this is invalid because there can be only one', + * // 'User-Agent', + * // 'curl/7.22.0', + * // 'Host', + * // '127.0.0.1:8000', + * // 'ACCEPT', + * // '*' ] + * console.log(request.rawHeaders); + * ``` + * @since v8.4.0 + */ + readonly rawHeaders: string[]; + /** + * The raw request/response trailer keys and values exactly as they were + * received. Only populated at the `'end'` event. + * @since v8.4.0 + */ + readonly rawTrailers: string[]; + /** + * The request scheme pseudo header field indicating the scheme + * portion of the target URL. + * @since v8.4.0 + */ + readonly scheme: string; + /** + * Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but + * applies getters, setters, and methods based on HTTP/2 logic. + * + * `destroyed`, `readable`, and `writable` properties will be retrieved from and + * set on `request.stream`. + * + * `destroy`, `emit`, `end`, `on` and `once` methods will be called on`request.stream`. + * + * `setTimeout` method will be called on `request.stream.session`. + * + * `pause`, `read`, `resume`, and `write` will throw an error with code`ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for + * more information. + * + * All other interactions will be routed directly to the socket. With TLS support, + * use `request.socket.getPeerCertificate()` to obtain the client's + * authentication details. + * @since v8.4.0 + */ + readonly socket: net.Socket | tls.TLSSocket; + /** + * The `Http2Stream` object backing the request. + * @since v8.4.0 + */ + readonly stream: ServerHttp2Stream; + /** + * The request/response trailers object. Only populated at the `'end'` event. + * @since v8.4.0 + */ + readonly trailers: IncomingHttpHeaders; + /** + * Request URL string. This contains only the URL that is present in the actual + * HTTP request. If the request is: + * + * ```http + * GET /status?name=ryan HTTP/1.1 + * Accept: text/plain + * ``` + * + * Then `request.url` will be: + * + * ```js + * '/status?name=ryan' + * ``` + * + * To parse the url into its parts, `new URL()` can be used: + * + * ```console + * $ node + * > new URL('/status?name=ryan', 'http://example.com') + * URL { + * href: 'http://example.com/status?name=ryan', + * origin: 'http://example.com', + * protocol: 'http:', + * username: '', + * password: '', + * host: 'example.com', + * hostname: 'example.com', + * port: '', + * pathname: '/status', + * search: '?name=ryan', + * searchParams: URLSearchParams { 'name' => 'ryan' }, + * hash: '' + * } + * ``` + * @since v8.4.0 + */ + url: string; + /** + * Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is + * provided, then it is added as a listener on the `'timeout'` event on + * the response object. + * + * If no `'timeout'` listener is added to the request, the response, or + * the server, then `Http2Stream` s are destroyed when they time out. If a + * handler is assigned to the request, the response, or the server's `'timeout'`events, timed out sockets must be handled explicitly. + * @since v8.4.0 + */ + setTimeout(msecs: number, callback?: () => void): void; + read(size?: number): Buffer | string | null; + addListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "data", listener: (chunk: Buffer | string) => void): this; + addListener(event: "end", listener: () => void): this; + addListener(event: "readable", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "aborted", hadError: boolean, code: number): boolean; + emit(event: "close"): boolean; + emit(event: "data", chunk: Buffer | string): boolean; + emit(event: "end"): boolean; + emit(event: "readable"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "aborted", listener: (hadError: boolean, code: number) => void): this; + on(event: "close", listener: () => void): this; + on(event: "data", listener: (chunk: Buffer | string) => void): this; + on(event: "end", listener: () => void): this; + on(event: "readable", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "aborted", listener: (hadError: boolean, code: number) => void): this; + once(event: "close", listener: () => void): this; + once(event: "data", listener: (chunk: Buffer | string) => void): this; + once(event: "end", listener: () => void): this; + once(event: "readable", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; + prependListener(event: "end", listener: () => void): this; + prependListener(event: "readable", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; + prependOnceListener(event: "end", listener: () => void): this; + prependOnceListener(event: "readable", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + /** + * This object is created internally by an HTTP server, not by the user. It is + * passed as the second parameter to the `'request'` event. + * @since v8.4.0 + */ + export class Http2ServerResponse extends stream.Writable { + constructor(stream: ServerHttp2Stream); + /** + * See `response.socket`. + * @since v8.4.0 + * @deprecated Since v13.0.0 - Use `socket`. + */ + readonly connection: net.Socket | tls.TLSSocket; + /** + * Boolean value that indicates whether the response has completed. Starts + * as `false`. After `response.end()` executes, the value will be `true`. + * @since v8.4.0 + * @deprecated Since v13.4.0,v12.16.0 - Use `writableEnded`. + */ + readonly finished: boolean; + /** + * True if headers were sent, false otherwise (read-only). + * @since v8.4.0 + */ + readonly headersSent: boolean; + /** + * A reference to the original HTTP2 `request` object. + * @since v15.7.0 + */ + readonly req: Http2ServerRequest; + /** + * Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but + * applies getters, setters, and methods based on HTTP/2 logic. + * + * `destroyed`, `readable`, and `writable` properties will be retrieved from and + * set on `response.stream`. + * + * `destroy`, `emit`, `end`, `on` and `once` methods will be called on`response.stream`. + * + * `setTimeout` method will be called on `response.stream.session`. + * + * `pause`, `read`, `resume`, and `write` will throw an error with code`ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for + * more information. + * + * All other interactions will be routed directly to the socket. + * + * ```js + * const http2 = require('node:http2'); + * const server = http2.createServer((req, res) => { + * const ip = req.socket.remoteAddress; + * const port = req.socket.remotePort; + * res.end(`Your IP address is ${ip} and your source port is ${port}.`); + * }).listen(3000); + * ``` + * @since v8.4.0 + */ + readonly socket: net.Socket | tls.TLSSocket; + /** + * The `Http2Stream` object backing the response. + * @since v8.4.0 + */ + readonly stream: ServerHttp2Stream; + /** + * When true, the Date header will be automatically generated and sent in + * the response if it is not already present in the headers. Defaults to true. + * + * This should only be disabled for testing; HTTP requires the Date header + * in responses. + * @since v8.4.0 + */ + sendDate: boolean; + /** + * When using implicit headers (not calling `response.writeHead()` explicitly), + * this property controls the status code that will be sent to the client when + * the headers get flushed. + * + * ```js + * response.statusCode = 404; + * ``` + * + * After response header was sent to the client, this property indicates the + * status code which was sent out. + * @since v8.4.0 + */ + statusCode: number; + /** + * Status message is not supported by HTTP/2 (RFC 7540 8.1.2.4). It returns + * an empty string. + * @since v8.4.0 + */ + statusMessage: ""; + /** + * This method adds HTTP trailing headers (a header but at the end of the + * message) to the response. + * + * Attempting to set a header field name or value that contains invalid characters + * will result in a `TypeError` being thrown. + * @since v8.4.0 + */ + addTrailers(trailers: OutgoingHttpHeaders): void; + /** + * This method signals to the server that all of the response headers and body + * have been sent; that server should consider this message complete. + * The method, `response.end()`, MUST be called on each response. + * + * If `data` is specified, it is equivalent to calling `response.write(data, encoding)` followed by `response.end(callback)`. + * + * If `callback` is specified, it will be called when the response stream + * is finished. + * @since v8.4.0 + */ + end(callback?: () => void): this; + end(data: string | Uint8Array, callback?: () => void): this; + end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): this; + /** + * Reads out a header that has already been queued but not sent to the client. + * The name is case-insensitive. + * + * ```js + * const contentType = response.getHeader('content-type'); + * ``` + * @since v8.4.0 + */ + getHeader(name: string): string; + /** + * Returns an array containing the unique names of the current outgoing headers. + * All header names are lowercase. + * + * ```js + * response.setHeader('Foo', 'bar'); + * response.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); + * + * const headerNames = response.getHeaderNames(); + * // headerNames === ['foo', 'set-cookie'] + * ``` + * @since v8.4.0 + */ + getHeaderNames(): string[]; + /** + * Returns a shallow copy of the current outgoing headers. Since a shallow copy + * is used, array values may be mutated without additional calls to various + * header-related http module methods. The keys of the returned object are the + * header names and the values are the respective header values. All header names + * are lowercase. + * + * The object returned by the `response.getHeaders()` method _does not_prototypically inherit from the JavaScript `Object`. This means that typical`Object` methods such as `obj.toString()`, + * `obj.hasOwnProperty()`, and others + * are not defined and _will not work_. + * + * ```js + * response.setHeader('Foo', 'bar'); + * response.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']); + * + * const headers = response.getHeaders(); + * // headers === { foo: 'bar', 'set-cookie': ['foo=bar', 'bar=baz'] } + * ``` + * @since v8.4.0 + */ + getHeaders(): OutgoingHttpHeaders; + /** + * Returns `true` if the header identified by `name` is currently set in the + * outgoing headers. The header name matching is case-insensitive. + * + * ```js + * const hasContentType = response.hasHeader('content-type'); + * ``` + * @since v8.4.0 + */ + hasHeader(name: string): boolean; + /** + * Removes a header that has been queued for implicit sending. + * + * ```js + * response.removeHeader('Content-Encoding'); + * ``` + * @since v8.4.0 + */ + removeHeader(name: string): void; + /** + * Sets a single header value for implicit headers. If this header already exists + * in the to-be-sent headers, its value will be replaced. Use an array of strings + * here to send multiple headers with the same name. + * + * ```js + * response.setHeader('Content-Type', 'text/html; charset=utf-8'); + * ``` + * + * or + * + * ```js + * response.setHeader('Set-Cookie', ['type=ninja', 'language=javascript']); + * ``` + * + * Attempting to set a header field name or value that contains invalid characters + * will result in a `TypeError` being thrown. + * + * When headers have been set with `response.setHeader()`, they will be merged + * with any headers passed to `response.writeHead()`, with the headers passed + * to `response.writeHead()` given precedence. + * + * ```js + * // Returns content-type = text/plain + * const server = http2.createServer((req, res) => { + * res.setHeader('Content-Type', 'text/html; charset=utf-8'); + * res.setHeader('X-Foo', 'bar'); + * res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' }); + * res.end('ok'); + * }); + * ``` + * @since v8.4.0 + */ + setHeader(name: string, value: number | string | readonly string[]): void; + /** + * Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is + * provided, then it is added as a listener on the `'timeout'` event on + * the response object. + * + * If no `'timeout'` listener is added to the request, the response, or + * the server, then `Http2Stream` s are destroyed when they time out. If a + * handler is assigned to the request, the response, or the server's `'timeout'`events, timed out sockets must be handled explicitly. + * @since v8.4.0 + */ + setTimeout(msecs: number, callback?: () => void): void; + /** + * If this method is called and `response.writeHead()` has not been called, + * it will switch to implicit header mode and flush the implicit headers. + * + * This sends a chunk of the response body. This method may + * be called multiple times to provide successive parts of the body. + * + * In the `node:http` module, the response body is omitted when the + * request is a HEAD request. Similarly, the `204` and `304` responses _must not_ include a message body. + * + * `chunk` can be a string or a buffer. If `chunk` is a string, + * the second parameter specifies how to encode it into a byte stream. + * By default the `encoding` is `'utf8'`. `callback` will be called when this chunk + * of data is flushed. + * + * This is the raw HTTP body and has nothing to do with higher-level multi-part + * body encodings that may be used. + * + * The first time `response.write()` is called, it will send the buffered + * header information and the first chunk of the body to the client. The second + * time `response.write()` is called, Node.js assumes data will be streamed, + * and sends the new data separately. That is, the response is buffered up to the + * first chunk of the body. + * + * Returns `true` if the entire data was flushed successfully to the kernel + * buffer. Returns `false` if all or part of the data was queued in user memory.`'drain'` will be emitted when the buffer is free again. + * @since v8.4.0 + */ + write(chunk: string | Uint8Array, callback?: (err: Error) => void): boolean; + write(chunk: string | Uint8Array, encoding: BufferEncoding, callback?: (err: Error) => void): boolean; + /** + * Sends a status `100 Continue` to the client, indicating that the request body + * should be sent. See the `'checkContinue'` event on `Http2Server` and`Http2SecureServer`. + * @since v8.4.0 + */ + writeContinue(): void; + /** + * Sends a status `103 Early Hints` to the client with a Link header, + * indicating that the user agent can preload/preconnect the linked resources. + * The `hints` is an object containing the values of headers to be sent with + * early hints message. + * + * **Example** + * + * ```js + * const earlyHintsLink = '; rel=preload; as=style'; + * response.writeEarlyHints({ + * 'link': earlyHintsLink, + * }); + * + * const earlyHintsLinks = [ + * '; rel=preload; as=style', + * '; rel=preload; as=script', + * ]; + * response.writeEarlyHints({ + * 'link': earlyHintsLinks, + * }); + * ``` + * @since v18.11.0 + */ + writeEarlyHints(hints: Record): void; + /** + * Sends a response header to the request. The status code is a 3-digit HTTP + * status code, like `404`. The last argument, `headers`, are the response headers. + * + * Returns a reference to the `Http2ServerResponse`, so that calls can be chained. + * + * For compatibility with `HTTP/1`, a human-readable `statusMessage` may be + * passed as the second argument. However, because the `statusMessage` has no + * meaning within HTTP/2, the argument will have no effect and a process warning + * will be emitted. + * + * ```js + * const body = 'hello world'; + * response.writeHead(200, { + * 'Content-Length': Buffer.byteLength(body), + * 'Content-Type': 'text/plain; charset=utf-8', + * }); + * ``` + * + * `Content-Length` is given in bytes not characters. The`Buffer.byteLength()` API may be used to determine the number of bytes in a + * given encoding. On outbound messages, Node.js does not check if Content-Length + * and the length of the body being transmitted are equal or not. However, when + * receiving messages, Node.js will automatically reject messages when the`Content-Length` does not match the actual payload size. + * + * This method may be called at most one time on a message before `response.end()` is called. + * + * If `response.write()` or `response.end()` are called before calling + * this, the implicit/mutable headers will be calculated and call this function. + * + * When headers have been set with `response.setHeader()`, they will be merged + * with any headers passed to `response.writeHead()`, with the headers passed + * to `response.writeHead()` given precedence. + * + * ```js + * // Returns content-type = text/plain + * const server = http2.createServer((req, res) => { + * res.setHeader('Content-Type', 'text/html; charset=utf-8'); + * res.setHeader('X-Foo', 'bar'); + * res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' }); + * res.end('ok'); + * }); + * ``` + * + * Attempting to set a header field name or value that contains invalid characters + * will result in a `TypeError` being thrown. + * @since v8.4.0 + */ + writeHead(statusCode: number, headers?: OutgoingHttpHeaders): this; + writeHead(statusCode: number, statusMessage: string, headers?: OutgoingHttpHeaders): this; + /** + * Call `http2stream.pushStream()` with the given headers, and wrap the + * given `Http2Stream` on a newly created `Http2ServerResponse` as the callback + * parameter if successful. When `Http2ServerRequest` is closed, the callback is + * called with an error `ERR_HTTP2_INVALID_STREAM`. + * @since v8.4.0 + * @param headers An object describing the headers + * @param callback Called once `http2stream.pushStream()` is finished, or either when the attempt to create the pushed `Http2Stream` has failed or has been rejected, or the state of + * `Http2ServerRequest` is closed prior to calling the `http2stream.pushStream()` method + */ + createPushResponse( + headers: OutgoingHttpHeaders, + callback: (err: Error | null, res: Http2ServerResponse) => void, + ): void; + addListener(event: "close", listener: () => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "error", listener: (error: Error) => void): this; + addListener(event: "finish", listener: () => void): this; + addListener(event: "pipe", listener: (src: stream.Readable) => void): this; + addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "close"): boolean; + emit(event: "drain"): boolean; + emit(event: "error", error: Error): boolean; + emit(event: "finish"): boolean; + emit(event: "pipe", src: stream.Readable): boolean; + emit(event: "unpipe", src: stream.Readable): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "close", listener: () => void): this; + on(event: "drain", listener: () => void): this; + on(event: "error", listener: (error: Error) => void): this; + on(event: "finish", listener: () => void): this; + on(event: "pipe", listener: (src: stream.Readable) => void): this; + on(event: "unpipe", listener: (src: stream.Readable) => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "drain", listener: () => void): this; + once(event: "error", listener: (error: Error) => void): this; + once(event: "finish", listener: () => void): this; + once(event: "pipe", listener: (src: stream.Readable) => void): this; + once(event: "unpipe", listener: (src: stream.Readable) => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "error", listener: (error: Error) => void): this; + prependListener(event: "finish", listener: () => void): this; + prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "error", listener: (error: Error) => void): this; + prependOnceListener(event: "finish", listener: () => void): this; + prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + export namespace constants { + const NGHTTP2_SESSION_SERVER: number; + const NGHTTP2_SESSION_CLIENT: number; + const NGHTTP2_STREAM_STATE_IDLE: number; + const NGHTTP2_STREAM_STATE_OPEN: number; + const NGHTTP2_STREAM_STATE_RESERVED_LOCAL: number; + const NGHTTP2_STREAM_STATE_RESERVED_REMOTE: number; + const NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL: number; + const NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE: number; + const NGHTTP2_STREAM_STATE_CLOSED: number; + const NGHTTP2_NO_ERROR: number; + const NGHTTP2_PROTOCOL_ERROR: number; + const NGHTTP2_INTERNAL_ERROR: number; + const NGHTTP2_FLOW_CONTROL_ERROR: number; + const NGHTTP2_SETTINGS_TIMEOUT: number; + const NGHTTP2_STREAM_CLOSED: number; + const NGHTTP2_FRAME_SIZE_ERROR: number; + const NGHTTP2_REFUSED_STREAM: number; + const NGHTTP2_CANCEL: number; + const NGHTTP2_COMPRESSION_ERROR: number; + const NGHTTP2_CONNECT_ERROR: number; + const NGHTTP2_ENHANCE_YOUR_CALM: number; + const NGHTTP2_INADEQUATE_SECURITY: number; + const NGHTTP2_HTTP_1_1_REQUIRED: number; + const NGHTTP2_ERR_FRAME_SIZE_ERROR: number; + const NGHTTP2_FLAG_NONE: number; + const NGHTTP2_FLAG_END_STREAM: number; + const NGHTTP2_FLAG_END_HEADERS: number; + const NGHTTP2_FLAG_ACK: number; + const NGHTTP2_FLAG_PADDED: number; + const NGHTTP2_FLAG_PRIORITY: number; + const DEFAULT_SETTINGS_HEADER_TABLE_SIZE: number; + const DEFAULT_SETTINGS_ENABLE_PUSH: number; + const DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE: number; + const DEFAULT_SETTINGS_MAX_FRAME_SIZE: number; + const MAX_MAX_FRAME_SIZE: number; + const MIN_MAX_FRAME_SIZE: number; + const MAX_INITIAL_WINDOW_SIZE: number; + const NGHTTP2_DEFAULT_WEIGHT: number; + const NGHTTP2_SETTINGS_HEADER_TABLE_SIZE: number; + const NGHTTP2_SETTINGS_ENABLE_PUSH: number; + const NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS: number; + const NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE: number; + const NGHTTP2_SETTINGS_MAX_FRAME_SIZE: number; + const NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE: number; + const PADDING_STRATEGY_NONE: number; + const PADDING_STRATEGY_MAX: number; + const PADDING_STRATEGY_CALLBACK: number; + const HTTP2_HEADER_STATUS: string; + const HTTP2_HEADER_METHOD: string; + const HTTP2_HEADER_AUTHORITY: string; + const HTTP2_HEADER_SCHEME: string; + const HTTP2_HEADER_PATH: string; + const HTTP2_HEADER_ACCEPT_CHARSET: string; + const HTTP2_HEADER_ACCEPT_ENCODING: string; + const HTTP2_HEADER_ACCEPT_LANGUAGE: string; + const HTTP2_HEADER_ACCEPT_RANGES: string; + const HTTP2_HEADER_ACCEPT: string; + const HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN: string; + const HTTP2_HEADER_AGE: string; + const HTTP2_HEADER_ALLOW: string; + const HTTP2_HEADER_AUTHORIZATION: string; + const HTTP2_HEADER_CACHE_CONTROL: string; + const HTTP2_HEADER_CONNECTION: string; + const HTTP2_HEADER_CONTENT_DISPOSITION: string; + const HTTP2_HEADER_CONTENT_ENCODING: string; + const HTTP2_HEADER_CONTENT_LANGUAGE: string; + const HTTP2_HEADER_CONTENT_LENGTH: string; + const HTTP2_HEADER_CONTENT_LOCATION: string; + const HTTP2_HEADER_CONTENT_MD5: string; + const HTTP2_HEADER_CONTENT_RANGE: string; + const HTTP2_HEADER_CONTENT_TYPE: string; + const HTTP2_HEADER_COOKIE: string; + const HTTP2_HEADER_DATE: string; + const HTTP2_HEADER_ETAG: string; + const HTTP2_HEADER_EXPECT: string; + const HTTP2_HEADER_EXPIRES: string; + const HTTP2_HEADER_FROM: string; + const HTTP2_HEADER_HOST: string; + const HTTP2_HEADER_IF_MATCH: string; + const HTTP2_HEADER_IF_MODIFIED_SINCE: string; + const HTTP2_HEADER_IF_NONE_MATCH: string; + const HTTP2_HEADER_IF_RANGE: string; + const HTTP2_HEADER_IF_UNMODIFIED_SINCE: string; + const HTTP2_HEADER_LAST_MODIFIED: string; + const HTTP2_HEADER_LINK: string; + const HTTP2_HEADER_LOCATION: string; + const HTTP2_HEADER_MAX_FORWARDS: string; + const HTTP2_HEADER_PREFER: string; + const HTTP2_HEADER_PROXY_AUTHENTICATE: string; + const HTTP2_HEADER_PROXY_AUTHORIZATION: string; + const HTTP2_HEADER_RANGE: string; + const HTTP2_HEADER_REFERER: string; + const HTTP2_HEADER_REFRESH: string; + const HTTP2_HEADER_RETRY_AFTER: string; + const HTTP2_HEADER_SERVER: string; + const HTTP2_HEADER_SET_COOKIE: string; + const HTTP2_HEADER_STRICT_TRANSPORT_SECURITY: string; + const HTTP2_HEADER_TRANSFER_ENCODING: string; + const HTTP2_HEADER_TE: string; + const HTTP2_HEADER_UPGRADE: string; + const HTTP2_HEADER_USER_AGENT: string; + const HTTP2_HEADER_VARY: string; + const HTTP2_HEADER_VIA: string; + const HTTP2_HEADER_WWW_AUTHENTICATE: string; + const HTTP2_HEADER_HTTP2_SETTINGS: string; + const HTTP2_HEADER_KEEP_ALIVE: string; + const HTTP2_HEADER_PROXY_CONNECTION: string; + const HTTP2_METHOD_ACL: string; + const HTTP2_METHOD_BASELINE_CONTROL: string; + const HTTP2_METHOD_BIND: string; + const HTTP2_METHOD_CHECKIN: string; + const HTTP2_METHOD_CHECKOUT: string; + const HTTP2_METHOD_CONNECT: string; + const HTTP2_METHOD_COPY: string; + const HTTP2_METHOD_DELETE: string; + const HTTP2_METHOD_GET: string; + const HTTP2_METHOD_HEAD: string; + const HTTP2_METHOD_LABEL: string; + const HTTP2_METHOD_LINK: string; + const HTTP2_METHOD_LOCK: string; + const HTTP2_METHOD_MERGE: string; + const HTTP2_METHOD_MKACTIVITY: string; + const HTTP2_METHOD_MKCALENDAR: string; + const HTTP2_METHOD_MKCOL: string; + const HTTP2_METHOD_MKREDIRECTREF: string; + const HTTP2_METHOD_MKWORKSPACE: string; + const HTTP2_METHOD_MOVE: string; + const HTTP2_METHOD_OPTIONS: string; + const HTTP2_METHOD_ORDERPATCH: string; + const HTTP2_METHOD_PATCH: string; + const HTTP2_METHOD_POST: string; + const HTTP2_METHOD_PRI: string; + const HTTP2_METHOD_PROPFIND: string; + const HTTP2_METHOD_PROPPATCH: string; + const HTTP2_METHOD_PUT: string; + const HTTP2_METHOD_REBIND: string; + const HTTP2_METHOD_REPORT: string; + const HTTP2_METHOD_SEARCH: string; + const HTTP2_METHOD_TRACE: string; + const HTTP2_METHOD_UNBIND: string; + const HTTP2_METHOD_UNCHECKOUT: string; + const HTTP2_METHOD_UNLINK: string; + const HTTP2_METHOD_UNLOCK: string; + const HTTP2_METHOD_UPDATE: string; + const HTTP2_METHOD_UPDATEREDIRECTREF: string; + const HTTP2_METHOD_VERSION_CONTROL: string; + const HTTP_STATUS_CONTINUE: number; + const HTTP_STATUS_SWITCHING_PROTOCOLS: number; + const HTTP_STATUS_PROCESSING: number; + const HTTP_STATUS_OK: number; + const HTTP_STATUS_CREATED: number; + const HTTP_STATUS_ACCEPTED: number; + const HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION: number; + const HTTP_STATUS_NO_CONTENT: number; + const HTTP_STATUS_RESET_CONTENT: number; + const HTTP_STATUS_PARTIAL_CONTENT: number; + const HTTP_STATUS_MULTI_STATUS: number; + const HTTP_STATUS_ALREADY_REPORTED: number; + const HTTP_STATUS_IM_USED: number; + const HTTP_STATUS_MULTIPLE_CHOICES: number; + const HTTP_STATUS_MOVED_PERMANENTLY: number; + const HTTP_STATUS_FOUND: number; + const HTTP_STATUS_SEE_OTHER: number; + const HTTP_STATUS_NOT_MODIFIED: number; + const HTTP_STATUS_USE_PROXY: number; + const HTTP_STATUS_TEMPORARY_REDIRECT: number; + const HTTP_STATUS_PERMANENT_REDIRECT: number; + const HTTP_STATUS_BAD_REQUEST: number; + const HTTP_STATUS_UNAUTHORIZED: number; + const HTTP_STATUS_PAYMENT_REQUIRED: number; + const HTTP_STATUS_FORBIDDEN: number; + const HTTP_STATUS_NOT_FOUND: number; + const HTTP_STATUS_METHOD_NOT_ALLOWED: number; + const HTTP_STATUS_NOT_ACCEPTABLE: number; + const HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED: number; + const HTTP_STATUS_REQUEST_TIMEOUT: number; + const HTTP_STATUS_CONFLICT: number; + const HTTP_STATUS_GONE: number; + const HTTP_STATUS_LENGTH_REQUIRED: number; + const HTTP_STATUS_PRECONDITION_FAILED: number; + const HTTP_STATUS_PAYLOAD_TOO_LARGE: number; + const HTTP_STATUS_URI_TOO_LONG: number; + const HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE: number; + const HTTP_STATUS_RANGE_NOT_SATISFIABLE: number; + const HTTP_STATUS_EXPECTATION_FAILED: number; + const HTTP_STATUS_TEAPOT: number; + const HTTP_STATUS_MISDIRECTED_REQUEST: number; + const HTTP_STATUS_UNPROCESSABLE_ENTITY: number; + const HTTP_STATUS_LOCKED: number; + const HTTP_STATUS_FAILED_DEPENDENCY: number; + const HTTP_STATUS_UNORDERED_COLLECTION: number; + const HTTP_STATUS_UPGRADE_REQUIRED: number; + const HTTP_STATUS_PRECONDITION_REQUIRED: number; + const HTTP_STATUS_TOO_MANY_REQUESTS: number; + const HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE: number; + const HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS: number; + const HTTP_STATUS_INTERNAL_SERVER_ERROR: number; + const HTTP_STATUS_NOT_IMPLEMENTED: number; + const HTTP_STATUS_BAD_GATEWAY: number; + const HTTP_STATUS_SERVICE_UNAVAILABLE: number; + const HTTP_STATUS_GATEWAY_TIMEOUT: number; + const HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED: number; + const HTTP_STATUS_VARIANT_ALSO_NEGOTIATES: number; + const HTTP_STATUS_INSUFFICIENT_STORAGE: number; + const HTTP_STATUS_LOOP_DETECTED: number; + const HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED: number; + const HTTP_STATUS_NOT_EXTENDED: number; + const HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED: number; + } + /** + * This symbol can be set as a property on the HTTP/2 headers object with + * an array value in order to provide a list of headers considered sensitive. + */ + export const sensitiveHeaders: symbol; + /** + * Returns an object containing the default settings for an `Http2Session`instance. This method returns a new object instance every time it is called + * so instances returned may be safely modified for use. + * @since v8.4.0 + */ + export function getDefaultSettings(): Settings; + /** + * Returns a `Buffer` instance containing serialized representation of the given + * HTTP/2 settings as specified in the [HTTP/2](https://tools.ietf.org/html/rfc7540) specification. This is intended + * for use with the `HTTP2-Settings` header field. + * + * ```js + * const http2 = require('node:http2'); + * + * const packed = http2.getPackedSettings({ enablePush: false }); + * + * console.log(packed.toString('base64')); + * // Prints: AAIAAAAA + * ``` + * @since v8.4.0 + */ + export function getPackedSettings(settings: Settings): Buffer; + /** + * Returns a `HTTP/2 Settings Object` containing the deserialized settings from + * the given `Buffer` as generated by `http2.getPackedSettings()`. + * @since v8.4.0 + * @param buf The packed settings. + */ + export function getUnpackedSettings(buf: Uint8Array): Settings; + /** + * Returns a `net.Server` instance that creates and manages `Http2Session`instances. + * + * Since there are no browsers known that support [unencrypted HTTP/2](https://http2.github.io/faq/#does-http2-require-encryption), the use of {@link createSecureServer} is necessary when + * communicating + * with browser clients. + * + * ```js + * const http2 = require('node:http2'); + * + * // Create an unencrypted HTTP/2 server. + * // Since there are no browsers known that support + * // unencrypted HTTP/2, the use of `http2.createSecureServer()` + * // is necessary when communicating with browser clients. + * const server = http2.createServer(); + * + * server.on('stream', (stream, headers) => { + * stream.respond({ + * 'content-type': 'text/html; charset=utf-8', + * ':status': 200, + * }); + * stream.end('

    Hello World

    '); + * }); + * + * server.listen(8000); + * ``` + * @since v8.4.0 + * @param onRequestHandler See `Compatibility API` + */ + export function createServer( + onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): Http2Server; + export function createServer( + options: ServerOptions, + onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): Http2Server; + /** + * Returns a `tls.Server` instance that creates and manages `Http2Session`instances. + * + * ```js + * const http2 = require('node:http2'); + * const fs = require('node:fs'); + * + * const options = { + * key: fs.readFileSync('server-key.pem'), + * cert: fs.readFileSync('server-cert.pem'), + * }; + * + * // Create a secure HTTP/2 server + * const server = http2.createSecureServer(options); + * + * server.on('stream', (stream, headers) => { + * stream.respond({ + * 'content-type': 'text/html; charset=utf-8', + * ':status': 200, + * }); + * stream.end('

    Hello World

    '); + * }); + * + * server.listen(8443); + * ``` + * @since v8.4.0 + * @param onRequestHandler See `Compatibility API` + */ + export function createSecureServer( + onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): Http2SecureServer; + export function createSecureServer( + options: SecureServerOptions, + onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void, + ): Http2SecureServer; + /** + * Returns a `ClientHttp2Session` instance. + * + * ```js + * const http2 = require('node:http2'); + * const client = http2.connect('https://localhost:1234'); + * + * // Use the client + * + * client.close(); + * ``` + * @since v8.4.0 + * @param authority The remote HTTP/2 server to connect to. This must be in the form of a minimal, valid URL with the `http://` or `https://` prefix, host name, and IP port (if a non-default port + * is used). Userinfo (user ID and password), path, querystring, and fragment details in the URL will be ignored. + * @param listener Will be registered as a one-time listener of the {@link 'connect'} event. + */ + export function connect( + authority: string | url.URL, + listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): ClientHttp2Session; + export function connect( + authority: string | url.URL, + options?: ClientSessionOptions | SecureClientSessionOptions, + listener?: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void, + ): ClientHttp2Session; +} +declare module "node:http2" { + export * from "http2"; +} diff --git a/node_modules/@types/node/ts4.8/https.d.ts b/node_modules/@types/node/ts4.8/https.d.ts new file mode 100644 index 000000000..36ae5b2f5 --- /dev/null +++ b/node_modules/@types/node/ts4.8/https.d.ts @@ -0,0 +1,550 @@ +/** + * HTTPS is the HTTP protocol over TLS/SSL. In Node.js this is implemented as a + * separate module. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/https.js) + */ +declare module "https" { + import { Duplex } from "node:stream"; + import * as tls from "node:tls"; + import * as http from "node:http"; + import { URL } from "node:url"; + type ServerOptions< + Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, + Response extends typeof http.ServerResponse = typeof http.ServerResponse, + > = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions; + type RequestOptions = + & http.RequestOptions + & tls.SecureContextOptions + & { + checkServerIdentity?: typeof tls.checkServerIdentity | undefined; + rejectUnauthorized?: boolean | undefined; // Defaults to true + servername?: string | undefined; // SNI TLS Extension + }; + interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions { + rejectUnauthorized?: boolean | undefined; + maxCachedSessions?: number | undefined; + } + /** + * An `Agent` object for HTTPS similar to `http.Agent`. See {@link request} for more information. + * @since v0.4.5 + */ + class Agent extends http.Agent { + constructor(options?: AgentOptions); + options: AgentOptions; + } + interface Server< + Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, + Response extends typeof http.ServerResponse = typeof http.ServerResponse, + > extends http.Server {} + /** + * See `http.Server` for more information. + * @since v0.3.4 + */ + class Server< + Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, + Response extends typeof http.ServerResponse = typeof http.ServerResponse, + > extends tls.Server { + constructor(requestListener?: http.RequestListener); + constructor( + options: ServerOptions, + requestListener?: http.RequestListener, + ); + /** + * Closes all connections connected to this server. + * @since v18.2.0 + */ + closeAllConnections(): void; + /** + * Closes all connections connected to this server which are not sending a request or waiting for a response. + * @since v18.2.0 + */ + closeIdleConnections(): void; + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; + addListener( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, + ): this; + addListener( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + addListener( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, + ): this; + addListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; + addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "connection", listener: (socket: Duplex) => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "listening", listener: () => void): this; + addListener(event: "checkContinue", listener: http.RequestListener): this; + addListener(event: "checkExpectation", listener: http.RequestListener): this; + addListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; + addListener( + event: "connect", + listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, + ): this; + addListener(event: "request", listener: http.RequestListener): this; + addListener( + event: "upgrade", + listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, + ): this; + emit(event: string, ...args: any[]): boolean; + emit(event: "keylog", line: Buffer, tlsSocket: tls.TLSSocket): boolean; + emit( + event: "newSession", + sessionId: Buffer, + sessionData: Buffer, + callback: (err: Error, resp: Buffer) => void, + ): boolean; + emit( + event: "OCSPRequest", + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ): boolean; + emit(event: "resumeSession", sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void): boolean; + emit(event: "secureConnection", tlsSocket: tls.TLSSocket): boolean; + emit(event: "tlsClientError", err: Error, tlsSocket: tls.TLSSocket): boolean; + emit(event: "close"): boolean; + emit(event: "connection", socket: Duplex): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "listening"): boolean; + emit( + event: "checkContinue", + req: InstanceType, + res: InstanceType & { + req: InstanceType; + }, + ): boolean; + emit( + event: "checkExpectation", + req: InstanceType, + res: InstanceType & { + req: InstanceType; + }, + ): boolean; + emit(event: "clientError", err: Error, socket: Duplex): boolean; + emit(event: "connect", req: InstanceType, socket: Duplex, head: Buffer): boolean; + emit( + event: "request", + req: InstanceType, + res: InstanceType & { + req: InstanceType; + }, + ): boolean; + emit(event: "upgrade", req: InstanceType, socket: Duplex, head: Buffer): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; + on( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, + ): this; + on( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + on( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, + ): this; + on(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; + on(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; + on(event: "close", listener: () => void): this; + on(event: "connection", listener: (socket: Duplex) => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "listening", listener: () => void): this; + on(event: "checkContinue", listener: http.RequestListener): this; + on(event: "checkExpectation", listener: http.RequestListener): this; + on(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; + on(event: "connect", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; + on(event: "request", listener: http.RequestListener): this; + on(event: "upgrade", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; + once( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, + ): this; + once( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + once( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, + ): this; + once(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; + once(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; + once(event: "close", listener: () => void): this; + once(event: "connection", listener: (socket: Duplex) => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "listening", listener: () => void): this; + once(event: "checkContinue", listener: http.RequestListener): this; + once(event: "checkExpectation", listener: http.RequestListener): this; + once(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; + once(event: "connect", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; + once(event: "request", listener: http.RequestListener): this; + once(event: "upgrade", listener: (req: InstanceType, socket: Duplex, head: Buffer) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; + prependListener( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, + ): this; + prependListener( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + prependListener( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, + ): this; + prependListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; + prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "connection", listener: (socket: Duplex) => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "listening", listener: () => void): this; + prependListener(event: "checkContinue", listener: http.RequestListener): this; + prependListener(event: "checkExpectation", listener: http.RequestListener): this; + prependListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; + prependListener( + event: "connect", + listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, + ): this; + prependListener(event: "request", listener: http.RequestListener): this; + prependListener( + event: "upgrade", + listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, + ): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "keylog", listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this; + prependOnceListener( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void, + ): this; + prependOnceListener( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + prependOnceListener( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void, + ): this; + prependOnceListener(event: "secureConnection", listener: (tlsSocket: tls.TLSSocket) => void): this; + prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "connection", listener: (socket: Duplex) => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "listening", listener: () => void): this; + prependOnceListener(event: "checkContinue", listener: http.RequestListener): this; + prependOnceListener(event: "checkExpectation", listener: http.RequestListener): this; + prependOnceListener(event: "clientError", listener: (err: Error, socket: Duplex) => void): this; + prependOnceListener( + event: "connect", + listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, + ): this; + prependOnceListener(event: "request", listener: http.RequestListener): this; + prependOnceListener( + event: "upgrade", + listener: (req: InstanceType, socket: Duplex, head: Buffer) => void, + ): this; + } + /** + * ```js + * // curl -k https://localhost:8000/ + * const https = require('node:https'); + * const fs = require('node:fs'); + * + * const options = { + * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'), + * cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'), + * }; + * + * https.createServer(options, (req, res) => { + * res.writeHead(200); + * res.end('hello world\n'); + * }).listen(8000); + * ``` + * + * Or + * + * ```js + * const https = require('node:https'); + * const fs = require('node:fs'); + * + * const options = { + * pfx: fs.readFileSync('test/fixtures/test_cert.pfx'), + * passphrase: 'sample', + * }; + * + * https.createServer(options, (req, res) => { + * res.writeHead(200); + * res.end('hello world\n'); + * }).listen(8000); + * ``` + * @since v0.3.4 + * @param options Accepts `options` from `createServer`, `createSecureContext` and `createServer`. + * @param requestListener A listener to be added to the `'request'` event. + */ + function createServer< + Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, + Response extends typeof http.ServerResponse = typeof http.ServerResponse, + >(requestListener?: http.RequestListener): Server; + function createServer< + Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, + Response extends typeof http.ServerResponse = typeof http.ServerResponse, + >( + options: ServerOptions, + requestListener?: http.RequestListener, + ): Server; + /** + * Makes a request to a secure web server. + * + * The following additional `options` from `tls.connect()` are also accepted:`ca`, `cert`, `ciphers`, `clientCertEngine`, `crl`, `dhparam`, `ecdhCurve`,`honorCipherOrder`, `key`, `passphrase`, + * `pfx`, `rejectUnauthorized`,`secureOptions`, `secureProtocol`, `servername`, `sessionIdContext`,`highWaterMark`. + * + * `options` can be an object, a string, or a `URL` object. If `options` is a + * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object. + * + * `https.request()` returns an instance of the `http.ClientRequest` class. The `ClientRequest` instance is a writable stream. If one needs to + * upload a file with a POST request, then write to the `ClientRequest` object. + * + * ```js + * const https = require('node:https'); + * + * const options = { + * hostname: 'encrypted.google.com', + * port: 443, + * path: '/', + * method: 'GET', + * }; + * + * const req = https.request(options, (res) => { + * console.log('statusCode:', res.statusCode); + * console.log('headers:', res.headers); + * + * res.on('data', (d) => { + * process.stdout.write(d); + * }); + * }); + * + * req.on('error', (e) => { + * console.error(e); + * }); + * req.end(); + * ``` + * + * Example using options from `tls.connect()`: + * + * ```js + * const options = { + * hostname: 'encrypted.google.com', + * port: 443, + * path: '/', + * method: 'GET', + * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'), + * cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'), + * }; + * options.agent = new https.Agent(options); + * + * const req = https.request(options, (res) => { + * // ... + * }); + * ``` + * + * Alternatively, opt out of connection pooling by not using an `Agent`. + * + * ```js + * const options = { + * hostname: 'encrypted.google.com', + * port: 443, + * path: '/', + * method: 'GET', + * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'), + * cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'), + * agent: false, + * }; + * + * const req = https.request(options, (res) => { + * // ... + * }); + * ``` + * + * Example using a `URL` as `options`: + * + * ```js + * const options = new URL('https://abc:xyz@example.com'); + * + * const req = https.request(options, (res) => { + * // ... + * }); + * ``` + * + * Example pinning on certificate fingerprint, or the public key (similar to`pin-sha256`): + * + * ```js + * const tls = require('node:tls'); + * const https = require('node:https'); + * const crypto = require('node:crypto'); + * + * function sha256(s) { + * return crypto.createHash('sha256').update(s).digest('base64'); + * } + * const options = { + * hostname: 'github.com', + * port: 443, + * path: '/', + * method: 'GET', + * checkServerIdentity: function(host, cert) { + * // Make sure the certificate is issued to the host we are connected to + * const err = tls.checkServerIdentity(host, cert); + * if (err) { + * return err; + * } + * + * // Pin the public key, similar to HPKP pin-sha256 pinning + * const pubkey256 = 'pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU='; + * if (sha256(cert.pubkey) !== pubkey256) { + * const msg = 'Certificate verification error: ' + + * `The public key of '${cert.subject.CN}' ` + + * 'does not match our pinned fingerprint'; + * return new Error(msg); + * } + * + * // Pin the exact certificate, rather than the pub key + * const cert256 = '25:FE:39:32:D9:63:8C:8A:FC:A1:9A:29:87:' + + * 'D8:3E:4C:1D:98:DB:71:E4:1A:48:03:98:EA:22:6A:BD:8B:93:16'; + * if (cert.fingerprint256 !== cert256) { + * const msg = 'Certificate verification error: ' + + * `The certificate of '${cert.subject.CN}' ` + + * 'does not match our pinned fingerprint'; + * return new Error(msg); + * } + * + * // This loop is informational only. + * // Print the certificate and public key fingerprints of all certs in the + * // chain. Its common to pin the public key of the issuer on the public + * // internet, while pinning the public key of the service in sensitive + * // environments. + * do { + * console.log('Subject Common Name:', cert.subject.CN); + * console.log(' Certificate SHA256 fingerprint:', cert.fingerprint256); + * + * hash = crypto.createHash('sha256'); + * console.log(' Public key ping-sha256:', sha256(cert.pubkey)); + * + * lastprint256 = cert.fingerprint256; + * cert = cert.issuerCertificate; + * } while (cert.fingerprint256 !== lastprint256); + * + * }, + * }; + * + * options.agent = new https.Agent(options); + * const req = https.request(options, (res) => { + * console.log('All OK. Server matched our pinned cert or public key'); + * console.log('statusCode:', res.statusCode); + * // Print the HPKP values + * console.log('headers:', res.headers['public-key-pins']); + * + * res.on('data', (d) => {}); + * }); + * + * req.on('error', (e) => { + * console.error(e.message); + * }); + * req.end(); + * ``` + * + * Outputs for example: + * + * ```text + * Subject Common Name: github.com + * Certificate SHA256 fingerprint: 25:FE:39:32:D9:63:8C:8A:FC:A1:9A:29:87:D8:3E:4C:1D:98:DB:71:E4:1A:48:03:98:EA:22:6A:BD:8B:93:16 + * Public key ping-sha256: pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU= + * Subject Common Name: DigiCert SHA2 Extended Validation Server CA + * Certificate SHA256 fingerprint: 40:3E:06:2A:26:53:05:91:13:28:5B:AF:80:A0:D4:AE:42:2C:84:8C:9F:78:FA:D0:1F:C9:4B:C5:B8:7F:EF:1A + * Public key ping-sha256: RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho= + * Subject Common Name: DigiCert High Assurance EV Root CA + * Certificate SHA256 fingerprint: 74:31:E5:F4:C3:C1:CE:46:90:77:4F:0B:61:E0:54:40:88:3B:A9:A0:1E:D0:0B:A6:AB:D7:80:6E:D3:B1:18:CF + * Public key ping-sha256: WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18= + * All OK. Server matched our pinned cert or public key + * statusCode: 200 + * headers: max-age=0; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho="; + * pin-sha256="k2v657xBsOVe1PQRwOsHsw3bsGT2VzIqz5K+59sNQws="; pin-sha256="K87oWBWM9UZfyddvDfoxL+8lpNyoUB2ptGtn0fv6G2Q="; pin-sha256="IQBnNBEiFuhj+8x6X8XLgh01V9Ic5/V3IRQLNFFc7v4="; + * pin-sha256="iie1VXtL7HzAMF+/PVPR9xzT80kQxdZeJ+zduCB3uj0="; pin-sha256="LvRiGEjRqfzurezaWuj8Wie2gyHMrW5Q06LspMnox7A="; includeSubDomains + * ``` + * @since v0.3.6 + * @param options Accepts all `options` from `request`, with some differences in default values: + */ + function request( + options: RequestOptions | string | URL, + callback?: (res: http.IncomingMessage) => void, + ): http.ClientRequest; + function request( + url: string | URL, + options: RequestOptions, + callback?: (res: http.IncomingMessage) => void, + ): http.ClientRequest; + /** + * Like `http.get()` but for HTTPS. + * + * `options` can be an object, a string, or a `URL` object. If `options` is a + * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object. + * + * ```js + * const https = require('node:https'); + * + * https.get('https://encrypted.google.com/', (res) => { + * console.log('statusCode:', res.statusCode); + * console.log('headers:', res.headers); + * + * res.on('data', (d) => { + * process.stdout.write(d); + * }); + * + * }).on('error', (e) => { + * console.error(e); + * }); + * ``` + * @since v0.3.6 + * @param options Accepts the same `options` as {@link request}, with the `method` always set to `GET`. + */ + function get( + options: RequestOptions | string | URL, + callback?: (res: http.IncomingMessage) => void, + ): http.ClientRequest; + function get( + url: string | URL, + options: RequestOptions, + callback?: (res: http.IncomingMessage) => void, + ): http.ClientRequest; + let globalAgent: Agent; +} +declare module "node:https" { + export * from "https"; +} diff --git a/node_modules/@types/node/ts4.8/index.d.ts b/node_modules/@types/node/ts4.8/index.d.ts new file mode 100644 index 000000000..7c8b38c63 --- /dev/null +++ b/node_modules/@types/node/ts4.8/index.d.ts @@ -0,0 +1,88 @@ +/** + * License for programmatically and manually incorporated + * documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc + * + * Copyright Node.js contributors. All rights reserved. + * 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. + */ + +// NOTE: These definitions support NodeJS and TypeScript 4.8 and earlier. + +// Reference required types from the default lib: +/// +/// +/// +/// + +// Base definitions for all NodeJS modules that are not specific to any version of TypeScript: +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// + +/// diff --git a/node_modules/@types/node/ts4.8/inspector.d.ts b/node_modules/@types/node/ts4.8/inspector.d.ts new file mode 100644 index 000000000..3927b8160 --- /dev/null +++ b/node_modules/@types/node/ts4.8/inspector.d.ts @@ -0,0 +1,2747 @@ +// Type definitions for inspector + +// These definitions are auto-generated. +// Please see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19330 +// for more information. + + +/** + * The `node:inspector` module provides an API for interacting with the V8 + * inspector. + * + * It can be accessed using: + * + * ```js + * import * as inspector from 'node:inspector/promises'; + * ``` + * + * or + * + * ```js + * import * as inspector from 'node:inspector'; + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/inspector.js) + */ +declare module 'inspector' { + import EventEmitter = require('node:events'); + interface InspectorNotification { + method: string; + params: T; + } + namespace Schema { + /** + * Description of the protocol domain. + */ + interface Domain { + /** + * Domain name. + */ + name: string; + /** + * Domain version. + */ + version: string; + } + interface GetDomainsReturnType { + /** + * List of supported domains. + */ + domains: Domain[]; + } + } + namespace Runtime { + /** + * Unique script identifier. + */ + type ScriptId = string; + /** + * Unique object identifier. + */ + type RemoteObjectId = string; + /** + * Primitive value which cannot be JSON-stringified. + */ + type UnserializableValue = string; + /** + * Mirror object referencing original JavaScript object. + */ + interface RemoteObject { + /** + * Object type. + */ + type: string; + /** + * Object subtype hint. Specified for object type values only. + */ + subtype?: string | undefined; + /** + * Object class (constructor) name. Specified for object type values only. + */ + className?: string | undefined; + /** + * Remote object value in case of primitive values or JSON values (if it was requested). + */ + value?: any; + /** + * Primitive value which can not be JSON-stringified does not have value, but gets this property. + */ + unserializableValue?: UnserializableValue | undefined; + /** + * String representation of the object. + */ + description?: string | undefined; + /** + * Unique object identifier (for non-primitive values). + */ + objectId?: RemoteObjectId | undefined; + /** + * Preview containing abbreviated property values. Specified for object type values only. + * @experimental + */ + preview?: ObjectPreview | undefined; + /** + * @experimental + */ + customPreview?: CustomPreview | undefined; + } + /** + * @experimental + */ + interface CustomPreview { + header: string; + hasBody: boolean; + formatterObjectId: RemoteObjectId; + bindRemoteObjectFunctionId: RemoteObjectId; + configObjectId?: RemoteObjectId | undefined; + } + /** + * Object containing abbreviated remote object value. + * @experimental + */ + interface ObjectPreview { + /** + * Object type. + */ + type: string; + /** + * Object subtype hint. Specified for object type values only. + */ + subtype?: string | undefined; + /** + * String representation of the object. + */ + description?: string | undefined; + /** + * True iff some of the properties or entries of the original object did not fit. + */ + overflow: boolean; + /** + * List of the properties. + */ + properties: PropertyPreview[]; + /** + * List of the entries. Specified for map and set subtype values only. + */ + entries?: EntryPreview[] | undefined; + } + /** + * @experimental + */ + interface PropertyPreview { + /** + * Property name. + */ + name: string; + /** + * Object type. Accessor means that the property itself is an accessor property. + */ + type: string; + /** + * User-friendly property value string. + */ + value?: string | undefined; + /** + * Nested value preview. + */ + valuePreview?: ObjectPreview | undefined; + /** + * Object subtype hint. Specified for object type values only. + */ + subtype?: string | undefined; + } + /** + * @experimental + */ + interface EntryPreview { + /** + * Preview of the key. Specified for map-like collection entries. + */ + key?: ObjectPreview | undefined; + /** + * Preview of the value. + */ + value: ObjectPreview; + } + /** + * Object property descriptor. + */ + interface PropertyDescriptor { + /** + * Property name or symbol description. + */ + name: string; + /** + * The value associated with the property. + */ + value?: RemoteObject | undefined; + /** + * True if the value associated with the property may be changed (data descriptors only). + */ + writable?: boolean | undefined; + /** + * A function which serves as a getter for the property, or undefined if there is no getter (accessor descriptors only). + */ + get?: RemoteObject | undefined; + /** + * A function which serves as a setter for the property, or undefined if there is no setter (accessor descriptors only). + */ + set?: RemoteObject | undefined; + /** + * True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object. + */ + configurable: boolean; + /** + * True if this property shows up during enumeration of the properties on the corresponding object. + */ + enumerable: boolean; + /** + * True if the result was thrown during the evaluation. + */ + wasThrown?: boolean | undefined; + /** + * True if the property is owned for the object. + */ + isOwn?: boolean | undefined; + /** + * Property symbol object, if the property is of the symbol type. + */ + symbol?: RemoteObject | undefined; + } + /** + * Object internal property descriptor. This property isn't normally visible in JavaScript code. + */ + interface InternalPropertyDescriptor { + /** + * Conventional property name. + */ + name: string; + /** + * The value associated with the property. + */ + value?: RemoteObject | undefined; + } + /** + * Represents function call argument. Either remote object id objectId, primitive value, unserializable primitive value or neither of (for undefined) them should be specified. + */ + interface CallArgument { + /** + * Primitive value or serializable javascript object. + */ + value?: any; + /** + * Primitive value which can not be JSON-stringified. + */ + unserializableValue?: UnserializableValue | undefined; + /** + * Remote object handle. + */ + objectId?: RemoteObjectId | undefined; + } + /** + * Id of an execution context. + */ + type ExecutionContextId = number; + /** + * Description of an isolated world. + */ + interface ExecutionContextDescription { + /** + * Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed. + */ + id: ExecutionContextId; + /** + * Execution context origin. + */ + origin: string; + /** + * Human readable name describing given context. + */ + name: string; + /** + * Embedder-specific auxiliary data. + */ + auxData?: {} | undefined; + } + /** + * Detailed information about exception (or error) that was thrown during script compilation or execution. + */ + interface ExceptionDetails { + /** + * Exception id. + */ + exceptionId: number; + /** + * Exception text, which should be used together with exception object when available. + */ + text: string; + /** + * Line number of the exception location (0-based). + */ + lineNumber: number; + /** + * Column number of the exception location (0-based). + */ + columnNumber: number; + /** + * Script ID of the exception location. + */ + scriptId?: ScriptId | undefined; + /** + * URL of the exception location, to be used when the script was not reported. + */ + url?: string | undefined; + /** + * JavaScript stack trace if available. + */ + stackTrace?: StackTrace | undefined; + /** + * Exception object if available. + */ + exception?: RemoteObject | undefined; + /** + * Identifier of the context where exception happened. + */ + executionContextId?: ExecutionContextId | undefined; + } + /** + * Number of milliseconds since epoch. + */ + type Timestamp = number; + /** + * Stack entry for runtime errors and assertions. + */ + interface CallFrame { + /** + * JavaScript function name. + */ + functionName: string; + /** + * JavaScript script id. + */ + scriptId: ScriptId; + /** + * JavaScript script name or url. + */ + url: string; + /** + * JavaScript script line number (0-based). + */ + lineNumber: number; + /** + * JavaScript script column number (0-based). + */ + columnNumber: number; + } + /** + * Call frames for assertions or error messages. + */ + interface StackTrace { + /** + * String label of this stack trace. For async traces this may be a name of the function that initiated the async call. + */ + description?: string | undefined; + /** + * JavaScript function name. + */ + callFrames: CallFrame[]; + /** + * Asynchronous JavaScript stack trace that preceded this stack, if available. + */ + parent?: StackTrace | undefined; + /** + * Asynchronous JavaScript stack trace that preceded this stack, if available. + * @experimental + */ + parentId?: StackTraceId | undefined; + } + /** + * Unique identifier of current debugger. + * @experimental + */ + type UniqueDebuggerId = string; + /** + * If debuggerId is set stack trace comes from another debugger and can be resolved there. This allows to track cross-debugger calls. See Runtime.StackTrace and Debugger.paused for usages. + * @experimental + */ + interface StackTraceId { + id: string; + debuggerId?: UniqueDebuggerId | undefined; + } + interface EvaluateParameterType { + /** + * Expression to evaluate. + */ + expression: string; + /** + * Symbolic group name that can be used to release multiple objects. + */ + objectGroup?: string | undefined; + /** + * Determines whether Command Line API should be available during the evaluation. + */ + includeCommandLineAPI?: boolean | undefined; + /** + * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. + */ + silent?: boolean | undefined; + /** + * Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page. + */ + contextId?: ExecutionContextId | undefined; + /** + * Whether the result is expected to be a JSON object that should be sent by value. + */ + returnByValue?: boolean | undefined; + /** + * Whether preview should be generated for the result. + * @experimental + */ + generatePreview?: boolean | undefined; + /** + * Whether execution should be treated as initiated by user in the UI. + */ + userGesture?: boolean | undefined; + /** + * Whether execution should await for resulting value and return once awaited promise is resolved. + */ + awaitPromise?: boolean | undefined; + } + interface AwaitPromiseParameterType { + /** + * Identifier of the promise. + */ + promiseObjectId: RemoteObjectId; + /** + * Whether the result is expected to be a JSON object that should be sent by value. + */ + returnByValue?: boolean | undefined; + /** + * Whether preview should be generated for the result. + */ + generatePreview?: boolean | undefined; + } + interface CallFunctionOnParameterType { + /** + * Declaration of the function to call. + */ + functionDeclaration: string; + /** + * Identifier of the object to call function on. Either objectId or executionContextId should be specified. + */ + objectId?: RemoteObjectId | undefined; + /** + * Call arguments. All call arguments must belong to the same JavaScript world as the target object. + */ + arguments?: CallArgument[] | undefined; + /** + * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. + */ + silent?: boolean | undefined; + /** + * Whether the result is expected to be a JSON object which should be sent by value. + */ + returnByValue?: boolean | undefined; + /** + * Whether preview should be generated for the result. + * @experimental + */ + generatePreview?: boolean | undefined; + /** + * Whether execution should be treated as initiated by user in the UI. + */ + userGesture?: boolean | undefined; + /** + * Whether execution should await for resulting value and return once awaited promise is resolved. + */ + awaitPromise?: boolean | undefined; + /** + * Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified. + */ + executionContextId?: ExecutionContextId | undefined; + /** + * Symbolic group name that can be used to release multiple objects. If objectGroup is not specified and objectId is, objectGroup will be inherited from object. + */ + objectGroup?: string | undefined; + } + interface GetPropertiesParameterType { + /** + * Identifier of the object to return properties for. + */ + objectId: RemoteObjectId; + /** + * If true, returns properties belonging only to the element itself, not to its prototype chain. + */ + ownProperties?: boolean | undefined; + /** + * If true, returns accessor properties (with getter/setter) only; internal properties are not returned either. + * @experimental + */ + accessorPropertiesOnly?: boolean | undefined; + /** + * Whether preview should be generated for the results. + * @experimental + */ + generatePreview?: boolean | undefined; + } + interface ReleaseObjectParameterType { + /** + * Identifier of the object to release. + */ + objectId: RemoteObjectId; + } + interface ReleaseObjectGroupParameterType { + /** + * Symbolic object group name. + */ + objectGroup: string; + } + interface SetCustomObjectFormatterEnabledParameterType { + enabled: boolean; + } + interface CompileScriptParameterType { + /** + * Expression to compile. + */ + expression: string; + /** + * Source url to be set for the script. + */ + sourceURL: string; + /** + * Specifies whether the compiled script should be persisted. + */ + persistScript: boolean; + /** + * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page. + */ + executionContextId?: ExecutionContextId | undefined; + } + interface RunScriptParameterType { + /** + * Id of the script to run. + */ + scriptId: ScriptId; + /** + * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page. + */ + executionContextId?: ExecutionContextId | undefined; + /** + * Symbolic group name that can be used to release multiple objects. + */ + objectGroup?: string | undefined; + /** + * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. + */ + silent?: boolean | undefined; + /** + * Determines whether Command Line API should be available during the evaluation. + */ + includeCommandLineAPI?: boolean | undefined; + /** + * Whether the result is expected to be a JSON object which should be sent by value. + */ + returnByValue?: boolean | undefined; + /** + * Whether preview should be generated for the result. + */ + generatePreview?: boolean | undefined; + /** + * Whether execution should await for resulting value and return once awaited promise is resolved. + */ + awaitPromise?: boolean | undefined; + } + interface QueryObjectsParameterType { + /** + * Identifier of the prototype to return objects for. + */ + prototypeObjectId: RemoteObjectId; + } + interface GlobalLexicalScopeNamesParameterType { + /** + * Specifies in which execution context to lookup global scope variables. + */ + executionContextId?: ExecutionContextId | undefined; + } + interface EvaluateReturnType { + /** + * Evaluation result. + */ + result: RemoteObject; + /** + * Exception details. + */ + exceptionDetails?: ExceptionDetails | undefined; + } + interface AwaitPromiseReturnType { + /** + * Promise result. Will contain rejected value if promise was rejected. + */ + result: RemoteObject; + /** + * Exception details if stack strace is available. + */ + exceptionDetails?: ExceptionDetails | undefined; + } + interface CallFunctionOnReturnType { + /** + * Call result. + */ + result: RemoteObject; + /** + * Exception details. + */ + exceptionDetails?: ExceptionDetails | undefined; + } + interface GetPropertiesReturnType { + /** + * Object properties. + */ + result: PropertyDescriptor[]; + /** + * Internal object properties (only of the element itself). + */ + internalProperties?: InternalPropertyDescriptor[] | undefined; + /** + * Exception details. + */ + exceptionDetails?: ExceptionDetails | undefined; + } + interface CompileScriptReturnType { + /** + * Id of the script. + */ + scriptId?: ScriptId | undefined; + /** + * Exception details. + */ + exceptionDetails?: ExceptionDetails | undefined; + } + interface RunScriptReturnType { + /** + * Run result. + */ + result: RemoteObject; + /** + * Exception details. + */ + exceptionDetails?: ExceptionDetails | undefined; + } + interface QueryObjectsReturnType { + /** + * Array with objects. + */ + objects: RemoteObject; + } + interface GlobalLexicalScopeNamesReturnType { + names: string[]; + } + interface ExecutionContextCreatedEventDataType { + /** + * A newly created execution context. + */ + context: ExecutionContextDescription; + } + interface ExecutionContextDestroyedEventDataType { + /** + * Id of the destroyed context + */ + executionContextId: ExecutionContextId; + } + interface ExceptionThrownEventDataType { + /** + * Timestamp of the exception. + */ + timestamp: Timestamp; + exceptionDetails: ExceptionDetails; + } + interface ExceptionRevokedEventDataType { + /** + * Reason describing why exception was revoked. + */ + reason: string; + /** + * The id of revoked exception, as reported in exceptionThrown. + */ + exceptionId: number; + } + interface ConsoleAPICalledEventDataType { + /** + * Type of the call. + */ + type: string; + /** + * Call arguments. + */ + args: RemoteObject[]; + /** + * Identifier of the context where the call was made. + */ + executionContextId: ExecutionContextId; + /** + * Call timestamp. + */ + timestamp: Timestamp; + /** + * Stack trace captured when the call was made. + */ + stackTrace?: StackTrace | undefined; + /** + * Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context. + * @experimental + */ + context?: string | undefined; + } + interface InspectRequestedEventDataType { + object: RemoteObject; + hints: {}; + } + } + namespace Debugger { + /** + * Breakpoint identifier. + */ + type BreakpointId = string; + /** + * Call frame identifier. + */ + type CallFrameId = string; + /** + * Location in the source code. + */ + interface Location { + /** + * Script identifier as reported in the Debugger.scriptParsed. + */ + scriptId: Runtime.ScriptId; + /** + * Line number in the script (0-based). + */ + lineNumber: number; + /** + * Column number in the script (0-based). + */ + columnNumber?: number | undefined; + } + /** + * Location in the source code. + * @experimental + */ + interface ScriptPosition { + lineNumber: number; + columnNumber: number; + } + /** + * JavaScript call frame. Array of call frames form the call stack. + */ + interface CallFrame { + /** + * Call frame identifier. This identifier is only valid while the virtual machine is paused. + */ + callFrameId: CallFrameId; + /** + * Name of the JavaScript function called on this call frame. + */ + functionName: string; + /** + * Location in the source code. + */ + functionLocation?: Location | undefined; + /** + * Location in the source code. + */ + location: Location; + /** + * JavaScript script name or url. + */ + url: string; + /** + * Scope chain for this call frame. + */ + scopeChain: Scope[]; + /** + * this object for this call frame. + */ + this: Runtime.RemoteObject; + /** + * The value being returned, if the function is at return point. + */ + returnValue?: Runtime.RemoteObject | undefined; + } + /** + * Scope description. + */ + interface Scope { + /** + * Scope type. + */ + type: string; + /** + * Object representing the scope. For global and with scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties. + */ + object: Runtime.RemoteObject; + name?: string | undefined; + /** + * Location in the source code where scope starts + */ + startLocation?: Location | undefined; + /** + * Location in the source code where scope ends + */ + endLocation?: Location | undefined; + } + /** + * Search match for resource. + */ + interface SearchMatch { + /** + * Line number in resource content. + */ + lineNumber: number; + /** + * Line with match content. + */ + lineContent: string; + } + interface BreakLocation { + /** + * Script identifier as reported in the Debugger.scriptParsed. + */ + scriptId: Runtime.ScriptId; + /** + * Line number in the script (0-based). + */ + lineNumber: number; + /** + * Column number in the script (0-based). + */ + columnNumber?: number | undefined; + type?: string | undefined; + } + interface SetBreakpointsActiveParameterType { + /** + * New value for breakpoints active state. + */ + active: boolean; + } + interface SetSkipAllPausesParameterType { + /** + * New value for skip pauses state. + */ + skip: boolean; + } + interface SetBreakpointByUrlParameterType { + /** + * Line number to set breakpoint at. + */ + lineNumber: number; + /** + * URL of the resources to set breakpoint on. + */ + url?: string | undefined; + /** + * Regex pattern for the URLs of the resources to set breakpoints on. Either url or urlRegex must be specified. + */ + urlRegex?: string | undefined; + /** + * Script hash of the resources to set breakpoint on. + */ + scriptHash?: string | undefined; + /** + * Offset in the line to set breakpoint at. + */ + columnNumber?: number | undefined; + /** + * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true. + */ + condition?: string | undefined; + } + interface SetBreakpointParameterType { + /** + * Location to set breakpoint in. + */ + location: Location; + /** + * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true. + */ + condition?: string | undefined; + } + interface RemoveBreakpointParameterType { + breakpointId: BreakpointId; + } + interface GetPossibleBreakpointsParameterType { + /** + * Start of range to search possible breakpoint locations in. + */ + start: Location; + /** + * End of range to search possible breakpoint locations in (excluding). When not specified, end of scripts is used as end of range. + */ + end?: Location | undefined; + /** + * Only consider locations which are in the same (non-nested) function as start. + */ + restrictToFunction?: boolean | undefined; + } + interface ContinueToLocationParameterType { + /** + * Location to continue to. + */ + location: Location; + targetCallFrames?: string | undefined; + } + interface PauseOnAsyncCallParameterType { + /** + * Debugger will pause when async call with given stack trace is started. + */ + parentStackTraceId: Runtime.StackTraceId; + } + interface StepIntoParameterType { + /** + * Debugger will issue additional Debugger.paused notification if any async task is scheduled before next pause. + * @experimental + */ + breakOnAsyncCall?: boolean | undefined; + } + interface GetStackTraceParameterType { + stackTraceId: Runtime.StackTraceId; + } + interface SearchInContentParameterType { + /** + * Id of the script to search in. + */ + scriptId: Runtime.ScriptId; + /** + * String to search for. + */ + query: string; + /** + * If true, search is case sensitive. + */ + caseSensitive?: boolean | undefined; + /** + * If true, treats string parameter as regex. + */ + isRegex?: boolean | undefined; + } + interface SetScriptSourceParameterType { + /** + * Id of the script to edit. + */ + scriptId: Runtime.ScriptId; + /** + * New content of the script. + */ + scriptSource: string; + /** + * If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code. + */ + dryRun?: boolean | undefined; + } + interface RestartFrameParameterType { + /** + * Call frame identifier to evaluate on. + */ + callFrameId: CallFrameId; + } + interface GetScriptSourceParameterType { + /** + * Id of the script to get source for. + */ + scriptId: Runtime.ScriptId; + } + interface SetPauseOnExceptionsParameterType { + /** + * Pause on exceptions mode. + */ + state: string; + } + interface EvaluateOnCallFrameParameterType { + /** + * Call frame identifier to evaluate on. + */ + callFrameId: CallFrameId; + /** + * Expression to evaluate. + */ + expression: string; + /** + * String object group name to put result into (allows rapid releasing resulting object handles using releaseObjectGroup). + */ + objectGroup?: string | undefined; + /** + * Specifies whether command line API should be available to the evaluated expression, defaults to false. + */ + includeCommandLineAPI?: boolean | undefined; + /** + * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. + */ + silent?: boolean | undefined; + /** + * Whether the result is expected to be a JSON object that should be sent by value. + */ + returnByValue?: boolean | undefined; + /** + * Whether preview should be generated for the result. + * @experimental + */ + generatePreview?: boolean | undefined; + /** + * Whether to throw an exception if side effect cannot be ruled out during evaluation. + */ + throwOnSideEffect?: boolean | undefined; + } + interface SetVariableValueParameterType { + /** + * 0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch' scope types are allowed. Other scopes could be manipulated manually. + */ + scopeNumber: number; + /** + * Variable name. + */ + variableName: string; + /** + * New variable value. + */ + newValue: Runtime.CallArgument; + /** + * Id of callframe that holds variable. + */ + callFrameId: CallFrameId; + } + interface SetReturnValueParameterType { + /** + * New return value. + */ + newValue: Runtime.CallArgument; + } + interface SetAsyncCallStackDepthParameterType { + /** + * Maximum depth of async call stacks. Setting to 0 will effectively disable collecting async call stacks (default). + */ + maxDepth: number; + } + interface SetBlackboxPatternsParameterType { + /** + * Array of regexps that will be used to check script url for blackbox state. + */ + patterns: string[]; + } + interface SetBlackboxedRangesParameterType { + /** + * Id of the script. + */ + scriptId: Runtime.ScriptId; + positions: ScriptPosition[]; + } + interface EnableReturnType { + /** + * Unique identifier of the debugger. + * @experimental + */ + debuggerId: Runtime.UniqueDebuggerId; + } + interface SetBreakpointByUrlReturnType { + /** + * Id of the created breakpoint for further reference. + */ + breakpointId: BreakpointId; + /** + * List of the locations this breakpoint resolved into upon addition. + */ + locations: Location[]; + } + interface SetBreakpointReturnType { + /** + * Id of the created breakpoint for further reference. + */ + breakpointId: BreakpointId; + /** + * Location this breakpoint resolved into. + */ + actualLocation: Location; + } + interface GetPossibleBreakpointsReturnType { + /** + * List of the possible breakpoint locations. + */ + locations: BreakLocation[]; + } + interface GetStackTraceReturnType { + stackTrace: Runtime.StackTrace; + } + interface SearchInContentReturnType { + /** + * List of search matches. + */ + result: SearchMatch[]; + } + interface SetScriptSourceReturnType { + /** + * New stack trace in case editing has happened while VM was stopped. + */ + callFrames?: CallFrame[] | undefined; + /** + * Whether current call stack was modified after applying the changes. + */ + stackChanged?: boolean | undefined; + /** + * Async stack trace, if any. + */ + asyncStackTrace?: Runtime.StackTrace | undefined; + /** + * Async stack trace, if any. + * @experimental + */ + asyncStackTraceId?: Runtime.StackTraceId | undefined; + /** + * Exception details if any. + */ + exceptionDetails?: Runtime.ExceptionDetails | undefined; + } + interface RestartFrameReturnType { + /** + * New stack trace. + */ + callFrames: CallFrame[]; + /** + * Async stack trace, if any. + */ + asyncStackTrace?: Runtime.StackTrace | undefined; + /** + * Async stack trace, if any. + * @experimental + */ + asyncStackTraceId?: Runtime.StackTraceId | undefined; + } + interface GetScriptSourceReturnType { + /** + * Script source. + */ + scriptSource: string; + } + interface EvaluateOnCallFrameReturnType { + /** + * Object wrapper for the evaluation result. + */ + result: Runtime.RemoteObject; + /** + * Exception details. + */ + exceptionDetails?: Runtime.ExceptionDetails | undefined; + } + interface ScriptParsedEventDataType { + /** + * Identifier of the script parsed. + */ + scriptId: Runtime.ScriptId; + /** + * URL or name of the script parsed (if any). + */ + url: string; + /** + * Line offset of the script within the resource with given URL (for script tags). + */ + startLine: number; + /** + * Column offset of the script within the resource with given URL. + */ + startColumn: number; + /** + * Last line of the script. + */ + endLine: number; + /** + * Length of the last line of the script. + */ + endColumn: number; + /** + * Specifies script creation context. + */ + executionContextId: Runtime.ExecutionContextId; + /** + * Content hash of the script. + */ + hash: string; + /** + * Embedder-specific auxiliary data. + */ + executionContextAuxData?: {} | undefined; + /** + * True, if this script is generated as a result of the live edit operation. + * @experimental + */ + isLiveEdit?: boolean | undefined; + /** + * URL of source map associated with script (if any). + */ + sourceMapURL?: string | undefined; + /** + * True, if this script has sourceURL. + */ + hasSourceURL?: boolean | undefined; + /** + * True, if this script is ES6 module. + */ + isModule?: boolean | undefined; + /** + * This script length. + */ + length?: number | undefined; + /** + * JavaScript top stack frame of where the script parsed event was triggered if available. + * @experimental + */ + stackTrace?: Runtime.StackTrace | undefined; + } + interface ScriptFailedToParseEventDataType { + /** + * Identifier of the script parsed. + */ + scriptId: Runtime.ScriptId; + /** + * URL or name of the script parsed (if any). + */ + url: string; + /** + * Line offset of the script within the resource with given URL (for script tags). + */ + startLine: number; + /** + * Column offset of the script within the resource with given URL. + */ + startColumn: number; + /** + * Last line of the script. + */ + endLine: number; + /** + * Length of the last line of the script. + */ + endColumn: number; + /** + * Specifies script creation context. + */ + executionContextId: Runtime.ExecutionContextId; + /** + * Content hash of the script. + */ + hash: string; + /** + * Embedder-specific auxiliary data. + */ + executionContextAuxData?: {} | undefined; + /** + * URL of source map associated with script (if any). + */ + sourceMapURL?: string | undefined; + /** + * True, if this script has sourceURL. + */ + hasSourceURL?: boolean | undefined; + /** + * True, if this script is ES6 module. + */ + isModule?: boolean | undefined; + /** + * This script length. + */ + length?: number | undefined; + /** + * JavaScript top stack frame of where the script parsed event was triggered if available. + * @experimental + */ + stackTrace?: Runtime.StackTrace | undefined; + } + interface BreakpointResolvedEventDataType { + /** + * Breakpoint unique identifier. + */ + breakpointId: BreakpointId; + /** + * Actual breakpoint location. + */ + location: Location; + } + interface PausedEventDataType { + /** + * Call stack the virtual machine stopped on. + */ + callFrames: CallFrame[]; + /** + * Pause reason. + */ + reason: string; + /** + * Object containing break-specific auxiliary properties. + */ + data?: {} | undefined; + /** + * Hit breakpoints IDs + */ + hitBreakpoints?: string[] | undefined; + /** + * Async stack trace, if any. + */ + asyncStackTrace?: Runtime.StackTrace | undefined; + /** + * Async stack trace, if any. + * @experimental + */ + asyncStackTraceId?: Runtime.StackTraceId | undefined; + /** + * Just scheduled async call will have this stack trace as parent stack during async execution. This field is available only after Debugger.stepInto call with breakOnAsynCall flag. + * @experimental + */ + asyncCallStackTraceId?: Runtime.StackTraceId | undefined; + } + } + namespace Console { + /** + * Console message. + */ + interface ConsoleMessage { + /** + * Message source. + */ + source: string; + /** + * Message severity. + */ + level: string; + /** + * Message text. + */ + text: string; + /** + * URL of the message origin. + */ + url?: string | undefined; + /** + * Line number in the resource that generated this message (1-based). + */ + line?: number | undefined; + /** + * Column number in the resource that generated this message (1-based). + */ + column?: number | undefined; + } + interface MessageAddedEventDataType { + /** + * Console message that has been added. + */ + message: ConsoleMessage; + } + } + namespace Profiler { + /** + * Profile node. Holds callsite information, execution statistics and child nodes. + */ + interface ProfileNode { + /** + * Unique id of the node. + */ + id: number; + /** + * Function location. + */ + callFrame: Runtime.CallFrame; + /** + * Number of samples where this node was on top of the call stack. + */ + hitCount?: number | undefined; + /** + * Child node ids. + */ + children?: number[] | undefined; + /** + * The reason of being not optimized. The function may be deoptimized or marked as don't optimize. + */ + deoptReason?: string | undefined; + /** + * An array of source position ticks. + */ + positionTicks?: PositionTickInfo[] | undefined; + } + /** + * Profile. + */ + interface Profile { + /** + * The list of profile nodes. First item is the root node. + */ + nodes: ProfileNode[]; + /** + * Profiling start timestamp in microseconds. + */ + startTime: number; + /** + * Profiling end timestamp in microseconds. + */ + endTime: number; + /** + * Ids of samples top nodes. + */ + samples?: number[] | undefined; + /** + * Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime. + */ + timeDeltas?: number[] | undefined; + } + /** + * Specifies a number of samples attributed to a certain source position. + */ + interface PositionTickInfo { + /** + * Source line number (1-based). + */ + line: number; + /** + * Number of samples attributed to the source line. + */ + ticks: number; + } + /** + * Coverage data for a source range. + */ + interface CoverageRange { + /** + * JavaScript script source offset for the range start. + */ + startOffset: number; + /** + * JavaScript script source offset for the range end. + */ + endOffset: number; + /** + * Collected execution count of the source range. + */ + count: number; + } + /** + * Coverage data for a JavaScript function. + */ + interface FunctionCoverage { + /** + * JavaScript function name. + */ + functionName: string; + /** + * Source ranges inside the function with coverage data. + */ + ranges: CoverageRange[]; + /** + * Whether coverage data for this function has block granularity. + */ + isBlockCoverage: boolean; + } + /** + * Coverage data for a JavaScript script. + */ + interface ScriptCoverage { + /** + * JavaScript script id. + */ + scriptId: Runtime.ScriptId; + /** + * JavaScript script name or url. + */ + url: string; + /** + * Functions contained in the script that has coverage data. + */ + functions: FunctionCoverage[]; + } + /** + * Describes a type collected during runtime. + * @experimental + */ + interface TypeObject { + /** + * Name of a type collected with type profiling. + */ + name: string; + } + /** + * Source offset and types for a parameter or return value. + * @experimental + */ + interface TypeProfileEntry { + /** + * Source offset of the parameter or end of function for return values. + */ + offset: number; + /** + * The types for this parameter or return value. + */ + types: TypeObject[]; + } + /** + * Type profile data collected during runtime for a JavaScript script. + * @experimental + */ + interface ScriptTypeProfile { + /** + * JavaScript script id. + */ + scriptId: Runtime.ScriptId; + /** + * JavaScript script name or url. + */ + url: string; + /** + * Type profile entries for parameters and return values of the functions in the script. + */ + entries: TypeProfileEntry[]; + } + interface SetSamplingIntervalParameterType { + /** + * New sampling interval in microseconds. + */ + interval: number; + } + interface StartPreciseCoverageParameterType { + /** + * Collect accurate call counts beyond simple 'covered' or 'not covered'. + */ + callCount?: boolean | undefined; + /** + * Collect block-based coverage. + */ + detailed?: boolean | undefined; + } + interface StopReturnType { + /** + * Recorded profile. + */ + profile: Profile; + } + interface TakePreciseCoverageReturnType { + /** + * Coverage data for the current isolate. + */ + result: ScriptCoverage[]; + } + interface GetBestEffortCoverageReturnType { + /** + * Coverage data for the current isolate. + */ + result: ScriptCoverage[]; + } + interface TakeTypeProfileReturnType { + /** + * Type profile for all scripts since startTypeProfile() was turned on. + */ + result: ScriptTypeProfile[]; + } + interface ConsoleProfileStartedEventDataType { + id: string; + /** + * Location of console.profile(). + */ + location: Debugger.Location; + /** + * Profile title passed as an argument to console.profile(). + */ + title?: string | undefined; + } + interface ConsoleProfileFinishedEventDataType { + id: string; + /** + * Location of console.profileEnd(). + */ + location: Debugger.Location; + profile: Profile; + /** + * Profile title passed as an argument to console.profile(). + */ + title?: string | undefined; + } + } + namespace HeapProfiler { + /** + * Heap snapshot object id. + */ + type HeapSnapshotObjectId = string; + /** + * Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes. + */ + interface SamplingHeapProfileNode { + /** + * Function location. + */ + callFrame: Runtime.CallFrame; + /** + * Allocations size in bytes for the node excluding children. + */ + selfSize: number; + /** + * Child nodes. + */ + children: SamplingHeapProfileNode[]; + } + /** + * Profile. + */ + interface SamplingHeapProfile { + head: SamplingHeapProfileNode; + } + interface StartTrackingHeapObjectsParameterType { + trackAllocations?: boolean | undefined; + } + interface StopTrackingHeapObjectsParameterType { + /** + * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped. + */ + reportProgress?: boolean | undefined; + } + interface TakeHeapSnapshotParameterType { + /** + * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken. + */ + reportProgress?: boolean | undefined; + } + interface GetObjectByHeapObjectIdParameterType { + objectId: HeapSnapshotObjectId; + /** + * Symbolic group name that can be used to release multiple objects. + */ + objectGroup?: string | undefined; + } + interface AddInspectedHeapObjectParameterType { + /** + * Heap snapshot object id to be accessible by means of $x command line API. + */ + heapObjectId: HeapSnapshotObjectId; + } + interface GetHeapObjectIdParameterType { + /** + * Identifier of the object to get heap object id for. + */ + objectId: Runtime.RemoteObjectId; + } + interface StartSamplingParameterType { + /** + * Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes. + */ + samplingInterval?: number | undefined; + } + interface GetObjectByHeapObjectIdReturnType { + /** + * Evaluation result. + */ + result: Runtime.RemoteObject; + } + interface GetHeapObjectIdReturnType { + /** + * Id of the heap snapshot object corresponding to the passed remote object id. + */ + heapSnapshotObjectId: HeapSnapshotObjectId; + } + interface StopSamplingReturnType { + /** + * Recorded sampling heap profile. + */ + profile: SamplingHeapProfile; + } + interface GetSamplingProfileReturnType { + /** + * Return the sampling profile being collected. + */ + profile: SamplingHeapProfile; + } + interface AddHeapSnapshotChunkEventDataType { + chunk: string; + } + interface ReportHeapSnapshotProgressEventDataType { + done: number; + total: number; + finished?: boolean | undefined; + } + interface LastSeenObjectIdEventDataType { + lastSeenObjectId: number; + timestamp: number; + } + interface HeapStatsUpdateEventDataType { + /** + * An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment. + */ + statsUpdate: number[]; + } + } + namespace NodeTracing { + interface TraceConfig { + /** + * Controls how the trace buffer stores data. + */ + recordMode?: string | undefined; + /** + * Included category filters. + */ + includedCategories: string[]; + } + interface StartParameterType { + traceConfig: TraceConfig; + } + interface GetCategoriesReturnType { + /** + * A list of supported tracing categories. + */ + categories: string[]; + } + interface DataCollectedEventDataType { + value: Array<{}>; + } + } + namespace NodeWorker { + type WorkerID = string; + /** + * Unique identifier of attached debugging session. + */ + type SessionID = string; + interface WorkerInfo { + workerId: WorkerID; + type: string; + title: string; + url: string; + } + interface SendMessageToWorkerParameterType { + message: string; + /** + * Identifier of the session. + */ + sessionId: SessionID; + } + interface EnableParameterType { + /** + * Whether to new workers should be paused until the frontend sends `Runtime.runIfWaitingForDebugger` + * message to run them. + */ + waitForDebuggerOnStart: boolean; + } + interface DetachParameterType { + sessionId: SessionID; + } + interface AttachedToWorkerEventDataType { + /** + * Identifier assigned to the session used to send/receive messages. + */ + sessionId: SessionID; + workerInfo: WorkerInfo; + waitingForDebugger: boolean; + } + interface DetachedFromWorkerEventDataType { + /** + * Detached session identifier. + */ + sessionId: SessionID; + } + interface ReceivedMessageFromWorkerEventDataType { + /** + * Identifier of a session which sends a message. + */ + sessionId: SessionID; + message: string; + } + } + namespace NodeRuntime { + interface NotifyWhenWaitingForDisconnectParameterType { + enabled: boolean; + } + } + /** + * The `inspector.Session` is used for dispatching messages to the V8 inspector + * back-end and receiving message responses and notifications. + */ + class Session extends EventEmitter { + /** + * Create a new instance of the inspector.Session class. + * The inspector session needs to be connected through session.connect() before the messages can be dispatched to the inspector backend. + */ + constructor(); + /** + * Connects a session to the inspector back-end. + * @since v8.0.0 + */ + connect(): void; + /** + * Immediately close the session. All pending message callbacks will be called + * with an error. `session.connect()` will need to be called to be able to send + * messages again. Reconnected session will lose all inspector state, such as + * enabled agents or configured breakpoints. + * @since v8.0.0 + */ + disconnect(): void; + /** + * Posts a message to the inspector back-end. `callback` will be notified when + * a response is received. `callback` is a function that accepts two optional + * arguments: error and message-specific result. + * + * ```js + * session.post('Runtime.evaluate', { expression: '2 + 2' }, + * (error, { result }) => console.log(result)); + * // Output: { type: 'number', value: 4, description: '4' } + * ``` + * + * The latest version of the V8 inspector protocol is published on the [Chrome DevTools Protocol Viewer](https://chromedevtools.github.io/devtools-protocol/v8/). + * + * Node.js inspector supports all the Chrome DevTools Protocol domains declared + * by V8\. Chrome DevTools Protocol domain provides an interface for interacting + * with one of the runtime agents used to inspect the application state and listen + * to the run-time events. + * + * ## Example usage + * + * Apart from the debugger, various V8 Profilers are available through the DevTools + * protocol. + * @since v8.0.0 + */ + post(method: string, params?: {}, callback?: (err: Error | null, params?: {}) => void): void; + post(method: string, callback?: (err: Error | null, params?: {}) => void): void; + /** + * Returns supported domains. + */ + post(method: 'Schema.getDomains', callback?: (err: Error | null, params: Schema.GetDomainsReturnType) => void): void; + /** + * Evaluates expression on global object. + */ + post(method: 'Runtime.evaluate', params?: Runtime.EvaluateParameterType, callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; + post(method: 'Runtime.evaluate', callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; + /** + * Add handler to promise with given promise object id. + */ + post(method: 'Runtime.awaitPromise', params?: Runtime.AwaitPromiseParameterType, callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; + post(method: 'Runtime.awaitPromise', callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; + /** + * Calls function with given declaration on the given object. Object group of the result is inherited from the target object. + */ + post(method: 'Runtime.callFunctionOn', params?: Runtime.CallFunctionOnParameterType, callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; + post(method: 'Runtime.callFunctionOn', callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; + /** + * Returns properties of a given object. Object group of the result is inherited from the target object. + */ + post(method: 'Runtime.getProperties', params?: Runtime.GetPropertiesParameterType, callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; + post(method: 'Runtime.getProperties', callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; + /** + * Releases remote object with given id. + */ + post(method: 'Runtime.releaseObject', params?: Runtime.ReleaseObjectParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Runtime.releaseObject', callback?: (err: Error | null) => void): void; + /** + * Releases all remote objects that belong to a given group. + */ + post(method: 'Runtime.releaseObjectGroup', params?: Runtime.ReleaseObjectGroupParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Runtime.releaseObjectGroup', callback?: (err: Error | null) => void): void; + /** + * Tells inspected instance to run if it was waiting for debugger to attach. + */ + post(method: 'Runtime.runIfWaitingForDebugger', callback?: (err: Error | null) => void): void; + /** + * Enables reporting of execution contexts creation by means of executionContextCreated event. When the reporting gets enabled the event will be sent immediately for each existing execution context. + */ + post(method: 'Runtime.enable', callback?: (err: Error | null) => void): void; + /** + * Disables reporting of execution contexts creation. + */ + post(method: 'Runtime.disable', callback?: (err: Error | null) => void): void; + /** + * Discards collected exceptions and console API calls. + */ + post(method: 'Runtime.discardConsoleEntries', callback?: (err: Error | null) => void): void; + /** + * @experimental + */ + post(method: 'Runtime.setCustomObjectFormatterEnabled', params?: Runtime.SetCustomObjectFormatterEnabledParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Runtime.setCustomObjectFormatterEnabled', callback?: (err: Error | null) => void): void; + /** + * Compiles expression. + */ + post(method: 'Runtime.compileScript', params?: Runtime.CompileScriptParameterType, callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; + post(method: 'Runtime.compileScript', callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; + /** + * Runs script with given id in a given context. + */ + post(method: 'Runtime.runScript', params?: Runtime.RunScriptParameterType, callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; + post(method: 'Runtime.runScript', callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; + post(method: 'Runtime.queryObjects', params?: Runtime.QueryObjectsParameterType, callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; + post(method: 'Runtime.queryObjects', callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; + /** + * Returns all let, const and class variables from global scope. + */ + post( + method: 'Runtime.globalLexicalScopeNames', + params?: Runtime.GlobalLexicalScopeNamesParameterType, + callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void + ): void; + post(method: 'Runtime.globalLexicalScopeNames', callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void): void; + /** + * Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received. + */ + post(method: 'Debugger.enable', callback?: (err: Error | null, params: Debugger.EnableReturnType) => void): void; + /** + * Disables debugger for given page. + */ + post(method: 'Debugger.disable', callback?: (err: Error | null) => void): void; + /** + * Activates / deactivates all breakpoints on the page. + */ + post(method: 'Debugger.setBreakpointsActive', params?: Debugger.SetBreakpointsActiveParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setBreakpointsActive', callback?: (err: Error | null) => void): void; + /** + * Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc). + */ + post(method: 'Debugger.setSkipAllPauses', params?: Debugger.SetSkipAllPausesParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setSkipAllPauses', callback?: (err: Error | null) => void): void; + /** + * Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in locations property. Further matching script parsing will result in subsequent breakpointResolved events issued. This logical breakpoint will survive page reloads. + */ + post(method: 'Debugger.setBreakpointByUrl', params?: Debugger.SetBreakpointByUrlParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; + post(method: 'Debugger.setBreakpointByUrl', callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; + /** + * Sets JavaScript breakpoint at a given location. + */ + post(method: 'Debugger.setBreakpoint', params?: Debugger.SetBreakpointParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; + post(method: 'Debugger.setBreakpoint', callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; + /** + * Removes JavaScript breakpoint. + */ + post(method: 'Debugger.removeBreakpoint', params?: Debugger.RemoveBreakpointParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.removeBreakpoint', callback?: (err: Error | null) => void): void; + /** + * Returns possible locations for breakpoint. scriptId in start and end range locations should be the same. + */ + post( + method: 'Debugger.getPossibleBreakpoints', + params?: Debugger.GetPossibleBreakpointsParameterType, + callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void + ): void; + post(method: 'Debugger.getPossibleBreakpoints', callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void): void; + /** + * Continues execution until specific location is reached. + */ + post(method: 'Debugger.continueToLocation', params?: Debugger.ContinueToLocationParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.continueToLocation', callback?: (err: Error | null) => void): void; + /** + * @experimental + */ + post(method: 'Debugger.pauseOnAsyncCall', params?: Debugger.PauseOnAsyncCallParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.pauseOnAsyncCall', callback?: (err: Error | null) => void): void; + /** + * Steps over the statement. + */ + post(method: 'Debugger.stepOver', callback?: (err: Error | null) => void): void; + /** + * Steps into the function call. + */ + post(method: 'Debugger.stepInto', params?: Debugger.StepIntoParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.stepInto', callback?: (err: Error | null) => void): void; + /** + * Steps out of the function call. + */ + post(method: 'Debugger.stepOut', callback?: (err: Error | null) => void): void; + /** + * Stops on the next JavaScript statement. + */ + post(method: 'Debugger.pause', callback?: (err: Error | null) => void): void; + /** + * This method is deprecated - use Debugger.stepInto with breakOnAsyncCall and Debugger.pauseOnAsyncTask instead. Steps into next scheduled async task if any is scheduled before next pause. Returns success when async task is actually scheduled, returns error if no task were scheduled or another scheduleStepIntoAsync was called. + * @experimental + */ + post(method: 'Debugger.scheduleStepIntoAsync', callback?: (err: Error | null) => void): void; + /** + * Resumes JavaScript execution. + */ + post(method: 'Debugger.resume', callback?: (err: Error | null) => void): void; + /** + * Returns stack trace with given stackTraceId. + * @experimental + */ + post(method: 'Debugger.getStackTrace', params?: Debugger.GetStackTraceParameterType, callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; + post(method: 'Debugger.getStackTrace', callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; + /** + * Searches for given string in script content. + */ + post(method: 'Debugger.searchInContent', params?: Debugger.SearchInContentParameterType, callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; + post(method: 'Debugger.searchInContent', callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; + /** + * Edits JavaScript source live. + */ + post(method: 'Debugger.setScriptSource', params?: Debugger.SetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; + post(method: 'Debugger.setScriptSource', callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; + /** + * Restarts particular call frame from the beginning. + */ + post(method: 'Debugger.restartFrame', params?: Debugger.RestartFrameParameterType, callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; + post(method: 'Debugger.restartFrame', callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; + /** + * Returns source for the script with given id. + */ + post(method: 'Debugger.getScriptSource', params?: Debugger.GetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; + post(method: 'Debugger.getScriptSource', callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; + /** + * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is none. + */ + post(method: 'Debugger.setPauseOnExceptions', params?: Debugger.SetPauseOnExceptionsParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setPauseOnExceptions', callback?: (err: Error | null) => void): void; + /** + * Evaluates expression on a given call frame. + */ + post(method: 'Debugger.evaluateOnCallFrame', params?: Debugger.EvaluateOnCallFrameParameterType, callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; + post(method: 'Debugger.evaluateOnCallFrame', callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; + /** + * Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually. + */ + post(method: 'Debugger.setVariableValue', params?: Debugger.SetVariableValueParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setVariableValue', callback?: (err: Error | null) => void): void; + /** + * Changes return value in top frame. Available only at return break position. + * @experimental + */ + post(method: 'Debugger.setReturnValue', params?: Debugger.SetReturnValueParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setReturnValue', callback?: (err: Error | null) => void): void; + /** + * Enables or disables async call stacks tracking. + */ + post(method: 'Debugger.setAsyncCallStackDepth', params?: Debugger.SetAsyncCallStackDepthParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setAsyncCallStackDepth', callback?: (err: Error | null) => void): void; + /** + * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. + * @experimental + */ + post(method: 'Debugger.setBlackboxPatterns', params?: Debugger.SetBlackboxPatternsParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setBlackboxPatterns', callback?: (err: Error | null) => void): void; + /** + * Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted. + * @experimental + */ + post(method: 'Debugger.setBlackboxedRanges', params?: Debugger.SetBlackboxedRangesParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Debugger.setBlackboxedRanges', callback?: (err: Error | null) => void): void; + /** + * Enables console domain, sends the messages collected so far to the client by means of the messageAdded notification. + */ + post(method: 'Console.enable', callback?: (err: Error | null) => void): void; + /** + * Disables console domain, prevents further console messages from being reported to the client. + */ + post(method: 'Console.disable', callback?: (err: Error | null) => void): void; + /** + * Does nothing. + */ + post(method: 'Console.clearMessages', callback?: (err: Error | null) => void): void; + post(method: 'Profiler.enable', callback?: (err: Error | null) => void): void; + post(method: 'Profiler.disable', callback?: (err: Error | null) => void): void; + /** + * Changes CPU profiler sampling interval. Must be called before CPU profiles recording started. + */ + post(method: 'Profiler.setSamplingInterval', params?: Profiler.SetSamplingIntervalParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Profiler.setSamplingInterval', callback?: (err: Error | null) => void): void; + post(method: 'Profiler.start', callback?: (err: Error | null) => void): void; + post(method: 'Profiler.stop', callback?: (err: Error | null, params: Profiler.StopReturnType) => void): void; + /** + * Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters. + */ + post(method: 'Profiler.startPreciseCoverage', params?: Profiler.StartPreciseCoverageParameterType, callback?: (err: Error | null) => void): void; + post(method: 'Profiler.startPreciseCoverage', callback?: (err: Error | null) => void): void; + /** + * Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code. + */ + post(method: 'Profiler.stopPreciseCoverage', callback?: (err: Error | null) => void): void; + /** + * Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started. + */ + post(method: 'Profiler.takePreciseCoverage', callback?: (err: Error | null, params: Profiler.TakePreciseCoverageReturnType) => void): void; + /** + * Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection. + */ + post(method: 'Profiler.getBestEffortCoverage', callback?: (err: Error | null, params: Profiler.GetBestEffortCoverageReturnType) => void): void; + /** + * Enable type profile. + * @experimental + */ + post(method: 'Profiler.startTypeProfile', callback?: (err: Error | null) => void): void; + /** + * Disable type profile. Disabling releases type profile data collected so far. + * @experimental + */ + post(method: 'Profiler.stopTypeProfile', callback?: (err: Error | null) => void): void; + /** + * Collect type profile. + * @experimental + */ + post(method: 'Profiler.takeTypeProfile', callback?: (err: Error | null, params: Profiler.TakeTypeProfileReturnType) => void): void; + post(method: 'HeapProfiler.enable', callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.disable', callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.startTrackingHeapObjects', params?: HeapProfiler.StartTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.startTrackingHeapObjects', callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.stopTrackingHeapObjects', params?: HeapProfiler.StopTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.stopTrackingHeapObjects', callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.takeHeapSnapshot', params?: HeapProfiler.TakeHeapSnapshotParameterType, callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.takeHeapSnapshot', callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.collectGarbage', callback?: (err: Error | null) => void): void; + post( + method: 'HeapProfiler.getObjectByHeapObjectId', + params?: HeapProfiler.GetObjectByHeapObjectIdParameterType, + callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void + ): void; + post(method: 'HeapProfiler.getObjectByHeapObjectId', callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void): void; + /** + * Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions). + */ + post(method: 'HeapProfiler.addInspectedHeapObject', params?: HeapProfiler.AddInspectedHeapObjectParameterType, callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.addInspectedHeapObject', callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.getHeapObjectId', params?: HeapProfiler.GetHeapObjectIdParameterType, callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; + post(method: 'HeapProfiler.getHeapObjectId', callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; + post(method: 'HeapProfiler.startSampling', params?: HeapProfiler.StartSamplingParameterType, callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.startSampling', callback?: (err: Error | null) => void): void; + post(method: 'HeapProfiler.stopSampling', callback?: (err: Error | null, params: HeapProfiler.StopSamplingReturnType) => void): void; + post(method: 'HeapProfiler.getSamplingProfile', callback?: (err: Error | null, params: HeapProfiler.GetSamplingProfileReturnType) => void): void; + /** + * Gets supported tracing categories. + */ + post(method: 'NodeTracing.getCategories', callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void; + /** + * Start trace events collection. + */ + post(method: 'NodeTracing.start', params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void; + post(method: 'NodeTracing.start', callback?: (err: Error | null) => void): void; + /** + * Stop trace events collection. Remaining collected events will be sent as a sequence of + * dataCollected events followed by tracingComplete event. + */ + post(method: 'NodeTracing.stop', callback?: (err: Error | null) => void): void; + /** + * Sends protocol message over session with given id. + */ + post(method: 'NodeWorker.sendMessageToWorker', params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void; + post(method: 'NodeWorker.sendMessageToWorker', callback?: (err: Error | null) => void): void; + /** + * Instructs the inspector to attach to running workers. Will also attach to new workers + * as they start + */ + post(method: 'NodeWorker.enable', params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void; + post(method: 'NodeWorker.enable', callback?: (err: Error | null) => void): void; + /** + * Detaches from all running workers and disables attaching to new workers as they are started. + */ + post(method: 'NodeWorker.disable', callback?: (err: Error | null) => void): void; + /** + * Detached from the worker with given sessionId. + */ + post(method: 'NodeWorker.detach', params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void; + post(method: 'NodeWorker.detach', callback?: (err: Error | null) => void): void; + /** + * Enable the `NodeRuntime.waitingForDisconnect`. + */ + post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void; + post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', callback?: (err: Error | null) => void): void; + // Events + addListener(event: string, listener: (...args: any[]) => void): this; + /** + * Emitted when any notification from the V8 Inspector is received. + */ + addListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; + /** + * Issued when new execution context is created. + */ + addListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; + /** + * Issued when execution context is destroyed. + */ + addListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; + /** + * Issued when all executionContexts were cleared in browser + */ + addListener(event: 'Runtime.executionContextsCleared', listener: () => void): this; + /** + * Issued when exception was thrown and unhandled. + */ + addListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; + /** + * Issued when unhandled exception was revoked. + */ + addListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; + /** + * Issued when console API was called. + */ + addListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; + /** + * Issued when object should be inspected (for example, as a result of inspect() command line API call). + */ + addListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. + */ + addListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine fails to parse the script. + */ + addListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; + /** + * Fired when breakpoint is resolved to an actual script and location. + */ + addListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. + */ + addListener(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine resumed execution. + */ + addListener(event: 'Debugger.resumed', listener: () => void): this; + /** + * Issued when new console message is added. + */ + addListener(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; + /** + * Sent when new profile recording is started using console.profile() call. + */ + addListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; + addListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; + addListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; + addListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this; + addListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. + */ + addListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend may send update for one or more fragments + */ + addListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; + /** + * Contains an bucket of collected trace events. + */ + addListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; + /** + * Signals that tracing is stopped and there is no trace buffers pending flush, all data were + * delivered via dataCollected events. + */ + addListener(event: 'NodeTracing.tracingComplete', listener: () => void): this; + /** + * Issued when attached to a worker. + */ + addListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; + /** + * Issued when detached from the worker. + */ + addListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * Notifies about a new protocol message received from the session + * (session ID is provided in attachedToWorker notification). + */ + addListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * This event is fired instead of `Runtime.executionContextDestroyed` when + * enabled. + * It is fired when the Node process finished all code execution and is + * waiting for all frontends to disconnect. + */ + addListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: 'inspectorNotification', message: InspectorNotification<{}>): boolean; + emit(event: 'Runtime.executionContextCreated', message: InspectorNotification): boolean; + emit(event: 'Runtime.executionContextDestroyed', message: InspectorNotification): boolean; + emit(event: 'Runtime.executionContextsCleared'): boolean; + emit(event: 'Runtime.exceptionThrown', message: InspectorNotification): boolean; + emit(event: 'Runtime.exceptionRevoked', message: InspectorNotification): boolean; + emit(event: 'Runtime.consoleAPICalled', message: InspectorNotification): boolean; + emit(event: 'Runtime.inspectRequested', message: InspectorNotification): boolean; + emit(event: 'Debugger.scriptParsed', message: InspectorNotification): boolean; + emit(event: 'Debugger.scriptFailedToParse', message: InspectorNotification): boolean; + emit(event: 'Debugger.breakpointResolved', message: InspectorNotification): boolean; + emit(event: 'Debugger.paused', message: InspectorNotification): boolean; + emit(event: 'Debugger.resumed'): boolean; + emit(event: 'Console.messageAdded', message: InspectorNotification): boolean; + emit(event: 'Profiler.consoleProfileStarted', message: InspectorNotification): boolean; + emit(event: 'Profiler.consoleProfileFinished', message: InspectorNotification): boolean; + emit(event: 'HeapProfiler.addHeapSnapshotChunk', message: InspectorNotification): boolean; + emit(event: 'HeapProfiler.resetProfiles'): boolean; + emit(event: 'HeapProfiler.reportHeapSnapshotProgress', message: InspectorNotification): boolean; + emit(event: 'HeapProfiler.lastSeenObjectId', message: InspectorNotification): boolean; + emit(event: 'HeapProfiler.heapStatsUpdate', message: InspectorNotification): boolean; + emit(event: 'NodeTracing.dataCollected', message: InspectorNotification): boolean; + emit(event: 'NodeTracing.tracingComplete'): boolean; + emit(event: 'NodeWorker.attachedToWorker', message: InspectorNotification): boolean; + emit(event: 'NodeWorker.detachedFromWorker', message: InspectorNotification): boolean; + emit(event: 'NodeWorker.receivedMessageFromWorker', message: InspectorNotification): boolean; + emit(event: 'NodeRuntime.waitingForDisconnect'): boolean; + on(event: string, listener: (...args: any[]) => void): this; + /** + * Emitted when any notification from the V8 Inspector is received. + */ + on(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; + /** + * Issued when new execution context is created. + */ + on(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; + /** + * Issued when execution context is destroyed. + */ + on(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; + /** + * Issued when all executionContexts were cleared in browser + */ + on(event: 'Runtime.executionContextsCleared', listener: () => void): this; + /** + * Issued when exception was thrown and unhandled. + */ + on(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; + /** + * Issued when unhandled exception was revoked. + */ + on(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; + /** + * Issued when console API was called. + */ + on(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; + /** + * Issued when object should be inspected (for example, as a result of inspect() command line API call). + */ + on(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. + */ + on(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine fails to parse the script. + */ + on(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; + /** + * Fired when breakpoint is resolved to an actual script and location. + */ + on(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. + */ + on(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine resumed execution. + */ + on(event: 'Debugger.resumed', listener: () => void): this; + /** + * Issued when new console message is added. + */ + on(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; + /** + * Sent when new profile recording is started using console.profile() call. + */ + on(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; + on(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; + on(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; + on(event: 'HeapProfiler.resetProfiles', listener: () => void): this; + on(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. + */ + on(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend may send update for one or more fragments + */ + on(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; + /** + * Contains an bucket of collected trace events. + */ + on(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; + /** + * Signals that tracing is stopped and there is no trace buffers pending flush, all data were + * delivered via dataCollected events. + */ + on(event: 'NodeTracing.tracingComplete', listener: () => void): this; + /** + * Issued when attached to a worker. + */ + on(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; + /** + * Issued when detached from the worker. + */ + on(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * Notifies about a new protocol message received from the session + * (session ID is provided in attachedToWorker notification). + */ + on(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * This event is fired instead of `Runtime.executionContextDestroyed` when + * enabled. + * It is fired when the Node process finished all code execution and is + * waiting for all frontends to disconnect. + */ + on(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; + once(event: string, listener: (...args: any[]) => void): this; + /** + * Emitted when any notification from the V8 Inspector is received. + */ + once(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; + /** + * Issued when new execution context is created. + */ + once(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; + /** + * Issued when execution context is destroyed. + */ + once(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; + /** + * Issued when all executionContexts were cleared in browser + */ + once(event: 'Runtime.executionContextsCleared', listener: () => void): this; + /** + * Issued when exception was thrown and unhandled. + */ + once(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; + /** + * Issued when unhandled exception was revoked. + */ + once(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; + /** + * Issued when console API was called. + */ + once(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; + /** + * Issued when object should be inspected (for example, as a result of inspect() command line API call). + */ + once(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. + */ + once(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine fails to parse the script. + */ + once(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; + /** + * Fired when breakpoint is resolved to an actual script and location. + */ + once(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. + */ + once(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine resumed execution. + */ + once(event: 'Debugger.resumed', listener: () => void): this; + /** + * Issued when new console message is added. + */ + once(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; + /** + * Sent when new profile recording is started using console.profile() call. + */ + once(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; + once(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; + once(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; + once(event: 'HeapProfiler.resetProfiles', listener: () => void): this; + once(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. + */ + once(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend may send update for one or more fragments + */ + once(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; + /** + * Contains an bucket of collected trace events. + */ + once(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; + /** + * Signals that tracing is stopped and there is no trace buffers pending flush, all data were + * delivered via dataCollected events. + */ + once(event: 'NodeTracing.tracingComplete', listener: () => void): this; + /** + * Issued when attached to a worker. + */ + once(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; + /** + * Issued when detached from the worker. + */ + once(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * Notifies about a new protocol message received from the session + * (session ID is provided in attachedToWorker notification). + */ + once(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * This event is fired instead of `Runtime.executionContextDestroyed` when + * enabled. + * It is fired when the Node process finished all code execution and is + * waiting for all frontends to disconnect. + */ + once(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + /** + * Emitted when any notification from the V8 Inspector is received. + */ + prependListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; + /** + * Issued when new execution context is created. + */ + prependListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; + /** + * Issued when execution context is destroyed. + */ + prependListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; + /** + * Issued when all executionContexts were cleared in browser + */ + prependListener(event: 'Runtime.executionContextsCleared', listener: () => void): this; + /** + * Issued when exception was thrown and unhandled. + */ + prependListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; + /** + * Issued when unhandled exception was revoked. + */ + prependListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; + /** + * Issued when console API was called. + */ + prependListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; + /** + * Issued when object should be inspected (for example, as a result of inspect() command line API call). + */ + prependListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. + */ + prependListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine fails to parse the script. + */ + prependListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; + /** + * Fired when breakpoint is resolved to an actual script and location. + */ + prependListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. + */ + prependListener(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine resumed execution. + */ + prependListener(event: 'Debugger.resumed', listener: () => void): this; + /** + * Issued when new console message is added. + */ + prependListener(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; + /** + * Sent when new profile recording is started using console.profile() call. + */ + prependListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; + prependListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; + prependListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; + prependListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this; + prependListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. + */ + prependListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend may send update for one or more fragments + */ + prependListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; + /** + * Contains an bucket of collected trace events. + */ + prependListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; + /** + * Signals that tracing is stopped and there is no trace buffers pending flush, all data were + * delivered via dataCollected events. + */ + prependListener(event: 'NodeTracing.tracingComplete', listener: () => void): this; + /** + * Issued when attached to a worker. + */ + prependListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; + /** + * Issued when detached from the worker. + */ + prependListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * Notifies about a new protocol message received from the session + * (session ID is provided in attachedToWorker notification). + */ + prependListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * This event is fired instead of `Runtime.executionContextDestroyed` when + * enabled. + * It is fired when the Node process finished all code execution and is + * waiting for all frontends to disconnect. + */ + prependListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + /** + * Emitted when any notification from the V8 Inspector is received. + */ + prependOnceListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; + /** + * Issued when new execution context is created. + */ + prependOnceListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification) => void): this; + /** + * Issued when execution context is destroyed. + */ + prependOnceListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification) => void): this; + /** + * Issued when all executionContexts were cleared in browser + */ + prependOnceListener(event: 'Runtime.executionContextsCleared', listener: () => void): this; + /** + * Issued when exception was thrown and unhandled. + */ + prependOnceListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification) => void): this; + /** + * Issued when unhandled exception was revoked. + */ + prependOnceListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification) => void): this; + /** + * Issued when console API was called. + */ + prependOnceListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification) => void): this; + /** + * Issued when object should be inspected (for example, as a result of inspect() command line API call). + */ + prependOnceListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. + */ + prependOnceListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification) => void): this; + /** + * Fired when virtual machine fails to parse the script. + */ + prependOnceListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification) => void): this; + /** + * Fired when breakpoint is resolved to an actual script and location. + */ + prependOnceListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. + */ + prependOnceListener(event: 'Debugger.paused', listener: (message: InspectorNotification) => void): this; + /** + * Fired when the virtual machine resumed execution. + */ + prependOnceListener(event: 'Debugger.resumed', listener: () => void): this; + /** + * Issued when new console message is added. + */ + prependOnceListener(event: 'Console.messageAdded', listener: (message: InspectorNotification) => void): this; + /** + * Sent when new profile recording is started using console.profile() call. + */ + prependOnceListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification) => void): this; + prependOnceListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification) => void): this; + prependOnceListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification) => void): this; + prependOnceListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this; + prependOnceListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. + */ + prependOnceListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification) => void): this; + /** + * If heap objects tracking has been started then backend may send update for one or more fragments + */ + prependOnceListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification) => void): this; + /** + * Contains an bucket of collected trace events. + */ + prependOnceListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification) => void): this; + /** + * Signals that tracing is stopped and there is no trace buffers pending flush, all data were + * delivered via dataCollected events. + */ + prependOnceListener(event: 'NodeTracing.tracingComplete', listener: () => void): this; + /** + * Issued when attached to a worker. + */ + prependOnceListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification) => void): this; + /** + * Issued when detached from the worker. + */ + prependOnceListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * Notifies about a new protocol message received from the session + * (session ID is provided in attachedToWorker notification). + */ + prependOnceListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification) => void): this; + /** + * This event is fired instead of `Runtime.executionContextDestroyed` when + * enabled. + * It is fired when the Node process finished all code execution and is + * waiting for all frontends to disconnect. + */ + prependOnceListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; + } + /** + * Activate inspector on host and port. Equivalent to`node --inspect=[[host:]port]`, but can be done programmatically after node has + * started. + * + * If wait is `true`, will block until a client has connected to the inspect port + * and flow control has been passed to the debugger client. + * + * See the `security warning` regarding the `host`parameter usage. + * @param [port='what was specified on the CLI'] Port to listen on for inspector connections. Optional. + * @param [host='what was specified on the CLI'] Host to listen on for inspector connections. Optional. + * @param [wait=false] Block until a client has connected. Optional. + * @returns Disposable that calls `inspector.close()`. + */ + function open(port?: number, host?: string, wait?: boolean): Disposable; + /** + * Deactivate the inspector. Blocks until there are no active connections. + */ + function close(): void; + /** + * Return the URL of the active inspector, or `undefined` if there is none. + * + * ```console + * $ node --inspect -p 'inspector.url()' + * Debugger listening on ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34 + * For help, see: https://nodejs.org/en/docs/inspector + * ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34 + * + * $ node --inspect=localhost:3000 -p 'inspector.url()' + * Debugger listening on ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a + * For help, see: https://nodejs.org/en/docs/inspector + * ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a + * + * $ node -p 'inspector.url()' + * undefined + * ``` + */ + function url(): string | undefined; + /** + * Blocks until a client (existing or connected later) has sent`Runtime.runIfWaitingForDebugger` command. + * + * An exception will be thrown if there is no active inspector. + * @since v12.7.0 + */ + function waitForDebugger(): void; +} +/** + * The inspector module provides an API for interacting with the V8 inspector. + */ +declare module 'node:inspector' { + import inspector = require('inspector'); + export = inspector; +} diff --git a/node_modules/@types/node/ts4.8/module.d.ts b/node_modules/@types/node/ts4.8/module.d.ts new file mode 100644 index 000000000..68d59c773 --- /dev/null +++ b/node_modules/@types/node/ts4.8/module.d.ts @@ -0,0 +1,301 @@ +/** + * @since v0.3.7 + * @experimental + */ +declare module "module" { + import { URL } from "node:url"; + import { MessagePort } from "node:worker_threads"; + namespace Module { + /** + * The `module.syncBuiltinESMExports()` method updates all the live bindings for + * builtin `ES Modules` to match the properties of the `CommonJS` exports. It + * does not add or remove exported names from the `ES Modules`. + * + * ```js + * const fs = require('node:fs'); + * const assert = require('node:assert'); + * const { syncBuiltinESMExports } = require('node:module'); + * + * fs.readFile = newAPI; + * + * delete fs.readFileSync; + * + * function newAPI() { + * // ... + * } + * + * fs.newAPI = newAPI; + * + * syncBuiltinESMExports(); + * + * import('node:fs').then((esmFS) => { + * // It syncs the existing readFile property with the new value + * assert.strictEqual(esmFS.readFile, newAPI); + * // readFileSync has been deleted from the required fs + * assert.strictEqual('readFileSync' in fs, false); + * // syncBuiltinESMExports() does not remove readFileSync from esmFS + * assert.strictEqual('readFileSync' in esmFS, true); + * // syncBuiltinESMExports() does not add names + * assert.strictEqual(esmFS.newAPI, undefined); + * }); + * ``` + * @since v12.12.0 + */ + function syncBuiltinESMExports(): void; + /** + * `path` is the resolved path for the file for which a corresponding source map + * should be fetched. + * @since v13.7.0, v12.17.0 + * @return Returns `module.SourceMap` if a source map is found, `undefined` otherwise. + */ + function findSourceMap(path: string, error?: Error): SourceMap; + interface SourceMapPayload { + file: string; + version: number; + sources: string[]; + sourcesContent: string[]; + names: string[]; + mappings: string; + sourceRoot: string; + } + interface SourceMapping { + generatedLine: number; + generatedColumn: number; + originalSource: string; + originalLine: number; + originalColumn: number; + } + interface SourceOrigin { + /** + * The name of the range in the source map, if one was provided + */ + name?: string; + /** + * The file name of the original source, as reported in the SourceMap + */ + fileName: string; + /** + * The 1-indexed lineNumber of the corresponding call site in the original source + */ + lineNumber: number; + /** + * The 1-indexed columnNumber of the corresponding call site in the original source + */ + columnNumber: number; + } + /** + * @since v13.7.0, v12.17.0 + */ + class SourceMap { + /** + * Getter for the payload used to construct the `SourceMap` instance. + */ + readonly payload: SourceMapPayload; + constructor(payload: SourceMapPayload); + /** + * Given a line offset and column offset in the generated source + * file, returns an object representing the SourceMap range in the + * original file if found, or an empty object if not. + * + * The object returned contains the following keys: + * + * The returned value represents the raw range as it appears in the + * SourceMap, based on zero-indexed offsets, _not_ 1-indexed line and + * column numbers as they appear in Error messages and CallSite + * objects. + * + * To get the corresponding 1-indexed line and column numbers from a + * lineNumber and columnNumber as they are reported by Error stacks + * and CallSite objects, use `sourceMap.findOrigin(lineNumber, columnNumber)` + * @param lineOffset The zero-indexed line number offset in the generated source + * @param columnOffset The zero-indexed column number offset in the generated source + */ + findEntry(lineOffset: number, columnOffset: number): SourceMapping; + /** + * Given a 1-indexed `lineNumber` and `columnNumber` from a call site in the generated source, + * find the corresponding call site location in the original source. + * + * If the `lineNumber` and `columnNumber` provided are not found in any source map, + * then an empty object is returned. + * @param lineNumber The 1-indexed line number of the call site in the generated source + * @param columnNumber The 1-indexed column number of the call site in the generated source + */ + findOrigin(lineNumber: number, columnNumber: number): SourceOrigin | {}; + } + /** @deprecated Use `ImportAttributes` instead */ + interface ImportAssertions extends ImportAttributes {} + interface ImportAttributes extends NodeJS.Dict { + type?: string | undefined; + } + type ModuleFormat = "builtin" | "commonjs" | "json" | "module" | "wasm"; + type ModuleSource = string | ArrayBuffer | NodeJS.TypedArray; + interface GlobalPreloadContext { + port: MessagePort; + } + /** + * @deprecated This hook will be removed in a future version. + * Use `initialize` instead. When a loader has an `initialize` export, `globalPreload` will be ignored. + * + * Sometimes it might be necessary to run some code inside of the same global scope that the application runs in. + * This hook allows the return of a string that is run as a sloppy-mode script on startup. + * + * @param context Information to assist the preload code + * @return Code to run before application startup + */ + type GlobalPreloadHook = (context: GlobalPreloadContext) => string; + /** + * The `initialize` hook provides a way to define a custom function that runs in the hooks thread + * when the hooks module is initialized. Initialization happens when the hooks module is registered via `register`. + * + * This hook can receive data from a `register` invocation, including ports and other transferrable objects. + * The return value of `initialize` can be a `Promise`, in which case it will be awaited before the main application thread execution resumes. + */ + type InitializeHook = (data: Data) => void | Promise; + interface ResolveHookContext { + /** + * Export conditions of the relevant `package.json` + */ + conditions: string[]; + /** + * @deprecated Use `importAttributes` instead + */ + importAssertions: ImportAttributes; + /** + * An object whose key-value pairs represent the assertions for the module to import + */ + importAttributes: ImportAttributes; + /** + * The module importing this one, or undefined if this is the Node.js entry point + */ + parentURL: string | undefined; + } + interface ResolveFnOutput { + /** + * A hint to the load hook (it might be ignored) + */ + format?: ModuleFormat | null | undefined; + /** + * @deprecated Use `importAttributes` instead + */ + importAssertions?: ImportAttributes | undefined; + /** + * The import attributes to use when caching the module (optional; if excluded the input will be used) + */ + importAttributes?: ImportAttributes | undefined; + /** + * A signal that this hook intends to terminate the chain of `resolve` hooks. + * @default false + */ + shortCircuit?: boolean | undefined; + /** + * The absolute URL to which this input resolves + */ + url: string; + } + /** + * The `resolve` hook chain is responsible for resolving file URL for a given module specifier and parent URL, and optionally its format (such as `'module'`) as a hint to the `load` hook. + * If a format is specified, the load hook is ultimately responsible for providing the final `format` value (and it is free to ignore the hint provided by `resolve`); + * if `resolve` provides a format, a custom `load` hook is required even if only to pass the value to the Node.js default `load` hook. + * + * @param specifier The specified URL path of the module to be resolved + * @param context + * @param nextResolve The subsequent `resolve` hook in the chain, or the Node.js default `resolve` hook after the last user-supplied resolve hook + */ + type ResolveHook = ( + specifier: string, + context: ResolveHookContext, + nextResolve: ( + specifier: string, + context?: ResolveHookContext, + ) => ResolveFnOutput | Promise, + ) => ResolveFnOutput | Promise; + interface LoadHookContext { + /** + * Export conditions of the relevant `package.json` + */ + conditions: string[]; + /** + * The format optionally supplied by the `resolve` hook chain + */ + format: ModuleFormat; + /** + * @deprecated Use `importAttributes` instead + */ + importAssertions: ImportAttributes; + /** + * An object whose key-value pairs represent the assertions for the module to import + */ + importAttributes: ImportAttributes; + } + interface LoadFnOutput { + format: ModuleFormat; + /** + * A signal that this hook intends to terminate the chain of `resolve` hooks. + * @default false + */ + shortCircuit?: boolean | undefined; + /** + * The source for Node.js to evaluate + */ + source?: ModuleSource; + } + /** + * The `load` hook provides a way to define a custom method of determining how a URL should be interpreted, retrieved, and parsed. + * It is also in charge of validating the import assertion. + * + * @param url The URL/path of the module to be loaded + * @param context Metadata about the module + * @param nextLoad The subsequent `load` hook in the chain, or the Node.js default `load` hook after the last user-supplied `load` hook + */ + type LoadHook = ( + url: string, + context: LoadHookContext, + nextLoad: (url: string, context?: LoadHookContext) => LoadFnOutput | Promise, + ) => LoadFnOutput | Promise; + } + interface RegisterOptions { + parentURL: string | URL; + data?: Data | undefined; + transferList?: any[] | undefined; + } + interface Module extends NodeModule {} + class Module { + static runMain(): void; + static wrap(code: string): string; + static createRequire(path: string | URL): NodeRequire; + static builtinModules: string[]; + static isBuiltin(moduleName: string): boolean; + static Module: typeof Module; + static register( + specifier: string | URL, + parentURL?: string | URL, + options?: RegisterOptions, + ): void; + static register(specifier: string | URL, options?: RegisterOptions): void; + constructor(id: string, parent?: Module); + } + global { + interface ImportMeta { + url: string; + /** + * Provides a module-relative resolution function scoped to each module, returning + * the URL string. + * + * Second `parent` parameter is only used when the `--experimental-import-meta-resolve` + * command flag enabled. + * + * @since v20.6.0 + * + * @param specifier The module specifier to resolve relative to `parent`. + * @param parent The absolute parent module URL to resolve from. + * @returns The absolute (`file:`) URL string for the resolved module. + */ + resolve(specifier: string, parent?: string | URL | undefined): string; + } + } + export = Module; +} +declare module "node:module" { + import module = require("module"); + export = module; +} diff --git a/node_modules/@types/node/ts4.8/net.d.ts b/node_modules/@types/node/ts4.8/net.d.ts new file mode 100644 index 000000000..70789e1ba --- /dev/null +++ b/node_modules/@types/node/ts4.8/net.d.ts @@ -0,0 +1,949 @@ +/** + * > Stability: 2 - Stable + * + * The `node:net` module provides an asynchronous network API for creating stream-based + * TCP or `IPC` servers ({@link createServer}) and clients + * ({@link createConnection}). + * + * It can be accessed using: + * + * ```js + * const net = require('node:net'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/net.js) + */ +declare module "net" { + import * as stream from "node:stream"; + import { Abortable, EventEmitter } from "node:events"; + import * as dns from "node:dns"; + type LookupFunction = ( + hostname: string, + options: dns.LookupAllOptions, + callback: (err: NodeJS.ErrnoException | null, addresses: dns.LookupAddress[]) => void, + ) => void; + interface AddressInfo { + address: string; + family: string; + port: number; + } + interface SocketConstructorOpts { + fd?: number | undefined; + allowHalfOpen?: boolean | undefined; + readable?: boolean | undefined; + writable?: boolean | undefined; + signal?: AbortSignal; + } + interface OnReadOpts { + buffer: Uint8Array | (() => Uint8Array); + /** + * This function is called for every chunk of incoming data. + * Two arguments are passed to it: the number of bytes written to buffer and a reference to buffer. + * Return false from this function to implicitly pause() the socket. + */ + callback(bytesWritten: number, buf: Uint8Array): boolean; + } + interface ConnectOpts { + /** + * If specified, incoming data is stored in a single buffer and passed to the supplied callback when data arrives on the socket. + * Note: this will cause the streaming functionality to not provide any data, however events like 'error', 'end', and 'close' will + * still be emitted as normal and methods like pause() and resume() will also behave as expected. + */ + onread?: OnReadOpts | undefined; + } + interface TcpSocketConnectOpts extends ConnectOpts { + port: number; + host?: string | undefined; + localAddress?: string | undefined; + localPort?: number | undefined; + hints?: number | undefined; + family?: number | undefined; + lookup?: LookupFunction | undefined; + noDelay?: boolean | undefined; + keepAlive?: boolean | undefined; + keepAliveInitialDelay?: number | undefined; + /** + * @since v18.13.0 + */ + autoSelectFamily?: boolean | undefined; + /** + * @since v18.13.0 + */ + autoSelectFamilyAttemptTimeout?: number | undefined; + } + interface IpcSocketConnectOpts extends ConnectOpts { + path: string; + } + type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts; + type SocketReadyState = "opening" | "open" | "readOnly" | "writeOnly" | "closed"; + /** + * This class is an abstraction of a TCP socket or a streaming `IPC` endpoint + * (uses named pipes on Windows, and Unix domain sockets otherwise). It is also + * an `EventEmitter`. + * + * A `net.Socket` can be created by the user and used directly to interact with + * a server. For example, it is returned by {@link createConnection}, + * so the user can use it to talk to the server. + * + * It can also be created by Node.js and passed to the user when a connection + * is received. For example, it is passed to the listeners of a `'connection'` event emitted on a {@link Server}, so the user can use + * it to interact with the client. + * @since v0.3.4 + */ + class Socket extends stream.Duplex { + constructor(options?: SocketConstructorOpts); + /** + * Destroys the socket after all data is written. If the `finish` event was already emitted the socket is destroyed immediately. + * If the socket is still writable it implicitly calls `socket.end()`. + * @since v0.3.4 + */ + destroySoon(): void; + /** + * Sends data on the socket. The second parameter specifies the encoding in the + * case of a string. It defaults to UTF8 encoding. + * + * Returns `true` if the entire data was flushed successfully to the kernel + * buffer. Returns `false` if all or part of the data was queued in user memory.`'drain'` will be emitted when the buffer is again free. + * + * The optional `callback` parameter will be executed when the data is finally + * written out, which may not be immediately. + * + * See `Writable` stream `write()` method for more + * information. + * @since v0.1.90 + * @param [encoding='utf8'] Only used when data is `string`. + */ + write(buffer: Uint8Array | string, cb?: (err?: Error) => void): boolean; + write(str: Uint8Array | string, encoding?: BufferEncoding, cb?: (err?: Error) => void): boolean; + /** + * Initiate a connection on a given socket. + * + * Possible signatures: + * + * * `socket.connect(options[, connectListener])` + * * `socket.connect(path[, connectListener])` for `IPC` connections. + * * `socket.connect(port[, host][, connectListener])` for TCP connections. + * * Returns: `net.Socket` The socket itself. + * + * This function is asynchronous. When the connection is established, the `'connect'` event will be emitted. If there is a problem connecting, + * instead of a `'connect'` event, an `'error'` event will be emitted with + * the error passed to the `'error'` listener. + * The last parameter `connectListener`, if supplied, will be added as a listener + * for the `'connect'` event **once**. + * + * This function should only be used for reconnecting a socket after`'close'` has been emitted or otherwise it may lead to undefined + * behavior. + */ + connect(options: SocketConnectOpts, connectionListener?: () => void): this; + connect(port: number, host: string, connectionListener?: () => void): this; + connect(port: number, connectionListener?: () => void): this; + connect(path: string, connectionListener?: () => void): this; + /** + * Set the encoding for the socket as a `Readable Stream`. See `readable.setEncoding()` for more information. + * @since v0.1.90 + * @return The socket itself. + */ + setEncoding(encoding?: BufferEncoding): this; + /** + * Pauses the reading of data. That is, `'data'` events will not be emitted. + * Useful to throttle back an upload. + * @return The socket itself. + */ + pause(): this; + /** + * Close the TCP connection by sending an RST packet and destroy the stream. + * If this TCP socket is in connecting status, it will send an RST packet and destroy this TCP socket once it is connected. + * Otherwise, it will call `socket.destroy` with an `ERR_SOCKET_CLOSED` Error. + * If this is not a TCP socket (for example, a pipe), calling this method will immediately throw an `ERR_INVALID_HANDLE_TYPE` Error. + * @since v18.3.0, v16.17.0 + */ + resetAndDestroy(): this; + /** + * Resumes reading after a call to `socket.pause()`. + * @return The socket itself. + */ + resume(): this; + /** + * Sets the socket to timeout after `timeout` milliseconds of inactivity on + * the socket. By default `net.Socket` do not have a timeout. + * + * When an idle timeout is triggered the socket will receive a `'timeout'` event but the connection will not be severed. The user must manually call `socket.end()` or `socket.destroy()` to + * end the connection. + * + * ```js + * socket.setTimeout(3000); + * socket.on('timeout', () => { + * console.log('socket timeout'); + * socket.end(); + * }); + * ``` + * + * If `timeout` is 0, then the existing idle timeout is disabled. + * + * The optional `callback` parameter will be added as a one-time listener for the `'timeout'` event. + * @since v0.1.90 + * @return The socket itself. + */ + setTimeout(timeout: number, callback?: () => void): this; + /** + * Enable/disable the use of Nagle's algorithm. + * + * When a TCP connection is created, it will have Nagle's algorithm enabled. + * + * Nagle's algorithm delays data before it is sent via the network. It attempts + * to optimize throughput at the expense of latency. + * + * Passing `true` for `noDelay` or not passing an argument will disable Nagle's + * algorithm for the socket. Passing `false` for `noDelay` will enable Nagle's + * algorithm. + * @since v0.1.90 + * @param [noDelay=true] + * @return The socket itself. + */ + setNoDelay(noDelay?: boolean): this; + /** + * Enable/disable keep-alive functionality, and optionally set the initial + * delay before the first keepalive probe is sent on an idle socket. + * + * Set `initialDelay` (in milliseconds) to set the delay between the last + * data packet received and the first keepalive probe. Setting `0` for`initialDelay` will leave the value unchanged from the default + * (or previous) setting. + * + * Enabling the keep-alive functionality will set the following socket options: + * + * * `SO_KEEPALIVE=1` + * * `TCP_KEEPIDLE=initialDelay` + * * `TCP_KEEPCNT=10` + * * `TCP_KEEPINTVL=1` + * @since v0.1.92 + * @param [enable=false] + * @param [initialDelay=0] + * @return The socket itself. + */ + setKeepAlive(enable?: boolean, initialDelay?: number): this; + /** + * Returns the bound `address`, the address `family` name and `port` of the + * socket as reported by the operating system:`{ port: 12346, family: 'IPv4', address: '127.0.0.1' }` + * @since v0.1.90 + */ + address(): AddressInfo | {}; + /** + * Calling `unref()` on a socket will allow the program to exit if this is the only + * active socket in the event system. If the socket is already `unref`ed calling`unref()` again will have no effect. + * @since v0.9.1 + * @return The socket itself. + */ + unref(): this; + /** + * Opposite of `unref()`, calling `ref()` on a previously `unref`ed socket will _not_ let the program exit if it's the only socket left (the default behavior). + * If the socket is `ref`ed calling `ref` again will have no effect. + * @since v0.9.1 + * @return The socket itself. + */ + ref(): this; + /** + * This property is only present if the family autoselection algorithm is enabled in `socket.connect(options)` + * and it is an array of the addresses that have been attempted. + * + * Each address is a string in the form of `$IP:$PORT`. + * If the connection was successful, then the last address is the one that the socket is currently connected to. + * @since v19.4.0 + */ + readonly autoSelectFamilyAttemptedAddresses: string[]; + /** + * This property shows the number of characters buffered for writing. The buffer + * may contain strings whose length after encoding is not yet known. So this number + * is only an approximation of the number of bytes in the buffer. + * + * `net.Socket` has the property that `socket.write()` always works. This is to + * help users get up and running quickly. The computer cannot always keep up + * with the amount of data that is written to a socket. The network connection + * simply might be too slow. Node.js will internally queue up the data written to a + * socket and send it out over the wire when it is possible. + * + * The consequence of this internal buffering is that memory may grow. + * Users who experience large or growing `bufferSize` should attempt to + * "throttle" the data flows in their program with `socket.pause()` and `socket.resume()`. + * @since v0.3.8 + * @deprecated Since v14.6.0 - Use `writableLength` instead. + */ + readonly bufferSize: number; + /** + * The amount of received bytes. + * @since v0.5.3 + */ + readonly bytesRead: number; + /** + * The amount of bytes sent. + * @since v0.5.3 + */ + readonly bytesWritten: number; + /** + * If `true`,`socket.connect(options[, connectListener])` was + * called and has not yet finished. It will stay `true` until the socket becomes + * connected, then it is set to `false` and the `'connect'` event is emitted. Note + * that the `socket.connect(options[, connectListener])` callback is a listener for the `'connect'` event. + * @since v6.1.0 + */ + readonly connecting: boolean; + /** + * This is `true` if the socket is not connected yet, either because `.connect()`has not yet been called or because it is still in the process of connecting + * (see `socket.connecting`). + * @since v11.2.0, v10.16.0 + */ + readonly pending: boolean; + /** + * See `writable.destroyed` for further details. + */ + readonly destroyed: boolean; + /** + * The string representation of the local IP address the remote client is + * connecting on. For example, in a server listening on `'0.0.0.0'`, if a client + * connects on `'192.168.1.1'`, the value of `socket.localAddress` would be`'192.168.1.1'`. + * @since v0.9.6 + */ + readonly localAddress?: string; + /** + * The numeric representation of the local port. For example, `80` or `21`. + * @since v0.9.6 + */ + readonly localPort?: number; + /** + * The string representation of the local IP family. `'IPv4'` or `'IPv6'`. + * @since v18.8.0, v16.18.0 + */ + readonly localFamily?: string; + /** + * This property represents the state of the connection as a string. + * + * * If the stream is connecting `socket.readyState` is `opening`. + * * If the stream is readable and writable, it is `open`. + * * If the stream is readable and not writable, it is `readOnly`. + * * If the stream is not readable and writable, it is `writeOnly`. + * @since v0.5.0 + */ + readonly readyState: SocketReadyState; + /** + * The string representation of the remote IP address. For example,`'74.125.127.100'` or `'2001:4860:a005::68'`. Value may be `undefined` if + * the socket is destroyed (for example, if the client disconnected). + * @since v0.5.10 + */ + readonly remoteAddress?: string | undefined; + /** + * The string representation of the remote IP family. `'IPv4'` or `'IPv6'`. Value may be `undefined` if + * the socket is destroyed (for example, if the client disconnected). + * @since v0.11.14 + */ + readonly remoteFamily?: string | undefined; + /** + * The numeric representation of the remote port. For example, `80` or `21`. Value may be `undefined` if + * the socket is destroyed (for example, if the client disconnected). + * @since v0.5.10 + */ + readonly remotePort?: number | undefined; + /** + * The socket timeout in milliseconds as set by `socket.setTimeout()`. + * It is `undefined` if a timeout has not been set. + * @since v10.7.0 + */ + readonly timeout?: number | undefined; + /** + * Half-closes the socket. i.e., it sends a FIN packet. It is possible the + * server will still send some data. + * + * See `writable.end()` for further details. + * @since v0.1.90 + * @param [encoding='utf8'] Only used when data is `string`. + * @param callback Optional callback for when the socket is finished. + * @return The socket itself. + */ + end(callback?: () => void): this; + end(buffer: Uint8Array | string, callback?: () => void): this; + end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): this; + /** + * events.EventEmitter + * 1. close + * 2. connect + * 3. data + * 4. drain + * 5. end + * 6. error + * 7. lookup + * 8. ready + * 9. timeout + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "close", listener: (hadError: boolean) => void): this; + addListener(event: "connect", listener: () => void): this; + addListener(event: "data", listener: (data: Buffer) => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "end", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener( + event: "lookup", + listener: (err: Error, address: string, family: string | number, host: string) => void, + ): this; + addListener(event: "ready", listener: () => void): this; + addListener(event: "timeout", listener: () => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "close", hadError: boolean): boolean; + emit(event: "connect"): boolean; + emit(event: "data", data: Buffer): boolean; + emit(event: "drain"): boolean; + emit(event: "end"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "lookup", err: Error, address: string, family: string | number, host: string): boolean; + emit(event: "ready"): boolean; + emit(event: "timeout"): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "close", listener: (hadError: boolean) => void): this; + on(event: "connect", listener: () => void): this; + on(event: "data", listener: (data: Buffer) => void): this; + on(event: "drain", listener: () => void): this; + on(event: "end", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on( + event: "lookup", + listener: (err: Error, address: string, family: string | number, host: string) => void, + ): this; + on(event: "ready", listener: () => void): this; + on(event: "timeout", listener: () => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "close", listener: (hadError: boolean) => void): this; + once(event: "connect", listener: () => void): this; + once(event: "data", listener: (data: Buffer) => void): this; + once(event: "drain", listener: () => void): this; + once(event: "end", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once( + event: "lookup", + listener: (err: Error, address: string, family: string | number, host: string) => void, + ): this; + once(event: "ready", listener: () => void): this; + once(event: "timeout", listener: () => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: (hadError: boolean) => void): this; + prependListener(event: "connect", listener: () => void): this; + prependListener(event: "data", listener: (data: Buffer) => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "end", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener( + event: "lookup", + listener: (err: Error, address: string, family: string | number, host: string) => void, + ): this; + prependListener(event: "ready", listener: () => void): this; + prependListener(event: "timeout", listener: () => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: (hadError: boolean) => void): this; + prependOnceListener(event: "connect", listener: () => void): this; + prependOnceListener(event: "data", listener: (data: Buffer) => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "end", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener( + event: "lookup", + listener: (err: Error, address: string, family: string | number, host: string) => void, + ): this; + prependOnceListener(event: "ready", listener: () => void): this; + prependOnceListener(event: "timeout", listener: () => void): this; + } + interface ListenOptions extends Abortable { + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + path?: string | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + /** + * @default false + */ + ipv6Only?: boolean | undefined; + } + interface ServerOpts { + /** + * Indicates whether half-opened TCP connections are allowed. + * @default false + */ + allowHalfOpen?: boolean | undefined; + /** + * Indicates whether the socket should be paused on incoming connections. + * @default false + */ + pauseOnConnect?: boolean | undefined; + /** + * If set to `true`, it disables the use of Nagle's algorithm immediately after a new incoming connection is received. + * @default false + * @since v16.5.0 + */ + noDelay?: boolean | undefined; + /** + * If set to `true`, it enables keep-alive functionality on the socket immediately after a new incoming connection is received, + * similarly on what is done in `socket.setKeepAlive([enable][, initialDelay])`. + * @default false + * @since v16.5.0 + */ + keepAlive?: boolean | undefined; + /** + * If set to a positive number, it sets the initial delay before the first keepalive probe is sent on an idle socket. + * @default 0 + * @since v16.5.0 + */ + keepAliveInitialDelay?: number | undefined; + } + interface DropArgument { + localAddress?: string; + localPort?: number; + localFamily?: string; + remoteAddress?: string; + remotePort?: number; + remoteFamily?: string; + } + /** + * This class is used to create a TCP or `IPC` server. + * @since v0.1.90 + */ + class Server extends EventEmitter { + constructor(connectionListener?: (socket: Socket) => void); + constructor(options?: ServerOpts, connectionListener?: (socket: Socket) => void); + /** + * Start a server listening for connections. A `net.Server` can be a TCP or + * an `IPC` server depending on what it listens to. + * + * Possible signatures: + * + * * `server.listen(handle[, backlog][, callback])` + * * `server.listen(options[, callback])` + * * `server.listen(path[, backlog][, callback])` for `IPC` servers + * * `server.listen([port[, host[, backlog]]][, callback])` for TCP servers + * + * This function is asynchronous. When the server starts listening, the `'listening'` event will be emitted. The last parameter `callback`will be added as a listener for the `'listening'` + * event. + * + * All `listen()` methods can take a `backlog` parameter to specify the maximum + * length of the queue of pending connections. The actual length will be determined + * by the OS through sysctl settings such as `tcp_max_syn_backlog` and `somaxconn`on Linux. The default value of this parameter is 511 (not 512). + * + * All {@link Socket} are set to `SO_REUSEADDR` (see [`socket(7)`](https://man7.org/linux/man-pages/man7/socket.7.html) for + * details). + * + * The `server.listen()` method can be called again if and only if there was an + * error during the first `server.listen()` call or `server.close()` has been + * called. Otherwise, an `ERR_SERVER_ALREADY_LISTEN` error will be thrown. + * + * One of the most common errors raised when listening is `EADDRINUSE`. + * This happens when another server is already listening on the requested`port`/`path`/`handle`. One way to handle this would be to retry + * after a certain amount of time: + * + * ```js + * server.on('error', (e) => { + * if (e.code === 'EADDRINUSE') { + * console.error('Address in use, retrying...'); + * setTimeout(() => { + * server.close(); + * server.listen(PORT, HOST); + * }, 1000); + * } + * }); + * ``` + */ + listen(port?: number, hostname?: string, backlog?: number, listeningListener?: () => void): this; + listen(port?: number, hostname?: string, listeningListener?: () => void): this; + listen(port?: number, backlog?: number, listeningListener?: () => void): this; + listen(port?: number, listeningListener?: () => void): this; + listen(path: string, backlog?: number, listeningListener?: () => void): this; + listen(path: string, listeningListener?: () => void): this; + listen(options: ListenOptions, listeningListener?: () => void): this; + listen(handle: any, backlog?: number, listeningListener?: () => void): this; + listen(handle: any, listeningListener?: () => void): this; + /** + * Stops the server from accepting new connections and keeps existing + * connections. This function is asynchronous, the server is finally closed + * when all connections are ended and the server emits a `'close'` event. + * The optional `callback` will be called once the `'close'` event occurs. Unlike + * that event, it will be called with an `Error` as its only argument if the server + * was not open when it was closed. + * @since v0.1.90 + * @param callback Called when the server is closed. + */ + close(callback?: (err?: Error) => void): this; + /** + * Returns the bound `address`, the address `family` name, and `port` of the server + * as reported by the operating system if listening on an IP socket + * (useful to find which port was assigned when getting an OS-assigned address):`{ port: 12346, family: 'IPv4', address: '127.0.0.1' }`. + * + * For a server listening on a pipe or Unix domain socket, the name is returned + * as a string. + * + * ```js + * const server = net.createServer((socket) => { + * socket.end('goodbye\n'); + * }).on('error', (err) => { + * // Handle errors here. + * throw err; + * }); + * + * // Grab an arbitrary unused port. + * server.listen(() => { + * console.log('opened server on', server.address()); + * }); + * ``` + * + * `server.address()` returns `null` before the `'listening'` event has been + * emitted or after calling `server.close()`. + * @since v0.1.90 + */ + address(): AddressInfo | string | null; + /** + * Asynchronously get the number of concurrent connections on the server. Works + * when sockets were sent to forks. + * + * Callback should take two arguments `err` and `count`. + * @since v0.9.7 + */ + getConnections(cb: (error: Error | null, count: number) => void): void; + /** + * Opposite of `unref()`, calling `ref()` on a previously `unref`ed server will _not_ let the program exit if it's the only server left (the default behavior). + * If the server is `ref`ed calling `ref()` again will have no effect. + * @since v0.9.1 + */ + ref(): this; + /** + * Calling `unref()` on a server will allow the program to exit if this is the only + * active server in the event system. If the server is already `unref`ed calling`unref()` again will have no effect. + * @since v0.9.1 + */ + unref(): this; + /** + * Set this property to reject connections when the server's connection count gets + * high. + * + * It is not recommended to use this option once a socket has been sent to a child + * with `child_process.fork()`. + * @since v0.2.0 + */ + maxConnections: number; + connections: number; + /** + * Indicates whether or not the server is listening for connections. + * @since v5.7.0 + */ + listening: boolean; + /** + * events.EventEmitter + * 1. close + * 2. connection + * 3. error + * 4. listening + * 5. drop + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "connection", listener: (socket: Socket) => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "listening", listener: () => void): this; + addListener(event: "drop", listener: (data?: DropArgument) => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "close"): boolean; + emit(event: "connection", socket: Socket): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "listening"): boolean; + emit(event: "drop", data?: DropArgument): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "close", listener: () => void): this; + on(event: "connection", listener: (socket: Socket) => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "listening", listener: () => void): this; + on(event: "drop", listener: (data?: DropArgument) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "connection", listener: (socket: Socket) => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "listening", listener: () => void): this; + once(event: "drop", listener: (data?: DropArgument) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "connection", listener: (socket: Socket) => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "listening", listener: () => void): this; + prependListener(event: "drop", listener: (data?: DropArgument) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "connection", listener: (socket: Socket) => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "listening", listener: () => void): this; + prependOnceListener(event: "drop", listener: (data?: DropArgument) => void): this; + /** + * Calls {@link Server.close()} and returns a promise that fulfills when the server has closed. + * @since v20.5.0 + */ + [Symbol.asyncDispose](): Promise; + } + type IPVersion = "ipv4" | "ipv6"; + /** + * The `BlockList` object can be used with some network APIs to specify rules for + * disabling inbound or outbound access to specific IP addresses, IP ranges, or + * IP subnets. + * @since v15.0.0, v14.18.0 + */ + class BlockList { + /** + * Adds a rule to block the given IP address. + * @since v15.0.0, v14.18.0 + * @param address An IPv4 or IPv6 address. + * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. + */ + addAddress(address: string, type?: IPVersion): void; + addAddress(address: SocketAddress): void; + /** + * Adds a rule to block a range of IP addresses from `start` (inclusive) to`end` (inclusive). + * @since v15.0.0, v14.18.0 + * @param start The starting IPv4 or IPv6 address in the range. + * @param end The ending IPv4 or IPv6 address in the range. + * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. + */ + addRange(start: string, end: string, type?: IPVersion): void; + addRange(start: SocketAddress, end: SocketAddress): void; + /** + * Adds a rule to block a range of IP addresses specified as a subnet mask. + * @since v15.0.0, v14.18.0 + * @param net The network IPv4 or IPv6 address. + * @param prefix The number of CIDR prefix bits. For IPv4, this must be a value between `0` and `32`. For IPv6, this must be between `0` and `128`. + * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. + */ + addSubnet(net: SocketAddress, prefix: number): void; + addSubnet(net: string, prefix: number, type?: IPVersion): void; + /** + * Returns `true` if the given IP address matches any of the rules added to the`BlockList`. + * + * ```js + * const blockList = new net.BlockList(); + * blockList.addAddress('123.123.123.123'); + * blockList.addRange('10.0.0.1', '10.0.0.10'); + * blockList.addSubnet('8592:757c:efae:4e45::', 64, 'ipv6'); + * + * console.log(blockList.check('123.123.123.123')); // Prints: true + * console.log(blockList.check('10.0.0.3')); // Prints: true + * console.log(blockList.check('222.111.111.222')); // Prints: false + * + * // IPv6 notation for IPv4 addresses works: + * console.log(blockList.check('::ffff:7b7b:7b7b', 'ipv6')); // Prints: true + * console.log(blockList.check('::ffff:123.123.123.123', 'ipv6')); // Prints: true + * ``` + * @since v15.0.0, v14.18.0 + * @param address The IP address to check + * @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`. + */ + check(address: SocketAddress): boolean; + check(address: string, type?: IPVersion): boolean; + } + interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts { + timeout?: number | undefined; + } + interface IpcNetConnectOpts extends IpcSocketConnectOpts, SocketConstructorOpts { + timeout?: number | undefined; + } + type NetConnectOpts = TcpNetConnectOpts | IpcNetConnectOpts; + /** + * Creates a new TCP or `IPC` server. + * + * If `allowHalfOpen` is set to `true`, when the other end of the socket + * signals the end of transmission, the server will only send back the end of + * transmission when `socket.end()` is explicitly called. For example, in the + * context of TCP, when a FIN packed is received, a FIN packed is sent + * back only when `socket.end()` is explicitly called. Until then the + * connection is half-closed (non-readable but still writable). See `'end'` event and [RFC 1122](https://tools.ietf.org/html/rfc1122) (section 4.2.2.13) for more information. + * + * If `pauseOnConnect` is set to `true`, then the socket associated with each + * incoming connection will be paused, and no data will be read from its handle. + * This allows connections to be passed between processes without any data being + * read by the original process. To begin reading data from a paused socket, call `socket.resume()`. + * + * The server can be a TCP server or an `IPC` server, depending on what it `listen()` to. + * + * Here is an example of a TCP echo server which listens for connections + * on port 8124: + * + * ```js + * const net = require('node:net'); + * const server = net.createServer((c) => { + * // 'connection' listener. + * console.log('client connected'); + * c.on('end', () => { + * console.log('client disconnected'); + * }); + * c.write('hello\r\n'); + * c.pipe(c); + * }); + * server.on('error', (err) => { + * throw err; + * }); + * server.listen(8124, () => { + * console.log('server bound'); + * }); + * ``` + * + * Test this by using `telnet`: + * + * ```bash + * telnet localhost 8124 + * ``` + * + * To listen on the socket `/tmp/echo.sock`: + * + * ```js + * server.listen('/tmp/echo.sock', () => { + * console.log('server bound'); + * }); + * ``` + * + * Use `nc` to connect to a Unix domain socket server: + * + * ```bash + * nc -U /tmp/echo.sock + * ``` + * @since v0.5.0 + * @param connectionListener Automatically set as a listener for the {@link 'connection'} event. + */ + function createServer(connectionListener?: (socket: Socket) => void): Server; + function createServer(options?: ServerOpts, connectionListener?: (socket: Socket) => void): Server; + /** + * Aliases to {@link createConnection}. + * + * Possible signatures: + * + * * {@link connect} + * * {@link connect} for `IPC` connections. + * * {@link connect} for TCP connections. + */ + function connect(options: NetConnectOpts, connectionListener?: () => void): Socket; + function connect(port: number, host?: string, connectionListener?: () => void): Socket; + function connect(path: string, connectionListener?: () => void): Socket; + /** + * A factory function, which creates a new {@link Socket}, + * immediately initiates connection with `socket.connect()`, + * then returns the `net.Socket` that starts the connection. + * + * When the connection is established, a `'connect'` event will be emitted + * on the returned socket. The last parameter `connectListener`, if supplied, + * will be added as a listener for the `'connect'` event **once**. + * + * Possible signatures: + * + * * {@link createConnection} + * * {@link createConnection} for `IPC` connections. + * * {@link createConnection} for TCP connections. + * + * The {@link connect} function is an alias to this function. + */ + function createConnection(options: NetConnectOpts, connectionListener?: () => void): Socket; + function createConnection(port: number, host?: string, connectionListener?: () => void): Socket; + function createConnection(path: string, connectionListener?: () => void): Socket; + /** + * Gets the current default value of the `autoSelectFamily` option of `socket.connect(options)`. + * The initial default value is `true`, unless the command line option`--no-network-family-autoselection` is provided. + * @since v19.4.0 + */ + function getDefaultAutoSelectFamily(): boolean; + /** + * Sets the default value of the `autoSelectFamily` option of `socket.connect(options)`. + * @since v19.4.0 + */ + function setDefaultAutoSelectFamily(value: boolean): void; + /** + * Gets the current default value of the `autoSelectFamilyAttemptTimeout` option of `socket.connect(options)`. + * The initial default value is `250`. + * @since v19.8.0 + */ + function getDefaultAutoSelectFamilyAttemptTimeout(): number; + /** + * Sets the default value of the `autoSelectFamilyAttemptTimeout` option of `socket.connect(options)`. + * @since v19.8.0 + */ + function setDefaultAutoSelectFamilyAttemptTimeout(value: number): void; + /** + * Returns `6` if `input` is an IPv6 address. Returns `4` if `input` is an IPv4 + * address in [dot-decimal notation](https://en.wikipedia.org/wiki/Dot-decimal_notation) with no leading zeroes. Otherwise, returns`0`. + * + * ```js + * net.isIP('::1'); // returns 6 + * net.isIP('127.0.0.1'); // returns 4 + * net.isIP('127.000.000.001'); // returns 0 + * net.isIP('127.0.0.1/24'); // returns 0 + * net.isIP('fhqwhgads'); // returns 0 + * ``` + * @since v0.3.0 + */ + function isIP(input: string): number; + /** + * Returns `true` if `input` is an IPv4 address in [dot-decimal notation](https://en.wikipedia.org/wiki/Dot-decimal_notation) with no + * leading zeroes. Otherwise, returns `false`. + * + * ```js + * net.isIPv4('127.0.0.1'); // returns true + * net.isIPv4('127.000.000.001'); // returns false + * net.isIPv4('127.0.0.1/24'); // returns false + * net.isIPv4('fhqwhgads'); // returns false + * ``` + * @since v0.3.0 + */ + function isIPv4(input: string): boolean; + /** + * Returns `true` if `input` is an IPv6 address. Otherwise, returns `false`. + * + * ```js + * net.isIPv6('::1'); // returns true + * net.isIPv6('fhqwhgads'); // returns false + * ``` + * @since v0.3.0 + */ + function isIPv6(input: string): boolean; + interface SocketAddressInitOptions { + /** + * The network address as either an IPv4 or IPv6 string. + * @default 127.0.0.1 + */ + address?: string | undefined; + /** + * @default `'ipv4'` + */ + family?: IPVersion | undefined; + /** + * An IPv6 flow-label used only if `family` is `'ipv6'`. + * @default 0 + */ + flowlabel?: number | undefined; + /** + * An IP port. + * @default 0 + */ + port?: number | undefined; + } + /** + * @since v15.14.0, v14.18.0 + */ + class SocketAddress { + constructor(options: SocketAddressInitOptions); + /** + * Either \`'ipv4'\` or \`'ipv6'\`. + * @since v15.14.0, v14.18.0 + */ + readonly address: string; + /** + * Either \`'ipv4'\` or \`'ipv6'\`. + * @since v15.14.0, v14.18.0 + */ + readonly family: IPVersion; + /** + * @since v15.14.0, v14.18.0 + */ + readonly port: number; + /** + * @since v15.14.0, v14.18.0 + */ + readonly flowlabel: number; + } +} +declare module "node:net" { + export * from "net"; +} diff --git a/node_modules/@types/node/ts4.8/os.d.ts b/node_modules/@types/node/ts4.8/os.d.ts new file mode 100644 index 000000000..39a33f7fd --- /dev/null +++ b/node_modules/@types/node/ts4.8/os.d.ts @@ -0,0 +1,478 @@ +/** + * The `node:os` module provides operating system-related utility methods and + * properties. It can be accessed using: + * + * ```js + * const os = require('node:os'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/os.js) + */ +declare module "os" { + interface CpuInfo { + model: string; + speed: number; + times: { + user: number; + nice: number; + sys: number; + idle: number; + irq: number; + }; + } + interface NetworkInterfaceBase { + address: string; + netmask: string; + mac: string; + internal: boolean; + cidr: string | null; + } + interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase { + family: "IPv4"; + scopeid?: undefined; + } + interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase { + family: "IPv6"; + scopeid: number; + } + interface UserInfo { + username: T; + uid: number; + gid: number; + shell: T | null; + homedir: T; + } + type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6; + /** + * Returns the host name of the operating system as a string. + * @since v0.3.3 + */ + function hostname(): string; + /** + * Returns an array containing the 1, 5, and 15 minute load averages. + * + * The load average is a measure of system activity calculated by the operating + * system and expressed as a fractional number. + * + * The load average is a Unix-specific concept. On Windows, the return value is + * always `[0, 0, 0]`. + * @since v0.3.3 + */ + function loadavg(): number[]; + /** + * Returns the system uptime in number of seconds. + * @since v0.3.3 + */ + function uptime(): number; + /** + * Returns the amount of free system memory in bytes as an integer. + * @since v0.3.3 + */ + function freemem(): number; + /** + * Returns the total amount of system memory in bytes as an integer. + * @since v0.3.3 + */ + function totalmem(): number; + /** + * Returns an array of objects containing information about each logical CPU core. + * The array will be empty if no CPU information is available, such as if the`/proc` file system is unavailable. + * + * The properties included on each object include: + * + * ```js + * [ + * { + * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', + * speed: 2926, + * times: { + * user: 252020, + * nice: 0, + * sys: 30340, + * idle: 1070356870, + * irq: 0, + * }, + * }, + * { + * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', + * speed: 2926, + * times: { + * user: 306960, + * nice: 0, + * sys: 26980, + * idle: 1071569080, + * irq: 0, + * }, + * }, + * { + * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', + * speed: 2926, + * times: { + * user: 248450, + * nice: 0, + * sys: 21750, + * idle: 1070919370, + * irq: 0, + * }, + * }, + * { + * model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz', + * speed: 2926, + * times: { + * user: 256880, + * nice: 0, + * sys: 19430, + * idle: 1070905480, + * irq: 20, + * }, + * }, + * ] + * ``` + * + * `nice` values are POSIX-only. On Windows, the `nice` values of all processors + * are always 0. + * + * `os.cpus().length` should not be used to calculate the amount of parallelism + * available to an application. Use {@link availableParallelism} for this purpose. + * @since v0.3.3 + */ + function cpus(): CpuInfo[]; + /** + * Returns an estimate of the default amount of parallelism a program should use. + * Always returns a value greater than zero. + * + * This function is a small wrapper about libuv's [`uv_available_parallelism()`](https://docs.libuv.org/en/v1.x/misc.html#c.uv_available_parallelism). + * @since v19.4.0, v18.14.0 + */ + function availableParallelism(): number; + /** + * Returns the operating system name as returned by [`uname(3)`](https://linux.die.net/man/3/uname). For example, it + * returns `'Linux'` on Linux, `'Darwin'` on macOS, and `'Windows_NT'` on Windows. + * + * See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for additional information + * about the output of running [`uname(3)`](https://linux.die.net/man/3/uname) on various operating systems. + * @since v0.3.3 + */ + function type(): string; + /** + * Returns the operating system as a string. + * + * On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `GetVersionExW()` is used. See + * [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information. + * @since v0.3.3 + */ + function release(): string; + /** + * Returns an object containing network interfaces that have been assigned a + * network address. + * + * Each key on the returned object identifies a network interface. The associated + * value is an array of objects that each describe an assigned network address. + * + * The properties available on the assigned network address object include: + * + * ```js + * { + * lo: [ + * { + * address: '127.0.0.1', + * netmask: '255.0.0.0', + * family: 'IPv4', + * mac: '00:00:00:00:00:00', + * internal: true, + * cidr: '127.0.0.1/8' + * }, + * { + * address: '::1', + * netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff', + * family: 'IPv6', + * mac: '00:00:00:00:00:00', + * scopeid: 0, + * internal: true, + * cidr: '::1/128' + * } + * ], + * eth0: [ + * { + * address: '192.168.1.108', + * netmask: '255.255.255.0', + * family: 'IPv4', + * mac: '01:02:03:0a:0b:0c', + * internal: false, + * cidr: '192.168.1.108/24' + * }, + * { + * address: 'fe80::a00:27ff:fe4e:66a1', + * netmask: 'ffff:ffff:ffff:ffff::', + * family: 'IPv6', + * mac: '01:02:03:0a:0b:0c', + * scopeid: 1, + * internal: false, + * cidr: 'fe80::a00:27ff:fe4e:66a1/64' + * } + * ] + * } + * ``` + * @since v0.6.0 + */ + function networkInterfaces(): NodeJS.Dict; + /** + * Returns the string path of the current user's home directory. + * + * On POSIX, it uses the `$HOME` environment variable if defined. Otherwise it + * uses the [effective UID](https://en.wikipedia.org/wiki/User_identifier#Effective_user_ID) to look up the user's home directory. + * + * On Windows, it uses the `USERPROFILE` environment variable if defined. + * Otherwise it uses the path to the profile directory of the current user. + * @since v2.3.0 + */ + function homedir(): string; + /** + * Returns information about the currently effective user. On POSIX platforms, + * this is typically a subset of the password file. The returned object includes + * the `username`, `uid`, `gid`, `shell`, and `homedir`. On Windows, the `uid` and`gid` fields are `-1`, and `shell` is `null`. + * + * The value of `homedir` returned by `os.userInfo()` is provided by the operating + * system. This differs from the result of `os.homedir()`, which queries + * environment variables for the home directory before falling back to the + * operating system response. + * + * Throws a `SystemError` if a user has no `username` or `homedir`. + * @since v6.0.0 + */ + function userInfo(options: { encoding: "buffer" }): UserInfo; + function userInfo(options?: { encoding: BufferEncoding }): UserInfo; + type SignalConstants = { + [key in NodeJS.Signals]: number; + }; + namespace constants { + const UV_UDP_REUSEADDR: number; + namespace signals {} + const signals: SignalConstants; + namespace errno { + const E2BIG: number; + const EACCES: number; + const EADDRINUSE: number; + const EADDRNOTAVAIL: number; + const EAFNOSUPPORT: number; + const EAGAIN: number; + const EALREADY: number; + const EBADF: number; + const EBADMSG: number; + const EBUSY: number; + const ECANCELED: number; + const ECHILD: number; + const ECONNABORTED: number; + const ECONNREFUSED: number; + const ECONNRESET: number; + const EDEADLK: number; + const EDESTADDRREQ: number; + const EDOM: number; + const EDQUOT: number; + const EEXIST: number; + const EFAULT: number; + const EFBIG: number; + const EHOSTUNREACH: number; + const EIDRM: number; + const EILSEQ: number; + const EINPROGRESS: number; + const EINTR: number; + const EINVAL: number; + const EIO: number; + const EISCONN: number; + const EISDIR: number; + const ELOOP: number; + const EMFILE: number; + const EMLINK: number; + const EMSGSIZE: number; + const EMULTIHOP: number; + const ENAMETOOLONG: number; + const ENETDOWN: number; + const ENETRESET: number; + const ENETUNREACH: number; + const ENFILE: number; + const ENOBUFS: number; + const ENODATA: number; + const ENODEV: number; + const ENOENT: number; + const ENOEXEC: number; + const ENOLCK: number; + const ENOLINK: number; + const ENOMEM: number; + const ENOMSG: number; + const ENOPROTOOPT: number; + const ENOSPC: number; + const ENOSR: number; + const ENOSTR: number; + const ENOSYS: number; + const ENOTCONN: number; + const ENOTDIR: number; + const ENOTEMPTY: number; + const ENOTSOCK: number; + const ENOTSUP: number; + const ENOTTY: number; + const ENXIO: number; + const EOPNOTSUPP: number; + const EOVERFLOW: number; + const EPERM: number; + const EPIPE: number; + const EPROTO: number; + const EPROTONOSUPPORT: number; + const EPROTOTYPE: number; + const ERANGE: number; + const EROFS: number; + const ESPIPE: number; + const ESRCH: number; + const ESTALE: number; + const ETIME: number; + const ETIMEDOUT: number; + const ETXTBSY: number; + const EWOULDBLOCK: number; + const EXDEV: number; + const WSAEINTR: number; + const WSAEBADF: number; + const WSAEACCES: number; + const WSAEFAULT: number; + const WSAEINVAL: number; + const WSAEMFILE: number; + const WSAEWOULDBLOCK: number; + const WSAEINPROGRESS: number; + const WSAEALREADY: number; + const WSAENOTSOCK: number; + const WSAEDESTADDRREQ: number; + const WSAEMSGSIZE: number; + const WSAEPROTOTYPE: number; + const WSAENOPROTOOPT: number; + const WSAEPROTONOSUPPORT: number; + const WSAESOCKTNOSUPPORT: number; + const WSAEOPNOTSUPP: number; + const WSAEPFNOSUPPORT: number; + const WSAEAFNOSUPPORT: number; + const WSAEADDRINUSE: number; + const WSAEADDRNOTAVAIL: number; + const WSAENETDOWN: number; + const WSAENETUNREACH: number; + const WSAENETRESET: number; + const WSAECONNABORTED: number; + const WSAECONNRESET: number; + const WSAENOBUFS: number; + const WSAEISCONN: number; + const WSAENOTCONN: number; + const WSAESHUTDOWN: number; + const WSAETOOMANYREFS: number; + const WSAETIMEDOUT: number; + const WSAECONNREFUSED: number; + const WSAELOOP: number; + const WSAENAMETOOLONG: number; + const WSAEHOSTDOWN: number; + const WSAEHOSTUNREACH: number; + const WSAENOTEMPTY: number; + const WSAEPROCLIM: number; + const WSAEUSERS: number; + const WSAEDQUOT: number; + const WSAESTALE: number; + const WSAEREMOTE: number; + const WSASYSNOTREADY: number; + const WSAVERNOTSUPPORTED: number; + const WSANOTINITIALISED: number; + const WSAEDISCON: number; + const WSAENOMORE: number; + const WSAECANCELLED: number; + const WSAEINVALIDPROCTABLE: number; + const WSAEINVALIDPROVIDER: number; + const WSAEPROVIDERFAILEDINIT: number; + const WSASYSCALLFAILURE: number; + const WSASERVICE_NOT_FOUND: number; + const WSATYPE_NOT_FOUND: number; + const WSA_E_NO_MORE: number; + const WSA_E_CANCELLED: number; + const WSAEREFUSED: number; + } + namespace priority { + const PRIORITY_LOW: number; + const PRIORITY_BELOW_NORMAL: number; + const PRIORITY_NORMAL: number; + const PRIORITY_ABOVE_NORMAL: number; + const PRIORITY_HIGH: number; + const PRIORITY_HIGHEST: number; + } + } + const devNull: string; + const EOL: string; + /** + * Returns the operating system CPU architecture for which the Node.js binary was + * compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`,`'mips'`, `'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, + * and `'x64'`. + * + * The return value is equivalent to `process.arch`. + * @since v0.5.0 + */ + function arch(): string; + /** + * Returns a string identifying the kernel version. + * + * On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not + * available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information. + * @since v13.11.0, v12.17.0 + */ + function version(): string; + /** + * Returns a string identifying the operating system platform for which + * the Node.js binary was compiled. The value is set at compile time. + * Possible values are `'aix'`, `'darwin'`, `'freebsd'`,`'linux'`,`'openbsd'`, `'sunos'`, and `'win32'`. + * + * The return value is equivalent to `process.platform`. + * + * The value `'android'` may also be returned if Node.js is built on the Android + * operating system. [Android support is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os). + * @since v0.5.0 + */ + function platform(): NodeJS.Platform; + /** + * Returns the machine type as a string, such as `arm`, `arm64`, `aarch64`,`mips`, `mips64`, `ppc64`, `ppc64le`, `s390`, `s390x`, `i386`, `i686`, `x86_64`. + * + * On POSIX systems, the machine type is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not + * available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information. + * @since v18.9.0, v16.18.0 + */ + function machine(): string; + /** + * Returns the operating system's default directory for temporary files as a + * string. + * @since v0.9.9 + */ + function tmpdir(): string; + /** + * Returns a string identifying the endianness of the CPU for which the Node.js + * binary was compiled. + * + * Possible values are `'BE'` for big endian and `'LE'` for little endian. + * @since v0.9.4 + */ + function endianness(): "BE" | "LE"; + /** + * Returns the scheduling priority for the process specified by `pid`. If `pid` is + * not provided or is `0`, the priority of the current process is returned. + * @since v10.10.0 + * @param [pid=0] The process ID to retrieve scheduling priority for. + */ + function getPriority(pid?: number): number; + /** + * Attempts to set the scheduling priority for the process specified by `pid`. If`pid` is not provided or is `0`, the process ID of the current process is used. + * + * The `priority` input must be an integer between `-20` (high priority) and `19`(low priority). Due to differences between Unix priority levels and Windows + * priority classes, `priority` is mapped to one of six priority constants in`os.constants.priority`. When retrieving a process priority level, this range + * mapping may cause the return value to be slightly different on Windows. To avoid + * confusion, set `priority` to one of the priority constants. + * + * On Windows, setting priority to `PRIORITY_HIGHEST` requires elevated user + * privileges. Otherwise the set priority will be silently reduced to`PRIORITY_HIGH`. + * @since v10.10.0 + * @param [pid=0] The process ID to set scheduling priority for. + * @param priority The scheduling priority to assign to the process. + */ + function setPriority(priority: number): void; + function setPriority(pid: number, priority: number): void; +} +declare module "node:os" { + export * from "os"; +} diff --git a/node_modules/@types/node/ts4.8/path.d.ts b/node_modules/@types/node/ts4.8/path.d.ts new file mode 100644 index 000000000..6f07681ac --- /dev/null +++ b/node_modules/@types/node/ts4.8/path.d.ts @@ -0,0 +1,191 @@ +declare module "path/posix" { + import path = require("path"); + export = path; +} +declare module "path/win32" { + import path = require("path"); + export = path; +} +/** + * The `node:path` module provides utilities for working with file and directory + * paths. It can be accessed using: + * + * ```js + * const path = require('node:path'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/path.js) + */ +declare module "path" { + namespace path { + /** + * A parsed path object generated by path.parse() or consumed by path.format(). + */ + interface ParsedPath { + /** + * The root of the path such as '/' or 'c:\' + */ + root: string; + /** + * The full directory path such as '/home/user/dir' or 'c:\path\dir' + */ + dir: string; + /** + * The file name including extension (if any) such as 'index.html' + */ + base: string; + /** + * The file extension (if any) such as '.html' + */ + ext: string; + /** + * The file name without extension (if any) such as 'index' + */ + name: string; + } + interface FormatInputPathObject { + /** + * The root of the path such as '/' or 'c:\' + */ + root?: string | undefined; + /** + * The full directory path such as '/home/user/dir' or 'c:\path\dir' + */ + dir?: string | undefined; + /** + * The file name including extension (if any) such as 'index.html' + */ + base?: string | undefined; + /** + * The file extension (if any) such as '.html' + */ + ext?: string | undefined; + /** + * The file name without extension (if any) such as 'index' + */ + name?: string | undefined; + } + interface PlatformPath { + /** + * Normalize a string path, reducing '..' and '.' parts. + * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. + * + * @param path string path to normalize. + * @throws {TypeError} if `path` is not a string. + */ + normalize(path: string): string; + /** + * Join all arguments together and normalize the resulting path. + * + * @param paths paths to join. + * @throws {TypeError} if any of the path segments is not a string. + */ + join(...paths: string[]): string; + /** + * The right-most parameter is considered {to}. Other parameters are considered an array of {from}. + * + * Starting from leftmost {from} parameter, resolves {to} to an absolute path. + * + * If {to} isn't already absolute, {from} arguments are prepended in right to left order, + * until an absolute path is found. If after using all {from} paths still no absolute path is found, + * the current working directory is used as well. The resulting path is normalized, + * and trailing slashes are removed unless the path gets resolved to the root directory. + * + * @param paths A sequence of paths or path segments. + * @throws {TypeError} if any of the arguments is not a string. + */ + resolve(...paths: string[]): string; + /** + * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory. + * + * If the given {path} is a zero-length string, `false` will be returned. + * + * @param path path to test. + * @throws {TypeError} if `path` is not a string. + */ + isAbsolute(path: string): boolean; + /** + * Solve the relative path from {from} to {to} based on the current working directory. + * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve. + * + * @throws {TypeError} if either `from` or `to` is not a string. + */ + relative(from: string, to: string): string; + /** + * Return the directory name of a path. Similar to the Unix dirname command. + * + * @param path the path to evaluate. + * @throws {TypeError} if `path` is not a string. + */ + dirname(path: string): string; + /** + * Return the last portion of a path. Similar to the Unix basename command. + * Often used to extract the file name from a fully qualified path. + * + * @param path the path to evaluate. + * @param suffix optionally, an extension to remove from the result. + * @throws {TypeError} if `path` is not a string or if `ext` is given and is not a string. + */ + basename(path: string, suffix?: string): string; + /** + * Return the extension of the path, from the last '.' to end of string in the last portion of the path. + * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string. + * + * @param path the path to evaluate. + * @throws {TypeError} if `path` is not a string. + */ + extname(path: string): string; + /** + * The platform-specific file separator. '\\' or '/'. + */ + readonly sep: "\\" | "/"; + /** + * The platform-specific file delimiter. ';' or ':'. + */ + readonly delimiter: ";" | ":"; + /** + * Returns an object from a path string - the opposite of format(). + * + * @param path path to evaluate. + * @throws {TypeError} if `path` is not a string. + */ + parse(path: string): ParsedPath; + /** + * Returns a path string from an object - the opposite of parse(). + * + * @param pathObject path to evaluate. + */ + format(pathObject: FormatInputPathObject): string; + /** + * On Windows systems only, returns an equivalent namespace-prefixed path for the given path. + * If path is not a string, path will be returned without modifications. + * This method is meaningful only on Windows system. + * On POSIX systems, the method is non-operational and always returns path without modifications. + */ + toNamespacedPath(path: string): string; + /** + * Posix specific pathing. + * Same as parent object on posix. + */ + readonly posix: PlatformPath; + /** + * Windows specific pathing. + * Same as parent object on windows + */ + readonly win32: PlatformPath; + } + } + const path: path.PlatformPath; + export = path; +} +declare module "node:path" { + import path = require("path"); + export = path; +} +declare module "node:path/posix" { + import path = require("path/posix"); + export = path; +} +declare module "node:path/win32" { + import path = require("path/win32"); + export = path; +} diff --git a/node_modules/@types/node/ts4.8/perf_hooks.d.ts b/node_modules/@types/node/ts4.8/perf_hooks.d.ts new file mode 100644 index 000000000..0e16e5818 --- /dev/null +++ b/node_modules/@types/node/ts4.8/perf_hooks.d.ts @@ -0,0 +1,639 @@ +/** + * This module provides an implementation of a subset of the W3C [Web Performance APIs](https://w3c.github.io/perf-timing-primer/) as well as additional APIs for + * Node.js-specific performance measurements. + * + * Node.js supports the following [Web Performance APIs](https://w3c.github.io/perf-timing-primer/): + * + * * [High Resolution Time](https://www.w3.org/TR/hr-time-2) + * * [Performance Timeline](https://w3c.github.io/performance-timeline/) + * * [User Timing](https://www.w3.org/TR/user-timing/) + * * [Resource Timing](https://www.w3.org/TR/resource-timing-2/) + * + * ```js + * const { PerformanceObserver, performance } = require('node:perf_hooks'); + * + * const obs = new PerformanceObserver((items) => { + * console.log(items.getEntries()[0].duration); + * performance.clearMarks(); + * }); + * obs.observe({ type: 'measure' }); + * performance.measure('Start to Now'); + * + * performance.mark('A'); + * doSomeLongRunningProcess(() => { + * performance.measure('A to Now', 'A'); + * + * performance.mark('B'); + * performance.measure('A to B', 'A', 'B'); + * }); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/perf_hooks.js) + */ +declare module "perf_hooks" { + import { AsyncResource } from "node:async_hooks"; + type EntryType = "node" | "mark" | "measure" | "gc" | "function" | "http2" | "http"; + interface NodeGCPerformanceDetail { + /** + * When `performanceEntry.entryType` is equal to 'gc', `the performance.kind` property identifies + * the type of garbage collection operation that occurred. + * See perf_hooks.constants for valid values. + */ + readonly kind?: number | undefined; + /** + * When `performanceEntry.entryType` is equal to 'gc', the `performance.flags` + * property contains additional information about garbage collection operation. + * See perf_hooks.constants for valid values. + */ + readonly flags?: number | undefined; + } + /** + * The constructor of this class is not exposed to users directly. + * @since v8.5.0 + */ + class PerformanceEntry { + protected constructor(); + /** + * The total number of milliseconds elapsed for this entry. This value will not + * be meaningful for all Performance Entry types. + * @since v8.5.0 + */ + readonly duration: number; + /** + * The name of the performance entry. + * @since v8.5.0 + */ + readonly name: string; + /** + * The high resolution millisecond timestamp marking the starting time of the + * Performance Entry. + * @since v8.5.0 + */ + readonly startTime: number; + /** + * The type of the performance entry. It may be one of: + * + * * `'node'` (Node.js only) + * * `'mark'` (available on the Web) + * * `'measure'` (available on the Web) + * * `'gc'` (Node.js only) + * * `'function'` (Node.js only) + * * `'http2'` (Node.js only) + * * `'http'` (Node.js only) + * @since v8.5.0 + */ + readonly entryType: EntryType; + /** + * Additional detail specific to the `entryType`. + * @since v16.0.0 + */ + readonly detail?: NodeGCPerformanceDetail | unknown | undefined; // TODO: Narrow this based on entry type. + toJSON(): any; + } + /** + * Exposes marks created via the `Performance.mark()` method. + * @since v18.2.0, v16.17.0 + */ + class PerformanceMark extends PerformanceEntry { + readonly duration: 0; + readonly entryType: "mark"; + } + /** + * Exposes measures created via the `Performance.measure()` method. + * + * The constructor of this class is not exposed to users directly. + * @since v18.2.0, v16.17.0 + */ + class PerformanceMeasure extends PerformanceEntry { + readonly entryType: "measure"; + } + /** + * _This property is an extension by Node.js. It is not available in Web browsers._ + * + * Provides timing details for Node.js itself. The constructor of this class + * is not exposed to users. + * @since v8.5.0 + */ + class PerformanceNodeTiming extends PerformanceEntry { + /** + * The high resolution millisecond timestamp at which the Node.js process + * completed bootstrapping. If bootstrapping has not yet finished, the property + * has the value of -1. + * @since v8.5.0 + */ + readonly bootstrapComplete: number; + /** + * The high resolution millisecond timestamp at which the Node.js environment was + * initialized. + * @since v8.5.0 + */ + readonly environment: number; + /** + * The high resolution millisecond timestamp of the amount of time the event loop + * has been idle within the event loop's event provider (e.g. `epoll_wait`). This + * does not take CPU usage into consideration. If the event loop has not yet + * started (e.g., in the first tick of the main script), the property has the + * value of 0. + * @since v14.10.0, v12.19.0 + */ + readonly idleTime: number; + /** + * The high resolution millisecond timestamp at which the Node.js event loop + * exited. If the event loop has not yet exited, the property has the value of -1\. + * It can only have a value of not -1 in a handler of the `'exit'` event. + * @since v8.5.0 + */ + readonly loopExit: number; + /** + * The high resolution millisecond timestamp at which the Node.js event loop + * started. If the event loop has not yet started (e.g., in the first tick of the + * main script), the property has the value of -1. + * @since v8.5.0 + */ + readonly loopStart: number; + /** + * The high resolution millisecond timestamp at which the V8 platform was + * initialized. + * @since v8.5.0 + */ + readonly v8Start: number; + } + interface EventLoopUtilization { + idle: number; + active: number; + utilization: number; + } + /** + * @param util1 The result of a previous call to eventLoopUtilization() + * @param util2 The result of a previous call to eventLoopUtilization() prior to util1 + */ + type EventLoopUtilityFunction = ( + util1?: EventLoopUtilization, + util2?: EventLoopUtilization, + ) => EventLoopUtilization; + interface MarkOptions { + /** + * Additional optional detail to include with the mark. + */ + detail?: unknown | undefined; + /** + * An optional timestamp to be used as the mark time. + * @default `performance.now()`. + */ + startTime?: number | undefined; + } + interface MeasureOptions { + /** + * Additional optional detail to include with the mark. + */ + detail?: unknown | undefined; + /** + * Duration between start and end times. + */ + duration?: number | undefined; + /** + * Timestamp to be used as the end time, or a string identifying a previously recorded mark. + */ + end?: number | string | undefined; + /** + * Timestamp to be used as the start time, or a string identifying a previously recorded mark. + */ + start?: number | string | undefined; + } + interface TimerifyOptions { + /** + * A histogram object created using + * `perf_hooks.createHistogram()` that will record runtime durations in + * nanoseconds. + */ + histogram?: RecordableHistogram | undefined; + } + interface Performance { + /** + * If name is not provided, removes all PerformanceMark objects from the Performance Timeline. + * If name is provided, removes only the named mark. + * @param name + */ + clearMarks(name?: string): void; + /** + * If name is not provided, removes all PerformanceMeasure objects from the Performance Timeline. + * If name is provided, removes only the named measure. + * @param name + * @since v16.7.0 + */ + clearMeasures(name?: string): void; + /** + * Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime`. + * If you are only interested in performance entries of certain types or that have certain names, see + * `performance.getEntriesByType()` and `performance.getEntriesByName()`. + * @since v16.7.0 + */ + getEntries(): PerformanceEntry[]; + /** + * Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime` + * whose `performanceEntry.name` is equal to `name`, and optionally, whose `performanceEntry.entryType` is equal to `type`. + * @param name + * @param type + * @since v16.7.0 + */ + getEntriesByName(name: string, type?: EntryType): PerformanceEntry[]; + /** + * Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime` + * whose `performanceEntry.entryType` is equal to `type`. + * @param type + * @since v16.7.0 + */ + getEntriesByType(type: EntryType): PerformanceEntry[]; + /** + * Creates a new PerformanceMark entry in the Performance Timeline. + * A PerformanceMark is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'mark', + * and whose performanceEntry.duration is always 0. + * Performance marks are used to mark specific significant moments in the Performance Timeline. + * @param name + * @return The PerformanceMark entry that was created + */ + mark(name?: string, options?: MarkOptions): PerformanceMark; + /** + * Creates a new PerformanceMeasure entry in the Performance Timeline. + * A PerformanceMeasure is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'measure', + * and whose performanceEntry.duration measures the number of milliseconds elapsed since startMark and endMark. + * + * The startMark argument may identify any existing PerformanceMark in the the Performance Timeline, or may identify + * any of the timestamp properties provided by the PerformanceNodeTiming class. If the named startMark does not exist, + * then startMark is set to timeOrigin by default. + * + * The endMark argument must identify any existing PerformanceMark in the the Performance Timeline or any of the timestamp + * properties provided by the PerformanceNodeTiming class. If the named endMark does not exist, an error will be thrown. + * @param name + * @param startMark + * @param endMark + * @return The PerformanceMeasure entry that was created + */ + measure(name: string, startMark?: string, endMark?: string): PerformanceMeasure; + measure(name: string, options: MeasureOptions): PerformanceMeasure; + /** + * An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones. + */ + readonly nodeTiming: PerformanceNodeTiming; + /** + * @return the current high resolution millisecond timestamp + */ + now(): number; + /** + * The timeOrigin specifies the high resolution millisecond timestamp from which all performance metric durations are measured. + */ + readonly timeOrigin: number; + /** + * Wraps a function within a new function that measures the running time of the wrapped function. + * A PerformanceObserver must be subscribed to the 'function' event type in order for the timing details to be accessed. + * @param fn + */ + timerify any>(fn: T, options?: TimerifyOptions): T; + /** + * eventLoopUtilization is similar to CPU utilization except that it is calculated using high precision wall-clock time. + * It represents the percentage of time the event loop has spent outside the event loop's event provider (e.g. epoll_wait). + * No other CPU idle time is taken into consideration. + */ + eventLoopUtilization: EventLoopUtilityFunction; + } + interface PerformanceObserverEntryList { + /** + * Returns a list of `PerformanceEntry` objects in chronological order + * with respect to `performanceEntry.startTime`. + * + * ```js + * const { + * performance, + * PerformanceObserver, + * } = require('node:perf_hooks'); + * + * const obs = new PerformanceObserver((perfObserverList, observer) => { + * console.log(perfObserverList.getEntries()); + * + * * [ + * * PerformanceEntry { + * * name: 'test', + * * entryType: 'mark', + * * startTime: 81.465639, + * * duration: 0 + * * }, + * * PerformanceEntry { + * * name: 'meow', + * * entryType: 'mark', + * * startTime: 81.860064, + * * duration: 0 + * * } + * * ] + * + * performance.clearMarks(); + * performance.clearMeasures(); + * observer.disconnect(); + * }); + * obs.observe({ type: 'mark' }); + * + * performance.mark('test'); + * performance.mark('meow'); + * ``` + * @since v8.5.0 + */ + getEntries(): PerformanceEntry[]; + /** + * Returns a list of `PerformanceEntry` objects in chronological order + * with respect to `performanceEntry.startTime` whose `performanceEntry.name` is + * equal to `name`, and optionally, whose `performanceEntry.entryType` is equal to`type`. + * + * ```js + * const { + * performance, + * PerformanceObserver, + * } = require('node:perf_hooks'); + * + * const obs = new PerformanceObserver((perfObserverList, observer) => { + * console.log(perfObserverList.getEntriesByName('meow')); + * + * * [ + * * PerformanceEntry { + * * name: 'meow', + * * entryType: 'mark', + * * startTime: 98.545991, + * * duration: 0 + * * } + * * ] + * + * console.log(perfObserverList.getEntriesByName('nope')); // [] + * + * console.log(perfObserverList.getEntriesByName('test', 'mark')); + * + * * [ + * * PerformanceEntry { + * * name: 'test', + * * entryType: 'mark', + * * startTime: 63.518931, + * * duration: 0 + * * } + * * ] + * + * console.log(perfObserverList.getEntriesByName('test', 'measure')); // [] + * + * performance.clearMarks(); + * performance.clearMeasures(); + * observer.disconnect(); + * }); + * obs.observe({ entryTypes: ['mark', 'measure'] }); + * + * performance.mark('test'); + * performance.mark('meow'); + * ``` + * @since v8.5.0 + */ + getEntriesByName(name: string, type?: EntryType): PerformanceEntry[]; + /** + * Returns a list of `PerformanceEntry` objects in chronological order + * with respect to `performanceEntry.startTime` whose `performanceEntry.entryType`is equal to `type`. + * + * ```js + * const { + * performance, + * PerformanceObserver, + * } = require('node:perf_hooks'); + * + * const obs = new PerformanceObserver((perfObserverList, observer) => { + * console.log(perfObserverList.getEntriesByType('mark')); + * + * * [ + * * PerformanceEntry { + * * name: 'test', + * * entryType: 'mark', + * * startTime: 55.897834, + * * duration: 0 + * * }, + * * PerformanceEntry { + * * name: 'meow', + * * entryType: 'mark', + * * startTime: 56.350146, + * * duration: 0 + * * } + * * ] + * + * performance.clearMarks(); + * performance.clearMeasures(); + * observer.disconnect(); + * }); + * obs.observe({ type: 'mark' }); + * + * performance.mark('test'); + * performance.mark('meow'); + * ``` + * @since v8.5.0 + */ + getEntriesByType(type: EntryType): PerformanceEntry[]; + } + type PerformanceObserverCallback = (list: PerformanceObserverEntryList, observer: PerformanceObserver) => void; + /** + * @since v8.5.0 + */ + class PerformanceObserver extends AsyncResource { + constructor(callback: PerformanceObserverCallback); + /** + * Disconnects the `PerformanceObserver` instance from all notifications. + * @since v8.5.0 + */ + disconnect(): void; + /** + * Subscribes the `PerformanceObserver` instance to notifications of new `PerformanceEntry` instances identified either by `options.entryTypes`or `options.type`: + * + * ```js + * const { + * performance, + * PerformanceObserver, + * } = require('node:perf_hooks'); + * + * const obs = new PerformanceObserver((list, observer) => { + * // Called once asynchronously. `list` contains three items. + * }); + * obs.observe({ type: 'mark' }); + * + * for (let n = 0; n < 3; n++) + * performance.mark(`test${n}`); + * ``` + * @since v8.5.0 + */ + observe( + options: + | { + entryTypes: readonly EntryType[]; + buffered?: boolean | undefined; + } + | { + type: EntryType; + buffered?: boolean | undefined; + }, + ): void; + } + namespace constants { + const NODE_PERFORMANCE_GC_MAJOR: number; + const NODE_PERFORMANCE_GC_MINOR: number; + const NODE_PERFORMANCE_GC_INCREMENTAL: number; + const NODE_PERFORMANCE_GC_WEAKCB: number; + const NODE_PERFORMANCE_GC_FLAGS_NO: number; + const NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED: number; + const NODE_PERFORMANCE_GC_FLAGS_FORCED: number; + const NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING: number; + const NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE: number; + const NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY: number; + const NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE: number; + } + const performance: Performance; + interface EventLoopMonitorOptions { + /** + * The sampling rate in milliseconds. + * Must be greater than zero. + * @default 10 + */ + resolution?: number | undefined; + } + interface Histogram { + /** + * Returns a `Map` object detailing the accumulated percentile distribution. + * @since v11.10.0 + */ + readonly percentiles: Map; + /** + * The number of times the event loop delay exceeded the maximum 1 hour event + * loop delay threshold. + * @since v11.10.0 + */ + readonly exceeds: number; + /** + * The minimum recorded event loop delay. + * @since v11.10.0 + */ + readonly min: number; + /** + * The maximum recorded event loop delay. + * @since v11.10.0 + */ + readonly max: number; + /** + * The mean of the recorded event loop delays. + * @since v11.10.0 + */ + readonly mean: number; + /** + * The standard deviation of the recorded event loop delays. + * @since v11.10.0 + */ + readonly stddev: number; + /** + * Resets the collected histogram data. + * @since v11.10.0 + */ + reset(): void; + /** + * Returns the value at the given percentile. + * @since v11.10.0 + * @param percentile A percentile value in the range (0, 100]. + */ + percentile(percentile: number): number; + } + interface IntervalHistogram extends Histogram { + /** + * Enables the update interval timer. Returns `true` if the timer was + * started, `false` if it was already started. + * @since v11.10.0 + */ + enable(): boolean; + /** + * Disables the update interval timer. Returns `true` if the timer was + * stopped, `false` if it was already stopped. + * @since v11.10.0 + */ + disable(): boolean; + } + interface RecordableHistogram extends Histogram { + /** + * @since v15.9.0, v14.18.0 + * @param val The amount to record in the histogram. + */ + record(val: number | bigint): void; + /** + * Calculates the amount of time (in nanoseconds) that has passed since the + * previous call to `recordDelta()` and records that amount in the histogram. + * + * ## Examples + * @since v15.9.0, v14.18.0 + */ + recordDelta(): void; + /** + * Adds the values from `other` to this histogram. + * @since v17.4.0, v16.14.0 + */ + add(other: RecordableHistogram): void; + } + /** + * _This property is an extension by Node.js. It is not available in Web browsers._ + * + * Creates an `IntervalHistogram` object that samples and reports the event loop + * delay over time. The delays will be reported in nanoseconds. + * + * Using a timer to detect approximate event loop delay works because the + * execution of timers is tied specifically to the lifecycle of the libuv + * event loop. That is, a delay in the loop will cause a delay in the execution + * of the timer, and those delays are specifically what this API is intended to + * detect. + * + * ```js + * const { monitorEventLoopDelay } = require('node:perf_hooks'); + * const h = monitorEventLoopDelay({ resolution: 20 }); + * h.enable(); + * // Do something. + * h.disable(); + * console.log(h.min); + * console.log(h.max); + * console.log(h.mean); + * console.log(h.stddev); + * console.log(h.percentiles); + * console.log(h.percentile(50)); + * console.log(h.percentile(99)); + * ``` + * @since v11.10.0 + */ + function monitorEventLoopDelay(options?: EventLoopMonitorOptions): IntervalHistogram; + interface CreateHistogramOptions { + /** + * The minimum recordable value. Must be an integer value greater than 0. + * @default 1 + */ + min?: number | bigint | undefined; + /** + * The maximum recordable value. Must be an integer value greater than min. + * @default Number.MAX_SAFE_INTEGER + */ + max?: number | bigint | undefined; + /** + * The number of accuracy digits. Must be a number between 1 and 5. + * @default 3 + */ + figures?: number | undefined; + } + /** + * Returns a `RecordableHistogram`. + * @since v15.9.0, v14.18.0 + */ + function createHistogram(options?: CreateHistogramOptions): RecordableHistogram; + import { performance as _performance } from "perf_hooks"; + global { + /** + * `performance` is a global reference for `require('perf_hooks').performance` + * https://nodejs.org/api/globals.html#performance + * @since v16.0.0 + */ + var performance: typeof globalThis extends { + onmessage: any; + performance: infer T; + } ? T + : typeof _performance; + } +} +declare module "node:perf_hooks" { + export * from "perf_hooks"; +} diff --git a/node_modules/@types/node/ts4.8/process.d.ts b/node_modules/@types/node/ts4.8/process.d.ts new file mode 100644 index 000000000..0e2747376 --- /dev/null +++ b/node_modules/@types/node/ts4.8/process.d.ts @@ -0,0 +1,1539 @@ +declare module "process" { + import * as tty from "node:tty"; + import { Worker } from "node:worker_threads"; + global { + var process: NodeJS.Process; + namespace NodeJS { + // this namespace merge is here because these are specifically used + // as the type for process.stdin, process.stdout, and process.stderr. + // they can't live in tty.d.ts because we need to disambiguate the imported name. + interface ReadStream extends tty.ReadStream {} + interface WriteStream extends tty.WriteStream {} + interface MemoryUsageFn { + /** + * The `process.memoryUsage()` method iterate over each page to gather informations about memory + * usage which can be slow depending on the program memory allocations. + */ + (): MemoryUsage; + /** + * method returns an integer representing the Resident Set Size (RSS) in bytes. + */ + rss(): number; + } + interface MemoryUsage { + rss: number; + heapTotal: number; + heapUsed: number; + external: number; + arrayBuffers: number; + } + interface CpuUsage { + user: number; + system: number; + } + interface ProcessRelease { + name: string; + sourceUrl?: string | undefined; + headersUrl?: string | undefined; + libUrl?: string | undefined; + lts?: string | undefined; + } + interface ProcessVersions extends Dict { + http_parser: string; + node: string; + v8: string; + ares: string; + uv: string; + zlib: string; + modules: string; + openssl: string; + } + type Platform = + | "aix" + | "android" + | "darwin" + | "freebsd" + | "haiku" + | "linux" + | "openbsd" + | "sunos" + | "win32" + | "cygwin" + | "netbsd"; + type Architecture = + | "arm" + | "arm64" + | "ia32" + | "mips" + | "mipsel" + | "ppc" + | "ppc64" + | "riscv64" + | "s390" + | "s390x" + | "x64"; + type Signals = + | "SIGABRT" + | "SIGALRM" + | "SIGBUS" + | "SIGCHLD" + | "SIGCONT" + | "SIGFPE" + | "SIGHUP" + | "SIGILL" + | "SIGINT" + | "SIGIO" + | "SIGIOT" + | "SIGKILL" + | "SIGPIPE" + | "SIGPOLL" + | "SIGPROF" + | "SIGPWR" + | "SIGQUIT" + | "SIGSEGV" + | "SIGSTKFLT" + | "SIGSTOP" + | "SIGSYS" + | "SIGTERM" + | "SIGTRAP" + | "SIGTSTP" + | "SIGTTIN" + | "SIGTTOU" + | "SIGUNUSED" + | "SIGURG" + | "SIGUSR1" + | "SIGUSR2" + | "SIGVTALRM" + | "SIGWINCH" + | "SIGXCPU" + | "SIGXFSZ" + | "SIGBREAK" + | "SIGLOST" + | "SIGINFO"; + type UncaughtExceptionOrigin = "uncaughtException" | "unhandledRejection"; + type MultipleResolveType = "resolve" | "reject"; + type BeforeExitListener = (code: number) => void; + type DisconnectListener = () => void; + type ExitListener = (code: number) => void; + type RejectionHandledListener = (promise: Promise) => void; + type UncaughtExceptionListener = (error: Error, origin: UncaughtExceptionOrigin) => void; + /** + * Most of the time the unhandledRejection will be an Error, but this should not be relied upon + * as *anything* can be thrown/rejected, it is therefore unsafe to assume that the value is an Error. + */ + type UnhandledRejectionListener = (reason: unknown, promise: Promise) => void; + type WarningListener = (warning: Error) => void; + type MessageListener = (message: unknown, sendHandle: unknown) => void; + type SignalsListener = (signal: Signals) => void; + type MultipleResolveListener = ( + type: MultipleResolveType, + promise: Promise, + value: unknown, + ) => void; + type WorkerListener = (worker: Worker) => void; + interface Socket extends ReadWriteStream { + isTTY?: true | undefined; + } + // Alias for compatibility + interface ProcessEnv extends Dict { + /** + * Can be used to change the default timezone at runtime + */ + TZ?: string; + } + interface HRTime { + (time?: [number, number]): [number, number]; + bigint(): bigint; + } + interface ProcessReport { + /** + * Directory where the report is written. + * working directory of the Node.js process. + * @default '' indicating that reports are written to the current + */ + directory: string; + /** + * Filename where the report is written. + * The default value is the empty string. + * @default '' the output filename will be comprised of a timestamp, + * PID, and sequence number. + */ + filename: string; + /** + * Returns a JSON-formatted diagnostic report for the running process. + * The report's JavaScript stack trace is taken from err, if present. + */ + getReport(err?: Error): string; + /** + * If true, a diagnostic report is generated on fatal errors, + * such as out of memory errors or failed C++ assertions. + * @default false + */ + reportOnFatalError: boolean; + /** + * If true, a diagnostic report is generated when the process + * receives the signal specified by process.report.signal. + * @default false + */ + reportOnSignal: boolean; + /** + * If true, a diagnostic report is generated on uncaught exception. + * @default false + */ + reportOnUncaughtException: boolean; + /** + * The signal used to trigger the creation of a diagnostic report. + * @default 'SIGUSR2' + */ + signal: Signals; + /** + * Writes a diagnostic report to a file. If filename is not provided, the default filename + * includes the date, time, PID, and a sequence number. + * The report's JavaScript stack trace is taken from err, if present. + * + * @param fileName Name of the file where the report is written. + * This should be a relative path, that will be appended to the directory specified in + * `process.report.directory`, or the current working directory of the Node.js process, + * if unspecified. + * @param error A custom error used for reporting the JavaScript stack. + * @return Filename of the generated report. + */ + writeReport(fileName?: string): string; + writeReport(error?: Error): string; + writeReport(fileName?: string, err?: Error): string; + } + interface ResourceUsage { + fsRead: number; + fsWrite: number; + involuntaryContextSwitches: number; + ipcReceived: number; + ipcSent: number; + majorPageFault: number; + maxRSS: number; + minorPageFault: number; + sharedMemorySize: number; + signalsCount: number; + swappedOut: number; + systemCPUTime: number; + unsharedDataSize: number; + unsharedStackSize: number; + userCPUTime: number; + voluntaryContextSwitches: number; + } + interface EmitWarningOptions { + /** + * When `warning` is a `string`, `type` is the name to use for the _type_ of warning being emitted. + * + * @default 'Warning' + */ + type?: string | undefined; + /** + * A unique identifier for the warning instance being emitted. + */ + code?: string | undefined; + /** + * When `warning` is a `string`, `ctor` is an optional function used to limit the generated stack trace. + * + * @default process.emitWarning + */ + ctor?: Function | undefined; + /** + * Additional text to include with the error. + */ + detail?: string | undefined; + } + interface ProcessConfig { + readonly target_defaults: { + readonly cflags: any[]; + readonly default_configuration: string; + readonly defines: string[]; + readonly include_dirs: string[]; + readonly libraries: string[]; + }; + readonly variables: { + readonly clang: number; + readonly host_arch: string; + readonly node_install_npm: boolean; + readonly node_install_waf: boolean; + readonly node_prefix: string; + readonly node_shared_openssl: boolean; + readonly node_shared_v8: boolean; + readonly node_shared_zlib: boolean; + readonly node_use_dtrace: boolean; + readonly node_use_etw: boolean; + readonly node_use_openssl: boolean; + readonly target_arch: string; + readonly v8_no_strict_aliasing: number; + readonly v8_use_snapshot: boolean; + readonly visibility: string; + }; + } + interface Process extends EventEmitter { + /** + * The `process.stdout` property returns a stream connected to`stdout` (fd `1`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `1` refers to a file, in which case it is + * a `Writable` stream. + * + * For example, to copy `process.stdin` to `process.stdout`: + * + * ```js + * import { stdin, stdout } from 'node:process'; + * + * stdin.pipe(stdout); + * ``` + * + * `process.stdout` differs from other Node.js streams in important ways. See `note on process I/O` for more information. + */ + stdout: WriteStream & { + fd: 1; + }; + /** + * The `process.stderr` property returns a stream connected to`stderr` (fd `2`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `2` refers to a file, in which case it is + * a `Writable` stream. + * + * `process.stderr` differs from other Node.js streams in important ways. See `note on process I/O` for more information. + */ + stderr: WriteStream & { + fd: 2; + }; + /** + * The `process.stdin` property returns a stream connected to`stdin` (fd `0`). It is a `net.Socket` (which is a `Duplex` stream) unless fd `0` refers to a file, in which case it is + * a `Readable` stream. + * + * For details of how to read from `stdin` see `readable.read()`. + * + * As a `Duplex` stream, `process.stdin` can also be used in "old" mode that + * is compatible with scripts written for Node.js prior to v0.10\. + * For more information see `Stream compatibility`. + * + * In "old" streams mode the `stdin` stream is paused by default, so one + * must call `process.stdin.resume()` to read from it. Note also that calling`process.stdin.resume()` itself would switch stream to "old" mode. + */ + stdin: ReadStream & { + fd: 0; + }; + openStdin(): Socket; + /** + * The `process.argv` property returns an array containing the command-line + * arguments passed when the Node.js process was launched. The first element will + * be {@link execPath}. See `process.argv0` if access to the original value + * of `argv[0]` is needed. The second element will be the path to the JavaScript + * file being executed. The remaining elements will be any additional command-line + * arguments. + * + * For example, assuming the following script for `process-args.js`: + * + * ```js + * import { argv } from 'node:process'; + * + * // print process.argv + * argv.forEach((val, index) => { + * console.log(`${index}: ${val}`); + * }); + * ``` + * + * Launching the Node.js process as: + * + * ```bash + * node process-args.js one two=three four + * ``` + * + * Would generate the output: + * + * ```text + * 0: /usr/local/bin/node + * 1: /Users/mjr/work/node/process-args.js + * 2: one + * 3: two=three + * 4: four + * ``` + * @since v0.1.27 + */ + argv: string[]; + /** + * The `process.argv0` property stores a read-only copy of the original value of`argv[0]` passed when Node.js starts. + * + * ```console + * $ bash -c 'exec -a customArgv0 ./node' + * > process.argv[0] + * '/Volumes/code/external/node/out/Release/node' + * > process.argv0 + * 'customArgv0' + * ``` + * @since v6.4.0 + */ + argv0: string; + /** + * The `process.execArgv` property returns the set of Node.js-specific command-line + * options passed when the Node.js process was launched. These options do not + * appear in the array returned by the {@link argv} property, and do not + * include the Node.js executable, the name of the script, or any options following + * the script name. These options are useful in order to spawn child processes with + * the same execution environment as the parent. + * + * ```bash + * node --harmony script.js --version + * ``` + * + * Results in `process.execArgv`: + * + * ```js + * ['--harmony'] + * ``` + * + * And `process.argv`: + * + * ```js + * ['/usr/local/bin/node', 'script.js', '--version'] + * ``` + * + * Refer to `Worker constructor` for the detailed behavior of worker + * threads with this property. + * @since v0.7.7 + */ + execArgv: string[]; + /** + * The `process.execPath` property returns the absolute pathname of the executable + * that started the Node.js process. Symbolic links, if any, are resolved. + * + * ```js + * '/usr/local/bin/node' + * ``` + * @since v0.1.100 + */ + execPath: string; + /** + * The `process.abort()` method causes the Node.js process to exit immediately and + * generate a core file. + * + * This feature is not available in `Worker` threads. + * @since v0.7.0 + */ + abort(): never; + /** + * The `process.chdir()` method changes the current working directory of the + * Node.js process or throws an exception if doing so fails (for instance, if + * the specified `directory` does not exist). + * + * ```js + * import { chdir, cwd } from 'node:process'; + * + * console.log(`Starting directory: ${cwd()}`); + * try { + * chdir('/tmp'); + * console.log(`New directory: ${cwd()}`); + * } catch (err) { + * console.error(`chdir: ${err}`); + * } + * ``` + * + * This feature is not available in `Worker` threads. + * @since v0.1.17 + */ + chdir(directory: string): void; + /** + * The `process.cwd()` method returns the current working directory of the Node.js + * process. + * + * ```js + * import { cwd } from 'node:process'; + * + * console.log(`Current directory: ${cwd()}`); + * ``` + * @since v0.1.8 + */ + cwd(): string; + /** + * The port used by the Node.js debugger when enabled. + * + * ```js + * import process from 'node:process'; + * + * process.debugPort = 5858; + * ``` + * @since v0.7.2 + */ + debugPort: number; + /** + * The `process.emitWarning()` method can be used to emit custom or application + * specific process warnings. These can be listened for by adding a handler to the `'warning'` event. + * + * ```js + * import { emitWarning } from 'node:process'; + * + * // Emit a warning with a code and additional detail. + * emitWarning('Something happened!', { + * code: 'MY_WARNING', + * detail: 'This is some additional information', + * }); + * // Emits: + * // (node:56338) [MY_WARNING] Warning: Something happened! + * // This is some additional information + * ``` + * + * In this example, an `Error` object is generated internally by`process.emitWarning()` and passed through to the `'warning'` handler. + * + * ```js + * import process from 'node:process'; + * + * process.on('warning', (warning) => { + * console.warn(warning.name); // 'Warning' + * console.warn(warning.message); // 'Something happened!' + * console.warn(warning.code); // 'MY_WARNING' + * console.warn(warning.stack); // Stack trace + * console.warn(warning.detail); // 'This is some additional information' + * }); + * ``` + * + * If `warning` is passed as an `Error` object, the `options` argument is ignored. + * @since v8.0.0 + * @param warning The warning to emit. + */ + emitWarning(warning: string | Error, ctor?: Function): void; + emitWarning(warning: string | Error, type?: string, ctor?: Function): void; + emitWarning(warning: string | Error, type?: string, code?: string, ctor?: Function): void; + emitWarning(warning: string | Error, options?: EmitWarningOptions): void; + /** + * The `process.env` property returns an object containing the user environment. + * See [`environ(7)`](http://man7.org/linux/man-pages/man7/environ.7.html). + * + * An example of this object looks like: + * + * ```js + * { + * TERM: 'xterm-256color', + * SHELL: '/usr/local/bin/bash', + * USER: 'maciej', + * PATH: '~/.bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin', + * PWD: '/Users/maciej', + * EDITOR: 'vim', + * SHLVL: '1', + * HOME: '/Users/maciej', + * LOGNAME: 'maciej', + * _: '/usr/local/bin/node' + * } + * ``` + * + * It is possible to modify this object, but such modifications will not be + * reflected outside the Node.js process, or (unless explicitly requested) + * to other `Worker` threads. + * In other words, the following example would not work: + * + * ```bash + * node -e 'process.env.foo = "bar"' && echo $foo + * ``` + * + * While the following will: + * + * ```js + * import { env } from 'node:process'; + * + * env.foo = 'bar'; + * console.log(env.foo); + * ``` + * + * Assigning a property on `process.env` will implicitly convert the value + * to a string. **This behavior is deprecated.** Future versions of Node.js may + * throw an error when the value is not a string, number, or boolean. + * + * ```js + * import { env } from 'node:process'; + * + * env.test = null; + * console.log(env.test); + * // => 'null' + * env.test = undefined; + * console.log(env.test); + * // => 'undefined' + * ``` + * + * Use `delete` to delete a property from `process.env`. + * + * ```js + * import { env } from 'node:process'; + * + * env.TEST = 1; + * delete env.TEST; + * console.log(env.TEST); + * // => undefined + * ``` + * + * On Windows operating systems, environment variables are case-insensitive. + * + * ```js + * import { env } from 'node:process'; + * + * env.TEST = 1; + * console.log(env.test); + * // => 1 + * ``` + * + * Unless explicitly specified when creating a `Worker` instance, + * each `Worker` thread has its own copy of `process.env`, based on its + * parent thread's `process.env`, or whatever was specified as the `env` option + * to the `Worker` constructor. Changes to `process.env` will not be visible + * across `Worker` threads, and only the main thread can make changes that + * are visible to the operating system or to native add-ons. On Windows, a copy of`process.env` on a `Worker` instance operates in a case-sensitive manner + * unlike the main thread. + * @since v0.1.27 + */ + env: ProcessEnv; + /** + * The `process.exit()` method instructs Node.js to terminate the process + * synchronously with an exit status of `code`. If `code` is omitted, exit uses + * either the 'success' code `0` or the value of `process.exitCode` if it has been + * set. Node.js will not terminate until all the `'exit'` event listeners are + * called. + * + * To exit with a 'failure' code: + * + * ```js + * import { exit } from 'node:process'; + * + * exit(1); + * ``` + * + * The shell that executed Node.js should see the exit code as `1`. + * + * Calling `process.exit()` will force the process to exit as quickly as possible + * even if there are still asynchronous operations pending that have not yet + * completed fully, including I/O operations to `process.stdout` and`process.stderr`. + * + * In most situations, it is not actually necessary to call `process.exit()`explicitly. The Node.js process will exit on its own _if there is no additional_ + * _work pending_ in the event loop. The `process.exitCode` property can be set to + * tell the process which exit code to use when the process exits gracefully. + * + * For instance, the following example illustrates a _misuse_ of the`process.exit()` method that could lead to data printed to stdout being + * truncated and lost: + * + * ```js + * import { exit } from 'node:process'; + * + * // This is an example of what *not* to do: + * if (someConditionNotMet()) { + * printUsageToStdout(); + * exit(1); + * } + * ``` + * + * The reason this is problematic is because writes to `process.stdout` in Node.js + * are sometimes _asynchronous_ and may occur over multiple ticks of the Node.js + * event loop. Calling `process.exit()`, however, forces the process to exit _before_ those additional writes to `stdout` can be performed. + * + * Rather than calling `process.exit()` directly, the code _should_ set the`process.exitCode` and allow the process to exit naturally by avoiding + * scheduling any additional work for the event loop: + * + * ```js + * import process from 'node:process'; + * + * // How to properly set the exit code while letting + * // the process exit gracefully. + * if (someConditionNotMet()) { + * printUsageToStdout(); + * process.exitCode = 1; + * } + * ``` + * + * If it is necessary to terminate the Node.js process due to an error condition, + * throwing an _uncaught_ error and allowing the process to terminate accordingly + * is safer than calling `process.exit()`. + * + * In `Worker` threads, this function stops the current thread rather + * than the current process. + * @since v0.1.13 + * @param [code=0] The exit code. For string type, only integer strings (e.g.,'1') are allowed. + */ + exit(code?: number): never; + /** + * A number which will be the process exit code, when the process either + * exits gracefully, or is exited via {@link exit} without specifying + * a code. + * + * Specifying a code to {@link exit} will override any + * previous setting of `process.exitCode`. + * @since v0.11.8 + */ + exitCode?: number | undefined; + /** + * The `process.getgid()` method returns the numerical group identity of the + * process. (See [`getgid(2)`](http://man7.org/linux/man-pages/man2/getgid.2.html).) + * + * ```js + * import process from 'process'; + * + * if (process.getgid) { + * console.log(`Current gid: ${process.getgid()}`); + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * @since v0.1.31 + */ + getgid?: () => number; + /** + * The `process.setgid()` method sets the group identity of the process. (See [`setgid(2)`](http://man7.org/linux/man-pages/man2/setgid.2.html).) The `id` can be passed as either a + * numeric ID or a group name + * string. If a group name is specified, this method blocks while resolving the + * associated numeric ID. + * + * ```js + * import process from 'process'; + * + * if (process.getgid && process.setgid) { + * console.log(`Current gid: ${process.getgid()}`); + * try { + * process.setgid(501); + * console.log(`New gid: ${process.getgid()}`); + * } catch (err) { + * console.log(`Failed to set gid: ${err}`); + * } + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * This feature is not available in `Worker` threads. + * @since v0.1.31 + * @param id The group name or ID + */ + setgid?: (id: number | string) => void; + /** + * The `process.getuid()` method returns the numeric user identity of the process. + * (See [`getuid(2)`](http://man7.org/linux/man-pages/man2/getuid.2.html).) + * + * ```js + * import process from 'process'; + * + * if (process.getuid) { + * console.log(`Current uid: ${process.getuid()}`); + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * @since v0.1.28 + */ + getuid?: () => number; + /** + * The `process.setuid(id)` method sets the user identity of the process. (See [`setuid(2)`](http://man7.org/linux/man-pages/man2/setuid.2.html).) The `id` can be passed as either a + * numeric ID or a username string. + * If a username is specified, the method blocks while resolving the associated + * numeric ID. + * + * ```js + * import process from 'process'; + * + * if (process.getuid && process.setuid) { + * console.log(`Current uid: ${process.getuid()}`); + * try { + * process.setuid(501); + * console.log(`New uid: ${process.getuid()}`); + * } catch (err) { + * console.log(`Failed to set uid: ${err}`); + * } + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * This feature is not available in `Worker` threads. + * @since v0.1.28 + */ + setuid?: (id: number | string) => void; + /** + * The `process.geteuid()` method returns the numerical effective user identity of + * the process. (See [`geteuid(2)`](http://man7.org/linux/man-pages/man2/geteuid.2.html).) + * + * ```js + * import process from 'process'; + * + * if (process.geteuid) { + * console.log(`Current uid: ${process.geteuid()}`); + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * @since v2.0.0 + */ + geteuid?: () => number; + /** + * The `process.seteuid()` method sets the effective user identity of the process. + * (See [`seteuid(2)`](http://man7.org/linux/man-pages/man2/seteuid.2.html).) The `id` can be passed as either a numeric ID or a username + * string. If a username is specified, the method blocks while resolving the + * associated numeric ID. + * + * ```js + * import process from 'process'; + * + * if (process.geteuid && process.seteuid) { + * console.log(`Current uid: ${process.geteuid()}`); + * try { + * process.seteuid(501); + * console.log(`New uid: ${process.geteuid()}`); + * } catch (err) { + * console.log(`Failed to set uid: ${err}`); + * } + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * This feature is not available in `Worker` threads. + * @since v2.0.0 + * @param id A user name or ID + */ + seteuid?: (id: number | string) => void; + /** + * The `process.getegid()` method returns the numerical effective group identity + * of the Node.js process. (See [`getegid(2)`](http://man7.org/linux/man-pages/man2/getegid.2.html).) + * + * ```js + * import process from 'process'; + * + * if (process.getegid) { + * console.log(`Current gid: ${process.getegid()}`); + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * @since v2.0.0 + */ + getegid?: () => number; + /** + * The `process.setegid()` method sets the effective group identity of the process. + * (See [`setegid(2)`](http://man7.org/linux/man-pages/man2/setegid.2.html).) The `id` can be passed as either a numeric ID or a group + * name string. If a group name is specified, this method blocks while resolving + * the associated a numeric ID. + * + * ```js + * import process from 'process'; + * + * if (process.getegid && process.setegid) { + * console.log(`Current gid: ${process.getegid()}`); + * try { + * process.setegid(501); + * console.log(`New gid: ${process.getegid()}`); + * } catch (err) { + * console.log(`Failed to set gid: ${err}`); + * } + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * This feature is not available in `Worker` threads. + * @since v2.0.0 + * @param id A group name or ID + */ + setegid?: (id: number | string) => void; + /** + * The `process.getgroups()` method returns an array with the supplementary group + * IDs. POSIX leaves it unspecified if the effective group ID is included but + * Node.js ensures it always is. + * + * ```js + * import process from 'process'; + * + * if (process.getgroups) { + * console.log(process.getgroups()); // [ 16, 21, 297 ] + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * @since v0.9.4 + */ + getgroups?: () => number[]; + /** + * The `process.setgroups()` method sets the supplementary group IDs for the + * Node.js process. This is a privileged operation that requires the Node.js + * process to have `root` or the `CAP_SETGID` capability. + * + * The `groups` array can contain numeric group IDs, group names, or both. + * + * ```js + * import process from 'process'; + * + * if (process.getgroups && process.setgroups) { + * try { + * process.setgroups([501]); + * console.log(process.getgroups()); // new groups + * } catch (err) { + * console.log(`Failed to set groups: ${err}`); + * } + * } + * ``` + * + * This function is only available on POSIX platforms (i.e. not Windows or + * Android). + * This feature is not available in `Worker` threads. + * @since v0.9.4 + */ + setgroups?: (groups: ReadonlyArray) => void; + /** + * The `process.setUncaughtExceptionCaptureCallback()` function sets a function + * that will be invoked when an uncaught exception occurs, which will receive the + * exception value itself as its first argument. + * + * If such a function is set, the `'uncaughtException'` event will + * not be emitted. If `--abort-on-uncaught-exception` was passed from the + * command line or set through `v8.setFlagsFromString()`, the process will + * not abort. Actions configured to take place on exceptions such as report + * generations will be affected too + * + * To unset the capture function,`process.setUncaughtExceptionCaptureCallback(null)` may be used. Calling this + * method with a non-`null` argument while another capture function is set will + * throw an error. + * + * Using this function is mutually exclusive with using the deprecated `domain` built-in module. + * @since v9.3.0 + */ + setUncaughtExceptionCaptureCallback(cb: ((err: Error) => void) | null): void; + /** + * Indicates whether a callback has been set using {@link setUncaughtExceptionCaptureCallback}. + * @since v9.3.0 + */ + hasUncaughtExceptionCaptureCallback(): boolean; + /** + * The `process.sourceMapsEnabled` property returns whether the [Source Map v3](https://sourcemaps.info/spec.html) support for stack traces is enabled. + * @since v20.7.0 + * @experimental + */ + readonly sourceMapsEnabled: boolean; + /** + * This function enables or disables the Source Map v3 support for stack traces. + * It provides same features as launching Node.js process with commandline options --enable-source-maps. + * @since v16.6.0 + * @experimental + */ + setSourceMapsEnabled(value: boolean): void; + /** + * The `process.version` property contains the Node.js version string. + * + * ```js + * import { version } from 'node:process'; + * + * console.log(`Version: ${version}`); + * // Version: v14.8.0 + * ``` + * + * To get the version string without the prepended _v_, use`process.versions.node`. + * @since v0.1.3 + */ + readonly version: string; + /** + * The `process.versions` property returns an object listing the version strings of + * Node.js and its dependencies. `process.versions.modules` indicates the current + * ABI version, which is increased whenever a C++ API changes. Node.js will refuse + * to load modules that were compiled against a different module ABI version. + * + * ```js + * import { versions } from 'node:process'; + * + * console.log(versions); + * ``` + * + * Will generate an object similar to: + * + * ```console + * { node: '20.2.0', + * acorn: '8.8.2', + * ada: '2.4.0', + * ares: '1.19.0', + * base64: '0.5.0', + * brotli: '1.0.9', + * cjs_module_lexer: '1.2.2', + * cldr: '43.0', + * icu: '73.1', + * llhttp: '8.1.0', + * modules: '115', + * napi: '8', + * nghttp2: '1.52.0', + * nghttp3: '0.7.0', + * ngtcp2: '0.8.1', + * openssl: '3.0.8+quic', + * simdutf: '3.2.9', + * tz: '2023c', + * undici: '5.22.0', + * unicode: '15.0', + * uv: '1.44.2', + * uvwasi: '0.0.16', + * v8: '11.3.244.8-node.9', + * zlib: '1.2.13' } + * ``` + * @since v0.2.0 + */ + readonly versions: ProcessVersions; + /** + * The `process.config` property returns a frozen `Object` containing the + * JavaScript representation of the configure options used to compile the current + * Node.js executable. This is the same as the `config.gypi` file that was produced + * when running the `./configure` script. + * + * An example of the possible output looks like: + * + * ```js + * { + * target_defaults: + * { cflags: [], + * default_configuration: 'Release', + * defines: [], + * include_dirs: [], + * libraries: [] }, + * variables: + * { + * host_arch: 'x64', + * napi_build_version: 5, + * node_install_npm: 'true', + * node_prefix: '', + * node_shared_cares: 'false', + * node_shared_http_parser: 'false', + * node_shared_libuv: 'false', + * node_shared_zlib: 'false', + * node_use_openssl: 'true', + * node_shared_openssl: 'false', + * strict_aliasing: 'true', + * target_arch: 'x64', + * v8_use_snapshot: 1 + * } + * } + * ``` + * @since v0.7.7 + */ + readonly config: ProcessConfig; + /** + * The `process.kill()` method sends the `signal` to the process identified by`pid`. + * + * Signal names are strings such as `'SIGINT'` or `'SIGHUP'`. See `Signal Events` and [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) for more information. + * + * This method will throw an error if the target `pid` does not exist. As a special + * case, a signal of `0` can be used to test for the existence of a process. + * Windows platforms will throw an error if the `pid` is used to kill a process + * group. + * + * Even though the name of this function is `process.kill()`, it is really just a + * signal sender, like the `kill` system call. The signal sent may do something + * other than kill the target process. + * + * ```js + * import process, { kill } from 'node:process'; + * + * process.on('SIGHUP', () => { + * console.log('Got SIGHUP signal.'); + * }); + * + * setTimeout(() => { + * console.log('Exiting.'); + * process.exit(0); + * }, 100); + * + * kill(process.pid, 'SIGHUP'); + * ``` + * + * When `SIGUSR1` is received by a Node.js process, Node.js will start the + * debugger. See `Signal Events`. + * @since v0.0.6 + * @param pid A process ID + * @param [signal='SIGTERM'] The signal to send, either as a string or number. + */ + kill(pid: number, signal?: string | number): true; + /** + * The `process.pid` property returns the PID of the process. + * + * ```js + * import { pid } from 'node:process'; + * + * console.log(`This process is pid ${pid}`); + * ``` + * @since v0.1.15 + */ + readonly pid: number; + /** + * The `process.ppid` property returns the PID of the parent of the + * current process. + * + * ```js + * import { ppid } from 'node:process'; + * + * console.log(`The parent process is pid ${ppid}`); + * ``` + * @since v9.2.0, v8.10.0, v6.13.0 + */ + readonly ppid: number; + /** + * The `process.title` property returns the current process title (i.e. returns + * the current value of `ps`). Assigning a new value to `process.title` modifies + * the current value of `ps`. + * + * When a new value is assigned, different platforms will impose different maximum + * length restrictions on the title. Usually such restrictions are quite limited. + * For instance, on Linux and macOS, `process.title` is limited to the size of the + * binary name plus the length of the command-line arguments because setting the`process.title` overwrites the `argv` memory of the process. Node.js v0.8 + * allowed for longer process title strings by also overwriting the `environ`memory but that was potentially insecure and confusing in some (rather obscure) + * cases. + * + * Assigning a value to `process.title` might not result in an accurate label + * within process manager applications such as macOS Activity Monitor or Windows + * Services Manager. + * @since v0.1.104 + */ + title: string; + /** + * The operating system CPU architecture for which the Node.js binary was compiled. + * Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`,`'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, and `'x64'`. + * + * ```js + * import { arch } from 'node:process'; + * + * console.log(`This processor architecture is ${arch}`); + * ``` + * @since v0.5.0 + */ + readonly arch: Architecture; + /** + * The `process.platform` property returns a string identifying the operating + * system platform for which the Node.js binary was compiled. + * + * Currently possible values are: + * + * * `'aix'` + * * `'darwin'` + * * `'freebsd'` + * * `'linux'` + * * `'openbsd'` + * * `'sunos'` + * * `'win32'` + * + * ```js + * import { platform } from 'node:process'; + * + * console.log(`This platform is ${platform}`); + * ``` + * + * The value `'android'` may also be returned if the Node.js is built on the + * Android operating system. However, Android support in Node.js [is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os). + * @since v0.1.16 + */ + readonly platform: Platform; + /** + * The `process.mainModule` property provides an alternative way of retrieving `require.main`. The difference is that if the main module changes at + * runtime, `require.main` may still refer to the original main module in + * modules that were required before the change occurred. Generally, it's + * safe to assume that the two refer to the same module. + * + * As with `require.main`, `process.mainModule` will be `undefined` if there + * is no entry script. + * @since v0.1.17 + * @deprecated Since v14.0.0 - Use `main` instead. + */ + mainModule?: Module | undefined; + memoryUsage: MemoryUsageFn; + /** + * Gets the amount of memory available to the process (in bytes) based on + * limits imposed by the OS. If there is no such constraint, or the constraint + * is unknown, `undefined` is returned. + * + * See [`uv_get_constrained_memory`](https://docs.libuv.org/en/v1.x/misc.html#c.uv_get_constrained_memory) for more + * information. + * @since v19.6.0, v18.15.0 + * @experimental + */ + constrainedMemory(): number | undefined; + /** + * The `process.cpuUsage()` method returns the user and system CPU time usage of + * the current process, in an object with properties `user` and `system`, whose + * values are microsecond values (millionth of a second). These values measure time + * spent in user and system code respectively, and may end up being greater than + * actual elapsed time if multiple CPU cores are performing work for this process. + * + * The result of a previous call to `process.cpuUsage()` can be passed as the + * argument to the function, to get a diff reading. + * + * ```js + * import { cpuUsage } from 'node:process'; + * + * const startUsage = cpuUsage(); + * // { user: 38579, system: 6986 } + * + * // spin the CPU for 500 milliseconds + * const now = Date.now(); + * while (Date.now() - now < 500); + * + * console.log(cpuUsage(startUsage)); + * // { user: 514883, system: 11226 } + * ``` + * @since v6.1.0 + * @param previousValue A previous return value from calling `process.cpuUsage()` + */ + cpuUsage(previousValue?: CpuUsage): CpuUsage; + /** + * `process.nextTick()` adds `callback` to the "next tick queue". This queue is + * fully drained after the current operation on the JavaScript stack runs to + * completion and before the event loop is allowed to continue. It's possible to + * create an infinite loop if one were to recursively call `process.nextTick()`. + * See the [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#process-nexttick) guide for more background. + * + * ```js + * import { nextTick } from 'node:process'; + * + * console.log('start'); + * nextTick(() => { + * console.log('nextTick callback'); + * }); + * console.log('scheduled'); + * // Output: + * // start + * // scheduled + * // nextTick callback + * ``` + * + * This is important when developing APIs in order to give users the opportunity + * to assign event handlers _after_ an object has been constructed but before any + * I/O has occurred: + * + * ```js + * import { nextTick } from 'node:process'; + * + * function MyThing(options) { + * this.setupOptions(options); + * + * nextTick(() => { + * this.startDoingStuff(); + * }); + * } + * + * const thing = new MyThing(); + * thing.getReadyForStuff(); + * + * // thing.startDoingStuff() gets called now, not before. + * ``` + * + * It is very important for APIs to be either 100% synchronous or 100% + * asynchronous. Consider this example: + * + * ```js + * // WARNING! DO NOT USE! BAD UNSAFE HAZARD! + * function maybeSync(arg, cb) { + * if (arg) { + * cb(); + * return; + * } + * + * fs.stat('file', cb); + * } + * ``` + * + * This API is hazardous because in the following case: + * + * ```js + * const maybeTrue = Math.random() > 0.5; + * + * maybeSync(maybeTrue, () => { + * foo(); + * }); + * + * bar(); + * ``` + * + * It is not clear whether `foo()` or `bar()` will be called first. + * + * The following approach is much better: + * + * ```js + * import { nextTick } from 'node:process'; + * + * function definitelyAsync(arg, cb) { + * if (arg) { + * nextTick(cb); + * return; + * } + * + * fs.stat('file', cb); + * } + * ``` + * @since v0.1.26 + * @param args Additional arguments to pass when invoking the `callback` + */ + nextTick(callback: Function, ...args: any[]): void; + /** + * The `process.release` property returns an `Object` containing metadata related + * to the current release, including URLs for the source tarball and headers-only + * tarball. + * + * `process.release` contains the following properties: + * + * ```js + * { + * name: 'node', + * lts: 'Hydrogen', + * sourceUrl: 'https://nodejs.org/download/release/v18.12.0/node-v18.12.0.tar.gz', + * headersUrl: 'https://nodejs.org/download/release/v18.12.0/node-v18.12.0-headers.tar.gz', + * libUrl: 'https://nodejs.org/download/release/v18.12.0/win-x64/node.lib' + * } + * ``` + * + * In custom builds from non-release versions of the source tree, only the`name` property may be present. The additional properties should not be + * relied upon to exist. + * @since v3.0.0 + */ + readonly release: ProcessRelease; + features: { + inspector: boolean; + debug: boolean; + uv: boolean; + ipv6: boolean; + tls_alpn: boolean; + tls_sni: boolean; + tls_ocsp: boolean; + tls: boolean; + }; + /** + * `process.umask()` returns the Node.js process's file mode creation mask. Child + * processes inherit the mask from the parent process. + * @since v0.1.19 + * @deprecated Calling `process.umask()` with no argument causes the process-wide umask to be written twice. This introduces a race condition between threads, and is a potential * + * security vulnerability. There is no safe, cross-platform alternative API. + */ + umask(): number; + /** + * Can only be set if not in worker thread. + */ + umask(mask: string | number): number; + /** + * The `process.uptime()` method returns the number of seconds the current Node.js + * process has been running. + * + * The return value includes fractions of a second. Use `Math.floor()` to get whole + * seconds. + * @since v0.5.0 + */ + uptime(): number; + hrtime: HRTime; + /** + * If Node.js is spawned with an IPC channel, the `process.send()` method can be + * used to send messages to the parent process. Messages will be received as a `'message'` event on the parent's `ChildProcess` object. + * + * If Node.js was not spawned with an IPC channel, `process.send` will be `undefined`. + * + * The message goes through serialization and parsing. The resulting message might + * not be the same as what is originally sent. + * @since v0.5.9 + * @param options used to parameterize the sending of certain types of handles.`options` supports the following properties: + */ + send?( + message: any, + sendHandle?: any, + options?: { + swallowErrors?: boolean | undefined; + }, + callback?: (error: Error | null) => void, + ): boolean; + /** + * If the Node.js process is spawned with an IPC channel (see the `Child Process` and `Cluster` documentation), the `process.disconnect()` method will close the + * IPC channel to the parent process, allowing the child process to exit gracefully + * once there are no other connections keeping it alive. + * + * The effect of calling `process.disconnect()` is the same as calling `ChildProcess.disconnect()` from the parent process. + * + * If the Node.js process was not spawned with an IPC channel,`process.disconnect()` will be `undefined`. + * @since v0.7.2 + */ + disconnect(): void; + /** + * If the Node.js process is spawned with an IPC channel (see the `Child Process` and `Cluster` documentation), the `process.connected` property will return`true` so long as the IPC + * channel is connected and will return `false` after`process.disconnect()` is called. + * + * Once `process.connected` is `false`, it is no longer possible to send messages + * over the IPC channel using `process.send()`. + * @since v0.7.2 + */ + connected: boolean; + /** + * The `process.allowedNodeEnvironmentFlags` property is a special, + * read-only `Set` of flags allowable within the `NODE_OPTIONS` environment variable. + * + * `process.allowedNodeEnvironmentFlags` extends `Set`, but overrides`Set.prototype.has` to recognize several different possible flag + * representations. `process.allowedNodeEnvironmentFlags.has()` will + * return `true` in the following cases: + * + * * Flags may omit leading single (`-`) or double (`--`) dashes; e.g.,`inspect-brk` for `--inspect-brk`, or `r` for `-r`. + * * Flags passed through to V8 (as listed in `--v8-options`) may replace + * one or more _non-leading_ dashes for an underscore, or vice-versa; + * e.g., `--perf_basic_prof`, `--perf-basic-prof`, `--perf_basic-prof`, + * etc. + * * Flags may contain one or more equals (`=`) characters; all + * characters after and including the first equals will be ignored; + * e.g., `--stack-trace-limit=100`. + * * Flags _must_ be allowable within `NODE_OPTIONS`. + * + * When iterating over `process.allowedNodeEnvironmentFlags`, flags will + * appear only _once_; each will begin with one or more dashes. Flags + * passed through to V8 will contain underscores instead of non-leading + * dashes: + * + * ```js + * import { allowedNodeEnvironmentFlags } from 'node:process'; + * + * allowedNodeEnvironmentFlags.forEach((flag) => { + * // -r + * // --inspect-brk + * // --abort_on_uncaught_exception + * // ... + * }); + * ``` + * + * The methods `add()`, `clear()`, and `delete()` of`process.allowedNodeEnvironmentFlags` do nothing, and will fail + * silently. + * + * If Node.js was compiled _without_ `NODE_OPTIONS` support (shown in {@link config}), `process.allowedNodeEnvironmentFlags` will + * contain what _would have_ been allowable. + * @since v10.10.0 + */ + allowedNodeEnvironmentFlags: ReadonlySet; + /** + * `process.report` is an object whose methods are used to generate diagnostic + * reports for the current process. Additional documentation is available in the `report documentation`. + * @since v11.8.0 + */ + report?: ProcessReport | undefined; + /** + * ```js + * import { resourceUsage } from 'node:process'; + * + * console.log(resourceUsage()); + * /* + * Will output: + * { + * userCPUTime: 82872, + * systemCPUTime: 4143, + * maxRSS: 33164, + * sharedMemorySize: 0, + * unsharedDataSize: 0, + * unsharedStackSize: 0, + * minorPageFault: 2469, + * majorPageFault: 0, + * swappedOut: 0, + * fsRead: 0, + * fsWrite: 8, + * ipcSent: 0, + * ipcReceived: 0, + * signalsCount: 0, + * voluntaryContextSwitches: 79, + * involuntaryContextSwitches: 1 + * } + * + * ``` + * @since v12.6.0 + * @return the resource usage for the current process. All of these values come from the `uv_getrusage` call which returns a [`uv_rusage_t` struct][uv_rusage_t]. + */ + resourceUsage(): ResourceUsage; + /** + * The `process.traceDeprecation` property indicates whether the`--trace-deprecation` flag is set on the current Node.js process. See the + * documentation for the `'warning' event` and the `emitWarning() method` for more information about this + * flag's behavior. + * @since v0.8.0 + */ + traceDeprecation: boolean; + /* EventEmitter */ + addListener(event: "beforeExit", listener: BeforeExitListener): this; + addListener(event: "disconnect", listener: DisconnectListener): this; + addListener(event: "exit", listener: ExitListener): this; + addListener(event: "rejectionHandled", listener: RejectionHandledListener): this; + addListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; + addListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; + addListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; + addListener(event: "warning", listener: WarningListener): this; + addListener(event: "message", listener: MessageListener): this; + addListener(event: Signals, listener: SignalsListener): this; + addListener(event: "multipleResolves", listener: MultipleResolveListener): this; + addListener(event: "worker", listener: WorkerListener): this; + emit(event: "beforeExit", code: number): boolean; + emit(event: "disconnect"): boolean; + emit(event: "exit", code: number): boolean; + emit(event: "rejectionHandled", promise: Promise): boolean; + emit(event: "uncaughtException", error: Error): boolean; + emit(event: "uncaughtExceptionMonitor", error: Error): boolean; + emit(event: "unhandledRejection", reason: unknown, promise: Promise): boolean; + emit(event: "warning", warning: Error): boolean; + emit(event: "message", message: unknown, sendHandle: unknown): this; + emit(event: Signals, signal?: Signals): boolean; + emit( + event: "multipleResolves", + type: MultipleResolveType, + promise: Promise, + value: unknown, + ): this; + emit(event: "worker", listener: WorkerListener): this; + on(event: "beforeExit", listener: BeforeExitListener): this; + on(event: "disconnect", listener: DisconnectListener): this; + on(event: "exit", listener: ExitListener): this; + on(event: "rejectionHandled", listener: RejectionHandledListener): this; + on(event: "uncaughtException", listener: UncaughtExceptionListener): this; + on(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; + on(event: "unhandledRejection", listener: UnhandledRejectionListener): this; + on(event: "warning", listener: WarningListener): this; + on(event: "message", listener: MessageListener): this; + on(event: Signals, listener: SignalsListener): this; + on(event: "multipleResolves", listener: MultipleResolveListener): this; + on(event: "worker", listener: WorkerListener): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "beforeExit", listener: BeforeExitListener): this; + once(event: "disconnect", listener: DisconnectListener): this; + once(event: "exit", listener: ExitListener): this; + once(event: "rejectionHandled", listener: RejectionHandledListener): this; + once(event: "uncaughtException", listener: UncaughtExceptionListener): this; + once(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; + once(event: "unhandledRejection", listener: UnhandledRejectionListener): this; + once(event: "warning", listener: WarningListener): this; + once(event: "message", listener: MessageListener): this; + once(event: Signals, listener: SignalsListener): this; + once(event: "multipleResolves", listener: MultipleResolveListener): this; + once(event: "worker", listener: WorkerListener): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "beforeExit", listener: BeforeExitListener): this; + prependListener(event: "disconnect", listener: DisconnectListener): this; + prependListener(event: "exit", listener: ExitListener): this; + prependListener(event: "rejectionHandled", listener: RejectionHandledListener): this; + prependListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; + prependListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; + prependListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; + prependListener(event: "warning", listener: WarningListener): this; + prependListener(event: "message", listener: MessageListener): this; + prependListener(event: Signals, listener: SignalsListener): this; + prependListener(event: "multipleResolves", listener: MultipleResolveListener): this; + prependListener(event: "worker", listener: WorkerListener): this; + prependOnceListener(event: "beforeExit", listener: BeforeExitListener): this; + prependOnceListener(event: "disconnect", listener: DisconnectListener): this; + prependOnceListener(event: "exit", listener: ExitListener): this; + prependOnceListener(event: "rejectionHandled", listener: RejectionHandledListener): this; + prependOnceListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; + prependOnceListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; + prependOnceListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; + prependOnceListener(event: "warning", listener: WarningListener): this; + prependOnceListener(event: "message", listener: MessageListener): this; + prependOnceListener(event: Signals, listener: SignalsListener): this; + prependOnceListener(event: "multipleResolves", listener: MultipleResolveListener): this; + prependOnceListener(event: "worker", listener: WorkerListener): this; + listeners(event: "beforeExit"): BeforeExitListener[]; + listeners(event: "disconnect"): DisconnectListener[]; + listeners(event: "exit"): ExitListener[]; + listeners(event: "rejectionHandled"): RejectionHandledListener[]; + listeners(event: "uncaughtException"): UncaughtExceptionListener[]; + listeners(event: "uncaughtExceptionMonitor"): UncaughtExceptionListener[]; + listeners(event: "unhandledRejection"): UnhandledRejectionListener[]; + listeners(event: "warning"): WarningListener[]; + listeners(event: "message"): MessageListener[]; + listeners(event: Signals): SignalsListener[]; + listeners(event: "multipleResolves"): MultipleResolveListener[]; + listeners(event: "worker"): WorkerListener[]; + } + } + } + export = process; +} +declare module "node:process" { + import process = require("process"); + export = process; +} diff --git a/node_modules/@types/node/ts4.8/punycode.d.ts b/node_modules/@types/node/ts4.8/punycode.d.ts new file mode 100644 index 000000000..d2fc9f9a8 --- /dev/null +++ b/node_modules/@types/node/ts4.8/punycode.d.ts @@ -0,0 +1,117 @@ +/** + * **The version of the punycode module bundled in Node.js is being deprecated.**In a future major version of Node.js this module will be removed. Users + * currently depending on the `punycode` module should switch to using the + * userland-provided [Punycode.js](https://github.com/bestiejs/punycode.js) module instead. For punycode-based URL + * encoding, see `url.domainToASCII` or, more generally, the `WHATWG URL API`. + * + * The `punycode` module is a bundled version of the [Punycode.js](https://github.com/bestiejs/punycode.js) module. It + * can be accessed using: + * + * ```js + * const punycode = require('punycode'); + * ``` + * + * [Punycode](https://tools.ietf.org/html/rfc3492) is a character encoding scheme defined by RFC 3492 that is + * primarily intended for use in Internationalized Domain Names. Because host + * names in URLs are limited to ASCII characters only, Domain Names that contain + * non-ASCII characters must be converted into ASCII using the Punycode scheme. + * For instance, the Japanese character that translates into the English word,`'example'` is `'例'`. The Internationalized Domain Name, `'例.com'` (equivalent + * to `'example.com'`) is represented by Punycode as the ASCII string`'xn--fsq.com'`. + * + * The `punycode` module provides a simple implementation of the Punycode standard. + * + * The `punycode` module is a third-party dependency used by Node.js and + * made available to developers as a convenience. Fixes or other modifications to + * the module must be directed to the [Punycode.js](https://github.com/bestiejs/punycode.js) project. + * @deprecated Since v7.0.0 - Deprecated + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/punycode.js) + */ +declare module "punycode" { + /** + * The `punycode.decode()` method converts a [Punycode](https://tools.ietf.org/html/rfc3492) string of ASCII-only + * characters to the equivalent string of Unicode codepoints. + * + * ```js + * punycode.decode('maana-pta'); // 'mañana' + * punycode.decode('--dqo34k'); // '☃-⌘' + * ``` + * @since v0.5.1 + */ + function decode(string: string): string; + /** + * The `punycode.encode()` method converts a string of Unicode codepoints to a [Punycode](https://tools.ietf.org/html/rfc3492) string of ASCII-only characters. + * + * ```js + * punycode.encode('mañana'); // 'maana-pta' + * punycode.encode('☃-⌘'); // '--dqo34k' + * ``` + * @since v0.5.1 + */ + function encode(string: string): string; + /** + * The `punycode.toUnicode()` method converts a string representing a domain name + * containing [Punycode](https://tools.ietf.org/html/rfc3492) encoded characters into Unicode. Only the [Punycode](https://tools.ietf.org/html/rfc3492) encoded parts of the domain name are be + * converted. + * + * ```js + * // decode domain names + * punycode.toUnicode('xn--maana-pta.com'); // 'mañana.com' + * punycode.toUnicode('xn----dqo34k.com'); // '☃-⌘.com' + * punycode.toUnicode('example.com'); // 'example.com' + * ``` + * @since v0.6.1 + */ + function toUnicode(domain: string): string; + /** + * The `punycode.toASCII()` method converts a Unicode string representing an + * Internationalized Domain Name to [Punycode](https://tools.ietf.org/html/rfc3492). Only the non-ASCII parts of the + * domain name will be converted. Calling `punycode.toASCII()` on a string that + * already only contains ASCII characters will have no effect. + * + * ```js + * // encode domain names + * punycode.toASCII('mañana.com'); // 'xn--maana-pta.com' + * punycode.toASCII('☃-⌘.com'); // 'xn----dqo34k.com' + * punycode.toASCII('example.com'); // 'example.com' + * ``` + * @since v0.6.1 + */ + function toASCII(domain: string): string; + /** + * @deprecated since v7.0.0 + * The version of the punycode module bundled in Node.js is being deprecated. + * In a future major version of Node.js this module will be removed. + * Users currently depending on the punycode module should switch to using + * the userland-provided Punycode.js module instead. + */ + const ucs2: ucs2; + interface ucs2 { + /** + * @deprecated since v7.0.0 + * The version of the punycode module bundled in Node.js is being deprecated. + * In a future major version of Node.js this module will be removed. + * Users currently depending on the punycode module should switch to using + * the userland-provided Punycode.js module instead. + */ + decode(string: string): number[]; + /** + * @deprecated since v7.0.0 + * The version of the punycode module bundled in Node.js is being deprecated. + * In a future major version of Node.js this module will be removed. + * Users currently depending on the punycode module should switch to using + * the userland-provided Punycode.js module instead. + */ + encode(codePoints: readonly number[]): string; + } + /** + * @deprecated since v7.0.0 + * The version of the punycode module bundled in Node.js is being deprecated. + * In a future major version of Node.js this module will be removed. + * Users currently depending on the punycode module should switch to using + * the userland-provided Punycode.js module instead. + */ + const version: string; +} +declare module "node:punycode" { + export * from "punycode"; +} diff --git a/node_modules/@types/node/ts4.8/querystring.d.ts b/node_modules/@types/node/ts4.8/querystring.d.ts new file mode 100644 index 000000000..54ecc967f --- /dev/null +++ b/node_modules/@types/node/ts4.8/querystring.d.ts @@ -0,0 +1,141 @@ +/** + * The `node:querystring` module provides utilities for parsing and formatting URL + * query strings. It can be accessed using: + * + * ```js + * const querystring = require('node:querystring'); + * ``` + * + * `querystring` is more performant than `URLSearchParams` but is not a + * standardized API. Use `URLSearchParams` when performance is not critical or + * when compatibility with browser code is desirable. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/querystring.js) + */ +declare module "querystring" { + interface StringifyOptions { + encodeURIComponent?: ((str: string) => string) | undefined; + } + interface ParseOptions { + maxKeys?: number | undefined; + decodeURIComponent?: ((str: string) => string) | undefined; + } + interface ParsedUrlQuery extends NodeJS.Dict {} + interface ParsedUrlQueryInput extends + NodeJS.Dict< + | string + | number + | boolean + | readonly string[] + | readonly number[] + | readonly boolean[] + | null + > + {} + /** + * The `querystring.stringify()` method produces a URL query string from a + * given `obj` by iterating through the object's "own properties". + * + * It serializes the following types of values passed in `obj`:[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | + * [number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) | + * [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) | + * [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | + * [string\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | + * [number\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) | + * [bigint\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) | + * [boolean\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) The numeric values must be finite. Any other input values will be coerced to + * empty strings. + * + * ```js + * querystring.stringify({ foo: 'bar', baz: ['qux', 'quux'], corge: '' }); + * // Returns 'foo=bar&baz=qux&baz=quux&corge=' + * + * querystring.stringify({ foo: 'bar', baz: 'qux' }, ';', ':'); + * // Returns 'foo:bar;baz:qux' + * ``` + * + * By default, characters requiring percent-encoding within the query string will + * be encoded as UTF-8\. If an alternative encoding is required, then an alternative`encodeURIComponent` option will need to be specified: + * + * ```js + * // Assuming gbkEncodeURIComponent function already exists, + * + * querystring.stringify({ w: '中文', foo: 'bar' }, null, null, + * { encodeURIComponent: gbkEncodeURIComponent }); + * ``` + * @since v0.1.25 + * @param obj The object to serialize into a URL query string + * @param [sep='&'] The substring used to delimit key and value pairs in the query string. + * @param [eq='='] . The substring used to delimit keys and values in the query string. + */ + function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string; + /** + * The `querystring.parse()` method parses a URL query string (`str`) into a + * collection of key and value pairs. + * + * For example, the query string `'foo=bar&abc=xyz&abc=123'` is parsed into: + * + * ```js + * { + * foo: 'bar', + * abc: ['xyz', '123'] + * } + * ``` + * + * The object returned by the `querystring.parse()` method _does not_prototypically inherit from the JavaScript `Object`. This means that typical`Object` methods such as `obj.toString()`, + * `obj.hasOwnProperty()`, and others + * are not defined and _will not work_. + * + * By default, percent-encoded characters within the query string will be assumed + * to use UTF-8 encoding. If an alternative character encoding is used, then an + * alternative `decodeURIComponent` option will need to be specified: + * + * ```js + * // Assuming gbkDecodeURIComponent function already exists... + * + * querystring.parse('w=%D6%D0%CE%C4&foo=bar', null, null, + * { decodeURIComponent: gbkDecodeURIComponent }); + * ``` + * @since v0.1.25 + * @param str The URL query string to parse + * @param [sep='&'] The substring used to delimit key and value pairs in the query string. + * @param [eq='='] . The substring used to delimit keys and values in the query string. + */ + function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery; + /** + * The querystring.encode() function is an alias for querystring.stringify(). + */ + const encode: typeof stringify; + /** + * The querystring.decode() function is an alias for querystring.parse(). + */ + const decode: typeof parse; + /** + * The `querystring.escape()` method performs URL percent-encoding on the given`str` in a manner that is optimized for the specific requirements of URL + * query strings. + * + * The `querystring.escape()` method is used by `querystring.stringify()` and is + * generally not expected to be used directly. It is exported primarily to allow + * application code to provide a replacement percent-encoding implementation if + * necessary by assigning `querystring.escape` to an alternative function. + * @since v0.1.25 + */ + function escape(str: string): string; + /** + * The `querystring.unescape()` method performs decoding of URL percent-encoded + * characters on the given `str`. + * + * The `querystring.unescape()` method is used by `querystring.parse()` and is + * generally not expected to be used directly. It is exported primarily to allow + * application code to provide a replacement decoding implementation if + * necessary by assigning `querystring.unescape` to an alternative function. + * + * By default, the `querystring.unescape()` method will attempt to use the + * JavaScript built-in `decodeURIComponent()` method to decode. If that fails, + * a safer equivalent that does not throw on malformed URLs will be used. + * @since v0.1.25 + */ + function unescape(str: string): string; +} +declare module "node:querystring" { + export * from "querystring"; +} diff --git a/node_modules/@types/node/ts4.8/readline.d.ts b/node_modules/@types/node/ts4.8/readline.d.ts new file mode 100644 index 000000000..b06d58b85 --- /dev/null +++ b/node_modules/@types/node/ts4.8/readline.d.ts @@ -0,0 +1,539 @@ +/** + * The `node:readline` module provides an interface for reading data from a `Readable` stream (such as `process.stdin`) one line at a time. + * + * To use the promise-based APIs: + * + * ```js + * import * as readline from 'node:readline/promises'; + * ``` + * + * To use the callback and sync APIs: + * + * ```js + * import * as readline from 'node:readline'; + * ``` + * + * The following simple example illustrates the basic use of the `node:readline`module. + * + * ```js + * import * as readline from 'node:readline/promises'; + * import { stdin as input, stdout as output } from 'node:process'; + * + * const rl = readline.createInterface({ input, output }); + * + * const answer = await rl.question('What do you think of Node.js? '); + * + * console.log(`Thank you for your valuable feedback: ${answer}`); + * + * rl.close(); + * ``` + * + * Once this code is invoked, the Node.js application will not terminate until the`readline.Interface` is closed because the interface waits for data to be + * received on the `input` stream. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/readline.js) + */ +declare module "readline" { + import { Abortable, EventEmitter } from "node:events"; + import * as promises from "node:readline/promises"; + export { promises }; + export interface Key { + sequence?: string | undefined; + name?: string | undefined; + ctrl?: boolean | undefined; + meta?: boolean | undefined; + shift?: boolean | undefined; + } + /** + * Instances of the `readline.Interface` class are constructed using the`readline.createInterface()` method. Every instance is associated with a + * single `input` `Readable` stream and a single `output` `Writable` stream. + * The `output` stream is used to print prompts for user input that arrives on, + * and is read from, the `input` stream. + * @since v0.1.104 + */ + export class Interface extends EventEmitter { + readonly terminal: boolean; + /** + * The current input data being processed by node. + * + * This can be used when collecting input from a TTY stream to retrieve the + * current value that has been processed thus far, prior to the `line` event + * being emitted. Once the `line` event has been emitted, this property will + * be an empty string. + * + * Be aware that modifying the value during the instance runtime may have + * unintended consequences if `rl.cursor` is not also controlled. + * + * **If not using a TTY stream for input, use the `'line'` event.** + * + * One possible use case would be as follows: + * + * ```js + * const values = ['lorem ipsum', 'dolor sit amet']; + * const rl = readline.createInterface(process.stdin); + * const showResults = debounce(() => { + * console.log( + * '\n', + * values.filter((val) => val.startsWith(rl.line)).join(' '), + * ); + * }, 300); + * process.stdin.on('keypress', (c, k) => { + * showResults(); + * }); + * ``` + * @since v0.1.98 + */ + readonly line: string; + /** + * The cursor position relative to `rl.line`. + * + * This will track where the current cursor lands in the input string, when + * reading input from a TTY stream. The position of cursor determines the + * portion of the input string that will be modified as input is processed, + * as well as the column where the terminal caret will be rendered. + * @since v0.1.98 + */ + readonly cursor: number; + /** + * NOTE: According to the documentation: + * + * > Instances of the `readline.Interface` class are constructed using the + * > `readline.createInterface()` method. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#class-interfaceconstructor + */ + protected constructor( + input: NodeJS.ReadableStream, + output?: NodeJS.WritableStream, + completer?: Completer | AsyncCompleter, + terminal?: boolean, + ); + /** + * NOTE: According to the documentation: + * + * > Instances of the `readline.Interface` class are constructed using the + * > `readline.createInterface()` method. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#class-interfaceconstructor + */ + protected constructor(options: ReadLineOptions); + /** + * The `rl.getPrompt()` method returns the current prompt used by `rl.prompt()`. + * @since v15.3.0, v14.17.0 + * @return the current prompt string + */ + getPrompt(): string; + /** + * The `rl.setPrompt()` method sets the prompt that will be written to `output`whenever `rl.prompt()` is called. + * @since v0.1.98 + */ + setPrompt(prompt: string): void; + /** + * The `rl.prompt()` method writes the `Interface` instances configured`prompt` to a new line in `output` in order to provide a user with a new + * location at which to provide input. + * + * When called, `rl.prompt()` will resume the `input` stream if it has been + * paused. + * + * If the `Interface` was created with `output` set to `null` or`undefined` the prompt is not written. + * @since v0.1.98 + * @param preserveCursor If `true`, prevents the cursor placement from being reset to `0`. + */ + prompt(preserveCursor?: boolean): void; + /** + * The `rl.question()` method displays the `query` by writing it to the `output`, + * waits for user input to be provided on `input`, then invokes the `callback`function passing the provided input as the first argument. + * + * When called, `rl.question()` will resume the `input` stream if it has been + * paused. + * + * If the `Interface` was created with `output` set to `null` or`undefined` the `query` is not written. + * + * The `callback` function passed to `rl.question()` does not follow the typical + * pattern of accepting an `Error` object or `null` as the first argument. + * The `callback` is called with the provided answer as the only argument. + * + * An error will be thrown if calling `rl.question()` after `rl.close()`. + * + * Example usage: + * + * ```js + * rl.question('What is your favorite food? ', (answer) => { + * console.log(`Oh, so your favorite food is ${answer}`); + * }); + * ``` + * + * Using an `AbortController` to cancel a question. + * + * ```js + * const ac = new AbortController(); + * const signal = ac.signal; + * + * rl.question('What is your favorite food? ', { signal }, (answer) => { + * console.log(`Oh, so your favorite food is ${answer}`); + * }); + * + * signal.addEventListener('abort', () => { + * console.log('The food question timed out'); + * }, { once: true }); + * + * setTimeout(() => ac.abort(), 10000); + * ``` + * @since v0.3.3 + * @param query A statement or query to write to `output`, prepended to the prompt. + * @param callback A callback function that is invoked with the user's input in response to the `query`. + */ + question(query: string, callback: (answer: string) => void): void; + question(query: string, options: Abortable, callback: (answer: string) => void): void; + /** + * The `rl.pause()` method pauses the `input` stream, allowing it to be resumed + * later if necessary. + * + * Calling `rl.pause()` does not immediately pause other events (including`'line'`) from being emitted by the `Interface` instance. + * @since v0.3.4 + */ + pause(): this; + /** + * The `rl.resume()` method resumes the `input` stream if it has been paused. + * @since v0.3.4 + */ + resume(): this; + /** + * The `rl.close()` method closes the `Interface` instance and + * relinquishes control over the `input` and `output` streams. When called, + * the `'close'` event will be emitted. + * + * Calling `rl.close()` does not immediately stop other events (including `'line'`) + * from being emitted by the `Interface` instance. + * @since v0.1.98 + */ + close(): void; + /** + * The `rl.write()` method will write either `data` or a key sequence identified + * by `key` to the `output`. The `key` argument is supported only if `output` is + * a `TTY` text terminal. See `TTY keybindings` for a list of key + * combinations. + * + * If `key` is specified, `data` is ignored. + * + * When called, `rl.write()` will resume the `input` stream if it has been + * paused. + * + * If the `Interface` was created with `output` set to `null` or`undefined` the `data` and `key` are not written. + * + * ```js + * rl.write('Delete this!'); + * // Simulate Ctrl+U to delete the line written previously + * rl.write(null, { ctrl: true, name: 'u' }); + * ``` + * + * The `rl.write()` method will write the data to the `readline` `Interface`'s`input`_as if it were provided by the user_. + * @since v0.1.98 + */ + write(data: string | Buffer, key?: Key): void; + write(data: undefined | null | string | Buffer, key: Key): void; + /** + * Returns the real position of the cursor in relation to the input + * prompt + string. Long input (wrapping) strings, as well as multiple + * line prompts are included in the calculations. + * @since v13.5.0, v12.16.0 + */ + getCursorPos(): CursorPos; + /** + * events.EventEmitter + * 1. close + * 2. line + * 3. pause + * 4. resume + * 5. SIGCONT + * 6. SIGINT + * 7. SIGTSTP + * 8. history + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "line", listener: (input: string) => void): this; + addListener(event: "pause", listener: () => void): this; + addListener(event: "resume", listener: () => void): this; + addListener(event: "SIGCONT", listener: () => void): this; + addListener(event: "SIGINT", listener: () => void): this; + addListener(event: "SIGTSTP", listener: () => void): this; + addListener(event: "history", listener: (history: string[]) => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "close"): boolean; + emit(event: "line", input: string): boolean; + emit(event: "pause"): boolean; + emit(event: "resume"): boolean; + emit(event: "SIGCONT"): boolean; + emit(event: "SIGINT"): boolean; + emit(event: "SIGTSTP"): boolean; + emit(event: "history", history: string[]): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "close", listener: () => void): this; + on(event: "line", listener: (input: string) => void): this; + on(event: "pause", listener: () => void): this; + on(event: "resume", listener: () => void): this; + on(event: "SIGCONT", listener: () => void): this; + on(event: "SIGINT", listener: () => void): this; + on(event: "SIGTSTP", listener: () => void): this; + on(event: "history", listener: (history: string[]) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "line", listener: (input: string) => void): this; + once(event: "pause", listener: () => void): this; + once(event: "resume", listener: () => void): this; + once(event: "SIGCONT", listener: () => void): this; + once(event: "SIGINT", listener: () => void): this; + once(event: "SIGTSTP", listener: () => void): this; + once(event: "history", listener: (history: string[]) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "line", listener: (input: string) => void): this; + prependListener(event: "pause", listener: () => void): this; + prependListener(event: "resume", listener: () => void): this; + prependListener(event: "SIGCONT", listener: () => void): this; + prependListener(event: "SIGINT", listener: () => void): this; + prependListener(event: "SIGTSTP", listener: () => void): this; + prependListener(event: "history", listener: (history: string[]) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "line", listener: (input: string) => void): this; + prependOnceListener(event: "pause", listener: () => void): this; + prependOnceListener(event: "resume", listener: () => void): this; + prependOnceListener(event: "SIGCONT", listener: () => void): this; + prependOnceListener(event: "SIGINT", listener: () => void): this; + prependOnceListener(event: "SIGTSTP", listener: () => void): this; + prependOnceListener(event: "history", listener: (history: string[]) => void): this; + [Symbol.asyncIterator](): AsyncIterableIterator; + } + export type ReadLine = Interface; // type forwarded for backwards compatibility + export type Completer = (line: string) => CompleterResult; + export type AsyncCompleter = ( + line: string, + callback: (err?: null | Error, result?: CompleterResult) => void, + ) => void; + export type CompleterResult = [string[], string]; + export interface ReadLineOptions { + input: NodeJS.ReadableStream; + output?: NodeJS.WritableStream | undefined; + completer?: Completer | AsyncCompleter | undefined; + terminal?: boolean | undefined; + /** + * Initial list of history lines. This option makes sense + * only if `terminal` is set to `true` by the user or by an internal `output` + * check, otherwise the history caching mechanism is not initialized at all. + * @default [] + */ + history?: string[] | undefined; + historySize?: number | undefined; + prompt?: string | undefined; + crlfDelay?: number | undefined; + /** + * If `true`, when a new input line added + * to the history list duplicates an older one, this removes the older line + * from the list. + * @default false + */ + removeHistoryDuplicates?: boolean | undefined; + escapeCodeTimeout?: number | undefined; + tabSize?: number | undefined; + } + /** + * The `readline.createInterface()` method creates a new `readline.Interface`instance. + * + * ```js + * const readline = require('node:readline'); + * const rl = readline.createInterface({ + * input: process.stdin, + * output: process.stdout, + * }); + * ``` + * + * Once the `readline.Interface` instance is created, the most common case is to + * listen for the `'line'` event: + * + * ```js + * rl.on('line', (line) => { + * console.log(`Received: ${line}`); + * }); + * ``` + * + * If `terminal` is `true` for this instance then the `output` stream will get + * the best compatibility if it defines an `output.columns` property and emits + * a `'resize'` event on the `output` if or when the columns ever change + * (`process.stdout` does this automatically when it is a TTY). + * + * When creating a `readline.Interface` using `stdin` as input, the program + * will not terminate until it receives an [EOF character](https://en.wikipedia.org/wiki/End-of-file#EOF_character). To exit without + * waiting for user input, call `process.stdin.unref()`. + * @since v0.1.98 + */ + export function createInterface( + input: NodeJS.ReadableStream, + output?: NodeJS.WritableStream, + completer?: Completer | AsyncCompleter, + terminal?: boolean, + ): Interface; + export function createInterface(options: ReadLineOptions): Interface; + /** + * The `readline.emitKeypressEvents()` method causes the given `Readable` stream to begin emitting `'keypress'` events corresponding to received input. + * + * Optionally, `interface` specifies a `readline.Interface` instance for which + * autocompletion is disabled when copy-pasted input is detected. + * + * If the `stream` is a `TTY`, then it must be in raw mode. + * + * This is automatically called by any readline instance on its `input` if the`input` is a terminal. Closing the `readline` instance does not stop + * the `input` from emitting `'keypress'` events. + * + * ```js + * readline.emitKeypressEvents(process.stdin); + * if (process.stdin.isTTY) + * process.stdin.setRawMode(true); + * ``` + * + * ## Example: Tiny CLI + * + * The following example illustrates the use of `readline.Interface` class to + * implement a small command-line interface: + * + * ```js + * const readline = require('node:readline'); + * const rl = readline.createInterface({ + * input: process.stdin, + * output: process.stdout, + * prompt: 'OHAI> ', + * }); + * + * rl.prompt(); + * + * rl.on('line', (line) => { + * switch (line.trim()) { + * case 'hello': + * console.log('world!'); + * break; + * default: + * console.log(`Say what? I might have heard '${line.trim()}'`); + * break; + * } + * rl.prompt(); + * }).on('close', () => { + * console.log('Have a great day!'); + * process.exit(0); + * }); + * ``` + * + * ## Example: Read file stream line-by-Line + * + * A common use case for `readline` is to consume an input file one line at a + * time. The easiest way to do so is leveraging the `fs.ReadStream` API as + * well as a `for await...of` loop: + * + * ```js + * const fs = require('node:fs'); + * const readline = require('node:readline'); + * + * async function processLineByLine() { + * const fileStream = fs.createReadStream('input.txt'); + * + * const rl = readline.createInterface({ + * input: fileStream, + * crlfDelay: Infinity, + * }); + * // Note: we use the crlfDelay option to recognize all instances of CR LF + * // ('\r\n') in input.txt as a single line break. + * + * for await (const line of rl) { + * // Each line in input.txt will be successively available here as `line`. + * console.log(`Line from file: ${line}`); + * } + * } + * + * processLineByLine(); + * ``` + * + * Alternatively, one could use the `'line'` event: + * + * ```js + * const fs = require('node:fs'); + * const readline = require('node:readline'); + * + * const rl = readline.createInterface({ + * input: fs.createReadStream('sample.txt'), + * crlfDelay: Infinity, + * }); + * + * rl.on('line', (line) => { + * console.log(`Line from file: ${line}`); + * }); + * ``` + * + * Currently, `for await...of` loop can be a bit slower. If `async` / `await`flow and speed are both essential, a mixed approach can be applied: + * + * ```js + * const { once } = require('node:events'); + * const { createReadStream } = require('node:fs'); + * const { createInterface } = require('node:readline'); + * + * (async function processLineByLine() { + * try { + * const rl = createInterface({ + * input: createReadStream('big-file.txt'), + * crlfDelay: Infinity, + * }); + * + * rl.on('line', (line) => { + * // Process the line. + * }); + * + * await once(rl, 'close'); + * + * console.log('File processed.'); + * } catch (err) { + * console.error(err); + * } + * })(); + * ``` + * @since v0.7.7 + */ + export function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void; + export type Direction = -1 | 0 | 1; + export interface CursorPos { + rows: number; + cols: number; + } + /** + * The `readline.clearLine()` method clears current line of given `TTY` stream + * in a specified direction identified by `dir`. + * @since v0.7.7 + * @param callback Invoked once the operation completes. + * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. + */ + export function clearLine(stream: NodeJS.WritableStream, dir: Direction, callback?: () => void): boolean; + /** + * The `readline.clearScreenDown()` method clears the given `TTY` stream from + * the current position of the cursor down. + * @since v0.7.7 + * @param callback Invoked once the operation completes. + * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. + */ + export function clearScreenDown(stream: NodeJS.WritableStream, callback?: () => void): boolean; + /** + * The `readline.cursorTo()` method moves cursor to the specified position in a + * given `TTY` `stream`. + * @since v0.7.7 + * @param callback Invoked once the operation completes. + * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. + */ + export function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number, callback?: () => void): boolean; + /** + * The `readline.moveCursor()` method moves the cursor _relative_ to its current + * position in a given `TTY` `stream`. + * @since v0.7.7 + * @param callback Invoked once the operation completes. + * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. + */ + export function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean; +} +declare module "node:readline" { + export * from "readline"; +} diff --git a/node_modules/@types/node/ts4.8/readline/promises.d.ts b/node_modules/@types/node/ts4.8/readline/promises.d.ts new file mode 100644 index 000000000..73fb1115d --- /dev/null +++ b/node_modules/@types/node/ts4.8/readline/promises.d.ts @@ -0,0 +1,150 @@ +/** + * @since v17.0.0 + * @experimental + */ +declare module "readline/promises" { + import { AsyncCompleter, Completer, Direction, Interface as _Interface, ReadLineOptions } from "node:readline"; + import { Abortable } from "node:events"; + /** + * Instances of the `readlinePromises.Interface` class are constructed using the`readlinePromises.createInterface()` method. Every instance is associated with a + * single `input` `Readable` stream and a single `output` `Writable` stream. + * The `output` stream is used to print prompts for user input that arrives on, + * and is read from, the `input` stream. + * @since v17.0.0 + */ + class Interface extends _Interface { + /** + * The `rl.question()` method displays the `query` by writing it to the `output`, + * waits for user input to be provided on `input`, then invokes the `callback`function passing the provided input as the first argument. + * + * When called, `rl.question()` will resume the `input` stream if it has been + * paused. + * + * If the `Interface` was created with `output` set to `null` or`undefined` the `query` is not written. + * + * If the question is called after `rl.close()`, it returns a rejected promise. + * + * Example usage: + * + * ```js + * const answer = await rl.question('What is your favorite food? '); + * console.log(`Oh, so your favorite food is ${answer}`); + * ``` + * + * Using an `AbortSignal` to cancel a question. + * + * ```js + * const signal = AbortSignal.timeout(10_000); + * + * signal.addEventListener('abort', () => { + * console.log('The food question timed out'); + * }, { once: true }); + * + * const answer = await rl.question('What is your favorite food? ', { signal }); + * console.log(`Oh, so your favorite food is ${answer}`); + * ``` + * @since v17.0.0 + * @param query A statement or query to write to `output`, prepended to the prompt. + * @return A promise that is fulfilled with the user's input in response to the `query`. + */ + question(query: string): Promise; + question(query: string, options: Abortable): Promise; + } + /** + * @since v17.0.0 + */ + class Readline { + /** + * @param stream A TTY stream. + */ + constructor( + stream: NodeJS.WritableStream, + options?: { + autoCommit?: boolean; + }, + ); + /** + * The `rl.clearLine()` method adds to the internal list of pending action an + * action that clears current line of the associated `stream` in a specified + * direction identified by `dir`. + * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. + * @since v17.0.0 + * @return this + */ + clearLine(dir: Direction): this; + /** + * The `rl.clearScreenDown()` method adds to the internal list of pending action an + * action that clears the associated stream from the current position of the + * cursor down. + * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. + * @since v17.0.0 + * @return this + */ + clearScreenDown(): this; + /** + * The `rl.commit()` method sends all the pending actions to the associated`stream` and clears the internal list of pending actions. + * @since v17.0.0 + */ + commit(): Promise; + /** + * The `rl.cursorTo()` method adds to the internal list of pending action an action + * that moves cursor to the specified position in the associated `stream`. + * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. + * @since v17.0.0 + * @return this + */ + cursorTo(x: number, y?: number): this; + /** + * The `rl.moveCursor()` method adds to the internal list of pending action an + * action that moves the cursor _relative_ to its current position in the + * associated `stream`. + * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor. + * @since v17.0.0 + * @return this + */ + moveCursor(dx: number, dy: number): this; + /** + * The `rl.rollback` methods clears the internal list of pending actions without + * sending it to the associated `stream`. + * @since v17.0.0 + * @return this + */ + rollback(): this; + } + /** + * The `readlinePromises.createInterface()` method creates a new `readlinePromises.Interface`instance. + * + * ```js + * const readlinePromises = require('node:readline/promises'); + * const rl = readlinePromises.createInterface({ + * input: process.stdin, + * output: process.stdout, + * }); + * ``` + * + * Once the `readlinePromises.Interface` instance is created, the most common case + * is to listen for the `'line'` event: + * + * ```js + * rl.on('line', (line) => { + * console.log(`Received: ${line}`); + * }); + * ``` + * + * If `terminal` is `true` for this instance then the `output` stream will get + * the best compatibility if it defines an `output.columns` property and emits + * a `'resize'` event on the `output` if or when the columns ever change + * (`process.stdout` does this automatically when it is a TTY). + * @since v17.0.0 + */ + function createInterface( + input: NodeJS.ReadableStream, + output?: NodeJS.WritableStream, + completer?: Completer | AsyncCompleter, + terminal?: boolean, + ): Interface; + function createInterface(options: ReadLineOptions): Interface; +} +declare module "node:readline/promises" { + export * from "readline/promises"; +} diff --git a/node_modules/@types/node/ts4.8/repl.d.ts b/node_modules/@types/node/ts4.8/repl.d.ts new file mode 100644 index 000000000..6c5f81b39 --- /dev/null +++ b/node_modules/@types/node/ts4.8/repl.d.ts @@ -0,0 +1,430 @@ +/** + * The `node:repl` module provides a Read-Eval-Print-Loop (REPL) implementation + * that is available both as a standalone program or includible in other + * applications. It can be accessed using: + * + * ```js + * const repl = require('node:repl'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/repl.js) + */ +declare module "repl" { + import { AsyncCompleter, Completer, Interface } from "node:readline"; + import { Context } from "node:vm"; + import { InspectOptions } from "node:util"; + interface ReplOptions { + /** + * The input prompt to display. + * @default "> " + */ + prompt?: string | undefined; + /** + * The `Readable` stream from which REPL input will be read. + * @default process.stdin + */ + input?: NodeJS.ReadableStream | undefined; + /** + * The `Writable` stream to which REPL output will be written. + * @default process.stdout + */ + output?: NodeJS.WritableStream | undefined; + /** + * If `true`, specifies that the output should be treated as a TTY terminal, and have + * ANSI/VT100 escape codes written to it. + * Default: checking the value of the `isTTY` property on the output stream upon + * instantiation. + */ + terminal?: boolean | undefined; + /** + * The function to be used when evaluating each given line of input. + * Default: an async wrapper for the JavaScript `eval()` function. An `eval` function can + * error with `repl.Recoverable` to indicate the input was incomplete and prompt for + * additional lines. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_default_evaluation + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_custom_evaluation_functions + */ + eval?: REPLEval | undefined; + /** + * Defines if the repl prints output previews or not. + * @default `true` Always `false` in case `terminal` is falsy. + */ + preview?: boolean | undefined; + /** + * If `true`, specifies that the default `writer` function should include ANSI color + * styling to REPL output. If a custom `writer` function is provided then this has no + * effect. + * Default: the REPL instance's `terminal` value. + */ + useColors?: boolean | undefined; + /** + * If `true`, specifies that the default evaluation function will use the JavaScript + * `global` as the context as opposed to creating a new separate context for the REPL + * instance. The node CLI REPL sets this value to `true`. + * Default: `false`. + */ + useGlobal?: boolean | undefined; + /** + * If `true`, specifies that the default writer will not output the return value of a + * command if it evaluates to `undefined`. + * Default: `false`. + */ + ignoreUndefined?: boolean | undefined; + /** + * The function to invoke to format the output of each command before writing to `output`. + * Default: a wrapper for `util.inspect`. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_customizing_repl_output + */ + writer?: REPLWriter | undefined; + /** + * An optional function used for custom Tab auto completion. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#readline_use_of_the_completer_function + */ + completer?: Completer | AsyncCompleter | undefined; + /** + * A flag that specifies whether the default evaluator executes all JavaScript commands in + * strict mode or default (sloppy) mode. + * Accepted values are: + * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode. + * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to + * prefacing every repl statement with `'use strict'`. + */ + replMode?: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT | undefined; + /** + * Stop evaluating the current piece of code when `SIGINT` is received, i.e. `Ctrl+C` is + * pressed. This cannot be used together with a custom `eval` function. + * Default: `false`. + */ + breakEvalOnSigint?: boolean | undefined; + } + type REPLEval = ( + this: REPLServer, + evalCmd: string, + context: Context, + file: string, + cb: (err: Error | null, result: any) => void, + ) => void; + type REPLWriter = (this: REPLServer, obj: any) => string; + /** + * This is the default "writer" value, if none is passed in the REPL options, + * and it can be overridden by custom print functions. + */ + const writer: REPLWriter & { + options: InspectOptions; + }; + type REPLCommandAction = (this: REPLServer, text: string) => void; + interface REPLCommand { + /** + * Help text to be displayed when `.help` is entered. + */ + help?: string | undefined; + /** + * The function to execute, optionally accepting a single string argument. + */ + action: REPLCommandAction; + } + /** + * Instances of `repl.REPLServer` are created using the {@link start} method + * or directly using the JavaScript `new` keyword. + * + * ```js + * const repl = require('node:repl'); + * + * const options = { useColors: true }; + * + * const firstInstance = repl.start(options); + * const secondInstance = new repl.REPLServer(options); + * ``` + * @since v0.1.91 + */ + class REPLServer extends Interface { + /** + * The `vm.Context` provided to the `eval` function to be used for JavaScript + * evaluation. + */ + readonly context: Context; + /** + * @deprecated since v14.3.0 - Use `input` instead. + */ + readonly inputStream: NodeJS.ReadableStream; + /** + * @deprecated since v14.3.0 - Use `output` instead. + */ + readonly outputStream: NodeJS.WritableStream; + /** + * The `Readable` stream from which REPL input will be read. + */ + readonly input: NodeJS.ReadableStream; + /** + * The `Writable` stream to which REPL output will be written. + */ + readonly output: NodeJS.WritableStream; + /** + * The commands registered via `replServer.defineCommand()`. + */ + readonly commands: NodeJS.ReadOnlyDict; + /** + * A value indicating whether the REPL is currently in "editor mode". + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_commands_and_special_keys + */ + readonly editorMode: boolean; + /** + * A value indicating whether the `_` variable has been assigned. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable + */ + readonly underscoreAssigned: boolean; + /** + * The last evaluation result from the REPL (assigned to the `_` variable inside of the REPL). + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable + */ + readonly last: any; + /** + * A value indicating whether the `_error` variable has been assigned. + * + * @since v9.8.0 + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable + */ + readonly underscoreErrAssigned: boolean; + /** + * The last error raised inside the REPL (assigned to the `_error` variable inside of the REPL). + * + * @since v9.8.0 + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable + */ + readonly lastError: any; + /** + * Specified in the REPL options, this is the function to be used when evaluating each + * given line of input. If not specified in the REPL options, this is an async wrapper + * for the JavaScript `eval()` function. + */ + readonly eval: REPLEval; + /** + * Specified in the REPL options, this is a value indicating whether the default + * `writer` function should include ANSI color styling to REPL output. + */ + readonly useColors: boolean; + /** + * Specified in the REPL options, this is a value indicating whether the default `eval` + * function will use the JavaScript `global` as the context as opposed to creating a new + * separate context for the REPL instance. + */ + readonly useGlobal: boolean; + /** + * Specified in the REPL options, this is a value indicating whether the default `writer` + * function should output the result of a command if it evaluates to `undefined`. + */ + readonly ignoreUndefined: boolean; + /** + * Specified in the REPL options, this is the function to invoke to format the output of + * each command before writing to `outputStream`. If not specified in the REPL options, + * this will be a wrapper for `util.inspect`. + */ + readonly writer: REPLWriter; + /** + * Specified in the REPL options, this is the function to use for custom Tab auto-completion. + */ + readonly completer: Completer | AsyncCompleter; + /** + * Specified in the REPL options, this is a flag that specifies whether the default `eval` + * function should execute all JavaScript commands in strict mode or default (sloppy) mode. + * Possible values are: + * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode. + * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to + * prefacing every repl statement with `'use strict'`. + */ + readonly replMode: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT; + /** + * NOTE: According to the documentation: + * + * > Instances of `repl.REPLServer` are created using the `repl.start()` method and + * > _should not_ be created directly using the JavaScript `new` keyword. + * + * `REPLServer` cannot be subclassed due to implementation specifics in NodeJS. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_class_replserver + */ + private constructor(); + /** + * The `replServer.defineCommand()` method is used to add new `.`\-prefixed commands + * to the REPL instance. Such commands are invoked by typing a `.` followed by the`keyword`. The `cmd` is either a `Function` or an `Object` with the following + * properties: + * + * The following example shows two new commands added to the REPL instance: + * + * ```js + * const repl = require('node:repl'); + * + * const replServer = repl.start({ prompt: '> ' }); + * replServer.defineCommand('sayhello', { + * help: 'Say hello', + * action(name) { + * this.clearBufferedCommand(); + * console.log(`Hello, ${name}!`); + * this.displayPrompt(); + * }, + * }); + * replServer.defineCommand('saybye', function saybye() { + * console.log('Goodbye!'); + * this.close(); + * }); + * ``` + * + * The new commands can then be used from within the REPL instance: + * + * ```console + * > .sayhello Node.js User + * Hello, Node.js User! + * > .saybye + * Goodbye! + * ``` + * @since v0.3.0 + * @param keyword The command keyword (_without_ a leading `.` character). + * @param cmd The function to invoke when the command is processed. + */ + defineCommand(keyword: string, cmd: REPLCommandAction | REPLCommand): void; + /** + * The `replServer.displayPrompt()` method readies the REPL instance for input + * from the user, printing the configured `prompt` to a new line in the `output`and resuming the `input` to accept new input. + * + * When multi-line input is being entered, an ellipsis is printed rather than the + * 'prompt'. + * + * When `preserveCursor` is `true`, the cursor placement will not be reset to `0`. + * + * The `replServer.displayPrompt` method is primarily intended to be called from + * within the action function for commands registered using the`replServer.defineCommand()` method. + * @since v0.1.91 + */ + displayPrompt(preserveCursor?: boolean): void; + /** + * The `replServer.clearBufferedCommand()` method clears any command that has been + * buffered but not yet executed. This method is primarily intended to be + * called from within the action function for commands registered using the`replServer.defineCommand()` method. + * @since v9.0.0 + */ + clearBufferedCommand(): void; + /** + * Initializes a history log file for the REPL instance. When executing the + * Node.js binary and using the command-line REPL, a history file is initialized + * by default. However, this is not the case when creating a REPL + * programmatically. Use this method to initialize a history log file when working + * with REPL instances programmatically. + * @since v11.10.0 + * @param historyPath the path to the history file + * @param callback called when history writes are ready or upon error + */ + setupHistory(path: string, callback: (err: Error | null, repl: this) => void): void; + /** + * events.EventEmitter + * 1. close - inherited from `readline.Interface` + * 2. line - inherited from `readline.Interface` + * 3. pause - inherited from `readline.Interface` + * 4. resume - inherited from `readline.Interface` + * 5. SIGCONT - inherited from `readline.Interface` + * 6. SIGINT - inherited from `readline.Interface` + * 7. SIGTSTP - inherited from `readline.Interface` + * 8. exit + * 9. reset + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "line", listener: (input: string) => void): this; + addListener(event: "pause", listener: () => void): this; + addListener(event: "resume", listener: () => void): this; + addListener(event: "SIGCONT", listener: () => void): this; + addListener(event: "SIGINT", listener: () => void): this; + addListener(event: "SIGTSTP", listener: () => void): this; + addListener(event: "exit", listener: () => void): this; + addListener(event: "reset", listener: (context: Context) => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "close"): boolean; + emit(event: "line", input: string): boolean; + emit(event: "pause"): boolean; + emit(event: "resume"): boolean; + emit(event: "SIGCONT"): boolean; + emit(event: "SIGINT"): boolean; + emit(event: "SIGTSTP"): boolean; + emit(event: "exit"): boolean; + emit(event: "reset", context: Context): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "close", listener: () => void): this; + on(event: "line", listener: (input: string) => void): this; + on(event: "pause", listener: () => void): this; + on(event: "resume", listener: () => void): this; + on(event: "SIGCONT", listener: () => void): this; + on(event: "SIGINT", listener: () => void): this; + on(event: "SIGTSTP", listener: () => void): this; + on(event: "exit", listener: () => void): this; + on(event: "reset", listener: (context: Context) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "line", listener: (input: string) => void): this; + once(event: "pause", listener: () => void): this; + once(event: "resume", listener: () => void): this; + once(event: "SIGCONT", listener: () => void): this; + once(event: "SIGINT", listener: () => void): this; + once(event: "SIGTSTP", listener: () => void): this; + once(event: "exit", listener: () => void): this; + once(event: "reset", listener: (context: Context) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "line", listener: (input: string) => void): this; + prependListener(event: "pause", listener: () => void): this; + prependListener(event: "resume", listener: () => void): this; + prependListener(event: "SIGCONT", listener: () => void): this; + prependListener(event: "SIGINT", listener: () => void): this; + prependListener(event: "SIGTSTP", listener: () => void): this; + prependListener(event: "exit", listener: () => void): this; + prependListener(event: "reset", listener: (context: Context) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "line", listener: (input: string) => void): this; + prependOnceListener(event: "pause", listener: () => void): this; + prependOnceListener(event: "resume", listener: () => void): this; + prependOnceListener(event: "SIGCONT", listener: () => void): this; + prependOnceListener(event: "SIGINT", listener: () => void): this; + prependOnceListener(event: "SIGTSTP", listener: () => void): this; + prependOnceListener(event: "exit", listener: () => void): this; + prependOnceListener(event: "reset", listener: (context: Context) => void): this; + } + /** + * A flag passed in the REPL options. Evaluates expressions in sloppy mode. + */ + const REPL_MODE_SLOPPY: unique symbol; + /** + * A flag passed in the REPL options. Evaluates expressions in strict mode. + * This is equivalent to prefacing every repl statement with `'use strict'`. + */ + const REPL_MODE_STRICT: unique symbol; + /** + * The `repl.start()` method creates and starts a {@link REPLServer} instance. + * + * If `options` is a string, then it specifies the input prompt: + * + * ```js + * const repl = require('node:repl'); + * + * // a Unix style prompt + * repl.start('$ '); + * ``` + * @since v0.1.91 + */ + function start(options?: string | ReplOptions): REPLServer; + /** + * Indicates a recoverable error that a `REPLServer` can use to support multi-line input. + * + * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_recoverable_errors + */ + class Recoverable extends SyntaxError { + err: Error; + constructor(err: Error); + } +} +declare module "node:repl" { + export * from "repl"; +} diff --git a/node_modules/@types/node/ts4.8/stream.d.ts b/node_modules/@types/node/ts4.8/stream.d.ts new file mode 100644 index 000000000..947a0193f --- /dev/null +++ b/node_modules/@types/node/ts4.8/stream.d.ts @@ -0,0 +1,1701 @@ +/** + * A stream is an abstract interface for working with streaming data in Node.js. + * The `node:stream` module provides an API for implementing the stream interface. + * + * There are many stream objects provided by Node.js. For instance, a `request to an HTTP server` and `process.stdout` are both stream instances. + * + * Streams can be readable, writable, or both. All streams are instances of `EventEmitter`. + * + * To access the `node:stream` module: + * + * ```js + * const stream = require('node:stream'); + * ``` + * + * The `node:stream` module is useful for creating new types of stream instances. + * It is usually not necessary to use the `node:stream` module to consume streams. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/stream.js) + */ +declare module "stream" { + import { Abortable, EventEmitter } from "node:events"; + import { Blob as NodeBlob } from "node:buffer"; + import * as streamPromises from "node:stream/promises"; + import * as streamConsumers from "node:stream/consumers"; + import * as streamWeb from "node:stream/web"; + + type ComposeFnParam = (source: any) => void; + + class internal extends EventEmitter { + pipe( + destination: T, + options?: { + end?: boolean | undefined; + }, + ): T; + compose( + stream: T | ComposeFnParam | Iterable | AsyncIterable, + options?: { signal: AbortSignal }, + ): T; + } + import Stream = internal.Stream; + import Readable = internal.Readable; + import ReadableOptions = internal.ReadableOptions; + interface ArrayOptions { + /** the maximum concurrent invocations of `fn` to call on the stream at once. **Default: 1**. */ + concurrency?: number; + /** allows destroying the stream if the signal is aborted. */ + signal?: AbortSignal; + } + class ReadableBase extends Stream implements NodeJS.ReadableStream { + /** + * A utility method for creating Readable Streams out of iterators. + */ + static from(iterable: Iterable | AsyncIterable, options?: ReadableOptions): Readable; + /** + * Returns whether the stream has been read from or cancelled. + * @since v16.8.0 + */ + static isDisturbed(stream: Readable | NodeJS.ReadableStream): boolean; + /** + * Returns whether the stream was destroyed or errored before emitting `'end'`. + * @since v16.8.0 + * @experimental + */ + readonly readableAborted: boolean; + /** + * Is `true` if it is safe to call `readable.read()`, which means + * the stream has not been destroyed or emitted `'error'` or `'end'`. + * @since v11.4.0 + */ + readable: boolean; + /** + * Returns whether `'data'` has been emitted. + * @since v16.7.0, v14.18.0 + * @experimental + */ + readonly readableDidRead: boolean; + /** + * Getter for the property `encoding` of a given `Readable` stream. The `encoding`property can be set using the `readable.setEncoding()` method. + * @since v12.7.0 + */ + readonly readableEncoding: BufferEncoding | null; + /** + * Becomes `true` when `'end'` event is emitted. + * @since v12.9.0 + */ + readonly readableEnded: boolean; + /** + * This property reflects the current state of a `Readable` stream as described + * in the `Three states` section. + * @since v9.4.0 + */ + readonly readableFlowing: boolean | null; + /** + * Returns the value of `highWaterMark` passed when creating this `Readable`. + * @since v9.3.0 + */ + readonly readableHighWaterMark: number; + /** + * This property contains the number of bytes (or objects) in the queue + * ready to be read. The value provides introspection data regarding + * the status of the `highWaterMark`. + * @since v9.4.0 + */ + readonly readableLength: number; + /** + * Getter for the property `objectMode` of a given `Readable` stream. + * @since v12.3.0 + */ + readonly readableObjectMode: boolean; + /** + * Is `true` after `readable.destroy()` has been called. + * @since v8.0.0 + */ + destroyed: boolean; + /** + * Is `true` after `'close'` has been emitted. + * @since v18.0.0 + */ + readonly closed: boolean; + /** + * Returns error if the stream has been destroyed with an error. + * @since v18.0.0 + */ + readonly errored: Error | null; + constructor(opts?: ReadableOptions); + _construct?(callback: (error?: Error | null) => void): void; + _read(size: number): void; + /** + * The `readable.read()` method reads data out of the internal buffer and + * returns it. If no data is available to be read, `null` is returned. By default, + * the data is returned as a `Buffer` object unless an encoding has been + * specified using the `readable.setEncoding()` method or the stream is operating + * in object mode. + * + * The optional `size` argument specifies a specific number of bytes to read. If`size` bytes are not available to be read, `null` will be returned _unless_the stream has ended, in which + * case all of the data remaining in the internal + * buffer will be returned. + * + * If the `size` argument is not specified, all of the data contained in the + * internal buffer will be returned. + * + * The `size` argument must be less than or equal to 1 GiB. + * + * The `readable.read()` method should only be called on `Readable` streams + * operating in paused mode. In flowing mode, `readable.read()` is called + * automatically until the internal buffer is fully drained. + * + * ```js + * const readable = getReadableStreamSomehow(); + * + * // 'readable' may be triggered multiple times as data is buffered in + * readable.on('readable', () => { + * let chunk; + * console.log('Stream is readable (new data received in buffer)'); + * // Use a loop to make sure we read all currently available data + * while (null !== (chunk = readable.read())) { + * console.log(`Read ${chunk.length} bytes of data...`); + * } + * }); + * + * // 'end' will be triggered once when there is no more data available + * readable.on('end', () => { + * console.log('Reached end of stream.'); + * }); + * ``` + * + * Each call to `readable.read()` returns a chunk of data, or `null`. The chunks + * are not concatenated. A `while` loop is necessary to consume all data + * currently in the buffer. When reading a large file `.read()` may return `null`, + * having consumed all buffered content so far, but there is still more data to + * come not yet buffered. In this case a new `'readable'` event will be emitted + * when there is more data in the buffer. Finally the `'end'` event will be + * emitted when there is no more data to come. + * + * Therefore to read a file's whole contents from a `readable`, it is necessary + * to collect chunks across multiple `'readable'` events: + * + * ```js + * const chunks = []; + * + * readable.on('readable', () => { + * let chunk; + * while (null !== (chunk = readable.read())) { + * chunks.push(chunk); + * } + * }); + * + * readable.on('end', () => { + * const content = chunks.join(''); + * }); + * ``` + * + * A `Readable` stream in object mode will always return a single item from + * a call to `readable.read(size)`, regardless of the value of the`size` argument. + * + * If the `readable.read()` method returns a chunk of data, a `'data'` event will + * also be emitted. + * + * Calling {@link read} after the `'end'` event has + * been emitted will return `null`. No runtime error will be raised. + * @since v0.9.4 + * @param size Optional argument to specify how much data to read. + */ + read(size?: number): any; + /** + * The `readable.setEncoding()` method sets the character encoding for + * data read from the `Readable` stream. + * + * By default, no encoding is assigned and stream data will be returned as`Buffer` objects. Setting an encoding causes the stream data + * to be returned as strings of the specified encoding rather than as `Buffer`objects. For instance, calling `readable.setEncoding('utf8')` will cause the + * output data to be interpreted as UTF-8 data, and passed as strings. Calling`readable.setEncoding('hex')` will cause the data to be encoded in hexadecimal + * string format. + * + * The `Readable` stream will properly handle multi-byte characters delivered + * through the stream that would otherwise become improperly decoded if simply + * pulled from the stream as `Buffer` objects. + * + * ```js + * const readable = getReadableStreamSomehow(); + * readable.setEncoding('utf8'); + * readable.on('data', (chunk) => { + * assert.equal(typeof chunk, 'string'); + * console.log('Got %d characters of string data:', chunk.length); + * }); + * ``` + * @since v0.9.4 + * @param encoding The encoding to use. + */ + setEncoding(encoding: BufferEncoding): this; + /** + * The `readable.pause()` method will cause a stream in flowing mode to stop + * emitting `'data'` events, switching out of flowing mode. Any data that + * becomes available will remain in the internal buffer. + * + * ```js + * const readable = getReadableStreamSomehow(); + * readable.on('data', (chunk) => { + * console.log(`Received ${chunk.length} bytes of data.`); + * readable.pause(); + * console.log('There will be no additional data for 1 second.'); + * setTimeout(() => { + * console.log('Now data will start flowing again.'); + * readable.resume(); + * }, 1000); + * }); + * ``` + * + * The `readable.pause()` method has no effect if there is a `'readable'`event listener. + * @since v0.9.4 + */ + pause(): this; + /** + * The `readable.resume()` method causes an explicitly paused `Readable` stream to + * resume emitting `'data'` events, switching the stream into flowing mode. + * + * The `readable.resume()` method can be used to fully consume the data from a + * stream without actually processing any of that data: + * + * ```js + * getReadableStreamSomehow() + * .resume() + * .on('end', () => { + * console.log('Reached the end, but did not read anything.'); + * }); + * ``` + * + * The `readable.resume()` method has no effect if there is a `'readable'`event listener. + * @since v0.9.4 + */ + resume(): this; + /** + * The `readable.isPaused()` method returns the current operating state of the`Readable`. This is used primarily by the mechanism that underlies the`readable.pipe()` method. In most + * typical cases, there will be no reason to + * use this method directly. + * + * ```js + * const readable = new stream.Readable(); + * + * readable.isPaused(); // === false + * readable.pause(); + * readable.isPaused(); // === true + * readable.resume(); + * readable.isPaused(); // === false + * ``` + * @since v0.11.14 + */ + isPaused(): boolean; + /** + * The `readable.unpipe()` method detaches a `Writable` stream previously attached + * using the {@link pipe} method. + * + * If the `destination` is not specified, then _all_ pipes are detached. + * + * If the `destination` is specified, but no pipe is set up for it, then + * the method does nothing. + * + * ```js + * const fs = require('node:fs'); + * const readable = getReadableStreamSomehow(); + * const writable = fs.createWriteStream('file.txt'); + * // All the data from readable goes into 'file.txt', + * // but only for the first second. + * readable.pipe(writable); + * setTimeout(() => { + * console.log('Stop writing to file.txt.'); + * readable.unpipe(writable); + * console.log('Manually close the file stream.'); + * writable.end(); + * }, 1000); + * ``` + * @since v0.9.4 + * @param destination Optional specific stream to unpipe + */ + unpipe(destination?: NodeJS.WritableStream): this; + /** + * Passing `chunk` as `null` signals the end of the stream (EOF) and behaves the + * same as `readable.push(null)`, after which no more data can be written. The EOF + * signal is put at the end of the buffer and any buffered data will still be + * flushed. + * + * The `readable.unshift()` method pushes a chunk of data back into the internal + * buffer. This is useful in certain situations where a stream is being consumed by + * code that needs to "un-consume" some amount of data that it has optimistically + * pulled out of the source, so that the data can be passed on to some other party. + * + * The `stream.unshift(chunk)` method cannot be called after the `'end'` event + * has been emitted or a runtime error will be thrown. + * + * Developers using `stream.unshift()` often should consider switching to + * use of a `Transform` stream instead. See the `API for stream implementers` section for more information. + * + * ```js + * // Pull off a header delimited by \n\n. + * // Use unshift() if we get too much. + * // Call the callback with (error, header, stream). + * const { StringDecoder } = require('node:string_decoder'); + * function parseHeader(stream, callback) { + * stream.on('error', callback); + * stream.on('readable', onReadable); + * const decoder = new StringDecoder('utf8'); + * let header = ''; + * function onReadable() { + * let chunk; + * while (null !== (chunk = stream.read())) { + * const str = decoder.write(chunk); + * if (str.includes('\n\n')) { + * // Found the header boundary. + * const split = str.split(/\n\n/); + * header += split.shift(); + * const remaining = split.join('\n\n'); + * const buf = Buffer.from(remaining, 'utf8'); + * stream.removeListener('error', callback); + * // Remove the 'readable' listener before unshifting. + * stream.removeListener('readable', onReadable); + * if (buf.length) + * stream.unshift(buf); + * // Now the body of the message can be read from the stream. + * callback(null, header, stream); + * return; + * } + * // Still reading the header. + * header += str; + * } + * } + * } + * ``` + * + * Unlike {@link push}, `stream.unshift(chunk)` will not + * end the reading process by resetting the internal reading state of the stream. + * This can cause unexpected results if `readable.unshift()` is called during a + * read (i.e. from within a {@link _read} implementation on a + * custom stream). Following the call to `readable.unshift()` with an immediate {@link push} will reset the reading state appropriately, + * however it is best to simply avoid calling `readable.unshift()` while in the + * process of performing a read. + * @since v0.9.11 + * @param chunk Chunk of data to unshift onto the read queue. For streams not operating in object mode, `chunk` must be a string, `Buffer`, `Uint8Array`, or `null`. For object mode + * streams, `chunk` may be any JavaScript value. + * @param encoding Encoding of string chunks. Must be a valid `Buffer` encoding, such as `'utf8'` or `'ascii'`. + */ + unshift(chunk: any, encoding?: BufferEncoding): void; + /** + * Prior to Node.js 0.10, streams did not implement the entire `node:stream`module API as it is currently defined. (See `Compatibility` for more + * information.) + * + * When using an older Node.js library that emits `'data'` events and has a {@link pause} method that is advisory only, the`readable.wrap()` method can be used to create a `Readable` + * stream that uses + * the old stream as its data source. + * + * It will rarely be necessary to use `readable.wrap()` but the method has been + * provided as a convenience for interacting with older Node.js applications and + * libraries. + * + * ```js + * const { OldReader } = require('./old-api-module.js'); + * const { Readable } = require('node:stream'); + * const oreader = new OldReader(); + * const myReader = new Readable().wrap(oreader); + * + * myReader.on('readable', () => { + * myReader.read(); // etc. + * }); + * ``` + * @since v0.9.4 + * @param stream An "old style" readable stream + */ + wrap(stream: NodeJS.ReadableStream): this; + push(chunk: any, encoding?: BufferEncoding): boolean; + /** + * The iterator created by this method gives users the option to cancel the destruction + * of the stream if the `for await...of` loop is exited by `return`, `break`, or `throw`, + * or if the iterator should destroy the stream if the stream emitted an error during iteration. + * @since v16.3.0 + * @param options.destroyOnReturn When set to `false`, calling `return` on the async iterator, + * or exiting a `for await...of` iteration using a `break`, `return`, or `throw` will not destroy the stream. + * **Default: `true`**. + */ + iterator(options?: { destroyOnReturn?: boolean }): AsyncIterableIterator; + /** + * This method allows mapping over the stream. The *fn* function will be called for every chunk in the stream. + * If the *fn* function returns a promise - that promise will be `await`ed before being passed to the result stream. + * @since v17.4.0, v16.14.0 + * @param fn a function to map over every chunk in the stream. Async or not. + * @returns a stream mapped with the function *fn*. + */ + map(fn: (data: any, options?: Pick) => any, options?: ArrayOptions): Readable; + /** + * This method allows filtering the stream. For each chunk in the stream the *fn* function will be called + * and if it returns a truthy value, the chunk will be passed to the result stream. + * If the *fn* function returns a promise - that promise will be `await`ed. + * @since v17.4.0, v16.14.0 + * @param fn a function to filter chunks from the stream. Async or not. + * @returns a stream filtered with the predicate *fn*. + */ + filter( + fn: (data: any, options?: Pick) => boolean | Promise, + options?: ArrayOptions, + ): Readable; + /** + * This method allows iterating a stream. For each chunk in the stream the *fn* function will be called. + * If the *fn* function returns a promise - that promise will be `await`ed. + * + * This method is different from `for await...of` loops in that it can optionally process chunks concurrently. + * In addition, a `forEach` iteration can only be stopped by having passed a `signal` option + * and aborting the related AbortController while `for await...of` can be stopped with `break` or `return`. + * In either case the stream will be destroyed. + * + * This method is different from listening to the `'data'` event in that it uses the `readable` event + * in the underlying machinary and can limit the number of concurrent *fn* calls. + * @since v17.5.0 + * @param fn a function to call on each chunk of the stream. Async or not. + * @returns a promise for when the stream has finished. + */ + forEach( + fn: (data: any, options?: Pick) => void | Promise, + options?: ArrayOptions, + ): Promise; + /** + * This method allows easily obtaining the contents of a stream. + * + * As this method reads the entire stream into memory, it negates the benefits of streams. It's intended + * for interoperability and convenience, not as the primary way to consume streams. + * @since v17.5.0 + * @returns a promise containing an array with the contents of the stream. + */ + toArray(options?: Pick): Promise; + /** + * This method is similar to `Array.prototype.some` and calls *fn* on each chunk in the stream + * until the awaited return value is `true` (or any truthy value). Once an *fn* call on a chunk + * `await`ed return value is truthy, the stream is destroyed and the promise is fulfilled with `true`. + * If none of the *fn* calls on the chunks return a truthy value, the promise is fulfilled with `false`. + * @since v17.5.0 + * @param fn a function to call on each chunk of the stream. Async or not. + * @returns a promise evaluating to `true` if *fn* returned a truthy value for at least one of the chunks. + */ + some( + fn: (data: any, options?: Pick) => boolean | Promise, + options?: ArrayOptions, + ): Promise; + /** + * This method is similar to `Array.prototype.find` and calls *fn* on each chunk in the stream + * to find a chunk with a truthy value for *fn*. Once an *fn* call's awaited return value is truthy, + * the stream is destroyed and the promise is fulfilled with value for which *fn* returned a truthy value. + * If all of the *fn* calls on the chunks return a falsy value, the promise is fulfilled with `undefined`. + * @since v17.5.0 + * @param fn a function to call on each chunk of the stream. Async or not. + * @returns a promise evaluating to the first chunk for which *fn* evaluated with a truthy value, + * or `undefined` if no element was found. + */ + find( + fn: (data: any, options?: Pick) => data is T, + options?: ArrayOptions, + ): Promise; + find( + fn: (data: any, options?: Pick) => boolean | Promise, + options?: ArrayOptions, + ): Promise; + /** + * This method is similar to `Array.prototype.every` and calls *fn* on each chunk in the stream + * to check if all awaited return values are truthy value for *fn*. Once an *fn* call on a chunk + * `await`ed return value is falsy, the stream is destroyed and the promise is fulfilled with `false`. + * If all of the *fn* calls on the chunks return a truthy value, the promise is fulfilled with `true`. + * @since v17.5.0 + * @param fn a function to call on each chunk of the stream. Async or not. + * @returns a promise evaluating to `true` if *fn* returned a truthy value for every one of the chunks. + */ + every( + fn: (data: any, options?: Pick) => boolean | Promise, + options?: ArrayOptions, + ): Promise; + /** + * This method returns a new stream by applying the given callback to each chunk of the stream + * and then flattening the result. + * + * It is possible to return a stream or another iterable or async iterable from *fn* and the result streams + * will be merged (flattened) into the returned stream. + * @since v17.5.0 + * @param fn a function to map over every chunk in the stream. May be async. May be a stream or generator. + * @returns a stream flat-mapped with the function *fn*. + */ + flatMap(fn: (data: any, options?: Pick) => any, options?: ArrayOptions): Readable; + /** + * This method returns a new stream with the first *limit* chunks dropped from the start. + * @since v17.5.0 + * @param limit the number of chunks to drop from the readable. + * @returns a stream with *limit* chunks dropped from the start. + */ + drop(limit: number, options?: Pick): Readable; + /** + * This method returns a new stream with the first *limit* chunks. + * @since v17.5.0 + * @param limit the number of chunks to take from the readable. + * @returns a stream with *limit* chunks taken. + */ + take(limit: number, options?: Pick): Readable; + /** + * This method returns a new stream with chunks of the underlying stream paired with a counter + * in the form `[index, chunk]`. The first index value is `0` and it increases by 1 for each chunk produced. + * @since v17.5.0 + * @returns a stream of indexed pairs. + */ + asIndexedPairs(options?: Pick): Readable; + /** + * This method calls *fn* on each chunk of the stream in order, passing it the result from the calculation + * on the previous element. It returns a promise for the final value of the reduction. + * + * If no *initial* value is supplied the first chunk of the stream is used as the initial value. + * If the stream is empty, the promise is rejected with a `TypeError` with the `ERR_INVALID_ARGS` code property. + * + * The reducer function iterates the stream element-by-element which means that there is no *concurrency* parameter + * or parallelism. To perform a reduce concurrently, you can extract the async function to `readable.map` method. + * @since v17.5.0 + * @param fn a reducer function to call over every chunk in the stream. Async or not. + * @param initial the initial value to use in the reduction. + * @returns a promise for the final value of the reduction. + */ + reduce( + fn: (previous: any, data: any, options?: Pick) => T, + initial?: undefined, + options?: Pick, + ): Promise; + reduce( + fn: (previous: T, data: any, options?: Pick) => T, + initial: T, + options?: Pick, + ): Promise; + _destroy(error: Error | null, callback: (error?: Error | null) => void): void; + /** + * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'`event (unless `emitClose` is set to `false`). After this call, the readable + * stream will release any internal resources and subsequent calls to `push()`will be ignored. + * + * Once `destroy()` has been called any further calls will be a no-op and no + * further errors except from `_destroy()` may be emitted as `'error'`. + * + * Implementors should not override this method, but instead implement `readable._destroy()`. + * @since v8.0.0 + * @param error Error which will be passed as payload in `'error'` event + */ + destroy(error?: Error): this; + /** + * Event emitter + * The defined events on documents including: + * 1. close + * 2. data + * 3. end + * 4. error + * 5. pause + * 6. readable + * 7. resume + */ + addListener(event: "close", listener: () => void): this; + addListener(event: "data", listener: (chunk: any) => void): this; + addListener(event: "end", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "pause", listener: () => void): this; + addListener(event: "readable", listener: () => void): this; + addListener(event: "resume", listener: () => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "close"): boolean; + emit(event: "data", chunk: any): boolean; + emit(event: "end"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "pause"): boolean; + emit(event: "readable"): boolean; + emit(event: "resume"): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "close", listener: () => void): this; + on(event: "data", listener: (chunk: any) => void): this; + on(event: "end", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "pause", listener: () => void): this; + on(event: "readable", listener: () => void): this; + on(event: "resume", listener: () => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "data", listener: (chunk: any) => void): this; + once(event: "end", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "pause", listener: () => void): this; + once(event: "readable", listener: () => void): this; + once(event: "resume", listener: () => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "data", listener: (chunk: any) => void): this; + prependListener(event: "end", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "pause", listener: () => void): this; + prependListener(event: "readable", listener: () => void): this; + prependListener(event: "resume", listener: () => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "data", listener: (chunk: any) => void): this; + prependOnceListener(event: "end", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "pause", listener: () => void): this; + prependOnceListener(event: "readable", listener: () => void): this; + prependOnceListener(event: "resume", listener: () => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + removeListener(event: "close", listener: () => void): this; + removeListener(event: "data", listener: (chunk: any) => void): this; + removeListener(event: "end", listener: () => void): this; + removeListener(event: "error", listener: (err: Error) => void): this; + removeListener(event: "pause", listener: () => void): this; + removeListener(event: "readable", listener: () => void): this; + removeListener(event: "resume", listener: () => void): this; + removeListener(event: string | symbol, listener: (...args: any[]) => void): this; + [Symbol.asyncIterator](): AsyncIterableIterator; + /** + * Calls `readable.destroy()` with an `AbortError` and returns a promise that fulfills when the stream is finished. + * @since v20.4.0 + */ + [Symbol.asyncDispose](): Promise; + } + import WritableOptions = internal.WritableOptions; + class WritableBase extends Stream implements NodeJS.WritableStream { + /** + * Is `true` if it is safe to call `writable.write()`, which means + * the stream has not been destroyed, errored, or ended. + * @since v11.4.0 + */ + readonly writable: boolean; + /** + * Is `true` after `writable.end()` has been called. This property + * does not indicate whether the data has been flushed, for this use `writable.writableFinished` instead. + * @since v12.9.0 + */ + readonly writableEnded: boolean; + /** + * Is set to `true` immediately before the `'finish'` event is emitted. + * @since v12.6.0 + */ + readonly writableFinished: boolean; + /** + * Return the value of `highWaterMark` passed when creating this `Writable`. + * @since v9.3.0 + */ + readonly writableHighWaterMark: number; + /** + * This property contains the number of bytes (or objects) in the queue + * ready to be written. The value provides introspection data regarding + * the status of the `highWaterMark`. + * @since v9.4.0 + */ + readonly writableLength: number; + /** + * Getter for the property `objectMode` of a given `Writable` stream. + * @since v12.3.0 + */ + readonly writableObjectMode: boolean; + /** + * Number of times `writable.uncork()` needs to be + * called in order to fully uncork the stream. + * @since v13.2.0, v12.16.0 + */ + readonly writableCorked: number; + /** + * Is `true` after `writable.destroy()` has been called. + * @since v8.0.0 + */ + destroyed: boolean; + /** + * Is `true` after `'close'` has been emitted. + * @since v18.0.0 + */ + readonly closed: boolean; + /** + * Returns error if the stream has been destroyed with an error. + * @since v18.0.0 + */ + readonly errored: Error | null; + /** + * Is `true` if the stream's buffer has been full and stream will emit `'drain'`. + * @since v15.2.0, v14.17.0 + */ + readonly writableNeedDrain: boolean; + constructor(opts?: WritableOptions); + _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; + _writev?( + chunks: Array<{ + chunk: any; + encoding: BufferEncoding; + }>, + callback: (error?: Error | null) => void, + ): void; + _construct?(callback: (error?: Error | null) => void): void; + _destroy(error: Error | null, callback: (error?: Error | null) => void): void; + _final(callback: (error?: Error | null) => void): void; + /** + * The `writable.write()` method writes some data to the stream, and calls the + * supplied `callback` once the data has been fully handled. If an error + * occurs, the `callback` will be called with the error as its + * first argument. The `callback` is called asynchronously and before `'error'` is + * emitted. + * + * The return value is `true` if the internal buffer is less than the`highWaterMark` configured when the stream was created after admitting `chunk`. + * If `false` is returned, further attempts to write data to the stream should + * stop until the `'drain'` event is emitted. + * + * While a stream is not draining, calls to `write()` will buffer `chunk`, and + * return false. Once all currently buffered chunks are drained (accepted for + * delivery by the operating system), the `'drain'` event will be emitted. + * Once `write()` returns false, do not write more chunks + * until the `'drain'` event is emitted. While calling `write()` on a stream that + * is not draining is allowed, Node.js will buffer all written chunks until + * maximum memory usage occurs, at which point it will abort unconditionally. + * Even before it aborts, high memory usage will cause poor garbage collector + * performance and high RSS (which is not typically released back to the system, + * even after the memory is no longer required). Since TCP sockets may never + * drain if the remote peer does not read the data, writing a socket that is + * not draining may lead to a remotely exploitable vulnerability. + * + * Writing data while the stream is not draining is particularly + * problematic for a `Transform`, because the `Transform` streams are paused + * by default until they are piped or a `'data'` or `'readable'` event handler + * is added. + * + * If the data to be written can be generated or fetched on demand, it is + * recommended to encapsulate the logic into a `Readable` and use {@link pipe}. However, if calling `write()` is preferred, it is + * possible to respect backpressure and avoid memory issues using the `'drain'` event: + * + * ```js + * function write(data, cb) { + * if (!stream.write(data)) { + * stream.once('drain', cb); + * } else { + * process.nextTick(cb); + * } + * } + * + * // Wait for cb to be called before doing any other write. + * write('hello', () => { + * console.log('Write completed, do more writes now.'); + * }); + * ``` + * + * A `Writable` stream in object mode will always ignore the `encoding` argument. + * @since v0.9.4 + * @param chunk Optional data to write. For streams not operating in object mode, `chunk` must be a string, `Buffer` or `Uint8Array`. For object mode streams, `chunk` may be any + * JavaScript value other than `null`. + * @param [encoding='utf8'] The encoding, if `chunk` is a string. + * @param callback Callback for when this chunk of data is flushed. + * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. + */ + write(chunk: any, callback?: (error: Error | null | undefined) => void): boolean; + write(chunk: any, encoding: BufferEncoding, callback?: (error: Error | null | undefined) => void): boolean; + /** + * The `writable.setDefaultEncoding()` method sets the default `encoding` for a `Writable` stream. + * @since v0.11.15 + * @param encoding The new default encoding + */ + setDefaultEncoding(encoding: BufferEncoding): this; + /** + * Calling the `writable.end()` method signals that no more data will be written + * to the `Writable`. The optional `chunk` and `encoding` arguments allow one + * final additional chunk of data to be written immediately before closing the + * stream. + * + * Calling the {@link write} method after calling {@link end} will raise an error. + * + * ```js + * // Write 'hello, ' and then end with 'world!'. + * const fs = require('node:fs'); + * const file = fs.createWriteStream('example.txt'); + * file.write('hello, '); + * file.end('world!'); + * // Writing more now is not allowed! + * ``` + * @since v0.9.4 + * @param chunk Optional data to write. For streams not operating in object mode, `chunk` must be a string, `Buffer` or `Uint8Array`. For object mode streams, `chunk` may be any + * JavaScript value other than `null`. + * @param encoding The encoding if `chunk` is a string + * @param callback Callback for when the stream is finished. + */ + end(cb?: () => void): this; + end(chunk: any, cb?: () => void): this; + end(chunk: any, encoding: BufferEncoding, cb?: () => void): this; + /** + * The `writable.cork()` method forces all written data to be buffered in memory. + * The buffered data will be flushed when either the {@link uncork} or {@link end} methods are called. + * + * The primary intent of `writable.cork()` is to accommodate a situation in which + * several small chunks are written to the stream in rapid succession. Instead of + * immediately forwarding them to the underlying destination, `writable.cork()`buffers all the chunks until `writable.uncork()` is called, which will pass them + * all to `writable._writev()`, if present. This prevents a head-of-line blocking + * situation where data is being buffered while waiting for the first small chunk + * to be processed. However, use of `writable.cork()` without implementing`writable._writev()` may have an adverse effect on throughput. + * + * See also: `writable.uncork()`, `writable._writev()`. + * @since v0.11.2 + */ + cork(): void; + /** + * The `writable.uncork()` method flushes all data buffered since {@link cork} was called. + * + * When using `writable.cork()` and `writable.uncork()` to manage the buffering + * of writes to a stream, defer calls to `writable.uncork()` using`process.nextTick()`. Doing so allows batching of all`writable.write()` calls that occur within a given Node.js event + * loop phase. + * + * ```js + * stream.cork(); + * stream.write('some '); + * stream.write('data '); + * process.nextTick(() => stream.uncork()); + * ``` + * + * If the `writable.cork()` method is called multiple times on a stream, the + * same number of calls to `writable.uncork()` must be called to flush the buffered + * data. + * + * ```js + * stream.cork(); + * stream.write('some '); + * stream.cork(); + * stream.write('data '); + * process.nextTick(() => { + * stream.uncork(); + * // The data will not be flushed until uncork() is called a second time. + * stream.uncork(); + * }); + * ``` + * + * See also: `writable.cork()`. + * @since v0.11.2 + */ + uncork(): void; + /** + * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'`event (unless `emitClose` is set to `false`). After this call, the writable + * stream has ended and subsequent calls to `write()` or `end()` will result in + * an `ERR_STREAM_DESTROYED` error. + * This is a destructive and immediate way to destroy a stream. Previous calls to`write()` may not have drained, and may trigger an `ERR_STREAM_DESTROYED` error. + * Use `end()` instead of destroy if data should flush before close, or wait for + * the `'drain'` event before destroying the stream. + * + * Once `destroy()` has been called any further calls will be a no-op and no + * further errors except from `_destroy()` may be emitted as `'error'`. + * + * Implementors should not override this method, + * but instead implement `writable._destroy()`. + * @since v8.0.0 + * @param error Optional, an error to emit with `'error'` event. + */ + destroy(error?: Error): this; + /** + * Event emitter + * The defined events on documents including: + * 1. close + * 2. drain + * 3. error + * 4. finish + * 5. pipe + * 6. unpipe + */ + addListener(event: "close", listener: () => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "finish", listener: () => void): this; + addListener(event: "pipe", listener: (src: Readable) => void): this; + addListener(event: "unpipe", listener: (src: Readable) => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "close"): boolean; + emit(event: "drain"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "finish"): boolean; + emit(event: "pipe", src: Readable): boolean; + emit(event: "unpipe", src: Readable): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "close", listener: () => void): this; + on(event: "drain", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "finish", listener: () => void): this; + on(event: "pipe", listener: (src: Readable) => void): this; + on(event: "unpipe", listener: (src: Readable) => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "drain", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "finish", listener: () => void): this; + once(event: "pipe", listener: (src: Readable) => void): this; + once(event: "unpipe", listener: (src: Readable) => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "finish", listener: () => void): this; + prependListener(event: "pipe", listener: (src: Readable) => void): this; + prependListener(event: "unpipe", listener: (src: Readable) => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "finish", listener: () => void): this; + prependOnceListener(event: "pipe", listener: (src: Readable) => void): this; + prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + removeListener(event: "close", listener: () => void): this; + removeListener(event: "drain", listener: () => void): this; + removeListener(event: "error", listener: (err: Error) => void): this; + removeListener(event: "finish", listener: () => void): this; + removeListener(event: "pipe", listener: (src: Readable) => void): this; + removeListener(event: "unpipe", listener: (src: Readable) => void): this; + removeListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + namespace internal { + class Stream extends internal { + constructor(opts?: ReadableOptions); + } + interface StreamOptions extends Abortable { + emitClose?: boolean | undefined; + highWaterMark?: number | undefined; + objectMode?: boolean | undefined; + construct?(this: T, callback: (error?: Error | null) => void): void; + destroy?(this: T, error: Error | null, callback: (error?: Error | null) => void): void; + autoDestroy?: boolean | undefined; + } + interface ReadableOptions extends StreamOptions { + encoding?: BufferEncoding | undefined; + read?(this: Readable, size: number): void; + } + /** + * @since v0.9.4 + */ + class Readable extends ReadableBase { + /** + * A utility method for creating a `Readable` from a web `ReadableStream`. + * @since v17.0.0 + * @experimental + */ + static fromWeb( + readableStream: streamWeb.ReadableStream, + options?: Pick, + ): Readable; + /** + * A utility method for creating a web `ReadableStream` from a `Readable`. + * @since v17.0.0 + * @experimental + */ + static toWeb(streamReadable: Readable): streamWeb.ReadableStream; + } + interface WritableOptions extends StreamOptions { + decodeStrings?: boolean | undefined; + defaultEncoding?: BufferEncoding | undefined; + write?( + this: Writable, + chunk: any, + encoding: BufferEncoding, + callback: (error?: Error | null) => void, + ): void; + writev?( + this: Writable, + chunks: Array<{ + chunk: any; + encoding: BufferEncoding; + }>, + callback: (error?: Error | null) => void, + ): void; + final?(this: Writable, callback: (error?: Error | null) => void): void; + } + /** + * @since v0.9.4 + */ + class Writable extends WritableBase { + /** + * A utility method for creating a `Writable` from a web `WritableStream`. + * @since v17.0.0 + * @experimental + */ + static fromWeb( + writableStream: streamWeb.WritableStream, + options?: Pick, + ): Writable; + /** + * A utility method for creating a web `WritableStream` from a `Writable`. + * @since v17.0.0 + * @experimental + */ + static toWeb(streamWritable: Writable): streamWeb.WritableStream; + } + interface DuplexOptions extends ReadableOptions, WritableOptions { + allowHalfOpen?: boolean | undefined; + readableObjectMode?: boolean | undefined; + writableObjectMode?: boolean | undefined; + readableHighWaterMark?: number | undefined; + writableHighWaterMark?: number | undefined; + writableCorked?: number | undefined; + construct?(this: Duplex, callback: (error?: Error | null) => void): void; + read?(this: Duplex, size: number): void; + write?(this: Duplex, chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; + writev?( + this: Duplex, + chunks: Array<{ + chunk: any; + encoding: BufferEncoding; + }>, + callback: (error?: Error | null) => void, + ): void; + final?(this: Duplex, callback: (error?: Error | null) => void): void; + destroy?(this: Duplex, error: Error | null, callback: (error?: Error | null) => void): void; + } + /** + * Duplex streams are streams that implement both the `Readable` and `Writable` interfaces. + * + * Examples of `Duplex` streams include: + * + * * `TCP sockets` + * * `zlib streams` + * * `crypto streams` + * @since v0.9.4 + */ + class Duplex extends ReadableBase implements WritableBase { + readonly writable: boolean; + readonly writableEnded: boolean; + readonly writableFinished: boolean; + readonly writableHighWaterMark: number; + readonly writableLength: number; + readonly writableObjectMode: boolean; + readonly writableCorked: number; + readonly writableNeedDrain: boolean; + readonly closed: boolean; + readonly errored: Error | null; + /** + * If `false` then the stream will automatically end the writable side when the + * readable side ends. Set initially by the `allowHalfOpen` constructor option, + * which defaults to `true`. + * + * This can be changed manually to change the half-open behavior of an existing`Duplex` stream instance, but must be changed before the `'end'` event is + * emitted. + * @since v0.9.4 + */ + allowHalfOpen: boolean; + constructor(opts?: DuplexOptions); + /** + * A utility method for creating duplex streams. + * + * - `Stream` converts writable stream into writable `Duplex` and readable stream + * to `Duplex`. + * - `Blob` converts into readable `Duplex`. + * - `string` converts into readable `Duplex`. + * - `ArrayBuffer` converts into readable `Duplex`. + * - `AsyncIterable` converts into a readable `Duplex`. Cannot yield `null`. + * - `AsyncGeneratorFunction` converts into a readable/writable transform + * `Duplex`. Must take a source `AsyncIterable` as first parameter. Cannot yield + * `null`. + * - `AsyncFunction` converts into a writable `Duplex`. Must return + * either `null` or `undefined` + * - `Object ({ writable, readable })` converts `readable` and + * `writable` into `Stream` and then combines them into `Duplex` where the + * `Duplex` will write to the `writable` and read from the `readable`. + * - `Promise` converts into readable `Duplex`. Value `null` is ignored. + * + * @since v16.8.0 + */ + static from( + src: + | Stream + | NodeBlob + | ArrayBuffer + | string + | Iterable + | AsyncIterable + | AsyncGeneratorFunction + | Promise + | Object, + ): Duplex; + _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; + _writev?( + chunks: Array<{ + chunk: any; + encoding: BufferEncoding; + }>, + callback: (error?: Error | null) => void, + ): void; + _destroy(error: Error | null, callback: (error?: Error | null) => void): void; + _final(callback: (error?: Error | null) => void): void; + write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean; + write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean; + setDefaultEncoding(encoding: BufferEncoding): this; + end(cb?: () => void): this; + end(chunk: any, cb?: () => void): this; + end(chunk: any, encoding?: BufferEncoding, cb?: () => void): this; + cork(): void; + uncork(): void; + /** + * A utility method for creating a web `ReadableStream` and `WritableStream` from a `Duplex`. + * @since v17.0.0 + * @experimental + */ + static toWeb(streamDuplex: Duplex): { + readable: streamWeb.ReadableStream; + writable: streamWeb.WritableStream; + }; + /** + * A utility method for creating a `Duplex` from a web `ReadableStream` and `WritableStream`. + * @since v17.0.0 + * @experimental + */ + static fromWeb( + duplexStream: { + readable: streamWeb.ReadableStream; + writable: streamWeb.WritableStream; + }, + options?: Pick< + DuplexOptions, + "allowHalfOpen" | "decodeStrings" | "encoding" | "highWaterMark" | "objectMode" | "signal" + >, + ): Duplex; + /** + * Event emitter + * The defined events on documents including: + * 1. close + * 2. data + * 3. drain + * 4. end + * 5. error + * 6. finish + * 7. pause + * 8. pipe + * 9. readable + * 10. resume + * 11. unpipe + */ + addListener(event: "close", listener: () => void): this; + addListener(event: "data", listener: (chunk: any) => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "end", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "finish", listener: () => void): this; + addListener(event: "pause", listener: () => void): this; + addListener(event: "pipe", listener: (src: Readable) => void): this; + addListener(event: "readable", listener: () => void): this; + addListener(event: "resume", listener: () => void): this; + addListener(event: "unpipe", listener: (src: Readable) => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; + emit(event: "close"): boolean; + emit(event: "data", chunk: any): boolean; + emit(event: "drain"): boolean; + emit(event: "end"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "finish"): boolean; + emit(event: "pause"): boolean; + emit(event: "pipe", src: Readable): boolean; + emit(event: "readable"): boolean; + emit(event: "resume"): boolean; + emit(event: "unpipe", src: Readable): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "close", listener: () => void): this; + on(event: "data", listener: (chunk: any) => void): this; + on(event: "drain", listener: () => void): this; + on(event: "end", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "finish", listener: () => void): this; + on(event: "pause", listener: () => void): this; + on(event: "pipe", listener: (src: Readable) => void): this; + on(event: "readable", listener: () => void): this; + on(event: "resume", listener: () => void): this; + on(event: "unpipe", listener: (src: Readable) => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; + once(event: "close", listener: () => void): this; + once(event: "data", listener: (chunk: any) => void): this; + once(event: "drain", listener: () => void): this; + once(event: "end", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "finish", listener: () => void): this; + once(event: "pause", listener: () => void): this; + once(event: "pipe", listener: (src: Readable) => void): this; + once(event: "readable", listener: () => void): this; + once(event: "resume", listener: () => void): this; + once(event: "unpipe", listener: (src: Readable) => void): this; + once(event: string | symbol, listener: (...args: any[]) => void): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "data", listener: (chunk: any) => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "end", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "finish", listener: () => void): this; + prependListener(event: "pause", listener: () => void): this; + prependListener(event: "pipe", listener: (src: Readable) => void): this; + prependListener(event: "readable", listener: () => void): this; + prependListener(event: "resume", listener: () => void): this; + prependListener(event: "unpipe", listener: (src: Readable) => void): this; + prependListener(event: string | symbol, listener: (...args: any[]) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "data", listener: (chunk: any) => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "end", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "finish", listener: () => void): this; + prependOnceListener(event: "pause", listener: () => void): this; + prependOnceListener(event: "pipe", listener: (src: Readable) => void): this; + prependOnceListener(event: "readable", listener: () => void): this; + prependOnceListener(event: "resume", listener: () => void): this; + prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this; + prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; + removeListener(event: "close", listener: () => void): this; + removeListener(event: "data", listener: (chunk: any) => void): this; + removeListener(event: "drain", listener: () => void): this; + removeListener(event: "end", listener: () => void): this; + removeListener(event: "error", listener: (err: Error) => void): this; + removeListener(event: "finish", listener: () => void): this; + removeListener(event: "pause", listener: () => void): this; + removeListener(event: "pipe", listener: (src: Readable) => void): this; + removeListener(event: "readable", listener: () => void): this; + removeListener(event: "resume", listener: () => void): this; + removeListener(event: "unpipe", listener: (src: Readable) => void): this; + removeListener(event: string | symbol, listener: (...args: any[]) => void): this; + } + type TransformCallback = (error?: Error | null, data?: any) => void; + interface TransformOptions extends DuplexOptions { + construct?(this: Transform, callback: (error?: Error | null) => void): void; + read?(this: Transform, size: number): void; + write?( + this: Transform, + chunk: any, + encoding: BufferEncoding, + callback: (error?: Error | null) => void, + ): void; + writev?( + this: Transform, + chunks: Array<{ + chunk: any; + encoding: BufferEncoding; + }>, + callback: (error?: Error | null) => void, + ): void; + final?(this: Transform, callback: (error?: Error | null) => void): void; + destroy?(this: Transform, error: Error | null, callback: (error?: Error | null) => void): void; + transform?(this: Transform, chunk: any, encoding: BufferEncoding, callback: TransformCallback): void; + flush?(this: Transform, callback: TransformCallback): void; + } + /** + * Transform streams are `Duplex` streams where the output is in some way + * related to the input. Like all `Duplex` streams, `Transform` streams + * implement both the `Readable` and `Writable` interfaces. + * + * Examples of `Transform` streams include: + * + * * `zlib streams` + * * `crypto streams` + * @since v0.9.4 + */ + class Transform extends Duplex { + constructor(opts?: TransformOptions); + _transform(chunk: any, encoding: BufferEncoding, callback: TransformCallback): void; + _flush(callback: TransformCallback): void; + } + /** + * The `stream.PassThrough` class is a trivial implementation of a `Transform` stream that simply passes the input bytes across to the output. Its purpose is + * primarily for examples and testing, but there are some use cases where`stream.PassThrough` is useful as a building block for novel sorts of streams. + */ + class PassThrough extends Transform {} + /** + * A stream to attach a signal to. + * + * Attaches an AbortSignal to a readable or writeable stream. This lets code + * control stream destruction using an `AbortController`. + * + * Calling `abort` on the `AbortController` corresponding to the passed`AbortSignal` will behave the same way as calling `.destroy(new AbortError())`on the stream, and `controller.error(new + * AbortError())` for webstreams. + * + * ```js + * const fs = require('node:fs'); + * + * const controller = new AbortController(); + * const read = addAbortSignal( + * controller.signal, + * fs.createReadStream(('object.json')), + * ); + * // Later, abort the operation closing the stream + * controller.abort(); + * ``` + * + * Or using an `AbortSignal` with a readable stream as an async iterable: + * + * ```js + * const controller = new AbortController(); + * setTimeout(() => controller.abort(), 10_000); // set a timeout + * const stream = addAbortSignal( + * controller.signal, + * fs.createReadStream(('object.json')), + * ); + * (async () => { + * try { + * for await (const chunk of stream) { + * await process(chunk); + * } + * } catch (e) { + * if (e.name === 'AbortError') { + * // The operation was cancelled + * } else { + * throw e; + * } + * } + * })(); + * ``` + * + * Or using an `AbortSignal` with a ReadableStream: + * + * ```js + * const controller = new AbortController(); + * const rs = new ReadableStream({ + * start(controller) { + * controller.enqueue('hello'); + * controller.enqueue('world'); + * controller.close(); + * }, + * }); + * + * addAbortSignal(controller.signal, rs); + * + * finished(rs, (err) => { + * if (err) { + * if (err.name === 'AbortError') { + * // The operation was cancelled + * } + * } + * }); + * + * const reader = rs.getReader(); + * + * reader.read().then(({ value, done }) => { + * console.log(value); // hello + * console.log(done); // false + * controller.abort(); + * }); + * ``` + * @since v15.4.0 + * @param signal A signal representing possible cancellation + * @param stream a stream to attach a signal to + */ + function addAbortSignal(signal: AbortSignal, stream: T): T; + /** + * Returns the default highWaterMark used by streams. + * Defaults to `16384` (16 KiB), or `16` for `objectMode`. + * @since v19.9.0 + * @param objectMode + */ + function getDefaultHighWaterMark(objectMode: boolean): number; + /** + * Sets the default highWaterMark used by streams. + * @since v19.9.0 + * @param objectMode + * @param value highWaterMark value + */ + function setDefaultHighWaterMark(objectMode: boolean, value: number): void; + interface FinishedOptions extends Abortable { + error?: boolean | undefined; + readable?: boolean | undefined; + writable?: boolean | undefined; + } + /** + * A readable and/or writable stream/webstream. + * + * A function to get notified when a stream is no longer readable, writable + * or has experienced an error or a premature close event. + * + * ```js + * const { finished } = require('node:stream'); + * const fs = require('node:fs'); + * + * const rs = fs.createReadStream('archive.tar'); + * + * finished(rs, (err) => { + * if (err) { + * console.error('Stream failed.', err); + * } else { + * console.log('Stream is done reading.'); + * } + * }); + * + * rs.resume(); // Drain the stream. + * ``` + * + * Especially useful in error handling scenarios where a stream is destroyed + * prematurely (like an aborted HTTP request), and will not emit `'end'`or `'finish'`. + * + * The `finished` API provides `promise version`. + * + * `stream.finished()` leaves dangling event listeners (in particular`'error'`, `'end'`, `'finish'` and `'close'`) after `callback` has been + * invoked. The reason for this is so that unexpected `'error'` events (due to + * incorrect stream implementations) do not cause unexpected crashes. + * If this is unwanted behavior then the returned cleanup function needs to be + * invoked in the callback: + * + * ```js + * const cleanup = finished(rs, (err) => { + * cleanup(); + * // ... + * }); + * ``` + * @since v10.0.0 + * @param stream A readable and/or writable stream. + * @param callback A callback function that takes an optional error argument. + * @return A cleanup function which removes all registered listeners. + */ + function finished( + stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, + options: FinishedOptions, + callback: (err?: NodeJS.ErrnoException | null) => void, + ): () => void; + function finished( + stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, + callback: (err?: NodeJS.ErrnoException | null) => void, + ): () => void; + namespace finished { + function __promisify__( + stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, + options?: FinishedOptions, + ): Promise; + } + type PipelineSourceFunction = () => Iterable | AsyncIterable; + type PipelineSource = Iterable | AsyncIterable | NodeJS.ReadableStream | PipelineSourceFunction; + type PipelineTransform, U> = + | NodeJS.ReadWriteStream + | (( + source: S extends (...args: any[]) => Iterable | AsyncIterable ? AsyncIterable + : S, + ) => AsyncIterable); + type PipelineTransformSource = PipelineSource | PipelineTransform; + type PipelineDestinationIterableFunction = (source: AsyncIterable) => AsyncIterable; + type PipelineDestinationPromiseFunction = (source: AsyncIterable) => Promise

    ; + type PipelineDestination, P> = S extends + PipelineTransformSource ? + | NodeJS.WritableStream + | PipelineDestinationIterableFunction + | PipelineDestinationPromiseFunction + : never; + type PipelineCallback> = S extends + PipelineDestinationPromiseFunction ? (err: NodeJS.ErrnoException | null, value: P) => void + : (err: NodeJS.ErrnoException | null) => void; + type PipelinePromise> = S extends + PipelineDestinationPromiseFunction ? Promise

    : Promise; + interface PipelineOptions { + signal?: AbortSignal | undefined; + end?: boolean | undefined; + } + /** + * A module method to pipe between streams and generators forwarding errors and + * properly cleaning up and provide a callback when the pipeline is complete. + * + * ```js + * const { pipeline } = require('node:stream'); + * const fs = require('node:fs'); + * const zlib = require('node:zlib'); + * + * // Use the pipeline API to easily pipe a series of streams + * // together and get notified when the pipeline is fully done. + * + * // A pipeline to gzip a potentially huge tar file efficiently: + * + * pipeline( + * fs.createReadStream('archive.tar'), + * zlib.createGzip(), + * fs.createWriteStream('archive.tar.gz'), + * (err) => { + * if (err) { + * console.error('Pipeline failed.', err); + * } else { + * console.log('Pipeline succeeded.'); + * } + * }, + * ); + * ``` + * + * The `pipeline` API provides a `promise version`. + * + * `stream.pipeline()` will call `stream.destroy(err)` on all streams except: + * + * * `Readable` streams which have emitted `'end'` or `'close'`. + * * `Writable` streams which have emitted `'finish'` or `'close'`. + * + * `stream.pipeline()` leaves dangling event listeners on the streams + * after the `callback` has been invoked. In the case of reuse of streams after + * failure, this can cause event listener leaks and swallowed errors. If the last + * stream is readable, dangling event listeners will be removed so that the last + * stream can be consumed later. + * + * `stream.pipeline()` closes all the streams when an error is raised. + * The `IncomingRequest` usage with `pipeline` could lead to an unexpected behavior + * once it would destroy the socket without sending the expected response. + * See the example below: + * + * ```js + * const fs = require('node:fs'); + * const http = require('node:http'); + * const { pipeline } = require('node:stream'); + * + * const server = http.createServer((req, res) => { + * const fileStream = fs.createReadStream('./fileNotExist.txt'); + * pipeline(fileStream, res, (err) => { + * if (err) { + * console.log(err); // No such file + * // this message can't be sent once `pipeline` already destroyed the socket + * return res.end('error!!!'); + * } + * }); + * }); + * ``` + * @since v10.0.0 + * @param callback Called when the pipeline is fully done. + */ + function pipeline, B extends PipelineDestination>( + source: A, + destination: B, + callback?: PipelineCallback, + ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + destination: B, + callback?: PipelineCallback, + ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + destination: B, + callback?: PipelineCallback, + ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + T3 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + transform3: T3, + destination: B, + callback?: PipelineCallback, + ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + T3 extends PipelineTransform, + T4 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + transform3: T3, + transform4: T4, + destination: B, + callback?: PipelineCallback, + ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream; + function pipeline( + streams: ReadonlyArray, + callback?: (err: NodeJS.ErrnoException | null) => void, + ): NodeJS.WritableStream; + function pipeline( + stream1: NodeJS.ReadableStream, + stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, + ...streams: Array< + NodeJS.ReadWriteStream | NodeJS.WritableStream | ((err: NodeJS.ErrnoException | null) => void) + > + ): NodeJS.WritableStream; + namespace pipeline { + function __promisify__, B extends PipelineDestination>( + source: A, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function __promisify__< + A extends PipelineSource, + T1 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function __promisify__< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function __promisify__< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + T3 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + transform3: T3, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function __promisify__< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + T3 extends PipelineTransform, + T4 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + transform3: T3, + transform4: T4, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function __promisify__( + streams: ReadonlyArray, + options?: PipelineOptions, + ): Promise; + function __promisify__( + stream1: NodeJS.ReadableStream, + stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, + ...streams: Array + ): Promise; + } + interface Pipe { + close(): void; + hasRef(): boolean; + ref(): void; + unref(): void; + } + /** + * Returns whether the stream has encountered an error. + * @since v17.3.0, v16.14.0 + * @experimental + */ + function isErrored(stream: Readable | Writable | NodeJS.ReadableStream | NodeJS.WritableStream): boolean; + /** + * Returns whether the stream is readable. + * @since v17.4.0, v16.14.0 + * @experimental + */ + function isReadable(stream: Readable | NodeJS.ReadableStream): boolean; + const promises: typeof streamPromises; + const consumers: typeof streamConsumers; + } + export = internal; +} +declare module "node:stream" { + import stream = require("stream"); + export = stream; +} diff --git a/node_modules/@types/node/ts4.8/stream/consumers.d.ts b/node_modules/@types/node/ts4.8/stream/consumers.d.ts new file mode 100644 index 000000000..5ad9cbab9 --- /dev/null +++ b/node_modules/@types/node/ts4.8/stream/consumers.d.ts @@ -0,0 +1,12 @@ +declare module "stream/consumers" { + import { Blob as NodeBlob } from "node:buffer"; + import { Readable } from "node:stream"; + function buffer(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; + function text(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; + function arrayBuffer(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; + function blob(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; + function json(stream: NodeJS.ReadableStream | Readable | AsyncIterable): Promise; +} +declare module "node:stream/consumers" { + export * from "stream/consumers"; +} diff --git a/node_modules/@types/node/ts4.8/stream/promises.d.ts b/node_modules/@types/node/ts4.8/stream/promises.d.ts new file mode 100644 index 000000000..6eac5b715 --- /dev/null +++ b/node_modules/@types/node/ts4.8/stream/promises.d.ts @@ -0,0 +1,83 @@ +declare module "stream/promises" { + import { + FinishedOptions, + PipelineDestination, + PipelineOptions, + PipelinePromise, + PipelineSource, + PipelineTransform, + } from "node:stream"; + function finished( + stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, + options?: FinishedOptions, + ): Promise; + function pipeline, B extends PipelineDestination>( + source: A, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + T3 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + transform3: T3, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function pipeline< + A extends PipelineSource, + T1 extends PipelineTransform, + T2 extends PipelineTransform, + T3 extends PipelineTransform, + T4 extends PipelineTransform, + B extends PipelineDestination, + >( + source: A, + transform1: T1, + transform2: T2, + transform3: T3, + transform4: T4, + destination: B, + options?: PipelineOptions, + ): PipelinePromise; + function pipeline( + streams: ReadonlyArray, + options?: PipelineOptions, + ): Promise; + function pipeline( + stream1: NodeJS.ReadableStream, + stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, + ...streams: Array + ): Promise; +} +declare module "node:stream/promises" { + export * from "stream/promises"; +} diff --git a/node_modules/@types/node/ts4.8/stream/web.d.ts b/node_modules/@types/node/ts4.8/stream/web.d.ts new file mode 100644 index 000000000..0d9161375 --- /dev/null +++ b/node_modules/@types/node/ts4.8/stream/web.d.ts @@ -0,0 +1,350 @@ +declare module "stream/web" { + // stub module, pending copy&paste from .d.ts or manual impl + // copy from lib.dom.d.ts + interface ReadableWritablePair { + readable: ReadableStream; + /** + * Provides a convenient, chainable way of piping this readable stream + * through a transform stream (or any other { writable, readable } + * pair). It simply pipes the stream into the writable side of the + * supplied pair, and returns the readable side for further use. + * + * Piping a stream will lock it for the duration of the pipe, preventing + * any other consumer from acquiring a reader. + */ + writable: WritableStream; + } + interface StreamPipeOptions { + preventAbort?: boolean; + preventCancel?: boolean; + /** + * Pipes this readable stream to a given writable stream destination. + * The way in which the piping process behaves under various error + * conditions can be customized with a number of passed options. It + * returns a promise that fulfills when the piping process completes + * successfully, or rejects if any errors were encountered. + * + * Piping a stream will lock it for the duration of the pipe, preventing + * any other consumer from acquiring a reader. + * + * Errors and closures of the source and destination streams propagate + * as follows: + * + * An error in this source readable stream will abort destination, + * unless preventAbort is truthy. The returned promise will be rejected + * with the source's error, or with any error that occurs during + * aborting the destination. + * + * An error in destination will cancel this source readable stream, + * unless preventCancel is truthy. The returned promise will be rejected + * with the destination's error, or with any error that occurs during + * canceling the source. + * + * When this source readable stream closes, destination will be closed, + * unless preventClose is truthy. The returned promise will be fulfilled + * once this process completes, unless an error is encountered while + * closing the destination, in which case it will be rejected with that + * error. + * + * If destination starts out closed or closing, this source readable + * stream will be canceled, unless preventCancel is true. The returned + * promise will be rejected with an error indicating piping to a closed + * stream failed, or with any error that occurs during canceling the + * source. + * + * The signal option can be set to an AbortSignal to allow aborting an + * ongoing pipe operation via the corresponding AbortController. In this + * case, this source readable stream will be canceled, and destination + * aborted, unless the respective options preventCancel or preventAbort + * are set. + */ + preventClose?: boolean; + signal?: AbortSignal; + } + interface ReadableStreamGenericReader { + readonly closed: Promise; + cancel(reason?: any): Promise; + } + interface ReadableStreamDefaultReadValueResult { + done: false; + value: T; + } + interface ReadableStreamDefaultReadDoneResult { + done: true; + value?: undefined; + } + type ReadableStreamController = ReadableStreamDefaultController; + type ReadableStreamDefaultReadResult = + | ReadableStreamDefaultReadValueResult + | ReadableStreamDefaultReadDoneResult; + interface ReadableStreamReadValueResult { + done: false; + value: T; + } + interface ReadableStreamReadDoneResult { + done: true; + value?: T; + } + type ReadableStreamReadResult = ReadableStreamReadValueResult | ReadableStreamReadDoneResult; + interface ReadableByteStreamControllerCallback { + (controller: ReadableByteStreamController): void | PromiseLike; + } + interface UnderlyingSinkAbortCallback { + (reason?: any): void | PromiseLike; + } + interface UnderlyingSinkCloseCallback { + (): void | PromiseLike; + } + interface UnderlyingSinkStartCallback { + (controller: WritableStreamDefaultController): any; + } + interface UnderlyingSinkWriteCallback { + (chunk: W, controller: WritableStreamDefaultController): void | PromiseLike; + } + interface UnderlyingSourceCancelCallback { + (reason?: any): void | PromiseLike; + } + interface UnderlyingSourcePullCallback { + (controller: ReadableStreamController): void | PromiseLike; + } + interface UnderlyingSourceStartCallback { + (controller: ReadableStreamController): any; + } + interface TransformerFlushCallback { + (controller: TransformStreamDefaultController): void | PromiseLike; + } + interface TransformerStartCallback { + (controller: TransformStreamDefaultController): any; + } + interface TransformerTransformCallback { + (chunk: I, controller: TransformStreamDefaultController): void | PromiseLike; + } + interface UnderlyingByteSource { + autoAllocateChunkSize?: number; + cancel?: ReadableStreamErrorCallback; + pull?: ReadableByteStreamControllerCallback; + start?: ReadableByteStreamControllerCallback; + type: "bytes"; + } + interface UnderlyingSource { + cancel?: UnderlyingSourceCancelCallback; + pull?: UnderlyingSourcePullCallback; + start?: UnderlyingSourceStartCallback; + type?: undefined; + } + interface UnderlyingSink { + abort?: UnderlyingSinkAbortCallback; + close?: UnderlyingSinkCloseCallback; + start?: UnderlyingSinkStartCallback; + type?: undefined; + write?: UnderlyingSinkWriteCallback; + } + interface ReadableStreamErrorCallback { + (reason: any): void | PromiseLike; + } + /** This Streams API interface represents a readable stream of byte data. */ + interface ReadableStream { + readonly locked: boolean; + cancel(reason?: any): Promise; + getReader(): ReadableStreamDefaultReader; + getReader(options: { mode: "byob" }): ReadableStreamBYOBReader; + pipeThrough(transform: ReadableWritablePair, options?: StreamPipeOptions): ReadableStream; + pipeTo(destination: WritableStream, options?: StreamPipeOptions): Promise; + tee(): [ReadableStream, ReadableStream]; + values(options?: { preventCancel?: boolean }): AsyncIterableIterator; + [Symbol.asyncIterator](): AsyncIterableIterator; + } + const ReadableStream: { + prototype: ReadableStream; + new(underlyingSource: UnderlyingByteSource, strategy?: QueuingStrategy): ReadableStream; + new(underlyingSource?: UnderlyingSource, strategy?: QueuingStrategy): ReadableStream; + }; + interface ReadableStreamDefaultReader extends ReadableStreamGenericReader { + read(): Promise>; + releaseLock(): void; + } + interface ReadableStreamBYOBReader extends ReadableStreamGenericReader { + read(view: T): Promise>; + releaseLock(): void; + } + const ReadableStreamDefaultReader: { + prototype: ReadableStreamDefaultReader; + new(stream: ReadableStream): ReadableStreamDefaultReader; + }; + const ReadableStreamBYOBReader: any; + const ReadableStreamBYOBRequest: any; + interface ReadableByteStreamController { + readonly byobRequest: undefined; + readonly desiredSize: number | null; + close(): void; + enqueue(chunk: ArrayBufferView): void; + error(error?: any): void; + } + const ReadableByteStreamController: { + prototype: ReadableByteStreamController; + new(): ReadableByteStreamController; + }; + interface ReadableStreamDefaultController { + readonly desiredSize: number | null; + close(): void; + enqueue(chunk?: R): void; + error(e?: any): void; + } + const ReadableStreamDefaultController: { + prototype: ReadableStreamDefaultController; + new(): ReadableStreamDefaultController; + }; + interface Transformer { + flush?: TransformerFlushCallback; + readableType?: undefined; + start?: TransformerStartCallback; + transform?: TransformerTransformCallback; + writableType?: undefined; + } + interface TransformStream { + readonly readable: ReadableStream; + readonly writable: WritableStream; + } + const TransformStream: { + prototype: TransformStream; + new( + transformer?: Transformer, + writableStrategy?: QueuingStrategy, + readableStrategy?: QueuingStrategy, + ): TransformStream; + }; + interface TransformStreamDefaultController { + readonly desiredSize: number | null; + enqueue(chunk?: O): void; + error(reason?: any): void; + terminate(): void; + } + const TransformStreamDefaultController: { + prototype: TransformStreamDefaultController; + new(): TransformStreamDefaultController; + }; + /** + * This Streams API interface provides a standard abstraction for writing + * streaming data to a destination, known as a sink. This object comes with + * built-in back pressure and queuing. + */ + interface WritableStream { + readonly locked: boolean; + abort(reason?: any): Promise; + close(): Promise; + getWriter(): WritableStreamDefaultWriter; + } + const WritableStream: { + prototype: WritableStream; + new(underlyingSink?: UnderlyingSink, strategy?: QueuingStrategy): WritableStream; + }; + /** + * This Streams API interface is the object returned by + * WritableStream.getWriter() and once created locks the < writer to the + * WritableStream ensuring that no other streams can write to the underlying + * sink. + */ + interface WritableStreamDefaultWriter { + readonly closed: Promise; + readonly desiredSize: number | null; + readonly ready: Promise; + abort(reason?: any): Promise; + close(): Promise; + releaseLock(): void; + write(chunk?: W): Promise; + } + const WritableStreamDefaultWriter: { + prototype: WritableStreamDefaultWriter; + new(stream: WritableStream): WritableStreamDefaultWriter; + }; + /** + * This Streams API interface represents a controller allowing control of a + * WritableStream's state. When constructing a WritableStream, the + * underlying sink is given a corresponding WritableStreamDefaultController + * instance to manipulate. + */ + interface WritableStreamDefaultController { + error(e?: any): void; + } + const WritableStreamDefaultController: { + prototype: WritableStreamDefaultController; + new(): WritableStreamDefaultController; + }; + interface QueuingStrategy { + highWaterMark?: number; + size?: QueuingStrategySize; + } + interface QueuingStrategySize { + (chunk?: T): number; + } + interface QueuingStrategyInit { + /** + * Creates a new ByteLengthQueuingStrategy with the provided high water + * mark. + * + * Note that the provided high water mark will not be validated ahead of + * time. Instead, if it is negative, NaN, or not a number, the resulting + * ByteLengthQueuingStrategy will cause the corresponding stream + * constructor to throw. + */ + highWaterMark: number; + } + /** + * This Streams API interface provides a built-in byte length queuing + * strategy that can be used when constructing streams. + */ + interface ByteLengthQueuingStrategy extends QueuingStrategy { + readonly highWaterMark: number; + readonly size: QueuingStrategySize; + } + const ByteLengthQueuingStrategy: { + prototype: ByteLengthQueuingStrategy; + new(init: QueuingStrategyInit): ByteLengthQueuingStrategy; + }; + /** + * This Streams API interface provides a built-in byte length queuing + * strategy that can be used when constructing streams. + */ + interface CountQueuingStrategy extends QueuingStrategy { + readonly highWaterMark: number; + readonly size: QueuingStrategySize; + } + const CountQueuingStrategy: { + prototype: CountQueuingStrategy; + new(init: QueuingStrategyInit): CountQueuingStrategy; + }; + interface TextEncoderStream { + /** Returns "utf-8". */ + readonly encoding: "utf-8"; + readonly readable: ReadableStream; + readonly writable: WritableStream; + readonly [Symbol.toStringTag]: string; + } + const TextEncoderStream: { + prototype: TextEncoderStream; + new(): TextEncoderStream; + }; + interface TextDecoderOptions { + fatal?: boolean; + ignoreBOM?: boolean; + } + type BufferSource = ArrayBufferView | ArrayBuffer; + interface TextDecoderStream { + /** Returns encoding's name, lower cased. */ + readonly encoding: string; + /** Returns `true` if error mode is "fatal", and `false` otherwise. */ + readonly fatal: boolean; + /** Returns `true` if ignore BOM flag is set, and `false` otherwise. */ + readonly ignoreBOM: boolean; + readonly readable: ReadableStream; + readonly writable: WritableStream; + readonly [Symbol.toStringTag]: string; + } + const TextDecoderStream: { + prototype: TextDecoderStream; + new(label?: string, options?: TextDecoderOptions): TextDecoderStream; + }; +} +declare module "node:stream/web" { + export * from "stream/web"; +} diff --git a/node_modules/@types/node/ts4.8/string_decoder.d.ts b/node_modules/@types/node/ts4.8/string_decoder.d.ts new file mode 100644 index 000000000..b8691e1f0 --- /dev/null +++ b/node_modules/@types/node/ts4.8/string_decoder.d.ts @@ -0,0 +1,67 @@ +/** + * The `node:string_decoder` module provides an API for decoding `Buffer` objects + * into strings in a manner that preserves encoded multi-byte UTF-8 and UTF-16 + * characters. It can be accessed using: + * + * ```js + * const { StringDecoder } = require('node:string_decoder'); + * ``` + * + * The following example shows the basic use of the `StringDecoder` class. + * + * ```js + * const { StringDecoder } = require('node:string_decoder'); + * const decoder = new StringDecoder('utf8'); + * + * const cent = Buffer.from([0xC2, 0xA2]); + * console.log(decoder.write(cent)); // Prints: ¢ + * + * const euro = Buffer.from([0xE2, 0x82, 0xAC]); + * console.log(decoder.write(euro)); // Prints: € + * ``` + * + * When a `Buffer` instance is written to the `StringDecoder` instance, an + * internal buffer is used to ensure that the decoded string does not contain + * any incomplete multibyte characters. These are held in the buffer until the + * next call to `stringDecoder.write()` or until `stringDecoder.end()` is called. + * + * In the following example, the three UTF-8 encoded bytes of the European Euro + * symbol (`€`) are written over three separate operations: + * + * ```js + * const { StringDecoder } = require('node:string_decoder'); + * const decoder = new StringDecoder('utf8'); + * + * decoder.write(Buffer.from([0xE2])); + * decoder.write(Buffer.from([0x82])); + * console.log(decoder.end(Buffer.from([0xAC]))); // Prints: € + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/string_decoder.js) + */ +declare module "string_decoder" { + class StringDecoder { + constructor(encoding?: BufferEncoding); + /** + * Returns a decoded string, ensuring that any incomplete multibyte characters at + * the end of the `Buffer`, or `TypedArray`, or `DataView` are omitted from the + * returned string and stored in an internal buffer for the next call to`stringDecoder.write()` or `stringDecoder.end()`. + * @since v0.1.99 + * @param buffer The bytes to decode. + */ + write(buffer: Buffer): string; + /** + * Returns any remaining input stored in the internal buffer as a string. Bytes + * representing incomplete UTF-8 and UTF-16 characters will be replaced with + * substitution characters appropriate for the character encoding. + * + * If the `buffer` argument is provided, one final call to `stringDecoder.write()`is performed before returning the remaining input. + * After `end()` is called, the `stringDecoder` object can be reused for new input. + * @since v0.9.3 + * @param buffer The bytes to decode. + */ + end(buffer?: Buffer): string; + } +} +declare module "node:string_decoder" { + export * from "string_decoder"; +} diff --git a/node_modules/@types/node/ts4.8/test.d.ts b/node_modules/@types/node/ts4.8/test.d.ts new file mode 100644 index 000000000..44b6a9640 --- /dev/null +++ b/node_modules/@types/node/ts4.8/test.d.ts @@ -0,0 +1,1382 @@ +/** + * The `node:test` module facilitates the creation of JavaScript tests. + * To access it: + * + * ```js + * import test from 'node:test'; + * ``` + * + * This module is only available under the `node:` scheme. The following will not + * work: + * + * ```js + * import test from 'test'; + * ``` + * + * Tests created via the `test` module consist of a single function that is + * processed in one of three ways: + * + * 1. A synchronous function that is considered failing if it throws an exception, + * and is considered passing otherwise. + * 2. A function that returns a `Promise` that is considered failing if the`Promise` rejects, and is considered passing if the `Promise` fulfills. + * 3. A function that receives a callback function. If the callback receives any + * truthy value as its first argument, the test is considered failing. If a + * falsy value is passed as the first argument to the callback, the test is + * considered passing. If the test function receives a callback function and + * also returns a `Promise`, the test will fail. + * + * The following example illustrates how tests are written using the`test` module. + * + * ```js + * test('synchronous passing test', (t) => { + * // This test passes because it does not throw an exception. + * assert.strictEqual(1, 1); + * }); + * + * test('synchronous failing test', (t) => { + * // This test fails because it throws an exception. + * assert.strictEqual(1, 2); + * }); + * + * test('asynchronous passing test', async (t) => { + * // This test passes because the Promise returned by the async + * // function is settled and not rejected. + * assert.strictEqual(1, 1); + * }); + * + * test('asynchronous failing test', async (t) => { + * // This test fails because the Promise returned by the async + * // function is rejected. + * assert.strictEqual(1, 2); + * }); + * + * test('failing test using Promises', (t) => { + * // Promises can be used directly as well. + * return new Promise((resolve, reject) => { + * setImmediate(() => { + * reject(new Error('this will cause the test to fail')); + * }); + * }); + * }); + * + * test('callback passing test', (t, done) => { + * // done() is the callback function. When the setImmediate() runs, it invokes + * // done() with no arguments. + * setImmediate(done); + * }); + * + * test('callback failing test', (t, done) => { + * // When the setImmediate() runs, done() is invoked with an Error object and + * // the test fails. + * setImmediate(() => { + * done(new Error('callback failure')); + * }); + * }); + * ``` + * + * If any tests fail, the process exit code is set to `1`. + * @since v18.0.0, v16.17.0 + * @see [source](https://github.com/nodejs/node/blob/v20.4.0/lib/test.js) + */ +declare module "node:test" { + import { Readable } from "node:stream"; + import { AsyncResource } from "node:async_hooks"; + /** + * ```js + * import { tap } from 'node:test/reporters'; + * import { run } from 'node:test'; + * import process from 'node:process'; + * import path from 'node:path'; + * + * run({ files: [path.resolve('./tests/test.js')] }) + * .compose(tap) + * .pipe(process.stdout); + * ``` + * @since v18.9.0, v16.19.0 + * @param options Configuration options for running tests. The following properties are supported: + */ + function run(options?: RunOptions): TestsStream; + /** + * The `test()` function is the value imported from the `test` module. Each + * invocation of this function results in reporting the test to the `TestsStream`. + * + * The `TestContext` object passed to the `fn` argument can be used to perform + * actions related to the current test. Examples include skipping the test, adding + * additional diagnostic information, or creating subtests. + * + * `test()` returns a `Promise` that fulfills once the test completes. + * if `test()` is called within a `describe()` block, it fulfills immediately. + * The return value can usually be discarded for top level tests. + * However, the return value from subtests should be used to prevent the parent + * test from finishing first and cancelling the subtest + * as shown in the following example. + * + * ```js + * test('top level test', async (t) => { + * // The setTimeout() in the following subtest would cause it to outlive its + * // parent test if 'await' is removed on the next line. Once the parent test + * // completes, it will cancel any outstanding subtests. + * await t.test('longer running subtest', async (t) => { + * return new Promise((resolve, reject) => { + * setTimeout(resolve, 1000); + * }); + * }); + * }); + * ``` + * + * The `timeout` option can be used to fail the test if it takes longer than`timeout` milliseconds to complete. However, it is not a reliable mechanism for + * canceling tests because a running test might block the application thread and + * thus prevent the scheduled cancellation. + * @since v18.0.0, v16.17.0 + * @param [name='The name'] The name of the test, which is displayed when reporting test results. + * @param options Configuration options for the test. The following properties are supported: + * @param [fn='A no-op function'] The function under test. The first argument to this function is a {@link TestContext} object. If the test uses callbacks, the callback function is passed as the + * second argument. + * @return Fulfilled with `undefined` once the test completes, or immediately if the test runs within {@link describe}. + */ + function test(name?: string, fn?: TestFn): Promise; + function test(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function test(options?: TestOptions, fn?: TestFn): Promise; + function test(fn?: TestFn): Promise; + namespace test { + export { after, afterEach, before, beforeEach, describe, it, mock, only, run, skip, test, todo }; + } + /** + * The `describe()` function imported from the `node:test` module. Each + * invocation of this function results in the creation of a Subtest. + * After invocation of top level `describe` functions, + * all top level tests and suites will execute. + * @param [name='The name'] The name of the suite, which is displayed when reporting test results. + * @param options Configuration options for the suite. supports the same options as `test([name][, options][, fn])`. + * @param [fn='A no-op function'] The function under suite declaring all subtests and subsuites. The first argument to this function is a {@link SuiteContext} object. + * @return Immediately fulfilled with `undefined`. + */ + function describe(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; + function describe(name?: string, fn?: SuiteFn): Promise; + function describe(options?: TestOptions, fn?: SuiteFn): Promise; + function describe(fn?: SuiteFn): Promise; + namespace describe { + /** + * Shorthand for skipping a suite, same as `describe([name], { skip: true }[, fn])`. + */ + function skip(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; + function skip(name?: string, fn?: SuiteFn): Promise; + function skip(options?: TestOptions, fn?: SuiteFn): Promise; + function skip(fn?: SuiteFn): Promise; + /** + * Shorthand for marking a suite as `TODO`, same as `describe([name], { todo: true }[, fn])`. + */ + function todo(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; + function todo(name?: string, fn?: SuiteFn): Promise; + function todo(options?: TestOptions, fn?: SuiteFn): Promise; + function todo(fn?: SuiteFn): Promise; + /** + * Shorthand for marking a suite as `only`, same as `describe([name], { only: true }[, fn])`. + * @since v18.15.0 + */ + function only(name?: string, options?: TestOptions, fn?: SuiteFn): Promise; + function only(name?: string, fn?: SuiteFn): Promise; + function only(options?: TestOptions, fn?: SuiteFn): Promise; + function only(fn?: SuiteFn): Promise; + } + /** + * Shorthand for `test()`. + * + * The `it()` function is imported from the `node:test` module. + * @since v18.6.0, v16.17.0 + */ + function it(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function it(name?: string, fn?: TestFn): Promise; + function it(options?: TestOptions, fn?: TestFn): Promise; + function it(fn?: TestFn): Promise; + namespace it { + /** + * Shorthand for skipping a test, same as `it([name], { skip: true }[, fn])`. + */ + function skip(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function skip(name?: string, fn?: TestFn): Promise; + function skip(options?: TestOptions, fn?: TestFn): Promise; + function skip(fn?: TestFn): Promise; + /** + * Shorthand for marking a test as `TODO`, same as `it([name], { todo: true }[, fn])`. + */ + function todo(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function todo(name?: string, fn?: TestFn): Promise; + function todo(options?: TestOptions, fn?: TestFn): Promise; + function todo(fn?: TestFn): Promise; + /** + * Shorthand for marking a test as `only`, same as `it([name], { only: true }[, fn])`. + * @since v18.15.0 + */ + function only(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function only(name?: string, fn?: TestFn): Promise; + function only(options?: TestOptions, fn?: TestFn): Promise; + function only(fn?: TestFn): Promise; + } + /** + * Shorthand for skipping a test, same as `test([name], { skip: true }[, fn])`. + * @since v20.2.0 + */ + function skip(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function skip(name?: string, fn?: TestFn): Promise; + function skip(options?: TestOptions, fn?: TestFn): Promise; + function skip(fn?: TestFn): Promise; + /** + * Shorthand for marking a test as `TODO`, same as `test([name], { todo: true }[, fn])`. + * @since v20.2.0 + */ + function todo(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function todo(name?: string, fn?: TestFn): Promise; + function todo(options?: TestOptions, fn?: TestFn): Promise; + function todo(fn?: TestFn): Promise; + /** + * Shorthand for marking a test as `only`, same as `test([name], { only: true }[, fn])`. + * @since v20.2.0 + */ + function only(name?: string, options?: TestOptions, fn?: TestFn): Promise; + function only(name?: string, fn?: TestFn): Promise; + function only(options?: TestOptions, fn?: TestFn): Promise; + function only(fn?: TestFn): Promise; + /** + * The type of a function under test. The first argument to this function is a + * {@link TestContext} object. If the test uses callbacks, the callback function is passed as + * the second argument. + */ + type TestFn = (t: TestContext, done: (result?: any) => void) => void | Promise; + /** + * The type of a function under Suite. + */ + type SuiteFn = (s: SuiteContext) => void | Promise; + interface TestShard { + /** + * A positive integer between 1 and `` that specifies the index of the shard to run. + */ + index: number; + /** + * A positive integer that specifies the total number of shards to split the test files to. + */ + total: number; + } + interface RunOptions { + /** + * If a number is provided, then that many files would run in parallel. + * If truthy, it would run (number of cpu cores - 1) files in parallel. + * If falsy, it would only run one file at a time. + * If unspecified, subtests inherit this value from their parent. + * @default true + */ + concurrency?: number | boolean | undefined; + /** + * An array containing the list of files to run. + * If unspecified, the test runner execution model will be used. + */ + files?: readonly string[] | undefined; + /** + * Allows aborting an in-progress test execution. + * @default undefined + */ + signal?: AbortSignal | undefined; + /** + * A number of milliseconds the test will fail after. + * If unspecified, subtests inherit this value from their parent. + * @default Infinity + */ + timeout?: number | undefined; + /** + * Sets inspector port of test child process. + * If a nullish value is provided, each process gets its own port, + * incremented from the primary's `process.debugPort`. + */ + inspectPort?: number | (() => number) | undefined; + /** + * That can be used to only run tests whose name matches the provided pattern. + * Test name patterns are interpreted as JavaScript regular expressions. + * For each test that is executed, any corresponding test hooks, such as `beforeEach()`, are also run. + */ + testNamePatterns?: string | RegExp | string[] | RegExp[]; + /** + * If truthy, the test context will only run tests that have the `only` option set + */ + only?: boolean; + /** + * A function that accepts the TestsStream instance and can be used to setup listeners before any tests are run. + */ + setup?: (root: Test) => void | Promise; + /** + * Whether to run in watch mode or not. + * @default false + */ + watch?: boolean | undefined; + /** + * Running tests in a specific shard. + * @default undefined + */ + shard?: TestShard | undefined; + } + class Test extends AsyncResource { + concurrency: number; + nesting: number; + only: boolean; + reporter: TestsStream; + runOnlySubtests: boolean; + testNumber: number; + timeout: number | null; + } + /** + * A successful call to `run()` method will return a new `TestsStream` object, streaming a series of events representing the execution of the tests.`TestsStream` will emit events, in the + * order of the tests definition + * @since v18.9.0, v16.19.0 + */ + class TestsStream extends Readable implements NodeJS.ReadableStream { + addListener(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; + addListener(event: "test:fail", listener: (data: TestFail) => void): this; + addListener(event: "test:pass", listener: (data: TestPass) => void): this; + addListener(event: "test:plan", listener: (data: TestPlan) => void): this; + addListener(event: "test:start", listener: (data: TestStart) => void): this; + addListener(event: "test:stderr", listener: (data: TestStderr) => void): this; + addListener(event: "test:stdout", listener: (data: TestStdout) => void): this; + addListener(event: string, listener: (...args: any[]) => void): this; + emit(event: "test:diagnostic", data: DiagnosticData): boolean; + emit(event: "test:fail", data: TestFail): boolean; + emit(event: "test:pass", data: TestPass): boolean; + emit(event: "test:plan", data: TestPlan): boolean; + emit(event: "test:start", data: TestStart): boolean; + emit(event: "test:stderr", data: TestStderr): boolean; + emit(event: "test:stdout", data: TestStdout): boolean; + emit(event: string | symbol, ...args: any[]): boolean; + on(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; + on(event: "test:fail", listener: (data: TestFail) => void): this; + on(event: "test:pass", listener: (data: TestPass) => void): this; + on(event: "test:plan", listener: (data: TestPlan) => void): this; + on(event: "test:start", listener: (data: TestStart) => void): this; + on(event: "test:stderr", listener: (data: TestStderr) => void): this; + on(event: "test:stdout", listener: (data: TestStdout) => void): this; + on(event: string, listener: (...args: any[]) => void): this; + once(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; + once(event: "test:fail", listener: (data: TestFail) => void): this; + once(event: "test:pass", listener: (data: TestPass) => void): this; + once(event: "test:plan", listener: (data: TestPlan) => void): this; + once(event: "test:start", listener: (data: TestStart) => void): this; + once(event: "test:stderr", listener: (data: TestStderr) => void): this; + once(event: "test:stdout", listener: (data: TestStdout) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; + prependListener(event: "test:fail", listener: (data: TestFail) => void): this; + prependListener(event: "test:pass", listener: (data: TestPass) => void): this; + prependListener(event: "test:plan", listener: (data: TestPlan) => void): this; + prependListener(event: "test:start", listener: (data: TestStart) => void): this; + prependListener(event: "test:stderr", listener: (data: TestStderr) => void): this; + prependListener(event: "test:stdout", listener: (data: TestStdout) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "test:diagnostic", listener: (data: DiagnosticData) => void): this; + prependOnceListener(event: "test:fail", listener: (data: TestFail) => void): this; + prependOnceListener(event: "test:pass", listener: (data: TestPass) => void): this; + prependOnceListener(event: "test:plan", listener: (data: TestPlan) => void): this; + prependOnceListener(event: "test:start", listener: (data: TestStart) => void): this; + prependOnceListener(event: "test:stderr", listener: (data: TestStderr) => void): this; + prependOnceListener(event: "test:stdout", listener: (data: TestStdout) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + } + /** + * An instance of `TestContext` is passed to each test function in order to + * interact with the test runner. However, the `TestContext` constructor is not + * exposed as part of the API. + * @since v18.0.0, v16.17.0 + */ + class TestContext { + /** + * This function is used to create a hook running before subtest of the current test. + * @param fn The hook function. If the hook uses callbacks, the callback function is passed as + * the second argument. Default: A no-op function. + * @param options Configuration options for the hook. + * @since v20.1.0 + */ + before: typeof before; + /** + * This function is used to create a hook running before each subtest of the current test. + * @param fn The hook function. If the hook uses callbacks, the callback function is passed as + * the second argument. Default: A no-op function. + * @param options Configuration options for the hook. + * @since v18.8.0 + */ + beforeEach: typeof beforeEach; + /** + * This function is used to create a hook that runs after the current test finishes. + * @param fn The hook function. If the hook uses callbacks, the callback function is passed as + * the second argument. Default: A no-op function. + * @param options Configuration options for the hook. + * @since v18.13.0 + */ + after: typeof after; + /** + * This function is used to create a hook running after each subtest of the current test. + * @param fn The hook function. If the hook uses callbacks, the callback function is passed as + * the second argument. Default: A no-op function. + * @param options Configuration options for the hook. + * @since v18.8.0 + */ + afterEach: typeof afterEach; + /** + * This function is used to write diagnostics to the output. Any diagnostic + * information is included at the end of the test's results. This function does + * not return a value. + * + * ```js + * test('top level test', (t) => { + * t.diagnostic('A diagnostic message'); + * }); + * ``` + * @since v18.0.0, v16.17.0 + * @param message Message to be reported. + */ + diagnostic(message: string): void; + /** + * The name of the test. + * @since v18.8.0, v16.18.0 + */ + readonly name: string; + /** + * If `shouldRunOnlyTests` is truthy, the test context will only run tests that + * have the `only` option set. Otherwise, all tests are run. If Node.js was not + * started with the `--test-only` command-line option, this function is a + * no-op. + * + * ```js + * test('top level test', (t) => { + * // The test context can be set to run subtests with the 'only' option. + * t.runOnly(true); + * return Promise.all([ + * t.test('this subtest is now skipped'), + * t.test('this subtest is run', { only: true }), + * ]); + * }); + * ``` + * @since v18.0.0, v16.17.0 + * @param shouldRunOnlyTests Whether or not to run `only` tests. + */ + runOnly(shouldRunOnlyTests: boolean): void; + /** + * ```js + * test('top level test', async (t) => { + * await fetch('some/uri', { signal: t.signal }); + * }); + * ``` + * @since v18.7.0, v16.17.0 + */ + readonly signal: AbortSignal; + /** + * This function causes the test's output to indicate the test as skipped. If`message` is provided, it is included in the output. Calling `skip()` does + * not terminate execution of the test function. This function does not return a + * value. + * + * ```js + * test('top level test', (t) => { + * // Make sure to return here as well if the test contains additional logic. + * t.skip('this is skipped'); + * }); + * ``` + * @since v18.0.0, v16.17.0 + * @param message Optional skip message. + */ + skip(message?: string): void; + /** + * This function adds a `TODO` directive to the test's output. If `message` is + * provided, it is included in the output. Calling `todo()` does not terminate + * execution of the test function. This function does not return a value. + * + * ```js + * test('top level test', (t) => { + * // This test is marked as `TODO` + * t.todo('this is a todo'); + * }); + * ``` + * @since v18.0.0, v16.17.0 + * @param message Optional `TODO` message. + */ + todo(message?: string): void; + /** + * This function is used to create subtests under the current test. This function behaves in + * the same fashion as the top level {@link test} function. + * @since v18.0.0 + * @param name The name of the test, which is displayed when reporting test results. + * Default: The `name` property of fn, or `''` if `fn` does not have a name. + * @param options Configuration options for the test + * @param fn The function under test. This first argument to this function is a + * {@link TestContext} object. If the test uses callbacks, the callback function is + * passed as the second argument. Default: A no-op function. + * @returns A {@link Promise} resolved with `undefined` once the test completes. + */ + test: typeof test; + /** + * Each test provides its own MockTracker instance. + */ + readonly mock: MockTracker; + } + /** + * An instance of `SuiteContext` is passed to each suite function in order to + * interact with the test runner. However, the `SuiteContext` constructor is not + * exposed as part of the API. + * @since v18.7.0, v16.17.0 + */ + class SuiteContext { + /** + * The name of the suite. + * @since v18.8.0, v16.18.0 + */ + readonly name: string; + /** + * Can be used to abort test subtasks when the test has been aborted. + * @since v18.7.0, v16.17.0 + */ + readonly signal: AbortSignal; + } + interface TestOptions { + /** + * If a number is provided, then that many tests would run in parallel. + * If truthy, it would run (number of cpu cores - 1) tests in parallel. + * For subtests, it will be `Infinity` tests in parallel. + * If falsy, it would only run one test at a time. + * If unspecified, subtests inherit this value from their parent. + * @default false + */ + concurrency?: number | boolean | undefined; + /** + * If truthy, and the test context is configured to run `only` tests, then this test will be + * run. Otherwise, the test is skipped. + * @default false + */ + only?: boolean | undefined; + /** + * Allows aborting an in-progress test. + * @since v18.8.0 + */ + signal?: AbortSignal | undefined; + /** + * If truthy, the test is skipped. If a string is provided, that string is displayed in the + * test results as the reason for skipping the test. + * @default false + */ + skip?: boolean | string | undefined; + /** + * A number of milliseconds the test will fail after. If unspecified, subtests inherit this + * value from their parent. + * @default Infinity + * @since v18.7.0 + */ + timeout?: number | undefined; + /** + * If truthy, the test marked as `TODO`. If a string is provided, that string is displayed in + * the test results as the reason why the test is `TODO`. + * @default false + */ + todo?: boolean | string | undefined; + } + /** + * This function is used to create a hook running before running a suite. + * + * ```js + * describe('tests', async () => { + * before(() => console.log('about to run some test')); + * it('is a subtest', () => { + * assert.ok('some relevant assertion here'); + * }); + * }); + * ``` + * @since v18.8.0, v16.18.0 + * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. + * @param options Configuration options for the hook. The following properties are supported: + */ + function before(fn?: HookFn, options?: HookOptions): void; + /** + * This function is used to create a hook running after running a suite. + * + * ```js + * describe('tests', async () => { + * after(() => console.log('finished running tests')); + * it('is a subtest', () => { + * assert.ok('some relevant assertion here'); + * }); + * }); + * ``` + * @since v18.8.0, v16.18.0 + * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. + * @param options Configuration options for the hook. The following properties are supported: + */ + function after(fn?: HookFn, options?: HookOptions): void; + /** + * This function is used to create a hook running + * before each subtest of the current suite. + * + * ```js + * describe('tests', async () => { + * beforeEach(() => console.log('about to run a test')); + * it('is a subtest', () => { + * assert.ok('some relevant assertion here'); + * }); + * }); + * ``` + * @since v18.8.0, v16.18.0 + * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. + * @param options Configuration options for the hook. The following properties are supported: + */ + function beforeEach(fn?: HookFn, options?: HookOptions): void; + /** + * This function is used to create a hook running + * after each subtest of the current test. + * + * ```js + * describe('tests', async () => { + * afterEach(() => console.log('finished running a test')); + * it('is a subtest', () => { + * assert.ok('some relevant assertion here'); + * }); + * }); + * ``` + * @since v18.8.0, v16.18.0 + * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument. + * @param options Configuration options for the hook. The following properties are supported: + */ + function afterEach(fn?: HookFn, options?: HookOptions): void; + /** + * The hook function. If the hook uses callbacks, the callback function is passed as the + * second argument. + */ + type HookFn = (s: SuiteContext, done: (result?: any) => void) => any; + /** + * Configuration options for hooks. + * @since v18.8.0 + */ + interface HookOptions { + /** + * Allows aborting an in-progress hook. + */ + signal?: AbortSignal | undefined; + /** + * A number of milliseconds the hook will fail after. If unspecified, subtests inherit this + * value from their parent. + * @default Infinity + */ + timeout?: number | undefined; + } + interface MockFunctionOptions { + /** + * The number of times that the mock will use the behavior of `implementation`. + * Once the mock function has been called `times` times, + * it will automatically restore the behavior of `original`. + * This value must be an integer greater than zero. + * @default Infinity + */ + times?: number | undefined; + } + interface MockMethodOptions extends MockFunctionOptions { + /** + * If `true`, `object[methodName]` is treated as a getter. + * This option cannot be used with the `setter` option. + */ + getter?: boolean | undefined; + /** + * If `true`, `object[methodName]` is treated as a setter. + * This option cannot be used with the `getter` option. + */ + setter?: boolean | undefined; + } + type Mock = F & { + mock: MockFunctionContext; + }; + type NoOpFunction = (...args: any[]) => undefined; + type FunctionPropertyNames = { + [K in keyof T]: T[K] extends Function ? K : never; + }[keyof T]; + /** + * The `MockTracker` class is used to manage mocking functionality. The test runner + * module provides a top level `mock` export which is a `MockTracker` instance. + * Each test also provides its own `MockTracker` instance via the test context's`mock` property. + * @since v19.1.0, v18.13.0 + */ + class MockTracker { + /** + * This function is used to create a mock function. + * + * The following example creates a mock function that increments a counter by one + * on each invocation. The `times` option is used to modify the mock behavior such + * that the first two invocations add two to the counter instead of one. + * + * ```js + * test('mocks a counting function', (t) => { + * let cnt = 0; + * + * function addOne() { + * cnt++; + * return cnt; + * } + * + * function addTwo() { + * cnt += 2; + * return cnt; + * } + * + * const fn = t.mock.fn(addOne, addTwo, { times: 2 }); + * + * assert.strictEqual(fn(), 2); + * assert.strictEqual(fn(), 4); + * assert.strictEqual(fn(), 5); + * assert.strictEqual(fn(), 6); + * }); + * ``` + * @since v19.1.0, v18.13.0 + * @param [original='A no-op function'] An optional function to create a mock on. + * @param implementation An optional function used as the mock implementation for `original`. This is useful for creating mocks that exhibit one behavior for a specified number of calls and + * then restore the behavior of `original`. + * @param options Optional configuration options for the mock function. The following properties are supported: + * @return The mocked function. The mocked function contains a special `mock` property, which is an instance of {@link MockFunctionContext}, and can be used for inspecting and changing the + * behavior of the mocked function. + */ + fn(original?: F, options?: MockFunctionOptions): Mock; + fn( + original?: F, + implementation?: Implementation, + options?: MockFunctionOptions, + ): Mock; + /** + * This function is used to create a mock on an existing object method. The + * following example demonstrates how a mock is created on an existing object + * method. + * + * ```js + * test('spies on an object method', (t) => { + * const number = { + * value: 5, + * subtract(a) { + * return this.value - a; + * }, + * }; + * + * t.mock.method(number, 'subtract'); + * assert.strictEqual(number.subtract.mock.calls.length, 0); + * assert.strictEqual(number.subtract(3), 2); + * assert.strictEqual(number.subtract.mock.calls.length, 1); + * + * const call = number.subtract.mock.calls[0]; + * + * assert.deepStrictEqual(call.arguments, [3]); + * assert.strictEqual(call.result, 2); + * assert.strictEqual(call.error, undefined); + * assert.strictEqual(call.target, undefined); + * assert.strictEqual(call.this, number); + * }); + * ``` + * @since v19.1.0, v18.13.0 + * @param object The object whose method is being mocked. + * @param methodName The identifier of the method on `object` to mock. If `object[methodName]` is not a function, an error is thrown. + * @param implementation An optional function used as the mock implementation for `object[methodName]`. + * @param options Optional configuration options for the mock method. The following properties are supported: + * @return The mocked method. The mocked method contains a special `mock` property, which is an instance of {@link MockFunctionContext}, and can be used for inspecting and changing the + * behavior of the mocked method. + */ + method< + MockedObject extends object, + MethodName extends FunctionPropertyNames, + >( + object: MockedObject, + methodName: MethodName, + options?: MockFunctionOptions, + ): MockedObject[MethodName] extends Function ? Mock + : never; + method< + MockedObject extends object, + MethodName extends FunctionPropertyNames, + Implementation extends Function, + >( + object: MockedObject, + methodName: MethodName, + implementation: Implementation, + options?: MockFunctionOptions, + ): MockedObject[MethodName] extends Function ? Mock + : never; + method( + object: MockedObject, + methodName: keyof MockedObject, + options: MockMethodOptions, + ): Mock; + method( + object: MockedObject, + methodName: keyof MockedObject, + implementation: Function, + options: MockMethodOptions, + ): Mock; + + /** + * This function is syntax sugar for `MockTracker.method` with `options.getter`set to `true`. + * @since v19.3.0, v18.13.0 + */ + getter< + MockedObject extends object, + MethodName extends keyof MockedObject, + >( + object: MockedObject, + methodName: MethodName, + options?: MockFunctionOptions, + ): Mock<() => MockedObject[MethodName]>; + getter< + MockedObject extends object, + MethodName extends keyof MockedObject, + Implementation extends Function, + >( + object: MockedObject, + methodName: MethodName, + implementation?: Implementation, + options?: MockFunctionOptions, + ): Mock<(() => MockedObject[MethodName]) | Implementation>; + /** + * This function is syntax sugar for `MockTracker.method` with `options.setter`set to `true`. + * @since v19.3.0, v18.13.0 + */ + setter< + MockedObject extends object, + MethodName extends keyof MockedObject, + >( + object: MockedObject, + methodName: MethodName, + options?: MockFunctionOptions, + ): Mock<(value: MockedObject[MethodName]) => void>; + setter< + MockedObject extends object, + MethodName extends keyof MockedObject, + Implementation extends Function, + >( + object: MockedObject, + methodName: MethodName, + implementation?: Implementation, + options?: MockFunctionOptions, + ): Mock<((value: MockedObject[MethodName]) => void) | Implementation>; + /** + * This function restores the default behavior of all mocks that were previously + * created by this `MockTracker` and disassociates the mocks from the`MockTracker` instance. Once disassociated, the mocks can still be used, but the`MockTracker` instance can no longer be + * used to reset their behavior or + * otherwise interact with them. + * + * After each test completes, this function is called on the test context's`MockTracker`. If the global `MockTracker` is used extensively, calling this + * function manually is recommended. + * @since v19.1.0, v18.13.0 + */ + reset(): void; + /** + * This function restores the default behavior of all mocks that were previously + * created by this `MockTracker`. Unlike `mock.reset()`, `mock.restoreAll()` does + * not disassociate the mocks from the `MockTracker` instance. + * @since v19.1.0, v18.13.0 + */ + restoreAll(): void; + timers: MockTimers; + } + const mock: MockTracker; + interface MockFunctionCall< + F extends Function, + ReturnType = F extends (...args: any) => infer T ? T + : F extends abstract new(...args: any) => infer T ? T + : unknown, + Args = F extends (...args: infer Y) => any ? Y + : F extends abstract new(...args: infer Y) => any ? Y + : unknown[], + > { + /** + * An array of the arguments passed to the mock function. + */ + arguments: Args; + /** + * If the mocked function threw then this property contains the thrown value. + */ + error: unknown | undefined; + /** + * The value returned by the mocked function. + * + * If the mocked function threw, it will be `undefined`. + */ + result: ReturnType | undefined; + /** + * An `Error` object whose stack can be used to determine the callsite of the mocked function invocation. + */ + stack: Error; + /** + * If the mocked function is a constructor, this field contains the class being constructed. + * Otherwise this will be `undefined`. + */ + target: F extends abstract new(...args: any) => any ? F : undefined; + /** + * The mocked function's `this` value. + */ + this: unknown; + } + /** + * The `MockFunctionContext` class is used to inspect or manipulate the behavior of + * mocks created via the `MockTracker` APIs. + * @since v19.1.0, v18.13.0 + */ + class MockFunctionContext { + /** + * A getter that returns a copy of the internal array used to track calls to the + * mock. Each entry in the array is an object with the following properties. + * @since v19.1.0, v18.13.0 + */ + readonly calls: Array>; + /** + * This function returns the number of times that this mock has been invoked. This + * function is more efficient than checking `ctx.calls.length` because `ctx.calls`is a getter that creates a copy of the internal call tracking array. + * @since v19.1.0, v18.13.0 + * @return The number of times that this mock has been invoked. + */ + callCount(): number; + /** + * This function is used to change the behavior of an existing mock. + * + * The following example creates a mock function using `t.mock.fn()`, calls the + * mock function, and then changes the mock implementation to a different function. + * + * ```js + * test('changes a mock behavior', (t) => { + * let cnt = 0; + * + * function addOne() { + * cnt++; + * return cnt; + * } + * + * function addTwo() { + * cnt += 2; + * return cnt; + * } + * + * const fn = t.mock.fn(addOne); + * + * assert.strictEqual(fn(), 1); + * fn.mock.mockImplementation(addTwo); + * assert.strictEqual(fn(), 3); + * assert.strictEqual(fn(), 5); + * }); + * ``` + * @since v19.1.0, v18.13.0 + * @param implementation The function to be used as the mock's new implementation. + */ + mockImplementation(implementation: Function): void; + /** + * This function is used to change the behavior of an existing mock for a single + * invocation. Once invocation `onCall` has occurred, the mock will revert to + * whatever behavior it would have used had `mockImplementationOnce()` not been + * called. + * + * The following example creates a mock function using `t.mock.fn()`, calls the + * mock function, changes the mock implementation to a different function for the + * next invocation, and then resumes its previous behavior. + * + * ```js + * test('changes a mock behavior once', (t) => { + * let cnt = 0; + * + * function addOne() { + * cnt++; + * return cnt; + * } + * + * function addTwo() { + * cnt += 2; + * return cnt; + * } + * + * const fn = t.mock.fn(addOne); + * + * assert.strictEqual(fn(), 1); + * fn.mock.mockImplementationOnce(addTwo); + * assert.strictEqual(fn(), 3); + * assert.strictEqual(fn(), 4); + * }); + * ``` + * @since v19.1.0, v18.13.0 + * @param implementation The function to be used as the mock's implementation for the invocation number specified by `onCall`. + * @param onCall The invocation number that will use `implementation`. If the specified invocation has already occurred then an exception is thrown. + */ + mockImplementationOnce(implementation: Function, onCall?: number): void; + /** + * Resets the call history of the mock function. + * @since v19.3.0, v18.13.0 + */ + resetCalls(): void; + /** + * Resets the implementation of the mock function to its original behavior. The + * mock can still be used after calling this function. + * @since v19.1.0, v18.13.0 + */ + restore(): void; + } + type Timer = "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout"; + /** + * Mocking timers is a technique commonly used in software testing to simulate and + * control the behavior of timers, such as `setInterval` and `setTimeout`, + * without actually waiting for the specified time intervals. + * + * The `MockTracker` provides a top-level `timers` export + * which is a `MockTimers` instance. + * @since v20.4.0 + * @experimental + */ + class MockTimers { + /** + * Enables timer mocking for the specified timers. + * + * **Note:** When you enable mocking for a specific timer, its associated + * clear function will also be implicitly mocked. + * + * Example usage: + * + * ```js + * import { mock } from 'node:test'; + * mock.timers.enable(['setInterval']); + * ``` + * + * The above example enables mocking for the `setInterval` timer and + * implicitly mocks the `clearInterval` function. Only the `setInterval`and `clearInterval` functions from `node:timers`,`node:timers/promises`, and`globalThis` will be mocked. + * + * Alternatively, if you call `mock.timers.enable()` without any parameters: + * + * All timers (`'setInterval'`, `'clearInterval'`, `'setTimeout'`, and `'clearTimeout'`) + * will be mocked. The `setInterval`, `clearInterval`, `setTimeout`, and `clearTimeout`functions from `node:timers`, `node:timers/promises`, + * and `globalThis` will be mocked. + * @since v20.4.0 + */ + enable(timers?: Timer[]): void; + /** + * This function restores the default behavior of all mocks that were previously + * created by this `MockTimers` instance and disassociates the mocks + * from the `MockTracker` instance. + * + * **Note:** After each test completes, this function is called on + * the test context's `MockTracker`. + * + * ```js + * import { mock } from 'node:test'; + * mock.timers.reset(); + * ``` + * @since v20.4.0 + */ + reset(): void; + /** + * Advances time for all mocked timers. + * + * **Note:** This diverges from how `setTimeout` in Node.js behaves and accepts + * only positive numbers. In Node.js, `setTimeout` with negative numbers is + * only supported for web compatibility reasons. + * + * The following example mocks a `setTimeout` function and + * by using `.tick` advances in + * time triggering all pending timers. + * + * ```js + * import assert from 'node:assert'; + * import { test } from 'node:test'; + * + * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => { + * const fn = context.mock.fn(); + * + * context.mock.timers.enable(['setTimeout']); + * + * setTimeout(fn, 9999); + * + * assert.strictEqual(fn.mock.callCount(), 0); + * + * // Advance in time + * context.mock.timers.tick(9999); + * + * assert.strictEqual(fn.mock.callCount(), 1); + * }); + * ``` + * + * Alternativelly, the `.tick` function can be called many times + * + * ```js + * import assert from 'node:assert'; + * import { test } from 'node:test'; + * + * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => { + * const fn = context.mock.fn(); + * context.mock.timers.enable(['setTimeout']); + * const nineSecs = 9000; + * setTimeout(fn, nineSecs); + * + * const twoSeconds = 3000; + * context.mock.timers.tick(twoSeconds); + * context.mock.timers.tick(twoSeconds); + * context.mock.timers.tick(twoSeconds); + * + * assert.strictEqual(fn.mock.callCount(), 1); + * }); + * ``` + * @since v20.4.0 + */ + tick(milliseconds: number): void; + /** + * Triggers all pending mocked timers immediately. + * + * The example below triggers all pending timers immediately, + * causing them to execute without any delay. + * + * ```js + * import assert from 'node:assert'; + * import { test } from 'node:test'; + * + * test('runAll functions following the given order', (context) => { + * context.mock.timers.enable(['setTimeout']); + * const results = []; + * setTimeout(() => results.push(1), 9999); + * + * // Notice that if both timers have the same timeout, + * // the order of execution is guaranteed + * setTimeout(() => results.push(3), 8888); + * setTimeout(() => results.push(2), 8888); + * + * assert.deepStrictEqual(results, []); + * + * context.mock.timers.runAll(); + * + * assert.deepStrictEqual(results, [3, 2, 1]); + * }); + * ``` + * + * **Note:** The `runAll()` function is specifically designed for + * triggering timers in the context of timer mocking. + * It does not have any effect on real-time system + * clocks or actual timers outside of the mocking environment. + * @since v20.4.0 + */ + runAll(): void; + /** + * Calls {@link MockTimers.reset()}. + */ + [Symbol.dispose](): void; + } + export { + after, + afterEach, + before, + beforeEach, + describe, + it, + Mock, + mock, + only, + run, + skip, + test, + test as default, + todo, + }; +} + +interface TestLocationInfo { + /** + * The column number where the test is defined, or + * `undefined` if the test was run through the REPL. + */ + column?: number; + /** + * The path of the test file, `undefined` if test is not ran through a file. + */ + file?: string; + /** + * The line number where the test is defined, or + * `undefined` if the test was run through the REPL. + */ + line?: number; +} +interface DiagnosticData extends TestLocationInfo { + /** + * The diagnostic message. + */ + message: string; + /** + * The nesting level of the test. + */ + nesting: number; +} +interface TestFail extends TestLocationInfo { + /** + * Additional execution metadata. + */ + details: { + /** + * The duration of the test in milliseconds. + */ + duration_ms: number; + /** + * The error thrown by the test. + */ + error: Error; + /** + * The type of the test, used to denote whether this is a suite. + * @since 20.0.0, 19.9.0, 18.17.0 + */ + type?: "suite"; + }; + /** + * The test name. + */ + name: string; + /** + * The nesting level of the test. + */ + nesting: number; + /** + * The ordinal number of the test. + */ + testNumber: number; + /** + * Present if `context.todo` is called. + */ + todo?: string | boolean; + /** + * Present if `context.skip` is called. + */ + skip?: string | boolean; +} +interface TestPass extends TestLocationInfo { + /** + * Additional execution metadata. + */ + details: { + /** + * The duration of the test in milliseconds. + */ + duration_ms: number; + /** + * The type of the test, used to denote whether this is a suite. + * @since 20.0.0, 19.9.0, 18.17.0 + */ + type?: "suite"; + }; + /** + * The test name. + */ + name: string; + /** + * The nesting level of the test. + */ + nesting: number; + /** + * The ordinal number of the test. + */ + testNumber: number; + /** + * Present if `context.todo` is called. + */ + todo?: string | boolean; + /** + * Present if `context.skip` is called. + */ + skip?: string | boolean; +} +interface TestPlan extends TestLocationInfo { + /** + * The nesting level of the test. + */ + nesting: number; + /** + * The number of subtests that have ran. + */ + count: number; +} +interface TestStart extends TestLocationInfo { + /** + * The test name. + */ + name: string; + /** + * The nesting level of the test. + */ + nesting: number; +} +interface TestStderr extends TestLocationInfo { + /** + * The message written to `stderr` + */ + message: string; +} +interface TestStdout extends TestLocationInfo { + /** + * The message written to `stdout` + */ + message: string; +} +interface TestEnqueue extends TestLocationInfo { + /** + * The test name + */ + name: string; + /** + * The nesting level of the test. + */ + nesting: number; +} +interface TestDequeue extends TestLocationInfo { + /** + * The test name + */ + name: string; + /** + * The nesting level of the test. + */ + nesting: number; +} + +/** + * The `node:test/reporters` module exposes the builtin-reporters for `node:test`. + * To access it: + * + * ```js + * import test from 'node:test/reporters'; + * ``` + * + * This module is only available under the `node:` scheme. The following will not + * work: + * + * ```js + * import test from 'test/reporters'; + * ``` + * @since v19.9.0 + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/test/reporters.js) + */ +declare module "node:test/reporters" { + import { Transform } from "node:stream"; + + type TestEvent = + | { type: "test:diagnostic"; data: DiagnosticData } + | { type: "test:fail"; data: TestFail } + | { type: "test:pass"; data: TestPass } + | { type: "test:plan"; data: TestPlan } + | { type: "test:start"; data: TestStart } + | { type: "test:stderr"; data: TestStderr } + | { type: "test:stdout"; data: TestStdout } + | { type: "test:enqueue"; data: TestEnqueue } + | { type: "test:dequeue"; data: TestDequeue } + | { type: "test:watch:drained" }; + type TestEventGenerator = AsyncGenerator; + + /** + * The `dot` reporter outputs the test results in a compact format, + * where each passing test is represented by a `.`, + * and each failing test is represented by a `X`. + */ + function dot(source: TestEventGenerator): AsyncGenerator<"\n" | "." | "X", void>; + /** + * The `tap` reporter outputs the test results in the [TAP](https://testanything.org/) format. + */ + function tap(source: TestEventGenerator): AsyncGenerator; + /** + * The `spec` reporter outputs the test results in a human-readable format. + */ + class Spec extends Transform { + constructor(); + } + /** + * The `junit` reporter outputs test results in a jUnit XML format + */ + function junit(source: TestEventGenerator): AsyncGenerator; + export { dot, junit, Spec as spec, tap, TestEvent }; +} diff --git a/node_modules/@types/node/ts4.8/timers.d.ts b/node_modules/@types/node/ts4.8/timers.d.ts new file mode 100644 index 000000000..039f31f7a --- /dev/null +++ b/node_modules/@types/node/ts4.8/timers.d.ts @@ -0,0 +1,240 @@ +/** + * The `timer` module exposes a global API for scheduling functions to + * be called at some future period of time. Because the timer functions are + * globals, there is no need to call `require('node:timers')` to use the API. + * + * The timer functions within Node.js implement a similar API as the timers API + * provided by Web Browsers but use a different internal implementation that is + * built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout). + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/timers.js) + */ +declare module "timers" { + import { Abortable } from "node:events"; + import { + setImmediate as setImmediatePromise, + setInterval as setIntervalPromise, + setTimeout as setTimeoutPromise, + } from "node:timers/promises"; + interface TimerOptions extends Abortable { + /** + * Set to `false` to indicate that the scheduled `Timeout` + * should not require the Node.js event loop to remain active. + * @default true + */ + ref?: boolean | undefined; + } + let setTimeout: typeof global.setTimeout; + let clearTimeout: typeof global.clearTimeout; + let setInterval: typeof global.setInterval; + let clearInterval: typeof global.clearInterval; + let setImmediate: typeof global.setImmediate; + let clearImmediate: typeof global.clearImmediate; + global { + namespace NodeJS { + // compatibility with older typings + interface Timer extends RefCounted { + hasRef(): boolean; + refresh(): this; + [Symbol.toPrimitive](): number; + } + /** + * This object is created internally and is returned from `setImmediate()`. It + * can be passed to `clearImmediate()` in order to cancel the scheduled + * actions. + * + * By default, when an immediate is scheduled, the Node.js event loop will continue + * running as long as the immediate is active. The `Immediate` object returned by `setImmediate()` exports both `immediate.ref()` and `immediate.unref()`functions that can be used to + * control this default behavior. + */ + class Immediate implements RefCounted { + /** + * When called, requests that the Node.js event loop _not_ exit so long as the`Immediate` is active. Calling `immediate.ref()` multiple times will have no + * effect. + * + * By default, all `Immediate` objects are "ref'ed", making it normally unnecessary + * to call `immediate.ref()` unless `immediate.unref()` had been called previously. + * @since v9.7.0 + * @return a reference to `immediate` + */ + ref(): this; + /** + * When called, the active `Immediate` object will not require the Node.js event + * loop to remain active. If there is no other activity keeping the event loop + * running, the process may exit before the `Immediate` object's callback is + * invoked. Calling `immediate.unref()` multiple times will have no effect. + * @since v9.7.0 + * @return a reference to `immediate` + */ + unref(): this; + /** + * If true, the `Immediate` object will keep the Node.js event loop active. + * @since v11.0.0 + */ + hasRef(): boolean; + _onImmediate: Function; // to distinguish it from the Timeout class + /** + * Cancels the immediate. This is similar to calling `clearImmediate()`. + * @since v20.5.0 + */ + [Symbol.dispose](): void; + } + /** + * This object is created internally and is returned from `setTimeout()` and `setInterval()`. It can be passed to either `clearTimeout()` or `clearInterval()` in order to cancel the + * scheduled actions. + * + * By default, when a timer is scheduled using either `setTimeout()` or `setInterval()`, the Node.js event loop will continue running as long as the + * timer is active. Each of the `Timeout` objects returned by these functions + * export both `timeout.ref()` and `timeout.unref()` functions that can be used to + * control this default behavior. + */ + class Timeout implements Timer { + /** + * When called, requests that the Node.js event loop _not_ exit so long as the`Timeout` is active. Calling `timeout.ref()` multiple times will have no effect. + * + * By default, all `Timeout` objects are "ref'ed", making it normally unnecessary + * to call `timeout.ref()` unless `timeout.unref()` had been called previously. + * @since v0.9.1 + * @return a reference to `timeout` + */ + ref(): this; + /** + * When called, the active `Timeout` object will not require the Node.js event loop + * to remain active. If there is no other activity keeping the event loop running, + * the process may exit before the `Timeout` object's callback is invoked. Calling`timeout.unref()` multiple times will have no effect. + * @since v0.9.1 + * @return a reference to `timeout` + */ + unref(): this; + /** + * If true, the `Timeout` object will keep the Node.js event loop active. + * @since v11.0.0 + */ + hasRef(): boolean; + /** + * Sets the timer's start time to the current time, and reschedules the timer to + * call its callback at the previously specified duration adjusted to the current + * time. This is useful for refreshing a timer without allocating a new + * JavaScript object. + * + * Using this on a timer that has already called its callback will reactivate the + * timer. + * @since v10.2.0 + * @return a reference to `timeout` + */ + refresh(): this; + [Symbol.toPrimitive](): number; + /** + * Cancels the timeout. + * @since v20.5.0 + */ + [Symbol.dispose](): void; + } + } + /** + * Schedules execution of a one-time `callback` after `delay` milliseconds. + * + * The `callback` will likely not be invoked in precisely `delay` milliseconds. + * Node.js makes no guarantees about the exact timing of when callbacks will fire, + * nor of their ordering. The callback will be called as close as possible to the + * time specified. + * + * When `delay` is larger than `2147483647` or less than `1`, the `delay`will be set to `1`. Non-integer delays are truncated to an integer. + * + * If `callback` is not a function, a `TypeError` will be thrown. + * + * This method has a custom variant for promises that is available using `timersPromises.setTimeout()`. + * @since v0.0.1 + * @param callback The function to call when the timer elapses. + * @param [delay=1] The number of milliseconds to wait before calling the `callback`. + * @param args Optional arguments to pass when the `callback` is called. + * @return for use with {@link clearTimeout} + */ + function setTimeout( + callback: (...args: TArgs) => void, + ms?: number, + ...args: TArgs + ): NodeJS.Timeout; + // util.promisify no rest args compability + // eslint-disable-next-line @typescript-eslint/no-invalid-void-type + function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout; + namespace setTimeout { + const __promisify__: typeof setTimeoutPromise; + } + /** + * Cancels a `Timeout` object created by `setTimeout()`. + * @since v0.0.1 + * @param timeout A `Timeout` object as returned by {@link setTimeout} or the `primitive` of the `Timeout` object as a string or a number. + */ + function clearTimeout(timeoutId: NodeJS.Timeout | string | number | undefined): void; + /** + * Schedules repeated execution of `callback` every `delay` milliseconds. + * + * When `delay` is larger than `2147483647` or less than `1`, the `delay` will be + * set to `1`. Non-integer delays are truncated to an integer. + * + * If `callback` is not a function, a `TypeError` will be thrown. + * + * This method has a custom variant for promises that is available using `timersPromises.setInterval()`. + * @since v0.0.1 + * @param callback The function to call when the timer elapses. + * @param [delay=1] The number of milliseconds to wait before calling the `callback`. + * @param args Optional arguments to pass when the `callback` is called. + * @return for use with {@link clearInterval} + */ + function setInterval( + callback: (...args: TArgs) => void, + ms?: number, + ...args: TArgs + ): NodeJS.Timeout; + // util.promisify no rest args compability + // eslint-disable-next-line @typescript-eslint/no-invalid-void-type + function setInterval(callback: (args: void) => void, ms?: number): NodeJS.Timeout; + namespace setInterval { + const __promisify__: typeof setIntervalPromise; + } + /** + * Cancels a `Timeout` object created by `setInterval()`. + * @since v0.0.1 + * @param timeout A `Timeout` object as returned by {@link setInterval} or the `primitive` of the `Timeout` object as a string or a number. + */ + function clearInterval(intervalId: NodeJS.Timeout | string | number | undefined): void; + /** + * Schedules the "immediate" execution of the `callback` after I/O events' + * callbacks. + * + * When multiple calls to `setImmediate()` are made, the `callback` functions are + * queued for execution in the order in which they are created. The entire callback + * queue is processed every event loop iteration. If an immediate timer is queued + * from inside an executing callback, that timer will not be triggered until the + * next event loop iteration. + * + * If `callback` is not a function, a `TypeError` will be thrown. + * + * This method has a custom variant for promises that is available using `timersPromises.setImmediate()`. + * @since v0.9.1 + * @param callback The function to call at the end of this turn of the Node.js `Event Loop` + * @param args Optional arguments to pass when the `callback` is called. + * @return for use with {@link clearImmediate} + */ + function setImmediate( + callback: (...args: TArgs) => void, + ...args: TArgs + ): NodeJS.Immediate; + // util.promisify no rest args compability + // eslint-disable-next-line @typescript-eslint/no-invalid-void-type + function setImmediate(callback: (args: void) => void): NodeJS.Immediate; + namespace setImmediate { + const __promisify__: typeof setImmediatePromise; + } + /** + * Cancels an `Immediate` object created by `setImmediate()`. + * @since v0.9.1 + * @param immediate An `Immediate` object as returned by {@link setImmediate}. + */ + function clearImmediate(immediateId: NodeJS.Immediate | undefined): void; + function queueMicrotask(callback: () => void): void; + } +} +declare module "node:timers" { + export * from "timers"; +} diff --git a/node_modules/@types/node/ts4.8/timers/promises.d.ts b/node_modules/@types/node/ts4.8/timers/promises.d.ts new file mode 100644 index 000000000..5a54dc772 --- /dev/null +++ b/node_modules/@types/node/ts4.8/timers/promises.d.ts @@ -0,0 +1,93 @@ +/** + * The `timers/promises` API provides an alternative set of timer functions + * that return `Promise` objects. The API is accessible via`require('node:timers/promises')`. + * + * ```js + * import { + * setTimeout, + * setImmediate, + * setInterval, + * } from 'timers/promises'; + * ``` + * @since v15.0.0 + */ +declare module "timers/promises" { + import { TimerOptions } from "node:timers"; + /** + * ```js + * import { + * setTimeout, + * } from 'timers/promises'; + * + * const res = await setTimeout(100, 'result'); + * + * console.log(res); // Prints 'result' + * ``` + * @since v15.0.0 + * @param [delay=1] The number of milliseconds to wait before fulfilling the promise. + * @param value A value with which the promise is fulfilled. + */ + function setTimeout(delay?: number, value?: T, options?: TimerOptions): Promise; + /** + * ```js + * import { + * setImmediate, + * } from 'timers/promises'; + * + * const res = await setImmediate('result'); + * + * console.log(res); // Prints 'result' + * ``` + * @since v15.0.0 + * @param value A value with which the promise is fulfilled. + */ + function setImmediate(value?: T, options?: TimerOptions): Promise; + /** + * Returns an async iterator that generates values in an interval of `delay` ms. + * If `ref` is `true`, you need to call `next()` of async iterator explicitly + * or implicitly to keep the event loop alive. + * + * ```js + * import { + * setInterval, + * } from 'timers/promises'; + * + * const interval = 100; + * for await (const startTime of setInterval(interval, Date.now())) { + * const now = Date.now(); + * console.log(now); + * if ((now - startTime) > 1000) + * break; + * } + * console.log(Date.now()); + * ``` + * @since v15.9.0 + */ + function setInterval(delay?: number, value?: T, options?: TimerOptions): AsyncIterable; + interface Scheduler { + /** + * ```js + * import { scheduler } from 'node:timers/promises'; + * + * await scheduler.wait(1000); // Wait one second before continuing + * ``` + * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API. + * Calling timersPromises.scheduler.wait(delay, options) is roughly equivalent to calling timersPromises.setTimeout(delay, undefined, options) except that the ref option is not supported. + * @since v16.14.0 + * @experimental + * @param [delay=1] The number of milliseconds to wait before fulfilling the promise. + */ + wait: (delay?: number, options?: TimerOptions) => Promise; + /** + * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API. + * Calling timersPromises.scheduler.yield() is equivalent to calling timersPromises.setImmediate() with no arguments. + * @since v16.14.0 + * @experimental + */ + yield: () => Promise; + } + const scheduler: Scheduler; +} +declare module "node:timers/promises" { + export * from "timers/promises"; +} diff --git a/node_modules/@types/node/ts4.8/tls.d.ts b/node_modules/@types/node/ts4.8/tls.d.ts new file mode 100644 index 000000000..b289e841c --- /dev/null +++ b/node_modules/@types/node/ts4.8/tls.d.ts @@ -0,0 +1,1210 @@ +/** + * The `node:tls` module provides an implementation of the Transport Layer Security + * (TLS) and Secure Socket Layer (SSL) protocols that is built on top of OpenSSL. + * The module can be accessed using: + * + * ```js + * const tls = require('node:tls'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/tls.js) + */ +declare module "tls" { + import { X509Certificate } from "node:crypto"; + import * as net from "node:net"; + import * as stream from "stream"; + const CLIENT_RENEG_LIMIT: number; + const CLIENT_RENEG_WINDOW: number; + interface Certificate { + /** + * Country code. + */ + C: string; + /** + * Street. + */ + ST: string; + /** + * Locality. + */ + L: string; + /** + * Organization. + */ + O: string; + /** + * Organizational unit. + */ + OU: string; + /** + * Common name. + */ + CN: string; + } + interface PeerCertificate { + /** + * `true` if a Certificate Authority (CA), `false` otherwise. + * @since v18.13.0 + */ + ca: boolean; + /** + * The DER encoded X.509 certificate data. + */ + raw: Buffer; + /** + * The certificate subject. + */ + subject: Certificate; + /** + * The certificate issuer, described in the same terms as the `subject`. + */ + issuer: Certificate; + /** + * The date-time the certificate is valid from. + */ + valid_from: string; + /** + * The date-time the certificate is valid to. + */ + valid_to: string; + /** + * The certificate serial number, as a hex string. + */ + serialNumber: string; + /** + * The SHA-1 digest of the DER encoded certificate. + * It is returned as a `:` separated hexadecimal string. + */ + fingerprint: string; + /** + * The SHA-256 digest of the DER encoded certificate. + * It is returned as a `:` separated hexadecimal string. + */ + fingerprint256: string; + /** + * The SHA-512 digest of the DER encoded certificate. + * It is returned as a `:` separated hexadecimal string. + */ + fingerprint512: string; + /** + * The extended key usage, a set of OIDs. + */ + ext_key_usage?: string[]; + /** + * A string containing concatenated names for the subject, + * an alternative to the `subject` names. + */ + subjectaltname?: string; + /** + * An array describing the AuthorityInfoAccess, used with OCSP. + */ + infoAccess?: NodeJS.Dict; + /** + * For RSA keys: The RSA bit size. + * + * For EC keys: The key size in bits. + */ + bits?: number; + /** + * The RSA exponent, as a string in hexadecimal number notation. + */ + exponent?: string; + /** + * The RSA modulus, as a hexadecimal string. + */ + modulus?: string; + /** + * The public key. + */ + pubkey?: Buffer; + /** + * The ASN.1 name of the OID of the elliptic curve. + * Well-known curves are identified by an OID. + * While it is unusual, it is possible that the curve + * is identified by its mathematical properties, + * in which case it will not have an OID. + */ + asn1Curve?: string; + /** + * The NIST name for the elliptic curve,if it has one + * (not all well-known curves have been assigned names by NIST). + */ + nistCurve?: string; + } + interface DetailedPeerCertificate extends PeerCertificate { + /** + * The issuer certificate object. + * For self-signed certificates, this may be a circular reference. + */ + issuerCertificate: DetailedPeerCertificate; + } + interface CipherNameAndProtocol { + /** + * The cipher name. + */ + name: string; + /** + * SSL/TLS protocol version. + */ + version: string; + /** + * IETF name for the cipher suite. + */ + standardName: string; + } + interface EphemeralKeyInfo { + /** + * The supported types are 'DH' and 'ECDH'. + */ + type: string; + /** + * The name property is available only when type is 'ECDH'. + */ + name?: string | undefined; + /** + * The size of parameter of an ephemeral key exchange. + */ + size: number; + } + interface KeyObject { + /** + * Private keys in PEM format. + */ + pem: string | Buffer; + /** + * Optional passphrase. + */ + passphrase?: string | undefined; + } + interface PxfObject { + /** + * PFX or PKCS12 encoded private key and certificate chain. + */ + buf: string | Buffer; + /** + * Optional passphrase. + */ + passphrase?: string | undefined; + } + interface TLSSocketOptions extends SecureContextOptions, CommonConnectionOptions { + /** + * If true the TLS socket will be instantiated in server-mode. + * Defaults to false. + */ + isServer?: boolean | undefined; + /** + * An optional net.Server instance. + */ + server?: net.Server | undefined; + /** + * An optional Buffer instance containing a TLS session. + */ + session?: Buffer | undefined; + /** + * If true, specifies that the OCSP status request extension will be + * added to the client hello and an 'OCSPResponse' event will be + * emitted on the socket before establishing a secure communication + */ + requestOCSP?: boolean | undefined; + } + /** + * Performs transparent encryption of written data and all required TLS + * negotiation. + * + * Instances of `tls.TLSSocket` implement the duplex `Stream` interface. + * + * Methods that return TLS connection metadata (e.g.{@link TLSSocket.getPeerCertificate}) will only return data while the + * connection is open. + * @since v0.11.4 + */ + class TLSSocket extends net.Socket { + /** + * Construct a new tls.TLSSocket object from an existing TCP socket. + */ + constructor(socket: net.Socket, options?: TLSSocketOptions); + /** + * This property is `true` if the peer certificate was signed by one of the CAs + * specified when creating the `tls.TLSSocket` instance, otherwise `false`. + * @since v0.11.4 + */ + authorized: boolean; + /** + * Returns the reason why the peer's certificate was not been verified. This + * property is set only when `tlsSocket.authorized === false`. + * @since v0.11.4 + */ + authorizationError: Error; + /** + * Always returns `true`. This may be used to distinguish TLS sockets from regular`net.Socket` instances. + * @since v0.11.4 + */ + encrypted: true; + /** + * String containing the selected ALPN protocol. + * Before a handshake has completed, this value is always null. + * When a handshake is completed but not ALPN protocol was selected, tlsSocket.alpnProtocol equals false. + */ + alpnProtocol: string | false | null; + /** + * Returns an object representing the local certificate. The returned object has + * some properties corresponding to the fields of the certificate. + * + * See {@link TLSSocket.getPeerCertificate} for an example of the certificate + * structure. + * + * If there is no local certificate, an empty object will be returned. If the + * socket has been destroyed, `null` will be returned. + * @since v11.2.0 + */ + getCertificate(): PeerCertificate | object | null; + /** + * Returns an object containing information on the negotiated cipher suite. + * + * For example, a TLSv1.2 protocol with AES256-SHA cipher: + * + * ```json + * { + * "name": "AES256-SHA", + * "standardName": "TLS_RSA_WITH_AES_256_CBC_SHA", + * "version": "SSLv3" + * } + * ``` + * + * See [SSL\_CIPHER\_get\_name](https://www.openssl.org/docs/man1.1.1/man3/SSL_CIPHER_get_name.html) for more information. + * @since v0.11.4 + */ + getCipher(): CipherNameAndProtocol; + /** + * Returns an object representing the type, name, and size of parameter of + * an ephemeral key exchange in `perfect forward secrecy` on a client + * connection. It returns an empty object when the key exchange is not + * ephemeral. As this is only supported on a client socket; `null` is returned + * if called on a server socket. The supported types are `'DH'` and `'ECDH'`. The`name` property is available only when type is `'ECDH'`. + * + * For example: `{ type: 'ECDH', name: 'prime256v1', size: 256 }`. + * @since v5.0.0 + */ + getEphemeralKeyInfo(): EphemeralKeyInfo | object | null; + /** + * As the `Finished` messages are message digests of the complete handshake + * (with a total of 192 bits for TLS 1.0 and more for SSL 3.0), they can + * be used for external authentication procedures when the authentication + * provided by SSL/TLS is not desired or is not enough. + * + * Corresponds to the `SSL_get_finished` routine in OpenSSL and may be used + * to implement the `tls-unique` channel binding from [RFC 5929](https://tools.ietf.org/html/rfc5929). + * @since v9.9.0 + * @return The latest `Finished` message that has been sent to the socket as part of a SSL/TLS handshake, or `undefined` if no `Finished` message has been sent yet. + */ + getFinished(): Buffer | undefined; + /** + * Returns an object representing the peer's certificate. If the peer does not + * provide a certificate, an empty object will be returned. If the socket has been + * destroyed, `null` will be returned. + * + * If the full certificate chain was requested, each certificate will include an`issuerCertificate` property containing an object representing its issuer's + * certificate. + * @since v0.11.4 + * @param detailed Include the full certificate chain if `true`, otherwise include just the peer's certificate. + * @return A certificate object. + */ + getPeerCertificate(detailed: true): DetailedPeerCertificate; + getPeerCertificate(detailed?: false): PeerCertificate; + getPeerCertificate(detailed?: boolean): PeerCertificate | DetailedPeerCertificate; + /** + * As the `Finished` messages are message digests of the complete handshake + * (with a total of 192 bits for TLS 1.0 and more for SSL 3.0), they can + * be used for external authentication procedures when the authentication + * provided by SSL/TLS is not desired or is not enough. + * + * Corresponds to the `SSL_get_peer_finished` routine in OpenSSL and may be used + * to implement the `tls-unique` channel binding from [RFC 5929](https://tools.ietf.org/html/rfc5929). + * @since v9.9.0 + * @return The latest `Finished` message that is expected or has actually been received from the socket as part of a SSL/TLS handshake, or `undefined` if there is no `Finished` message so + * far. + */ + getPeerFinished(): Buffer | undefined; + /** + * Returns a string containing the negotiated SSL/TLS protocol version of the + * current connection. The value `'unknown'` will be returned for connected + * sockets that have not completed the handshaking process. The value `null` will + * be returned for server sockets or disconnected client sockets. + * + * Protocol versions are: + * + * * `'SSLv3'` + * * `'TLSv1'` + * * `'TLSv1.1'` + * * `'TLSv1.2'` + * * `'TLSv1.3'` + * + * See the OpenSSL [`SSL_get_version`](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html) documentation for more information. + * @since v5.7.0 + */ + getProtocol(): string | null; + /** + * Returns the TLS session data or `undefined` if no session was + * negotiated. On the client, the data can be provided to the `session` option of {@link connect} to resume the connection. On the server, it may be useful + * for debugging. + * + * See `Session Resumption` for more information. + * + * Note: `getSession()` works only for TLSv1.2 and below. For TLSv1.3, applications + * must use the `'session'` event (it also works for TLSv1.2 and below). + * @since v0.11.4 + */ + getSession(): Buffer | undefined; + /** + * See [SSL\_get\_shared\_sigalgs](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_shared_sigalgs.html) for more information. + * @since v12.11.0 + * @return List of signature algorithms shared between the server and the client in the order of decreasing preference. + */ + getSharedSigalgs(): string[]; + /** + * For a client, returns the TLS session ticket if one is available, or`undefined`. For a server, always returns `undefined`. + * + * It may be useful for debugging. + * + * See `Session Resumption` for more information. + * @since v0.11.4 + */ + getTLSTicket(): Buffer | undefined; + /** + * See `Session Resumption` for more information. + * @since v0.5.6 + * @return `true` if the session was reused, `false` otherwise. + */ + isSessionReused(): boolean; + /** + * The `tlsSocket.renegotiate()` method initiates a TLS renegotiation process. + * Upon completion, the `callback` function will be passed a single argument + * that is either an `Error` (if the request failed) or `null`. + * + * This method can be used to request a peer's certificate after the secure + * connection has been established. + * + * When running as the server, the socket will be destroyed with an error after`handshakeTimeout` timeout. + * + * For TLSv1.3, renegotiation cannot be initiated, it is not supported by the + * protocol. + * @since v0.11.8 + * @param callback If `renegotiate()` returned `true`, callback is attached once to the `'secure'` event. If `renegotiate()` returned `false`, `callback` will be called in the next tick with + * an error, unless the `tlsSocket` has been destroyed, in which case `callback` will not be called at all. + * @return `true` if renegotiation was initiated, `false` otherwise. + */ + renegotiate( + options: { + rejectUnauthorized?: boolean | undefined; + requestCert?: boolean | undefined; + }, + callback: (err: Error | null) => void, + ): undefined | boolean; + /** + * The `tlsSocket.setMaxSendFragment()` method sets the maximum TLS fragment size. + * Returns `true` if setting the limit succeeded; `false` otherwise. + * + * Smaller fragment sizes decrease the buffering latency on the client: larger + * fragments are buffered by the TLS layer until the entire fragment is received + * and its integrity is verified; large fragments can span multiple roundtrips + * and their processing can be delayed due to packet loss or reordering. However, + * smaller fragments add extra TLS framing bytes and CPU overhead, which may + * decrease overall server throughput. + * @since v0.11.11 + * @param [size=16384] The maximum TLS fragment size. The maximum value is `16384`. + */ + setMaxSendFragment(size: number): boolean; + /** + * Disables TLS renegotiation for this `TLSSocket` instance. Once called, attempts + * to renegotiate will trigger an `'error'` event on the `TLSSocket`. + * @since v8.4.0 + */ + disableRenegotiation(): void; + /** + * When enabled, TLS packet trace information is written to `stderr`. This can be + * used to debug TLS connection problems. + * + * The format of the output is identical to the output of`openssl s_client -trace` or `openssl s_server -trace`. While it is produced by + * OpenSSL's `SSL_trace()` function, the format is undocumented, can change + * without notice, and should not be relied on. + * @since v12.2.0 + */ + enableTrace(): void; + /** + * Returns the peer certificate as an `X509Certificate` object. + * + * If there is no peer certificate, or the socket has been destroyed,`undefined` will be returned. + * @since v15.9.0 + */ + getPeerX509Certificate(): X509Certificate | undefined; + /** + * Returns the local certificate as an `X509Certificate` object. + * + * If there is no local certificate, or the socket has been destroyed,`undefined` will be returned. + * @since v15.9.0 + */ + getX509Certificate(): X509Certificate | undefined; + /** + * Keying material is used for validations to prevent different kind of attacks in + * network protocols, for example in the specifications of IEEE 802.1X. + * + * Example + * + * ```js + * const keyingMaterial = tlsSocket.exportKeyingMaterial( + * 128, + * 'client finished'); + * + * /* + * Example return value of keyingMaterial: + * + * + * ``` + * + * See the OpenSSL [`SSL_export_keying_material`](https://www.openssl.org/docs/man1.1.1/man3/SSL_export_keying_material.html) documentation for more + * information. + * @since v13.10.0, v12.17.0 + * @param length number of bytes to retrieve from keying material + * @param label an application specific label, typically this will be a value from the [IANA Exporter Label + * Registry](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#exporter-labels). + * @param context Optionally provide a context. + * @return requested bytes of the keying material + */ + exportKeyingMaterial(length: number, label: string, context: Buffer): Buffer; + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; + addListener(event: "secureConnect", listener: () => void): this; + addListener(event: "session", listener: (session: Buffer) => void): this; + addListener(event: "keylog", listener: (line: Buffer) => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "OCSPResponse", response: Buffer): boolean; + emit(event: "secureConnect"): boolean; + emit(event: "session", session: Buffer): boolean; + emit(event: "keylog", line: Buffer): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "OCSPResponse", listener: (response: Buffer) => void): this; + on(event: "secureConnect", listener: () => void): this; + on(event: "session", listener: (session: Buffer) => void): this; + on(event: "keylog", listener: (line: Buffer) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "OCSPResponse", listener: (response: Buffer) => void): this; + once(event: "secureConnect", listener: () => void): this; + once(event: "session", listener: (session: Buffer) => void): this; + once(event: "keylog", listener: (line: Buffer) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; + prependListener(event: "secureConnect", listener: () => void): this; + prependListener(event: "session", listener: (session: Buffer) => void): this; + prependListener(event: "keylog", listener: (line: Buffer) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; + prependOnceListener(event: "secureConnect", listener: () => void): this; + prependOnceListener(event: "session", listener: (session: Buffer) => void): this; + prependOnceListener(event: "keylog", listener: (line: Buffer) => void): this; + } + interface CommonConnectionOptions { + /** + * An optional TLS context object from tls.createSecureContext() + */ + secureContext?: SecureContext | undefined; + /** + * When enabled, TLS packet trace information is written to `stderr`. This can be + * used to debug TLS connection problems. + * @default false + */ + enableTrace?: boolean | undefined; + /** + * If true the server will request a certificate from clients that + * connect and attempt to verify that certificate. Defaults to + * false. + */ + requestCert?: boolean | undefined; + /** + * An array of strings or a Buffer naming possible ALPN protocols. + * (Protocols should be ordered by their priority.) + */ + ALPNProtocols?: string[] | Uint8Array[] | Uint8Array | undefined; + /** + * SNICallback(servername, cb) A function that will be + * called if the client supports SNI TLS extension. Two arguments + * will be passed when called: servername and cb. SNICallback should + * invoke cb(null, ctx), where ctx is a SecureContext instance. + * (tls.createSecureContext(...) can be used to get a proper + * SecureContext.) If SNICallback wasn't provided the default callback + * with high-level API will be used (see below). + */ + SNICallback?: ((servername: string, cb: (err: Error | null, ctx?: SecureContext) => void) => void) | undefined; + /** + * If true the server will reject any connection which is not + * authorized with the list of supplied CAs. This option only has an + * effect if requestCert is true. + * @default true + */ + rejectUnauthorized?: boolean | undefined; + } + interface TlsOptions extends SecureContextOptions, CommonConnectionOptions, net.ServerOpts { + /** + * Abort the connection if the SSL/TLS handshake does not finish in the + * specified number of milliseconds. A 'tlsClientError' is emitted on + * the tls.Server object whenever a handshake times out. Default: + * 120000 (120 seconds). + */ + handshakeTimeout?: number | undefined; + /** + * The number of seconds after which a TLS session created by the + * server will no longer be resumable. See Session Resumption for more + * information. Default: 300. + */ + sessionTimeout?: number | undefined; + /** + * 48-bytes of cryptographically strong pseudo-random data. + */ + ticketKeys?: Buffer | undefined; + /** + * @param socket + * @param identity identity parameter sent from the client. + * @return pre-shared key that must either be + * a buffer or `null` to stop the negotiation process. Returned PSK must be + * compatible with the selected cipher's digest. + * + * When negotiating TLS-PSK (pre-shared keys), this function is called + * with the identity provided by the client. + * If the return value is `null` the negotiation process will stop and an + * "unknown_psk_identity" alert message will be sent to the other party. + * If the server wishes to hide the fact that the PSK identity was not known, + * the callback must provide some random data as `psk` to make the connection + * fail with "decrypt_error" before negotiation is finished. + * PSK ciphers are disabled by default, and using TLS-PSK thus + * requires explicitly specifying a cipher suite with the `ciphers` option. + * More information can be found in the RFC 4279. + */ + pskCallback?(socket: TLSSocket, identity: string): DataView | NodeJS.TypedArray | null; + /** + * hint to send to a client to help + * with selecting the identity during TLS-PSK negotiation. Will be ignored + * in TLS 1.3. Upon failing to set pskIdentityHint `tlsClientError` will be + * emitted with `ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED` code. + */ + pskIdentityHint?: string | undefined; + } + interface PSKCallbackNegotation { + psk: DataView | NodeJS.TypedArray; + identity: string; + } + interface ConnectionOptions extends SecureContextOptions, CommonConnectionOptions { + host?: string | undefined; + port?: number | undefined; + path?: string | undefined; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored. + socket?: stream.Duplex | undefined; // Establish secure connection on a given socket rather than creating a new socket + checkServerIdentity?: typeof checkServerIdentity | undefined; + servername?: string | undefined; // SNI TLS Extension + session?: Buffer | undefined; + minDHSize?: number | undefined; + lookup?: net.LookupFunction | undefined; + timeout?: number | undefined; + /** + * When negotiating TLS-PSK (pre-shared keys), this function is called + * with optional identity `hint` provided by the server or `null` + * in case of TLS 1.3 where `hint` was removed. + * It will be necessary to provide a custom `tls.checkServerIdentity()` + * for the connection as the default one will try to check hostname/IP + * of the server against the certificate but that's not applicable for PSK + * because there won't be a certificate present. + * More information can be found in the RFC 4279. + * + * @param hint message sent from the server to help client + * decide which identity to use during negotiation. + * Always `null` if TLS 1.3 is used. + * @returns Return `null` to stop the negotiation process. `psk` must be + * compatible with the selected cipher's digest. + * `identity` must use UTF-8 encoding. + */ + pskCallback?(hint: string | null): PSKCallbackNegotation | null; + } + /** + * Accepts encrypted connections using TLS or SSL. + * @since v0.3.2 + */ + class Server extends net.Server { + constructor(secureConnectionListener?: (socket: TLSSocket) => void); + constructor(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void); + /** + * The `server.addContext()` method adds a secure context that will be used if + * the client request's SNI name matches the supplied `hostname` (or wildcard). + * + * When there are multiple matching contexts, the most recently added one is + * used. + * @since v0.5.3 + * @param hostname A SNI host name or wildcard (e.g. `'*'`) + * @param context An object containing any of the possible properties from the {@link createSecureContext} `options` arguments (e.g. `key`, `cert`, `ca`, etc), or a TLS context object created + * with {@link createSecureContext} itself. + */ + addContext(hostname: string, context: SecureContextOptions): void; + /** + * Returns the session ticket keys. + * + * See `Session Resumption` for more information. + * @since v3.0.0 + * @return A 48-byte buffer containing the session ticket keys. + */ + getTicketKeys(): Buffer; + /** + * The `server.setSecureContext()` method replaces the secure context of an + * existing server. Existing connections to the server are not interrupted. + * @since v11.0.0 + * @param options An object containing any of the possible properties from the {@link createSecureContext} `options` arguments (e.g. `key`, `cert`, `ca`, etc). + */ + setSecureContext(options: SecureContextOptions): void; + /** + * Sets the session ticket keys. + * + * Changes to the ticket keys are effective only for future server connections. + * Existing or currently pending server connections will use the previous keys. + * + * See `Session Resumption` for more information. + * @since v3.0.0 + * @param keys A 48-byte buffer containing the session ticket keys. + */ + setTicketKeys(keys: Buffer): void; + /** + * events.EventEmitter + * 1. tlsClientError + * 2. newSession + * 3. OCSPRequest + * 4. resumeSession + * 5. secureConnection + * 6. keylog + */ + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; + addListener( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, + ): this; + addListener( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + addListener( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, + ): this; + addListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; + addListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "tlsClientError", err: Error, tlsSocket: TLSSocket): boolean; + emit(event: "newSession", sessionId: Buffer, sessionData: Buffer, callback: () => void): boolean; + emit( + event: "OCSPRequest", + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ): boolean; + emit( + event: "resumeSession", + sessionId: Buffer, + callback: (err: Error | null, sessionData: Buffer | null) => void, + ): boolean; + emit(event: "secureConnection", tlsSocket: TLSSocket): boolean; + emit(event: "keylog", line: Buffer, tlsSocket: TLSSocket): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; + on(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void): this; + on( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + on( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, + ): this; + on(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; + on(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; + once( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, + ): this; + once( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + once( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, + ): this; + once(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; + once(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; + prependListener( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, + ): this; + prependListener( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + prependListener( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, + ): this; + prependListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; + prependListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; + prependOnceListener( + event: "newSession", + listener: (sessionId: Buffer, sessionData: Buffer, callback: () => void) => void, + ): this; + prependOnceListener( + event: "OCSPRequest", + listener: ( + certificate: Buffer, + issuer: Buffer, + callback: (err: Error | null, resp: Buffer) => void, + ) => void, + ): this; + prependOnceListener( + event: "resumeSession", + listener: (sessionId: Buffer, callback: (err: Error | null, sessionData: Buffer | null) => void) => void, + ): this; + prependOnceListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; + prependOnceListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; + } + /** + * @deprecated since v0.11.3 Use `tls.TLSSocket` instead. + */ + interface SecurePair { + encrypted: TLSSocket; + cleartext: TLSSocket; + } + type SecureVersion = "TLSv1.3" | "TLSv1.2" | "TLSv1.1" | "TLSv1"; + interface SecureContextOptions { + /** + * If set, this will be called when a client opens a connection using the ALPN extension. + * One argument will be passed to the callback: an object containing `servername` and `protocols` fields, + * respectively containing the server name from the SNI extension (if any) and an array of + * ALPN protocol name strings. The callback must return either one of the strings listed in `protocols`, + * which will be returned to the client as the selected ALPN protocol, or `undefined`, + * to reject the connection with a fatal alert. If a string is returned that does not match one of + * the client's ALPN protocols, an error will be thrown. + * This option cannot be used with the `ALPNProtocols` option, and setting both options will throw an error. + */ + ALPNCallback?: ((arg: { servername: string; protocols: string[] }) => string | undefined) | undefined; + /** + * Optionally override the trusted CA certificates. Default is to trust + * the well-known CAs curated by Mozilla. Mozilla's CAs are completely + * replaced when CAs are explicitly specified using this option. + */ + ca?: string | Buffer | Array | undefined; + /** + * Cert chains in PEM format. One cert chain should be provided per + * private key. Each cert chain should consist of the PEM formatted + * certificate for a provided private key, followed by the PEM + * formatted intermediate certificates (if any), in order, and not + * including the root CA (the root CA must be pre-known to the peer, + * see ca). When providing multiple cert chains, they do not have to + * be in the same order as their private keys in key. If the + * intermediate certificates are not provided, the peer will not be + * able to validate the certificate, and the handshake will fail. + */ + cert?: string | Buffer | Array | undefined; + /** + * Colon-separated list of supported signature algorithms. The list + * can contain digest algorithms (SHA256, MD5 etc.), public key + * algorithms (RSA-PSS, ECDSA etc.), combination of both (e.g + * 'RSA+SHA384') or TLS v1.3 scheme names (e.g. rsa_pss_pss_sha512). + */ + sigalgs?: string | undefined; + /** + * Cipher suite specification, replacing the default. For more + * information, see modifying the default cipher suite. Permitted + * ciphers can be obtained via tls.getCiphers(). Cipher names must be + * uppercased in order for OpenSSL to accept them. + */ + ciphers?: string | undefined; + /** + * Name of an OpenSSL engine which can provide the client certificate. + */ + clientCertEngine?: string | undefined; + /** + * PEM formatted CRLs (Certificate Revocation Lists). + */ + crl?: string | Buffer | Array | undefined; + /** + * `'auto'` or custom Diffie-Hellman parameters, required for non-ECDHE perfect forward secrecy. + * If omitted or invalid, the parameters are silently discarded and DHE ciphers will not be available. + * ECDHE-based perfect forward secrecy will still be available. + */ + dhparam?: string | Buffer | undefined; + /** + * A string describing a named curve or a colon separated list of curve + * NIDs or names, for example P-521:P-384:P-256, to use for ECDH key + * agreement. Set to auto to select the curve automatically. Use + * crypto.getCurves() to obtain a list of available curve names. On + * recent releases, openssl ecparam -list_curves will also display the + * name and description of each available elliptic curve. Default: + * tls.DEFAULT_ECDH_CURVE. + */ + ecdhCurve?: string | undefined; + /** + * Attempt to use the server's cipher suite preferences instead of the + * client's. When true, causes SSL_OP_CIPHER_SERVER_PREFERENCE to be + * set in secureOptions + */ + honorCipherOrder?: boolean | undefined; + /** + * Private keys in PEM format. PEM allows the option of private keys + * being encrypted. Encrypted keys will be decrypted with + * options.passphrase. Multiple keys using different algorithms can be + * provided either as an array of unencrypted key strings or buffers, + * or an array of objects in the form {pem: [, + * passphrase: ]}. The object form can only occur in an array. + * object.passphrase is optional. Encrypted keys will be decrypted with + * object.passphrase if provided, or options.passphrase if it is not. + */ + key?: string | Buffer | Array | undefined; + /** + * Name of an OpenSSL engine to get private key from. Should be used + * together with privateKeyIdentifier. + */ + privateKeyEngine?: string | undefined; + /** + * Identifier of a private key managed by an OpenSSL engine. Should be + * used together with privateKeyEngine. Should not be set together with + * key, because both options define a private key in different ways. + */ + privateKeyIdentifier?: string | undefined; + /** + * Optionally set the maximum TLS version to allow. One + * of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the + * `secureProtocol` option, use one or the other. + * **Default:** `'TLSv1.3'`, unless changed using CLI options. Using + * `--tls-max-v1.2` sets the default to `'TLSv1.2'`. Using `--tls-max-v1.3` sets the default to + * `'TLSv1.3'`. If multiple of the options are provided, the highest maximum is used. + */ + maxVersion?: SecureVersion | undefined; + /** + * Optionally set the minimum TLS version to allow. One + * of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the + * `secureProtocol` option, use one or the other. It is not recommended to use + * less than TLSv1.2, but it may be required for interoperability. + * **Default:** `'TLSv1.2'`, unless changed using CLI options. Using + * `--tls-v1.0` sets the default to `'TLSv1'`. Using `--tls-v1.1` sets the default to + * `'TLSv1.1'`. Using `--tls-min-v1.3` sets the default to + * 'TLSv1.3'. If multiple of the options are provided, the lowest minimum is used. + */ + minVersion?: SecureVersion | undefined; + /** + * Shared passphrase used for a single private key and/or a PFX. + */ + passphrase?: string | undefined; + /** + * PFX or PKCS12 encoded private key and certificate chain. pfx is an + * alternative to providing key and cert individually. PFX is usually + * encrypted, if it is, passphrase will be used to decrypt it. Multiple + * PFX can be provided either as an array of unencrypted PFX buffers, + * or an array of objects in the form {buf: [, + * passphrase: ]}. The object form can only occur in an array. + * object.passphrase is optional. Encrypted PFX will be decrypted with + * object.passphrase if provided, or options.passphrase if it is not. + */ + pfx?: string | Buffer | Array | undefined; + /** + * Optionally affect the OpenSSL protocol behavior, which is not + * usually necessary. This should be used carefully if at all! Value is + * a numeric bitmask of the SSL_OP_* options from OpenSSL Options + */ + secureOptions?: number | undefined; // Value is a numeric bitmask of the `SSL_OP_*` options + /** + * Legacy mechanism to select the TLS protocol version to use, it does + * not support independent control of the minimum and maximum version, + * and does not support limiting the protocol to TLSv1.3. Use + * minVersion and maxVersion instead. The possible values are listed as + * SSL_METHODS, use the function names as strings. For example, use + * 'TLSv1_1_method' to force TLS version 1.1, or 'TLS_method' to allow + * any TLS protocol version up to TLSv1.3. It is not recommended to use + * TLS versions less than 1.2, but it may be required for + * interoperability. Default: none, see minVersion. + */ + secureProtocol?: string | undefined; + /** + * Opaque identifier used by servers to ensure session state is not + * shared between applications. Unused by clients. + */ + sessionIdContext?: string | undefined; + /** + * 48-bytes of cryptographically strong pseudo-random data. + * See Session Resumption for more information. + */ + ticketKeys?: Buffer | undefined; + /** + * The number of seconds after which a TLS session created by the + * server will no longer be resumable. See Session Resumption for more + * information. Default: 300. + */ + sessionTimeout?: number | undefined; + } + interface SecureContext { + context: any; + } + /** + * Verifies the certificate `cert` is issued to `hostname`. + * + * Returns [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) object, populating it with `reason`, `host`, and `cert` on + * failure. On success, returns [undefined](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Undefined_type). + * + * This function is intended to be used in combination with the`checkServerIdentity` option that can be passed to {@link connect} and as + * such operates on a `certificate object`. For other purposes, consider using `x509.checkHost()` instead. + * + * This function can be overwritten by providing an alternative function as the`options.checkServerIdentity` option that is passed to `tls.connect()`. The + * overwriting function can call `tls.checkServerIdentity()` of course, to augment + * the checks done with additional verification. + * + * This function is only called if the certificate passed all other checks, such as + * being issued by trusted CA (`options.ca`). + * + * Earlier versions of Node.js incorrectly accepted certificates for a given`hostname` if a matching `uniformResourceIdentifier` subject alternative name + * was present (see [CVE-2021-44531](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44531)). Applications that wish to accept`uniformResourceIdentifier` subject alternative names can use + * a custom`options.checkServerIdentity` function that implements the desired behavior. + * @since v0.8.4 + * @param hostname The host name or IP address to verify the certificate against. + * @param cert A `certificate object` representing the peer's certificate. + */ + function checkServerIdentity(hostname: string, cert: PeerCertificate): Error | undefined; + /** + * Creates a new {@link Server}. The `secureConnectionListener`, if provided, is + * automatically set as a listener for the `'secureConnection'` event. + * + * The `ticketKeys` options is automatically shared between `node:cluster` module + * workers. + * + * The following illustrates a simple echo server: + * + * ```js + * const tls = require('node:tls'); + * const fs = require('node:fs'); + * + * const options = { + * key: fs.readFileSync('server-key.pem'), + * cert: fs.readFileSync('server-cert.pem'), + * + * // This is necessary only if using client certificate authentication. + * requestCert: true, + * + * // This is necessary only if the client uses a self-signed certificate. + * ca: [ fs.readFileSync('client-cert.pem') ], + * }; + * + * const server = tls.createServer(options, (socket) => { + * console.log('server connected', + * socket.authorized ? 'authorized' : 'unauthorized'); + * socket.write('welcome!\n'); + * socket.setEncoding('utf8'); + * socket.pipe(socket); + * }); + * server.listen(8000, () => { + * console.log('server bound'); + * }); + * ``` + * + * The server can be tested by connecting to it using the example client from {@link connect}. + * @since v0.3.2 + */ + function createServer(secureConnectionListener?: (socket: TLSSocket) => void): Server; + function createServer(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; + /** + * The `callback` function, if specified, will be added as a listener for the `'secureConnect'` event. + * + * `tls.connect()` returns a {@link TLSSocket} object. + * + * Unlike the `https` API, `tls.connect()` does not enable the + * SNI (Server Name Indication) extension by default, which may cause some + * servers to return an incorrect certificate or reject the connection + * altogether. To enable SNI, set the `servername` option in addition + * to `host`. + * + * The following illustrates a client for the echo server example from {@link createServer}: + * + * ```js + * // Assumes an echo server that is listening on port 8000. + * const tls = require('node:tls'); + * const fs = require('node:fs'); + * + * const options = { + * // Necessary only if the server requires client certificate authentication. + * key: fs.readFileSync('client-key.pem'), + * cert: fs.readFileSync('client-cert.pem'), + * + * // Necessary only if the server uses a self-signed certificate. + * ca: [ fs.readFileSync('server-cert.pem') ], + * + * // Necessary only if the server's cert isn't for "localhost". + * checkServerIdentity: () => { return null; }, + * }; + * + * const socket = tls.connect(8000, options, () => { + * console.log('client connected', + * socket.authorized ? 'authorized' : 'unauthorized'); + * process.stdin.pipe(socket); + * process.stdin.resume(); + * }); + * socket.setEncoding('utf8'); + * socket.on('data', (data) => { + * console.log(data); + * }); + * socket.on('end', () => { + * console.log('server ends connection'); + * }); + * ``` + * @since v0.11.3 + */ + function connect(options: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; + function connect( + port: number, + host?: string, + options?: ConnectionOptions, + secureConnectListener?: () => void, + ): TLSSocket; + function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; + /** + * Creates a new secure pair object with two streams, one of which reads and writes + * the encrypted data and the other of which reads and writes the cleartext data. + * Generally, the encrypted stream is piped to/from an incoming encrypted data + * stream and the cleartext one is used as a replacement for the initial encrypted + * stream. + * + * `tls.createSecurePair()` returns a `tls.SecurePair` object with `cleartext` and`encrypted` stream properties. + * + * Using `cleartext` has the same API as {@link TLSSocket}. + * + * The `tls.createSecurePair()` method is now deprecated in favor of`tls.TLSSocket()`. For example, the code: + * + * ```js + * pair = tls.createSecurePair(// ... ); + * pair.encrypted.pipe(socket); + * socket.pipe(pair.encrypted); + * ``` + * + * can be replaced by: + * + * ```js + * secureSocket = tls.TLSSocket(socket, options); + * ``` + * + * where `secureSocket` has the same API as `pair.cleartext`. + * @since v0.3.2 + * @deprecated Since v0.11.3 - Use {@link TLSSocket} instead. + * @param context A secure context object as returned by `tls.createSecureContext()` + * @param isServer `true` to specify that this TLS connection should be opened as a server. + * @param requestCert `true` to specify whether a server should request a certificate from a connecting client. Only applies when `isServer` is `true`. + * @param rejectUnauthorized If not `false` a server automatically reject clients with invalid certificates. Only applies when `isServer` is `true`. + */ + function createSecurePair( + context?: SecureContext, + isServer?: boolean, + requestCert?: boolean, + rejectUnauthorized?: boolean, + ): SecurePair; + /** + * {@link createServer} sets the default value of the `honorCipherOrder` option + * to `true`, other APIs that create secure contexts leave it unset. + * + * {@link createServer} uses a 128 bit truncated SHA1 hash value generated + * from `process.argv` as the default value of the `sessionIdContext` option, other + * APIs that create secure contexts have no default value. + * + * The `tls.createSecureContext()` method creates a `SecureContext` object. It is + * usable as an argument to several `tls` APIs, such as `server.addContext()`, + * but has no public methods. The {@link Server} constructor and the {@link createServer} method do not support the `secureContext` option. + * + * A key is _required_ for ciphers that use certificates. Either `key` or`pfx` can be used to provide it. + * + * If the `ca` option is not given, then Node.js will default to using [Mozilla's publicly trusted list of + * CAs](https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt). + * + * Custom DHE parameters are discouraged in favor of the new `dhparam: 'auto'`option. When set to `'auto'`, well-known DHE parameters of sufficient strength + * will be selected automatically. Otherwise, if necessary, `openssl dhparam` can + * be used to create custom parameters. The key length must be greater than or + * equal to 1024 bits or else an error will be thrown. Although 1024 bits is + * permissible, use 2048 bits or larger for stronger security. + * @since v0.11.13 + */ + function createSecureContext(options?: SecureContextOptions): SecureContext; + /** + * Returns an array with the names of the supported TLS ciphers. The names are + * lower-case for historical reasons, but must be uppercased to be used in + * the `ciphers` option of {@link createSecureContext}. + * + * Not all supported ciphers are enabled by default. See `Modifying the default TLS cipher suite`. + * + * Cipher names that start with `'tls_'` are for TLSv1.3, all the others are for + * TLSv1.2 and below. + * + * ```js + * console.log(tls.getCiphers()); // ['aes128-gcm-sha256', 'aes128-sha', ...] + * ``` + * @since v0.10.2 + */ + function getCiphers(): string[]; + /** + * The default curve name to use for ECDH key agreement in a tls server. + * The default value is 'auto'. See tls.createSecureContext() for further + * information. + */ + let DEFAULT_ECDH_CURVE: string; + /** + * The default value of the maxVersion option of + * tls.createSecureContext(). It can be assigned any of the supported TLS + * protocol versions, 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: + * 'TLSv1.3', unless changed using CLI options. Using --tls-max-v1.2 sets + * the default to 'TLSv1.2'. Using --tls-max-v1.3 sets the default to + * 'TLSv1.3'. If multiple of the options are provided, the highest maximum + * is used. + */ + let DEFAULT_MAX_VERSION: SecureVersion; + /** + * The default value of the minVersion option of tls.createSecureContext(). + * It can be assigned any of the supported TLS protocol versions, + * 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: 'TLSv1.2', unless + * changed using CLI options. Using --tls-min-v1.0 sets the default to + * 'TLSv1'. Using --tls-min-v1.1 sets the default to 'TLSv1.1'. Using + * --tls-min-v1.3 sets the default to 'TLSv1.3'. If multiple of the options + * are provided, the lowest minimum is used. + */ + let DEFAULT_MIN_VERSION: SecureVersion; + /** + * The default value of the ciphers option of tls.createSecureContext(). + * It can be assigned any of the supported OpenSSL ciphers. + * Defaults to the content of crypto.constants.defaultCoreCipherList, unless + * changed using CLI options using --tls-default-ciphers. + */ + let DEFAULT_CIPHERS: string; + /** + * An immutable array of strings representing the root certificates (in PEM + * format) used for verifying peer certificates. This is the default value + * of the ca option to tls.createSecureContext(). + */ + const rootCertificates: readonly string[]; +} +declare module "node:tls" { + export * from "tls"; +} diff --git a/node_modules/@types/node/ts4.8/trace_events.d.ts b/node_modules/@types/node/ts4.8/trace_events.d.ts new file mode 100644 index 000000000..336135959 --- /dev/null +++ b/node_modules/@types/node/ts4.8/trace_events.d.ts @@ -0,0 +1,182 @@ +/** + * The `node:trace_events` module provides a mechanism to centralize tracing + * information generated by V8, Node.js core, and userspace code. + * + * Tracing can be enabled with the `--trace-event-categories` command-line flag + * or by using the `node:trace_events` module. The `--trace-event-categories` flag + * accepts a list of comma-separated category names. + * + * The available categories are: + * + * * `node`: An empty placeholder. + * * `node.async_hooks`: Enables capture of detailed `async_hooks` trace data. + * The `async_hooks` events have a unique `asyncId` and a special `triggerId` `triggerAsyncId` property. + * * `node.bootstrap`: Enables capture of Node.js bootstrap milestones. + * * `node.console`: Enables capture of `console.time()` and `console.count()`output. + * * `node.threadpoolwork.sync`: Enables capture of trace data for threadpool + * synchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`. + * * `node.threadpoolwork.async`: Enables capture of trace data for threadpool + * asynchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`. + * * `node.dns.native`: Enables capture of trace data for DNS queries. + * * `node.net.native`: Enables capture of trace data for network. + * * `node.environment`: Enables capture of Node.js Environment milestones. + * * `node.fs.sync`: Enables capture of trace data for file system sync methods. + * * `node.fs_dir.sync`: Enables capture of trace data for file system sync + * directory methods. + * * `node.fs.async`: Enables capture of trace data for file system async methods. + * * `node.fs_dir.async`: Enables capture of trace data for file system async + * directory methods. + * * `node.perf`: Enables capture of `Performance API` measurements. + * * `node.perf.usertiming`: Enables capture of only Performance API User Timing + * measures and marks. + * * `node.perf.timerify`: Enables capture of only Performance API timerify + * measurements. + * * `node.promises.rejections`: Enables capture of trace data tracking the number + * of unhandled Promise rejections and handled-after-rejections. + * * `node.vm.script`: Enables capture of trace data for the `node:vm` module's`runInNewContext()`, `runInContext()`, and `runInThisContext()` methods. + * * `v8`: The `V8` events are GC, compiling, and execution related. + * * `node.http`: Enables capture of trace data for http request / response. + * + * By default the `node`, `node.async_hooks`, and `v8` categories are enabled. + * + * ```bash + * node --trace-event-categories v8,node,node.async_hooks server.js + * ``` + * + * Prior versions of Node.js required the use of the `--trace-events-enabled`flag to enable trace events. This requirement has been removed. However, the`--trace-events-enabled` flag _may_ still be + * used and will enable the`node`, `node.async_hooks`, and `v8` trace event categories by default. + * + * ```bash + * node --trace-events-enabled + * + * # is equivalent to + * + * node --trace-event-categories v8,node,node.async_hooks + * ``` + * + * Alternatively, trace events may be enabled using the `node:trace_events` module: + * + * ```js + * const trace_events = require('node:trace_events'); + * const tracing = trace_events.createTracing({ categories: ['node.perf'] }); + * tracing.enable(); // Enable trace event capture for the 'node.perf' category + * + * // do work + * + * tracing.disable(); // Disable trace event capture for the 'node.perf' category + * ``` + * + * Running Node.js with tracing enabled will produce log files that can be opened + * in the [`chrome://tracing`](https://www.chromium.org/developers/how-tos/trace-event-profiling-tool) tab of Chrome. + * + * The logging file is by default called `node_trace.${rotation}.log`, where`${rotation}` is an incrementing log-rotation id. The filepath pattern can + * be specified with `--trace-event-file-pattern` that accepts a template + * string that supports `${rotation}` and `${pid}`: + * + * ```bash + * node --trace-event-categories v8 --trace-event-file-pattern '${pid}-${rotation}.log' server.js + * ``` + * + * To guarantee that the log file is properly generated after signal events like`SIGINT`, `SIGTERM`, or `SIGBREAK`, make sure to have the appropriate handlers + * in your code, such as: + * + * ```js + * process.on('SIGINT', function onSigint() { + * console.info('Received SIGINT.'); + * process.exit(130); // Or applicable exit code depending on OS and signal + * }); + * ``` + * + * The tracing system uses the same time source + * as the one used by `process.hrtime()`. + * However the trace-event timestamps are expressed in microseconds, + * unlike `process.hrtime()` which returns nanoseconds. + * + * The features from this module are not available in `Worker` threads. + * @experimental + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/trace_events.js) + */ +declare module "trace_events" { + /** + * The `Tracing` object is used to enable or disable tracing for sets of + * categories. Instances are created using the + * `trace_events.createTracing()` method. + * + * When created, the `Tracing` object is disabled. Calling the + * `tracing.enable()` method adds the categories to the set of enabled trace + * event categories. Calling `tracing.disable()` will remove the categories + * from the set of enabled trace event categories. + */ + interface Tracing { + /** + * A comma-separated list of the trace event categories covered by this + * `Tracing` object. + */ + readonly categories: string; + /** + * Disables this `Tracing` object. + * + * Only trace event categories _not_ covered by other enabled `Tracing` + * objects and _not_ specified by the `--trace-event-categories` flag + * will be disabled. + */ + disable(): void; + /** + * Enables this `Tracing` object for the set of categories covered by + * the `Tracing` object. + */ + enable(): void; + /** + * `true` only if the `Tracing` object has been enabled. + */ + readonly enabled: boolean; + } + interface CreateTracingOptions { + /** + * An array of trace category names. Values included in the array are + * coerced to a string when possible. An error will be thrown if the + * value cannot be coerced. + */ + categories: string[]; + } + /** + * Creates and returns a `Tracing` object for the given set of `categories`. + * + * ```js + * const trace_events = require('node:trace_events'); + * const categories = ['node.perf', 'node.async_hooks']; + * const tracing = trace_events.createTracing({ categories }); + * tracing.enable(); + * // do stuff + * tracing.disable(); + * ``` + * @since v10.0.0 + * @return . + */ + function createTracing(options: CreateTracingOptions): Tracing; + /** + * Returns a comma-separated list of all currently-enabled trace event + * categories. The current set of enabled trace event categories is determined + * by the _union_ of all currently-enabled `Tracing` objects and any categories + * enabled using the `--trace-event-categories` flag. + * + * Given the file `test.js` below, the command`node --trace-event-categories node.perf test.js` will print`'node.async_hooks,node.perf'` to the console. + * + * ```js + * const trace_events = require('node:trace_events'); + * const t1 = trace_events.createTracing({ categories: ['node.async_hooks'] }); + * const t2 = trace_events.createTracing({ categories: ['node.perf'] }); + * const t3 = trace_events.createTracing({ categories: ['v8'] }); + * + * t1.enable(); + * t2.enable(); + * + * console.log(trace_events.getEnabledCategories()); + * ``` + * @since v10.0.0 + */ + function getEnabledCategories(): string | undefined; +} +declare module "node:trace_events" { + export * from "trace_events"; +} diff --git a/node_modules/@types/node/ts4.8/tty.d.ts b/node_modules/@types/node/ts4.8/tty.d.ts new file mode 100644 index 000000000..1c0dafd3e --- /dev/null +++ b/node_modules/@types/node/ts4.8/tty.d.ts @@ -0,0 +1,208 @@ +/** + * The `node:tty` module provides the `tty.ReadStream` and `tty.WriteStream`classes. In most cases, it will not be necessary or possible to use this module + * directly. However, it can be accessed using: + * + * ```js + * const tty = require('node:tty'); + * ``` + * + * When Node.js detects that it is being run with a text terminal ("TTY") + * attached, `process.stdin` will, by default, be initialized as an instance of`tty.ReadStream` and both `process.stdout` and `process.stderr` will, by + * default, be instances of `tty.WriteStream`. The preferred method of determining + * whether Node.js is being run within a TTY context is to check that the value of + * the `process.stdout.isTTY` property is `true`: + * + * ```console + * $ node -p -e "Boolean(process.stdout.isTTY)" + * true + * $ node -p -e "Boolean(process.stdout.isTTY)" | cat + * false + * ``` + * + * In most cases, there should be little to no reason for an application to + * manually create instances of the `tty.ReadStream` and `tty.WriteStream`classes. + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/tty.js) + */ +declare module "tty" { + import * as net from "node:net"; + /** + * The `tty.isatty()` method returns `true` if the given `fd` is associated with + * a TTY and `false` if it is not, including whenever `fd` is not a non-negative + * integer. + * @since v0.5.8 + * @param fd A numeric file descriptor + */ + function isatty(fd: number): boolean; + /** + * Represents the readable side of a TTY. In normal circumstances `process.stdin` will be the only `tty.ReadStream` instance in a Node.js + * process and there should be no reason to create additional instances. + * @since v0.5.8 + */ + class ReadStream extends net.Socket { + constructor(fd: number, options?: net.SocketConstructorOpts); + /** + * A `boolean` that is `true` if the TTY is currently configured to operate as a + * raw device. + * + * This flag is always `false` when a process starts, even if the terminal is + * operating in raw mode. Its value will change with subsequent calls to`setRawMode`. + * @since v0.7.7 + */ + isRaw: boolean; + /** + * Allows configuration of `tty.ReadStream` so that it operates as a raw device. + * + * When in raw mode, input is always available character-by-character, not + * including modifiers. Additionally, all special processing of characters by the + * terminal is disabled, including echoing input + * characters. Ctrl+C will no longer cause a `SIGINT` when + * in this mode. + * @since v0.7.7 + * @param mode If `true`, configures the `tty.ReadStream` to operate as a raw device. If `false`, configures the `tty.ReadStream` to operate in its default mode. The `readStream.isRaw` + * property will be set to the resulting mode. + * @return The read stream instance. + */ + setRawMode(mode: boolean): this; + /** + * A `boolean` that is always `true` for `tty.ReadStream` instances. + * @since v0.5.8 + */ + isTTY: boolean; + } + /** + * -1 - to the left from cursor + * 0 - the entire line + * 1 - to the right from cursor + */ + type Direction = -1 | 0 | 1; + /** + * Represents the writable side of a TTY. In normal circumstances,`process.stdout` and `process.stderr` will be the only`tty.WriteStream` instances created for a Node.js process and there + * should be no reason to create additional instances. + * @since v0.5.8 + */ + class WriteStream extends net.Socket { + constructor(fd: number); + addListener(event: string, listener: (...args: any[]) => void): this; + addListener(event: "resize", listener: () => void): this; + emit(event: string | symbol, ...args: any[]): boolean; + emit(event: "resize"): boolean; + on(event: string, listener: (...args: any[]) => void): this; + on(event: "resize", listener: () => void): this; + once(event: string, listener: (...args: any[]) => void): this; + once(event: "resize", listener: () => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependListener(event: "resize", listener: () => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: "resize", listener: () => void): this; + /** + * `writeStream.clearLine()` clears the current line of this `WriteStream` in a + * direction identified by `dir`. + * @since v0.7.7 + * @param callback Invoked once the operation completes. + * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. + */ + clearLine(dir: Direction, callback?: () => void): boolean; + /** + * `writeStream.clearScreenDown()` clears this `WriteStream` from the current + * cursor down. + * @since v0.7.7 + * @param callback Invoked once the operation completes. + * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. + */ + clearScreenDown(callback?: () => void): boolean; + /** + * `writeStream.cursorTo()` moves this `WriteStream`'s cursor to the specified + * position. + * @since v0.7.7 + * @param callback Invoked once the operation completes. + * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. + */ + cursorTo(x: number, y?: number, callback?: () => void): boolean; + cursorTo(x: number, callback: () => void): boolean; + /** + * `writeStream.moveCursor()` moves this `WriteStream`'s cursor _relative_ to its + * current position. + * @since v0.7.7 + * @param callback Invoked once the operation completes. + * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`. + */ + moveCursor(dx: number, dy: number, callback?: () => void): boolean; + /** + * Returns: + * + * * `1` for 2, + * * `4` for 16, + * * `8` for 256, + * * `24` for 16,777,216 colors supported. + * + * Use this to determine what colors the terminal supports. Due to the nature of + * colors in terminals it is possible to either have false positives or false + * negatives. It depends on process information and the environment variables that + * may lie about what terminal is used. + * It is possible to pass in an `env` object to simulate the usage of a specific + * terminal. This can be useful to check how specific environment settings behave. + * + * To enforce a specific color support, use one of the below environment settings. + * + * * 2 colors: `FORCE_COLOR = 0` (Disables colors) + * * 16 colors: `FORCE_COLOR = 1` + * * 256 colors: `FORCE_COLOR = 2` + * * 16,777,216 colors: `FORCE_COLOR = 3` + * + * Disabling color support is also possible by using the `NO_COLOR` and`NODE_DISABLE_COLORS` environment variables. + * @since v9.9.0 + * @param [env=process.env] An object containing the environment variables to check. This enables simulating the usage of a specific terminal. + */ + getColorDepth(env?: object): number; + /** + * Returns `true` if the `writeStream` supports at least as many colors as provided + * in `count`. Minimum support is 2 (black and white). + * + * This has the same false positives and negatives as described in `writeStream.getColorDepth()`. + * + * ```js + * process.stdout.hasColors(); + * // Returns true or false depending on if `stdout` supports at least 16 colors. + * process.stdout.hasColors(256); + * // Returns true or false depending on if `stdout` supports at least 256 colors. + * process.stdout.hasColors({ TMUX: '1' }); + * // Returns true. + * process.stdout.hasColors(2 ** 24, { TMUX: '1' }); + * // Returns false (the environment setting pretends to support 2 ** 8 colors). + * ``` + * @since v11.13.0, v10.16.0 + * @param [count=16] The number of colors that are requested (minimum 2). + * @param [env=process.env] An object containing the environment variables to check. This enables simulating the usage of a specific terminal. + */ + hasColors(count?: number): boolean; + hasColors(env?: object): boolean; + hasColors(count: number, env?: object): boolean; + /** + * `writeStream.getWindowSize()` returns the size of the TTY + * corresponding to this `WriteStream`. The array is of the type`[numColumns, numRows]` where `numColumns` and `numRows` represent the number + * of columns and rows in the corresponding TTY. + * @since v0.7.7 + */ + getWindowSize(): [number, number]; + /** + * A `number` specifying the number of columns the TTY currently has. This property + * is updated whenever the `'resize'` event is emitted. + * @since v0.7.7 + */ + columns: number; + /** + * A `number` specifying the number of rows the TTY currently has. This property + * is updated whenever the `'resize'` event is emitted. + * @since v0.7.7 + */ + rows: number; + /** + * A `boolean` that is always `true`. + * @since v0.5.8 + */ + isTTY: boolean; + } +} +declare module "node:tty" { + export * from "tty"; +} diff --git a/node_modules/@types/node/ts4.8/url.d.ts b/node_modules/@types/node/ts4.8/url.d.ts new file mode 100644 index 000000000..20a5d8518 --- /dev/null +++ b/node_modules/@types/node/ts4.8/url.d.ts @@ -0,0 +1,927 @@ +/** + * The `node:url` module provides utilities for URL resolution and parsing. It can + * be accessed using: + * + * ```js + * import url from 'node:url'; + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/url.js) + */ +declare module "url" { + import { Blob as NodeBlob } from "node:buffer"; + import { ClientRequestArgs } from "node:http"; + import { ParsedUrlQuery, ParsedUrlQueryInput } from "node:querystring"; + // Input to `url.format` + interface UrlObject { + auth?: string | null | undefined; + hash?: string | null | undefined; + host?: string | null | undefined; + hostname?: string | null | undefined; + href?: string | null | undefined; + pathname?: string | null | undefined; + protocol?: string | null | undefined; + search?: string | null | undefined; + slashes?: boolean | null | undefined; + port?: string | number | null | undefined; + query?: string | null | ParsedUrlQueryInput | undefined; + } + // Output of `url.parse` + interface Url { + auth: string | null; + hash: string | null; + host: string | null; + hostname: string | null; + href: string; + path: string | null; + pathname: string | null; + protocol: string | null; + search: string | null; + slashes: boolean | null; + port: string | null; + query: string | null | ParsedUrlQuery; + } + interface UrlWithParsedQuery extends Url { + query: ParsedUrlQuery; + } + interface UrlWithStringQuery extends Url { + query: string | null; + } + /** + * The `url.parse()` method takes a URL string, parses it, and returns a URL + * object. + * + * A `TypeError` is thrown if `urlString` is not a string. + * + * A `URIError` is thrown if the `auth` property is present but cannot be decoded. + * + * `url.parse()` uses a lenient, non-standard algorithm for parsing URL + * strings. It is prone to security issues such as [host name spoofing](https://hackerone.com/reports/678487) and incorrect handling of usernames and passwords. Do not use with untrusted + * input. CVEs are not issued for `url.parse()` vulnerabilities. Use the `WHATWG URL` API instead. + * @since v0.1.25 + * @deprecated Use the WHATWG URL API instead. + * @param urlString The URL string to parse. + * @param [parseQueryString=false] If `true`, the `query` property will always be set to an object returned by the {@link querystring} module's `parse()` method. If `false`, the `query` property + * on the returned URL object will be an unparsed, undecoded string. + * @param [slashesDenoteHost=false] If `true`, the first token after the literal string `//` and preceding the next `/` will be interpreted as the `host`. For instance, given `//foo/bar`, the + * result would be `{host: 'foo', pathname: '/bar'}` rather than `{pathname: '//foo/bar'}`. + */ + function parse(urlString: string): UrlWithStringQuery; + function parse( + urlString: string, + parseQueryString: false | undefined, + slashesDenoteHost?: boolean, + ): UrlWithStringQuery; + function parse(urlString: string, parseQueryString: true, slashesDenoteHost?: boolean): UrlWithParsedQuery; + function parse(urlString: string, parseQueryString: boolean, slashesDenoteHost?: boolean): Url; + /** + * The `url.format()` method returns a formatted URL string derived from`urlObject`. + * + * ```js + * const url = require('node:url'); + * url.format({ + * protocol: 'https', + * hostname: 'example.com', + * pathname: '/some/path', + * query: { + * page: 1, + * format: 'json', + * }, + * }); + * + * // => 'https://example.com/some/path?page=1&format=json' + * ``` + * + * If `urlObject` is not an object or a string, `url.format()` will throw a `TypeError`. + * + * The formatting process operates as follows: + * + * * A new empty string `result` is created. + * * If `urlObject.protocol` is a string, it is appended as-is to `result`. + * * Otherwise, if `urlObject.protocol` is not `undefined` and is not a string, an `Error` is thrown. + * * For all string values of `urlObject.protocol` that _do not end_ with an ASCII + * colon (`:`) character, the literal string `:` will be appended to `result`. + * * If either of the following conditions is true, then the literal string `//`will be appended to `result`: + * * `urlObject.slashes` property is true; + * * `urlObject.protocol` begins with `http`, `https`, `ftp`, `gopher`, or`file`; + * * If the value of the `urlObject.auth` property is truthy, and either`urlObject.host` or `urlObject.hostname` are not `undefined`, the value of`urlObject.auth` will be coerced into a string + * and appended to `result`followed by the literal string `@`. + * * If the `urlObject.host` property is `undefined` then: + * * If the `urlObject.hostname` is a string, it is appended to `result`. + * * Otherwise, if `urlObject.hostname` is not `undefined` and is not a string, + * an `Error` is thrown. + * * If the `urlObject.port` property value is truthy, and `urlObject.hostname`is not `undefined`: + * * The literal string `:` is appended to `result`, and + * * The value of `urlObject.port` is coerced to a string and appended to`result`. + * * Otherwise, if the `urlObject.host` property value is truthy, the value of`urlObject.host` is coerced to a string and appended to `result`. + * * If the `urlObject.pathname` property is a string that is not an empty string: + * * If the `urlObject.pathname`_does not start_ with an ASCII forward slash + * (`/`), then the literal string `'/'` is appended to `result`. + * * The value of `urlObject.pathname` is appended to `result`. + * * Otherwise, if `urlObject.pathname` is not `undefined` and is not a string, an `Error` is thrown. + * * If the `urlObject.search` property is `undefined` and if the `urlObject.query`property is an `Object`, the literal string `?` is appended to `result`followed by the output of calling the + * `querystring` module's `stringify()`method passing the value of `urlObject.query`. + * * Otherwise, if `urlObject.search` is a string: + * * If the value of `urlObject.search`_does not start_ with the ASCII question + * mark (`?`) character, the literal string `?` is appended to `result`. + * * The value of `urlObject.search` is appended to `result`. + * * Otherwise, if `urlObject.search` is not `undefined` and is not a string, an `Error` is thrown. + * * If the `urlObject.hash` property is a string: + * * If the value of `urlObject.hash`_does not start_ with the ASCII hash (`#`) + * character, the literal string `#` is appended to `result`. + * * The value of `urlObject.hash` is appended to `result`. + * * Otherwise, if the `urlObject.hash` property is not `undefined` and is not a + * string, an `Error` is thrown. + * * `result` is returned. + * @since v0.1.25 + * @legacy Use the WHATWG URL API instead. + * @param urlObject A URL object (as returned by `url.parse()` or constructed otherwise). If a string, it is converted to an object by passing it to `url.parse()`. + */ + function format(urlObject: URL, options?: URLFormatOptions): string; + /** + * The `url.format()` method returns a formatted URL string derived from`urlObject`. + * + * ```js + * const url = require('url'); + * url.format({ + * protocol: 'https', + * hostname: 'example.com', + * pathname: '/some/path', + * query: { + * page: 1, + * format: 'json' + * } + * }); + * + * // => 'https://example.com/some/path?page=1&format=json' + * ``` + * + * If `urlObject` is not an object or a string, `url.format()` will throw a `TypeError`. + * + * The formatting process operates as follows: + * + * * A new empty string `result` is created. + * * If `urlObject.protocol` is a string, it is appended as-is to `result`. + * * Otherwise, if `urlObject.protocol` is not `undefined` and is not a string, an `Error` is thrown. + * * For all string values of `urlObject.protocol` that _do not end_ with an ASCII + * colon (`:`) character, the literal string `:` will be appended to `result`. + * * If either of the following conditions is true, then the literal string `//`will be appended to `result`: + * * `urlObject.slashes` property is true; + * * `urlObject.protocol` begins with `http`, `https`, `ftp`, `gopher`, or`file`; + * * If the value of the `urlObject.auth` property is truthy, and either`urlObject.host` or `urlObject.hostname` are not `undefined`, the value of`urlObject.auth` will be coerced into a string + * and appended to `result`followed by the literal string `@`. + * * If the `urlObject.host` property is `undefined` then: + * * If the `urlObject.hostname` is a string, it is appended to `result`. + * * Otherwise, if `urlObject.hostname` is not `undefined` and is not a string, + * an `Error` is thrown. + * * If the `urlObject.port` property value is truthy, and `urlObject.hostname`is not `undefined`: + * * The literal string `:` is appended to `result`, and + * * The value of `urlObject.port` is coerced to a string and appended to`result`. + * * Otherwise, if the `urlObject.host` property value is truthy, the value of`urlObject.host` is coerced to a string and appended to `result`. + * * If the `urlObject.pathname` property is a string that is not an empty string: + * * If the `urlObject.pathname`_does not start_ with an ASCII forward slash + * (`/`), then the literal string `'/'` is appended to `result`. + * * The value of `urlObject.pathname` is appended to `result`. + * * Otherwise, if `urlObject.pathname` is not `undefined` and is not a string, an `Error` is thrown. + * * If the `urlObject.search` property is `undefined` and if the `urlObject.query`property is an `Object`, the literal string `?` is appended to `result`followed by the output of calling the + * `querystring` module's `stringify()`method passing the value of `urlObject.query`. + * * Otherwise, if `urlObject.search` is a string: + * * If the value of `urlObject.search`_does not start_ with the ASCII question + * mark (`?`) character, the literal string `?` is appended to `result`. + * * The value of `urlObject.search` is appended to `result`. + * * Otherwise, if `urlObject.search` is not `undefined` and is not a string, an `Error` is thrown. + * * If the `urlObject.hash` property is a string: + * * If the value of `urlObject.hash`_does not start_ with the ASCII hash (`#`) + * character, the literal string `#` is appended to `result`. + * * The value of `urlObject.hash` is appended to `result`. + * * Otherwise, if the `urlObject.hash` property is not `undefined` and is not a + * string, an `Error` is thrown. + * * `result` is returned. + * @since v0.1.25 + * @legacy Use the WHATWG URL API instead. + * @param urlObject A URL object (as returned by `url.parse()` or constructed otherwise). If a string, it is converted to an object by passing it to `url.parse()`. + */ + function format(urlObject: UrlObject | string): string; + /** + * The `url.resolve()` method resolves a target URL relative to a base URL in a + * manner similar to that of a web browser resolving an anchor tag. + * + * ```js + * const url = require('node:url'); + * url.resolve('/one/two/three', 'four'); // '/one/two/four' + * url.resolve('http://example.com/', '/one'); // 'http://example.com/one' + * url.resolve('http://example.com/one', '/two'); // 'http://example.com/two' + * ``` + * + * To achieve the same result using the WHATWG URL API: + * + * ```js + * function resolve(from, to) { + * const resolvedUrl = new URL(to, new URL(from, 'resolve://')); + * if (resolvedUrl.protocol === 'resolve:') { + * // `from` is a relative URL. + * const { pathname, search, hash } = resolvedUrl; + * return pathname + search + hash; + * } + * return resolvedUrl.toString(); + * } + * + * resolve('/one/two/three', 'four'); // '/one/two/four' + * resolve('http://example.com/', '/one'); // 'http://example.com/one' + * resolve('http://example.com/one', '/two'); // 'http://example.com/two' + * ``` + * @since v0.1.25 + * @legacy Use the WHATWG URL API instead. + * @param from The base URL to use if `to` is a relative URL. + * @param to The target URL to resolve. + */ + function resolve(from: string, to: string): string; + /** + * Returns the [Punycode](https://tools.ietf.org/html/rfc5891#section-4.4) ASCII serialization of the `domain`. If `domain` is an + * invalid domain, the empty string is returned. + * + * It performs the inverse operation to {@link domainToUnicode}. + * + * ```js + * import url from 'node:url'; + * + * console.log(url.domainToASCII('español.com')); + * // Prints xn--espaol-zwa.com + * console.log(url.domainToASCII('中文.com')); + * // Prints xn--fiq228c.com + * console.log(url.domainToASCII('xn--iñvalid.com')); + * // Prints an empty string + * ``` + * @since v7.4.0, v6.13.0 + */ + function domainToASCII(domain: string): string; + /** + * Returns the Unicode serialization of the `domain`. If `domain` is an invalid + * domain, the empty string is returned. + * + * It performs the inverse operation to {@link domainToASCII}. + * + * ```js + * import url from 'node:url'; + * + * console.log(url.domainToUnicode('xn--espaol-zwa.com')); + * // Prints español.com + * console.log(url.domainToUnicode('xn--fiq228c.com')); + * // Prints 中文.com + * console.log(url.domainToUnicode('xn--iñvalid.com')); + * // Prints an empty string + * ``` + * @since v7.4.0, v6.13.0 + */ + function domainToUnicode(domain: string): string; + /** + * This function ensures the correct decodings of percent-encoded characters as + * well as ensuring a cross-platform valid absolute path string. + * + * ```js + * import { fileURLToPath } from 'node:url'; + * + * const __filename = fileURLToPath(import.meta.url); + * + * new URL('file:///C:/path/').pathname; // Incorrect: /C:/path/ + * fileURLToPath('file:///C:/path/'); // Correct: C:\path\ (Windows) + * + * new URL('file://nas/foo.txt').pathname; // Incorrect: /foo.txt + * fileURLToPath('file://nas/foo.txt'); // Correct: \\nas\foo.txt (Windows) + * + * new URL('file:///你好.txt').pathname; // Incorrect: /%E4%BD%A0%E5%A5%BD.txt + * fileURLToPath('file:///你好.txt'); // Correct: /你好.txt (POSIX) + * + * new URL('file:///hello world').pathname; // Incorrect: /hello%20world + * fileURLToPath('file:///hello world'); // Correct: /hello world (POSIX) + * ``` + * @since v10.12.0 + * @param url The file URL string or URL object to convert to a path. + * @return The fully-resolved platform-specific Node.js file path. + */ + function fileURLToPath(url: string | URL): string; + /** + * This function ensures that `path` is resolved absolutely, and that the URL + * control characters are correctly encoded when converting into a File URL. + * + * ```js + * import { pathToFileURL } from 'node:url'; + * + * new URL('/foo#1', 'file:'); // Incorrect: file:///foo#1 + * pathToFileURL('/foo#1'); // Correct: file:///foo%231 (POSIX) + * + * new URL('/some/path%.c', 'file:'); // Incorrect: file:///some/path%.c + * pathToFileURL('/some/path%.c'); // Correct: file:///some/path%25.c (POSIX) + * ``` + * @since v10.12.0 + * @param path The path to convert to a File URL. + * @return The file URL object. + */ + function pathToFileURL(path: string): URL; + /** + * This utility function converts a URL object into an ordinary options object as + * expected by the `http.request()` and `https.request()` APIs. + * + * ```js + * import { urlToHttpOptions } from 'node:url'; + * const myURL = new URL('https://a:b@測試?abc#foo'); + * + * console.log(urlToHttpOptions(myURL)); + * /* + * { + * protocol: 'https:', + * hostname: 'xn--g6w251d', + * hash: '#foo', + * search: '?abc', + * pathname: '/', + * path: '/?abc', + * href: 'https://a:b@xn--g6w251d/?abc#foo', + * auth: 'a:b' + * } + * + * ``` + * @since v15.7.0, v14.18.0 + * @param url The `WHATWG URL` object to convert to an options object. + * @return Options object + */ + function urlToHttpOptions(url: URL): ClientRequestArgs; + interface URLFormatOptions { + auth?: boolean | undefined; + fragment?: boolean | undefined; + search?: boolean | undefined; + unicode?: boolean | undefined; + } + /** + * Browser-compatible `URL` class, implemented by following the WHATWG URL + * Standard. [Examples of parsed URLs](https://url.spec.whatwg.org/#example-url-parsing) may be found in the Standard itself. + * The `URL` class is also available on the global object. + * + * In accordance with browser conventions, all properties of `URL` objects + * are implemented as getters and setters on the class prototype, rather than as + * data properties on the object itself. Thus, unlike `legacy urlObject` s, + * using the `delete` keyword on any properties of `URL` objects (e.g. `delete myURL.protocol`, `delete myURL.pathname`, etc) has no effect but will still + * return `true`. + * @since v7.0.0, v6.13.0 + */ + class URL { + /** + * Creates a `'blob:nodedata:...'` URL string that represents the given `Blob` object and can be used to retrieve the `Blob` later. + * + * ```js + * const { + * Blob, + * resolveObjectURL, + * } = require('node:buffer'); + * + * const blob = new Blob(['hello']); + * const id = URL.createObjectURL(blob); + * + * // later... + * + * const otherBlob = resolveObjectURL(id); + * console.log(otherBlob.size); + * ``` + * + * The data stored by the registered `Blob` will be retained in memory until`URL.revokeObjectURL()` is called to remove it. + * + * `Blob` objects are registered within the current thread. If using Worker + * Threads, `Blob` objects registered within one Worker will not be available + * to other workers or the main thread. + * @since v16.7.0 + * @experimental + */ + static createObjectURL(blob: NodeBlob): string; + /** + * Removes the stored `Blob` identified by the given ID. Attempting to revoke a + * ID that isn't registered will silently fail. + * @since v16.7.0 + * @experimental + * @param id A `'blob:nodedata:...` URL string returned by a prior call to `URL.createObjectURL()`. + */ + static revokeObjectURL(objectUrl: string): void; + /** + * Checks if an `input` relative to the `base` can be parsed to a `URL`. + * + * ```js + * const isValid = URL.canParse('/foo', 'https://example.org/'); // true + * + * const isNotValid = URL.canParse('/foo'); // false + * ``` + * @since v19.9.0 + * @param input The absolute or relative input URL to parse. If `input` is relative, then `base` is required. If `input` is absolute, the `base` is ignored. If `input` is not a string, it is + * `converted to a string` first. + * @param base The base URL to resolve against if the `input` is not absolute. If `base` is not a string, it is `converted to a string` first. + */ + static canParse(input: string, base?: string): boolean; + constructor(input: string, base?: string | URL); + /** + * Gets and sets the fragment portion of the URL. + * + * ```js + * const myURL = new URL('https://example.org/foo#bar'); + * console.log(myURL.hash); + * // Prints #bar + * + * myURL.hash = 'baz'; + * console.log(myURL.href); + * // Prints https://example.org/foo#baz + * ``` + * + * Invalid URL characters included in the value assigned to the `hash` property + * are `percent-encoded`. The selection of which characters to + * percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce. + */ + hash: string; + /** + * Gets and sets the host portion of the URL. + * + * ```js + * const myURL = new URL('https://example.org:81/foo'); + * console.log(myURL.host); + * // Prints example.org:81 + * + * myURL.host = 'example.com:82'; + * console.log(myURL.href); + * // Prints https://example.com:82/foo + * ``` + * + * Invalid host values assigned to the `host` property are ignored. + */ + host: string; + /** + * Gets and sets the host name portion of the URL. The key difference between`url.host` and `url.hostname` is that `url.hostname` does _not_ include the + * port. + * + * ```js + * const myURL = new URL('https://example.org:81/foo'); + * console.log(myURL.hostname); + * // Prints example.org + * + * // Setting the hostname does not change the port + * myURL.hostname = 'example.com'; + * console.log(myURL.href); + * // Prints https://example.com:81/foo + * + * // Use myURL.host to change the hostname and port + * myURL.host = 'example.org:82'; + * console.log(myURL.href); + * // Prints https://example.org:82/foo + * ``` + * + * Invalid host name values assigned to the `hostname` property are ignored. + */ + hostname: string; + /** + * Gets and sets the serialized URL. + * + * ```js + * const myURL = new URL('https://example.org/foo'); + * console.log(myURL.href); + * // Prints https://example.org/foo + * + * myURL.href = 'https://example.com/bar'; + * console.log(myURL.href); + * // Prints https://example.com/bar + * ``` + * + * Getting the value of the `href` property is equivalent to calling {@link toString}. + * + * Setting the value of this property to a new value is equivalent to creating a + * new `URL` object using `new URL(value)`. Each of the `URL`object's properties will be modified. + * + * If the value assigned to the `href` property is not a valid URL, a `TypeError`will be thrown. + */ + href: string; + /** + * Gets the read-only serialization of the URL's origin. + * + * ```js + * const myURL = new URL('https://example.org/foo/bar?baz'); + * console.log(myURL.origin); + * // Prints https://example.org + * ``` + * + * ```js + * const idnURL = new URL('https://測試'); + * console.log(idnURL.origin); + * // Prints https://xn--g6w251d + * + * console.log(idnURL.hostname); + * // Prints xn--g6w251d + * ``` + */ + readonly origin: string; + /** + * Gets and sets the password portion of the URL. + * + * ```js + * const myURL = new URL('https://abc:xyz@example.com'); + * console.log(myURL.password); + * // Prints xyz + * + * myURL.password = '123'; + * console.log(myURL.href); + * // Prints https://abc:123@example.com/ + * ``` + * + * Invalid URL characters included in the value assigned to the `password` property + * are `percent-encoded`. The selection of which characters to + * percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce. + */ + password: string; + /** + * Gets and sets the path portion of the URL. + * + * ```js + * const myURL = new URL('https://example.org/abc/xyz?123'); + * console.log(myURL.pathname); + * // Prints /abc/xyz + * + * myURL.pathname = '/abcdef'; + * console.log(myURL.href); + * // Prints https://example.org/abcdef?123 + * ``` + * + * Invalid URL characters included in the value assigned to the `pathname`property are `percent-encoded`. The selection of which characters + * to percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce. + */ + pathname: string; + /** + * Gets and sets the port portion of the URL. + * + * The port value may be a number or a string containing a number in the range`0` to `65535` (inclusive). Setting the value to the default port of the`URL` objects given `protocol` will + * result in the `port` value becoming + * the empty string (`''`). + * + * The port value can be an empty string in which case the port depends on + * the protocol/scheme: + * + * + * + * Upon assigning a value to the port, the value will first be converted to a + * string using `.toString()`. + * + * If that string is invalid but it begins with a number, the leading number is + * assigned to `port`. + * If the number lies outside the range denoted above, it is ignored. + * + * ```js + * const myURL = new URL('https://example.org:8888'); + * console.log(myURL.port); + * // Prints 8888 + * + * // Default ports are automatically transformed to the empty string + * // (HTTPS protocol's default port is 443) + * myURL.port = '443'; + * console.log(myURL.port); + * // Prints the empty string + * console.log(myURL.href); + * // Prints https://example.org/ + * + * myURL.port = 1234; + * console.log(myURL.port); + * // Prints 1234 + * console.log(myURL.href); + * // Prints https://example.org:1234/ + * + * // Completely invalid port strings are ignored + * myURL.port = 'abcd'; + * console.log(myURL.port); + * // Prints 1234 + * + * // Leading numbers are treated as a port number + * myURL.port = '5678abcd'; + * console.log(myURL.port); + * // Prints 5678 + * + * // Non-integers are truncated + * myURL.port = 1234.5678; + * console.log(myURL.port); + * // Prints 1234 + * + * // Out-of-range numbers which are not represented in scientific notation + * // will be ignored. + * myURL.port = 1e10; // 10000000000, will be range-checked as described below + * console.log(myURL.port); + * // Prints 1234 + * ``` + * + * Numbers which contain a decimal point, + * such as floating-point numbers or numbers in scientific notation, + * are not an exception to this rule. + * Leading numbers up to the decimal point will be set as the URL's port, + * assuming they are valid: + * + * ```js + * myURL.port = 4.567e21; + * console.log(myURL.port); + * // Prints 4 (because it is the leading number in the string '4.567e21') + * ``` + */ + port: string; + /** + * Gets and sets the protocol portion of the URL. + * + * ```js + * const myURL = new URL('https://example.org'); + * console.log(myURL.protocol); + * // Prints https: + * + * myURL.protocol = 'ftp'; + * console.log(myURL.href); + * // Prints ftp://example.org/ + * ``` + * + * Invalid URL protocol values assigned to the `protocol` property are ignored. + */ + protocol: string; + /** + * Gets and sets the serialized query portion of the URL. + * + * ```js + * const myURL = new URL('https://example.org/abc?123'); + * console.log(myURL.search); + * // Prints ?123 + * + * myURL.search = 'abc=xyz'; + * console.log(myURL.href); + * // Prints https://example.org/abc?abc=xyz + * ``` + * + * Any invalid URL characters appearing in the value assigned the `search`property will be `percent-encoded`. The selection of which + * characters to percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce. + */ + search: string; + /** + * Gets the `URLSearchParams` object representing the query parameters of the + * URL. This property is read-only but the `URLSearchParams` object it provides + * can be used to mutate the URL instance; to replace the entirety of query + * parameters of the URL, use the {@link search} setter. See `URLSearchParams` documentation for details. + * + * Use care when using `.searchParams` to modify the `URL` because, + * per the WHATWG specification, the `URLSearchParams` object uses + * different rules to determine which characters to percent-encode. For + * instance, the `URL` object will not percent encode the ASCII tilde (`~`) + * character, while `URLSearchParams` will always encode it: + * + * ```js + * const myURL = new URL('https://example.org/abc?foo=~bar'); + * + * console.log(myURL.search); // prints ?foo=~bar + * + * // Modify the URL via searchParams... + * myURL.searchParams.sort(); + * + * console.log(myURL.search); // prints ?foo=%7Ebar + * ``` + */ + readonly searchParams: URLSearchParams; + /** + * Gets and sets the username portion of the URL. + * + * ```js + * const myURL = new URL('https://abc:xyz@example.com'); + * console.log(myURL.username); + * // Prints abc + * + * myURL.username = '123'; + * console.log(myURL.href); + * // Prints https://123:xyz@example.com/ + * ``` + * + * Any invalid URL characters appearing in the value assigned the `username`property will be `percent-encoded`. The selection of which + * characters to percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce. + */ + username: string; + /** + * The `toString()` method on the `URL` object returns the serialized URL. The + * value returned is equivalent to that of {@link href} and {@link toJSON}. + */ + toString(): string; + /** + * The `toJSON()` method on the `URL` object returns the serialized URL. The + * value returned is equivalent to that of {@link href} and {@link toString}. + * + * This method is automatically called when an `URL` object is serialized + * with [`JSON.stringify()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify). + * + * ```js + * const myURLs = [ + * new URL('https://www.example.com'), + * new URL('https://test.example.org'), + * ]; + * console.log(JSON.stringify(myURLs)); + * // Prints ["https://www.example.com/","https://test.example.org/"] + * ``` + */ + toJSON(): string; + } + /** + * The `URLSearchParams` API provides read and write access to the query of a`URL`. The `URLSearchParams` class can also be used standalone with one of the + * four following constructors. + * The `URLSearchParams` class is also available on the global object. + * + * The WHATWG `URLSearchParams` interface and the `querystring` module have + * similar purpose, but the purpose of the `querystring` module is more + * general, as it allows the customization of delimiter characters (`&` and `=`). + * On the other hand, this API is designed purely for URL query strings. + * + * ```js + * const myURL = new URL('https://example.org/?abc=123'); + * console.log(myURL.searchParams.get('abc')); + * // Prints 123 + * + * myURL.searchParams.append('abc', 'xyz'); + * console.log(myURL.href); + * // Prints https://example.org/?abc=123&abc=xyz + * + * myURL.searchParams.delete('abc'); + * myURL.searchParams.set('a', 'b'); + * console.log(myURL.href); + * // Prints https://example.org/?a=b + * + * const newSearchParams = new URLSearchParams(myURL.searchParams); + * // The above is equivalent to + * // const newSearchParams = new URLSearchParams(myURL.search); + * + * newSearchParams.append('a', 'c'); + * console.log(myURL.href); + * // Prints https://example.org/?a=b + * console.log(newSearchParams.toString()); + * // Prints a=b&a=c + * + * // newSearchParams.toString() is implicitly called + * myURL.search = newSearchParams; + * console.log(myURL.href); + * // Prints https://example.org/?a=b&a=c + * newSearchParams.delete('a'); + * console.log(myURL.href); + * // Prints https://example.org/?a=b&a=c + * ``` + * @since v7.5.0, v6.13.0 + */ + class URLSearchParams implements Iterable<[string, string]> { + constructor( + init?: + | URLSearchParams + | string + | Record + | Iterable<[string, string]> + | ReadonlyArray<[string, string]>, + ); + /** + * Append a new name-value pair to the query string. + */ + append(name: string, value: string): void; + /** + * If `value` is provided, removes all name-value pairs + * where name is `name` and value is `value`.. + * + * If `value` is not provided, removes all name-value pairs whose name is `name`. + */ + delete(name: string, value?: string): void; + /** + * Returns an ES6 `Iterator` over each of the name-value pairs in the query. + * Each item of the iterator is a JavaScript `Array`. The first item of the `Array`is the `name`, the second item of the `Array` is the `value`. + * + * Alias for `urlSearchParams[@@iterator]()`. + */ + entries(): IterableIterator<[string, string]>; + /** + * Iterates over each name-value pair in the query and invokes the given function. + * + * ```js + * const myURL = new URL('https://example.org/?a=b&c=d'); + * myURL.searchParams.forEach((value, name, searchParams) => { + * console.log(name, value, myURL.searchParams === searchParams); + * }); + * // Prints: + * // a b true + * // c d true + * ``` + * @param fn Invoked for each name-value pair in the query + * @param thisArg To be used as `this` value for when `fn` is called + */ + forEach( + callback: (this: TThis, value: string, name: string, searchParams: URLSearchParams) => void, + thisArg?: TThis, + ): void; + /** + * Returns the value of the first name-value pair whose name is `name`. If there + * are no such pairs, `null` is returned. + * @return or `null` if there is no name-value pair with the given `name`. + */ + get(name: string): string | null; + /** + * Returns the values of all name-value pairs whose name is `name`. If there are + * no such pairs, an empty array is returned. + */ + getAll(name: string): string[]; + /** + * Checks if the `URLSearchParams` object contains key-value pair(s) based on`name` and an optional `value` argument. + * + * If `value` is provided, returns `true` when name-value pair with + * same `name` and `value` exists. + * + * If `value` is not provided, returns `true` if there is at least one name-value + * pair whose name is `name`. + */ + has(name: string, value?: string): boolean; + /** + * Returns an ES6 `Iterator` over the names of each name-value pair. + * + * ```js + * const params = new URLSearchParams('foo=bar&foo=baz'); + * for (const name of params.keys()) { + * console.log(name); + * } + * // Prints: + * // foo + * // foo + * ``` + */ + keys(): IterableIterator; + /** + * Sets the value in the `URLSearchParams` object associated with `name` to`value`. If there are any pre-existing name-value pairs whose names are `name`, + * set the first such pair's value to `value` and remove all others. If not, + * append the name-value pair to the query string. + * + * ```js + * const params = new URLSearchParams(); + * params.append('foo', 'bar'); + * params.append('foo', 'baz'); + * params.append('abc', 'def'); + * console.log(params.toString()); + * // Prints foo=bar&foo=baz&abc=def + * + * params.set('foo', 'def'); + * params.set('xyz', 'opq'); + * console.log(params.toString()); + * // Prints foo=def&abc=def&xyz=opq + * ``` + */ + set(name: string, value: string): void; + /** + * The total number of parameter entries. + * @since v19.8.0 + */ + readonly size: number; + /** + * Sort all existing name-value pairs in-place by their names. Sorting is done + * with a [stable sorting algorithm](https://en.wikipedia.org/wiki/Sorting_algorithm#Stability), so relative order between name-value pairs + * with the same name is preserved. + * + * This method can be used, in particular, to increase cache hits. + * + * ```js + * const params = new URLSearchParams('query[]=abc&type=search&query[]=123'); + * params.sort(); + * console.log(params.toString()); + * // Prints query%5B%5D=abc&query%5B%5D=123&type=search + * ``` + * @since v7.7.0, v6.13.0 + */ + sort(): void; + /** + * Returns the search parameters serialized as a string, with characters + * percent-encoded where necessary. + */ + toString(): string; + /** + * Returns an ES6 `Iterator` over the values of each name-value pair. + */ + values(): IterableIterator; + [Symbol.iterator](): IterableIterator<[string, string]>; + } + import { URL as _URL, URLSearchParams as _URLSearchParams } from "url"; + global { + interface URLSearchParams extends _URLSearchParams {} + interface URL extends _URL {} + interface Global { + URL: typeof _URL; + URLSearchParams: typeof _URLSearchParams; + } + /** + * `URL` class is a global reference for `require('url').URL` + * https://nodejs.org/api/url.html#the-whatwg-url-api + * @since v10.0.0 + */ + var URL: typeof globalThis extends { + onmessage: any; + URL: infer T; + } ? T + : typeof _URL; + /** + * `URLSearchParams` class is a global reference for `require('url').URLSearchParams` + * https://nodejs.org/api/url.html#class-urlsearchparams + * @since v10.0.0 + */ + var URLSearchParams: typeof globalThis extends { + onmessage: any; + URLSearchParams: infer T; + } ? T + : typeof _URLSearchParams; + } +} +declare module "node:url" { + export * from "url"; +} diff --git a/node_modules/@types/node/ts4.8/util.d.ts b/node_modules/@types/node/ts4.8/util.d.ts new file mode 100644 index 000000000..ac269ec1b --- /dev/null +++ b/node_modules/@types/node/ts4.8/util.d.ts @@ -0,0 +1,2183 @@ +/** + * The `node:util` module supports the needs of Node.js internal APIs. Many of the + * utilities are useful for application and module developers as well. To access + * it: + * + * ```js + * const util = require('node:util'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/util.js) + */ +declare module "util" { + import * as types from "node:util/types"; + export interface InspectOptions { + /** + * If `true`, object's non-enumerable symbols and properties are included in the formatted result. + * `WeakMap` and `WeakSet` entries are also included as well as user defined prototype properties (excluding method properties). + * @default false + */ + showHidden?: boolean | undefined; + /** + * Specifies the number of times to recurse while formatting object. + * This is useful for inspecting large objects. + * To recurse up to the maximum call stack size pass `Infinity` or `null`. + * @default 2 + */ + depth?: number | null | undefined; + /** + * If `true`, the output is styled with ANSI color codes. Colors are customizable. + */ + colors?: boolean | undefined; + /** + * If `false`, `[util.inspect.custom](depth, opts, inspect)` functions are not invoked. + * @default true + */ + customInspect?: boolean | undefined; + /** + * If `true`, `Proxy` inspection includes the target and handler objects. + * @default false + */ + showProxy?: boolean | undefined; + /** + * Specifies the maximum number of `Array`, `TypedArray`, `WeakMap`, and `WeakSet` elements + * to include when formatting. Set to `null` or `Infinity` to show all elements. + * Set to `0` or negative to show no elements. + * @default 100 + */ + maxArrayLength?: number | null | undefined; + /** + * Specifies the maximum number of characters to + * include when formatting. Set to `null` or `Infinity` to show all elements. + * Set to `0` or negative to show no characters. + * @default 10000 + */ + maxStringLength?: number | null | undefined; + /** + * The length at which input values are split across multiple lines. + * Set to `Infinity` to format the input as a single line + * (in combination with `compact` set to `true` or any number >= `1`). + * @default 80 + */ + breakLength?: number | undefined; + /** + * Setting this to `false` causes each object key + * to be displayed on a new line. It will also add new lines to text that is + * longer than `breakLength`. If set to a number, the most `n` inner elements + * are united on a single line as long as all properties fit into + * `breakLength`. Short array elements are also grouped together. Note that no + * text will be reduced below 16 characters, no matter the `breakLength` size. + * For more information, see the example below. + * @default true + */ + compact?: boolean | number | undefined; + /** + * If set to `true` or a function, all properties of an object, and `Set` and `Map` + * entries are sorted in the resulting string. + * If set to `true` the default sort is used. + * If set to a function, it is used as a compare function. + */ + sorted?: boolean | ((a: string, b: string) => number) | undefined; + /** + * If set to `true`, getters are going to be + * inspected as well. If set to `'get'` only getters without setter are going + * to be inspected. If set to `'set'` only getters having a corresponding + * setter are going to be inspected. This might cause side effects depending on + * the getter function. + * @default false + */ + getters?: "get" | "set" | boolean | undefined; + /** + * If set to `true`, an underscore is used to separate every three digits in all bigints and numbers. + * @default false + */ + numericSeparator?: boolean | undefined; + } + export type Style = + | "special" + | "number" + | "bigint" + | "boolean" + | "undefined" + | "null" + | "string" + | "symbol" + | "date" + | "regexp" + | "module"; + export type CustomInspectFunction = (depth: number, options: InspectOptionsStylized) => any; // TODO: , inspect: inspect + export interface InspectOptionsStylized extends InspectOptions { + stylize(text: string, styleType: Style): string; + } + /** + * The `util.format()` method returns a formatted string using the first argument + * as a `printf`\-like format string which can contain zero or more format + * specifiers. Each specifier is replaced with the converted value from the + * corresponding argument. Supported specifiers are: + * + * If a specifier does not have a corresponding argument, it is not replaced: + * + * ```js + * util.format('%s:%s', 'foo'); + * // Returns: 'foo:%s' + * ``` + * + * Values that are not part of the format string are formatted using`util.inspect()` if their type is not `string`. + * + * If there are more arguments passed to the `util.format()` method than the + * number of specifiers, the extra arguments are concatenated to the returned + * string, separated by spaces: + * + * ```js + * util.format('%s:%s', 'foo', 'bar', 'baz'); + * // Returns: 'foo:bar baz' + * ``` + * + * If the first argument does not contain a valid format specifier, `util.format()`returns a string that is the concatenation of all arguments separated by spaces: + * + * ```js + * util.format(1, 2, 3); + * // Returns: '1 2 3' + * ``` + * + * If only one argument is passed to `util.format()`, it is returned as it is + * without any formatting: + * + * ```js + * util.format('%% %s'); + * // Returns: '%% %s' + * ``` + * + * `util.format()` is a synchronous method that is intended as a debugging tool. + * Some input values can have a significant performance overhead that can block the + * event loop. Use this function with care and never in a hot code path. + * @since v0.5.3 + * @param format A `printf`-like format string. + */ + export function format(format?: any, ...param: any[]): string; + /** + * This function is identical to {@link format}, except in that it takes + * an `inspectOptions` argument which specifies options that are passed along to {@link inspect}. + * + * ```js + * util.formatWithOptions({ colors: true }, 'See object %O', { foo: 42 }); + * // Returns 'See object { foo: 42 }', where `42` is colored as a number + * // when printed to a terminal. + * ``` + * @since v10.0.0 + */ + export function formatWithOptions(inspectOptions: InspectOptions, format?: any, ...param: any[]): string; + /** + * Returns the string name for a numeric error code that comes from a Node.js API. + * The mapping between error codes and error names is platform-dependent. + * See `Common System Errors` for the names of common errors. + * + * ```js + * fs.access('file/that/does/not/exist', (err) => { + * const name = util.getSystemErrorName(err.errno); + * console.error(name); // ENOENT + * }); + * ``` + * @since v9.7.0 + */ + export function getSystemErrorName(err: number): string; + /** + * Returns a Map of all system error codes available from the Node.js API. + * The mapping between error codes and error names is platform-dependent. + * See `Common System Errors` for the names of common errors. + * + * ```js + * fs.access('file/that/does/not/exist', (err) => { + * const errorMap = util.getSystemErrorMap(); + * const name = errorMap.get(err.errno); + * console.error(name); // ENOENT + * }); + * ``` + * @since v16.0.0, v14.17.0 + */ + export function getSystemErrorMap(): Map; + /** + * The `util.log()` method prints the given `string` to `stdout` with an included + * timestamp. + * + * ```js + * const util = require('node:util'); + * + * util.log('Timestamped message.'); + * ``` + * @since v0.3.0 + * @deprecated Since v6.0.0 - Use a third party module instead. + */ + export function log(string: string): void; + /** + * Returns the `string` after replacing any surrogate code points + * (or equivalently, any unpaired surrogate code units) with the + * Unicode "replacement character" U+FFFD. + * @since v16.8.0, v14.18.0 + */ + export function toUSVString(string: string): string; + /** + * Creates and returns an `AbortController` instance whose `AbortSignal` is marked + * as transferable and can be used with `structuredClone()` or `postMessage()`. + * @since v18.11.0 + * @experimental + * @returns A transferable AbortController + */ + export function transferableAbortController(): AbortController; + /** + * Marks the given `AbortSignal` as transferable so that it can be used with`structuredClone()` and `postMessage()`. + * + * ```js + * const signal = transferableAbortSignal(AbortSignal.timeout(100)); + * const channel = new MessageChannel(); + * channel.port2.postMessage(signal, [signal]); + * ``` + * @since v18.11.0 + * @experimental + * @param signal The AbortSignal + * @returns The same AbortSignal + */ + export function transferableAbortSignal(signal: AbortSignal): AbortSignal; + /** + * Listens to abort event on the provided `signal` and + * returns a promise that is fulfilled when the `signal` is + * aborted. If the passed `resource` is garbage collected before the `signal` is + * aborted, the returned promise shall remain pending indefinitely. + * + * ```js + * import { aborted } from 'node:util'; + * + * const dependent = obtainSomethingAbortable(); + * + * aborted(dependent.signal, dependent).then(() => { + * // Do something when dependent is aborted. + * }); + * + * dependent.on('event', () => { + * dependent.abort(); + * }); + * ``` + * @since v19.7.0 + * @experimental + * @param resource Any non-null entity, reference to which is held weakly. + */ + export function aborted(signal: AbortSignal, resource: any): Promise; + /** + * The `util.inspect()` method returns a string representation of `object` that is + * intended for debugging. The output of `util.inspect` may change at any time + * and should not be depended upon programmatically. Additional `options` may be + * passed that alter the result.`util.inspect()` will use the constructor's name and/or `@@toStringTag` to make + * an identifiable tag for an inspected value. + * + * ```js + * class Foo { + * get [Symbol.toStringTag]() { + * return 'bar'; + * } + * } + * + * class Bar {} + * + * const baz = Object.create(null, { [Symbol.toStringTag]: { value: 'foo' } }); + * + * util.inspect(new Foo()); // 'Foo [bar] {}' + * util.inspect(new Bar()); // 'Bar {}' + * util.inspect(baz); // '[foo] {}' + * ``` + * + * Circular references point to their anchor by using a reference index: + * + * ```js + * const { inspect } = require('node:util'); + * + * const obj = {}; + * obj.a = [obj]; + * obj.b = {}; + * obj.b.inner = obj.b; + * obj.b.obj = obj; + * + * console.log(inspect(obj)); + * // { + * // a: [ [Circular *1] ], + * // b: { inner: [Circular *2], obj: [Circular *1] } + * // } + * ``` + * + * The following example inspects all properties of the `util` object: + * + * ```js + * const util = require('node:util'); + * + * console.log(util.inspect(util, { showHidden: true, depth: null })); + * ``` + * + * The following example highlights the effect of the `compact` option: + * + * ```js + * const util = require('node:util'); + * + * const o = { + * a: [1, 2, [[ + * 'Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit, sed do ' + + * 'eiusmod \ntempor incididunt ut labore et dolore magna aliqua.', + * 'test', + * 'foo']], 4], + * b: new Map([['za', 1], ['zb', 'test']]), + * }; + * console.log(util.inspect(o, { compact: true, depth: 5, breakLength: 80 })); + * + * // { a: + * // [ 1, + * // 2, + * // [ [ 'Lorem ipsum dolor sit amet,\nconsectetur [...]', // A long line + * // 'test', + * // 'foo' ] ], + * // 4 ], + * // b: Map(2) { 'za' => 1, 'zb' => 'test' } } + * + * // Setting `compact` to false or an integer creates more reader friendly output. + * console.log(util.inspect(o, { compact: false, depth: 5, breakLength: 80 })); + * + * // { + * // a: [ + * // 1, + * // 2, + * // [ + * // [ + * // 'Lorem ipsum dolor sit amet,\n' + + * // 'consectetur adipiscing elit, sed do eiusmod \n' + + * // 'tempor incididunt ut labore et dolore magna aliqua.', + * // 'test', + * // 'foo' + * // ] + * // ], + * // 4 + * // ], + * // b: Map(2) { + * // 'za' => 1, + * // 'zb' => 'test' + * // } + * // } + * + * // Setting `breakLength` to e.g. 150 will print the "Lorem ipsum" text in a + * // single line. + * ``` + * + * The `showHidden` option allows [`WeakMap`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap) and + * [`WeakSet`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) entries to be + * inspected. If there are more entries than `maxArrayLength`, there is no + * guarantee which entries are displayed. That means retrieving the same [`WeakSet`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) entries twice may + * result in different output. Furthermore, entries + * with no remaining strong references may be garbage collected at any time. + * + * ```js + * const { inspect } = require('node:util'); + * + * const obj = { a: 1 }; + * const obj2 = { b: 2 }; + * const weakSet = new WeakSet([obj, obj2]); + * + * console.log(inspect(weakSet, { showHidden: true })); + * // WeakSet { { a: 1 }, { b: 2 } } + * ``` + * + * The `sorted` option ensures that an object's property insertion order does not + * impact the result of `util.inspect()`. + * + * ```js + * const { inspect } = require('node:util'); + * const assert = require('node:assert'); + * + * const o1 = { + * b: [2, 3, 1], + * a: '`a` comes before `b`', + * c: new Set([2, 3, 1]), + * }; + * console.log(inspect(o1, { sorted: true })); + * // { a: '`a` comes before `b`', b: [ 2, 3, 1 ], c: Set(3) { 1, 2, 3 } } + * console.log(inspect(o1, { sorted: (a, b) => b.localeCompare(a) })); + * // { c: Set(3) { 3, 2, 1 }, b: [ 2, 3, 1 ], a: '`a` comes before `b`' } + * + * const o2 = { + * c: new Set([2, 1, 3]), + * a: '`a` comes before `b`', + * b: [2, 3, 1], + * }; + * assert.strict.equal( + * inspect(o1, { sorted: true }), + * inspect(o2, { sorted: true }), + * ); + * ``` + * + * The `numericSeparator` option adds an underscore every three digits to all + * numbers. + * + * ```js + * const { inspect } = require('node:util'); + * + * const thousand = 1_000; + * const million = 1_000_000; + * const bigNumber = 123_456_789n; + * const bigDecimal = 1_234.123_45; + * + * console.log(inspect(thousand, { numericSeparator: true })); + * // 1_000 + * console.log(inspect(million, { numericSeparator: true })); + * // 1_000_000 + * console.log(inspect(bigNumber, { numericSeparator: true })); + * // 123_456_789n + * console.log(inspect(bigDecimal, { numericSeparator: true })); + * // 1_234.123_45 + * ``` + * + * `util.inspect()` is a synchronous method intended for debugging. Its maximum + * output length is approximately 128 MiB. Inputs that result in longer output will + * be truncated. + * @since v0.3.0 + * @param object Any JavaScript primitive or `Object`. + * @return The representation of `object`. + */ + export function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string; + export function inspect(object: any, options?: InspectOptions): string; + export namespace inspect { + let colors: NodeJS.Dict<[number, number]>; + let styles: { + [K in Style]: string; + }; + let defaultOptions: InspectOptions; + /** + * Allows changing inspect settings from the repl. + */ + let replDefaults: InspectOptions; + /** + * That can be used to declare custom inspect functions. + */ + const custom: unique symbol; + } + /** + * Alias for [`Array.isArray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray). + * + * Returns `true` if the given `object` is an `Array`. Otherwise, returns `false`. + * + * ```js + * const util = require('node:util'); + * + * util.isArray([]); + * // Returns: true + * util.isArray(new Array()); + * // Returns: true + * util.isArray({}); + * // Returns: false + * ``` + * @since v0.6.0 + * @deprecated Since v4.0.0 - Use `isArray` instead. + */ + export function isArray(object: unknown): object is unknown[]; + /** + * Returns `true` if the given `object` is a `RegExp`. Otherwise, returns `false`. + * + * ```js + * const util = require('node:util'); + * + * util.isRegExp(/some regexp/); + * // Returns: true + * util.isRegExp(new RegExp('another regexp')); + * // Returns: true + * util.isRegExp({}); + * // Returns: false + * ``` + * @since v0.6.0 + * @deprecated Since v4.0.0 - Deprecated + */ + export function isRegExp(object: unknown): object is RegExp; + /** + * Returns `true` if the given `object` is a `Date`. Otherwise, returns `false`. + * + * ```js + * const util = require('node:util'); + * + * util.isDate(new Date()); + * // Returns: true + * util.isDate(Date()); + * // false (without 'new' returns a String) + * util.isDate({}); + * // Returns: false + * ``` + * @since v0.6.0 + * @deprecated Since v4.0.0 - Use {@link types.isDate} instead. + */ + export function isDate(object: unknown): object is Date; + /** + * Returns `true` if the given `object` is an `Error`. Otherwise, returns`false`. + * + * ```js + * const util = require('node:util'); + * + * util.isError(new Error()); + * // Returns: true + * util.isError(new TypeError()); + * // Returns: true + * util.isError({ name: 'Error', message: 'an error occurred' }); + * // Returns: false + * ``` + * + * This method relies on `Object.prototype.toString()` behavior. It is + * possible to obtain an incorrect result when the `object` argument manipulates`@@toStringTag`. + * + * ```js + * const util = require('node:util'); + * const obj = { name: 'Error', message: 'an error occurred' }; + * + * util.isError(obj); + * // Returns: false + * obj[Symbol.toStringTag] = 'Error'; + * util.isError(obj); + * // Returns: true + * ``` + * @since v0.6.0 + * @deprecated Since v4.0.0 - Use {@link types.isNativeError} instead. + */ + export function isError(object: unknown): object is Error; + /** + * Usage of `util.inherits()` is discouraged. Please use the ES6 `class` and`extends` keywords to get language level inheritance support. Also note + * that the two styles are [semantically incompatible](https://github.com/nodejs/node/issues/4179). + * + * Inherit the prototype methods from one [constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/constructor) into another. The + * prototype of `constructor` will be set to a new object created from`superConstructor`. + * + * This mainly adds some input validation on top of`Object.setPrototypeOf(constructor.prototype, superConstructor.prototype)`. + * As an additional convenience, `superConstructor` will be accessible + * through the `constructor.super_` property. + * + * ```js + * const util = require('node:util'); + * const EventEmitter = require('node:events'); + * + * function MyStream() { + * EventEmitter.call(this); + * } + * + * util.inherits(MyStream, EventEmitter); + * + * MyStream.prototype.write = function(data) { + * this.emit('data', data); + * }; + * + * const stream = new MyStream(); + * + * console.log(stream instanceof EventEmitter); // true + * console.log(MyStream.super_ === EventEmitter); // true + * + * stream.on('data', (data) => { + * console.log(`Received data: "${data}"`); + * }); + * stream.write('It works!'); // Received data: "It works!" + * ``` + * + * ES6 example using `class` and `extends`: + * + * ```js + * const EventEmitter = require('node:events'); + * + * class MyStream extends EventEmitter { + * write(data) { + * this.emit('data', data); + * } + * } + * + * const stream = new MyStream(); + * + * stream.on('data', (data) => { + * console.log(`Received data: "${data}"`); + * }); + * stream.write('With ES6'); + * ``` + * @since v0.3.0 + * @legacy Use ES2015 class syntax and `extends` keyword instead. + */ + export function inherits(constructor: unknown, superConstructor: unknown): void; + export type DebugLoggerFunction = (msg: string, ...param: unknown[]) => void; + export interface DebugLogger extends DebugLoggerFunction { + enabled: boolean; + } + /** + * The `util.debuglog()` method is used to create a function that conditionally + * writes debug messages to `stderr` based on the existence of the `NODE_DEBUG`environment variable. If the `section` name appears within the value of that + * environment variable, then the returned function operates similar to `console.error()`. If not, then the returned function is a no-op. + * + * ```js + * const util = require('node:util'); + * const debuglog = util.debuglog('foo'); + * + * debuglog('hello from foo [%d]', 123); + * ``` + * + * If this program is run with `NODE_DEBUG=foo` in the environment, then + * it will output something like: + * + * ```console + * FOO 3245: hello from foo [123] + * ``` + * + * where `3245` is the process id. If it is not run with that + * environment variable set, then it will not print anything. + * + * The `section` supports wildcard also: + * + * ```js + * const util = require('node:util'); + * const debuglog = util.debuglog('foo-bar'); + * + * debuglog('hi there, it\'s foo-bar [%d]', 2333); + * ``` + * + * if it is run with `NODE_DEBUG=foo*` in the environment, then it will output + * something like: + * + * ```console + * FOO-BAR 3257: hi there, it's foo-bar [2333] + * ``` + * + * Multiple comma-separated `section` names may be specified in the `NODE_DEBUG`environment variable: `NODE_DEBUG=fs,net,tls`. + * + * The optional `callback` argument can be used to replace the logging function + * with a different function that doesn't have any initialization or + * unnecessary wrapping. + * + * ```js + * const util = require('node:util'); + * let debuglog = util.debuglog('internals', (debug) => { + * // Replace with a logging function that optimizes out + * // testing if the section is enabled + * debuglog = debug; + * }); + * ``` + * @since v0.11.3 + * @param section A string identifying the portion of the application for which the `debuglog` function is being created. + * @param callback A callback invoked the first time the logging function is called with a function argument that is a more optimized logging function. + * @return The logging function + */ + export function debuglog(section: string, callback?: (fn: DebugLoggerFunction) => void): DebugLogger; + export const debug: typeof debuglog; + /** + * Returns `true` if the given `object` is a `Boolean`. Otherwise, returns `false`. + * + * ```js + * const util = require('node:util'); + * + * util.isBoolean(1); + * // Returns: false + * util.isBoolean(0); + * // Returns: false + * util.isBoolean(false); + * // Returns: true + * ``` + * @since v0.11.5 + * @deprecated Since v4.0.0 - Use `typeof value === 'boolean'` instead. + */ + export function isBoolean(object: unknown): object is boolean; + /** + * Returns `true` if the given `object` is a `Buffer`. Otherwise, returns `false`. + * + * ```js + * const util = require('node:util'); + * + * util.isBuffer({ length: 0 }); + * // Returns: false + * util.isBuffer([]); + * // Returns: false + * util.isBuffer(Buffer.from('hello world')); + * // Returns: true + * ``` + * @since v0.11.5 + * @deprecated Since v4.0.0 - Use `isBuffer` instead. + */ + export function isBuffer(object: unknown): object is Buffer; + /** + * Returns `true` if the given `object` is a `Function`. Otherwise, returns`false`. + * + * ```js + * const util = require('node:util'); + * + * function Foo() {} + * const Bar = () => {}; + * + * util.isFunction({}); + * // Returns: false + * util.isFunction(Foo); + * // Returns: true + * util.isFunction(Bar); + * // Returns: true + * ``` + * @since v0.11.5 + * @deprecated Since v4.0.0 - Use `typeof value === 'function'` instead. + */ + export function isFunction(object: unknown): boolean; + /** + * Returns `true` if the given `object` is strictly `null`. Otherwise, returns`false`. + * + * ```js + * const util = require('node:util'); + * + * util.isNull(0); + * // Returns: false + * util.isNull(undefined); + * // Returns: false + * util.isNull(null); + * // Returns: true + * ``` + * @since v0.11.5 + * @deprecated Since v4.0.0 - Use `value === null` instead. + */ + export function isNull(object: unknown): object is null; + /** + * Returns `true` if the given `object` is `null` or `undefined`. Otherwise, + * returns `false`. + * + * ```js + * const util = require('node:util'); + * + * util.isNullOrUndefined(0); + * // Returns: false + * util.isNullOrUndefined(undefined); + * // Returns: true + * util.isNullOrUndefined(null); + * // Returns: true + * ``` + * @since v0.11.5 + * @deprecated Since v4.0.0 - Use `value === undefined || value === null` instead. + */ + export function isNullOrUndefined(object: unknown): object is null | undefined; + /** + * Returns `true` if the given `object` is a `Number`. Otherwise, returns `false`. + * + * ```js + * const util = require('node:util'); + * + * util.isNumber(false); + * // Returns: false + * util.isNumber(Infinity); + * // Returns: true + * util.isNumber(0); + * // Returns: true + * util.isNumber(NaN); + * // Returns: true + * ``` + * @since v0.11.5 + * @deprecated Since v4.0.0 - Use `typeof value === 'number'` instead. + */ + export function isNumber(object: unknown): object is number; + /** + * Returns `true` if the given `object` is strictly an `Object`**and** not a`Function` (even though functions are objects in JavaScript). + * Otherwise, returns `false`. + * + * ```js + * const util = require('node:util'); + * + * util.isObject(5); + * // Returns: false + * util.isObject(null); + * // Returns: false + * util.isObject({}); + * // Returns: true + * util.isObject(() => {}); + * // Returns: false + * ``` + * @since v0.11.5 + * @deprecated Since v4.0.0 - Use `value !== null && typeof value === 'object'` instead. + */ + export function isObject(object: unknown): boolean; + /** + * Returns `true` if the given `object` is a primitive type. Otherwise, returns`false`. + * + * ```js + * const util = require('node:util'); + * + * util.isPrimitive(5); + * // Returns: true + * util.isPrimitive('foo'); + * // Returns: true + * util.isPrimitive(false); + * // Returns: true + * util.isPrimitive(null); + * // Returns: true + * util.isPrimitive(undefined); + * // Returns: true + * util.isPrimitive({}); + * // Returns: false + * util.isPrimitive(() => {}); + * // Returns: false + * util.isPrimitive(/^$/); + * // Returns: false + * util.isPrimitive(new Date()); + * // Returns: false + * ``` + * @since v0.11.5 + * @deprecated Since v4.0.0 - Use `(typeof value !== 'object' && typeof value !== 'function') || value === null` instead. + */ + export function isPrimitive(object: unknown): boolean; + /** + * Returns `true` if the given `object` is a `string`. Otherwise, returns `false`. + * + * ```js + * const util = require('node:util'); + * + * util.isString(''); + * // Returns: true + * util.isString('foo'); + * // Returns: true + * util.isString(String('foo')); + * // Returns: true + * util.isString(5); + * // Returns: false + * ``` + * @since v0.11.5 + * @deprecated Since v4.0.0 - Use `typeof value === 'string'` instead. + */ + export function isString(object: unknown): object is string; + /** + * Returns `true` if the given `object` is a `Symbol`. Otherwise, returns `false`. + * + * ```js + * const util = require('node:util'); + * + * util.isSymbol(5); + * // Returns: false + * util.isSymbol('foo'); + * // Returns: false + * util.isSymbol(Symbol('foo')); + * // Returns: true + * ``` + * @since v0.11.5 + * @deprecated Since v4.0.0 - Use `typeof value === 'symbol'` instead. + */ + export function isSymbol(object: unknown): object is symbol; + /** + * Returns `true` if the given `object` is `undefined`. Otherwise, returns `false`. + * + * ```js + * const util = require('node:util'); + * + * const foo = undefined; + * util.isUndefined(5); + * // Returns: false + * util.isUndefined(foo); + * // Returns: true + * util.isUndefined(null); + * // Returns: false + * ``` + * @since v0.11.5 + * @deprecated Since v4.0.0 - Use `value === undefined` instead. + */ + export function isUndefined(object: unknown): object is undefined; + /** + * The `util.deprecate()` method wraps `fn` (which may be a function or class) in + * such a way that it is marked as deprecated. + * + * ```js + * const util = require('node:util'); + * + * exports.obsoleteFunction = util.deprecate(() => { + * // Do something here. + * }, 'obsoleteFunction() is deprecated. Use newShinyFunction() instead.'); + * ``` + * + * When called, `util.deprecate()` will return a function that will emit a`DeprecationWarning` using the `'warning'` event. The warning will + * be emitted and printed to `stderr` the first time the returned function is + * called. After the warning is emitted, the wrapped function is called without + * emitting a warning. + * + * If the same optional `code` is supplied in multiple calls to `util.deprecate()`, + * the warning will be emitted only once for that `code`. + * + * ```js + * const util = require('node:util'); + * + * const fn1 = util.deprecate(someFunction, someMessage, 'DEP0001'); + * const fn2 = util.deprecate(someOtherFunction, someOtherMessage, 'DEP0001'); + * fn1(); // Emits a deprecation warning with code DEP0001 + * fn2(); // Does not emit a deprecation warning because it has the same code + * ``` + * + * If either the `--no-deprecation` or `--no-warnings` command-line flags are + * used, or if the `process.noDeprecation` property is set to `true`_prior_ to + * the first deprecation warning, the `util.deprecate()` method does nothing. + * + * If the `--trace-deprecation` or `--trace-warnings` command-line flags are set, + * or the `process.traceDeprecation` property is set to `true`, a warning and a + * stack trace are printed to `stderr` the first time the deprecated function is + * called. + * + * If the `--throw-deprecation` command-line flag is set, or the`process.throwDeprecation` property is set to `true`, then an exception will be + * thrown when the deprecated function is called. + * + * The `--throw-deprecation` command-line flag and `process.throwDeprecation`property take precedence over `--trace-deprecation` and`process.traceDeprecation`. + * @since v0.8.0 + * @param fn The function that is being deprecated. + * @param msg A warning message to display when the deprecated function is invoked. + * @param code A deprecation code. See the `list of deprecated APIs` for a list of codes. + * @return The deprecated function wrapped to emit a warning. + */ + export function deprecate(fn: T, msg: string, code?: string): T; + /** + * Returns `true` if there is deep strict equality between `val1` and `val2`. + * Otherwise, returns `false`. + * + * See `assert.deepStrictEqual()` for more information about deep strict + * equality. + * @since v9.0.0 + */ + export function isDeepStrictEqual(val1: unknown, val2: unknown): boolean; + /** + * Returns `str` with any ANSI escape codes removed. + * + * ```js + * console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m')); + * // Prints "value" + * ``` + * @since v16.11.0 + */ + export function stripVTControlCharacters(str: string): string; + /** + * Takes an `async` function (or a function that returns a `Promise`) and returns a + * function following the error-first callback style, i.e. taking + * an `(err, value) => ...` callback as the last argument. In the callback, the + * first argument will be the rejection reason (or `null` if the `Promise`resolved), and the second argument will be the resolved value. + * + * ```js + * const util = require('node:util'); + * + * async function fn() { + * return 'hello world'; + * } + * const callbackFunction = util.callbackify(fn); + * + * callbackFunction((err, ret) => { + * if (err) throw err; + * console.log(ret); + * }); + * ``` + * + * Will print: + * + * ```text + * hello world + * ``` + * + * The callback is executed asynchronously, and will have a limited stack trace. + * If the callback throws, the process will emit an `'uncaughtException'` event, and if not handled will exit. + * + * Since `null` has a special meaning as the first argument to a callback, if a + * wrapped function rejects a `Promise` with a falsy value as a reason, the value + * is wrapped in an `Error` with the original value stored in a field named`reason`. + * + * ```js + * function fn() { + * return Promise.reject(null); + * } + * const callbackFunction = util.callbackify(fn); + * + * callbackFunction((err, ret) => { + * // When the Promise was rejected with `null` it is wrapped with an Error and + * // the original value is stored in `reason`. + * err && Object.hasOwn(err, 'reason') && err.reason === null; // true + * }); + * ``` + * @since v8.2.0 + * @param fn An `async` function + * @return a callback style function + */ + export function callbackify(fn: () => Promise): (callback: (err: NodeJS.ErrnoException) => void) => void; + export function callbackify( + fn: () => Promise, + ): (callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; + export function callbackify( + fn: (arg1: T1) => Promise, + ): (arg1: T1, callback: (err: NodeJS.ErrnoException) => void) => void; + export function callbackify( + fn: (arg1: T1) => Promise, + ): (arg1: T1, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; + export function callbackify( + fn: (arg1: T1, arg2: T2) => Promise, + ): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException) => void) => void; + export function callbackify( + fn: (arg1: T1, arg2: T2) => Promise, + ): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void; + export function callbackify( + fn: (arg1: T1, arg2: T2, arg3: T3) => Promise, + ): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException) => void) => void; + export function callbackify( + fn: (arg1: T1, arg2: T2, arg3: T3) => Promise, + ): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void; + export function callbackify( + fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise, + ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException) => void) => void; + export function callbackify( + fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise, + ): ( + arg1: T1, + arg2: T2, + arg3: T3, + arg4: T4, + callback: (err: NodeJS.ErrnoException | null, result: TResult) => void, + ) => void; + export function callbackify( + fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise, + ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException) => void) => void; + export function callbackify( + fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise, + ): ( + arg1: T1, + arg2: T2, + arg3: T3, + arg4: T4, + arg5: T5, + callback: (err: NodeJS.ErrnoException | null, result: TResult) => void, + ) => void; + export function callbackify( + fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise, + ): ( + arg1: T1, + arg2: T2, + arg3: T3, + arg4: T4, + arg5: T5, + arg6: T6, + callback: (err: NodeJS.ErrnoException) => void, + ) => void; + export function callbackify( + fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise, + ): ( + arg1: T1, + arg2: T2, + arg3: T3, + arg4: T4, + arg5: T5, + arg6: T6, + callback: (err: NodeJS.ErrnoException | null, result: TResult) => void, + ) => void; + export interface CustomPromisifyLegacy extends Function { + __promisify__: TCustom; + } + export interface CustomPromisifySymbol extends Function { + [promisify.custom]: TCustom; + } + export type CustomPromisify = + | CustomPromisifySymbol + | CustomPromisifyLegacy; + /** + * Takes a function following the common error-first callback style, i.e. taking + * an `(err, value) => ...` callback as the last argument, and returns a version + * that returns promises. + * + * ```js + * const util = require('node:util'); + * const fs = require('node:fs'); + * + * const stat = util.promisify(fs.stat); + * stat('.').then((stats) => { + * // Do something with `stats` + * }).catch((error) => { + * // Handle the error. + * }); + * ``` + * + * Or, equivalently using `async function`s: + * + * ```js + * const util = require('node:util'); + * const fs = require('node:fs'); + * + * const stat = util.promisify(fs.stat); + * + * async function callStat() { + * const stats = await stat('.'); + * console.log(`This directory is owned by ${stats.uid}`); + * } + * + * callStat(); + * ``` + * + * If there is an `original[util.promisify.custom]` property present, `promisify`will return its value, see `Custom promisified functions`. + * + * `promisify()` assumes that `original` is a function taking a callback as its + * final argument in all cases. If `original` is not a function, `promisify()`will throw an error. If `original` is a function but its last argument is not + * an error-first callback, it will still be passed an error-first + * callback as its last argument. + * + * Using `promisify()` on class methods or other methods that use `this` may not + * work as expected unless handled specially: + * + * ```js + * const util = require('node:util'); + * + * class Foo { + * constructor() { + * this.a = 42; + * } + * + * bar(callback) { + * callback(null, this.a); + * } + * } + * + * const foo = new Foo(); + * + * const naiveBar = util.promisify(foo.bar); + * // TypeError: Cannot read property 'a' of undefined + * // naiveBar().then(a => console.log(a)); + * + * naiveBar.call(foo).then((a) => console.log(a)); // '42' + * + * const bindBar = naiveBar.bind(foo); + * bindBar().then((a) => console.log(a)); // '42' + * ``` + * @since v8.0.0 + */ + export function promisify(fn: CustomPromisify): TCustom; + export function promisify( + fn: (callback: (err: any, result: TResult) => void) => void, + ): () => Promise; + export function promisify(fn: (callback: (err?: any) => void) => void): () => Promise; + export function promisify( + fn: (arg1: T1, callback: (err: any, result: TResult) => void) => void, + ): (arg1: T1) => Promise; + export function promisify(fn: (arg1: T1, callback: (err?: any) => void) => void): (arg1: T1) => Promise; + export function promisify( + fn: (arg1: T1, arg2: T2, callback: (err: any, result: TResult) => void) => void, + ): (arg1: T1, arg2: T2) => Promise; + export function promisify( + fn: (arg1: T1, arg2: T2, callback: (err?: any) => void) => void, + ): (arg1: T1, arg2: T2) => Promise; + export function promisify( + fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err: any, result: TResult) => void) => void, + ): (arg1: T1, arg2: T2, arg3: T3) => Promise; + export function promisify( + fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err?: any) => void) => void, + ): (arg1: T1, arg2: T2, arg3: T3) => Promise; + export function promisify( + fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: any, result: TResult) => void) => void, + ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise; + export function promisify( + fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err?: any) => void) => void, + ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise; + export function promisify( + fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: any, result: TResult) => void) => void, + ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise; + export function promisify( + fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err?: any) => void) => void, + ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise; + export function promisify(fn: Function): Function; + export namespace promisify { + /** + * That can be used to declare custom promisified variants of functions. + */ + const custom: unique symbol; + } + /** + * An implementation of the [WHATWG Encoding Standard](https://encoding.spec.whatwg.org/) `TextDecoder` API. + * + * ```js + * const decoder = new TextDecoder(); + * const u8arr = new Uint8Array([72, 101, 108, 108, 111]); + * console.log(decoder.decode(u8arr)); // Hello + * ``` + * @since v8.3.0 + */ + export class TextDecoder { + /** + * The encoding supported by the `TextDecoder` instance. + */ + readonly encoding: string; + /** + * The value will be `true` if decoding errors result in a `TypeError` being + * thrown. + */ + readonly fatal: boolean; + /** + * The value will be `true` if the decoding result will include the byte order + * mark. + */ + readonly ignoreBOM: boolean; + constructor( + encoding?: string, + options?: { + fatal?: boolean | undefined; + ignoreBOM?: boolean | undefined; + }, + ); + /** + * Decodes the `input` and returns a string. If `options.stream` is `true`, any + * incomplete byte sequences occurring at the end of the `input` are buffered + * internally and emitted after the next call to `textDecoder.decode()`. + * + * If `textDecoder.fatal` is `true`, decoding errors that occur will result in a`TypeError` being thrown. + * @param input An `ArrayBuffer`, `DataView`, or `TypedArray` instance containing the encoded data. + */ + decode( + input?: NodeJS.ArrayBufferView | ArrayBuffer | null, + options?: { + stream?: boolean | undefined; + }, + ): string; + } + export interface EncodeIntoResult { + /** + * The read Unicode code units of input. + */ + read: number; + /** + * The written UTF-8 bytes of output. + */ + written: number; + } + export { types }; + + //// TextEncoder/Decoder + /** + * An implementation of the [WHATWG Encoding Standard](https://encoding.spec.whatwg.org/) `TextEncoder` API. All + * instances of `TextEncoder` only support UTF-8 encoding. + * + * ```js + * const encoder = new TextEncoder(); + * const uint8array = encoder.encode('this is some data'); + * ``` + * + * The `TextEncoder` class is also available on the global object. + * @since v8.3.0 + */ + export class TextEncoder { + /** + * The encoding supported by the `TextEncoder` instance. Always set to `'utf-8'`. + */ + readonly encoding: string; + /** + * UTF-8 encodes the `input` string and returns a `Uint8Array` containing the + * encoded bytes. + * @param [input='an empty string'] The text to encode. + */ + encode(input?: string): Uint8Array; + /** + * UTF-8 encodes the `src` string to the `dest` Uint8Array and returns an object + * containing the read Unicode code units and written UTF-8 bytes. + * + * ```js + * const encoder = new TextEncoder(); + * const src = 'this is some data'; + * const dest = new Uint8Array(10); + * const { read, written } = encoder.encodeInto(src, dest); + * ``` + * @param src The text to encode. + * @param dest The array to hold the encode result. + */ + encodeInto(src: string, dest: Uint8Array): EncodeIntoResult; + } + import { TextDecoder as _TextDecoder, TextEncoder as _TextEncoder } from "util"; + global { + /** + * `TextDecoder` class is a global reference for `require('util').TextDecoder` + * https://nodejs.org/api/globals.html#textdecoder + * @since v11.0.0 + */ + var TextDecoder: typeof globalThis extends { + onmessage: any; + TextDecoder: infer TextDecoder; + } ? TextDecoder + : typeof _TextDecoder; + /** + * `TextEncoder` class is a global reference for `require('util').TextEncoder` + * https://nodejs.org/api/globals.html#textencoder + * @since v11.0.0 + */ + var TextEncoder: typeof globalThis extends { + onmessage: any; + TextEncoder: infer TextEncoder; + } ? TextEncoder + : typeof _TextEncoder; + } + + //// parseArgs + /** + * Provides a higher level API for command-line argument parsing than interacting + * with `process.argv` directly. Takes a specification for the expected arguments + * and returns a structured object with the parsed options and positionals. + * + * ```js + * import { parseArgs } from 'node:util'; + * const args = ['-f', '--bar', 'b']; + * const options = { + * foo: { + * type: 'boolean', + * short: 'f', + * }, + * bar: { + * type: 'string', + * }, + * }; + * const { + * values, + * positionals, + * } = parseArgs({ args, options }); + * console.log(values, positionals); + * // Prints: [Object: null prototype] { foo: true, bar: 'b' } [] + * ``` + * @since v18.3.0, v16.17.0 + * @param config Used to provide arguments for parsing and to configure the parser. `config` supports the following properties: + * @return The parsed command line arguments: + */ + export function parseArgs(config?: T): ParsedResults; + interface ParseArgsOptionConfig { + /** + * Type of argument. + */ + type: "string" | "boolean"; + /** + * Whether this option can be provided multiple times. + * If `true`, all values will be collected in an array. + * If `false`, values for the option are last-wins. + * @default false. + */ + multiple?: boolean | undefined; + /** + * A single character alias for the option. + */ + short?: string | undefined; + /** + * The default option value when it is not set by args. + * It must be of the same type as the the `type` property. + * When `multiple` is `true`, it must be an array. + * @since v18.11.0 + */ + default?: string | boolean | string[] | boolean[] | undefined; + } + interface ParseArgsOptionsConfig { + [longOption: string]: ParseArgsOptionConfig; + } + export interface ParseArgsConfig { + /** + * Array of argument strings. + */ + args?: string[] | undefined; + /** + * Used to describe arguments known to the parser. + */ + options?: ParseArgsOptionsConfig | undefined; + /** + * Should an error be thrown when unknown arguments are encountered, + * or when arguments are passed that do not match the `type` configured in `options`. + * @default true + */ + strict?: boolean | undefined; + /** + * Whether this command accepts positional arguments. + */ + allowPositionals?: boolean | undefined; + /** + * Return the parsed tokens. This is useful for extending the built-in behavior, + * from adding additional checks through to reprocessing the tokens in different ways. + * @default false + */ + tokens?: boolean | undefined; + } + /* + IfDefaultsTrue and IfDefaultsFalse are helpers to handle default values for missing boolean properties. + TypeScript does not have exact types for objects: https://github.com/microsoft/TypeScript/issues/12936 + This means it is impossible to distinguish between "field X is definitely not present" and "field X may or may not be present". + But we expect users to generally provide their config inline or `as const`, which means TS will always know whether a given field is present. + So this helper treats "not definitely present" (i.e., not `extends boolean`) as being "definitely not present", i.e. it should have its default value. + This is technically incorrect but is a much nicer UX for the common case. + The IfDefaultsTrue version is for things which default to true; the IfDefaultsFalse version is for things which default to false. + */ + type IfDefaultsTrue = T extends true ? IfTrue + : T extends false ? IfFalse + : IfTrue; + + // we put the `extends false` condition first here because `undefined` compares like `any` when `strictNullChecks: false` + type IfDefaultsFalse = T extends false ? IfFalse + : T extends true ? IfTrue + : IfFalse; + + type ExtractOptionValue = IfDefaultsTrue< + T["strict"], + O["type"] extends "string" ? string : O["type"] extends "boolean" ? boolean : string | boolean, + string | boolean + >; + + type ParsedValues = + & IfDefaultsTrue + & (T["options"] extends ParseArgsOptionsConfig ? { + -readonly [LongOption in keyof T["options"]]: IfDefaultsFalse< + T["options"][LongOption]["multiple"], + undefined | Array>, + undefined | ExtractOptionValue + >; + } + : {}); + + type ParsedPositionals = IfDefaultsTrue< + T["strict"], + IfDefaultsFalse, + IfDefaultsTrue + >; + + type PreciseTokenForOptions< + K extends string, + O extends ParseArgsOptionConfig, + > = O["type"] extends "string" ? { + kind: "option"; + index: number; + name: K; + rawName: string; + value: string; + inlineValue: boolean; + } + : O["type"] extends "boolean" ? { + kind: "option"; + index: number; + name: K; + rawName: string; + value: undefined; + inlineValue: undefined; + } + : OptionToken & { name: K }; + + type TokenForOptions< + T extends ParseArgsConfig, + K extends keyof T["options"] = keyof T["options"], + > = K extends unknown + ? T["options"] extends ParseArgsOptionsConfig ? PreciseTokenForOptions + : OptionToken + : never; + + type ParsedOptionToken = IfDefaultsTrue, OptionToken>; + + type ParsedPositionalToken = IfDefaultsTrue< + T["strict"], + IfDefaultsFalse, + IfDefaultsTrue + >; + + type ParsedTokens = Array< + ParsedOptionToken | ParsedPositionalToken | { kind: "option-terminator"; index: number } + >; + + type PreciseParsedResults = IfDefaultsFalse< + T["tokens"], + { + values: ParsedValues; + positionals: ParsedPositionals; + tokens: ParsedTokens; + }, + { + values: ParsedValues; + positionals: ParsedPositionals; + } + >; + + type OptionToken = + | { kind: "option"; index: number; name: string; rawName: string; value: string; inlineValue: boolean } + | { + kind: "option"; + index: number; + name: string; + rawName: string; + value: undefined; + inlineValue: undefined; + }; + + type Token = + | OptionToken + | { kind: "positional"; index: number; value: string } + | { kind: "option-terminator"; index: number }; + + // If ParseArgsConfig extends T, then the user passed config constructed elsewhere. + // So we can't rely on the `"not definitely present" implies "definitely not present"` assumption mentioned above. + type ParsedResults = ParseArgsConfig extends T ? { + values: { + [longOption: string]: undefined | string | boolean | Array; + }; + positionals: string[]; + tokens?: Token[]; + } + : PreciseParsedResults; + + /** + * An implementation of [the MIMEType class](https://bmeck.github.io/node-proposal-mime-api/). + * + * In accordance with browser conventions, all properties of `MIMEType` objects + * are implemented as getters and setters on the class prototype, rather than as + * data properties on the object itself. + * + * A MIME string is a structured string containing multiple meaningful + * components. When parsed, a `MIMEType` object is returned containing + * properties for each of these components. + * @since v19.1.0, v18.13.0 + * @experimental + */ + export class MIMEType { + /** + * Creates a new MIMEType object by parsing the input. + * + * A `TypeError` will be thrown if the `input` is not a valid MIME. + * Note that an effort will be made to coerce the given values into strings. + * @param input The input MIME to parse. + */ + constructor(input: string | { toString: () => string }); + + /** + * Gets and sets the type portion of the MIME. + * + * ```js + * import { MIMEType } from 'node:util'; + * + * const myMIME = new MIMEType('text/javascript'); + * console.log(myMIME.type); + * // Prints: text + * myMIME.type = 'application'; + * console.log(myMIME.type); + * // Prints: application + * console.log(String(myMIME)); + * // Prints: application/javascript + * ``` + */ + type: string; + /** + * Gets and sets the subtype portion of the MIME. + * + * ```js + * import { MIMEType } from 'node:util'; + * + * const myMIME = new MIMEType('text/ecmascript'); + * console.log(myMIME.subtype); + * // Prints: ecmascript + * myMIME.subtype = 'javascript'; + * console.log(myMIME.subtype); + * // Prints: javascript + * console.log(String(myMIME)); + * // Prints: text/javascript + * ``` + */ + subtype: string; + /** + * Gets the essence of the MIME. This property is read only. + * Use `mime.type` or `mime.subtype` to alter the MIME. + * + * ```js + * import { MIMEType } from 'node:util'; + * + * const myMIME = new MIMEType('text/javascript;key=value'); + * console.log(myMIME.essence); + * // Prints: text/javascript + * myMIME.type = 'application'; + * console.log(myMIME.essence); + * // Prints: application/javascript + * console.log(String(myMIME)); + * // Prints: application/javascript;key=value + * ``` + */ + readonly essence: string; + /** + * Gets the `MIMEParams` object representing the + * parameters of the MIME. This property is read-only. See `MIMEParams` documentation for details. + */ + readonly params: MIMEParams; + /** + * The `toString()` method on the `MIMEType` object returns the serialized MIME. + * + * Because of the need for standard compliance, this method does not allow users + * to customize the serialization process of the MIME. + */ + toString(): string; + } + /** + * The `MIMEParams` API provides read and write access to the parameters of a`MIMEType`. + * @since v19.1.0, v18.13.0 + */ + export class MIMEParams { + /** + * Remove all name-value pairs whose name is `name`. + */ + delete(name: string): void; + /** + * Returns an iterator over each of the name-value pairs in the parameters. + * Each item of the iterator is a JavaScript `Array`. The first item of the array + * is the `name`, the second item of the array is the `value`. + */ + entries(): IterableIterator<[string, string]>; + /** + * Returns the value of the first name-value pair whose name is `name`. If there + * are no such pairs, `null` is returned. + * @return or `null` if there is no name-value pair with the given `name`. + */ + get(name: string): string | null; + /** + * Returns `true` if there is at least one name-value pair whose name is `name`. + */ + has(name: string): boolean; + /** + * Returns an iterator over the names of each name-value pair. + * + * ```js + * import { MIMEType } from 'node:util'; + * + * const { params } = new MIMEType('text/plain;foo=0;bar=1'); + * for (const name of params.keys()) { + * console.log(name); + * } + * // Prints: + * // foo + * // bar + * ``` + */ + keys(): IterableIterator; + /** + * Sets the value in the `MIMEParams` object associated with `name` to`value`. If there are any pre-existing name-value pairs whose names are `name`, + * set the first such pair's value to `value`. + * + * ```js + * import { MIMEType } from 'node:util'; + * + * const { params } = new MIMEType('text/plain;foo=0;bar=1'); + * params.set('foo', 'def'); + * params.set('baz', 'xyz'); + * console.log(params.toString()); + * // Prints: foo=def;bar=1;baz=xyz + * ``` + */ + set(name: string, value: string): void; + /** + * Returns an iterator over the values of each name-value pair. + */ + values(): IterableIterator; + /** + * Returns an iterator over each of the name-value pairs in the parameters. + */ + [Symbol.iterator]: typeof MIMEParams.prototype.entries; + } +} +declare module "util/types" { + import { KeyObject, webcrypto } from "node:crypto"; + /** + * Returns `true` if the value is a built-in [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) or + * [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instance. + * + * See also `util.types.isArrayBuffer()` and `util.types.isSharedArrayBuffer()`. + * + * ```js + * util.types.isAnyArrayBuffer(new ArrayBuffer()); // Returns true + * util.types.isAnyArrayBuffer(new SharedArrayBuffer()); // Returns true + * ``` + * @since v10.0.0 + */ + function isAnyArrayBuffer(object: unknown): object is ArrayBufferLike; + /** + * Returns `true` if the value is an `arguments` object. + * + * ```js + * function foo() { + * util.types.isArgumentsObject(arguments); // Returns true + * } + * ``` + * @since v10.0.0 + */ + function isArgumentsObject(object: unknown): object is IArguments; + /** + * Returns `true` if the value is a built-in [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) instance. + * This does _not_ include [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instances. Usually, it is + * desirable to test for both; See `util.types.isAnyArrayBuffer()` for that. + * + * ```js + * util.types.isArrayBuffer(new ArrayBuffer()); // Returns true + * util.types.isArrayBuffer(new SharedArrayBuffer()); // Returns false + * ``` + * @since v10.0.0 + */ + function isArrayBuffer(object: unknown): object is ArrayBuffer; + /** + * Returns `true` if the value is an instance of one of the [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) views, such as typed + * array objects or [`DataView`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView). Equivalent to + * [`ArrayBuffer.isView()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView). + * + * ```js + * util.types.isArrayBufferView(new Int8Array()); // true + * util.types.isArrayBufferView(Buffer.from('hello world')); // true + * util.types.isArrayBufferView(new DataView(new ArrayBuffer(16))); // true + * util.types.isArrayBufferView(new ArrayBuffer()); // false + * ``` + * @since v10.0.0 + */ + function isArrayBufferView(object: unknown): object is NodeJS.ArrayBufferView; + /** + * Returns `true` if the value is an [async function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function). + * This only reports back what the JavaScript engine is seeing; + * in particular, the return value may not match the original source code if + * a transpilation tool was used. + * + * ```js + * util.types.isAsyncFunction(function foo() {}); // Returns false + * util.types.isAsyncFunction(async function foo() {}); // Returns true + * ``` + * @since v10.0.0 + */ + function isAsyncFunction(object: unknown): boolean; + /** + * Returns `true` if the value is a `BigInt64Array` instance. + * + * ```js + * util.types.isBigInt64Array(new BigInt64Array()); // Returns true + * util.types.isBigInt64Array(new BigUint64Array()); // Returns false + * ``` + * @since v10.0.0 + */ + function isBigInt64Array(value: unknown): value is BigInt64Array; + /** + * Returns `true` if the value is a `BigUint64Array` instance. + * + * ```js + * util.types.isBigUint64Array(new BigInt64Array()); // Returns false + * util.types.isBigUint64Array(new BigUint64Array()); // Returns true + * ``` + * @since v10.0.0 + */ + function isBigUint64Array(value: unknown): value is BigUint64Array; + /** + * Returns `true` if the value is a boolean object, e.g. created + * by `new Boolean()`. + * + * ```js + * util.types.isBooleanObject(false); // Returns false + * util.types.isBooleanObject(true); // Returns false + * util.types.isBooleanObject(new Boolean(false)); // Returns true + * util.types.isBooleanObject(new Boolean(true)); // Returns true + * util.types.isBooleanObject(Boolean(false)); // Returns false + * util.types.isBooleanObject(Boolean(true)); // Returns false + * ``` + * @since v10.0.0 + */ + function isBooleanObject(object: unknown): object is Boolean; + /** + * Returns `true` if the value is any boxed primitive object, e.g. created + * by `new Boolean()`, `new String()` or `Object(Symbol())`. + * + * For example: + * + * ```js + * util.types.isBoxedPrimitive(false); // Returns false + * util.types.isBoxedPrimitive(new Boolean(false)); // Returns true + * util.types.isBoxedPrimitive(Symbol('foo')); // Returns false + * util.types.isBoxedPrimitive(Object(Symbol('foo'))); // Returns true + * util.types.isBoxedPrimitive(Object(BigInt(5))); // Returns true + * ``` + * @since v10.11.0 + */ + function isBoxedPrimitive(object: unknown): object is String | Number | BigInt | Boolean | Symbol; + /** + * Returns `true` if the value is a built-in [`DataView`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView) instance. + * + * ```js + * const ab = new ArrayBuffer(20); + * util.types.isDataView(new DataView(ab)); // Returns true + * util.types.isDataView(new Float64Array()); // Returns false + * ``` + * + * See also [`ArrayBuffer.isView()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView). + * @since v10.0.0 + */ + function isDataView(object: unknown): object is DataView; + /** + * Returns `true` if the value is a built-in [`Date`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) instance. + * + * ```js + * util.types.isDate(new Date()); // Returns true + * ``` + * @since v10.0.0 + */ + function isDate(object: unknown): object is Date; + /** + * Returns `true` if the value is a native `External` value. + * + * A native `External` value is a special type of object that contains a + * raw C++ pointer (`void*`) for access from native code, and has no other + * properties. Such objects are created either by Node.js internals or native + * addons. In JavaScript, they are [frozen](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze) objects with a`null` prototype. + * + * ```c + * #include + * #include + * napi_value result; + * static napi_value MyNapi(napi_env env, napi_callback_info info) { + * int* raw = (int*) malloc(1024); + * napi_status status = napi_create_external(env, (void*) raw, NULL, NULL, &result); + * if (status != napi_ok) { + * napi_throw_error(env, NULL, "napi_create_external failed"); + * return NULL; + * } + * return result; + * } + * ... + * DECLARE_NAPI_PROPERTY("myNapi", MyNapi) + * ... + * ``` + * + * ```js + * const native = require('napi_addon.node'); + * const data = native.myNapi(); + * util.types.isExternal(data); // returns true + * util.types.isExternal(0); // returns false + * util.types.isExternal(new String('foo')); // returns false + * ``` + * + * For further information on `napi_create_external`, refer to `napi_create_external()`. + * @since v10.0.0 + */ + function isExternal(object: unknown): boolean; + /** + * Returns `true` if the value is a built-in [`Float32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array) instance. + * + * ```js + * util.types.isFloat32Array(new ArrayBuffer()); // Returns false + * util.types.isFloat32Array(new Float32Array()); // Returns true + * util.types.isFloat32Array(new Float64Array()); // Returns false + * ``` + * @since v10.0.0 + */ + function isFloat32Array(object: unknown): object is Float32Array; + /** + * Returns `true` if the value is a built-in [`Float64Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array) instance. + * + * ```js + * util.types.isFloat64Array(new ArrayBuffer()); // Returns false + * util.types.isFloat64Array(new Uint8Array()); // Returns false + * util.types.isFloat64Array(new Float64Array()); // Returns true + * ``` + * @since v10.0.0 + */ + function isFloat64Array(object: unknown): object is Float64Array; + /** + * Returns `true` if the value is a generator function. + * This only reports back what the JavaScript engine is seeing; + * in particular, the return value may not match the original source code if + * a transpilation tool was used. + * + * ```js + * util.types.isGeneratorFunction(function foo() {}); // Returns false + * util.types.isGeneratorFunction(function* foo() {}); // Returns true + * ``` + * @since v10.0.0 + */ + function isGeneratorFunction(object: unknown): object is GeneratorFunction; + /** + * Returns `true` if the value is a generator object as returned from a + * built-in generator function. + * This only reports back what the JavaScript engine is seeing; + * in particular, the return value may not match the original source code if + * a transpilation tool was used. + * + * ```js + * function* foo() {} + * const generator = foo(); + * util.types.isGeneratorObject(generator); // Returns true + * ``` + * @since v10.0.0 + */ + function isGeneratorObject(object: unknown): object is Generator; + /** + * Returns `true` if the value is a built-in [`Int8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array) instance. + * + * ```js + * util.types.isInt8Array(new ArrayBuffer()); // Returns false + * util.types.isInt8Array(new Int8Array()); // Returns true + * util.types.isInt8Array(new Float64Array()); // Returns false + * ``` + * @since v10.0.0 + */ + function isInt8Array(object: unknown): object is Int8Array; + /** + * Returns `true` if the value is a built-in [`Int16Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array) instance. + * + * ```js + * util.types.isInt16Array(new ArrayBuffer()); // Returns false + * util.types.isInt16Array(new Int16Array()); // Returns true + * util.types.isInt16Array(new Float64Array()); // Returns false + * ``` + * @since v10.0.0 + */ + function isInt16Array(object: unknown): object is Int16Array; + /** + * Returns `true` if the value is a built-in [`Int32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array) instance. + * + * ```js + * util.types.isInt32Array(new ArrayBuffer()); // Returns false + * util.types.isInt32Array(new Int32Array()); // Returns true + * util.types.isInt32Array(new Float64Array()); // Returns false + * ``` + * @since v10.0.0 + */ + function isInt32Array(object: unknown): object is Int32Array; + /** + * Returns `true` if the value is a built-in [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) instance. + * + * ```js + * util.types.isMap(new Map()); // Returns true + * ``` + * @since v10.0.0 + */ + function isMap( + object: T | {}, + ): object is T extends ReadonlyMap ? (unknown extends T ? never : ReadonlyMap) + : Map; + /** + * Returns `true` if the value is an iterator returned for a built-in [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) instance. + * + * ```js + * const map = new Map(); + * util.types.isMapIterator(map.keys()); // Returns true + * util.types.isMapIterator(map.values()); // Returns true + * util.types.isMapIterator(map.entries()); // Returns true + * util.types.isMapIterator(map[Symbol.iterator]()); // Returns true + * ``` + * @since v10.0.0 + */ + function isMapIterator(object: unknown): boolean; + /** + * Returns `true` if the value is an instance of a [Module Namespace Object](https://tc39.github.io/ecma262/#sec-module-namespace-exotic-objects). + * + * ```js + * import * as ns from './a.js'; + * + * util.types.isModuleNamespaceObject(ns); // Returns true + * ``` + * @since v10.0.0 + */ + function isModuleNamespaceObject(value: unknown): boolean; + /** + * Returns `true` if the value was returned by the constructor of a [built-in `Error` type](https://tc39.es/ecma262/#sec-error-objects). + * + * ```js + * console.log(util.types.isNativeError(new Error())); // true + * console.log(util.types.isNativeError(new TypeError())); // true + * console.log(util.types.isNativeError(new RangeError())); // true + * ``` + * + * Subclasses of the native error types are also native errors: + * + * ```js + * class MyError extends Error {} + * console.log(util.types.isNativeError(new MyError())); // true + * ``` + * + * A value being `instanceof` a native error class is not equivalent to `isNativeError()`returning `true` for that value. `isNativeError()` returns `true` for errors + * which come from a different [realm](https://tc39.es/ecma262/#realm) while `instanceof Error` returns `false`for these errors: + * + * ```js + * const vm = require('node:vm'); + * const context = vm.createContext({}); + * const myError = vm.runInContext('new Error()', context); + * console.log(util.types.isNativeError(myError)); // true + * console.log(myError instanceof Error); // false + * ``` + * + * Conversely, `isNativeError()` returns `false` for all objects which were not + * returned by the constructor of a native error. That includes values + * which are `instanceof` native errors: + * + * ```js + * const myError = { __proto__: Error.prototype }; + * console.log(util.types.isNativeError(myError)); // false + * console.log(myError instanceof Error); // true + * ``` + * @since v10.0.0 + */ + function isNativeError(object: unknown): object is Error; + /** + * Returns `true` if the value is a number object, e.g. created + * by `new Number()`. + * + * ```js + * util.types.isNumberObject(0); // Returns false + * util.types.isNumberObject(new Number(0)); // Returns true + * ``` + * @since v10.0.0 + */ + function isNumberObject(object: unknown): object is Number; + /** + * Returns `true` if the value is a built-in [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise). + * + * ```js + * util.types.isPromise(Promise.resolve(42)); // Returns true + * ``` + * @since v10.0.0 + */ + function isPromise(object: unknown): object is Promise; + /** + * Returns `true` if the value is a [`Proxy`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) instance. + * + * ```js + * const target = {}; + * const proxy = new Proxy(target, {}); + * util.types.isProxy(target); // Returns false + * util.types.isProxy(proxy); // Returns true + * ``` + * @since v10.0.0 + */ + function isProxy(object: unknown): boolean; + /** + * Returns `true` if the value is a regular expression object. + * + * ```js + * util.types.isRegExp(/abc/); // Returns true + * util.types.isRegExp(new RegExp('abc')); // Returns true + * ``` + * @since v10.0.0 + */ + function isRegExp(object: unknown): object is RegExp; + /** + * Returns `true` if the value is a built-in [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instance. + * + * ```js + * util.types.isSet(new Set()); // Returns true + * ``` + * @since v10.0.0 + */ + function isSet( + object: T | {}, + ): object is T extends ReadonlySet ? (unknown extends T ? never : ReadonlySet) : Set; + /** + * Returns `true` if the value is an iterator returned for a built-in [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instance. + * + * ```js + * const set = new Set(); + * util.types.isSetIterator(set.keys()); // Returns true + * util.types.isSetIterator(set.values()); // Returns true + * util.types.isSetIterator(set.entries()); // Returns true + * util.types.isSetIterator(set[Symbol.iterator]()); // Returns true + * ``` + * @since v10.0.0 + */ + function isSetIterator(object: unknown): boolean; + /** + * Returns `true` if the value is a built-in [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instance. + * This does _not_ include [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) instances. Usually, it is + * desirable to test for both; See `util.types.isAnyArrayBuffer()` for that. + * + * ```js + * util.types.isSharedArrayBuffer(new ArrayBuffer()); // Returns false + * util.types.isSharedArrayBuffer(new SharedArrayBuffer()); // Returns true + * ``` + * @since v10.0.0 + */ + function isSharedArrayBuffer(object: unknown): object is SharedArrayBuffer; + /** + * Returns `true` if the value is a string object, e.g. created + * by `new String()`. + * + * ```js + * util.types.isStringObject('foo'); // Returns false + * util.types.isStringObject(new String('foo')); // Returns true + * ``` + * @since v10.0.0 + */ + function isStringObject(object: unknown): object is String; + /** + * Returns `true` if the value is a symbol object, created + * by calling `Object()` on a `Symbol` primitive. + * + * ```js + * const symbol = Symbol('foo'); + * util.types.isSymbolObject(symbol); // Returns false + * util.types.isSymbolObject(Object(symbol)); // Returns true + * ``` + * @since v10.0.0 + */ + function isSymbolObject(object: unknown): object is Symbol; + /** + * Returns `true` if the value is a built-in [`TypedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray) instance. + * + * ```js + * util.types.isTypedArray(new ArrayBuffer()); // Returns false + * util.types.isTypedArray(new Uint8Array()); // Returns true + * util.types.isTypedArray(new Float64Array()); // Returns true + * ``` + * + * See also [`ArrayBuffer.isView()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView). + * @since v10.0.0 + */ + function isTypedArray(object: unknown): object is NodeJS.TypedArray; + /** + * Returns `true` if the value is a built-in [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) instance. + * + * ```js + * util.types.isUint8Array(new ArrayBuffer()); // Returns false + * util.types.isUint8Array(new Uint8Array()); // Returns true + * util.types.isUint8Array(new Float64Array()); // Returns false + * ``` + * @since v10.0.0 + */ + function isUint8Array(object: unknown): object is Uint8Array; + /** + * Returns `true` if the value is a built-in [`Uint8ClampedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray) instance. + * + * ```js + * util.types.isUint8ClampedArray(new ArrayBuffer()); // Returns false + * util.types.isUint8ClampedArray(new Uint8ClampedArray()); // Returns true + * util.types.isUint8ClampedArray(new Float64Array()); // Returns false + * ``` + * @since v10.0.0 + */ + function isUint8ClampedArray(object: unknown): object is Uint8ClampedArray; + /** + * Returns `true` if the value is a built-in [`Uint16Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array) instance. + * + * ```js + * util.types.isUint16Array(new ArrayBuffer()); // Returns false + * util.types.isUint16Array(new Uint16Array()); // Returns true + * util.types.isUint16Array(new Float64Array()); // Returns false + * ``` + * @since v10.0.0 + */ + function isUint16Array(object: unknown): object is Uint16Array; + /** + * Returns `true` if the value is a built-in [`Uint32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array) instance. + * + * ```js + * util.types.isUint32Array(new ArrayBuffer()); // Returns false + * util.types.isUint32Array(new Uint32Array()); // Returns true + * util.types.isUint32Array(new Float64Array()); // Returns false + * ``` + * @since v10.0.0 + */ + function isUint32Array(object: unknown): object is Uint32Array; + /** + * Returns `true` if the value is a built-in [`WeakMap`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap) instance. + * + * ```js + * util.types.isWeakMap(new WeakMap()); // Returns true + * ``` + * @since v10.0.0 + */ + function isWeakMap(object: unknown): object is WeakMap; + /** + * Returns `true` if the value is a built-in [`WeakSet`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) instance. + * + * ```js + * util.types.isWeakSet(new WeakSet()); // Returns true + * ``` + * @since v10.0.0 + */ + function isWeakSet(object: unknown): object is WeakSet; + /** + * Returns `true` if `value` is a `KeyObject`, `false` otherwise. + * @since v16.2.0 + */ + function isKeyObject(object: unknown): object is KeyObject; + /** + * Returns `true` if `value` is a `CryptoKey`, `false` otherwise. + * @since v16.2.0 + */ + function isCryptoKey(object: unknown): object is webcrypto.CryptoKey; +} +declare module "node:util" { + export * from "util"; +} +declare module "node:util/types" { + export * from "util/types"; +} diff --git a/node_modules/@types/node/ts4.8/v8.d.ts b/node_modules/@types/node/ts4.8/v8.d.ts new file mode 100644 index 000000000..6790e7621 --- /dev/null +++ b/node_modules/@types/node/ts4.8/v8.d.ts @@ -0,0 +1,635 @@ +/** + * The `node:v8` module exposes APIs that are specific to the version of [V8](https://developers.google.com/v8/) built into the Node.js binary. It can be accessed using: + * + * ```js + * const v8 = require('node:v8'); + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/v8.js) + */ +declare module "v8" { + import { Readable } from "node:stream"; + interface HeapSpaceInfo { + space_name: string; + space_size: number; + space_used_size: number; + space_available_size: number; + physical_space_size: number; + } + // ** Signifies if the --zap_code_space option is enabled or not. 1 == enabled, 0 == disabled. */ + type DoesZapCodeSpaceFlag = 0 | 1; + interface HeapInfo { + total_heap_size: number; + total_heap_size_executable: number; + total_physical_size: number; + total_available_size: number; + used_heap_size: number; + heap_size_limit: number; + malloced_memory: number; + peak_malloced_memory: number; + does_zap_garbage: DoesZapCodeSpaceFlag; + number_of_native_contexts: number; + number_of_detached_contexts: number; + total_global_handles_size: number; + used_global_handles_size: number; + external_memory: number; + } + interface HeapCodeStatistics { + code_and_metadata_size: number; + bytecode_and_metadata_size: number; + external_script_source_size: number; + } + /** + * Returns an integer representing a version tag derived from the V8 version, + * command-line flags, and detected CPU features. This is useful for determining + * whether a `vm.Script` `cachedData` buffer is compatible with this instance + * of V8. + * + * ```js + * console.log(v8.cachedDataVersionTag()); // 3947234607 + * // The value returned by v8.cachedDataVersionTag() is derived from the V8 + * // version, command-line flags, and detected CPU features. Test that the value + * // does indeed update when flags are toggled. + * v8.setFlagsFromString('--allow_natives_syntax'); + * console.log(v8.cachedDataVersionTag()); // 183726201 + * ``` + * @since v8.0.0 + */ + function cachedDataVersionTag(): number; + /** + * Returns an object with the following properties: + * + * `does_zap_garbage` is a 0/1 boolean, which signifies whether the`--zap_code_space` option is enabled or not. This makes V8 overwrite heap + * garbage with a bit pattern. The RSS footprint (resident set size) gets bigger + * because it continuously touches all heap pages and that makes them less likely + * to get swapped out by the operating system. + * + * `number_of_native_contexts` The value of native\_context is the number of the + * top-level contexts currently active. Increase of this number over time indicates + * a memory leak. + * + * `number_of_detached_contexts` The value of detached\_context is the number + * of contexts that were detached and not yet garbage collected. This number + * being non-zero indicates a potential memory leak. + * + * `total_global_handles_size` The value of total\_global\_handles\_size is the + * total memory size of V8 global handles. + * + * `used_global_handles_size` The value of used\_global\_handles\_size is the + * used memory size of V8 global handles. + * + * `external_memory` The value of external\_memory is the memory size of array + * buffers and external strings. + * + * ```js + * { + * total_heap_size: 7326976, + * total_heap_size_executable: 4194304, + * total_physical_size: 7326976, + * total_available_size: 1152656, + * used_heap_size: 3476208, + * heap_size_limit: 1535115264, + * malloced_memory: 16384, + * peak_malloced_memory: 1127496, + * does_zap_garbage: 0, + * number_of_native_contexts: 1, + * number_of_detached_contexts: 0, + * total_global_handles_size: 8192, + * used_global_handles_size: 3296, + * external_memory: 318824 + * } + * ``` + * @since v1.0.0 + */ + function getHeapStatistics(): HeapInfo; + /** + * Returns statistics about the V8 heap spaces, i.e. the segments which make up + * the V8 heap. Neither the ordering of heap spaces, nor the availability of a + * heap space can be guaranteed as the statistics are provided via the + * V8[`GetHeapSpaceStatistics`](https://v8docs.nodesource.com/node-13.2/d5/dda/classv8_1_1_isolate.html#ac673576f24fdc7a33378f8f57e1d13a4) function and may change from one V8 version to the + * next. + * + * The value returned is an array of objects containing the following properties: + * + * ```json + * [ + * { + * "space_name": "new_space", + * "space_size": 2063872, + * "space_used_size": 951112, + * "space_available_size": 80824, + * "physical_space_size": 2063872 + * }, + * { + * "space_name": "old_space", + * "space_size": 3090560, + * "space_used_size": 2493792, + * "space_available_size": 0, + * "physical_space_size": 3090560 + * }, + * { + * "space_name": "code_space", + * "space_size": 1260160, + * "space_used_size": 644256, + * "space_available_size": 960, + * "physical_space_size": 1260160 + * }, + * { + * "space_name": "map_space", + * "space_size": 1094160, + * "space_used_size": 201608, + * "space_available_size": 0, + * "physical_space_size": 1094160 + * }, + * { + * "space_name": "large_object_space", + * "space_size": 0, + * "space_used_size": 0, + * "space_available_size": 1490980608, + * "physical_space_size": 0 + * } + * ] + * ``` + * @since v6.0.0 + */ + function getHeapSpaceStatistics(): HeapSpaceInfo[]; + /** + * The `v8.setFlagsFromString()` method can be used to programmatically set + * V8 command-line flags. This method should be used with care. Changing settings + * after the VM has started may result in unpredictable behavior, including + * crashes and data loss; or it may simply do nothing. + * + * The V8 options available for a version of Node.js may be determined by running`node --v8-options`. + * + * Usage: + * + * ```js + * // Print GC events to stdout for one minute. + * const v8 = require('node:v8'); + * v8.setFlagsFromString('--trace_gc'); + * setTimeout(() => { v8.setFlagsFromString('--notrace_gc'); }, 60e3); + * ``` + * @since v1.0.0 + */ + function setFlagsFromString(flags: string): void; + /** + * Generates a snapshot of the current V8 heap and returns a Readable + * Stream that may be used to read the JSON serialized representation. + * This JSON stream format is intended to be used with tools such as + * Chrome DevTools. The JSON schema is undocumented and specific to the + * V8 engine. Therefore, the schema may change from one version of V8 to the next. + * + * Creating a heap snapshot requires memory about twice the size of the heap at + * the time the snapshot is created. This results in the risk of OOM killers + * terminating the process. + * + * Generating a snapshot is a synchronous operation which blocks the event loop + * for a duration depending on the heap size. + * + * ```js + * // Print heap snapshot to the console + * const v8 = require('node:v8'); + * const stream = v8.getHeapSnapshot(); + * stream.pipe(process.stdout); + * ``` + * @since v11.13.0 + * @return A Readable containing the V8 heap snapshot. + */ + function getHeapSnapshot(): Readable; + /** + * Generates a snapshot of the current V8 heap and writes it to a JSON + * file. This file is intended to be used with tools such as Chrome + * DevTools. The JSON schema is undocumented and specific to the V8 + * engine, and may change from one version of V8 to the next. + * + * A heap snapshot is specific to a single V8 isolate. When using `worker threads`, a heap snapshot generated from the main thread will + * not contain any information about the workers, and vice versa. + * + * Creating a heap snapshot requires memory about twice the size of the heap at + * the time the snapshot is created. This results in the risk of OOM killers + * terminating the process. + * + * Generating a snapshot is a synchronous operation which blocks the event loop + * for a duration depending on the heap size. + * + * ```js + * const { writeHeapSnapshot } = require('node:v8'); + * const { + * Worker, + * isMainThread, + * parentPort, + * } = require('node:worker_threads'); + * + * if (isMainThread) { + * const worker = new Worker(__filename); + * + * worker.once('message', (filename) => { + * console.log(`worker heapdump: ${filename}`); + * // Now get a heapdump for the main thread. + * console.log(`main thread heapdump: ${writeHeapSnapshot()}`); + * }); + * + * // Tell the worker to create a heapdump. + * worker.postMessage('heapdump'); + * } else { + * parentPort.once('message', (message) => { + * if (message === 'heapdump') { + * // Generate a heapdump for the worker + * // and return the filename to the parent. + * parentPort.postMessage(writeHeapSnapshot()); + * } + * }); + * } + * ``` + * @since v11.13.0 + * @param filename The file path where the V8 heap snapshot is to be saved. If not specified, a file name with the pattern `'Heap-${yyyymmdd}-${hhmmss}-${pid}-${thread_id}.heapsnapshot'` will be + * generated, where `{pid}` will be the PID of the Node.js process, `{thread_id}` will be `0` when `writeHeapSnapshot()` is called from the main Node.js thread or the id of a + * worker thread. + * @return The filename where the snapshot was saved. + */ + function writeHeapSnapshot(filename?: string): string; + /** + * Get statistics about code and its metadata in the heap, see + * V8[`GetHeapCodeAndMetadataStatistics`](https://v8docs.nodesource.com/node-13.2/d5/dda/classv8_1_1_isolate.html#a6079122af17612ef54ef3348ce170866) API. Returns an object with the + * following properties: + * + * ```js + * { + * code_and_metadata_size: 212208, + * bytecode_and_metadata_size: 161368, + * external_script_source_size: 1410794, + * cpu_profiler_metadata_size: 0, + * } + * ``` + * @since v12.8.0 + */ + function getHeapCodeStatistics(): HeapCodeStatistics; + /** + * @since v8.0.0 + */ + class Serializer { + /** + * Writes out a header, which includes the serialization format version. + */ + writeHeader(): void; + /** + * Serializes a JavaScript value and adds the serialized representation to the + * internal buffer. + * + * This throws an error if `value` cannot be serialized. + */ + writeValue(val: any): boolean; + /** + * Returns the stored internal buffer. This serializer should not be used once + * the buffer is released. Calling this method results in undefined behavior + * if a previous write has failed. + */ + releaseBuffer(): Buffer; + /** + * Marks an `ArrayBuffer` as having its contents transferred out of band. + * Pass the corresponding `ArrayBuffer` in the deserializing context to `deserializer.transferArrayBuffer()`. + * @param id A 32-bit unsigned integer. + * @param arrayBuffer An `ArrayBuffer` instance. + */ + transferArrayBuffer(id: number, arrayBuffer: ArrayBuffer): void; + /** + * Write a raw 32-bit unsigned integer. + * For use inside of a custom `serializer._writeHostObject()`. + */ + writeUint32(value: number): void; + /** + * Write a raw 64-bit unsigned integer, split into high and low 32-bit parts. + * For use inside of a custom `serializer._writeHostObject()`. + */ + writeUint64(hi: number, lo: number): void; + /** + * Write a JS `number` value. + * For use inside of a custom `serializer._writeHostObject()`. + */ + writeDouble(value: number): void; + /** + * Write raw bytes into the serializer's internal buffer. The deserializer + * will require a way to compute the length of the buffer. + * For use inside of a custom `serializer._writeHostObject()`. + */ + writeRawBytes(buffer: NodeJS.TypedArray): void; + } + /** + * A subclass of `Serializer` that serializes `TypedArray`(in particular `Buffer`) and `DataView` objects as host objects, and only + * stores the part of their underlying `ArrayBuffer`s that they are referring to. + * @since v8.0.0 + */ + class DefaultSerializer extends Serializer {} + /** + * @since v8.0.0 + */ + class Deserializer { + constructor(data: NodeJS.TypedArray); + /** + * Reads and validates a header (including the format version). + * May, for example, reject an invalid or unsupported wire format. In that case, + * an `Error` is thrown. + */ + readHeader(): boolean; + /** + * Deserializes a JavaScript value from the buffer and returns it. + */ + readValue(): any; + /** + * Marks an `ArrayBuffer` as having its contents transferred out of band. + * Pass the corresponding `ArrayBuffer` in the serializing context to `serializer.transferArrayBuffer()` (or return the `id` from `serializer._getSharedArrayBufferId()` in the case of + * `SharedArrayBuffer`s). + * @param id A 32-bit unsigned integer. + * @param arrayBuffer An `ArrayBuffer` instance. + */ + transferArrayBuffer(id: number, arrayBuffer: ArrayBuffer): void; + /** + * Reads the underlying wire format version. Likely mostly to be useful to + * legacy code reading old wire format versions. May not be called before`.readHeader()`. + */ + getWireFormatVersion(): number; + /** + * Read a raw 32-bit unsigned integer and return it. + * For use inside of a custom `deserializer._readHostObject()`. + */ + readUint32(): number; + /** + * Read a raw 64-bit unsigned integer and return it as an array `[hi, lo]`with two 32-bit unsigned integer entries. + * For use inside of a custom `deserializer._readHostObject()`. + */ + readUint64(): [number, number]; + /** + * Read a JS `number` value. + * For use inside of a custom `deserializer._readHostObject()`. + */ + readDouble(): number; + /** + * Read raw bytes from the deserializer's internal buffer. The `length` parameter + * must correspond to the length of the buffer that was passed to `serializer.writeRawBytes()`. + * For use inside of a custom `deserializer._readHostObject()`. + */ + readRawBytes(length: number): Buffer; + } + /** + * A subclass of `Deserializer` corresponding to the format written by `DefaultSerializer`. + * @since v8.0.0 + */ + class DefaultDeserializer extends Deserializer {} + /** + * Uses a `DefaultSerializer` to serialize `value` into a buffer. + * + * `ERR_BUFFER_TOO_LARGE` will be thrown when trying to + * serialize a huge object which requires buffer + * larger than `buffer.constants.MAX_LENGTH`. + * @since v8.0.0 + */ + function serialize(value: any): Buffer; + /** + * Uses a `DefaultDeserializer` with default options to read a JS value + * from a buffer. + * @since v8.0.0 + * @param buffer A buffer returned by {@link serialize}. + */ + function deserialize(buffer: NodeJS.TypedArray): any; + /** + * The `v8.takeCoverage()` method allows the user to write the coverage started by `NODE_V8_COVERAGE` to disk on demand. This method can be invoked multiple + * times during the lifetime of the process. Each time the execution counter will + * be reset and a new coverage report will be written to the directory specified + * by `NODE_V8_COVERAGE`. + * + * When the process is about to exit, one last coverage will still be written to + * disk unless {@link stopCoverage} is invoked before the process exits. + * @since v15.1.0, v14.18.0, v12.22.0 + */ + function takeCoverage(): void; + /** + * The `v8.stopCoverage()` method allows the user to stop the coverage collection + * started by `NODE_V8_COVERAGE`, so that V8 can release the execution count + * records and optimize code. This can be used in conjunction with {@link takeCoverage} if the user wants to collect the coverage on demand. + * @since v15.1.0, v14.18.0, v12.22.0 + */ + function stopCoverage(): void; + /** + * This API collects GC data in current thread. + * @since v19.6.0, v18.15.0 + */ + class GCProfiler { + /** + * Start collecting GC data. + * @since v19.6.0, v18.15.0 + */ + start(): void; + /** + * Stop collecting GC data and return an object.The content of object + * is as follows. + * + * ```json + * { + * "version": 1, + * "startTime": 1674059033862, + * "statistics": [ + * { + * "gcType": "Scavenge", + * "beforeGC": { + * "heapStatistics": { + * "totalHeapSize": 5005312, + * "totalHeapSizeExecutable": 524288, + * "totalPhysicalSize": 5226496, + * "totalAvailableSize": 4341325216, + * "totalGlobalHandlesSize": 8192, + * "usedGlobalHandlesSize": 2112, + * "usedHeapSize": 4883840, + * "heapSizeLimit": 4345298944, + * "mallocedMemory": 254128, + * "externalMemory": 225138, + * "peakMallocedMemory": 181760 + * }, + * "heapSpaceStatistics": [ + * { + * "spaceName": "read_only_space", + * "spaceSize": 0, + * "spaceUsedSize": 0, + * "spaceAvailableSize": 0, + * "physicalSpaceSize": 0 + * } + * ] + * }, + * "cost": 1574.14, + * "afterGC": { + * "heapStatistics": { + * "totalHeapSize": 6053888, + * "totalHeapSizeExecutable": 524288, + * "totalPhysicalSize": 5500928, + * "totalAvailableSize": 4341101384, + * "totalGlobalHandlesSize": 8192, + * "usedGlobalHandlesSize": 2112, + * "usedHeapSize": 4059096, + * "heapSizeLimit": 4345298944, + * "mallocedMemory": 254128, + * "externalMemory": 225138, + * "peakMallocedMemory": 181760 + * }, + * "heapSpaceStatistics": [ + * { + * "spaceName": "read_only_space", + * "spaceSize": 0, + * "spaceUsedSize": 0, + * "spaceAvailableSize": 0, + * "physicalSpaceSize": 0 + * } + * ] + * } + * } + * ], + * "endTime": 1674059036865 + * } + * ``` + * + * Here's an example. + * + * ```js + * const { GCProfiler } = require('v8'); + * const profiler = new GCProfiler(); + * profiler.start(); + * setTimeout(() => { + * console.log(profiler.stop()); + * }, 1000); + * ``` + * @since v19.6.0, v18.15.0 + */ + stop(): GCProfilerResult; + } + interface GCProfilerResult { + version: number; + startTime: number; + endTime: number; + statistics: Array<{ + gcType: string; + cost: number; + beforeGC: { + heapStatistics: HeapStatistics; + heapSpaceStatistics: HeapSpaceStatistics[]; + }; + afterGC: { + heapStatistics: HeapStatistics; + heapSpaceStatistics: HeapSpaceStatistics[]; + }; + }>; + } + interface HeapStatistics { + totalHeapSize: number; + totalHeapSizeExecutable: number; + totalPhysicalSize: number; + totalAvailableSize: number; + totalGlobalHandlesSize: number; + usedGlobalHandlesSize: number; + usedHeapSize: number; + heapSizeLimit: number; + mallocedMemory: number; + externalMemory: number; + peakMallocedMemory: number; + } + interface HeapSpaceStatistics { + spaceName: string; + spaceSize: number; + spaceUsedSize: number; + spaceAvailableSize: number; + physicalSpaceSize: number; + } + /** + * Called when a promise is constructed. This does not mean that corresponding before/after events will occur, only that the possibility exists. This will + * happen if a promise is created without ever getting a continuation. + * @since v17.1.0, v16.14.0 + * @param promise The promise being created. + * @param parent The promise continued from, if applicable. + */ + interface Init { + (promise: Promise, parent: Promise): void; + } + /** + * Called before a promise continuation executes. This can be in the form of `then()`, `catch()`, or `finally()` handlers or an await resuming. + * + * The before callback will be called 0 to N times. The before callback will typically be called 0 times if no continuation was ever made for the promise. + * The before callback may be called many times in the case where many continuations have been made from the same promise. + * @since v17.1.0, v16.14.0 + */ + interface Before { + (promise: Promise): void; + } + /** + * Called immediately after a promise continuation executes. This may be after a `then()`, `catch()`, or `finally()` handler or before an await after another await. + * @since v17.1.0, v16.14.0 + */ + interface After { + (promise: Promise): void; + } + /** + * Called when the promise receives a resolution or rejection value. This may occur synchronously in the case of {@link Promise.resolve()} or + * {@link Promise.reject()}. + * @since v17.1.0, v16.14.0 + */ + interface Settled { + (promise: Promise): void; + } + /** + * Key events in the lifetime of a promise have been categorized into four areas: creation of a promise, before/after a continuation handler is called or + * around an await, and when the promise resolves or rejects. + * + * Because promises are asynchronous resources whose lifecycle is tracked via the promise hooks mechanism, the `init()`, `before()`, `after()`, and + * `settled()` callbacks must not be async functions as they create more promises which would produce an infinite loop. + * @since v17.1.0, v16.14.0 + */ + interface HookCallbacks { + init?: Init; + before?: Before; + after?: After; + settled?: Settled; + } + interface PromiseHooks { + /** + * The `init` hook must be a plain function. Providing an async function will throw as it would produce an infinite microtask loop. + * @since v17.1.0, v16.14.0 + * @param init The {@link Init | `init` callback} to call when a promise is created. + * @return Call to stop the hook. + */ + onInit: (init: Init) => Function; + /** + * The `settled` hook must be a plain function. Providing an async function will throw as it would produce an infinite microtask loop. + * @since v17.1.0, v16.14.0 + * @param settled The {@link Settled | `settled` callback} to call when a promise is created. + * @return Call to stop the hook. + */ + onSettled: (settled: Settled) => Function; + /** + * The `before` hook must be a plain function. Providing an async function will throw as it would produce an infinite microtask loop. + * @since v17.1.0, v16.14.0 + * @param before The {@link Before | `before` callback} to call before a promise continuation executes. + * @return Call to stop the hook. + */ + onBefore: (before: Before) => Function; + /** + * The `after` hook must be a plain function. Providing an async function will throw as it would produce an infinite microtask loop. + * @since v17.1.0, v16.14.0 + * @param after The {@link After | `after` callback} to call after a promise continuation executes. + * @return Call to stop the hook. + */ + onAfter: (after: After) => Function; + /** + * Registers functions to be called for different lifetime events of each promise. + * The callbacks `init()`/`before()`/`after()`/`settled()` are called for the respective events during a promise's lifetime. + * All callbacks are optional. For example, if only promise creation needs to be tracked, then only the init callback needs to be passed. + * The hook callbacks must be plain functions. Providing async functions will throw as it would produce an infinite microtask loop. + * @since v17.1.0, v16.14.0 + * @param callbacks The {@link HookCallbacks | Hook Callbacks} to register + * @return Used for disabling hooks + */ + createHook: (callbacks: HookCallbacks) => Function; + } + /** + * The `promiseHooks` interface can be used to track promise lifecycle events. + * @since v17.1.0, v16.14.0 + */ + const promiseHooks: PromiseHooks; +} +declare module "node:v8" { + export * from "v8"; +} diff --git a/node_modules/@types/node/ts4.8/vm.d.ts b/node_modules/@types/node/ts4.8/vm.d.ts new file mode 100644 index 000000000..3a310ccb3 --- /dev/null +++ b/node_modules/@types/node/ts4.8/vm.d.ts @@ -0,0 +1,903 @@ +/** + * The `node:vm` module enables compiling and running code within V8 Virtual + * Machine contexts. + * + * **The `node:vm` module is not a security** + * **mechanism. Do not use it to run untrusted code.** + * + * JavaScript code can be compiled and run immediately or + * compiled, saved, and run later. + * + * A common use case is to run the code in a different V8 Context. This means + * invoked code has a different global object than the invoking code. + * + * One can provide the context by `contextifying` an + * object. The invoked code treats any property in the context like a + * global variable. Any changes to global variables caused by the invoked + * code are reflected in the context object. + * + * ```js + * const vm = require('node:vm'); + * + * const x = 1; + * + * const context = { x: 2 }; + * vm.createContext(context); // Contextify the object. + * + * const code = 'x += 40; var y = 17;'; + * // `x` and `y` are global variables in the context. + * // Initially, x has the value 2 because that is the value of context.x. + * vm.runInContext(code, context); + * + * console.log(context.x); // 42 + * console.log(context.y); // 17 + * + * console.log(x); // 1; y is not defined. + * ``` + * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/vm.js) + */ +declare module "vm" { + import { ImportAttributes } from "node:module"; + interface Context extends NodeJS.Dict {} + interface BaseOptions { + /** + * Specifies the filename used in stack traces produced by this script. + * Default: `''`. + */ + filename?: string | undefined; + /** + * Specifies the line number offset that is displayed in stack traces produced by this script. + * Default: `0`. + */ + lineOffset?: number | undefined; + /** + * Specifies the column number offset that is displayed in stack traces produced by this script. + * @default 0 + */ + columnOffset?: number | undefined; + } + interface ScriptOptions extends BaseOptions { + /** + * V8's code cache data for the supplied source. + */ + cachedData?: Buffer | NodeJS.ArrayBufferView | undefined; + /** @deprecated in favor of `script.createCachedData()` */ + produceCachedData?: boolean | undefined; + /** + * Called during evaluation of this module when `import()` is called. + * If this option is not specified, calls to `import()` will reject with `ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING`. + */ + importModuleDynamically?: + | ((specifier: string, script: Script, importAttributes: ImportAttributes) => Module) + | undefined; + } + interface RunningScriptOptions extends BaseOptions { + /** + * When `true`, if an `Error` occurs while compiling the `code`, the line of code causing the error is attached to the stack trace. + * Default: `true`. + */ + displayErrors?: boolean | undefined; + /** + * Specifies the number of milliseconds to execute code before terminating execution. + * If execution is terminated, an `Error` will be thrown. This value must be a strictly positive integer. + */ + timeout?: number | undefined; + /** + * If `true`, the execution will be terminated when `SIGINT` (Ctrl+C) is received. + * Existing handlers for the event that have been attached via `process.on('SIGINT')` will be disabled during script execution, but will continue to work after that. + * If execution is terminated, an `Error` will be thrown. + * Default: `false`. + */ + breakOnSigint?: boolean | undefined; + } + interface RunningScriptInNewContextOptions extends RunningScriptOptions { + /** + * Human-readable name of the newly created context. + */ + contextName?: CreateContextOptions["name"]; + /** + * Origin corresponding to the newly created context for display purposes. The origin should be formatted like a URL, + * but with only the scheme, host, and port (if necessary), like the value of the `url.origin` property of a `URL` object. + * Most notably, this string should omit the trailing slash, as that denotes a path. + */ + contextOrigin?: CreateContextOptions["origin"]; + contextCodeGeneration?: CreateContextOptions["codeGeneration"]; + /** + * If set to `afterEvaluate`, microtasks will be run immediately after the script has run. + */ + microtaskMode?: CreateContextOptions["microtaskMode"]; + } + interface RunningCodeOptions extends RunningScriptOptions { + cachedData?: ScriptOptions["cachedData"]; + importModuleDynamically?: ScriptOptions["importModuleDynamically"]; + } + interface RunningCodeInNewContextOptions extends RunningScriptInNewContextOptions { + cachedData?: ScriptOptions["cachedData"]; + importModuleDynamically?: ScriptOptions["importModuleDynamically"]; + } + interface CompileFunctionOptions extends BaseOptions { + /** + * Provides an optional data with V8's code cache data for the supplied source. + */ + cachedData?: Buffer | undefined; + /** + * Specifies whether to produce new cache data. + * Default: `false`, + */ + produceCachedData?: boolean | undefined; + /** + * The sandbox/context in which the said function should be compiled in. + */ + parsingContext?: Context | undefined; + /** + * An array containing a collection of context extensions (objects wrapping the current scope) to be applied while compiling + */ + contextExtensions?: Object[] | undefined; + } + interface CreateContextOptions { + /** + * Human-readable name of the newly created context. + * @default 'VM Context i' Where i is an ascending numerical index of the created context. + */ + name?: string | undefined; + /** + * Corresponds to the newly created context for display purposes. + * The origin should be formatted like a `URL`, but with only the scheme, host, and port (if necessary), + * like the value of the `url.origin` property of a URL object. + * Most notably, this string should omit the trailing slash, as that denotes a path. + * @default '' + */ + origin?: string | undefined; + codeGeneration?: + | { + /** + * If set to false any calls to eval or function constructors (Function, GeneratorFunction, etc) + * will throw an EvalError. + * @default true + */ + strings?: boolean | undefined; + /** + * If set to false any attempt to compile a WebAssembly module will throw a WebAssembly.CompileError. + * @default true + */ + wasm?: boolean | undefined; + } + | undefined; + /** + * If set to `afterEvaluate`, microtasks will be run immediately after the script has run. + */ + microtaskMode?: "afterEvaluate" | undefined; + } + type MeasureMemoryMode = "summary" | "detailed"; + interface MeasureMemoryOptions { + /** + * @default 'summary' + */ + mode?: MeasureMemoryMode | undefined; + /** + * @default 'default' + */ + execution?: "default" | "eager" | undefined; + } + interface MemoryMeasurement { + total: { + jsMemoryEstimate: number; + jsMemoryRange: [number, number]; + }; + } + /** + * Instances of the `vm.Script` class contain precompiled scripts that can be + * executed in specific contexts. + * @since v0.3.1 + */ + class Script { + constructor(code: string, options?: ScriptOptions | string); + /** + * Runs the compiled code contained by the `vm.Script` object within the given`contextifiedObject` and returns the result. Running code does not have access + * to local scope. + * + * The following example compiles code that increments a global variable, sets + * the value of another global variable, then execute the code multiple times. + * The globals are contained in the `context` object. + * + * ```js + * const vm = require('node:vm'); + * + * const context = { + * animal: 'cat', + * count: 2, + * }; + * + * const script = new vm.Script('count += 1; name = "kitty";'); + * + * vm.createContext(context); + * for (let i = 0; i < 10; ++i) { + * script.runInContext(context); + * } + * + * console.log(context); + * // Prints: { animal: 'cat', count: 12, name: 'kitty' } + * ``` + * + * Using the `timeout` or `breakOnSigint` options will result in new event loops + * and corresponding threads being started, which have a non-zero performance + * overhead. + * @since v0.3.1 + * @param contextifiedObject A `contextified` object as returned by the `vm.createContext()` method. + * @return the result of the very last statement executed in the script. + */ + runInContext(contextifiedObject: Context, options?: RunningScriptOptions): any; + /** + * First contextifies the given `contextObject`, runs the compiled code contained + * by the `vm.Script` object within the created context, and returns the result. + * Running code does not have access to local scope. + * + * The following example compiles code that sets a global variable, then executes + * the code multiple times in different contexts. The globals are set on and + * contained within each individual `context`. + * + * ```js + * const vm = require('node:vm'); + * + * const script = new vm.Script('globalVar = "set"'); + * + * const contexts = [{}, {}, {}]; + * contexts.forEach((context) => { + * script.runInNewContext(context); + * }); + * + * console.log(contexts); + * // Prints: [{ globalVar: 'set' }, { globalVar: 'set' }, { globalVar: 'set' }] + * ``` + * @since v0.3.1 + * @param contextObject An object that will be `contextified`. If `undefined`, a new object will be created. + * @return the result of the very last statement executed in the script. + */ + runInNewContext(contextObject?: Context, options?: RunningScriptInNewContextOptions): any; + /** + * Runs the compiled code contained by the `vm.Script` within the context of the + * current `global` object. Running code does not have access to local scope, but _does_ have access to the current `global` object. + * + * The following example compiles code that increments a `global` variable then + * executes that code multiple times: + * + * ```js + * const vm = require('node:vm'); + * + * global.globalVar = 0; + * + * const script = new vm.Script('globalVar += 1', { filename: 'myfile.vm' }); + * + * for (let i = 0; i < 1000; ++i) { + * script.runInThisContext(); + * } + * + * console.log(globalVar); + * + * // 1000 + * ``` + * @since v0.3.1 + * @return the result of the very last statement executed in the script. + */ + runInThisContext(options?: RunningScriptOptions): any; + /** + * Creates a code cache that can be used with the `Script` constructor's`cachedData` option. Returns a `Buffer`. This method may be called at any + * time and any number of times. + * + * The code cache of the `Script` doesn't contain any JavaScript observable + * states. The code cache is safe to be saved along side the script source and + * used to construct new `Script` instances multiple times. + * + * Functions in the `Script` source can be marked as lazily compiled and they are + * not compiled at construction of the `Script`. These functions are going to be + * compiled when they are invoked the first time. The code cache serializes the + * metadata that V8 currently knows about the `Script` that it can use to speed up + * future compilations. + * + * ```js + * const script = new vm.Script(` + * function add(a, b) { + * return a + b; + * } + * + * const x = add(1, 2); + * `); + * + * const cacheWithoutAdd = script.createCachedData(); + * // In `cacheWithoutAdd` the function `add()` is marked for full compilation + * // upon invocation. + * + * script.runInThisContext(); + * + * const cacheWithAdd = script.createCachedData(); + * // `cacheWithAdd` contains fully compiled function `add()`. + * ``` + * @since v10.6.0 + */ + createCachedData(): Buffer; + /** @deprecated in favor of `script.createCachedData()` */ + cachedDataProduced?: boolean | undefined; + /** + * When `cachedData` is supplied to create the `vm.Script`, this value will be set + * to either `true` or `false` depending on acceptance of the data by V8\. + * Otherwise the value is `undefined`. + * @since v5.7.0 + */ + cachedDataRejected?: boolean | undefined; + cachedData?: Buffer | undefined; + /** + * When the script is compiled from a source that contains a source map magic + * comment, this property will be set to the URL of the source map. + * + * ```js + * import vm from 'node:vm'; + * + * const script = new vm.Script(` + * function myFunc() {} + * //# sourceMappingURL=sourcemap.json + * `); + * + * console.log(script.sourceMapURL); + * // Prints: sourcemap.json + * ``` + * @since v19.1.0, v18.13.0 + */ + sourceMapURL?: string | undefined; + } + /** + * If given a `contextObject`, the `vm.createContext()` method will `prepare + * that object` so that it can be used in calls to {@link runInContext} or `script.runInContext()`. Inside such scripts, + * the `contextObject` will be the global object, retaining all of its existing + * properties but also having the built-in objects and functions any standard [global object](https://es5.github.io/#x15.1) has. Outside of scripts run by the vm module, global variables + * will remain unchanged. + * + * ```js + * const vm = require('node:vm'); + * + * global.globalVar = 3; + * + * const context = { globalVar: 1 }; + * vm.createContext(context); + * + * vm.runInContext('globalVar *= 2;', context); + * + * console.log(context); + * // Prints: { globalVar: 2 } + * + * console.log(global.globalVar); + * // Prints: 3 + * ``` + * + * If `contextObject` is omitted (or passed explicitly as `undefined`), a new, + * empty `contextified` object will be returned. + * + * The `vm.createContext()` method is primarily useful for creating a single + * context that can be used to run multiple scripts. For instance, if emulating a + * web browser, the method can be used to create a single context representing a + * window's global object, then run all `

  • gGcXU-Tb2uV8@9&%oo}7S>=t^4FF%g8VT8Zr^!fv>+3`?brQ>Vr9gD`6&C@Q_|#Agw(29V?x@0X8sn@*0dA4 zDv#28RH~sXtsXwcQ`Db=1r}#*LhC$#$dwlVos-F;Ue%RK?nlC^eR^2DjVmTzmy_PQ z+Q24^n%JHSmtDPfCRUKDiE`DXZP)2ri|XN-cICnO>ivu1@If|``CqW1=ayykOI>HH zlxv;155_6!T}}^EK#|uNe^jUT-|3}XOpzvg!B(jE&){maZxgVSyx^dHof|{H@%blw zZ)`RkF#}2~GV`USQW(Twks~UYn(@4wj}2_zmKG5ahv9NmaLC>y)P7Da`Qj8yyU1GpCBq2?cr7Y}_aFUMa%a8mgW5IF4Yzmr5IY1di6@3Uq!(Lzd$jPj7)lyzQ=i5wjOtuFb zB2d(E!s(2f6TQMCeNMCUtrUJ^w05?ve?4D9Yu>M$T~$mT$zTr|dXDOQxM04y-Rgc| zmlMu$Dc%jz?p;uj-aPx5#xivkK3AE2L4>>tREhT>i$va!u}Hc7?t?CM(w;aj-YFvP zyPMODhT~H%pnn7s4N}3@+_VUnBgP%M&MSZcK}jq>S?U`rtEb(cMKdEE;t5!=K^Njq zh(p5r1TkXBCBFf#o4IMeIMXg*smk9o=`0N-3>SN!^RB6?dUea)o76-}0m}I(%VhTI z0naf=v4}~rRoMPqKh^-21pBP;KJjJ3q$cx)b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