bevry / errlop

An extended Error class that envelops a parent error, such that the stack trace contains the causation
Other
9 stars 2 forks source link

Typescript's new moduleResolution breaks errlop's typing #196

Closed kwasimensah closed 11 months ago

kwasimensah commented 2 years ago

See https://github.com/microsoft/TypeScript/issues/49160 . Typescript's new moduleResolution type doesn't look at the top-level types field in your package.json (it now uses the logic specified in https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing)

balupton commented 2 years ago

Same deal as https://github.com/bevry/istextorbinary/issues/270

balupton commented 12 months ago

Boundation successfully updated this package and didn't encounter this error. Is it still a problem for you?

balupton commented 11 months ago

this should be resolved with v7.3.0 https://github.com/bevry/errlop/commit/3071fb2184772e950d1c3322ed1c1931502b3951#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519

shoutout to my GitHub Sponsors for affording me the time to make this happen