Socket
Socket
Sign inDemoInstall

unist-util-position

Package Overview
Dependencies
0
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.0.1

4

index.d.ts

@@ -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 @@

4

package.json
{
"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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc