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

@zenfs/core

Package Overview
Dependencies
Maintainers
0
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zenfs/core - npm Package Compare versions

Comparing version 1.3.5 to 1.3.6

4

dist/stats.js

@@ -112,6 +112,4 @@ import { credentials } from './credentials.js';

hasAccess(mode) {
if (credentials.euid === 0 || credentials.egid === 0) {
// Running as root
if (this.isSymbolicLink() || credentials.euid === 0 || credentials.egid === 0)
return true;
}
let perm = 0;

@@ -118,0 +116,0 @@ // Owner permissions

{
"name": "@zenfs/core",
"version": "1.3.5",
"version": "1.3.6",
"description": "A filesystem, anywhere",

@@ -5,0 +5,0 @@ "funding": {

@@ -250,6 +250,3 @@ import type * as Node from 'node:fs';

public hasAccess(mode: number): boolean {
if (credentials.euid === 0 || credentials.egid === 0) {
// Running as root
return true;
}
if (this.isSymbolicLink() || credentials.euid === 0 || credentials.egid === 0) return true;

@@ -256,0 +253,0 @@ let perm = 0;

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