Depending on what Access Token you are trying to secure, that might be overkill too
Depending on what Access Token you are trying to secure, that might be overkill too

node_compat = true in Wrangler.toml, yes.Also, curious why is it not present in paid plan when we have the limits on free plan if anyone could explain a bit further it will really helpOn Paid Plans you just pay for each request over the included amount.
node_compat incur?process.envcompatibility_flags = ["nodejs_compat"] insteadnode_compat = truenode_compatcompatibility_flags = ["nodejs_compat"]EAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
- install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "stream": false }
@ ./node_modules/pgpass/lib/helper.js 5:12-29
@ ./node_modules/pgpass/lib/index.js 5:13-35
@ ./node_modules/pg/lib/client.js 229:23-40
@ ./node_modules/pg/lib/index.js 3:13-32
@ ./src/handlers/handler.ts 4:13-26
@ ./src/routes/routes.ts 5:18-48
@ ./src/handler.ts 9:33-59
@ ./src/index.ts 3:18-38
ERROR in ./node_modules/split2/index.js 20:26-51
Module not found: Error: Can't resolve 'string_decoder' in '/Users/CockroachDB testing/cfw-ts-apiserver-template/node_modules/split2'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "string_decoder": require.resolve("string_decoder/") }'
- install 'string_decoder'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "string_decoder": false }
@ ./node_modules/pgpass/lib/helper.js 5:12-29
@ ./node_modules/pgpass/lib/index.js 5:13-35
@ ./node_modules/pg/lib/client.js 229:23-40
@ ./node_modules/pg/lib/index.js 3:13-32
@ ./src/handlers/handler.ts 4:13-26
@ ./src/routes/routes.ts 5:18-48
@ ./src/handler.ts 9:33-59
@ ./src/index.ts 3:18-38"scripts": {
"build": "webpack",
"format": "prettier --write '*.{json,js}' 'src/**/*.{js,ts}' 'test/**/*.{js,ts}'",
"lint": "eslint --max-warnings=0 src && prettier --check '*.{json,js}' 'src/**/*.{js,ts}' 'test/**/*.{js,ts}'",
"test": "jest --config jestconfig.json --verbose"
},