You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* move install-fetch to node/polyfills, swap node-fetch for undici
* keep using node-fetch for now
* polyfill crypto
* remove logs
* enable tests
* use webcrypto API
* lockfile
* lint
* fix some typechecking stuff
* reset lockfile
* undo unrelated changes
* only polyfill missing APIs
* update tests
* more tweaks
* use set-cookie-parser in adapter-netlify
* gah
* always polyfill, even on node 18
* include crypto in list of provided APIs
* fix unrelated typechecking issue
* changeset
* Update packages/kit/src/node/index.js
Co-authored-by: Ben McCann <[email protected]>
Co-authored-by: Ben McCann <[email protected]>
Copy file name to clipboardExpand all lines: documentation/docs/01-web-standards.md
+8
Original file line number
Diff line number
Diff line change
@@ -65,3 +65,11 @@ export {};
65
65
// ---cut---
66
66
constfoo=url.searchParams.get('foo');
67
67
```
68
+
69
+
### Web Crypto
70
+
71
+
The [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) is made available via the `crypto` global. It's used internally for [Content Security Policy](/docs/configuration#csp) headers, but you can also use it for things like generating UUIDs:
0 commit comments