New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

file-stat

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-stat - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

10

index.js

@@ -7,9 +7,3 @@ 'use strict';

return utils.through.obj(function(file, enc, cb) {
lstat(file, function(err, res) {
if (err) {
cb(err);
return;
}
cb(null, res);
});
lstat(file, cb);
});

@@ -69,2 +63,3 @@ };

}
file.lstat = stat;
file.stat = stat;

@@ -140,3 +135,4 @@ cb(null, file);

module.exports.stat = stat;
module.exports.lstat = lstat;
module.exports.lstatSync = lstatSync;
module.exports.statSync = statSync;
{
"name": "file-stat",
"description": "Set the `stat` property on a file object. Abstraction from vinyl-fs to support stream or non-stream usage.",
"version": "0.2.0",
"version": "0.2.1",
"homepage": "https://github.com/jonschlinkert/file-stat",

@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

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