@oh-my-pi/pi-natives 12.9.0 → 12.10.0
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/pi_natives.darwin-arm64.node +0 -0
- package/native/pi_natives.darwin-x64-baseline.node +0 -0
- package/native/pi_natives.darwin-x64-modern.node +0 -0
- package/native/pi_natives.linux-arm64.node +0 -0
- package/native/pi_natives.linux-x64-baseline.node +0 -0
- package/native/pi_natives.linux-x64-modern.node +0 -0
- package/native/pi_natives.win32-x64-baseline.node +0 -0
- package/native/pi_natives.win32-x64-modern.node +0 -0
- package/package.json +2 -2
- package/src/native.ts +2 -2
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
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": "12.
|
|
3
|
+
"version": "12.10.0",
|
|
4
4
|
"description": "Native Rust functionality via N-API",
|
|
5
5
|
"keywords": ["napi", "rust", "native", "grep", "text-processing"],
|
|
6
6
|
"type": "module",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"url": "https://github.com/can1357/oh-my-pi/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@oh-my-pi/pi-utils": "12.
|
|
40
|
+
"@oh-my-pi/pi-utils": "12.10.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/bun": "^1.3.9"
|
package/src/native.ts
CHANGED
|
@@ -150,9 +150,9 @@ function getAddonFilenames(tag: string, variant: CpuVariant | null): string[] {
|
|
|
150
150
|
const baselineFilename = `pi_natives.${tag}-baseline.node`;
|
|
151
151
|
const modernFilename = `pi_natives.${tag}-modern.node`;
|
|
152
152
|
if (variant === "modern") {
|
|
153
|
-
return [modernFilename, baselineFilename];
|
|
153
|
+
return [modernFilename, baselineFilename, defaultFilename];
|
|
154
154
|
}
|
|
155
|
-
return [baselineFilename];
|
|
155
|
+
return [baselineFilename, defaultFilename];
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
function selectEmbeddedAddonFile(): { filename: string; filePath: string } | null {
|