Mostly, the resolve implementation here is in line with the latest Node.js modules resolution, except for support for pattern trailers which was a late addition in nodejs/node#39635.
As packages start to ship this feature (which will be recommended in Node.js soon), these resolutions will fail to be resolved in NFT.
Posting as a tracking issue before that happens. It should be relatively straightforward and I'd be happy to work on a PR here if there is interest.
Mostly, the resolve implementation here is in line with the latest Node.js modules resolution, except for support for pattern trailers which was a late addition in nodejs/node#39635.
As packages start to ship this feature (which will be recommended in Node.js soon), these resolutions will fail to be resolved in NFT.
Posting as a tracking issue before that happens. It should be relatively straightforward and I'd be happy to work on a PR here if there is interest.