diff --git a/lib/plist.js b/lib/plist.js index 5b7e7ccf..3897c922 100644 --- a/lib/plist.js +++ b/lib/plist.js @@ -69,4 +69,12 @@ async function updatePlistFile (plist, updatedFields, binary = true, mustExist = } } -export { parsePlistFile, updatePlistFile }; +function createBinaryPlist (data) { + return bplistCreate(data); +} + +function parseBinaryPlist (data) { + return bplistParse.parseBuffer(data); +} + +export { parsePlistFile, updatePlistFile, createBinaryPlist, parseBinaryPlist }; diff --git a/package.json b/package.json index 3df6f1dc..402d9c82 100644 --- a/package.json +++ b/package.json @@ -32,8 +32,8 @@ "@babel/runtime": "^7.0.0", "archiver": "^1.3.0", "bluebird": "^3.5.1", - "bplist-creator": "^0.0.7", - "bplist-parser": "^0.1.0", + "bplist-creator": "^0", + "bplist-parser": "^0", "extract-zip": "^1.6.0", "glob": "^7.1.2", "jimp": "^0.6.4",