Socket
Socket
Sign inDemoInstall

@deepkit/filesystem

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deepkit/filesystem - npm Package Compare versions

Comparing version 1.0.1-alpha.114 to 1.0.1-alpha.121

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## [1.0.1-alpha.121](https://github.com/deepkit/deepkit-framework/compare/v1.0.1-alpha.120...v1.0.1-alpha.121) (2024-01-31)
**Note:** Version bump only for package @deepkit/filesystem
## [1.0.1-alpha.114](https://github.com/deepkit/deepkit-framework/compare/v1.0.1-alpha.113...v1.0.1-alpha.114) (2024-01-21)

@@ -8,0 +12,0 @@

18

dist/cjs/src/filesystem.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.provideFilesystem = exports.provideNamedFilesystem = exports.__ΩNamedFilesystem = exports.pathDirectories = exports.compareFileSorting = exports.Filesystem = exports.__ΩFilesystemOptions = exports.resolveFilesystemPath = exports.__ΩFilesystemPath = exports.createProgress = exports.__ΩReporter = exports.FilesystemOperationAborted = exports.FilesystemFileNotFound = exports.FilesystemError = exports.__ΩFilesystemAdapter = exports.__ΩOperation = exports.FilesystemFile = exports.__ΩFileVisibility = exports.__ΩFileType = void 0;
const __ΩPartial = ['T', 'l+e#!e"!fRb!Pde"!gN#"y'];
const __ΩPartial = ['T', 'Partial', 'l+e#!e"!fRb!Pde"!gN#"w"y'];
/*@ts-ignore*/

@@ -13,5 +13,5 @@ const { __ΩInject } = require('@deepkit/core');

const promises_1 = require("fs/promises");
const __ΩFileType = ["file", "directory", 'P.!."Jy'];
const __ΩFileType = ["file", "directory", 'FileType', 'P.!."Jw#y'];
exports.__ΩFileType = __ΩFileType;
const __ΩFileVisibility = ["public", "private", "unknown", 'P.!.".#Jy'];
const __ΩFileVisibility = ["public", "private", "unknown", 'FileVisibility', 'P.!.".#Jw$y'];
exports.__ΩFileVisibility = __ΩFileVisibility;

