GNU bug report logs - #68941
[PATCH 00/44] Node : a solution for tiny packages.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Mon, 5 Feb 2024 23:17:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 68941 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [bug#68941] [PATCH v2 04/44] gnu: Add node-has-proto.
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





This bug report was last modified 1 year and 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.