will Farrell

Results 170 comments of will Farrell
trafficstars

Did some research, I don't think it's possible to address this. https://262.ecma-international.org/5.1/#sec-13.2.1 or the newer version, https://262.ecma-international.org/#await (27.7.5.3.3.f)

Related: https://github.com/middyjs/middy/issues/1125#issuecomment-2263749774

Interesting idea. It could be moved to the request, `request.shortCircuit`, and avoid possible conflicts with other middleware. Let me reflect on this, and look at the core code to see...

I put together an update to address this (https://github.com/middyjs/middy/pull/1237). I wasn't able to support an early response inside of onError, but I don't see a use case that would require...

Closing, 6.0.0-alpha.0 is now released.

Thanks for the feature request! I haven't used `AsyncLocalStorage` personally yet. I did a quick read of the docs. Can you share the use case for this so I can...

Thanks for sharing in more detail. I'll need to make some time to playaround with AsyncLocalStorage, not sure when I'll be able to. Would it make more sense to put...

@gp-jameskyburz Something like this? ```javascript import { AsyncLocalStorage } from 'node:async_hooks' const defaults = { asyncLocalStorage: new AsyncLocalStorage() } const asyncLocalStorageMiddleware = (opts = {}) => { const { asyncLocalStorage...

Looks like the next LTS version could be in Apr 2025. fingers crossed. https://github.com/openssl/openssl/discussions/23735

New LTS released! https://openssl-library.org/post/2025-04-08-openssl-35-final-release/ Worth noting the new 2y release cycle for LTS, very nice to see.