@@ -90,5 +90,5 @@ /**

FilesystemFile.__type = ['size', function () { return 0; }, 'lastModified', () => __ΩFileVisibility, 'visibility', function () { return 'unknown'; }, 'path', () => __ΩFileType, 'type', () => "file", 'constructor', 'isFile', 'isDirectory', 'directory', 'inDirectory', 'FilesystemFile', '\'3!>"T3#8n$3%>&P&2\':n(2):>*"0+P)0,P)0-!P&2.)0/!!5w0'];
const __ΩOperation = ['T', 'loaded', 'total', '', 'callback', 'onProgress', 'abort', 'aborted', 'b!Pe"!`PP\'2"\'2#$/$2%!1&P$`1\')4(My'];
const __ΩOperation = ['T', 'loaded', 'total', '', 'callback', 'onProgress', 'abort', 'aborted', 'Operation', 'b!Pe"!`PP\'2"\'2#$/$2%!1&P$`1\')4(Mw)y'];
exports.__ΩOperation = __ΩOperation;
const __ΩFilesystemAdapter = ['supportsVisibility', 'supportsDirectory', 'path', () => __ΩFileVisibility, 'visibility', 'setVisibility', 'close', () => __ΩReporter, 'reporter', () => FilesystemFile, 'files', () => __ΩReporter, () => FilesystemFile, 'allFiles', () => __ΩReporter, () => FilesystemFile, 'directories', () => __ΩReporter, () => FilesystemFile, 'allDirectories', () => __ΩFileVisibility, 'makeDirectory', 'publicUrl', 'contents', () => __ΩFileVisibility, () => __ΩReporter, 'write', () => __ΩReporter, 'append', () => __ΩReporter, 'prepend', () => __ΩReporter, 'read', () => FilesystemFile, 'get', 'exists', 'delete', () => __ΩReporter, 'deleteDirectory', 'source', 'destination', () => __ΩReporter, 'copy', 'copyFile', () => __ΩReporter, 'move', 'moveFile', 'PP)1!P)1"P&2#n$2%$`1&P$`1\'P&2#n(2)P7*F`1+P&2#n,2)P7-F`1.P&2#n/2)P70F`11P&2#n22)P73F`14P&2#n52%$`16P&2#&17P&2#W28n92%n:2)$`1;P&2#W28n<2)$`1=P&2#W28n>2)$`1?P&2#n@2)W`1AP&2#PP7B-J`1CP&F2#)`1DP&F2#$`1EP&2#nF2)$`1GP&2H&2InJ2)$`1KP&2H&2I$`1LP&2H&2InM2)$`1NP&2H&2I$`1OMy'];
const __ΩFilesystemAdapter = ['supportsVisibility', 'supportsDirectory', 'path', () => __ΩFileVisibility, 'visibility', 'setVisibility', 'close', () => __ΩReporter, 'reporter', () => FilesystemFile, 'files', () => __ΩReporter, () => FilesystemFile, 'allFiles', () => __ΩReporter, () => FilesystemFile, 'directories', () => __ΩReporter, () => FilesystemFile, 'allDirectories', () => __ΩFileVisibility, 'makeDirectory', 'publicUrl', 'contents', () => __ΩFileVisibility, () => __ΩReporter, 'write', () => __ΩReporter, 'append', () => __ΩReporter, 'prepend', () => __ΩReporter, 'read', () => FilesystemFile, 'get', 'exists', 'delete', () => __ΩReporter, 'deleteDirectory', 'source', 'destination', () => __ΩReporter, 'copy', 'copyFile', () => __ΩReporter, 'move', 'moveFile', 'FilesystemAdapter', 'PP)1!P)1"P&2#n$2%$`1&P$`1\'P&2#n(2)P7*F`1+P&2#n,2)P7-F`1.P&2#n/2)P70F`11P&2#n22)P73F`14P&2#n52%$`16P&2#&17P&2#W28n92%n:2)$`1;P&2#W28n<2)$`1=P&2#W28n>2)$`1?P&2#n@2)W`1AP&2#PP7B-J`1CP&F2#)`1DP&F2#$`1EP&2#nF2)$`1GP&2H&2InJ2)$`1KP&2H&2I$`1LP&2H&2InM2)$`1NP&2H&2I$`1OMwPy'];
exports.__ΩFilesystemAdapter = __ΩFilesystemAdapter;

@@ -116,3 +116,3 @@ /**

FilesystemOperationAborted.__type = [() => FilesystemError, 'FilesystemOperationAborted', 'P7!5w"'];
const __ΩReporter = ['loaded', 'total', '', 'progress', 'onAbort', 'aborted', 'PP\'2!\'2"$/#4$P$`/#4%)4&My'];
const __ΩReporter = ['loaded', 'total', '', 'progress', 'onAbort', 'aborted', 'Reporter', 'PP\'2!\'2"$/#4$P$`/#4%)4&Mw\'y'];
exports.__ΩReporter = __ΩReporter;

@@ -149,3 +149,3 @@ function createProgress(callback) {

createProgress.__type = [() => __ΩReporter, 'reporter', '', 'callback', () => __ΩOperation, 'createProgress', 'PPn!2""`/#2$"o%"/&'];
const __ΩFilesystemPath = [() => FilesystemFile, 'P&P7!&FJy'];
const __ΩFilesystemPath = [() => FilesystemFile, 'FilesystemPath', 'P&P7!&FJw"y'];
exports.__ΩFilesystemPath = __ΩFilesystemPath;

@@ -165,3 +165,3 @@ function resolveFilesystemPath(path) {

resolveFilesystemPath.__type = [() => __ΩFilesystemPath, 'path', 'resolveFilesystemPath', 'Pn!2"&/#'];
const __ΩFilesystemOptions = [() => __ΩFileVisibility, 'visibility', () => __ΩFileVisibility, 'directoryVisibility', 'path', '', 'pathNormalizer', 'baseUrl', 'urlBuilder', 'Pn!4"n#4$P&2%&/&4\'&4(8P&2%&/&4)My'];
const __ΩFilesystemOptions = [() => __ΩFileVisibility, 'visibility', () => __ΩFileVisibility, 'directoryVisibility', 'path', '', 'pathNormalizer', 'baseUrl', 'urlBuilder', 'FilesystemOptions', 'Pn!4"n#4$P&2%&/&4\'&4(8P&2%&/&4)Mw*y'];
exports.__ΩFilesystemOptions = __ΩFilesystemOptions;

@@ -593,3 +593,3 @@ class Filesystem {

pathDirectories.__type = ['path', 'pathDirectories', 'P&2!&F/"'];
const __ΩNamedFilesystem = ['Name', () => Filesystem, () => __ΩInject, 'app.filesystem.', 'b!PP7"P.$e#!So#"Ky'];
const __ΩNamedFilesystem = ['Name', () => Filesystem, () => __ΩInject, 'app.filesystem.', 'NamedFilesystem', 'b!PP7"P.$e#!So#"Kw%y'];
exports.__ΩNamedFilesystem = __ΩNamedFilesystem;

@@ -596,0 +596,0 @@ /**

@@ -27,3 +27,3 @@ "use strict";

exports.FilesystemLocalAdapter = exports.FilesystemNodeLocalAdapter = exports.__ΩFilesystemLocalAdapterOptions = void 0;
const __ΩPartial = ['T', 'l+e#!e"!fRb!Pde"!gN#"y'];
const __ΩPartial = ['T', 'Partial', 'l+e#!e"!fRb!Pde"!gN#"w"y'];
/*@ts-ignore*/

