syntax-tree / unist-util-position
Showing 1 of 4 files from the diff.
Other files ignored by Codecov
package.json has changed.
test.js has changed.
readme.md has changed.

@@ -12,8 +12,8 @@
Loading
12 12
 * @property {PositionLike} [position]
13 13
 */
14 14
15 -
export var pointStart = point('start')
16 -
export var pointEnd = point('end')
15 +
export const pointStart = point('start')
16 +
export const pointEnd = point('end')
17 17
18 18
/**
19 19
 * Get the positional info of `node`.
@@ -42,7 +42,7 @@
Loading
42 42
  function point(node) {
43 43
    /** @type {Point} */
44 44
    // @ts-expect-error looks like a point
45 -
    var point = (node && node.position && node.position[type]) || {}
45 +
    const point = (node && node.position && node.position[type]) || {}
46 46
47 47
    return {
48 48
      line: point.line || null,
Files Coverage
index.js 100.00%
Project Totals (1 files) 100.00%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading