Giter Site home page Giter Site logo

Comments (7)

dougwilson avatar dougwilson commented on April 27, 2024

I'm not sure why it would show as deprecated, but no, it is not. You may want to report thia to them to see what the issue is. I don't think it would be an issue with the code in the repo as we have not published a new version in a while now. If you find out we need to change something this, please let us know.

from body-parser.

karltaylor avatar karltaylor commented on April 27, 2024

I am getting this too when using typescript.

After doing some digging, it looks like it's coming from here,

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/body-parser/index.d.ts#L19

After doing some more digging, there was an older comment:

/**
 * bodyParser: use individual json/urlencoded middlewares
 * @deprecated
 */

I'm not sure how this is fixed in terms of Typescript / Commenting but I can reference this issue to fix.

from body-parser.

hootyjeremy avatar hootyjeremy commented on April 27, 2024

I am getting this too when using typescript.

After doing some digging, it looks like it's coming from here,

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/body-parser/index.d.ts#L19

After doing some more digging, there was an older comment:

/**
 * bodyParser: use individual json/urlencoded middlewares
 * @deprecated
 */

I'm not sure how this is fixed in terms of Typescript / Commenting but I can reference this issue to fix.

Yeah, I noticed that all my includes were coming from local appdata Typescript. I must have done something wrong when setting up node maybe? I couldn't find an answer so i just uninstalled my node packages and made sure to reinstall them locally and that seemed to work for some reason.

Thanks. :D

from body-parser.

letmaik avatar letmaik commented on April 27, 2024

Tracked here: DefinitelyTyped/DefinitelyTyped#54252

from body-parser.

samarmohan avatar samarmohan commented on April 27, 2024

Fixed in DefinitelyTyped/DefinitelyTyped#54254

from body-parser.

mendhak avatar mendhak commented on April 27, 2024

Looks like that PR's been closed without merging, as has this one. bodyParser still appears as deprecated.

from body-parser.

dougwilson avatar dougwilson commented on April 27, 2024

Open issues in DefinitelyTyped, not here.

from body-parser.

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.