feat(js-sandbox): expose atob & btoa functions for Node.js (#3724)

Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
This commit is contained in:
Florian Metz
2024-02-05 18:42:55 +01:00
committed by GitHub
parent 0ba33ec187
commit 0028f6e878
4 changed files with 95 additions and 0 deletions

View File

@@ -1256,5 +1256,11 @@
"!type": "fn(value: ?) -> bool"
}
}
},
"btoa": {
"!type": "fn(data: string) -> string"
},
"atob": {
"!type": "fn(data: string) -> string"
}
}