Skip to content

No longer works on 18/20 because of node-abi #84

@bizob2828

Description

@bizob2828

I tried restoring to use this package as we had to fork to add support for Node 24. However my tests were failing in node 20. When I try to install @contrast/fn-inspect on node 20 it fails

Steps to reproduce

  1. Use node 20
  2. npm i @contrast/[email protected] --verbose

Expected Result

Package installs

Actual Result

Fails to install because of node-abi@4 only supports node 22+

npm http fetch GET 200 https://registry.npmjs.org/@contrast%2ffn-inspect 10ms (cache hit)
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '[email protected]',
npm warn EBADENGINE   required: { node: '>=22.12.0' },
npm warn EBADENGINE   current: { node: 'v20.19.5', npm: '10.8.2' }
npm warn EBADENGINE }

Looks like this was done here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions