[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68941] [PATCH v2 29/44] gnu: Add node-is-map.
From: |
Nicolas Graves |
Subject: |
[bug#68941] [PATCH v2 29/44] gnu: Add node-is-map. |
Date: |
Thu, 8 Feb 2024 01:24:52 +0100 |
* gnu/packages/node-xyz.scm (node-is-map): New variable.
---
gnu/packages/node-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 0829753f5f..7aa5ad7039 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -973,6 +973,47 @@ (define-public node-is-callable
value is callable.")
(license license:expat)))
+(define-public node-is-map
+ (package
+ (name "node-is-map")
+ (version "2.0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/inspect-js/is-map")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0v14r759b6nhqawy5qlm40y84aa3zyy9bk70309779z0v1x8kmi3"))))
+ (build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies
+ '("@ljharb/eslint-config"
+ "aud"
+ "auto-changelog"
+ "core-js"
+ "es5-shim"
+ "es6-shim"
+ "eslint"
+ "for-each"
+ "in-publish"
+ "npmignore"
+ "nyc"
+ "object-inspect"
+ "safe-publish-latest"
+ "tape")))))
+ #:tests? #f)) ; FIXME tests depend on node-tape.
+ (home-page "https://github.com/inspect-js/is-map")
+ (synopsis "Javascript predicate to identify if value is @code{Map}")
+ (description "This package provides a Javascript function to identify if a
+value is a JS @code{Map}.")
+ (license license:expat)))
+
(define-public node-is-regex
(package
(name "node-is-regex")
--
2.41.0
- [bug#68941] [PATCH v2 16/44] gnu: Add node-is-regex., (continued)
- [bug#68941] [PATCH v2 16/44] gnu: Add node-is-regex., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 14/44] gnu: Add node-call-bind., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 17/44] gnu: Add node-which-typed-array., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 22/44] gnu: Add node-is-shared-array-buffer., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 30/44] gnu: Add node-is-set., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 11/44] gnu: Add node-for-each., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 15/44] gnu: Add node-object-inspect., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 24/44] gnu: Add node-is-array-buffer., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 26/44] gnu: Add node-is-arguments., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 27/44] gnu: Add node-isarray., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 29/44] gnu: Add node-is-map.,
Nicolas Graves <=
- [bug#68941] [PATCH v2 31/44] gnu: Add node-is-string., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 34/44] gnu: Add node-is-boolean-object., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 38/44] gnu: Add node-which-collection., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 36/44] gnu: Add node-es-get-iterator., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 39/44] gnu: Add node-array-buffer-byte-length., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 40/44] gnu: Add node-is-date-object., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 18/44] gnu: Add node-side-channel., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 28/44] gnu: Add node-stop-iteration-iterator., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 12/44] gnu: Add node-available-typed-arrays., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 13/44] gnu: Add node-gopd., Nicolas Graves, 2024/02/07