@oh-my-pi/pi-natives 10.5.0 → 10.6.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.
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/pi-natives",
3
- "version": "10.5.0",
3
+ "version": "10.6.1",
4
4
  "description": "Native Rust functionality via N-API",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -32,7 +32,7 @@
32
32
  "directory": "packages/natives"
33
33
  },
34
34
  "dependencies": {
35
- "@oh-my-pi/pi-utils": "10.5.0"
35
+ "@oh-my-pi/pi-utils": "10.6.1"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/node": "^25.2.0"
package/src/grep/types.ts CHANGED
@@ -24,7 +24,11 @@ export interface GrepOptions extends Cancellable {
24
24
  maxCount?: number;
25
25
  /** Skip first N matches */
26
26
  offset?: number;
27
- /** Lines of context before/after matches */
27
+ /** Lines of context before matches */
28
+ contextBefore?: number;
29
+ /** Lines of context after matches */
30
+ contextAfter?: number;
31
+ /** Lines of context before/after matches (legacy) */
28
32
  context?: number;
29
33
  /** Truncate lines longer than this (characters) */
30
34
  maxColumns?: number;
@@ -88,7 +92,11 @@ export interface SearchOptions {
88
92
  maxCount?: number;
89
93
  /** Skip first N matches */
90
94
  offset?: number;
91
- /** Lines of context before/after matches */
95
+ /** Lines of context before matches */
96
+ contextBefore?: number;
97
+ /** Lines of context after matches */
98
+ contextAfter?: number;
99
+ /** Lines of context before/after matches (legacy) */
92
100
  context?: number;
93
101
  /** Truncate lines longer than this (characters) */
94
102
  maxColumns?: number;