Subject: [PATCH v2 04/44] gnu: Add node-has-proto.

From: Nicolas Graves <[email-masked]>
Date: Thu, 8 Feb 2024 01:24:27 +0100

* gnu/packages/node-xyz.scm (node-has-proto): New variable.

Change-Id: I4ce9dd80755207088b00121c2ea9f6bcb4761817
---
 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 a8607bd8b4..1e930e16ed 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -515,6 +515,13 @@ (define-public node-global-gradle-clean
 clean task of each project.")
     (license license:expat)))
 
+(define-public node-has-proto
+  (trivial-node-package
+   "has-proto" 0 "() => true"
+   "This package returns true in Javascript because web browsers implement
+Object prototypes."
+   #:mozilla-doclink "Global_Objects/Object/getPrototypeOf"))
+
 (define-public node-ieee754
   (package
     (name "node-ieee754")
-- 
2.41.0