File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ New features:
5656 - ` INSPECT_MAX_BYTES ` : https://nodejs.org/docs/latest-v18.x/api/buffer.html#bufferinspect_max_bytes
5757 - ` MAX_LENGTH ` : https://nodejs.org/docs/latest-v18.x/api/buffer.html#bufferconstantsmax_length
5858 - ` MAX_STRING_LENGTH ` : https://nodejs.org/docs/latest-v18.x/api/buffer.html#bufferconstantsmax_string_length
59-
59+ - Added a new data constructor for ` Encoding ` : ` Base64Url ` ( # 56 by @ JordanMartinez )
6060
6161Bugfixes:
6262
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ data Encoding
1414 | UTF16LE
1515 | UCS2
1616 | Base64
17+ | Base64Url
1718 | Latin1
1819 | Binary
1920 | Hex
@@ -24,6 +25,7 @@ instance showEncoding :: Show Encoding where
2425 show UTF16LE = " UTF16LE"
2526 show UCS2 = " UCS2"
2627 show Base64 = " Base64"
28+ show Base64Url = " Base64Url"
2729 show Latin1 = " Latin1"
2830 show Binary = " Binary"
2931 show Hex = " Hex"
@@ -36,6 +38,7 @@ encodingToNode UTF8 = "utf8"
3638encodingToNode UTF16LE = " utf16le"
3739encodingToNode UCS2 = " ucs2"
3840encodingToNode Base64 = " base64"
41+ encodingToNode Base64Url = " base64url"
3942encodingToNode Latin1 = " latin1"
4043encodingToNode Binary = " binary"
4144encodingToNode Hex = " hex"
You can’t perform that action at this time.
0 commit comments