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 #229 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 26/44] gnu: Add node-is-arguments.
Date: Thu,  8 Feb 2024 01:24:49 +0100
* gnu/packages/node-xyz.scm (node-is-arguments): New variable.

Change-Id: I1b0ad89cad5f23c66e3d316ee9857082cfc19c34
---
 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 d5cfcd60d3..bc32b3878b 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -871,6 +871,14 @@ (define-public node-irc
 It has functions for joining, parting, talking, and many other IRC commands.")
     (license license:gpl3+)))
 
+(define-public node-is-arguments
+  (trivial-node-package
+   "is-arguments" 0
+   "(value) => Object.prototype.toString.call(value) === '[object Arguments]'"
+   "This package provides a Javascript static method that determines whether
+the passed value is an @code{Arguments} object."
+   #:mozilla-doclink "Functions/arguments"))
+
 (define-public node-is-array-buffer
   (package
     (name "node-is-array-buffer")
-- 
2.41.0





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

Previous Next


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