mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2026-01-27 19:34:50 -06:00
nongnu: Add node-call-bound.
* nongnu/packages/claude-code.scm (node-call-bound): New variable.
This commit is contained in:
parent
55f352ea61
commit
4e96fc4db3
1 changed files with 31 additions and 0 deletions
|
|
@ -1203,3 +1203,34 @@ helper functions.")
|
|||
that is safe from prototype pollution attacks.")
|
||||
(license license:expat)))
|
||||
|
||||
(define node-call-bound
|
||||
(package
|
||||
(name "node-call-bound")
|
||||
(version "1.0.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://registry.npmjs.org/call-bound/-/call-bound-"
|
||||
version ".tgz"))
|
||||
(sha256
|
||||
(base32 "0cmxdglg3lrrz7apqgvqbkd57jicr98fxwhi92rvkwgd5x4ny21j"))))
|
||||
(build-system node-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'patch-dependencies 'delete-dev-dependencies
|
||||
(lambda _
|
||||
(modify-json (delete-dev-dependencies)))))))
|
||||
(inputs
|
||||
(list
|
||||
node-call-bind-apply-helpers
|
||||
node-get-intrinsic))
|
||||
(home-page "https://www.npmjs.com/package/call-bound")
|
||||
(synopsis "Robustly bound JavaScript built-ins")
|
||||
(description "This package provides robustly bound versions of JavaScript built-in
|
||||
methods that cannot be tampered with by modifying prototypes.")
|
||||
(license license:expat)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue