Sign In

@mesadev/mesafs-napi

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mesadev/mesafs-napi - npm Package Compare versions

Comparing version
0.47.0
to
0.47.1
+18
-0
index.d.ts

@@ -12,2 +12,20 @@ /* auto-generated by NAPI-RS */

constructor(config: JsMesaFileSystemConfig, onLog?: ((record: JsLogRecord) => void) | undefined | null)
/**
* Construct a filesystem without blocking the JavaScript event loop.
*
* The returned promise resolves only after layout repositories have been
* opened and the filesystem is ready for use. Failed construction does
* not return a partially initialized filesystem.
*/
static createAsync(config: JsMesaFileSystemConfig): Promise<MesaFileSystem>
/**
* Attach a JavaScript log callback after asynchronous construction.
*
* This synchronous step keeps the non-Send JavaScript function handle out
* of the construction future. It must run before filesystem operations so
* their spans route through the callback. Each filesystem accepts exactly
* one callback; a second registration returns an error and retains the
* original callback and log level.
*/
setLogCallback(onLog: (record: JsLogRecord) => void, logLevel?: string | undefined | null): void
/** Read file contents as text with the given encoding. */

@@ -14,0 +32,0 @@ readText(path: string, encoding?: string | undefined | null): Promise<string>

+6
-6
{
"name": "@mesadev/mesafs-napi",
"version": "0.47.0",
"version": "0.47.1",
"main": "index.js",

@@ -23,8 +23,8 @@ "types": "index.d.ts",

"optionalDependencies": {
"@mesadev/mesafs-napi-darwin-arm64": "0.47.0",
"@mesadev/mesafs-napi-linux-x64-gnu": "0.47.0",
"@mesadev/mesafs-napi-linux-x64-musl": "0.47.0",
"@mesadev/mesafs-napi-linux-arm64-gnu": "0.47.0",
"@mesadev/mesafs-napi-linux-arm64-musl": "0.47.0"
"@mesadev/mesafs-napi-darwin-arm64": "0.47.1",
"@mesadev/mesafs-napi-linux-x64-gnu": "0.47.1",
"@mesadev/mesafs-napi-linux-x64-musl": "0.47.1",
"@mesadev/mesafs-napi-linux-arm64-gnu": "0.47.1",
"@mesadev/mesafs-napi-linux-arm64-musl": "0.47.1"
}
}