push
github
2527 of 2758 branches covered (91.62%)
Branch coverage included in aggregate %.
51 of 90 new or added lines in 3 files covered. (56.67%)
14598 of 15695 relevant lines covered (93.01%)
17355.86 hits per line
NEW
|
// Shimmed node:path and node:module for browser build
|
|
NEW
|
|
× |
NEW
|
// node:path
|
× |
NEW
|
export function dirname(path: string): string |
× |
NEW
|
path.replace /[^]*\//, '' |
× |
NEW
|
export function resolve(path: string): string |
× |
NEW
|
path |
× |
NEW
|
|
× |
NEW
|
// node:module
|
× |
NEW
|
export function createRequire(path: string): (id: string) => unknown |
× |
NEW
|
(id: string) =>
|
× |
NEW
|
throw new ReferenceError |
× |
NEW
|
"Civet comptime does not support 'require' on this platform"
|
× |
NEW
|
|
× |
NEW
|
export default { |
× |
NEW
|
dirname |
× |
NEW
|
resolve |
× |
NEW
|
createRequire |
× |
NEW
|
} |
× |