Socket
Socket
Sign inDemoInstall

vfile

Package Overview
Dependencies
4
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.3.1 to 5.3.2

10

lib/index.d.ts

@@ -129,3 +129,3 @@ export class VFile {

* @param {string|Error} reason Reason for message (`string` or `Error`). Uses the stack and message of the error if given.
* @param {NodeLike|Position|Point} [place] Place at which the message occurred in a file (`Node`, `Position`, or `Point`, optional).
* @param {Node|NodeLike|Position|Point} [place] Place at which the message occurred in a file (`Node`, `Position`, or `Point`, optional).
* @param {string} [origin] Place in code the message originates from (`string`, optional).

@@ -137,2 +137,3 @@ * @returns {VFileMessage}

place?:
| import('unist').Node<import('unist').Data>
| import('unist').Position

@@ -150,3 +151,3 @@ | import('unist').Point

* @param {string|Error} reason Reason for message (`string` or `Error`). Uses the stack and message of the error if given.
* @param {NodeLike|Position|Point} [place] Place at which the message occurred in a file (`Node`, `Position`, or `Point`, optional).
* @param {Node|NodeLike|Position|Point} [place] Place at which the message occurred in a file (`Node`, `Position`, or `Point`, optional).
* @param {string} [origin] Place in code the message originates from (`string`, optional).

@@ -158,2 +159,3 @@ * @returns {VFileMessage}

place?:
| import('unist').Node<import('unist').Data>
| import('unist').Position

@@ -172,3 +174,3 @@ | import('unist').Point

* @param {string|Error} reason Reason for message (`string` or `Error`). Uses the stack and message of the error if given.
* @param {NodeLike|Position|Point} [place] Place at which the message occurred in a file (`Node`, `Position`, or `Point`, optional).
* @param {Node|NodeLike|Position|Point} [place] Place at which the message occurred in a file (`Node`, `Position`, or `Point`, optional).
* @param {string} [origin] Place in code the message originates from (`string`, optional).

@@ -180,2 +182,3 @@ * @returns {never}

place?:
| import('unist').Node<import('unist').Data>
| import('unist').Position

@@ -188,2 +191,3 @@ | import('unist').Point

}
export type Node = import('unist').Node
export type Position = import('unist').Position

@@ -190,0 +194,0 @@ export type Point = import('unist').Point

/**
* @typedef {import('unist').Node} Node
* @typedef {import('unist').Position} Position

@@ -15,3 +16,2 @@ * @typedef {import('unist').Point} Point

*
*
* @typedef {VFileValue|VFileOptions|VFile|URL} VFileCompatible

@@ -302,3 +302,3 @@ * Things that can be passed to the constructor.

* @param {string|Error} reason Reason for message (`string` or `Error`). Uses the stack and message of the error if given.
* @param {NodeLike|Position|Point} [place] Place at which the message occurred in a file (`Node`, `Position`, or `Point`, optional).
* @param {Node|NodeLike|Position|Point} [place] Place at which the message occurred in a file (`Node`, `Position`, or `Point`, optional).
* @param {string} [origin] Place in code the message originates from (`string`, optional).

@@ -328,3 +328,3 @@ * @returns {VFileMessage}

* @param {string|Error} reason Reason for message (`string` or `Error`). Uses the stack and message of the error if given.
* @param {NodeLike|Position|Point} [place] Place at which the message occurred in a file (`Node`, `Position`, or `Point`, optional).
* @param {Node|NodeLike|Position|Point} [place] Place at which the message occurred in a file (`Node`, `Position`, or `Point`, optional).
* @param {string} [origin] Place in code the message originates from (`string`, optional).

@@ -348,3 +348,3 @@ * @returns {VFileMessage}

* @param {string|Error} reason Reason for message (`string` or `Error`). Uses the stack and message of the error if given.
* @param {NodeLike|Position|Point} [place] Place at which the message occurred in a file (`Node`, `Position`, or `Point`, optional).
* @param {Node|NodeLike|Position|Point} [place] Place at which the message occurred in a file (`Node`, `Position`, or `Point`, optional).
* @param {string} [origin] Place in code the message originates from (`string`, optional).

@@ -351,0 +351,0 @@ * @returns {never}

{
"name": "vfile",
"version": "5.3.1",
"version": "5.3.2",
"description": "Virtual file format for text processing",

@@ -5,0 +5,0 @@ "license": "MIT",

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