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 #68 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 21/44] gnu: Add node-is-typed-array.
Date: Tue,  6 Feb 2024 00:19:09 +0100
* gnu/packages/node-xyz.scm (node-is-typed-array): New variable.

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

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index d423281103..785e3a8844 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -2238,6 +2238,14 @@ (define-public node-which-typed-array
 robustly cache all language-level intrinsics at first require time.")
     (license license:expat)))
 
+(define-public node-is-typed-array
+  (node-trivial-package
+   "is-typed-array" 0 "(value) => !!whichTypedArray(value)"
+   "This package provides a Javascript static method that determines whether
+the passed value is a @code{TypedArray} object."
+   #:mozilla-doclink "Global_Objects/TypedArray"
+   #:propagated-inputs (list node-which-typed-array)))
+
 (define-public node-wrappy
   (package
     (name "node-wrappy")
-- 
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.