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

to-vfile

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

to-vfile - npm Package Compare versions

Comparing version 6.0.1 to 6.1.0

2

lib/async.js

@@ -86,3 +86,3 @@ 'use strict'

} else {
resolve()
resolve(file)
}

@@ -89,0 +89,0 @@ }

@@ -25,2 +25,3 @@ 'use strict'

)
return file
}
{
"name": "to-vfile",
"version": "6.0.1",
"description": "vfile utility to create a vfile from from a filepath",
"version": "6.1.0",
"description": "vfile utility to create a vfile from a filepath",
"license": "MIT",

@@ -6,0 +6,0 @@ "keywords": [

@@ -80,4 +80,4 @@ # to-vfile

Like `toVFile.read` but synchronous. Either throws an error or returns a
populated virtual file.
Like `toVFile.read` but synchronous.
Either throws an error or returns a populated virtual file.

@@ -91,3 +91,3 @@ ### `toVFile.write(options[, fsOptions][, callback])`

If `callback` is not given, returns a [`Promise`][promise] that is rejected with
an error or resolved without any value.
an error or resolved with the written virtual file.

@@ -97,3 +97,3 @@ ### `toVFile.writeSync(options[, fsOptions])`

Like `toVFile.write` but synchronous.
Throws an error, if any.
Either throws an error or returns a populated virtual file.

@@ -100,0 +100,0 @@ ## Contribute

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