unist-util-position
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -15,5 +15,2 @@ /** | ||
export function pointStart(node?: NodeLike): Point | ||
export namespace pointStart { | ||
export {type as displayName} | ||
} | ||
/** | ||
@@ -26,3 +23,2 @@ * Get the positional info of `node`. | ||
export function pointEnd(node?: NodeLike): Point | ||
export namespace pointEnd {} | ||
export type Position = import('unist').Position | ||
@@ -29,0 +25,0 @@ export type Point = import('unist').Point |
@@ -34,4 +34,2 @@ /** | ||
function point(type) { | ||
point.displayName = type | ||
return point | ||
@@ -38,0 +36,0 @@ |
{ | ||
"name": "unist-util-position", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "unist utility to get the position of a node", | ||
@@ -43,3 +43,3 @@ "license": "MIT", | ||
"typescript": "^4.0.0", | ||
"xo": "^0.38.0" | ||
"xo": "^0.39.0" | ||
}, | ||
@@ -46,0 +46,0 @@ "scripts": { |
8385
79