In a non-browser environment, these dependencies will not be supported. A non-browser environment is a substantial use case for a graphql server (perhaps more than a browser environment), and should be supported.
Solution
Enable support for js-sys behind a js Cargo feature only.
Resolved #1118
Synopsis
From #1118:
Solution
Enable support for
js-sys
behind ajs
Cargo feature only.