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


Message #250 received at 68941 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 68941 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v2 33/44] gnu: Add node-is-bigint.
Date: Thu,  8 Feb 2024 01:24:56 +0100
* gnu/packages/node-xyz.scm (node-is-bigint): New variable.

Change-Id: I1ab516916b6968e77fab39eb206b4ec8905221c0
---
 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 ff9201382f..ccd0e0c31f 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -928,6 +928,13 @@ (define-public node-is-array-buffer
 Javascript @code{ArrayBuffer}.")
     (license license:expat)))
 
+(define-public node-is-bigint
+  (trivial-node-package
+   "is-bigint" 0 (node-is-type-object "BigInt")
+   "This package provides a Javascript static method that determines whether
+the passed value is a @code{Bigint} object."
+   #:mozilla-doclink "Global_Objects/BigInt"))
+
 (define-public node-is-callable
   (package
     (name "node-is-callable")
-- 
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.