File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ New features:
56
56
- ` INSPECT_MAX_BYTES ` : https://nodejs.org/docs/latest-v18.x/api/buffer.html#bufferinspect_max_bytes
57
57
- ` MAX_LENGTH ` : https://nodejs.org/docs/latest-v18.x/api/buffer.html#bufferconstantsmax_length
58
58
- ` 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 )
60
60
61
61
Bugfixes:
62
62
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ data Encoding
14
14
| UTF16LE
15
15
| UCS2
16
16
| Base64
17
+ | Base64Url
17
18
| Latin1
18
19
| Binary
19
20
| Hex
@@ -24,6 +25,7 @@ instance showEncoding :: Show Encoding where
24
25
show UTF16LE = " UTF16LE"
25
26
show UCS2 = " UCS2"
26
27
show Base64 = " Base64"
28
+ show Base64Url = " Base64Url"
27
29
show Latin1 = " Latin1"
28
30
show Binary = " Binary"
29
31
show Hex = " Hex"
@@ -36,6 +38,7 @@ encodingToNode UTF8 = "utf8"
36
38
encodingToNode UTF16LE = " utf16le"
37
39
encodingToNode UCS2 = " ucs2"
38
40
encodingToNode Base64 = " base64"
41
+ encodingToNode Base64Url = " base64url"
39
42
encodingToNode Latin1 = " latin1"
40
43
encodingToNode Binary = " binary"
41
44
encodingToNode Hex = " hex"
You can’t perform that action at this time.
0 commit comments