1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -05:00

feat: stabilize URLPattern API (#12256)

This commit is contained in:
Luca Casonato 2021-09-29 10:42:32 +02:00 committed by GitHub
parent 3ab682918a
commit 5b526e5d17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -395,6 +395,7 @@ delete Object.prototype.__proto__;
TextEncoderStream: util.nonEnumerable(encoding.TextEncoderStream),
TransformStream: util.nonEnumerable(streams.TransformStream),
URL: util.nonEnumerable(url.URL),
URLPattern: util.nonEnumerable(urlPattern.URLPattern),
URLSearchParams: util.nonEnumerable(url.URLSearchParams),
WebSocket: util.nonEnumerable(webSocket.WebSocket),
MessageChannel: util.nonEnumerable(messagePort.MessageChannel),
@ -435,7 +436,6 @@ delete Object.prototype.__proto__;
const unstableWindowOrWorkerGlobalScope = {
BroadcastChannel: util.nonEnumerable(broadcastChannel.BroadcastChannel),
URLPattern: util.nonEnumerable(urlPattern.URLPattern),
WebSocketStream: util.nonEnumerable(webSocket.WebSocketStream),
GPU: util.nonEnumerable(webgpu.GPU),