@digipair/skill-imap 0.100.0 → 0.101.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +2 -0
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -27859,6 +27859,8 @@ const applyTemplate = (value, context)=>{
|
|
|
27859
27859
|
btoa: (value)=>btoa(value),
|
|
27860
27860
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|
|
27861
27861
|
decodeURIComponent: (value)=>decodeURIComponent(value),
|
|
27862
|
+
encodeUTF8: (value)=>Array.from(new TextEncoder().encode(value)).map((b)=>String.fromCharCode(b)).join(''),
|
|
27863
|
+
decodeUTF8: (value)=>new TextDecoder().decode(new Uint8Array(Array.from(value).map((c)=>c.charCodeAt(0)))),
|
|
27862
27864
|
JSONparse: (value)=>JSON.parse(value),
|
|
27863
27865
|
JSONstringify: (value)=>JSON.stringify(value)
|
|
27864
27866
|
}));
|