This commit is contained in:
Gilles Soulier
2026-01-17 15:58:01 +01:00
parent 1f7f7da0c3
commit dc19315e5d
5616 changed files with 1609815 additions and 18 deletions

8
webui/node_modules/resolve/lib/caller.js generated vendored Normal file
View File

@@ -0,0 +1,8 @@
module.exports = function () {
// see https://code.google.com/p/v8/wiki/JavaScriptStackTraceApi
var origPrepareStackTrace = Error.prepareStackTrace;
Error.prepareStackTrace = function (_, stack) { return stack; };
var stack = (new Error()).stack;
Error.prepareStackTrace = origPrepareStackTrace;
return stack[2].getFileName();
};