diff options
author | Leo K <crowlkats@toaxl.com> | 2021-06-05 22:56:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-05 22:56:59 +0200 |
commit | bb0c90cadbb99784681a2acac1fd65ac7f802297 (patch) | |
tree | 6d5e1f668ee54c3ae6ed5ff63f987499f882a6cf /runtime/js/99_main.js | |
parent | 368c784d7f6feff6bb483ca2b02cf2c44ea29c26 (diff) |
fix(crypto): change Crypto to interface (#10853)
Co-authored-by: Luca Casonato <hello@lcas.dev>
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r-- | runtime/js/99_main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index f98c4973e..d64625993 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -302,7 +302,8 @@ delete Object.prototype.__proto__; console: util.writable( new Console((msg, level) => core.print(msg, level > 1)), ), - crypto: util.readOnly(crypto), + crypto: util.readOnly(crypto.crypto), + Crypto: util.nonEnumerable(crypto.Crypto), fetch: util.writable(fetch.fetch), performance: util.writable(performance.performance), setInterval: util.writable(timers.setInterval), |