summaryrefslogtreecommitdiff
path: root/packages/create-astro/test/utils.js
diff options
context:
space:
mode:
authorGravatar Okiki <okikio.dev@gmail.com> 2022-04-26 21:52:35 +0000
committerGravatar Okiki <okikio.dev@gmail.com> 2022-04-26 21:52:35 +0000
commitf0d22b9332ef7ab9606d28576b80873aa2dfdf52 (patch)
tree986f7d8eaf7927ede78188de99a75f672133e36b /packages/create-astro/test/utils.js
parent8d8433ee50f10d15ebabc1e1f6ca424fe3427219 (diff)
downloadastro-f0d22b9332ef7ab9606d28576b80873aa2dfdf52.tar.gz
astro-f0d22b9332ef7ab9606d28576b80873aa2dfdf52.tar.zst
astro-f0d22b9332ef7ab9606d28576b80873aa2dfdf52.zip
fix: replace serialize-javascript & random-bytes with custom internal modules
serialize-javascript relies on random-bytes and random-bytes relies on nodes crypto module, unfortunately the crypto module isn't available on the browser, so it breaks the repl. When one tries to upgrade the repl to the latest version of Astro, the browser complains about the missing crypto module. The changes shouldn't affect the behaviour of Astro in any meaning full way.
Diffstat (limited to 'packages/create-astro/test/utils.js')
0 files changed, 0 insertions, 0 deletions