| Server IP : 159.203.156.69 / Your IP : 216.73.216.28 Web Server : nginx/1.24.0 System : Linux main-ubuntu 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/tanviranik.com/node_modules/error-stack-parser-es/dist/ |
Upload File : |
'use strict';
const lite = require('./lite.cjs');
function stackframesLiteToStackframes(liteStackframes) {
return liteStackframes.map((liteStackframe) => {
return {
functionName: liteStackframe.function,
args: liteStackframe.args,
fileName: liteStackframe.file,
lineNumber: liteStackframe.line,
columnNumber: liteStackframe.col,
source: liteStackframe.raw
};
});
}
function parse(error, options) {
return stackframesLiteToStackframes(lite.parse(error, options));
}
function parseV8OrIE(error) {
return stackframesLiteToStackframes(lite.parseV8OrIE(error));
}
function parseFFOrSafari(error) {
return stackframesLiteToStackframes(lite.parseFFOrSafari(error));
}
function parseOpera(e) {
return stackframesLiteToStackframes(lite.parseOpera(e));
}
function parseOpera9(e) {
return stackframesLiteToStackframes(lite.parseOpera9(e));
}
function parseOpera10(e) {
return stackframesLiteToStackframes(lite.parseOpera10(e));
}
function parseOpera11(error) {
return stackframesLiteToStackframes(lite.parseOpera11(error));
}
exports.extractLocation = lite.extractLocation;
exports.parse = parse;
exports.parseFFOrSafari = parseFFOrSafari;
exports.parseOpera = parseOpera;
exports.parseOpera10 = parseOpera10;
exports.parseOpera11 = parseOpera11;
exports.parseOpera9 = parseOpera9;
exports.parseV8OrIE = parseV8OrIE;