Skip to content

Commit 23d9aec

Browse files
authoredOct 5, 2021
JS stack trace: Added missing boundary assertion (#3117)
1 parent cfb2e78 commit 23d9aec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎components/prism-jsstacktrace.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Prism.languages.jsstacktrace = {
2020
},
2121

2222
'function': {
23-
pattern: /(at\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,
23+
pattern: /(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,
2424
lookbehind: true,
2525
inside: {
2626
'punctuation': /\./

‎components/prism-jsstacktrace.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.