@revopush/code-push-cli 0.0.9 → 0.0.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.
|
@@ -10,7 +10,7 @@ const os = require("os");
|
|
|
10
10
|
const Q = require("q");
|
|
11
11
|
const yazl = require("yazl");
|
|
12
12
|
const promises_1 = require("node:fs/promises");
|
|
13
|
-
const
|
|
13
|
+
const plist = require("plist");
|
|
14
14
|
const bplist = require("bplist-parser");
|
|
15
15
|
async function extractMetadataFromAndroid(extractFolder, outputFolder) {
|
|
16
16
|
const assetsFolder = path.join(extractFolder, "assets");
|
|
@@ -148,7 +148,7 @@ function parseAnyPlistFile(plistPath) {
|
|
|
148
148
|
return arr[0];
|
|
149
149
|
}
|
|
150
150
|
const xml = buf.toString("utf8");
|
|
151
|
-
return
|
|
151
|
+
return plist.parse(xml);
|
|
152
152
|
}
|
|
153
153
|
async function getIosVersion(extractFolder) {
|
|
154
154
|
const payloadFolder = path.join(extractFolder, "Payload");
|
package/package.json
CHANGED
package/script/binary-utils.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as os from "os";
|
|
|
7
7
|
import * as Q from "q";
|
|
8
8
|
import * as yazl from "yazl";
|
|
9
9
|
import { readFile } from "node:fs/promises";
|
|
10
|
-
import plist from "plist"
|
|
10
|
+
import * as plist from "plist"
|
|
11
11
|
import * as bplist from "bplist-parser";
|
|
12
12
|
|
|
13
13
|
export async function extractMetadataFromAndroid(extractFolder, outputFolder) {
|