@shined/doctor-binding 0.0.42 → 0.0.44
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 +6 -5
- package/package.json +9 -9
package/index.js
CHANGED
|
@@ -365,11 +365,12 @@ if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
|
|
|
365
365
|
|
|
366
366
|
if (!nativeBinding) {
|
|
367
367
|
if (loadErrors.length > 0) {
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
368
|
+
throw new Error(
|
|
369
|
+
`Cannot find native binding. ` +
|
|
370
|
+
`npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). ` +
|
|
371
|
+
'Please try `npm i` again after removing both package-lock.json and node_modules directory.',
|
|
372
|
+
{ cause: loadErrors }
|
|
373
|
+
)
|
|
373
374
|
}
|
|
374
375
|
throw new Error(`Failed to load native binding`)
|
|
375
376
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shined/doctor-binding",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.44",
|
|
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
|
-
"@shined/doctor-binding-darwin-arm64": "0.0.
|
|
25
|
-
"@shined/doctor-binding-win32-x64-msvc": "0.0.
|
|
26
|
-
"@shined/doctor-binding-win32-arm64-msvc": "0.0.
|
|
27
|
-
"@shined/doctor-binding-linux-x64-gnu": "0.0.
|
|
28
|
-
"@shined/doctor-binding-linux-x64-musl": "0.0.
|
|
29
|
-
"@shined/doctor-binding-linux-arm64-gnu": "0.0.
|
|
30
|
-
"@shined/doctor-binding-linux-arm64-musl": "0.0.
|
|
23
|
+
"@shined/doctor-binding-darwin-x64": "0.0.44",
|
|
24
|
+
"@shined/doctor-binding-darwin-arm64": "0.0.44",
|
|
25
|
+
"@shined/doctor-binding-win32-x64-msvc": "0.0.44",
|
|
26
|
+
"@shined/doctor-binding-win32-arm64-msvc": "0.0.44",
|
|
27
|
+
"@shined/doctor-binding-linux-x64-gnu": "0.0.44",
|
|
28
|
+
"@shined/doctor-binding-linux-x64-musl": "0.0.44",
|
|
29
|
+
"@shined/doctor-binding-linux-arm64-gnu": "0.0.44",
|
|
30
|
+
"@shined/doctor-binding-linux-arm64-musl": "0.0.44"
|
|
31
31
|
}
|
|
32
32
|
}
|