@mesadev/mesafs-napi
Advanced tools
+18
-0
@@ -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" | ||
| } | ||
| } |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
42094
2.18%1072
1.71%