0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00
astro/.changeset/hip-toys-shake.md
Matthew Phillips 932bd2eb07
Encrypt server islands props (#11535)
* Encrypt server islands props

* Comment on the hex algo

* Use @oslojs/encoding

* Rename functions

* Add base to test

* Remove old tests no longer valid

* Run test locally

* Make sure adapters run before manifest

* Add a changeset

* Adjust test adapter

* don't assume adapter is at root

* Add a changeset

* Updates on review comments

* Update oslo

* Add better description of Node adapter change
2024-08-13 08:58:47 -04:00

398 B

@astrojs/node
patch

Move polyfills up before awaiting the env module in the Node.js adapter.

Previously the env setting was happening before the polyfills were applied. This means that if the Astro env code (or any dependencies) depended on crypto, it would not be polyfilled in time.

Polyfills should be applied ASAP to prevent races. This moves it to the top of the Node adapter.