Files
oxc-project__oxc/apps/oxlint/src-js/generated/envs.ts
renovate[bot] 32c2675084 chore(deps): update rust crates (#26024)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[javascript-globals](https://redirect.github.com/oxc-project/javascript-globals)
| workspace.dependencies | minor | `1.5.2` → `1.6.0` |
| [papaya](https://redirect.github.com/ibraheemdev/papaya) |
workspace.dependencies | patch | `0.2.4` → `0.2.5` |
| [saphyr](https://redirect.github.com/saphyr-rs/saphyr) |
workspace.dependencies | patch | `0.0.11` → `0.0.12` |
| [similar](https://redirect.github.com/mitsuhiko/similar) |
workspace.dependencies | minor | `3.1.2` → `3.2.0` |

---

### Release Notes

<details>
<summary>oxc-project/javascript-globals (javascript-globals)</summary>

###
[`v1.6.0`](https://redirect.github.com/oxc-project/javascript-globals/blob/HEAD/CHANGELOG.md#160---2026-08-18)

[Compare
Source](https://redirect.github.com/oxc-project/javascript-globals/compare/javascript-globals-v1.5.2...javascript-globals-v1.6.0)

##### Added

- add Bun globals
([#&#8203;275](https://redirect.github.com/oxc-project/javascript-globals/pull/275))

##### Other

- reduce Rust dev debug info
([#&#8203;271](https://redirect.github.com/oxc-project/javascript-globals/pull/271))

</details>

<details>
<summary>ibraheemdev/papaya (papaya)</summary>

###
[`v0.2.5`](https://redirect.github.com/ibraheemdev/papaya/releases/tag/v0.2.5):
0.2.5

[Compare
Source](https://redirect.github.com/ibraheemdev/papaya/compare/v0.2.4...v0.2.5)

- Added the `fast-barrier` feature to allow opting out of process wide
memory barriers, which can be expensive to initialize
([#&#8203;100](https://redirect.github.com/ibraheemdev/papaya/pull/100)).
- Fixed a bug where blocking resizes could lead to deadlocks
([#&#8203;92](https://redirect.github.com/ibraheemdev/papaya/pull/92)).
- `HashSet::retain` no longer takes a mutable reference
([#&#8203;101](https://redirect.github.com/ibraheemdev/papaya/pull/101)).

</details>

<details>
<summary>saphyr-rs/saphyr (saphyr)</summary>

###
[`v0.0.12`](https://redirect.github.com/saphyr-rs/saphyr/compare/v0.0.11...v0.0.12)

[Compare
Source](https://redirect.github.com/saphyr-rs/saphyr/compare/v0.0.11...v0.0.12)

</details>

<details>
<summary>mitsuhiko/similar (similar)</summary>

###
[`v3.2.0`](https://redirect.github.com/mitsuhiko/similar/blob/HEAD/CHANGELOG.md#320)

[Compare
Source](https://redirect.github.com/mitsuhiko/similar/compare/3.1.2...3.2.0)

- Added structured, line-oriented three-way merging through `TextMerge`,
with
merge and diff3 conflict output, configurable labels and marker sizes,
owned
and borrowed inputs, byte output, and whitespace-insensitive comparison.
- Added `WhitespaceMode` and `TextDiffConfig::whitespace_mode` for
Git-style
line comparisons that ignore changes in whitespace (`-b`) or all
whitespace
  (`-w`).
- Changed `Algorithm::Myers` to reduce unmatched/confusing records and
use
  Git-style bounded, non-minimal splits on expensive searches, and added
`Algorithm::RawMyers` for the previous shortest-edit-script behavior
without
  output-changing heuristics.
- Improved heuristics and performance for most algorithms other than
LCS.
- Improved large-input performance by avoiding quadratic Histogram
scans.

</details>

---

### Configuration

📅 **Schedule**: (in timezone Asia/Shanghai)

- Branch creation
  - "before 10am on monday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4zOS4wIiwidXBkYXRlZEluVmVyIjoiNDQuMzkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cameron Clark <cameron.clark@hey.com>
2026-08-23 17:02:20 +00:00

3337 lines
66 KiB
TypeScript

// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/oxlint_envs.rs`.
/**
* Set of globals for an environment.
*/
export interface EnvPreset {
readonly: string[];
writable: string[];
}
/**
* `amd` environment.
*/
export const ENV_AMD: EnvPreset = {
readonly: ["define", "require"],
writable: [],
};
/**
* `applescript` environment.
*/
export const ENV_APPLESCRIPT: EnvPreset = {
readonly: [
"$",
"Application",
"Automation",
"Library",
"ObjC",
"ObjectSpecifier",
"Path",
"Progress",
"Ref",
"console",
"delay",
],
writable: [],
};
/**
* `astro` environment.
*/
export const ENV_ASTRO: EnvPreset = {
readonly: ["Astro"],
writable: [],
};
/**
* `atomtest` environment.
*/
export const ENV_ATOMTEST: EnvPreset = {
readonly: [
"advanceClock",
"atom",
"fakeClearInterval",
"fakeClearTimeout",
"fakeSetInterval",
"fakeSetTimeout",
"resetTimeouts",
"waitsForPromise",
],
writable: [],
};
/**
* `audioworklet` environment.
*/
export const ENV_AUDIOWORKLET: EnvPreset = {
readonly: [
"AbortController",
"AbortSignal",
"AudioWorkletGlobalScope",
"AudioWorkletProcessor",
"ByteLengthQueuingStrategy",
"CSSImageValue",
"CSSKeywordValue",
"CSSMathClamp",
"CSSMathInvert",
"CSSMathMax",
"CSSMathMin",
"CSSMathNegate",
"CSSMathProduct",
"CSSMathSum",
"CSSMathValue",
"CSSNumericArray",
"CSSNumericValue",
"CSSStyleValue",
"CSSUnitValue",
"CSSUnparsedValue",
"CSSVariableReferenceValue",
"CompressionStream",
"CountQueuingStrategy",
"DecompressionStream",
"Event",
"EventTarget",
"MessageEvent",
"MessagePort",
"PaintWorkletGlobalScope",
"QuotaExceededError",
"ReadableByteStreamController",
"ReadableStream",
"ReadableStreamBYOBReader",
"ReadableStreamBYOBRequest",
"ReadableStreamDefaultController",
"ReadableStreamDefaultReader",
"StylePropertyMapReadOnly",
"Temporal",
"TextDecoderStream",
"TextEncoderStream",
"TransformStream",
"TransformStreamDefaultController",
"UserActivation",
"WebAssembly",
"WorkletGlobalScope",
"WritableStream",
"WritableStreamDefaultController",
"WritableStreamDefaultWriter",
"console",
"currentFrame",
"currentTime",
"port",
"registerProcessor",
"sampleRate",
],
writable: [],
};
/**
* `browser` environment.
*/
export const ENV_BROWSER: EnvPreset = {
readonly: [
"AI",
"AICreateMonitor",
"AITextSession",
"AbortController",
"AbortSignal",
"AbsoluteOrientationSensor",
"AbstractRange",
"Accelerometer",
"AnalyserNode",
"Animation",
"AnimationEffect",
"AnimationEvent",
"AnimationPlaybackEvent",
"AnimationTimeline",
"Attr",
"Audio",
"AudioBuffer",
"AudioBufferSourceNode",
"AudioContext",
"AudioData",
"AudioDecoder",
"AudioDestinationNode",
"AudioEncoder",
"AudioListener",
"AudioNode",
"AudioParam",
"AudioParamMap",
"AudioPlaybackStats",
"AudioProcessingEvent",
"AudioScheduledSourceNode",
"AudioSinkInfo",
"AudioWorklet",
"AudioWorkletNode",
"AuthenticatorAssertionResponse",
"AuthenticatorAttestationResponse",
"AuthenticatorResponse",
"BackgroundFetchManager",
"BackgroundFetchRecord",
"BackgroundFetchRegistration",
"BarProp",
"BarcodeDetector",
"BaseAudioContext",
"BatteryManager",
"BeforeUnloadEvent",
"BiquadFilterNode",
"Blob",
"BlobEvent",
"Bluetooth",
"BluetoothCharacteristicProperties",
"BluetoothDevice",
"BluetoothRemoteGATTCharacteristic",
"BluetoothRemoteGATTDescriptor",
"BluetoothRemoteGATTServer",
"BluetoothRemoteGATTService",
"BluetoothUUID",
"BroadcastChannel",
"BrowserCaptureMediaStreamTrack",
"ByteLengthQueuingStrategy",
"CDATASection",
"CSPViolationReportBody",
"CSS",
"CSSAnimation",
"CSSConditionRule",
"CSSContainerRule",
"CSSCounterStyleRule",
"CSSFontFaceDescriptors",
"CSSFontFaceRule",
"CSSFontFeatureValuesRule",
"CSSFontPaletteValuesRule",
"CSSFunctionDeclarations",
"CSSFunctionDescriptors",
"CSSFunctionRule",
"CSSGroupingRule",
"CSSImageValue",
"CSSImportRule",
"CSSKeyframeRule",
"CSSKeyframesRule",
"CSSKeywordValue",
"CSSLayerBlockRule",
"CSSLayerStatementRule",
"CSSMarginRule",
"CSSMathClamp",
"CSSMathInvert",
"CSSMathMax",
"CSSMathMin",
"CSSMathNegate",
"CSSMathProduct",
"CSSMathSum",
"CSSMathValue",
"CSSMatrixComponent",
"CSSMediaRule",
"CSSNamespaceRule",
"CSSNestedDeclarations",
"CSSNumericArray",
"CSSNumericValue",
"CSSPageDescriptors",
"CSSPageRule",
"CSSPerspective",
"CSSPositionTryDescriptors",
"CSSPositionTryRule",
"CSSPositionValue",
"CSSPropertyRule",
"CSSPseudoElement",
"CSSRotate",
"CSSRule",
"CSSRuleList",
"CSSScale",
"CSSScopeRule",
"CSSSkew",
"CSSSkewX",
"CSSSkewY",
"CSSStartingStyleRule",
"CSSStyleDeclaration",
"CSSStyleProperties",
"CSSStyleRule",
"CSSStyleSheet",
"CSSStyleValue",
"CSSSupportsRule",
"CSSTransformComponent",
"CSSTransformValue",
"CSSTransition",
"CSSTranslate",
"CSSUnitValue",
"CSSUnparsedValue",
"CSSVariableReferenceValue",
"CSSViewTransitionRule",
"Cache",
"CacheStorage",
"CanvasCaptureMediaStream",
"CanvasCaptureMediaStreamTrack",
"CanvasGradient",
"CanvasPattern",
"CanvasRenderingContext2D",
"CaptureController",
"CaretPosition",
"ChannelMergerNode",
"ChannelSplitterNode",
"ChapterInformation",
"CharacterBoundsUpdateEvent",
"CharacterData",
"Clipboard",
"ClipboardChangeEvent",
"ClipboardEvent",
"ClipboardItem",
"CloseEvent",
"CloseWatcher",
"CommandEvent",
"Comment",
"CompositionEvent",
"CompressionStream",
"ConstantSourceNode",
"ContentVisibilityAutoStateChangeEvent",
"ConvolverNode",
"CookieChangeEvent",
"CookieDeprecationLabel",
"CookieStore",
"CookieStoreManager",
"CountQueuingStrategy",
"CrashReportContext",
"CreateMonitor",
"Credential",
"CredentialsContainer",
"CropTarget",
"Crypto",
"CryptoKey",
"CustomElementRegistry",
"CustomEvent",
"CustomStateSet",
"DOMError",
"DOMException",
"DOMImplementation",
"DOMMatrix",
"DOMMatrixReadOnly",
"DOMParser",
"DOMPoint",
"DOMPointReadOnly",
"DOMQuad",
"DOMRect",
"DOMRectList",
"DOMRectReadOnly",
"DOMStringList",
"DOMStringMap",
"DOMTokenList",
"DataTransfer",
"DataTransferItem",
"DataTransferItemList",
"DecompressionStream",
"DelayNode",
"DelegatedInkTrailPresenter",
"DeviceMotionEvent",
"DeviceMotionEventAcceleration",
"DeviceMotionEventRotationRate",
"DeviceOrientationEvent",
"DevicePosture",
"DigitalCredential",
"Document",
"DocumentFragment",
"DocumentPictureInPicture",
"DocumentPictureInPictureEvent",
"DocumentTimeline",
"DocumentType",
"DragEvent",
"DynamicsCompressorNode",
"EditContext",
"Element",
"ElementInternals",
"EncodedAudioChunk",
"EncodedVideoChunk",
"ErrorEvent",
"Event",
"EventCounts",
"EventSource",
"EventTarget",
"External",
"EyeDropper",
"FeaturePolicy",
"FederatedCredential",
"Fence",
"FencedFrameConfig",
"FetchLaterResult",
"File",
"FileList",
"FileReader",
"FileSystem",
"FileSystemDirectoryEntry",
"FileSystemDirectoryHandle",
"FileSystemDirectoryReader",
"FileSystemEntry",
"FileSystemFileEntry",
"FileSystemFileHandle",
"FileSystemHandle",
"FileSystemObserver",
"FileSystemWritableFileStream",
"FocusEvent",
"FontData",
"FontFace",
"FontFaceSet",
"FontFaceSetLoadEvent",
"FormData",
"FormDataEvent",
"FragmentDirective",
"GPU",
"GPUAdapter",
"GPUAdapterInfo",
"GPUBindGroup",
"GPUBindGroupLayout",
"GPUBuffer",
"GPUBufferUsage",
"GPUCanvasContext",
"GPUColorWrite",
"GPUCommandBuffer",
"GPUCommandEncoder",
"GPUCompilationInfo",
"GPUCompilationMessage",
"GPUComputePassEncoder",
"GPUComputePipeline",
"GPUDevice",
"GPUDeviceLostInfo",
"GPUError",
"GPUExternalTexture",
"GPUInternalError",
"GPUMapMode",
"GPUOutOfMemoryError",
"GPUPipelineError",
"GPUPipelineLayout",
"GPUQuerySet",
"GPUQueue",
"GPURenderBundle",
"GPURenderBundleEncoder",
"GPURenderPassEncoder",
"GPURenderPipeline",
"GPUSampler",
"GPUShaderModule",
"GPUShaderStage",
"GPUSupportedFeatures",
"GPUSupportedLimits",
"GPUTexture",
"GPUTextureUsage",
"GPUTextureView",
"GPUUncapturedErrorEvent",
"GPUValidationError",
"GainNode",
"Gamepad",
"GamepadAxisMoveEvent",
"GamepadButton",
"GamepadButtonEvent",
"GamepadEvent",
"GamepadHapticActuator",
"GamepadPose",
"Geolocation",
"GeolocationCoordinates",
"GeolocationPosition",
"GeolocationPositionError",
"GravitySensor",
"Gyroscope",
"HID",
"HIDConnectionEvent",
"HIDDevice",
"HIDInputReportEvent",
"HTMLAllCollection",
"HTMLAnchorElement",
"HTMLAreaElement",
"HTMLAudioElement",
"HTMLBRElement",
"HTMLBaseElement",
"HTMLBodyElement",
"HTMLButtonElement",
"HTMLCanvasElement",
"HTMLCollection",
"HTMLDListElement",
"HTMLDataElement",
"HTMLDataListElement",
"HTMLDetailsElement",
"HTMLDialogElement",
"HTMLDirectoryElement",
"HTMLDivElement",
"HTMLDocument",
"HTMLElement",
"HTMLEmbedElement",
"HTMLFencedFrameElement",
"HTMLFieldSetElement",
"HTMLFontElement",
"HTMLFormControlsCollection",
"HTMLFormElement",
"HTMLFrameElement",
"HTMLFrameSetElement",
"HTMLGeolocationElement",
"HTMLHRElement",
"HTMLHeadElement",
"HTMLHeadingElement",
"HTMLHtmlElement",
"HTMLIFrameElement",
"HTMLImageElement",
"HTMLInputElement",
"HTMLLIElement",
"HTMLLabelElement",
"HTMLLegendElement",
"HTMLLinkElement",
"HTMLMapElement",
"HTMLMarqueeElement",
"HTMLMediaElement",
"HTMLMenuElement",
"HTMLMetaElement",
"HTMLMeterElement",
"HTMLModElement",
"HTMLOListElement",
"HTMLObjectElement",
"HTMLOptGroupElement",
"HTMLOptionElement",
"HTMLOptionsCollection",
"HTMLOutputElement",
"HTMLParagraphElement",
"HTMLParamElement",
"HTMLPictureElement",
"HTMLPreElement",
"HTMLProgressElement",
"HTMLQuoteElement",
"HTMLScriptElement",
"HTMLSelectElement",
"HTMLSelectedContentElement",
"HTMLSlotElement",
"HTMLSourceElement",
"HTMLSpanElement",
"HTMLStyleElement",
"HTMLTableCaptionElement",
"HTMLTableCellElement",
"HTMLTableColElement",
"HTMLTableElement",
"HTMLTableRowElement",
"HTMLTableSectionElement",
"HTMLTemplateElement",
"HTMLTextAreaElement",
"HTMLTimeElement",
"HTMLTitleElement",
"HTMLTrackElement",
"HTMLUListElement",
"HTMLUnknownElement",
"HTMLUserMediaElement",
"HTMLVideoElement",
"HashChangeEvent",
"Headers",
"Highlight",
"HighlightRegistry",
"History",
"IDBCursor",
"IDBCursorWithValue",
"IDBDatabase",
"IDBFactory",
"IDBIndex",
"IDBKeyRange",
"IDBObjectStore",
"IDBOpenDBRequest",
"IDBRecord",
"IDBRequest",
"IDBTransaction",
"IDBVersionChangeEvent",
"IIRFilterNode",
"IdentityCredential",
"IdentityCredentialError",
"IdentityProvider",
"IdleDeadline",
"IdleDetector",
"Image",
"ImageBitmap",
"ImageBitmapRenderingContext",
"ImageCapture",
"ImageData",
"ImageDecoder",
"ImageTrack",
"ImageTrackList",
"Ink",
"InputDeviceCapabilities",
"InputDeviceInfo",
"InputEvent",
"IntegrityViolationReportBody",
"InteractionContentfulPaint",
"InterestEvent",
"IntersectionObserver",
"IntersectionObserverEntry",
"Keyboard",
"KeyboardEvent",
"KeyboardLayoutMap",
"KeyframeEffect",
"LanguageDetector",
"LanguageModel",
"LargestContentfulPaint",
"LaunchParams",
"LaunchQueue",
"LayoutShift",
"LayoutShiftAttribution",
"LinearAccelerationSensor",
"Location",
"Lock",
"LockManager",
"MIDIAccess",
"MIDIConnectionEvent",
"MIDIInput",
"MIDIInputMap",
"MIDIMessageEvent",
"MIDIOutput",
"MIDIOutputMap",
"MIDIPort",
"MathMLElement",
"MediaCapabilities",
"MediaCapabilitiesInfo",
"MediaDeviceInfo",
"MediaDevices",
"MediaElementAudioSourceNode",
"MediaEncryptedEvent",
"MediaError",
"MediaKeyError",
"MediaKeyMessageEvent",
"MediaKeySession",
"MediaKeyStatusMap",
"MediaKeySystemAccess",
"MediaKeys",
"MediaList",
"MediaMetadata",
"MediaQueryList",
"MediaQueryListEvent",
"MediaRecorder",
"MediaRecorderErrorEvent",
"MediaSession",
"MediaSource",
"MediaSourceHandle",
"MediaStream",
"MediaStreamAudioDestinationNode",
"MediaStreamAudioSourceNode",
"MediaStreamEvent",
"MediaStreamTrack",
"MediaStreamTrackAudioSourceNode",
"MediaStreamTrackAudioStats",
"MediaStreamTrackEvent",
"MediaStreamTrackGenerator",
"MediaStreamTrackProcessor",
"MediaStreamTrackVideoStats",
"MessageChannel",
"MessageEvent",
"MessagePort",
"MimeType",
"MimeTypeArray",
"ModelContext",
"ModelGenericSession",
"ModelManager",
"MouseEvent",
"MutationEvent",
"MutationObserver",
"MutationRecord",
"NamedNodeMap",
"NavigateEvent",
"Navigation",
"NavigationActivation",
"NavigationCurrentEntryChangeEvent",
"NavigationDestination",
"NavigationHistoryEntry",
"NavigationPrecommitController",
"NavigationPreloadManager",
"NavigationTransition",
"Navigator",
"NavigatorLogin",
"NavigatorManagedData",
"NavigatorUAData",
"NetworkInformation",
"Node",
"NodeFilter",
"NodeIterator",
"NodeList",
"NotRestoredReasonDetails",
"NotRestoredReasons",
"Notification",
"NotifyPaintEvent",
"OTPCredential",
"Observable",
"OfflineAudioCompletionEvent",
"OfflineAudioContext",
"OffscreenCanvas",
"OffscreenCanvasRenderingContext2D",
"Option",
"OrientationSensor",
"Origin",
"OscillatorNode",
"OverconstrainedError",
"PERSISTENT",
"PageRevealEvent",
"PageSwapEvent",
"PageTransitionEvent",
"PannerNode",
"PasswordCredential",
"Path2D",
"PaymentAddress",
"PaymentManager",
"PaymentMethodChangeEvent",
"PaymentRequest",
"PaymentRequestUpdateEvent",
"PaymentResponse",
"Performance",
"PerformanceElementTiming",
"PerformanceEntry",
"PerformanceEventTiming",
"PerformanceLongAnimationFrameTiming",
"PerformanceLongTaskTiming",
"PerformanceMark",
"PerformanceMarkConditional",
"PerformanceMeasure",
"PerformanceNavigation",
"PerformanceNavigationTiming",
"PerformanceObserver",
"PerformanceObserverEntryList",
"PerformancePaintTiming",
"PerformanceResourceTiming",
"PerformanceScriptTiming",
"PerformanceServerTiming",
"PerformanceSoftNavigation",
"PerformanceTiming",
"PerformanceTimingConfidence",
"PeriodicSyncManager",
"PeriodicWave",
"PermissionStatus",
"Permissions",
"PermissionsPolicy",
"PictureInPictureEvent",
"PictureInPictureWindow",
"Plugin",
"PluginArray",
"PointerEvent",
"PopStateEvent",
"Presentation",
"PresentationAvailability",
"PresentationConnection",
"PresentationConnectionAvailableEvent",
"PresentationConnectionCloseEvent",
"PresentationConnectionList",
"PresentationReceiver",
"PresentationRequest",
"PressureObserver",
"PressureRecord",
"ProcessingInstruction",
"Profiler",
"ProgressEvent",
"PromiseRejectionEvent",
"ProtectedAudience",
"PublicKeyCredential",
"PushManager",
"PushSubscription",
"PushSubscriptionOptions",
"QuotaExceededError",
"RTCCertificate",
"RTCDTMFSender",
"RTCDTMFToneChangeEvent",
"RTCDataChannel",
"RTCDataChannelEvent",
"RTCDtlsTransport",
"RTCEncodedAudioFrame",
"RTCEncodedVideoFrame",
"RTCError",
"RTCErrorEvent",
"RTCIceCandidate",
"RTCIceCandidatePair",
"RTCIceTransport",
"RTCPeerConnection",
"RTCPeerConnectionIceErrorEvent",
"RTCPeerConnectionIceEvent",
"RTCRtpReceiver",
"RTCRtpScriptTransform",
"RTCRtpSender",
"RTCRtpTransceiver",
"RTCSctpTransport",
"RTCSessionDescription",
"RTCStatsReport",
"RTCTrackEvent",
"RadioNodeList",
"Range",
"ReadableByteStreamController",
"ReadableStream",
"ReadableStreamBYOBReader",
"ReadableStreamBYOBRequest",
"ReadableStreamDefaultController",
"ReadableStreamDefaultReader",
"RelativeOrientationSensor",
"RemotePlayback",
"ReportBody",
"ReportingObserver",
"Request",
"ResizeObserver",
"ResizeObserverEntry",
"ResizeObserverSize",
"Response",
"RestrictionTarget",
"SVGAElement",
"SVGAngle",
"SVGAnimateElement",
"SVGAnimateMotionElement",
"SVGAnimateTransformElement",
"SVGAnimatedAngle",
"SVGAnimatedBoolean",
"SVGAnimatedEnumeration",
"SVGAnimatedInteger",
"SVGAnimatedLength",
"SVGAnimatedLengthList",
"SVGAnimatedNumber",
"SVGAnimatedNumberList",
"SVGAnimatedPreserveAspectRatio",
"SVGAnimatedRect",
"SVGAnimatedString",
"SVGAnimatedTransformList",
"SVGAnimationElement",
"SVGCircleElement",
"SVGClipPathElement",
"SVGComponentTransferFunctionElement",
"SVGDefsElement",
"SVGDescElement",
"SVGElement",
"SVGEllipseElement",
"SVGFEBlendElement",
"SVGFEColorMatrixElement",
"SVGFEComponentTransferElement",
"SVGFECompositeElement",
"SVGFEConvolveMatrixElement",
"SVGFEDiffuseLightingElement",
"SVGFEDisplacementMapElement",
"SVGFEDistantLightElement",
"SVGFEDropShadowElement",
"SVGFEFloodElement",
"SVGFEFuncAElement",
"SVGFEFuncBElement",
"SVGFEFuncGElement",
"SVGFEFuncRElement",
"SVGFEGaussianBlurElement",
"SVGFEImageElement",
"SVGFEMergeElement",
"SVGFEMergeNodeElement",
"SVGFEMorphologyElement",
"SVGFEOffsetElement",
"SVGFEPointLightElement",
"SVGFESpecularLightingElement",
"SVGFESpotLightElement",
"SVGFETileElement",
"SVGFETurbulenceElement",
"SVGFilterElement",
"SVGForeignObjectElement",
"SVGGElement",
"SVGGeometryElement",
"SVGGradientElement",
"SVGGraphicsElement",
"SVGImageElement",
"SVGLength",
"SVGLengthList",
"SVGLineElement",
"SVGLinearGradientElement",
"SVGMPathElement",
"SVGMarkerElement",
"SVGMaskElement",
"SVGMatrix",
"SVGMetadataElement",
"SVGNumber",
"SVGNumberList",
"SVGPathElement",
"SVGPatternElement",
"SVGPoint",
"SVGPointList",
"SVGPolygonElement",
"SVGPolylineElement",
"SVGPreserveAspectRatio",
"SVGRadialGradientElement",
"SVGRect",
"SVGRectElement",
"SVGSVGElement",
"SVGScriptElement",
"SVGSetElement",
"SVGStopElement",
"SVGStringList",
"SVGStyleElement",
"SVGSwitchElement",
"SVGSymbolElement",
"SVGTSpanElement",
"SVGTextContentElement",
"SVGTextElement",
"SVGTextPathElement",
"SVGTextPositioningElement",
"SVGTitleElement",
"SVGTransform",
"SVGTransformList",
"SVGUnitTypes",
"SVGUseElement",
"SVGViewElement",
"Sanitizer",
"Scheduler",
"Scheduling",
"Screen",
"ScreenDetailed",
"ScreenDetails",
"ScreenOrientation",
"ScriptProcessorNode",
"ScrollTimeline",
"SecurityPolicyViolationEvent",
"Selection",
"Sensor",
"SensorErrorEvent",
"Serial",
"SerialPort",
"ServiceWorker",
"ServiceWorkerContainer",
"ServiceWorkerRegistration",
"ShadowRoot",
"SharedStorage",
"SharedStorageAppendMethod",
"SharedStorageClearMethod",
"SharedStorageDeleteMethod",
"SharedStorageModifierMethod",
"SharedStorageSetMethod",
"SharedStorageWorklet",
"SharedWorker",
"SnapEvent",
"SourceBuffer",
"SourceBufferList",
"SpeechGrammar",
"SpeechGrammarList",
"SpeechRecognition",
"SpeechRecognitionErrorEvent",
"SpeechRecognitionEvent",
"SpeechRecognitionPhrase",
"SpeechSynthesis",
"SpeechSynthesisErrorEvent",
"SpeechSynthesisEvent",
"SpeechSynthesisUtterance",
"SpeechSynthesisVoice",
"StaticRange",
"StereoPannerNode",
"Storage",
"StorageBucket",
"StorageBucketManager",
"StorageEvent",
"StorageManager",
"StylePropertyMap",
"StylePropertyMapReadOnly",
"StyleSheet",
"StyleSheetList",
"SubmitEvent",
"Subscriber",
"SubtleCrypto",
"Summarizer",
"SyncManager",
"TEMPORARY",
"TaskAttributionTiming",
"TaskController",
"TaskPriorityChangeEvent",
"TaskSignal",
"Temporal",
"Text",
"TextDecoder",
"TextDecoderStream",
"TextEncoder",
"TextEncoderStream",
"TextEvent",
"TextFormat",
"TextFormatUpdateEvent",
"TextMetrics",
"TextTrack",
"TextTrackCue",
"TextTrackCueList",
"TextTrackList",
"TextUpdateEvent",
"TimeEvent",
"TimeRanges",
"TimelineTrigger",
"TimelineTriggerRange",
"TimelineTriggerRangeList",
"ToggleEvent",
"Touch",
"TouchEvent",
"TouchList",
"TrackEvent",
"TransformStream",
"TransformStreamDefaultController",
"TransitionEvent",
"Translator",
"TreeWalker",
"TrustedHTML",
"TrustedScript",
"TrustedScriptURL",
"TrustedTypePolicy",
"TrustedTypePolicyFactory",
"UIEvent",
"URL",
"URLPattern",
"URLSearchParams",
"USB",
"USBAlternateInterface",
"USBConfiguration",
"USBConnectionEvent",
"USBDevice",
"USBEndpoint",
"USBInTransferResult",
"USBInterface",
"USBIsochronousInTransferPacket",
"USBIsochronousInTransferResult",
"USBIsochronousOutTransferPacket",
"USBIsochronousOutTransferResult",
"USBOutTransferResult",
"UserActivation",
"VTTCue",
"VTTRegion",
"ValidityState",
"VideoColorSpace",
"VideoDecoder",
"VideoEncoder",
"VideoFrame",
"VideoPlaybackQuality",
"ViewTimeline",
"ViewTransition",
"ViewTransitionTypeSet",
"Viewport",
"VirtualKeyboard",
"VirtualKeyboardGeometryChangeEvent",
"VisibilityStateEntry",
"VisualViewport",
"WGSLLanguageFeatures",
"WakeLock",
"WakeLockSentinel",
"WaveShaperNode",
"WebAssembly",
"WebGL2RenderingContext",
"WebGLActiveInfo",
"WebGLBuffer",
"WebGLContextEvent",
"WebGLFramebuffer",
"WebGLObject",
"WebGLProgram",
"WebGLQuery",
"WebGLRenderbuffer",
"WebGLRenderingContext",
"WebGLSampler",
"WebGLShader",
"WebGLShaderPrecisionFormat",
"WebGLSync",
"WebGLTexture",
"WebGLTransformFeedback",
"WebGLUniformLocation",
"WebGLVertexArrayObject",
"WebMCPEvent",
"WebSocket",
"WebSocketError",
"WebSocketStream",
"WebTransport",
"WebTransportBidirectionalStream",
"WebTransportDatagramDuplexStream",
"WebTransportDatagramsWritable",
"WebTransportError",
"WebTransportReceiveStream",
"WebTransportSendGroup",
"WebTransportSendStream",
"WheelEvent",
"Window",
"WindowControlsOverlay",
"WindowControlsOverlayGeometryChangeEvent",
"Worker",
"Worklet",
"WritableStream",
"WritableStreamDefaultController",
"WritableStreamDefaultWriter",
"XMLDocument",
"XMLHttpRequest",
"XMLHttpRequestEventTarget",
"XMLHttpRequestUpload",
"XMLSerializer",
"XPathEvaluator",
"XPathExpression",
"XPathResult",
"XRAnchor",
"XRAnchorSet",
"XRBoundedReferenceSpace",
"XRCPUDepthInformation",
"XRCamera",
"XRCompositionLayer",
"XRCubeLayer",
"XRCylinderLayer",
"XRDOMOverlayState",
"XRDepthInformation",
"XREquirectLayer",
"XRFrame",
"XRHand",
"XRHitTestResult",
"XRHitTestSource",
"XRInputSource",
"XRInputSourceArray",
"XRInputSourceEvent",
"XRInputSourcesChangeEvent",
"XRJointPose",
"XRJointSpace",
"XRLayer",
"XRLayerEvent",
"XRLightEstimate",
"XRLightProbe",
"XRPlane",
"XRPlaneSet",
"XRPose",
"XRProjectionLayer",
"XRQuadLayer",
"XRRay",
"XRReferenceSpace",
"XRReferenceSpaceEvent",
"XRRenderState",
"XRRigidTransform",
"XRSession",
"XRSessionEvent",
"XRSpace",
"XRSubImage",
"XRSystem",
"XRTransientInputHitTestResult",
"XRTransientInputHitTestSource",
"XRView",
"XRViewerPose",
"XRViewport",
"XRVisibilityMaskChangeEvent",
"XRWebGLBinding",
"XRWebGLDepthInformation",
"XRWebGLLayer",
"XRWebGLSubImage",
"XSLTProcessor",
"addEventListener",
"ai",
"alert",
"atob",
"blur",
"btoa",
"caches",
"cancelAnimationFrame",
"cancelIdleCallback",
"clearInterval",
"clearTimeout",
"clientInformation",
"close",
"closed",
"confirm",
"console",
"cookieStore",
"crashReport",
"createImageBitmap",
"credentialless",
"crossOriginIsolated",
"crypto",
"customElements",
"devicePixelRatio",
"dispatchEvent",
"document",
"documentPictureInPicture",
"event",
"external",
"fence",
"fetch",
"fetchLater",
"find",
"focus",
"frameElement",
"frames",
"getComputedStyle",
"getScreenDetails",
"getSelection",
"history",
"indexedDB",
"innerHeight",
"innerWidth",
"isSecureContext",
"launchQueue",
"length",
"localStorage",
"locationbar",
"matchMedia",
"menubar",
"model",
"moveBy",
"moveTo",
"name",
"navigation",
"navigator",
"offscreenBuffering",
"open",
"opener",
"origin",
"originAgentCluster",
"outerHeight",
"outerWidth",
"pageXOffset",
"pageYOffset",
"parent",
"performance",
"personalbar",
"postMessage",
"print",
"prompt",
"queryLocalFonts",
"queueMicrotask",
"removeEventListener",
"reportError",
"requestAnimationFrame",
"requestIdleCallback",
"resizeBy",
"resizeTo",
"scheduler",
"screen",
"screenLeft",
"screenTop",
"screenX",
"screenY",
"scroll",
"scrollBy",
"scrollTo",
"scrollX",
"scrollY",
"scrollbars",
"self",
"sessionStorage",
"setInterval",
"setTimeout",
"sharedStorage",
"showDirectoryPicker",
"showOpenFilePicker",
"showSaveFilePicker",
"speechSynthesis",
"status",
"statusbar",
"stop",
"structuredClone",
"styleMedia",
"toolbar",
"top",
"trustedTypes",
"viewport",
"visualViewport",
"when",
"window",
],
writable: [
"location",
"onabort",
"onafterprint",
"onanimationcancel",
"onanimationend",
"onanimationiteration",
"onanimationstart",
"onappinstalled",
"onauxclick",
"onbeforeinput",
"onbeforeinstallprompt",
"onbeforematch",
"onbeforeprint",
"onbeforetoggle",
"onbeforeunload",
"onbeforexrselect",
"onblur",
"oncancel",
"oncanplay",
"oncanplaythrough",
"onchange",
"onclick",
"onclose",
"oncommand",
"oncontentvisibilityautostatechange",
"oncontextlost",
"oncontextmenu",
"oncontextrestored",
"oncopy",
"oncuechange",
"oncut",
"ondblclick",
"ondevicemotion",
"ondeviceorientation",
"ondeviceorientationabsolute",
"ondrag",
"ondragend",
"ondragenter",
"ondragleave",
"ondragover",
"ondragstart",
"ondrop",
"ondurationchange",
"onemptied",
"onended",
"onerror",
"onfocus",
"onformdata",
"ongamepadconnected",
"ongamepaddisconnected",
"ongotpointercapture",
"onhashchange",
"oninput",
"oninvalid",
"onkeydown",
"onkeypress",
"onkeyup",
"onlanguagechange",
"onload",
"onloadeddata",
"onloadedmetadata",
"onloadstart",
"onlostpointercapture",
"onmessage",
"onmessageerror",
"onmousedown",
"onmouseenter",
"onmouseleave",
"onmousemove",
"onmouseout",
"onmouseover",
"onmouseup",
"onmousewheel",
"onoffline",
"ononline",
"onpagehide",
"onpagereveal",
"onpageshow",
"onpageswap",
"onpaste",
"onpause",
"onplay",
"onplaying",
"onpointercancel",
"onpointerdown",
"onpointerenter",
"onpointerleave",
"onpointermove",
"onpointerout",
"onpointerover",
"onpointerrawupdate",
"onpointerup",
"onpopstate",
"onprogress",
"onratechange",
"onrejectionhandled",
"onreset",
"onresize",
"onscroll",
"onscrollend",
"onscrollsnapchange",
"onscrollsnapchanging",
"onsearch",
"onsecuritypolicyviolation",
"onseeked",
"onseeking",
"onselect",
"onselectionchange",
"onselectstart",
"onslotchange",
"onstalled",
"onstorage",
"onsubmit",
"onsuspend",
"ontimeupdate",
"ontoggle",
"ontransitioncancel",
"ontransitionend",
"ontransitionrun",
"ontransitionstart",
"onunhandledrejection",
"onunload",
"onvolumechange",
"onwaiting",
"onwheel",
],
};
/**
* `builtin` environment.
*/
export const ENV_BUILTIN: EnvPreset = {
readonly: [
"AggregateError",
"Array",
"ArrayBuffer",
"AsyncDisposableStack",
"Atomics",
"BigInt",
"BigInt64Array",
"BigUint64Array",
"Boolean",
"DataView",
"Date",
"DisposableStack",
"Error",
"EvalError",
"FinalizationRegistry",
"Float16Array",
"Float32Array",
"Float64Array",
"Function",
"Infinity",
"Int16Array",
"Int32Array",
"Int8Array",
"Intl",
"Iterator",
"JSON",
"Map",
"Math",
"NaN",
"Number",
"Object",
"Promise",
"Proxy",
"RangeError",
"ReferenceError",
"Reflect",
"RegExp",
"Set",
"SharedArrayBuffer",
"String",
"SuppressedError",
"Symbol",
"SyntaxError",
"TypeError",
"URIError",
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"WeakMap",
"WeakRef",
"WeakSet",
"decodeURI",
"decodeURIComponent",
"encodeURI",
"encodeURIComponent",
"escape",
"eval",
"globalThis",
"isFinite",
"isNaN",
"parseFloat",
"parseInt",
"undefined",
"unescape",
],
writable: [],
};
/**
* `bun` environment.
*/
export const ENV_BUN: EnvPreset = {
readonly: [
"AbortController",
"AbortSignal",
"Blob",
"BroadcastChannel",
"Buffer",
"BuildError",
"BuildMessage",
"Bun",
"ByteLengthQueuingStrategy",
"CloseEvent",
"CompressionStream",
"CountQueuingStrategy",
"Crypto",
"CryptoKey",
"CustomEvent",
"DOMException",
"DecompressionStream",
"ErrorEvent",
"Event",
"EventTarget",
"File",
"FormData",
"HTMLRewriter",
"Headers",
"Loader",
"MessageChannel",
"MessageEvent",
"MessagePort",
"Performance",
"PerformanceEntry",
"PerformanceMark",
"PerformanceMeasure",
"PerformanceObserver",
"PerformanceObserverEntryList",
"PerformanceResourceTiming",
"PerformanceServerTiming",
"PerformanceTiming",
"ReadableByteStreamController",
"ReadableStream",
"ReadableStreamBYOBReader",
"ReadableStreamBYOBRequest",
"ReadableStreamDefaultController",
"ReadableStreamDefaultReader",
"Request",
"ResolveError",
"ResolveMessage",
"Response",
"ShadowRealm",
"SubtleCrypto",
"TextDecoder",
"TextDecoderStream",
"TextEncoder",
"TextEncoderStream",
"TransformStream",
"TransformStreamDefaultController",
"URL",
"URLPattern",
"URLSearchParams",
"WebAssembly",
"WebSocket",
"Worker",
"WritableStream",
"WritableStreamDefaultController",
"WritableStreamDefaultWriter",
"addEventListener",
"alert",
"atob",
"btoa",
"clearImmediate",
"clearInterval",
"clearTimeout",
"confirm",
"console",
"crypto",
"dispatchEvent",
"fetch",
"global",
"navigator",
"performance",
"postMessage",
"process",
"prompt",
"queueMicrotask",
"removeEventListener",
"reportError",
"self",
"setImmediate",
"setInterval",
"setTimeout",
"structuredClone",
],
writable: ["onerror", "onmessage"],
};
/**
* `commonjs` environment.
*/
export const ENV_COMMONJS: EnvPreset = {
readonly: ["global", "module", "require"],
writable: ["exports"],
};
/**
* `embertest` environment.
*/
export const ENV_EMBERTEST: EnvPreset = {
readonly: [
"andThen",
"click",
"currentPath",
"currentRouteName",
"currentURL",
"fillIn",
"find",
"findAll",
"findWithAssert",
"keyEvent",
"pauseTest",
"resumeTest",
"triggerEvent",
"visit",
"wait",
],
writable: [],
};
/**
* `es2015` environment.
*/
export const ENV_ES_2015: EnvPreset = {
readonly: [
"ArrayBuffer",
"DataView",
"Float32Array",
"Float64Array",
"Int16Array",
"Int32Array",
"Int8Array",
"Intl",
"Map",
"Promise",
"Proxy",
"Reflect",
"Set",
"Symbol",
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"WeakMap",
"WeakSet",
],
writable: [],
};
/**
* `es2016` environment.
*/
export const ENV_ES_2016: EnvPreset = {
readonly: [
"ArrayBuffer",
"DataView",
"Float32Array",
"Float64Array",
"Int16Array",
"Int32Array",
"Int8Array",
"Intl",
"Map",
"Promise",
"Proxy",
"Reflect",
"Set",
"Symbol",
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"WeakMap",
"WeakSet",
],
writable: [],
};
/**
* `es2017` environment.
*/
export const ENV_ES_2017: EnvPreset = {
readonly: [
"ArrayBuffer",
"Atomics",
"DataView",
"Float32Array",
"Float64Array",
"Int16Array",
"Int32Array",
"Int8Array",
"Intl",
"Map",
"Promise",
"Proxy",
"Reflect",
"Set",
"SharedArrayBuffer",
"Symbol",
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"WeakMap",
"WeakSet",
],
writable: [],
};
/**
* `es2018` environment.
*/
export const ENV_ES_2018: EnvPreset = {
readonly: [
"ArrayBuffer",
"Atomics",
"DataView",
"Float32Array",
"Float64Array",
"Int16Array",
"Int32Array",
"Int8Array",
"Intl",
"Map",
"Promise",
"Proxy",
"Reflect",
"Set",
"SharedArrayBuffer",
"Symbol",
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"WeakMap",
"WeakSet",
],
writable: [],
};
/**
* `es2019` environment.
*/
export const ENV_ES_2019: EnvPreset = {
readonly: [
"ArrayBuffer",
"Atomics",
"DataView",
"Float32Array",
"Float64Array",
"Int16Array",
"Int32Array",
"Int8Array",
"Intl",
"Map",
"Promise",
"Proxy",
"Reflect",
"Set",
"SharedArrayBuffer",
"Symbol",
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"WeakMap",
"WeakSet",
],
writable: [],
};
/**
* `es2020` environment.
*/
export const ENV_ES_2020: EnvPreset = {
readonly: [
"ArrayBuffer",
"Atomics",
"BigInt",
"BigInt64Array",
"BigUint64Array",
"DataView",
"Float32Array",
"Float64Array",
"Int16Array",
"Int32Array",
"Int8Array",
"Intl",
"Map",
"Promise",
"Proxy",
"Reflect",
"Set",
"SharedArrayBuffer",
"Symbol",
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"WeakMap",
"WeakSet",
"globalThis",
],
writable: [],
};
/**
* `es2021` environment.
*/
export const ENV_ES_2021: EnvPreset = {
readonly: [
"AggregateError",
"ArrayBuffer",
"Atomics",
"BigInt",
"BigInt64Array",
"BigUint64Array",
"DataView",
"FinalizationRegistry",
"Float32Array",
"Float64Array",
"Int16Array",
"Int32Array",
"Int8Array",
"Intl",
"Map",
"Promise",
"Proxy",
"Reflect",
"Set",
"SharedArrayBuffer",
"Symbol",
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"WeakMap",
"WeakRef",
"WeakSet",
"globalThis",
],
writable: [],
};
/**
* `es2022` environment.
*/
export const ENV_ES_2022: EnvPreset = {
readonly: [
"AggregateError",
"ArrayBuffer",
"Atomics",
"BigInt",
"BigInt64Array",
"BigUint64Array",
"DataView",
"FinalizationRegistry",
"Float32Array",
"Float64Array",
"Int16Array",
"Int32Array",
"Int8Array",
"Intl",
"Map",
"Promise",
"Proxy",
"Reflect",
"Set",
"SharedArrayBuffer",
"Symbol",
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"WeakMap",
"WeakRef",
"WeakSet",
"globalThis",
],
writable: [],
};
/**
* `es2023` environment.
*/
export const ENV_ES_2023: EnvPreset = {
readonly: [
"AggregateError",
"ArrayBuffer",
"Atomics",
"BigInt",
"BigInt64Array",
"BigUint64Array",
"DataView",
"FinalizationRegistry",
"Float32Array",
"Float64Array",
"Int16Array",
"Int32Array",
"Int8Array",
"Intl",
"Map",
"Promise",
"Proxy",
"Reflect",
"Set",
"SharedArrayBuffer",
"Symbol",
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"WeakMap",
"WeakRef",
"WeakSet",
"globalThis",
],
writable: [],
};
/**
* `es2024` environment.
*/
export const ENV_ES_2024: EnvPreset = {
readonly: [
"AggregateError",
"ArrayBuffer",
"Atomics",
"BigInt",
"BigInt64Array",
"BigUint64Array",
"DataView",
"FinalizationRegistry",
"Float32Array",
"Float64Array",
"Int16Array",
"Int32Array",
"Int8Array",
"Intl",
"Map",
"Promise",
"Proxy",
"Reflect",
"Set",
"SharedArrayBuffer",
"Symbol",
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"WeakMap",
"WeakRef",
"WeakSet",
"globalThis",
],
writable: [],
};
/**
* `es2025` environment.
*/
export const ENV_ES_2025: EnvPreset = {
readonly: [
"AggregateError",
"ArrayBuffer",
"Atomics",
"BigInt",
"BigInt64Array",
"BigUint64Array",
"DataView",
"FinalizationRegistry",
"Float16Array",
"Float32Array",
"Float64Array",
"Int16Array",
"Int32Array",
"Int8Array",
"Intl",
"Iterator",
"Map",
"Promise",
"Proxy",
"Reflect",
"Set",
"SharedArrayBuffer",
"Symbol",
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"WeakMap",
"WeakRef",
"WeakSet",
"globalThis",
],
writable: [],
};
/**
* `es2026` environment.
*/
export const ENV_ES_2026: EnvPreset = {
readonly: [
"AggregateError",
"ArrayBuffer",
"Atomics",
"BigInt",
"BigInt64Array",
"BigUint64Array",
"DataView",
"FinalizationRegistry",
"Float16Array",
"Float32Array",
"Float64Array",
"Int16Array",
"Int32Array",
"Int8Array",
"Intl",
"Iterator",
"Map",
"Promise",
"Proxy",
"Reflect",
"Set",
"SharedArrayBuffer",
"Symbol",
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"WeakMap",
"WeakRef",
"WeakSet",
"globalThis",
],
writable: [],
};
/**
* `es6` environment.
*/
export const ENV_ES_6: EnvPreset = {
readonly: [
"ArrayBuffer",
"DataView",
"Float32Array",
"Float64Array",
"Int16Array",
"Int32Array",
"Int8Array",
"Intl",
"Map",
"Promise",
"Proxy",
"Reflect",
"Set",
"Symbol",
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"WeakMap",
"WeakSet",
],
writable: [],
};
/**
* `greasemonkey` environment.
*/
export const ENV_GREASEMONKEY: EnvPreset = {
readonly: [
"GM",
"GM_addElement",
"GM_addStyle",
"GM_addValueChangeListener",
"GM_cookie",
"GM_deleteValue",
"GM_deleteValues",
"GM_download",
"GM_getResourceText",
"GM_getResourceURL",
"GM_getTab",
"GM_getTabs",
"GM_getValue",
"GM_getValues",
"GM_info",
"GM_listValues",
"GM_log",
"GM_notification",
"GM_openInTab",
"GM_registerMenuCommand",
"GM_removeValueChangeListener",
"GM_saveTab",
"GM_setClipboard",
"GM_setValue",
"GM_setValues",
"GM_unregisterMenuCommand",
"GM_xmlhttpRequest",
"cloneInto",
"createObjectIn",
"exportFunction",
"unsafeWindow",
],
writable: [],
};
/**
* `jasmine` environment.
*/
export const ENV_JASMINE: EnvPreset = {
readonly: [
"afterAll",
"afterEach",
"beforeAll",
"beforeEach",
"describe",
"expect",
"expectAsync",
"fail",
"fdescribe",
"fit",
"it",
"jasmine",
"pending",
"runs",
"spyOn",
"spyOnAllFunctions",
"spyOnProperty",
"throwUnless",
"throwUnlessAsync",
"waits",
"waitsFor",
"xdescribe",
"xit",
],
writable: [],
};
/**
* `jest` environment.
*/
export const ENV_JEST: EnvPreset = {
readonly: [
"afterAll",
"afterEach",
"beforeAll",
"beforeEach",
"describe",
"expect",
"fit",
"it",
"jest",
"test",
"xdescribe",
"xit",
"xtest",
],
writable: [],
};
/**
* `jquery` environment.
*/
export const ENV_JQUERY: EnvPreset = {
readonly: ["$", "jQuery"],
writable: [],
};
/**
* `meteor` environment.
*/
export const ENV_METEOR: EnvPreset = {
readonly: [
"$",
"Accounts",
"AccountsClient",
"AccountsCommon",
"AccountsServer",
"App",
"Assets",
"Blaze",
"Cordova",
"DDP",
"DDPRateLimiter",
"DDPServer",
"Deps",
"EJSON",
"Email",
"HTTP",
"Log",
"Match",
"Meteor",
"Mongo",
"MongoInternals",
"Npm",
"Package",
"Plugin",
"Random",
"ReactiveDict",
"ReactiveVar",
"Router",
"ServiceConfiguration",
"Session",
"Spacebars",
"Template",
"Tinytest",
"Tracker",
"UI",
"Utils",
"WebApp",
"WebAppInternals",
"check",
"process",
"share",
],
writable: [],
};
/**
* `mocha` environment.
*/
export const ENV_MOCHA: EnvPreset = {
readonly: [
"after",
"afterEach",
"before",
"beforeEach",
"context",
"describe",
"it",
"mocha",
"run",
"setup",
"specify",
"suite",
"suiteSetup",
"suiteTeardown",
"teardown",
"test",
"xcontext",
"xdescribe",
"xit",
"xspecify",
],
writable: [],
};
/**
* `mongo` environment.
*/
export const ENV_MONGO: EnvPreset = {
readonly: [
"BulkWriteResult",
"ISODate",
"Mongo",
"NumberInt",
"NumberLong",
"ObjectId",
"PlanCache",
"UUID",
"WriteResult",
"_isWindows",
"_rand",
"cat",
"cd",
"connect",
"db",
"getHostName",
"getMemInfo",
"hostname",
"listFiles",
"load",
"ls",
"md5sumFile",
"mkdir",
"print",
"printjson",
"pwd",
"quit",
"removeFile",
"rs",
"sh",
"version",
],
writable: [],
};
/**
* `nashorn` environment.
*/
export const ENV_NASHORN: EnvPreset = {
readonly: [
"JSAdapter",
"Java",
"JavaImporter",
"Packages",
"__DIR__",
"__FILE__",
"__LINE__",
"com",
"edu",
"exit",
"java",
"javafx",
"javax",
"load",
"loadWithNewGlobal",
"org",
"print",
"quit",
],
writable: [],
};
/**
* `node` environment.
*/
export const ENV_NODE: EnvPreset = {
readonly: [
"AbortController",
"AbortSignal",
"Blob",
"BroadcastChannel",
"Buffer",
"ByteLengthQueuingStrategy",
"CloseEvent",
"CompressionStream",
"CountQueuingStrategy",
"Crypto",
"CryptoKey",
"CustomEvent",
"DOMException",
"DecompressionStream",
"ErrorEvent",
"Event",
"EventTarget",
"File",
"FormData",
"Headers",
"MessageChannel",
"MessageEvent",
"MessagePort",
"Navigator",
"Performance",
"PerformanceEntry",
"PerformanceMark",
"PerformanceMeasure",
"PerformanceObserver",
"PerformanceObserverEntryList",
"PerformanceResourceTiming",
"QuotaExceededError",
"ReadableByteStreamController",
"ReadableStream",
"ReadableStreamBYOBReader",
"ReadableStreamBYOBRequest",
"ReadableStreamDefaultController",
"ReadableStreamDefaultReader",
"Request",
"Response",
"Storage",
"SubtleCrypto",
"Temporal",
"TextDecoder",
"TextDecoderStream",
"TextEncoder",
"TextEncoderStream",
"TransformStream",
"TransformStreamDefaultController",
"URL",
"URLPattern",
"URLSearchParams",
"WebAssembly",
"WebSocket",
"WritableStream",
"WritableStreamDefaultController",
"WritableStreamDefaultWriter",
"__dirname",
"__filename",
"atob",
"btoa",
"clearImmediate",
"clearInterval",
"clearTimeout",
"console",
"crypto",
"fetch",
"global",
"localStorage",
"module",
"navigator",
"performance",
"process",
"queueMicrotask",
"require",
"sessionStorage",
"setImmediate",
"setInterval",
"setTimeout",
"structuredClone",
],
writable: ["exports"],
};
/**
* `phantomjs` environment.
*/
export const ENV_PHANTOMJS: EnvPreset = {
readonly: [],
writable: ["WebPage", "console", "exports", "phantom", "require"],
};
/**
* `prototypejs` environment.
*/
export const ENV_PROTOTYPEJS: EnvPreset = {
readonly: [
"$",
"$$",
"$A",
"$F",
"$H",
"$R",
"$break",
"$continue",
"$w",
"Abstract",
"Ajax",
"Autocompleter",
"Builder",
"Class",
"Control",
"Draggable",
"Draggables",
"Droppables",
"Effect",
"Element",
"Enumerable",
"Event",
"Field",
"Form",
"Hash",
"Insertion",
"ObjectRange",
"PeriodicalExecuter",
"Position",
"Prototype",
"Scriptaculous",
"Selector",
"Sortable",
"SortableObserver",
"Sound",
"Template",
"Toggle",
"Try",
],
writable: [],
};
/**
* `protractor` environment.
*/
export const ENV_PROTRACTOR: EnvPreset = {
readonly: ["$", "$$", "By", "DartObject", "browser", "by", "element", "protractor"],
writable: [],
};
/**
* `qunit` environment.
*/
export const ENV_QUNIT: EnvPreset = {
readonly: [
"QUnit",
"asyncTest",
"deepEqual",
"equal",
"expect",
"module",
"notDeepEqual",
"notEqual",
"notOk",
"notPropEqual",
"notStrictEqual",
"ok",
"propEqual",
"raises",
"start",
"stop",
"strictEqual",
"test",
"throws",
],
writable: [],
};
/**
* `serviceworker` environment.
*/
export const ENV_SERVICEWORKER: EnvPreset = {
readonly: [
"AI",
"AICreateMonitor",
"AbortController",
"AbortPaymentEvent",
"AbortSignal",
"BackgroundFetchEvent",
"BackgroundFetchManager",
"BackgroundFetchRecord",
"BackgroundFetchRegistration",
"BackgroundFetchUpdateUIEvent",
"BarcodeDetector",
"Blob",
"BroadcastChannel",
"ByteLengthQueuingStrategy",
"CSSImageValue",
"CSSKeywordValue",
"CSSMathClamp",
"CSSMathInvert",
"CSSMathMax",
"CSSMathMin",
"CSSMathNegate",
"CSSMathProduct",
"CSSMathSum",
"CSSMathValue",
"CSSMatrixComponent",
"CSSNumericArray",
"CSSNumericValue",
"CSSPerspective",
"CSSRotate",
"CSSScale",
"CSSSkew",
"CSSSkewX",
"CSSSkewY",
"CSSStyleValue",
"CSSTransformComponent",
"CSSTransformValue",
"CSSTranslate",
"CSSUnitValue",
"CSSUnparsedValue",
"CSSVariableReferenceValue",
"Cache",
"CacheStorage",
"CanMakePaymentEvent",
"CanvasGradient",
"CanvasPattern",
"Client",
"Clients",
"CloseEvent",
"CompressionStream",
"CookieStore",
"CookieStoreManager",
"CountQueuingStrategy",
"CreateMonitor",
"CropTarget",
"Crypto",
"CryptoKey",
"CustomEvent",
"DOMException",
"DOMMatrix",
"DOMMatrixReadOnly",
"DOMPoint",
"DOMPointReadOnly",
"DOMQuad",
"DOMRect",
"DOMRectReadOnly",
"DOMStringList",
"DecompressionStream",
"ErrorEvent",
"Event",
"EventSource",
"EventTarget",
"ExtendableCookieChangeEvent",
"ExtendableEvent",
"ExtendableMessageEvent",
"FetchEvent",
"File",
"FileList",
"FileReader",
"FileSystemDirectoryHandle",
"FileSystemFileHandle",
"FileSystemHandle",
"FileSystemWritableFileStream",
"FontFace",
"FontFaceSet",
"FontFaceSetLoadEvent",
"FormData",
"GPU",
"GPUAdapter",
"GPUAdapterInfo",
"GPUBindGroup",
"GPUBindGroupLayout",
"GPUBuffer",
"GPUBufferUsage",
"GPUCanvasContext",
"GPUColorWrite",
"GPUCommandBuffer",
"GPUCommandEncoder",
"GPUCompilationInfo",
"GPUCompilationMessage",
"GPUComputePassEncoder",
"GPUComputePipeline",
"GPUDevice",
"GPUDeviceLostInfo",
"GPUError",
"GPUExternalTexture",
"GPUInternalError",
"GPUMapMode",
"GPUOutOfMemoryError",
"GPUPipelineError",
"GPUPipelineLayout",
"GPUQuerySet",
"GPUQueue",
"GPURenderBundle",
"GPURenderBundleEncoder",
"GPURenderPassEncoder",
"GPURenderPipeline",
"GPUSampler",
"GPUShaderModule",
"GPUShaderStage",
"GPUSupportedFeatures",
"GPUSupportedLimits",
"GPUTexture",
"GPUTextureUsage",
"GPUTextureView",
"GPUUncapturedErrorEvent",
"GPUValidationError",
"Headers",
"IDBCursor",
"IDBCursorWithValue",
"IDBDatabase",
"IDBFactory",
"IDBIndex",
"IDBKeyRange",
"IDBObjectStore",
"IDBOpenDBRequest",
"IDBRecord",
"IDBRequest",
"IDBTransaction",
"IDBVersionChangeEvent",
"ImageBitmap",
"ImageBitmapRenderingContext",
"ImageData",
"InstallEvent",
"LanguageDetector",
"Lock",
"LockManager",
"MediaCapabilities",
"MessageChannel",
"MessageEvent",
"MessagePort",
"NavigationPreloadManager",
"NavigatorUAData",
"NetworkInformation",
"Notification",
"NotificationEvent",
"Observable",
"OffscreenCanvas",
"OffscreenCanvasRenderingContext2D",
"Origin",
"Path2D",
"PaymentRequestEvent",
"Performance",
"PerformanceEntry",
"PerformanceMark",
"PerformanceMeasure",
"PerformanceObserver",
"PerformanceObserverEntryList",
"PerformanceResourceTiming",
"PerformanceServerTiming",
"PeriodicSyncEvent",
"PeriodicSyncManager",
"PermissionStatus",
"Permissions",
"ProgressEvent",
"PromiseRejectionEvent",
"PushEvent",
"PushManager",
"PushMessageData",
"PushSubscription",
"PushSubscriptionChangeEvent",
"PushSubscriptionOptions",
"QuotaExceededError",
"ReadableByteStreamController",
"ReadableStream",
"ReadableStreamBYOBReader",
"ReadableStreamBYOBRequest",
"ReadableStreamDefaultController",
"ReadableStreamDefaultReader",
"ReportBody",
"ReportingObserver",
"Request",
"Response",
"RestrictionTarget",
"Scheduler",
"SecurityPolicyViolationEvent",
"ServiceWorker",
"ServiceWorkerContainer",
"ServiceWorkerGlobalScope",
"ServiceWorkerRegistration",
"StorageBucket",
"StorageBucketManager",
"StorageManager",
"StylePropertyMapReadOnly",
"Subscriber",
"SubtleCrypto",
"SyncEvent",
"SyncManager",
"TaskController",
"TaskPriorityChangeEvent",
"TaskSignal",
"Temporal",
"TextDecoder",
"TextDecoderStream",
"TextEncoder",
"TextEncoderStream",
"TextMetrics",
"TransformStream",
"TransformStreamDefaultController",
"TrustedHTML",
"TrustedScript",
"TrustedScriptURL",
"TrustedTypePolicy",
"TrustedTypePolicyFactory",
"URL",
"URLPattern",
"URLSearchParams",
"UserActivation",
"WGSLLanguageFeatures",
"WebAssembly",
"WebGL2RenderingContext",
"WebGLActiveInfo",
"WebGLBuffer",
"WebGLContextEvent",
"WebGLFramebuffer",
"WebGLObject",
"WebGLProgram",
"WebGLQuery",
"WebGLRenderbuffer",
"WebGLRenderingContext",
"WebGLSampler",
"WebGLShader",
"WebGLShaderPrecisionFormat",
"WebGLSync",
"WebGLTexture",
"WebGLTransformFeedback",
"WebGLUniformLocation",
"WebGLVertexArrayObject",
"WebSocket",
"WebSocketError",
"WebSocketStream",
"WebTransport",
"WebTransportBidirectionalStream",
"WebTransportDatagramDuplexStream",
"WebTransportDatagramsWritable",
"WebTransportError",
"WebTransportReceiveStream",
"WebTransportSendGroup",
"WebTransportSendStream",
"WindowClient",
"WorkerGlobalScope",
"WorkerLocation",
"WorkerNavigator",
"WritableStream",
"WritableStreamDefaultController",
"WritableStreamDefaultWriter",
"addEventListener",
"ai",
"atob",
"btoa",
"caches",
"clearInterval",
"clearTimeout",
"clients",
"console",
"cookieStore",
"createImageBitmap",
"crossOriginIsolated",
"crypto",
"dispatchEvent",
"fetch",
"fonts",
"importScripts",
"indexedDB",
"isSecureContext",
"location",
"navigator",
"origin",
"performance",
"queueMicrotask",
"registration",
"removeEventListener",
"reportError",
"scheduler",
"self",
"serviceWorker",
"setInterval",
"setTimeout",
"skipWaiting",
"structuredClone",
"trustedTypes",
"when",
],
writable: [
"onabortpayment",
"onactivate",
"onbackgroundfetchabort",
"onbackgroundfetchclick",
"onbackgroundfetchfail",
"onbackgroundfetchsuccess",
"oncanmakepayment",
"oncookiechange",
"onerror",
"onfetch",
"oninstall",
"onlanguagechange",
"onmessage",
"onmessageerror",
"onnotificationclick",
"onnotificationclose",
"onoffline",
"ononline",
"onpaymentrequest",
"onperiodicsync",
"onpush",
"onpushsubscriptionchange",
"onrejectionhandled",
"onsync",
"onunhandledrejection",
],
};
/**
* `shared-node-browser` environment.
*/
export const ENV_SHARED_NODE_BROWSER: EnvPreset = {
readonly: [
"AbortController",
"AbortSignal",
"Blob",
"BroadcastChannel",
"ByteLengthQueuingStrategy",
"CloseEvent",
"CompressionStream",
"CountQueuingStrategy",
"Crypto",
"CryptoKey",
"CustomEvent",
"DOMException",
"DecompressionStream",
"ErrorEvent",
"Event",
"EventTarget",
"File",
"FormData",
"Headers",
"MessageChannel",
"MessageEvent",
"MessagePort",
"Navigator",
"Performance",
"PerformanceEntry",
"PerformanceMark",
"PerformanceMeasure",
"PerformanceObserver",
"PerformanceObserverEntryList",
"PerformanceResourceTiming",
"QuotaExceededError",
"ReadableByteStreamController",
"ReadableStream",
"ReadableStreamBYOBReader",
"ReadableStreamBYOBRequest",
"ReadableStreamDefaultController",
"ReadableStreamDefaultReader",
"Request",
"Response",
"Storage",
"SubtleCrypto",
"Temporal",
"TextDecoder",
"TextDecoderStream",
"TextEncoder",
"TextEncoderStream",
"TransformStream",
"TransformStreamDefaultController",
"URL",
"URLPattern",
"URLSearchParams",
"WebAssembly",
"WebSocket",
"WritableStream",
"WritableStreamDefaultController",
"WritableStreamDefaultWriter",
"atob",
"btoa",
"clearInterval",
"clearTimeout",
"console",
"crypto",
"fetch",
"localStorage",
"navigator",
"performance",
"queueMicrotask",
"sessionStorage",
"setInterval",
"setTimeout",
"structuredClone",
],
writable: [],
};
/**
* `shelljs` environment.
*/
export const ENV_SHELLJS: EnvPreset = {
readonly: [
"ShellString",
"cat",
"cd",
"chmod",
"cmd",
"config",
"cp",
"dirs",
"echo",
"env",
"error",
"errorCode",
"exec",
"exit",
"find",
"grep",
"head",
"ln",
"ls",
"mkdir",
"mv",
"popd",
"pushd",
"pwd",
"rm",
"sed",
"set",
"sort",
"tail",
"tempdir",
"test",
"touch",
"uniq",
"which",
],
writable: [],
};
/**
* `svelte` environment.
*/
export const ENV_SVELTE: EnvPreset = {
readonly: ["$bindable", "$derived", "$effect", "$host", "$inspect", "$props", "$state"],
writable: [],
};
/**
* `vitest` environment.
*/
export const ENV_VITEST: EnvPreset = {
readonly: [
"afterAll",
"afterEach",
"assert",
"assertType",
"beforeAll",
"beforeEach",
"chai",
"describe",
"expect",
"expectTypeOf",
"it",
"onTestFailed",
"onTestFinished",
"suite",
"test",
"vi",
"vitest",
],
writable: [],
};
/**
* `vue` environment.
*/
export const ENV_VUE: EnvPreset = {
readonly: [
"defineEmits",
"defineExpose",
"defineModel",
"defineOptions",
"defineProps",
"defineSlots",
"withDefaults",
],
writable: [],
};
/**
* `webextensions` environment.
*/
export const ENV_WEBEXTENSIONS: EnvPreset = {
readonly: ["browser", "chrome", "opr"],
writable: [],
};
/**
* `worker` environment.
*/
export const ENV_WORKER: EnvPreset = {
readonly: [
"AI",
"AICreateMonitor",
"AbortController",
"AbortSignal",
"AudioData",
"AudioDecoder",
"AudioEncoder",
"BackgroundFetchManager",
"BackgroundFetchRecord",
"BackgroundFetchRegistration",
"BarcodeDetector",
"Blob",
"BroadcastChannel",
"ByteLengthQueuingStrategy",
"CSSImageValue",
"CSSKeywordValue",
"CSSMathClamp",
"CSSMathInvert",
"CSSMathMax",
"CSSMathMin",
"CSSMathNegate",
"CSSMathProduct",
"CSSMathSum",
"CSSMathValue",
"CSSMatrixComponent",
"CSSNumericArray",
"CSSNumericValue",
"CSSPerspective",
"CSSRotate",
"CSSScale",
"CSSSkew",
"CSSSkewX",
"CSSSkewY",
"CSSStyleValue",
"CSSTransformComponent",
"CSSTransformValue",
"CSSTranslate",
"CSSUnitValue",
"CSSUnparsedValue",
"CSSVariableReferenceValue",
"Cache",
"CacheStorage",
"CanvasGradient",
"CanvasPattern",
"CloseEvent",
"CompressionStream",
"CountQueuingStrategy",
"CreateMonitor",
"CropTarget",
"Crypto",
"CryptoKey",
"CustomEvent",
"DOMException",
"DOMMatrix",
"DOMMatrixReadOnly",
"DOMPoint",
"DOMPointReadOnly",
"DOMQuad",
"DOMRect",
"DOMRectReadOnly",
"DOMStringList",
"DecompressionStream",
"DedicatedWorkerGlobalScope",
"EncodedAudioChunk",
"EncodedVideoChunk",
"ErrorEvent",
"Event",
"EventSource",
"EventTarget",
"File",
"FileList",
"FileReader",
"FileReaderSync",
"FileSystemDirectoryHandle",
"FileSystemFileHandle",
"FileSystemHandle",
"FileSystemObserver",
"FileSystemSyncAccessHandle",
"FileSystemWritableFileStream",
"FontFace",
"FontFaceSet",
"FontFaceSetLoadEvent",
"FormData",
"GPU",
"GPUAdapter",
"GPUAdapterInfo",
"GPUBindGroup",
"GPUBindGroupLayout",
"GPUBuffer",
"GPUBufferUsage",
"GPUCanvasContext",
"GPUColorWrite",
"GPUCommandBuffer",
"GPUCommandEncoder",
"GPUCompilationInfo",
"GPUCompilationMessage",
"GPUComputePassEncoder",
"GPUComputePipeline",
"GPUDevice",
"GPUDeviceLostInfo",
"GPUError",
"GPUExternalTexture",
"GPUInternalError",
"GPUMapMode",
"GPUOutOfMemoryError",
"GPUPipelineError",
"GPUPipelineLayout",
"GPUQuerySet",
"GPUQueue",
"GPURenderBundle",
"GPURenderBundleEncoder",
"GPURenderPassEncoder",
"GPURenderPipeline",
"GPUSampler",
"GPUShaderModule",
"GPUShaderStage",
"GPUSupportedFeatures",
"GPUSupportedLimits",
"GPUTexture",
"GPUTextureUsage",
"GPUTextureView",
"GPUUncapturedErrorEvent",
"GPUValidationError",
"HID",
"HIDConnectionEvent",
"HIDDevice",
"HIDInputReportEvent",
"Headers",
"IDBCursor",
"IDBCursorWithValue",
"IDBDatabase",
"IDBFactory",
"IDBIndex",
"IDBKeyRange",
"IDBObjectStore",
"IDBOpenDBRequest",
"IDBRecord",
"IDBRequest",
"IDBTransaction",
"IDBVersionChangeEvent",
"IdleDetector",
"ImageBitmap",
"ImageBitmapRenderingContext",
"ImageData",
"ImageDecoder",
"ImageTrack",
"ImageTrackList",
"LanguageDetector",
"Lock",
"LockManager",
"MediaCapabilities",
"MediaSource",
"MediaSourceHandle",
"MessageChannel",
"MessageEvent",
"MessagePort",
"NavigationPreloadManager",
"NavigatorUAData",
"NetworkInformation",
"Notification",
"Observable",
"OffscreenCanvas",
"OffscreenCanvasRenderingContext2D",
"Origin",
"PERSISTENT",
"Path2D",
"Performance",
"PerformanceEntry",
"PerformanceMark",
"PerformanceMeasure",
"PerformanceObserver",
"PerformanceObserverEntryList",
"PerformanceResourceTiming",
"PerformanceServerTiming",
"PeriodicSyncManager",
"PermissionStatus",
"Permissions",
"PressureObserver",
"PressureRecord",
"ProgressEvent",
"PromiseRejectionEvent",
"PushManager",
"PushSubscription",
"PushSubscriptionOptions",
"QuotaExceededError",
"RTCDataChannel",
"RTCEncodedAudioFrame",
"RTCEncodedVideoFrame",
"RTCError",
"RTCErrorEvent",
"RTCRtpScriptTransformer",
"RTCTransformEvent",
"ReadableByteStreamController",
"ReadableStream",
"ReadableStreamBYOBReader",
"ReadableStreamBYOBRequest",
"ReadableStreamDefaultController",
"ReadableStreamDefaultReader",
"ReportBody",
"ReportingObserver",
"Request",
"Response",
"RestrictionTarget",
"Scheduler",
"SecurityPolicyViolationEvent",
"Serial",
"SerialPort",
"ServiceWorker",
"ServiceWorkerContainer",
"ServiceWorkerRegistration",
"SourceBuffer",
"SourceBufferList",
"StorageBucket",
"StorageBucketManager",
"StorageManager",
"StylePropertyMapReadOnly",
"Subscriber",
"SubtleCrypto",
"SyncManager",
"TEMPORARY",
"TaskController",
"TaskPriorityChangeEvent",
"TaskSignal",
"Temporal",
"TextDecoder",
"TextDecoderStream",
"TextEncoder",
"TextEncoderStream",
"TextMetrics",
"TransformStream",
"TransformStreamDefaultController",
"TrustedHTML",
"TrustedScript",
"TrustedScriptURL",
"TrustedTypePolicy",
"TrustedTypePolicyFactory",
"URL",
"URLPattern",
"URLSearchParams",
"USB",
"USBAlternateInterface",
"USBConfiguration",
"USBConnectionEvent",
"USBDevice",
"USBEndpoint",
"USBInTransferResult",
"USBInterface",
"USBIsochronousInTransferPacket",
"USBIsochronousInTransferResult",
"USBIsochronousOutTransferPacket",
"USBIsochronousOutTransferResult",
"USBOutTransferResult",
"UserActivation",
"VideoColorSpace",
"VideoDecoder",
"VideoEncoder",
"VideoFrame",
"WGSLLanguageFeatures",
"WebAssembly",
"WebGL2RenderingContext",
"WebGLActiveInfo",
"WebGLBuffer",
"WebGLContextEvent",
"WebGLFramebuffer",
"WebGLObject",
"WebGLProgram",
"WebGLQuery",
"WebGLRenderbuffer",
"WebGLRenderingContext",
"WebGLSampler",
"WebGLShader",
"WebGLShaderPrecisionFormat",
"WebGLSync",
"WebGLTexture",
"WebGLTransformFeedback",
"WebGLUniformLocation",
"WebGLVertexArrayObject",
"WebSocket",
"WebSocketError",
"WebSocketStream",
"WebTransport",
"WebTransportBidirectionalStream",
"WebTransportDatagramDuplexStream",
"WebTransportDatagramsWritable",
"WebTransportError",
"WebTransportReceiveStream",
"WebTransportSendGroup",
"WebTransportSendStream",
"Worker",
"WorkerGlobalScope",
"WorkerLocation",
"WorkerNavigator",
"WritableStream",
"WritableStreamDefaultController",
"WritableStreamDefaultWriter",
"XMLHttpRequest",
"XMLHttpRequestEventTarget",
"XMLHttpRequestUpload",
"addEventListener",
"ai",
"atob",
"btoa",
"caches",
"cancelAnimationFrame",
"clearInterval",
"clearTimeout",
"close",
"console",
"createImageBitmap",
"crossOriginIsolated",
"crypto",
"dispatchEvent",
"fetch",
"fonts",
"importScripts",
"indexedDB",
"isSecureContext",
"location",
"name",
"navigator",
"origin",
"performance",
"postMessage",
"queueMicrotask",
"removeEventListener",
"reportError",
"requestAnimationFrame",
"scheduler",
"self",
"setInterval",
"setTimeout",
"structuredClone",
"trustedTypes",
"webkitRequestFileSystem",
"webkitRequestFileSystemSync",
"webkitResolveLocalFileSystemSyncURL",
"webkitResolveLocalFileSystemURL",
"when",
],
writable: [
"onerror",
"onlanguagechange",
"onmessage",
"onmessageerror",
"onoffline",
"ononline",
"onrejectionhandled",
"onrtctransform",
"onunhandledrejection",
],
};
/**
* `Map` of variables defined by environments.
*/
export const ENVS: Map<string, EnvPreset> = new Map([
["amd", ENV_AMD],
["applescript", ENV_APPLESCRIPT],
["astro", ENV_ASTRO],
["atomtest", ENV_ATOMTEST],
["audioworklet", ENV_AUDIOWORKLET],
["browser", ENV_BROWSER],
["builtin", ENV_BUILTIN],
["bun", ENV_BUN],
["commonjs", ENV_COMMONJS],
["embertest", ENV_EMBERTEST],
["es2015", ENV_ES_2015],
["es2016", ENV_ES_2016],
["es2017", ENV_ES_2017],
["es2018", ENV_ES_2018],
["es2019", ENV_ES_2019],
["es2020", ENV_ES_2020],
["es2021", ENV_ES_2021],
["es2022", ENV_ES_2022],
["es2023", ENV_ES_2023],
["es2024", ENV_ES_2024],
["es2025", ENV_ES_2025],
["es2026", ENV_ES_2026],
["es6", ENV_ES_6],
["greasemonkey", ENV_GREASEMONKEY],
["jasmine", ENV_JASMINE],
["jest", ENV_JEST],
["jquery", ENV_JQUERY],
["meteor", ENV_METEOR],
["mocha", ENV_MOCHA],
["mongo", ENV_MONGO],
["nashorn", ENV_NASHORN],
["node", ENV_NODE],
["phantomjs", ENV_PHANTOMJS],
["prototypejs", ENV_PROTOTYPEJS],
["protractor", ENV_PROTRACTOR],
["qunit", ENV_QUNIT],
["serviceworker", ENV_SERVICEWORKER],
["shared-node-browser", ENV_SHARED_NODE_BROWSER],
["shelljs", ENV_SHELLJS],
["svelte", ENV_SVELTE],
["vitest", ENV_VITEST],
["vue", ENV_VUE],
["webextensions", ENV_WEBEXTENSIONS],
["worker", ENV_WORKER],
]);