New:Socket for Asana Is Now Available.Learn more
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.43.0
to
0.44.0
+43
-0
index.d.ts

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

/**
* Flush pending writes, optionally describe the current change, create a
* new descendant change, and advance bookmarks onto that descendant.
*
* Requires the current checkout to be on a bookmark. Omit `message` to
* preserve the existing description; pass a string (including `""`) to
* overwrite. Returns both the saved (described) change and the
* now-active descendant.
*/
checkpoint(repo: string, message?: string | undefined | null): Promise<JsCheckpointResponse>
/**
* List changes reachable from the current checkout's commit.

@@ -138,2 +148,10 @@ *

/** Response returned by [`checkpoint`](crate::MesaFileSystem::checkpoint). */
export interface JsCheckpointResponse {
/** Reverse-hex-encoded change ID of the described (saved) change. */
savedChangeOid: string
/** Reverse-hex-encoded change ID of the now-active empty descendant. */
activeChangeOid: string
}
/** Directory entry with file type information. */

@@ -157,2 +175,4 @@ export interface JsDirentEntry {

maxSizeBytes?: number
/** Disk cache block size in bytes (f64 for JS compatibility). */
blockSizeBytes?: number
}

@@ -198,2 +218,4 @@

repos: Array<JsRepoConfig>
/** Serialized `LayoutSpec` document. Parsed and validated at the binding boundary. */
layout?: string
/**

@@ -260,1 +282,22 @@ * Which repos from the org show up in the mount.

}
/**
* Install or clear the process-local benchmark traceparent override.
*
* Benchmark-harness-only (the latency suite's just-bash surface): the harness
* calls this per measured iteration instead of mutating `process.env`, which
* would race with native threads reading the environment (`setenv`/`getenv`
* from different threads is undefined behavior in glibc). Updates the same
* global the CLI daemon's `benchmark-trace` RPC uses. Without the `benchmark`
* build feature nothing reads the global, so this is inert in published
* builds.
*/
export declare function setBenchmarkTraceparentOverride(traceparent?: string | undefined | null): void
/**
* Validate a serialized `LayoutSpec` document against the core mount
* schema's structural rules without mounting. Throws the exact error a
* mount would report for a structurally invalid document; repository
* names are not resolved here.
*/
export declare function validateLayout(layoutJson: string): void
+2
-0

@@ -740,1 +740,3 @@ // prettier-ignore

module.exports.MesaFileSystemWatcher = nativeBinding.MesaFileSystemWatcher;
module.exports.setBenchmarkTraceparentOverride = nativeBinding.setBenchmarkTraceparentOverride;
module.exports.validateLayout = nativeBinding.validateLayout;
+6
-6
{
"name": "@mesadev/mesafs-napi",
"version": "0.43.0",
"version": "0.44.0",
"main": "index.js",

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

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