@gajae-code/natives 0.18.7 → 0.18.9
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/diagnostic-artifact.json +7 -7
- package/native/index.d.ts +19 -1
- package/native/index.js +4 -1
- package/package.json +6 -6
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "gjc.diagnostic-artifact",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.9",
|
|
4
4
|
"artifacts": {
|
|
5
|
-
"pi_natives.darwin-arm64.node": "
|
|
6
|
-
"pi_natives.darwin-x64-baseline.node": "
|
|
7
|
-
"pi_natives.linux-arm64.node": "
|
|
8
|
-
"pi_natives.linux-x64-baseline.node": "
|
|
9
|
-
"pi_natives.linux-x64-modern.node": "
|
|
10
|
-
"pi_natives.win32-x64-baseline.node": "
|
|
5
|
+
"pi_natives.darwin-arm64.node": "7de38d8d531fea3e011043881f72159bdbe922f60d5b3ad2158e8d12bb353282",
|
|
6
|
+
"pi_natives.darwin-x64-baseline.node": "39bd5c67fa70628cea6b789a2aded045aef3e83a0e0fc0202d3b7bd419798ba8",
|
|
7
|
+
"pi_natives.linux-arm64.node": "a7b5f893ee96189e955fa55eca7d61b7a2ac08e0f4c9485fc506022c36cb6f3c",
|
|
8
|
+
"pi_natives.linux-x64-baseline.node": "4066c24a726272b3a4a79de6156c4702b733359e3e762c738ab233db7aa273db",
|
|
9
|
+
"pi_natives.linux-x64-modern.node": "0dba639dbe3b0dad446f3cbbe45a523bc3c3753242f5f165076879afb851ae39",
|
|
10
|
+
"pi_natives.win32-x64-baseline.node": "a32931fcec6da3d4ac44fc752012f2683be068ca66866e767c39c0d407e5a508"
|
|
11
11
|
}
|
|
12
12
|
}
|
package/native/index.d.ts
CHANGED
|
@@ -687,7 +687,7 @@ export declare function __piNativesPublishOutcomeV1(): void
|
|
|
687
687
|
* `packages/natives/native/index.js` (which derives the name from
|
|
688
688
|
* `package.json#version`).
|
|
689
689
|
*/
|
|
690
|
-
export declare function
|
|
690
|
+
export declare function __piNativesV0_18_9(): void
|
|
691
691
|
|
|
692
692
|
/**
|
|
693
693
|
* Apply conservative pre-execution rewrites to a bash command.
|
|
@@ -1102,6 +1102,12 @@ export interface DiffStreamResult {
|
|
|
1102
1102
|
*/
|
|
1103
1103
|
export declare function diffWords(oldText: string, newText: string): Array<DiffChange>
|
|
1104
1104
|
|
|
1105
|
+
/**
|
|
1106
|
+
* Returns whether the directory's child names are case-sensitive when the
|
|
1107
|
+
* platform can query that property.
|
|
1108
|
+
*/
|
|
1109
|
+
export declare function directoryCaseSensitive(path: string): boolean | null
|
|
1110
|
+
|
|
1105
1111
|
export interface DoctorJournalCreateResult {
|
|
1106
1112
|
authority?: DoctorJournalAuthority
|
|
1107
1113
|
sideEffectStarted: boolean
|
|
@@ -2912,6 +2918,12 @@ export declare function sliceWithWidth(line: string, startCol: number, length: n
|
|
|
2912
2918
|
*/
|
|
2913
2919
|
export declare function snapshotDirectoryTree(path: string): NativeDirectoryTreeResult
|
|
2914
2920
|
|
|
2921
|
+
/**
|
|
2922
|
+
* Capture native root metadata only after proving a directory has no entries.
|
|
2923
|
+
* Enumeration stops at the first non-dot child; no child is opened or read.
|
|
2924
|
+
*/
|
|
2925
|
+
export declare function snapshotEmptyDirectory(path: string): NativeDirectoryTreeResult
|
|
2926
|
+
|
|
2915
2927
|
/**
|
|
2916
2928
|
* Unified-diff hunks with jsdiff
|
|
2917
2929
|
* `structuredPatch(_, _, oldText, newText, _, _, { context }).hunks`
|
|
@@ -3016,6 +3028,12 @@ export interface WindowsJobMemoryProbeResult {
|
|
|
3016
3028
|
code?: string
|
|
3017
3029
|
}
|
|
3018
3030
|
|
|
3031
|
+
/**
|
|
3032
|
+
* Fold UTF-16 code units with Windows' ordinal case mapping, without Unicode
|
|
3033
|
+
* expansions.
|
|
3034
|
+
*/
|
|
3035
|
+
export declare function windowsOrdinalCaseFold(value: string): string
|
|
3036
|
+
|
|
3019
3037
|
/** Profiling results returned to JavaScript. */
|
|
3020
3038
|
export interface WorkProfile {
|
|
3021
3039
|
/** Folded stack format for flamegraph tools. */
|
package/native/index.js
CHANGED
|
@@ -35,7 +35,7 @@ export const TtyWriter = nativeBindings.TtyWriter;
|
|
|
35
35
|
// functions
|
|
36
36
|
export const __gjcInstallTokioRuntime = nativeBindings.__gjcInstallTokioRuntime;
|
|
37
37
|
export const __piNativesPublishOutcomeV1 = nativeBindings.__piNativesPublishOutcomeV1;
|
|
38
|
-
export const
|
|
38
|
+
export const __piNativesV0_18_9 = nativeBindings.__piNativesV0_18_9;
|
|
39
39
|
export const applyBashFixups = nativeBindings.applyBashFixups;
|
|
40
40
|
export const applyOwnerOnlyFdSecurity = nativeBindings.applyOwnerOnlyFdSecurity;
|
|
41
41
|
export const applyOwnerOnlyPathSecurity = nativeBindings.applyOwnerOnlyPathSecurity;
|
|
@@ -50,6 +50,7 @@ export const diagnosticSnapshotOpen = nativeBindings.diagnosticSnapshotOpen;
|
|
|
50
50
|
export const diffLineRuns = nativeBindings.diffLineRuns;
|
|
51
51
|
export const diffLines = nativeBindings.diffLines;
|
|
52
52
|
export const diffWords = nativeBindings.diffWords;
|
|
53
|
+
export const directoryCaseSensitive = nativeBindings.directoryCaseSensitive;
|
|
53
54
|
export const editFindMatch = nativeBindings.editFindMatch;
|
|
54
55
|
export const editParseApplyPatch = nativeBindings.editParseApplyPatch;
|
|
55
56
|
export const editPatchApplyText = nativeBindings.editPatchApplyText;
|
|
@@ -112,6 +113,7 @@ export const search = nativeBindings.search;
|
|
|
112
113
|
export const setHangulCompatJamoWidthOverride = nativeBindings.setHangulCompatJamoWidthOverride;
|
|
113
114
|
export const sliceWithWidth = nativeBindings.sliceWithWidth;
|
|
114
115
|
export const snapshotDirectoryTree = nativeBindings.snapshotDirectoryTree;
|
|
116
|
+
export const snapshotEmptyDirectory = nativeBindings.snapshotEmptyDirectory;
|
|
115
117
|
export const structuredPatchHunks = nativeBindings.structuredPatchHunks;
|
|
116
118
|
export const summarizeCode = nativeBindings.summarizeCode;
|
|
117
119
|
export const supportsLanguage = nativeBindings.supportsLanguage;
|
|
@@ -123,6 +125,7 @@ export const verifyOwnerOnlyPathSecurityExpected = nativeBindings.verifyOwnerOnl
|
|
|
123
125
|
export const visibleWidth = nativeBindings.visibleWidth;
|
|
124
126
|
export const visibleWidths = nativeBindings.visibleWidths;
|
|
125
127
|
export const walkerPoolStatus = nativeBindings.walkerPoolStatus;
|
|
128
|
+
export const windowsOrdinalCaseFold = nativeBindings.windowsOrdinalCaseFold;
|
|
126
129
|
export const wrapTextWithAnsi = nativeBindings.wrapTextWithAnsi;
|
|
127
130
|
|
|
128
131
|
// string/numeric enums (napi-rs string_enum produces TS-only const enum)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gajae-code/natives",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.9",
|
|
4
4
|
"description": "Native Rust bindings for grep, clipboard, image processing, syntax highlighting, PTY, and shell operations via N-API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://gajae-code.com",
|
|
@@ -65,11 +65,11 @@
|
|
|
65
65
|
"README.md"
|
|
66
66
|
],
|
|
67
67
|
"optionalDependencies": {
|
|
68
|
-
"@gajae-code/natives-darwin-arm64": "0.18.
|
|
69
|
-
"@gajae-code/natives-darwin-x64": "0.18.
|
|
70
|
-
"@gajae-code/natives-linux-arm64": "0.18.
|
|
71
|
-
"@gajae-code/natives-linux-x64": "0.18.
|
|
72
|
-
"@gajae-code/natives-win32-x64": "0.18.
|
|
68
|
+
"@gajae-code/natives-darwin-arm64": "0.18.9",
|
|
69
|
+
"@gajae-code/natives-darwin-x64": "0.18.9",
|
|
70
|
+
"@gajae-code/natives-linux-arm64": "0.18.9",
|
|
71
|
+
"@gajae-code/natives-linux-x64": "0.18.9",
|
|
72
|
+
"@gajae-code/natives-win32-x64": "0.18.9"
|
|
73
73
|
},
|
|
74
74
|
"exports": {
|
|
75
75
|
".": {
|