Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vfile-location

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vfile-location - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

4

index.d.ts

@@ -14,5 +14,3 @@ /**

*/
export function location(
file: string | Uint8Array | VFile
): {
export function location(file: string | Uint8Array | VFile): {
toPoint: (offset: Offset) => FullPoint

@@ -19,0 +17,0 @@ toOffset: (point: PositionalPoint) => Offset

{
"name": "vfile-location",
"version": "4.0.0",
"version": "4.0.1",
"description": "vfile utility to convert between positional (line and column-based) and offset (range-based) locations",

@@ -38,3 +38,4 @@ "license": "MIT",

"dependencies": {
"@types/unist": "^2.0.0"
"@types/unist": "^2.0.0",
"vfile": "^5.0.0"
},

@@ -51,3 +52,2 @@ "devDependencies": {

"typescript": "^4.0.0",
"vfile": "^5.0.0",
"xo": "^0.39.0"

@@ -54,0 +54,0 @@ },

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc