Subject: [PATCH 43/44] gnu: Add node-regexp-prototype-flags.

From: Nicolas Graves <[email-masked]>
Date: Tue, 6 Feb 2024 00:19:31 +0100

* gnu/packages/node-xyz.scm (node-regexp-prototype-flags): New variable.

Change-Id: I8fcd23f526da33443a2932d277729050fc1a8c2b
---
 gnu/packages/node-xyz.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index da27cf3e5e..ccabed4bea 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1824,6 +1824,13 @@ (define-public node-readable-stream
 that behaves the same across different versions.")
     (license license:expat)))
 
+(define-public node-regexp-prototype-flags
+  (node-trivial-package
+   "regexp.prototype.flags" 0 "RegExp.prototype.flags"
+   "This package provides a Javascript static method that returns the flags of
+a given regular expression."
+   #:mozilla-doclink "Global_Objects/RegExp/flags"))
+
 (define-public node-resolve-protobuf-schema
   (package
     (name "node-resolve-protobuf-schema")
-- 
2.41.0