@oh-my-pi/pi-natives 17.1.2 → 17.1.3
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 +5 -2
- package/native/index.js +1 -1
- package/package.json +6 -6
package/native/index.d.ts
CHANGED
|
@@ -246,7 +246,7 @@ export declare function __ompInstallTokioRuntime(): void
|
|
|
246
246
|
* `packages/natives/native/index.js` (which derives the name from
|
|
247
247
|
* `package.json#version`).
|
|
248
248
|
*/
|
|
249
|
-
export declare function
|
|
249
|
+
export declare function __piNativesV17_1_3(): void
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
252
|
* Apply ast-grep rewrite rules to matching files; honors `dryRun` and returns
|
|
@@ -440,7 +440,10 @@ export interface AstReplaceFileChange {
|
|
|
440
440
|
export interface AstReplaceOptions {
|
|
441
441
|
/** Map of pattern string to replacement template. */
|
|
442
442
|
rewrites?: Record<string, string>
|
|
443
|
-
/**
|
|
443
|
+
/**
|
|
444
|
+
* Language override applied to every file; otherwise inferred per file, so
|
|
445
|
+
* mixed-language paths rewrite each file in its own language.
|
|
446
|
+
*/
|
|
444
447
|
lang?: string
|
|
445
448
|
/** Single file or directory to rewrite. */
|
|
446
449
|
path?: string
|
package/native/index.js
CHANGED
|
@@ -28,7 +28,7 @@ export const Shell = nativeBindings.Shell;
|
|
|
28
28
|
|
|
29
29
|
// functions
|
|
30
30
|
export const __ompInstallTokioRuntime = nativeBindings.__ompInstallTokioRuntime;
|
|
31
|
-
export const
|
|
31
|
+
export const __piNativesV17_1_3 = nativeBindings.__piNativesV17_1_3;
|
|
32
32
|
export const astEdit = nativeBindings.astEdit;
|
|
33
33
|
export const astGrep = nativeBindings.astGrep;
|
|
34
34
|
export const astMatch = nativeBindings.astMatch;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oh-my-pi/pi-natives",
|
|
3
|
-
"version": "17.1.
|
|
3
|
+
"version": "17.1.3",
|
|
4
4
|
"description": "Native Rust bindings for 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",
|
|
@@ -67,10 +67,10 @@
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
"optionalDependencies": {
|
|
70
|
-
"@oh-my-pi/pi-natives-linux-x64": "17.1.
|
|
71
|
-
"@oh-my-pi/pi-natives-linux-arm64": "17.1.
|
|
72
|
-
"@oh-my-pi/pi-natives-darwin-x64": "17.1.
|
|
73
|
-
"@oh-my-pi/pi-natives-darwin-arm64": "17.1.
|
|
74
|
-
"@oh-my-pi/pi-natives-win32-x64": "17.1.
|
|
70
|
+
"@oh-my-pi/pi-natives-linux-x64": "17.1.3",
|
|
71
|
+
"@oh-my-pi/pi-natives-linux-arm64": "17.1.3",
|
|
72
|
+
"@oh-my-pi/pi-natives-darwin-x64": "17.1.3",
|
|
73
|
+
"@oh-my-pi/pi-natives-darwin-arm64": "17.1.3",
|
|
74
|
+
"@oh-my-pi/pi-natives-win32-x64": "17.1.3"
|
|
75
75
|
}
|
|
76
76
|
}
|