Difference between `node_compat = true` and `compatibility_flags = [ "nodejs_compat" ]`?
The docs say that we should add
compatibility_flags = [ "nodejs_compat" ] to wrangler.toml in order to use node modules. But the errors I get when running wrangler tell me to add node_compat = true instead. Only the latter seems to work. What's the difference? Is the former deprecated and the docs out of date?