Skip to content

Commit cc9897e

Browse files
committed
feat: globals v16.1.0
1 parent 6ff8e17 commit cc9897e

File tree

1 file changed

+56
-1
lines changed

1 file changed

+56
-1
lines changed

src/lib.rs

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
2121
"Error" => false,
2222
"EvalError" => false,
2323
"FinalizationRegistry" => false,
24+
"Float16Array" => false,
2425
"Float32Array" => false,
2526
"Float64Array" => false,
2627
"Function" => false,
@@ -394,6 +395,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
394395
},
395396
"browser" => phf_map! {
396397
"AI" => false,
398+
"AICreateMonitor" => false,
397399
"AITextSession" => false,
398400
"AbortController" => false,
399401
"AbortSignal" => false,
@@ -406,6 +408,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
406408
"AnimationEvent" => false,
407409
"AnimationPlaybackEvent" => false,
408410
"AnimationTimeline" => false,
411+
"AsyncDisposableStack" => false,
409412
"Attr" => false,
410413
"Audio" => false,
411414
"AudioBuffer" => false,
@@ -452,6 +455,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
452455
"BrowserCaptureMediaStreamTrack" => false,
453456
"ByteLengthQueuingStrategy" => false,
454457
"CDATASection" => false,
458+
"CSPViolationReportBody" => false,
455459
"CSS" => false,
456460
"CSSAnimation" => false,
457461
"CSSConditionRule" => false,
@@ -531,6 +535,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
531535
"ClipboardItem" => false,
532536
"CloseEvent" => false,
533537
"CloseWatcher" => false,
538+
"CommandEvent" => false,
534539
"Comment" => false,
535540
"CompositionEvent" => false,
536541
"CompressionStream" => false,
@@ -575,6 +580,8 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
575580
"DeviceMotionEventAcceleration" => false,
576581
"DeviceMotionEventRotationRate" => false,
577582
"DeviceOrientationEvent" => false,
583+
"DevicePosture" => false,
584+
"DisposableStack" => false,
578585
"Document" => false,
579586
"DocumentFragment" => false,
580587
"DocumentPictureInPicture" => false,
@@ -611,8 +618,8 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
611618
"FileSystemFileEntry" => false,
612619
"FileSystemFileHandle" => false,
613620
"FileSystemHandle" => false,
621+
"FileSystemObserver" => false,
614622
"FileSystemWritableFileStream" => false,
615-
"Float16Array" => false,
616623
"FocusEvent" => false,
617624
"FontData" => false,
618625
"FontFace" => false,
@@ -738,6 +745,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
738745
"HTMLQuoteElement" => false,
739746
"HTMLScriptElement" => false,
740747
"HTMLSelectElement" => false,
748+
"HTMLSelectedContentElement" => false,
741749
"HTMLSlotElement" => false,
742750
"HTMLSourceElement" => false,
743751
"HTMLSpanElement" => false,
@@ -796,6 +804,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
796804
"KeyboardEvent" => false,
797805
"KeyboardLayoutMap" => false,
798806
"KeyframeEffect" => false,
807+
"LanguageDetector" => false,
799808
"LargestContentfulPaint" => false,
800809
"LaunchParams" => false,
801810
"LaunchQueue" => false,
@@ -881,6 +890,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
881890
"Notification" => false,
882891
"NotifyPaintEvent" => false,
883892
"OTPCredential" => false,
893+
"Observable" => false,
884894
"OfflineAudioCompletionEvent" => false,
885895
"OfflineAudioContext" => false,
886896
"OffscreenCanvas" => false,
@@ -981,12 +991,14 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
981991
"ReadableStreamDefaultReader" => false,
982992
"RelativeOrientationSensor" => false,
983993
"RemotePlayback" => false,
994+
"ReportBody" => false,
984995
"ReportingObserver" => false,
985996
"Request" => false,
986997
"ResizeObserver" => false,
987998
"ResizeObserverEntry" => false,
988999
"ResizeObserverSize" => false,
9891000
"Response" => false,
1001+
"RestrictionTarget" => false,
9901002
"SVGAElement" => false,
9911003
"SVGAngle" => false,
9921004
"SVGAnimateElement" => false,
@@ -1103,6 +1115,11 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
11031115
"ServiceWorkerRegistration" => false,
11041116
"ShadowRoot" => false,
11051117
"SharedStorage" => false,
1118+
"SharedStorageAppendMethod" => false,
1119+
"SharedStorageClearMethod" => false,
1120+
"SharedStorageDeleteMethod" => false,
1121+
"SharedStorageModifierMethod" => false,
1122+
"SharedStorageSetMethod" => false,
11061123
"SharedStorageWorklet" => false,
11071124
"SharedWorker" => false,
11081125
"SnapEvent" => false,
@@ -1125,7 +1142,9 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
11251142
"StyleSheet" => false,
11261143
"StyleSheetList" => false,
11271144
"SubmitEvent" => false,
1145+
"Subscriber" => false,
11281146
"SubtleCrypto" => false,
1147+
"SuppressedError" => false,
11291148
"SyncManager" => false,
11301149
"TEMPORARY" => false,
11311150
"TaskAttributionTiming" => false,
@@ -1365,6 +1384,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
13651384
"onchange" => true,
13661385
"onclick" => true,
13671386
"onclose" => true,
1387+
"oncommand" => true,
13681388
"oncontentvisibilityautostatechange" => true,
13691389
"oncontextlost" => true,
13701390
"oncontextmenu" => true,
@@ -1520,11 +1540,13 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
15201540
"top" => false,
15211541
"trustedTypes" => false,
15221542
"visualViewport" => false,
1543+
"when" => false,
15231544
"window" => false,
15241545
},
15251546
"node" => phf_map! {
15261547
"AbortController" => false,
15271548
"AbortSignal" => false,
1549+
"AsyncDisposableStack" => false,
15281550
"Blob" => false,
15291551
"BroadcastChannel" => false,
15301552
"Buffer" => false,
@@ -1537,6 +1559,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
15371559
"CustomEvent" => false,
15381560
"DOMException" => false,
15391561
"DecompressionStream" => false,
1562+
"DisposableStack" => false,
15401563
"Event" => false,
15411564
"EventTarget" => false,
15421565
"File" => false,
@@ -1562,13 +1585,15 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
15621585
"Request" => false,
15631586
"Response" => false,
15641587
"SubtleCrypto" => false,
1588+
"SuppressedError" => false,
15651589
"TextDecoder" => false,
15661590
"TextDecoderStream" => false,
15671591
"TextEncoder" => false,
15681592
"TextEncoderStream" => false,
15691593
"TransformStream" => false,
15701594
"TransformStreamDefaultController" => false,
15711595
"URL" => false,
1596+
"URLPattern" => false,
15721597
"URLSearchParams" => false,
15731598
"WebAssembly" => false,
15741599
"WebSocket" => false,
@@ -1601,6 +1626,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
16011626
"shared-node-browser" => phf_map! {
16021627
"AbortController" => false,
16031628
"AbortSignal" => false,
1629+
"AsyncDisposableStack" => false,
16041630
"Blob" => false,
16051631
"BroadcastChannel" => false,
16061632
"ByteLengthQueuingStrategy" => false,
@@ -1612,6 +1638,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
16121638
"CustomEvent" => false,
16131639
"DOMException" => false,
16141640
"DecompressionStream" => false,
1641+
"DisposableStack" => false,
16151642
"Event" => false,
16161643
"EventTarget" => false,
16171644
"File" => false,
@@ -1637,13 +1664,15 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
16371664
"Request" => false,
16381665
"Response" => false,
16391666
"SubtleCrypto" => false,
1667+
"SuppressedError" => false,
16401668
"TextDecoder" => false,
16411669
"TextDecoderStream" => false,
16421670
"TextEncoder" => false,
16431671
"TextEncoderStream" => false,
16441672
"TransformStream" => false,
16451673
"TransformStreamDefaultController" => false,
16461674
"URL" => false,
1675+
"URLPattern" => false,
16471676
"URLSearchParams" => false,
16481677
"WebAssembly" => false,
16491678
"WebSocket" => false,
@@ -1665,8 +1694,11 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
16651694
"structuredClone" => false,
16661695
},
16671696
"worker" => phf_map! {
1697+
"AI" => false,
1698+
"AICreateMonitor" => false,
16681699
"AbortController" => false,
16691700
"AbortSignal" => false,
1701+
"AsyncDisposableStack" => false,
16701702
"AudioData" => false,
16711703
"AudioDecoder" => false,
16721704
"AudioEncoder" => false,
@@ -1701,6 +1733,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
17011733
"DOMStringList" => false,
17021734
"DecompressionStream" => false,
17031735
"DedicatedWorkerGlobalScope" => false,
1736+
"DisposableStack" => false,
17041737
"EncodedAudioChunk" => false,
17051738
"EncodedVideoChunk" => false,
17061739
"ErrorEvent" => false,
@@ -1714,6 +1747,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
17141747
"FileSystemDirectoryHandle" => false,
17151748
"FileSystemFileHandle" => false,
17161749
"FileSystemHandle" => false,
1750+
"FileSystemObserver" => false,
17171751
"FileSystemSyncAccessHandle" => false,
17181752
"FileSystemWritableFileStream" => false,
17191753
"FontFace" => false,
@@ -1781,6 +1815,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
17811815
"ImageDecoder" => false,
17821816
"ImageTrack" => false,
17831817
"ImageTrackList" => false,
1818+
"LanguageDetector" => false,
17841819
"Lock" => false,
17851820
"LockManager" => false,
17861821
"MediaCapabilities" => false,
@@ -1793,6 +1828,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
17931828
"NavigatorUAData" => false,
17941829
"NetworkInformation" => false,
17951830
"Notification" => false,
1831+
"Observable" => false,
17961832
"OffscreenCanvas" => false,
17971833
"OffscreenCanvasRenderingContext2D" => false,
17981834
"PERSISTENT" => false,
@@ -1824,9 +1860,11 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
18241860
"ReadableStreamBYOBRequest" => false,
18251861
"ReadableStreamDefaultController" => false,
18261862
"ReadableStreamDefaultReader" => false,
1863+
"ReportBody" => false,
18271864
"ReportingObserver" => false,
18281865
"Request" => false,
18291866
"Response" => false,
1867+
"RestrictionTarget" => false,
18301868
"Scheduler" => false,
18311869
"SecurityPolicyViolationEvent" => false,
18321870
"Serial" => false,
@@ -1837,7 +1875,9 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
18371875
"StorageBucket" => false,
18381876
"StorageBucketManager" => false,
18391877
"StorageManager" => false,
1878+
"Subscriber" => false,
18401879
"SubtleCrypto" => false,
1880+
"SuppressedError" => false,
18411881
"SyncManager" => false,
18421882
"TEMPORARY" => false,
18431883
"TaskController" => false,
@@ -1958,11 +1998,15 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
19581998
"webkitRequestFileSystemSync" => false,
19591999
"webkitResolveLocalFileSystemSyncURL" => false,
19602000
"webkitResolveLocalFileSystemURL" => false,
2001+
"when" => false,
19612002
},
19622003
"serviceworker" => phf_map! {
2004+
"AI" => false,
2005+
"AICreateMonitor" => false,
19632006
"AbortController" => false,
19642007
"AbortPaymentEvent" => false,
19652008
"AbortSignal" => false,
2009+
"AsyncDisposableStack" => false,
19662010
"BackgroundFetchEvent" => false,
19672011
"BackgroundFetchManager" => false,
19682012
"BackgroundFetchRecord" => false,
@@ -2000,6 +2044,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
20002044
"DOMRectReadOnly" => false,
20012045
"DOMStringList" => false,
20022046
"DecompressionStream" => false,
2047+
"DisposableStack" => false,
20032048
"ErrorEvent" => false,
20042049
"Event" => false,
20052050
"EventSource" => false,
@@ -2073,6 +2118,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
20732118
"ImageBitmapRenderingContext" => false,
20742119
"ImageData" => false,
20752120
"InstallEvent" => false,
2121+
"LanguageDetector" => false,
20762122
"Lock" => false,
20772123
"LockManager" => false,
20782124
"MediaCapabilities" => false,
@@ -2084,6 +2130,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
20842130
"NetworkInformation" => false,
20852131
"Notification" => false,
20862132
"NotificationEvent" => false,
2133+
"Observable" => false,
20872134
"OffscreenCanvas" => false,
20882135
"OffscreenCanvasRenderingContext2D" => false,
20892136
"Path2D" => false,
@@ -2112,9 +2159,11 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
21122159
"ReadableStreamBYOBRequest" => false,
21132160
"ReadableStreamDefaultController" => false,
21142161
"ReadableStreamDefaultReader" => false,
2162+
"ReportBody" => false,
21152163
"ReportingObserver" => false,
21162164
"Request" => false,
21172165
"Response" => false,
2166+
"RestrictionTarget" => false,
21182167
"Scheduler" => false,
21192168
"SecurityPolicyViolationEvent" => false,
21202169
"ServiceWorker" => false,
@@ -2123,7 +2172,9 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
21232172
"StorageBucket" => false,
21242173
"StorageBucketManager" => false,
21252174
"StorageManager" => false,
2175+
"Subscriber" => false,
21262176
"SubtleCrypto" => false,
2177+
"SuppressedError" => false,
21272178
"SyncEvent" => false,
21282179
"SyncManager" => false,
21292180
"TaskController" => false,
@@ -2180,6 +2231,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
21802231
"WritableStreamDefaultController" => false,
21812232
"WritableStreamDefaultWriter" => false,
21822233
"addEventListener" => false,
2234+
"ai" => false,
21832235
"atob" => false,
21842236
"btoa" => false,
21852237
"caches" => false,
@@ -2236,6 +2288,7 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
22362288
"skipWaiting" => false,
22372289
"structuredClone" => false,
22382290
"trustedTypes" => false,
2291+
"when" => false,
22392292
},
22402293
"commonjs" => phf_map! {
22412294
"exports" => true,
@@ -2384,12 +2437,14 @@ pub static GLOBALS: Map<&'static str, Map<&'static str, bool>> = phf_map! {
23842437
"cat" => false,
23852438
"cd" => false,
23862439
"chmod" => false,
2440+
"cmd" => false,
23872441
"config" => false,
23882442
"cp" => false,
23892443
"dirs" => false,
23902444
"echo" => false,
23912445
"env" => false,
23922446
"error" => false,
2447+
"errorCode" => false,
23932448
"exec" => false,
23942449
"exit" => false,
23952450
"find" => false,

0 commit comments

Comments
 (0)