mirror of
https://github.com/stablyai/orca.git
synced 2026-10-12 16:03:03 +00:00
windows-native-registry@3.2.2 was last published in 2023 by a single maintainer. Orca called two of its exports, both read-only, so the whole dependency is replaced by a local N-API addon under native/. The vendored addon is read-only by construction: setValue, createKey and deleteKey are gone, so RegDeleteTreeW no longer ships in the app. Two upstream defects are also fixed rather than carried over — the name/data scratch buffers were file-scope statics that concurrent reads would scribble over, and createKey/deleteKey called .c_str() on a temporary. Build wiring keeps the existing shape: still an optionalDependency gated to win32, still excluded from pnpm's allowBuilds so only Orca's own Windows rebuild runs node-gyp for it, still copied into the packaged resources. The CI native caches now key on the vendored sources so an addon.cc edit cannot restore a stale .node.
22 lines
385 B
JSON
22 lines
385 B
JSON
{
|
|
"name": "@orca/windows-registry",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Read-only Windows registry value enumeration for Orca",
|
|
"license": "MIT",
|
|
"files": [
|
|
"index.js",
|
|
"index.d.ts",
|
|
"binding.gyp",
|
|
"src"
|
|
],
|
|
"os": [
|
|
"win32"
|
|
],
|
|
"main": "index.js",
|
|
"types": "index.d.ts",
|
|
"dependencies": {
|
|
"node-addon-api": "^8.5.0"
|
|
}
|
|
}
|