Divyansh Singh
Divyansh Singh
@nfischer The branching and flow control part (`:a;N;$!ba;`) is not there in JS regex. The substitution (`s/\n/ /g`) can be directly done using JS replace. Here are the official docs...
@nfischer Thanks. Well, I'm simply using `replace` with `\n` as match string for this particular case.
@eltonmesquita Yeah, I agree on that timing stuff. So can we at least fix the numbers? I mean, like have something that's off-screen on even 4k resolutions and use them...
@vvo Well there weren't many changes to make `iron-webcrypto` work (see the first commit). The new changes are to support syntax like this: ```ts // _middleware.ts import { NextRequest, NextResponse...
Vercel is failing because the examples use released version of `iron-session`. If I make them use local one (`npm run build && npm pack && cd .\examples\next.js-typescript\ && npm add...
> I am still unsure as to understand WHY we can't have withIronSessionMiddleware exactly. If we can do it inside the middleware, why can't it be wrapped to ease its...
> How confident are you about the security of iron-webcrypto? It probably needs reviewing too by some expert. Honestly, this was my first time using the WebCrypto API. > Should...
> there will be breaking changes in how middlewares are handled soon I guess we'll have to support this syntax too: ```js // set a cookie response.cookies.set('vercel', 'fast') // set...
~~I just checked out next@canary, one now cannot have nested middlewares. What's use of this (having session inside root middleware) now?~~ Looks like people would need to do things like...
@vvo Yeah its allowed.