This repository was archived by the owner on Dec 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 997997 }
998998 {
999999 ' match' : ''' (?x) (?<!\\ $) \\ b (?:
1000- (document|event|navigator|performance|screen|window)
1000+ (document|event|navigator|performance|screen|window|self|frames )
10011001 |
10021002 (AnalyserNode|ArrayBufferView|Attr|AudioBuffer|AudioBufferSourceNode|AudioContext|AudioDestinationNode|AudioListener
10031003 |AudioNode|AudioParam|BatteryManager|BeforeUnloadEvent|BiquadFilterNode|Blob|BufferSource|ByteString|CSS|CSSConditionRule
11121112 ' name' : ' support.variable.property.dom.js'
11131113 }
11141114 {
1115- ' match' : ' (?<!\\ .)\\ b(module|exports|__filename|__dirname|global|process)(?!\\ s*:)\\ b'
1115+ ' match' : ' (?<!\\ .)\\ b(module|exports|__filename|__dirname|global|globalThis| process)(?!\\ s*:)\\ b'
11161116 ' name' : ' support.variable.js'
11171117 }
11181118 {
Original file line number Diff line number Diff line change @@ -114,11 +114,11 @@ scopes:
114114
115115 ' identifier' : [
116116 {
117- match : ' ^(global|module|exports|__filename|__dirname)$' ,
117+ match : ' ^(global|globalThis| module|exports|__filename|__dirname)$' ,
118118 scopes : ' support.variable'
119119 },
120120 {
121- match : ' ^(window|event|document|performance|screen|navigator|console)$'
121+ match : ' ^(window|self|frames| event|document|performance|screen|navigator|console)$'
122122 scopes : ' support.variable.dom'
123123 },
124124 {
You can’t perform that action at this time.
0 commit comments