52 lines
1.6 KiB
JavaScript
52 lines
1.6 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 477267
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
e.languages.jsstacktrace = {
|
|
"error-message": { pattern: /^\S.*/m, alias: "string" },
|
|
"stack-frame": {
|
|
pattern: /(^[ \t]+)at[ \t].*/m,
|
|
lookbehind: !0,
|
|
inside: {
|
|
"not-my-code": {
|
|
pattern:
|
|
/^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,
|
|
alias: "comment",
|
|
},
|
|
filename: {
|
|
pattern: /(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,
|
|
lookbehind: !0,
|
|
alias: "url",
|
|
},
|
|
function: {
|
|
pattern:
|
|
/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,
|
|
lookbehind: !0,
|
|
inside: { punctuation: /\./ },
|
|
},
|
|
punctuation: /[()]/,
|
|
keyword: /\b(?:at|new)\b/,
|
|
alias: {
|
|
pattern:
|
|
/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,
|
|
alias: "variable",
|
|
},
|
|
"line-number": {
|
|
pattern: /:\d+(?::\d+)?\b/,
|
|
alias: "number",
|
|
inside: { punctuation: /:/ },
|
|
},
|
|
},
|
|
},
|
|
};
|
|
}
|
|
(t.exports = r), (r.displayName = "jsstacktrace"), (r.aliases = []);
|
|
};
|
|
|
|
export default moduleFactory;
|