@shined/doctor-binding 0.0.24-snapshot.1 → 0.0.24-snapshot.10
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/index.js +2 -1
- package/package.json +9 -9
package/index.js
CHANGED
|
@@ -68,7 +68,7 @@ function requireNative() {
|
|
|
68
68
|
try {
|
|
69
69
|
nativeBinding = require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH);
|
|
70
70
|
} catch (err) {
|
|
71
|
-
loadErrors.push(err)
|
|
71
|
+
loadErrors.push(err)
|
|
72
72
|
}
|
|
73
73
|
} else if (process.platform === 'android') {
|
|
74
74
|
if (process.arch === 'arm64') {
|
|
@@ -374,6 +374,7 @@ if (!nativeBinding) {
|
|
|
374
374
|
throw new Error(`Failed to load native binding`)
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
+
module.exports = nativeBinding
|
|
377
378
|
module.exports.doctor = nativeBinding.doctor
|
|
378
379
|
module.exports.getLangStats = nativeBinding.getLangStats
|
|
379
380
|
module.exports.initializeLogger = nativeBinding.initializeLogger
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shined/doctor-binding",
|
|
3
|
-
"version": "0.0.24-snapshot.
|
|
3
|
+
"version": "0.0.24-snapshot.10",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"repository": {
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
},
|
|
21
21
|
"homepage": "https://github.com/sheinsight/doctor-engine#readme",
|
|
22
22
|
"optionalDependencies": {
|
|
23
|
-
"@shined/doctor-binding-darwin-x64": "0.0.24-snapshot.
|
|
24
|
-
"@shined/doctor-binding-darwin-arm64": "0.0.24-snapshot.
|
|
25
|
-
"@shined/doctor-binding-win32-x64-msvc": "0.0.24-snapshot.
|
|
26
|
-
"@shined/doctor-binding-win32-arm64-msvc": "0.0.24-snapshot.
|
|
27
|
-
"@shined/doctor-binding-linux-x64-gnu": "0.0.24-snapshot.
|
|
28
|
-
"@shined/doctor-binding-linux-x64-musl": "0.0.24-snapshot.
|
|
29
|
-
"@shined/doctor-binding-linux-arm64-gnu": "0.0.24-snapshot.
|
|
30
|
-
"@shined/doctor-binding-linux-arm64-musl": "0.0.24-snapshot.
|
|
23
|
+
"@shined/doctor-binding-darwin-x64": "0.0.24-snapshot.10",
|
|
24
|
+
"@shined/doctor-binding-darwin-arm64": "0.0.24-snapshot.10",
|
|
25
|
+
"@shined/doctor-binding-win32-x64-msvc": "0.0.24-snapshot.10",
|
|
26
|
+
"@shined/doctor-binding-win32-arm64-msvc": "0.0.24-snapshot.10",
|
|
27
|
+
"@shined/doctor-binding-linux-x64-gnu": "0.0.24-snapshot.10",
|
|
28
|
+
"@shined/doctor-binding-linux-x64-musl": "0.0.24-snapshot.10",
|
|
29
|
+
"@shined/doctor-binding-linux-arm64-gnu": "0.0.24-snapshot.10",
|
|
30
|
+
"@shined/doctor-binding-linux-arm64-musl": "0.0.24-snapshot.10"
|
|
31
31
|
}
|
|
32
32
|
}
|