@@ -43,3 +43,3 @@ const { __ΩFileType } = require('./filesystem.js');

const core_1 = require("@deepkit/core");
const __ΩFilesystemLocalAdapterOptions = ['root', 'public', 'private', 'file', 'directory', 'permissions', 'P&4!PP\'4"\'4#M4$P\'4"\'4#M4%M4&My'];
const __ΩFilesystemLocalAdapterOptions = ['root', 'public', 'private', 'file', 'directory', 'permissions', 'FilesystemLocalAdapterOptions', 'P&4!PP\'4"\'4#M4$P\'4"\'4#M4%M4&Mw\'y'];
exports.__ΩFilesystemLocalAdapterOptions = __ΩFilesystemLocalAdapterOptions;

@@ -46,0 +46,0 @@ class FilesystemNodeLocalAdapter {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FilesystemMemoryAdapter = exports.__ΩFilesystemMemoryAdapterOptions = void 0;
const __ΩPartial = ['T', 'l+e#!e"!fRb!Pde"!gN#"y'];
const __ΩPartial = ['T', 'Partial', 'l+e#!e"!fRb!Pde"!gN#"w"y'];
/*@ts-ignore*/

@@ -17,3 +17,3 @@ const { __ΩFileVisibility } = require('./filesystem.js');

const filesystem_js_1 = require("./filesystem.js");
const __ΩFilesystemMemoryAdapterOptions = ['PMy'];
const __ΩFilesystemMemoryAdapterOptions = ['FilesystemMemoryAdapterOptions', 'PMw!y'];
exports.__ΩFilesystemMemoryAdapterOptions = __ΩFilesystemMemoryAdapterOptions;

@@ -20,0 +20,0 @@ /**

@@ -1,2 +0,2 @@

const __ΩPartial = ['T', 'l+e#!e"!fRb!Pde"!gN#"y'];
const __ΩPartial = ['T', 'Partial', 'l+e#!e"!fRb!Pde"!gN#"w"y'];
/*@ts-ignore*/

@@ -10,5 +10,5 @@ import { __ΩInject } from '@deepkit/core';

import { readFile } from 'fs/promises';
const __ΩFileType = ["file", "directory", 'P.!."Jy'];
const __ΩFileType = ["file", "directory", 'FileType', 'P.!."Jw#y'];
export { __ΩFileType as __ΩFileType };
const __ΩFileVisibility = ["public", "private", "unknown", 'P.!.".#Jy'];
const __ΩFileVisibility = ["public", "private", "unknown", 'FileVisibility', 'P.!.".#Jw$y'];
export { __ΩFileVisibility as __ΩFileVisibility };

@@ -86,5 +86,5 @@ /**

FilesystemFile.__type = ['size', function () { return 0; }, 'lastModified', () => __ΩFileVisibility, 'visibility', function () { return 'unknown'; }, 'path', () => __ΩFileType, 'type', () => "file", 'constructor', 'isFile', 'isDirectory', 'directory', 'inDirectory', 'FilesystemFile', '\'3!>"T3#8n$3%>&P&2\':n(2):>*"0+P)0,P)0-!P&2.)0/!!5w0'];
const __ΩOperation = ['T', 'loaded', 'total', '', 'callback', 'onProgress', 'abort', 'aborted', 'b!Pe"!`PP\'2"\'2#$/$2%!1&P$`1\')4(My'];
const __ΩOperation = ['T', 'loaded', 'total', '', 'callback', 'onProgress', 'abort', 'aborted', 'Operation', 'b!Pe"!`PP\'2"\'2#$/$2%!1&P$`1\')4(Mw)y'];
export { __ΩOperation as __ΩOperation };
const __ΩFilesystemAdapter = ['supportsVisibility', 'supportsDirectory', 'path', () => __ΩFileVisibility, 'visibility', 'setVisibility', 'close', () => __ΩReporter, 'reporter', () => FilesystemFile, 'files', () => __ΩReporter, () => FilesystemFile, 'allFiles', () => __ΩReporter, () => FilesystemFile, 'directories', () => __ΩReporter, () => FilesystemFile, 'allDirectories', () => __ΩFileVisibility, 'makeDirectory', 'publicUrl', 'contents', () => __ΩFileVisibility, () => __ΩReporter, 'write', () => __ΩReporter, 'append', () => __ΩReporter, 'prepend', () => __ΩReporter, 'read', () => FilesystemFile, 'get', 'exists', 'delete', () => __ΩReporter, 'deleteDirectory', 'source', 'destination', () => __ΩReporter, 'copy', 'copyFile', () => __ΩReporter, 'move', 'moveFile', 'PP)1!P)1"P&2#n$2%$`1&P$`1\'P&2#n(2)P7*F`1+P&2#n,2)P7-F`1.P&2#n/2)P70F`11P&2#n22)P73F`14P&2#n52%$`16P&2#&17P&2#W28n92%n:2)$`1;P&2#W28n<2)$`1=P&2#W28n>2)$`1?P&2#n@2)W`1AP&2#PP7B-J`1CP&F2#)`1DP&F2#$`1EP&2#nF2)$`1GP&2H&2InJ2)$`1KP&2H&2I$`1LP&2H&2InM2)$`1NP&2H&2I$`1OMy'];
const __ΩFilesystemAdapter = ['supportsVisibility', 'supportsDirectory', 'path', () => __ΩFileVisibility, 'visibility', 'setVisibility', 'close', () => __ΩReporter, 'reporter', () => FilesystemFile, 'files', () => __ΩReporter, () => FilesystemFile, 'allFiles', () => __ΩReporter, () => FilesystemFile, 'directories', () => __ΩReporter, () => FilesystemFile, 'allDirectories', () => __ΩFileVisibility, 'makeDirectory', 'publicUrl', 'contents', () => __ΩFileVisibility, () => __ΩReporter, 'write', () => __ΩReporter, 'append', () => __ΩReporter, 'prepend', () => __ΩReporter, 'read', () => FilesystemFile, 'get', 'exists', 'delete', () => __ΩReporter, 'deleteDirectory', 'source', 'destination', () => __ΩReporter, 'copy', 'copyFile', () => __ΩReporter, 'move', 'moveFile', 'FilesystemAdapter', 'PP)1!P)1"P&2#n$2%$`1&P$`1\'P&2#n(2)P7*F`1+P&2#n,2)P7-F`1.P&2#n/2)P70F`11P&2#n22)P73F`14P&2#n52%$`16P&2#&17P&2#W28n92%n:2)$`1;P&2#W28n<2)$`1=P&2#W28n>2)$`1?P&2#n@2)W`1AP&2#PP7B-J`1CP&F2#)`1DP&F2#$`1EP&2#nF2)$`1GP&2H&2InJ2)$`1KP&2H&2I$`1LP&2H&2InM2)$`1NP&2H&2I$`1OMwPy'];
export { __ΩFilesystemAdapter as __ΩFilesystemAdapter };

@@ -109,3 +109,3 @@ /**

FilesystemOperationAborted.__type = [() => FilesystemError, 'FilesystemOperationAborted', 'P7!5w"'];
const __ΩReporter = ['loaded', 'total', '', 'progress', 'onAbort', 'aborted', 'PP\'2!\'2"$/#4$P$`/#4%)4&My'];
const __ΩReporter = ['loaded', 'total', '', 'progress', 'onAbort', 'aborted', 'Reporter', 'PP\'2!\'2"$/#4$P$`/#4%)4&Mw\'y'];
export { __ΩReporter as __ΩReporter };

@@ -141,3 +141,3 @@ export function createProgress(callback) {

createProgress.__type = [() => __ΩReporter, 'reporter', '', 'callback', () => __ΩOperation, 'createProgress', 'PPn!2""`/#2$"o%"/&'];
const __ΩFilesystemPath = [() => FilesystemFile, 'P&P7!&FJy'];
const __ΩFilesystemPath = [() => FilesystemFile, 'FilesystemPath', 'P&P7!&FJw"y'];
export { __ΩFilesystemPath as __ΩFilesystemPath };

@@ -156,3 +156,3 @@ export function resolveFilesystemPath(path) {

resolveFilesystemPath.__type = [() => __ΩFilesystemPath, 'path', 'resolveFilesystemPath', 'Pn!2"&/#'];
const __ΩFilesystemOptions = [() => __ΩFileVisibility, 'visibility', () => __ΩFileVisibility, 'directoryVisibility', 'path', '', 'pathNormalizer', 'baseUrl', 'urlBuilder', 'Pn!4"n#4$P&2%&/&4\'&4(8P&2%&/&4)My'];
const __ΩFilesystemOptions = [() => __ΩFileVisibility, 'visibility', () => __ΩFileVisibility, 'directoryVisibility', 'path', '', 'pathNormalizer', 'baseUrl', 'urlBuilder', 'FilesystemOptions', 'Pn!4"n#4$P&2%&/&4\'&4(8P&2%&/&4)Mw*y'];
export { __ΩFilesystemOptions as __ΩFilesystemOptions };

@@ -581,3 +581,3 @@ export class Filesystem {

pathDirectories.__type = ['path', 'pathDirectories', 'P&2!&F/"'];
const __ΩNamedFilesystem = ['Name', () => Filesystem, () => __ΩInject, 'app.filesystem.', 'b!PP7"P.$e#!So#"Ky'];
const __ΩNamedFilesystem = ['Name', () => Filesystem, () => __ΩInject, 'app.filesystem.', 'NamedFilesystem', 'b!PP7"P.$e#!So#"Kw%y'];
export { __ΩNamedFilesystem as __ΩNamedFilesystem };

@@ -584,0 +584,0 @@ /**

@@ -1,2 +0,2 @@

const __ΩPartial = ['T', 'l+e#!e"!fRb!Pde"!gN#"y'];
const __ΩPartial = ['T', 'Partial', 'l+e#!e"!fRb!Pde"!gN#"w"y'];
/*@ts-ignore*/

@@ -16,3 +16,3 @@ import { __ΩFileType } from './filesystem.js';

import { pathDirectory, pathNormalize } from '@deepkit/core';
const __ΩFilesystemLocalAdapterOptions = ['root', 'public', 'private', 'file', 'directory', 'permissions', 'P&4!PP\'4"\'4#M4$P\'4"\'4#M4%M4&My'];
const __ΩFilesystemLocalAdapterOptions = ['root', 'public', 'private', 'file', 'directory', 'permissions', 'FilesystemLocalAdapterOptions', 'P&4!PP\'4"\'4#M4$P\'4"\'4#M4%M4&Mw\'y'];
export { __ΩFilesystemLocalAdapterOptions as __ΩFilesystemLocalAdapterOptions };

@@ -19,0 +19,0 @@ export class FilesystemNodeLocalAdapter {

@@ -1,2 +0,2 @@

const __ΩPartial = ['T', 'l+e#!e"!fRb!Pde"!gN#"y'];
const __ΩPartial = ['T', 'Partial', 'l+e#!e"!fRb!Pde"!gN#"w"y'];
/*@ts-ignore*/

@@ -14,3 +14,3 @@ import { __ΩFileVisibility } from './filesystem.js';

import { FilesystemFile, FilesystemFileNotFound, pathDirectories } from './filesystem.js';
const __ΩFilesystemMemoryAdapterOptions = ['PMy'];
const __ΩFilesystemMemoryAdapterOptions = ['FilesystemMemoryAdapterOptions', 'PMw!y'];
export { __ΩFilesystemMemoryAdapterOptions as __ΩFilesystemMemoryAdapterOptions };

@@ -17,0 +17,0 @@ /**

{
"name": "@deepkit/filesystem",
"version": "1.0.1-alpha.114",
"version": "1.0.1-alpha.121",
"description": "Filesystem abstraction Deepkit",

@@ -34,3 +34,3 @@ "type": "commonjs",

"devDependencies": {
"@deepkit/core": "^1.0.1-alpha.114"
"@deepkit/core": "^1.0.1-alpha.121"
},

@@ -54,3 +54,3 @@ "jest": {

},
"gitHead": "075b5b53a53327d280ea59cce9fe51cc998e2141"
"gitHead": "47cccf148d5e47cd65f2a9853b09041e43cafa26"
}
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