Ran
|
Files
43
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
push
github
Preserve `node:` protocol (#1932) Node protocol removal was introduced here for CJS: https://github.com/egoist/tsup/pull/460 The target was set to `es2022` which does not explicitly address Node, therefore it was removed for ESM too. Setting the target to `node18.18.0` enabled the protocol for ESM. The recently added setting allows also to enable it for CJS: https://github.com/egoist/tsup/commit/e7ced3474 This will certainly not work in Node below 14.18, but it should not anyway.
744 of 781 branches covered (95.26%)
1180 of 1180 relevant lines covered (100.0%)
72.88 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|