Deno Newsletter #40 - v0.24.0 - WASM imports


Welcome to Deno Newsletter issue #40!


Every week we serve you with a bunch of useful information and links for every Deno enthusiast.


Useful links:


pic.twitter.com/FQ0oddzFvt

— hashrock (@hashedrock) November 22, 2019

Release

v0.24.0 released. Deno now support importing WASM files and "deno bundle" output no longer needs an AMD preamble https://t.co/HnbcyYLCKt

— Deno (@deno_land) November 15, 2019

Latest release is Deno v0.24.0

  • feat: Support .wasm via imports (#3328)
  • feat: Add Node compat module std/node (#3319)
  • feat: Add permissions.request (#3296)
  • feat: Add prettier flags to deno fmt (#3314)
  • feat: Make bundles fully standalone (#3325)
  • feat: Allow http server to take { hostname, port } argument (#3233)
  • fix: Check for closing status when iterating Listener (#3309)
  • fix: Error handling in std/fs/walk() (#3318)
  • fix: Exclude prebuilt from deno_src release (#3272)
  • fix: Turn on TS strict mode for deno_typescript (#3330)
  • fix: URL parse bug (#3316)
  • refactor: resources and workers (#3285#3271#3274#3342#3290)
  • upgrade: Prettier 1.19 (#3275#3305)
  • upgrade: Rust deps (#3292)
  • upgrade: TypeScript 3.7 (#3275)
  • upgrade: V8 8.0.192

As we're getting closer to v1.0, remember to track the progress in this issue.

Development

Ported Node.js CommonJS module loader to std/node of Deno standard modules. You can now use `createRequire` to create a `require_` function for importing CJS modules to Deno scripts.

Would be a good starting point to Deno-Node compatibility (as we are adding more compat modules) pic.twitter.com/4rU4QtRU4Y

— Kevin Qian (@KevKassimo) November 19, 2019

std/node: add some Node.js polyfill to require()


feat: native plugins by afinch7


refactor: reorganize global flags by ry


YAML support in @deno_land is merged!

Great job @lsagetlethias, what an amazing contribution... you rock 💪https://t.co/wtrXxzIhFs

cc @DenoNews @ParisDeno

— Sylvain PONTOREAU (@spontoreau) November 18, 2019

Support named exports on bundles


@deno_land now uses #rustlang futures 0.3. I can't wait to see what impact @tokio_rs 0.2 with new scheduler will have on our performance.https://t.co/5FTX53bMkN

— Bartek Iwańczuk (@biwanczuk) November 17, 2019

fmt: respect prettierrc and prettierignore


Conferences

Happy to announce that Bert Belder @piscisaureus, early @nodejs core team member now working on @deno_land will be on stage at dotJS day 2!
Get your tickets at https://t.co/IRPYlUL3NL pic.twitter.com/7tm3KOZNwz

— dotJS (@dotJS) October 30, 2019

Not strictly Deno related, but thanks to our friends from @DenoWarsaw we have 25% discount for tickets to ConfrontJS, just use "deno-warsaw-25" code.

The tweet at https://twitter.com/DenoWarsaw/status/1194924497192865793 no longer exists.

Articles

I blogged about Deno @deno_land @deno_land https://t.co/a89SRV3EXO

— Kryz (@kryz_p) November 12, 2019

Write a small API using Deno - DEV Community 👩‍💻👨‍💻 Write a small API using Deno - DEV Community 👩‍💻👨‍💻dev.to


The tweet at https://twitter.com/darrenzully/status/1196879058971303937 no longer exists.

Cognizant Softvision - Let’s Talk about Deno Cognizant Softvision - Let’s Talk about Denowww.cognizantsoftvision.com

Resources

🦕 on Node.js (Working properly) #denoland pic.twitter.com/dcK5p39Ojo

— keroxp (@keroxp) November 22, 2019

GitHub - rsp/deno-caught: Deno port of https://github.com/rsp/node-caught

Deno port of https://github.com/rsp/node-caught.

Thanks for reading and stay tuned for more news next week!

- Bartek


Get the latest Deno articles, projects, and other resources.