Skip to content

Update got Dependency to be Compatible with Current Node.js Versions #238

Open
@CONSUMERTHOUGHTS

Description

The current version of textract (2.5.0) depends on got@5.7.1, which specifies an engine requirement for Node.js versions >=0.10.0 <7. This is not compatible with modern versions of Node.js (e.g., Node.js 18.20.0), resulting in warnings during dependency installation.

Steps to Reproduce:

Install textract with Node.js version 18.20.0.
Run npm install.
Observe the following warning:

`npm WARN EBADENGINE Unsupported engine {

package: 'got@5.7.1',
required: { node: '>=0.10.0 <7' },
current: { node: 'v18.20.0', npm: '10.7.0' }
}
`

npm ls got:

my-next-app2@0.1.0 C:\Users\desig\OneDrive\Documents\GitHub\my-next-app2dg -- textract@2.5.0
`-- got@5.7.1

`

Expected Behavior:

textract should depend on a version of got that is compatible with modern Node.js versions.

Environment:

Node.js version: 18.20.0
npm version: 10.7.0
textract version: 2.5.0

Suggested Solution:
Please update the got dependency to the latest version that is compatible with the current Node.js standards.

Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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