@arkts/image-manager 0.5.6 → 0.5.7
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/index.cjs +5 -6
- package/dist/index.mjs +5 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -32,7 +32,7 @@ let base64_js = require("base64-js");
|
|
|
32
32
|
let vscode_fs = require("vscode-fs");
|
|
33
33
|
|
|
34
34
|
//#region package.json
|
|
35
|
-
var version = "0.5.
|
|
35
|
+
var version = "0.5.7";
|
|
36
36
|
|
|
37
37
|
//#endregion
|
|
38
38
|
//#region src/common/serializable-content.ts
|
|
@@ -276,11 +276,10 @@ var EmulatorFileImpl = class extends SerializableFileImpl {
|
|
|
276
276
|
}
|
|
277
277
|
}).filter(Boolean);
|
|
278
278
|
}
|
|
279
|
-
getDeviceItems(
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
else
|
|
283
|
-
else this.getDeviceItems(item.getChildren());
|
|
279
|
+
getDeviceItems() {
|
|
280
|
+
const items = [];
|
|
281
|
+
for (const item of this.getItems()) if (EmulatorGroupItem.is(item)) for (const child of item.getChildren()) items.push(child);
|
|
282
|
+
else items.push(item);
|
|
284
283
|
return items;
|
|
285
284
|
}
|
|
286
285
|
findRemoteImageByDeviceItem(deviceItem, remoteImages) {
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { fromByteArray } from "base64-js";
|
|
|
3
3
|
import { RelativePattern, WriteableFlags, createNodeFileSystem } from "vscode-fs";
|
|
4
4
|
|
|
5
5
|
//#region package.json
|
|
6
|
-
var version = "0.5.
|
|
6
|
+
var version = "0.5.7";
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/common/serializable-content.ts
|
|
@@ -247,11 +247,10 @@ var EmulatorFileImpl = class extends SerializableFileImpl {
|
|
|
247
247
|
}
|
|
248
248
|
}).filter(Boolean);
|
|
249
249
|
}
|
|
250
|
-
getDeviceItems(
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
else
|
|
254
|
-
else this.getDeviceItems(item.getChildren());
|
|
250
|
+
getDeviceItems() {
|
|
251
|
+
const items = [];
|
|
252
|
+
for (const item of this.getItems()) if (EmulatorGroupItem.is(item)) for (const child of item.getChildren()) items.push(child);
|
|
253
|
+
else items.push(item);
|
|
255
254
|
return items;
|
|
256
255
|
}
|
|
257
256
|
findRemoteImageByDeviceItem(deviceItem, remoteImages) {
|
package/package.json
CHANGED