@tuya-miniapp/ark-extension-virtual-device 1.8.1-beta-2 → 1.8.1-beta-3
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/dist/worker/index.js +3 -3
- package/package.json +1 -1
package/dist/worker/index.js
CHANGED
|
@@ -220752,7 +220752,7 @@ var require_package2 = __commonJS({
|
|
|
220752
220752
|
"package.json"(exports, module2) {
|
|
220753
220753
|
module2.exports = {
|
|
220754
220754
|
name: "@tuya-miniapp/ark-extension-virtual-device",
|
|
220755
|
-
version: "1.8.1-beta-
|
|
220755
|
+
version: "1.8.1-beta-2",
|
|
220756
220756
|
license: "MIT",
|
|
220757
220757
|
files: [
|
|
220758
220758
|
"manifest.json",
|
|
@@ -279444,7 +279444,7 @@ function downloadFromNpm(npmName, version) {
|
|
|
279444
279444
|
const dist2 = import_path11.default.join(
|
|
279445
279445
|
__dirname,
|
|
279446
279446
|
"../../../ark.virtual-devices-extensions",
|
|
279447
|
-
npmName
|
|
279447
|
+
process.env.OS.toLowerCase().indexOf("window") > -1 ? npmName.replace(/\//g, "-") : npmName.replace(/\//g, ":")
|
|
279448
279448
|
);
|
|
279449
279449
|
esm_default.request(tarball, {
|
|
279450
279450
|
streaming: true,
|
|
@@ -279452,7 +279452,7 @@ function downloadFromNpm(npmName, version) {
|
|
|
279452
279452
|
}).then(
|
|
279453
279453
|
(result) => compressing2.tgz.uncompress(result.res, tempDir)
|
|
279454
279454
|
).then(() => {
|
|
279455
|
-
console.log("---------uncompress success", `${tempDir}/package`, dist2
|
|
279455
|
+
console.log("---------uncompress success", `${tempDir}/package`, dist2);
|
|
279456
279456
|
setTimeout(async () => {
|
|
279457
279457
|
try {
|
|
279458
279458
|
fs10.removeSync(dist2);
|