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

abstract-file

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstract-file - npm Package Compare versions

Comparing version 0.4.5 to 0.5.0

6

lib/attributes.js

@@ -140,3 +140,7 @@ (function() {

get: function() {
return path.dirname(this.path);
if (this.isDirectory()) {
return this.path;
} else {
return path.dirname(this.path);
}
}

@@ -143,0 +147,0 @@ },

2

package.json
{
"name": "abstract-file",
"description": "It can be used on any virtual file system, and stream supports.",
"version": "0.4.5",
"version": "0.5.0",
"homepage": "https://github.com/snowyu/abstract-file.js",

@@ -6,0 +6,0 @@ "repository": {

@@ -128,2 +128,11 @@ ## abstract-file [![npm](https://img.shields.io/npm/v/abstract-file.svg)](https://npmjs.org/package/abstract-file)

### v0.5
* the dirname attribute should pass the path directly if the file is a folder.
if @isDirectory()
@path
else
path.dirname @path
### v0.4

@@ -130,0 +139,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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