From 56371877801cd3aae266fac6536017e47adc19b6 Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Mon, 21 Aug 2017 16:54:31 +0900 Subject: [PATCH] Update adbkit to resolve index out of range errors on some newer APKs. --- CHANGELOG.md | 6 ++++++ package.json | 2 +- yarn.lock | 7 ++++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3b10437d4..8a63d81de8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## HEAD + +### Fixes + +- Updated [adbkit](https://github.com/openstf/adbkit) to fix `RangeError: Index out of range` errors when parsing newer APKs that use UTF-8 encoding for their string pools. + ## 3.0.0 (2017-08-09) ### Enhancements diff --git a/package.json b/package.json index 6df1342294..4efb16bb6c 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "dependencies": { "@slack/client": "^3.5.4", "adbkit": "^2.9.2", - "adbkit-apkreader": "^2.1.1", + "adbkit-apkreader": "^2.1.2", "adbkit-monkey": "^1.0.1", "aws-sdk": "^2.4.13", "basic-auth": "^1.0.3", diff --git a/yarn.lock b/yarn.lock index 29f2fc50e9..1afbacacad 100644 --- a/yarn.lock +++ b/yarn.lock @@ -88,9 +88,9 @@ acorn@^5.0.1: version "5.0.3" resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.0.3.tgz#c460df08491463f028ccb82eab3730bf01087b3d" -adbkit-apkreader@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/adbkit-apkreader/-/adbkit-apkreader-2.1.1.tgz#21eabe24a4208951a91b47dd878f632ab490ea1e" +adbkit-apkreader@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/adbkit-apkreader/-/adbkit-apkreader-2.1.2.tgz#5bcf164fea9192ee13b2a225249f1b1b3e6ff541" dependencies: bluebird "^3.4.7" debug "~0.7.4" @@ -3432,6 +3432,7 @@ jade@1.11.0: jstransformer "0.0.2" mkdirp "~0.5.0" transformers "2.1.0" + uglify-js "^2.4.19" void-elements "~2.0.1" with "~4.0.0"