GNU bug report logs -
#68941
[PATCH 00/44] Node : a solution for tiny packages.
Previous Next
Full log
Message #166 received at 68941 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/node-xyz.scm (node-has): New variable.
Change-Id: I9e890eaecc13c3d9c67a89f5e93f449473dcbe62
---
gnu/packages/node-xyz.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 1e930e16ed..eaa1959207 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -515,6 +515,15 @@ (define-public node-global-gradle-clean
clean task of each project.")
(license license:expat)))
+(define-public node-has
+ (trivial-node-package
+ "has" 0
+ "(obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop)"
+ "This package returns a Javascript function that returns a boolean
+indicating whether this object has the specified property as its own property
+(as opposed to inheriting it)."
+ #:mozilla-doclink "Global_Objects/Object/hasOwnProperty"))
+
(define-public node-has-proto
(trivial-node-package
"has-proto" 0 "() => true"
--
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.