diff --git a/package-lock.json b/package-lock.json index 562ce4d..49d1f7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,9 +4,9 @@ "lockfileVersion": 1, "dependencies": { "@types/node": { - "version": "10.11.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.11.4.tgz", - "integrity": "sha512-ojnbBiKkZFYRfQpmtnnWTMw+rzGp/JiystjluW9jgN3VzRwilXddJ6aGQ9V/7iuDG06SBgn7ozW9k3zcAnYjYQ==", + "version": "10.11.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.11.7.tgz", + "integrity": "sha512-yOxFfkN9xUFLyvWaeYj90mlqTJ41CsQzWKS3gXdOMOyPVacUsymejKxJ4/pMW7exouubuEeZLJawGgcNGYlTeg==", "dev": true }, "sax": { @@ -15,7 +15,7 @@ "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" }, "ssn-installer": { - "version": "git+https://git.jedipedia.net/swtor/ssn-installer.git#3ddf3645adec42dd872ebaf593f9910eee3e5046", + "version": "git+https://git.jedipedia.net/swtor/ssn-installer.git#8c8c5cf68a1a74527de5ccd268db0aa34b795e13", "from": "git+https://git.jedipedia.net/swtor/ssn-installer.git" }, "xml-js": { diff --git a/package.json b/package.json index 5148c64..ff75aed 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "devDependencies": { - "@types/node": "^10.11.4" + "@types/node": "^10.11.7" }, "dependencies": { "ssn-installer": "git+https://git.jedipedia.net/swtor/ssn-installer.git", diff --git a/src/ssn/getPatch.ts b/src/ssn/getPatch.ts index 7f29c5f..b32e934 100644 --- a/src/ssn/getPatch.ts +++ b/src/ssn/getPatch.ts @@ -62,7 +62,7 @@ export default async function getPatch({ product, from, to, sourceDirectory, tar //start download, making sure that .zip file downloads first const indexOfLastFile = solidpkg.files.length - 1; const zipFile = getUrlContents(createUrlObject(solidpkg.files[indexOfLastFile])); - const diskFiles = solidpkg.files.slice(0, indexOfLastFile).map((file) => downloadWrapper({ ...createUrlObject(file), useCurl: false })); + const diskFiles = solidpkg.files.slice(0, indexOfLastFile).map((file) => downloadWrapper({ ...createUrlObject(file), useCurl: true })); //we can parse the file entries as soon as the .zip file is downloaded const fileEntries = readSsnFile(await zipFile);