Skip to content

Dependency cacheable-request is outdated and does not distinguish POST requests with different bodies #2138

@AlCalzone

Description

@AlCalzone

Describe the bug

  • Node.js version: not relevant
  • OS & version: not relevant

Before version 8, cacheable-request does not correctly distinguish POST requests to the same URL if their body is different. This was fixed in https://github.com/jaredwray/cacheable-request/pull/31

I tried my hand at upgrading it, but due to changes to types that are used in got, this wasn't trivial for me. I'm sure someone who's more familiar with this codebase can do it in no time.

Actual behavior

cacheable-request is on version 7

Expected behavior

cacheable-request should be version 8 or 9

Code to reproduce

Not relevant, this is related to upgrading a dependency

Checklist

  • I have read the documentation.
  • I have tried my code with the latest version of Node.js and Got.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions