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

can-write-to-dir

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-write-to-dir - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

6

CHANGELOG.md
# can-write-to-dir
## 1.1.1
### Patch Changes
- 33a7d64: canWriteToDir.sync() should not fail on EROFS error.
## 1.1.0

@@ -4,0 +10,0 @@

2

index.js

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

} catch (err) {
if (err.code === 'EACCES' || err.code === 'EPERM') {
if (err.code === 'EACCES' || err.code === 'EPERM' || err.code === 'EROFS') {
return false

@@ -31,0 +31,0 @@ }

{
"name": "can-write-to-dir",
"version": "1.1.0",
"version": "1.1.1",
"description": "Returns true if the current process has permission to write to the specified directory",

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

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