Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node style import in deno workers. #389

Closed
Kartik4152 opened this issue May 15, 2023 · 2 comments
Closed

Node style import in deno workers. #389

Kartik4152 opened this issue May 15, 2023 · 2 comments

Comments

@Kartik4152
Copy link

I am using deno on supabase for edge functions.

I require the crypto library for some functionality, particularly (createCipheriv, createDecipheriv).
Before 0.178.0 I could import directly from the std/node directory, but since that was merged there is no way to import on deno workers.
The node: syntax is not supported on edge workers as it is not a valid url.
Is there any way to make node style imports work on workers?

@ry
Copy link
Member

ry commented May 15, 2023

It’s coming to Deno Deploy very soon now.

@bartlomieju bartlomieju transferred this issue from denoland/deno May 15, 2023
@satyarohith
Copy link
Member

Yes, node: will come soon along with npm:. Closing this as a duplicate of #314

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants