adbkit-apkreader
Advanced tools
Comparing version 3.0.1 to 3.0.2
# Changelog | ||
## 3.0.2 (2018-07-11) | ||
### Fixes | ||
* Fixed parsing of Chrome 68 Beta APK and other similar APKs with a missing XML namespace. Thanks @zr0827! | ||
## 3.0.1 (2018-04-20) | ||
@@ -4,0 +10,0 @@ |
@@ -521,12 +521,2 @@ 'use strict' | ||
this.readStringPool(this.readChunkHeader()) | ||
const resMapHeader = this.readChunkHeader() | ||
if (resMapHeader.chunkType === ChunkType.XML_RESOURCE_MAP) { | ||
this.readResourceMap(resMapHeader) | ||
this.readXmlNamespaceStart(this.readChunkHeader()) | ||
} else { | ||
this.readXmlNamespaceStart(resMapHeader) | ||
} | ||
while (this.cursor < this.buffer.length) { | ||
@@ -536,2 +526,8 @@ const start = this.cursor | ||
switch (header.chunkType) { | ||
case ChunkType.STRING_POOL: | ||
this.readStringPool(header) | ||
break | ||
case ChunkType.XML_RESOURCE_MAP: | ||
this.readResourceMap(header) | ||
break | ||
case ChunkType.XML_START_NAMESPACE: | ||
@@ -538,0 +534,0 @@ this.readXmlNamespaceStart(header) |
{ | ||
"name": "adbkit-apkreader", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Extracts information from APK files.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33863
766