@napi-rs/cli 3.0.0-alpha.61 → 3.0.0-alpha.62
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.
|
@@ -150,7 +150,7 @@ if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
|
|
|
150
150
|
nativeBinding = require('./${localName}.wasi.cjs')
|
|
151
151
|
} catch (err) {
|
|
152
152
|
if (process.env.NAPI_RS_FORCE_WASI) {
|
|
153
|
-
|
|
153
|
+
loadErrors.push(err)
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
if (!nativeBinding) {
|
|
@@ -158,7 +158,7 @@ if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
|
|
|
158
158
|
nativeBinding = require('${pkgName}-wasm32-wasi')
|
|
159
159
|
} catch (err) {
|
|
160
160
|
if (process.env.NAPI_RS_FORCE_WASI) {
|
|
161
|
-
|
|
161
|
+
loadErrors.push(err)
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -6694,7 +6694,7 @@ if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
|
|
|
6694
6694
|
nativeBinding = require('./${localName}.wasi.cjs')
|
|
6695
6695
|
} catch (err) {
|
|
6696
6696
|
if (process.env.NAPI_RS_FORCE_WASI) {
|
|
6697
|
-
|
|
6697
|
+
loadErrors.push(err)
|
|
6698
6698
|
}
|
|
6699
6699
|
}
|
|
6700
6700
|
if (!nativeBinding) {
|
|
@@ -6702,7 +6702,7 @@ if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
|
|
|
6702
6702
|
nativeBinding = require('${pkgName}-wasm32-wasi')
|
|
6703
6703
|
} catch (err) {
|
|
6704
6704
|
if (process.env.NAPI_RS_FORCE_WASI) {
|
|
6705
|
-
|
|
6705
|
+
loadErrors.push(err)
|
|
6706
6706
|
}
|
|
6707
6707
|
}
|
|
6708
6708
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@napi-rs/cli",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.62",
|
|
4
4
|
"description": "Cli tools for napi-rs",
|
|
5
5
|
"author": "LongYinan <lynweklm@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/napi-rs/napi-rs",
|
|
@@ -129,5 +129,5 @@
|
|
|
129
129
|
"**/__tests__/**/*.spec.ts"
|
|
130
130
|
]
|
|
131
131
|
},
|
|
132
|
-
"gitHead": "
|
|
132
|
+
"gitHead": "09ad8e762e7f7955187cb1123ec9efd89ac99263"
|
|
133
133
|
}
|
|
@@ -155,7 +155,7 @@ if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
|
|
|
155
155
|
nativeBinding = require('./${localName}.wasi.cjs')
|
|
156
156
|
} catch (err) {
|
|
157
157
|
if (process.env.NAPI_RS_FORCE_WASI) {
|
|
158
|
-
|
|
158
|
+
loadErrors.push(err)
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
if (!nativeBinding) {
|
|
@@ -163,7 +163,7 @@ if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
|
|
|
163
163
|
nativeBinding = require('${pkgName}-wasm32-wasi')
|
|
164
164
|
} catch (err) {
|
|
165
165
|
if (process.env.NAPI_RS_FORCE_WASI) {
|
|
166
|
-
|
|
166
|
+
loadErrors.push(err)
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
}
|