/opt/canhelp/node_modules/next/dist/next-devtools/server
NameSizeModeActions
font/-0755rm
dev-indicator-middleware.d.ts2010644editdlrm
dev-indicator-middleware.js20490644editdlrm
dev-indicator-middleware.js.map25620644editdlrm
devtools-config-middleware.d.ts4490644editdlrm
devtools-config-middleware.js33970644editdlrm
devtools-config-middleware.js.map47860644editdlrm
get-next-error-feedback-middleware.d.ts2770644editdlrm
get-next-error-feedback-middleware.js16830644editdlrm
get-next-error-feedback-middleware.js.map22090644editdlrm
launch-editor.d.ts5530644editdlrm
launch-editor.js254680644editdlrm
launch-editor.js.map319800644editdlrm
middleware-response.d.ts4390644editdlrm
middleware-response.js15400644editdlrm
middleware-response.js.map21790644editdlrm
restart-dev-server-middleware.d.ts5600644editdlrm
restart-dev-server-middleware.js33660644editdlrm
restart-dev-server-middleware.js.map51250644editdlrm
shared.d.ts10690644editdlrm
shared.js26640644editdlrm
shared.js.map41020644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/next-devtools/server/shared.js (2664B)
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); 0 && (module.exports = { getOriginalCodeFrame: null, ignoreListAnonymousStackFramesIfSandwiched: null }); function _export(target, all) { for(var name in all)Object.defineProperty(target, name, { enumerable: true, get: all[name] }); } _export(exports, { getOriginalCodeFrame: function() { return getOriginalCodeFrame; }, ignoreListAnonymousStackFramesIfSandwiched: function() { return ignoreListAnonymousStackFramesIfSandwiched; } }); const _interop_require_default = require("@swc/helpers/_/_interop_require_default"); const _codeframe = require("next/dist/compiled/babel/code-frame"); const _isinternal = /*#__PURE__*/ _interop_require_default._(require("../../shared/lib/is-internal")); const _sourcemaps = require("../../server/lib/source-maps"); function ignoreListAnonymousStackFramesIfSandwiched(responses) { (0, _sourcemaps.ignoreListAnonymousStackFramesIfSandwiched)(responses, (response)=>{ return response.status === 'fulfilled' && response.value.originalStackFrame !== null && response.value.originalStackFrame.file === ''; }, (response)=>{ return response.status === 'fulfilled' && response.value.originalStackFrame !== null && response.value.originalStackFrame.ignored === true; }, (response)=>{ return response.status === 'fulfilled' && response.value.originalStackFrame !== null ? response.value.originalStackFrame.methodName : ''; }, (response)=>{ ; response.value.originalStackFrame.ignored = true; }); } function getOriginalCodeFrame(frame, source, colors) { if (colors === void 0) colors = process.stdout.isTTY; if (!source || (0, _isinternal.default)(frame.file)) { return null; } var _frame_line1, _frame_column1; return (0, _codeframe.codeFrameColumns)(source, { start: { // 1-based, but -1 means start line without highlighting line: (_frame_line1 = frame.line1) != null ? _frame_line1 : -1, // 1-based, but 0 means whole line without column highlighting column: (_frame_column1 = frame.column1) != null ? _frame_column1 : 0 } }, { forceColor: colors }); } if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') { Object.defineProperty(exports.default, '__esModule', { value: true }); Object.assign(exports.default, exports); module.exports = exports.default; } //# sourceMappingURL=shared.js.map