Server IP : 108.163.255.210 / Your IP : 3.147.103.33 Web Server : Apache System : Linux blossom.urlnameserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64 User : ( 1172) PHP Version : 7.2.34 Disable Function : eval,escapeshellarg,proc_close,proc_get_status,proc_nice,proc_open,symlink,system,pcntl_exec,getrusage,chown,chgp,closelog,openlog,syslog,define_syslog_variables,php_ini_loaded_file,getservbyname,getservbyport,posix_getgid,posix_getgrgid,proc_terminate,pfsockopen,apache_child_terminate,posix_mkfifo,posix_setpgid,posix_setuid,hypot,pg_host,pos,posix_access,posix_getcwd,posix_getservbyname,myshellexec,getpid,posix_getsid,posix_isatty,posix_kill,posix_mknod,posix_setgid,posix_setsid,posix_setuid,posix_times,posix_uname,ps_fill,posix_getpwuid,global,ini_restore,zip_open,zip_read,rar_open,bzopen,bzread,bzwrite,apache_get_modules,apache_get_version,phpversionphpinfo,php_ini_scanned_files,get_current_user,disk_total_space,diskfreespace,leak,imap_list,hypo,filedump,safe_mode,getmygid,apache_getenv,apache_setenv,bzread,bzwrite,bzopen,phpini,higlight_file,dos_conv,get_cwd,er_log,cmd,e_name,vdir,get_dir,only_read,ftok,ftpexec,posix_getpwnam,mysql_list_dbs,disk_free_space,session_save_path,confirm_phpdoc_compiled,zip_entry_rea,php_u,psockopen,crack_opendict,crack_getlastmessage,crack_closedict,crack_check,fpassthru,posix_get_last_error,posix_getlogin,posix_getgroups,posix_strerror,posix_getrlimit,posix_getpgrp,posix_getgrnam,pos,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/unilinki/public_html/goodmoreearnings.com/nnm/node_modules/stackframe/ |
Upload File : |
stackframe ========== ## JS Object representation of a stack frame [![Build Status](https://travis-ci.org/stacktracejs/stackframe.svg?branch=master)](https://travis-ci.org/stacktracejs/stackframe) [![Coverage Status](https://img.shields.io/coveralls/stacktracejs/stackframe.svg)](https://coveralls.io/r/stacktracejs/stackframe?branch=master) [![GitHub license](https://img.shields.io/github/license/stacktracejs/stackframe.svg)](https://opensource.org/licenses/MITx) Underlies functionality of other modules within [stacktrace.js](https://www.stacktracejs.com). Written to closely resemble StackFrame representations in [Gecko](http://mxr.mozilla.org/mozilla-central/source/xpcom/base/nsIException.idl#14) and [V8](https://github.com/v8/v8/wiki/Stack%20Trace%20API) ## Usage ```js // Create StackFrame and set properties var stackFrame = new StackFrame({ functionName: 'funName', args: ['args'], fileName: 'http://localhost:3000/file.js', lineNumber: 1, columnNumber: 3288, isEval: true, isNative: false, source: 'ORIGINAL_STACK_LINE' }); stackFrame.functionName // => "funName" stackFrame.setFunctionName('newName') stackFrame.getFunctionName() // => "newName" stackFrame.args // => ["args"] stackFrame.setArgs([]) stackFrame.getArgs() // => [] stackFrame.fileName // => 'http://localhost:3000/file.min.js' stackFrame.setFileName('http://localhost:3000/file.js') stackFrame.getFileName() // => 'http://localhost:3000/file.js' stackFrame.lineNumber // => 1 stackFrame.setLineNumber(325) stackFrame.getLineNumber() // => 325 stackFrame.columnNumber // => 3288 stackFrame.setColumnNumber(20) stackFrame.getColumnNumber() // => 20 stackFrame.source // => 'ORIGINAL_STACK_LINE' stackFrame.setSource('NEW_SOURCE') stackFrame.getSource() // => 'NEW_SOURCE' stackFrame.isEval // => true stackFrame.setIsEval(false) stackFrame.getIsEval() // => false stackFrame.isNative // => false stackFrame.setIsNative(true) stackFrame.getIsNative() // => true stackFrame.toString() // => 'funName(args)@http://localhost:3000/file.js:325:20' ``` ## Browser Support [![Sauce Test Status](https://saucelabs.com/browser-matrix/stacktracejs.svg)](https://saucelabs.com/u/stacktracejs) ## Installation ``` npm install stackframe bower install stackframe https://raw.githubusercontent.com/stacktracejs/stackframe/master/dist/stackframe.min.js ```