@oh-my-pi/pi-natives 18.14.0 → 18.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/native/index.d.ts +8 -0
- package/package.json +7 -7
package/native/index.d.ts
CHANGED
|
@@ -252,6 +252,14 @@ export declare class EditStore {
|
|
|
252
252
|
export declare class FileLock {
|
|
253
253
|
/** Try to acquire `path` without blocking. */
|
|
254
254
|
static tryAcquire(path: string): FileLock
|
|
255
|
+
/**
|
|
256
|
+
* Whether any handle, in any process including this one, holds `path`.
|
|
257
|
+
*
|
|
258
|
+
* Observes without locking or opening the lock: a `connect(2)` probe on
|
|
259
|
+
* Linux, an `F_GETLK` query on other Unix platforms, a `\BaseNamedObjects`
|
|
260
|
+
* directory listing on Windows. A concurrent `tryAcquire()` never meets it.
|
|
261
|
+
*/
|
|
262
|
+
static isHeld(path: string): boolean
|
|
255
263
|
/** Whether this handle owns the requested lock. */
|
|
256
264
|
get acquired(): boolean
|
|
257
265
|
/** Release this handle's ownership without affecting a successor. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oh-my-pi/pi-natives",
|
|
3
|
-
"version": "18.14.
|
|
3
|
+
"version": "18.14.1",
|
|
4
4
|
"description": "Native Rust bindings for PDF conversion, audio, WebRTC, grep, clipboard, image processing, syntax highlighting, PTY, and shell operations via N-API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://omp.sh",
|
|
@@ -114,11 +114,11 @@
|
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
116
|
"optionalDependencies": {
|
|
117
|
-
"@oh-my-pi/pi-natives-linux-x64": "18.14.
|
|
118
|
-
"@oh-my-pi/pi-natives-linux-arm64": "18.14.
|
|
119
|
-
"@oh-my-pi/pi-natives-darwin-x64": "18.14.
|
|
120
|
-
"@oh-my-pi/pi-natives-darwin-arm64": "18.14.
|
|
121
|
-
"@oh-my-pi/pi-natives-win32-x64": "18.14.
|
|
122
|
-
"@oh-my-pi/pi-natives-win32-arm64": "18.14.
|
|
117
|
+
"@oh-my-pi/pi-natives-linux-x64": "18.14.1",
|
|
118
|
+
"@oh-my-pi/pi-natives-linux-arm64": "18.14.1",
|
|
119
|
+
"@oh-my-pi/pi-natives-darwin-x64": "18.14.1",
|
|
120
|
+
"@oh-my-pi/pi-natives-darwin-arm64": "18.14.1",
|
|
121
|
+
"@oh-my-pi/pi-natives-win32-x64": "18.14.1",
|
|
122
|
+
"@oh-my-pi/pi-natives-win32-arm64": "18.14.1"
|
|
123
123
|
}
|
|
124
124
|
}
|