---
title: "Using ML to rewrite a test suite to Playwright"
publication: "Node Weekly"
issue: 453
published_at: "2022-09-08"
canonical_url: "https://nodeweekly.com/issues/453"
---

Plus Dr. Axel explains it all, a way to spy on webpack bundles, and a handy npm package upgrade tool. |        

#​453 — September 8, 2022 

[Read on the Web](https://nodeweekly.com/issues/453)  

![Node.js Weekly](https://res.cloudinary.com/cpress/image/upload/v1653576619/lgfqinzbdqttwmhvljxb.png) 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/exlzlxxlygs7631kcduq.jpg)](https://2ality.com/2022/09/nodejs-overview.html)  

[An Overview of Node's Architecture, Event Loop, and More](https://2ality.com/2022/09/nodejs-overview.html) — We’re were starting to suspect that the good doctor (also the author of books like [Deep JavaScript](https://exploringjs.com/deep-js/)) was working on a Node book and.. he is: [“Writing cross-platform shell scripts with Node.js.”](https://buttondown.email/rauschma) Happily, we get to enjoy the byproducts of his work like this succinct, yet technical, overview of Node’s key elements. 

Dr. Axel Rauschmayer   [![\](https://copm.s3.amazonaws.com/b5c93c35.png)](https://dashboard.memetria.com/nodeweekly) 

[Memetria: Secure, Scalable, Full-Featured Redis 7 Hosting](https://dashboard.memetria.com/nodeweekly) — The latest Redis features, instrumented and scaled with the tools teams need as they grow. 

Memetria sponsor   

🤖 [Rewriting Tests from Cypress to Playwright with AI](https://contra.com/p/PWBcPYZc-rewriting-tests-from-cypress-to-playwright-using-gpt-3) — Gajus needed to move an entire integration test suite from one framework to another – boring and laborious job, right? Gajus put AI to work, first in the shape of GitHub’s Copilot, but then using OpenAI’s GPT3 model directly. It _sorta_ worked, but I can’t help but feel that then your tests might need their own tests… 😆 

Gajus Kuizinas   

🔎 [GradeJS: Scan Production Webpack Bundles for Modules Within](https://gradejs.com/) — Even if you don’t have access to the original source for a web site, this tool can try and figure out what npm packages were used even with minified or tree-shaken bundles (if webpack 3-5 was used). 

Konstantin Darutkin   

[Deploying a Node App and Postgres Database to Fly.io](https://simonplend.com/deploying-a-node-app-and-postgres-database-to-fly-io/) — [fly.io](https://fly.io/) is one of a handful of newer app hosting platforms (along with [Railway](https://railway.app/) and [Render](https://render.com/)) doing a great job at building upon the developer experience pioneered by Heroku. Simon shows how easy it is to get up and running. 

Simon Plenderleith   

[Dependabot Unlocks Transitive Dependencies for npm Projects](https://github.blog/changelog/2022-09-07-dependabot-unlocks-transitive-dependencies-for-npm-projects/) — _“Your GitHub repos with Dependabot alerts enabled and Dependabot security updates enabled will automatically generate Dependabot pull requests for vulnerable npm transitive dependencies.”_ 

GitHub   

[Get a Demo of a Node.js Transactional Notification Management System](https://www.courier.com/request-demo/?utm_campaign=demand-gen&utm_source=email&utm_medium=node-weekly-9-8&utm_content=request-demo) 

Courier.com sponsor   

▶[Containerize your Development with VS Code Dev Containers](https://www.youtube.com/watch?v=cB86HE_HIDc) — VS Code has [the option](https://code.visualstudio.com/docs/remote/containers) for using a Docker container as a development environment so you can get the advantage of more easily reproducible, isolated environments, without leaving the editor. _(8 minutes.)_ 

The UI Dawg   

🛠 Code & Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/lkonjrvafsm0hlzk6lzn.jpg)](https://github.com/raineorshine/npm-check-updates)  

[npm-check-updates: Update `package.json` Dependencies to Latest Versions](https://github.com/raineorshine/npm-check-updates) — That is, as opposed to the _specified_ versions. A particularly neat feature is the `-i` interactive mode so you can look at potential upgrades and then action them one by one. (Thanks to Sam Selikoff [for reminding us](https://twitter.com/samselikoff/status/1566842918941360128) of this tool.) 

Raine Revere   

[ZIPMonster: US ZIP Code Data and Related Functions](https://github.com/russo-programmisto/zip-monster) — ZIP codes are postal codes used in the US – this library wraps them all into one library which also lets you query them in various useful ways or even to find neighboring ones. 

Igor M.   

[Debug Node Apps Without Stopping Them in Prod. Book a Live Demo Today](https://www.rookout.com/solutions/live-debugger/?utm_campaign=node&utm_source=Cooper&utm_medium=NL) 

Rookout sponsor   

[Kanel: Generate TypeScript Types from Postgres](https://kristiandupont.github.io/kanel/) — It works by inspecting a live database, sort of like a reverse object/relation mapper. [GitHub repo.](https://github.com/kristiandupont/kanel) 

Kristian Dupont   

[fast-querystring: An Alternative to `node:querystring`](https://github.com/anonrig/fast-querystring) — Faster, but _modestly so_, so choose wisely whether to introduce a new dependency to parse URL query strings or not. 

Yagiz Nizipli   

[Marked 4.1: A Fast Markdown Parser and Compiler](https://github.com/markedjs/marked) — Works in the browser or server-side. [Demo here](https://marked.js.org/demo/) to see it in action. 

Christopher Jeffrey    

💻 Jobs  

[Software Engineers](https://www.stickermule.com/careers) — Sticker Mule is the Internet's most "kick ass" brand. Our software team operates from 17 countries, and we're always looking for more exceptional engineers. 
Sticker mule   

[Find Tech Jobs with Hired](https://hired.com/join/?utm_source=newsletter&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-all%29%28cooper-nodeweekly%29&utm_content=find-your-next-job) — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers. 
Hired      

**Got a link for us?** Reply and tell us. We can't include everything but we'll look at anything you send. _Thanks!_ 

--- 

**Got a new address?** You can [change your email here](https://nodeweekly.com/edit_subscription/*|UID|*). 

--- 

**Want to stop this email?** [Click here to say goodbye](https://nodeweekly.com/leave/*|UID|*). 

--- 

**Want even more newsletters?** Perhaps check out [JavaScript Weekly](https://javascriptweekly.com/), [React Status](https://react.statuscode.com/) or [Frontend Focus](https://frontendfoc.us) as well :-) 

--- 

**Want to sponsor?** Email `[kristina@cooperpress.com](mailto:kristina@cooperpress.com)` for details. 

--- 

Published by Cooper Press Ltd.
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

[Stop getting this newsletter.](https://nodeweekly.com/leave/*|UID|*)
