Socket
Socket
Sign inDemoInstall

bare-fs

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-fs - npm Package Compare versions

Comparing version 1.13.0 to 1.13.2

15

index.js

@@ -1646,14 +1646,13 @@ const EventEmitter = require('events')

} else {
let eventType
const path = this._encoding === 'buffer'
? Buffer.from(filename)
: Buffer.from(filename).toString(this._encoding)
if (events & binding.UV_RENAME) {
eventType = 'rename'
} else if (events & binding.UV_CHANGE) {
eventType = 'change'
this.emit('change', 'rename', path)
}
this.emit('change', eventType, this._encoding === 'buffer'
? Buffer.from(filename)
: Buffer.from(filename).toString(this._encoding)
)
if (events & binding.UV_CHANGE) {
this.emit('change', 'change', path)
}
}

@@ -1660,0 +1659,0 @@ }

{
"name": "bare-fs",
"version": "1.13.0",
"version": "1.13.2",
"description": "Native file system for Javascript",

@@ -5,0 +5,0 @@ "main": "index.js",

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