@zenfs/core
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -58,3 +58,3 @@ import type { File } from './file.js'; | ||
*/ | ||
features: ('setid' | '')[]; | ||
features?: ('setid' | '')[]; | ||
} | ||
@@ -61,0 +61,0 @@ /** |
@@ -470,3 +470,4 @@ var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) { | ||
async function applySetId(file, uid, gid) { | ||
if (file.fs.metadata().features.includes('setid')) | ||
var _a; | ||
if ((_a = file.fs.metadata().features) === null || _a === void 0 ? void 0 : _a.includes('setid')) | ||
return; | ||
@@ -473,0 +474,0 @@ const parent = await file.fs.stat(dirname(file.path)); |
@@ -172,3 +172,4 @@ var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) { | ||
function applySetId(file, uid, gid) { | ||
if (file.fs.metadata().features.includes('setid')) | ||
var _a; | ||
if ((_a = file.fs.metadata().features) === null || _a === void 0 ? void 0 : _a.includes('setid')) | ||
return; | ||
@@ -175,0 +176,0 @@ const parent = file.fs.statSync(dirname(file.path)); |
{ | ||
"name": "@zenfs/core", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "A filesystem, anywhere", | ||
@@ -5,0 +5,0 @@ "funding": { |
609106
15365