From d1f8ccb10daba0b4eb4db4986615a545e11a0d87 Mon Sep 17 00:00:00 2001 From: Jonas Date: Sun, 9 Feb 2025 10:32:59 -0500 Subject: [PATCH] url: expose urlpattern as global MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/56950 Reviewed-By: Yagiz Nizipli Reviewed-By: Matthew Aitken Reviewed-By: Matteo Collina Reviewed-By: Filip Skokan Reviewed-By: James M Snell Reviewed-By: Michaƫl Zasso --- doc/api/globals.md | 11 +++++++++++ .../bootstrap/web/exposed-window-or-worker.js | 4 +++- test/wpt/test-urlpattern.js | 2 -- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/doc/api/globals.md b/doc/api/globals.md index 8ee20e0f09..107aaf58c2 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -1145,6 +1145,16 @@ added: v10.0.0 The WHATWG `URL` class. See the [`URL`][] section. +## `URLPattern` + + + + + +The WHATWG `URLPattern` class. See the [`URLPattern`][] section. + ## `URLSearchParams`