@@ -2574,6 +2574,47 @@ (define-public node-util-deprecate
function with browser support.")
(license license:expat)))
+(define-public node-which-boxed-primitive
+ (package
+ (name "node-which-boxed-primitive")
+ (version "1.0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/inspect-js/which-boxed-primitive")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "10gns1ljcq87bp1rgd0h21hzl8advyadwxd87f48l4fr0clz9y0z"))))
+ (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"
+ "eslint"
+ "has-symbols"
+ "in-publish"
+ "npmignore"
+ "nyc"
+ "object-inspect"
+ "safe-publish-latest"
+ "tape")))))
+ #:tests? #f)) ; FIXME tests depend on node-tape.
+ (inputs
+ (list node-is-symbol node-is-bigint node-is-boolean-object
+ node-is-number-object node-is-string))
+ (home-page "https://github.com/inspect-js/which-boxed-primitive")
+ (synopsis "Javascript function to determine which boxed primitive it is")
+ (description "This package provides a Javascript function to determine
+which kind of boxed primitive the value given is.")
+ (license license:expat)))
+
(define-public node-which-typed-array
(package
(name "node-which-typed-array")