403Webshell
Server IP : 35.80.110.71  /  Your IP : 216.73.216.21
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/webhook-relay-web/current/node_modules/truncate-json/build/src/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/webhook-relay-web/current/node_modules/truncate-json/build/src/prop.js
import{addSize}from"./size.js";


export const truncateProp=({
parent,
truncatedProps,
path,
increment,
maxSize,
key,
empty,
size,
truncateValue,
indent,
depth
})=>{
const value=parent[key];
const pathA=[...path,key];
const{
size:newSize,
stop,
truncatedProps:truncatedPropsA
}=addSize({
size,
increment,
maxSize,
truncatedProps,
path:pathA,
value
});

return stop?
{empty,size:newSize,truncatedProps:truncatedPropsA}:
truncatePropValue({
value,
truncatedProps,
path:pathA,
maxSize,
empty,
size,
newSize,
truncateValue,
indent,
depth
})
};

const truncatePropValue=({
value,
truncatedProps,
path,
maxSize,
empty,
size,
newSize,
truncateValue,
indent,
depth
})=>{
const{
value:valueA,
size:newSizeA,
truncatedProps:truncatedPropsB
}=truncateValue({
value,
truncatedProps,
path,
size:newSize,
maxSize,
indent,
depth:depth+1
});
return valueA===undefined?
{empty,size,truncatedProps:truncatedPropsB}:
{
empty:false,
size:newSizeA,
value:valueA,
truncatedProps:truncatedPropsB
}
};

Youez - 2016 - github.com/yon3zu
LinuXploit