Giter Site home page Giter Site logo

Comments (10)

leerob avatar leerob commented on May 28, 2024 1

Done: https://github.com/vercel/micro/releases/tag/9.4.0

from micro.

jameshfisher avatar jameshfisher commented on May 28, 2024

Is the recommendation to use @types/micro instead? It says it's for v7, so two major versions old.

from micro.

jameshfisher avatar jameshfisher commented on May 28, 2024

(n.b.: I'm only reluctantly using this package because NextJS has no convenient way to get the request body as a buffer)

from micro.

Bessonov avatar Bessonov commented on May 28, 2024

@jameshfisher you can use 9.3.5-canary.3.

@leerob is there a plan to release 9.4.0?

from micro.

leerob avatar leerob commented on May 28, 2024

@jameshfisher FYI vercel/next.js#27702 (comment)

from micro.

jameshfisher avatar jameshfisher commented on May 28, 2024

Thanks @leerob, that's much nicer! 😍

from micro.

Bessonov avatar Bessonov commented on May 28, 2024

@jameshfisher FYI vercel/next.js#27702 (comment)

If I understand this correctly, then the one caution about this is that you can consume the body only once. Micro uses a WeakMap for caching for this reason.

from micro.

leerob avatar leerob commented on May 28, 2024

Closing as this is addressed 🙏

from micro.

tonyxiao avatar tonyxiao commented on May 28, 2024

It's not address given that the types aren't released just yet. What's blocking the 9.4.0 release?

from micro.

Bessonov avatar Bessonov commented on May 28, 2024

Still not released, see Versions: https://www.npmjs.com/package/micro .

from micro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.