GNU bug report logs -
#67666
[PATCH] gnu: Add node-safe-stable-stringify.
Previous Next
Reported by: Rikard Nordgren <hrn <at> posteo.net>
Date: Wed, 6 Dec 2023 20:05:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67666 in the body.
You can then email your comments to 67666 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#67666
; Package
guix-patches
.
(Wed, 06 Dec 2023 20:05:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Rikard Nordgren <hrn <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 06 Dec 2023 20:05:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/node-xyz.scm (node-safe-stable-stringify): New variable.
Change-Id: Ia54a44403807479652fe5831b08acdb661dca9e1
---
gnu/packages/node-xyz.scm | 42 +++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 6c16417309..48bfdb534c 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -467,6 +467,48 @@ (define-public node-resolve-protobuf-schema
resolve all imports.")
(license license:expat)))
+(define-public node-safe-stable-stringify
+ (package
+ (name "node-safe-stable-stringify")
+ (version "2.4.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/BridgeAR/safe-stable-stringify")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "008adig8j13rn2a21ngnp770y4zz6yq176ix5rkskjbb8g2qwapg"))))
+ (build-system node-build-system)
+ (arguments
+ '(#:tests? #f
+ #:phases (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda _
+ (delete-dependencies '("benchmark" "clone"
+ "fast-json-stable-stringify"
+ "fast-safe-stringify"
+ "fast-stable-stringify"
+ "faster-stable-stringify"
+ "fastest-stable-stringify"
+ "json-stable-stringify"
+ "json-stringify-deterministic"
+ "json-stringify-safe"
+ "standard"
+ "tap"
+ "typescript"
+ "@types/node"
+ "@types/json-stable-stringify")))))))
+ (home-page "https://github.com/BridgeAR/safe-stable-stringify")
+ (synopsis "Serialization of javascript objects")
+ (description
+ "Safe, deterministic and fast serialization alternative to JSON.stringify.
+Gracefully handles circular structures and bigint instead of throwing.
+Optional custom circular values, deterministic behavior or strict JSON
+compatibility check.")
+ (license license:expat)))
+
(define-public node-stack-trace
;; There have been improvements since the last release.
(let ((commit "4fd379ee78965ce7ce8820b436f1b1b590d5dbcf")
base-commit: 23627b1706af25a0a30b96b9169a3495279aff1b
--
2.34.1
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Fri, 22 Dec 2023 16:42:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Rikard Nordgren <hrn <at> posteo.net>
:
bug acknowledged by developer.
(Fri, 22 Dec 2023 16:42:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 67666-done <at> debbugs.gnu.org (full text, mbox):
Rikard Nordgren <hrn <at> posteo.net> skribis:
> * gnu/packages/node-xyz.scm (node-safe-stable-stringify): New variable.
>
> Change-Id: Ia54a44403807479652fe5831b08acdb661dca9e1
Applied, thanks!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 20 Jan 2024 12:24:19 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 149 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.