partitioninfo
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -1,2 +0,2 @@ | ||
var GPT, GPT_PROTECTIVE_MBR, GPT_SIZE, MBR, MBR_EXTENDED_PARTITION_TYPE, MBR_FIRST_LOGICAL_PARTITION, MBR_LAST_PRIMARY_PARTITION, MBR_SIZE, Promise, _, callWithDisk, filedisk, get, getLogicalPartitions, getPartitions, getPartitionsFromMBRBuf, gptPartitionDict, mbrPartitionDict, partitionNotFoundError, readFromDisk, | ||
var GPT, GPT_PROTECTIVE_MBR, GPT_SIZE, MBR, MBR_FIRST_LOGICAL_PARTITION, MBR_LAST_PRIMARY_PARTITION, MBR_SIZE, Promise, _, callWithDisk, filedisk, get, getLogicalPartitions, getPartitions, getPartitionsFromMBRBuf, gptPartitionDict, mbrPartitionDict, partitionNotFoundError, readFromDisk, | ||
slice = [].slice; | ||
@@ -29,4 +29,2 @@ | ||
MBR_EXTENDED_PARTITION_TYPE = 5; | ||
mbrPartitionDict = function(p, offset, index) { | ||
@@ -167,3 +165,3 @@ return { | ||
extended = _.find(info.partitions, function(p) { | ||
return p.type === MBR_EXTENDED_PARTITION_TYPE; | ||
return MBR.Partition.isExtended(p.type); | ||
}); | ||
@@ -170,0 +168,0 @@ if (!extended) { |
@@ -7,2 +7,6 @@ # Change Log | ||
## v3.0.1 - 2018-02-09 | ||
* Fix get(disk, index) for logical partitions that are inside an extended partition with LBA #30 [Alexis Svinartchouk] | ||
## v3.0.0 - 2017-10-10 | ||
@@ -9,0 +13,0 @@ |
{ | ||
"name": "partitioninfo", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Get information about a partition from an image file", | ||
@@ -5,0 +5,0 @@ "main": "build/partitioninfo.js", |
Sorry, the diff of this file is not supported yet
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
26271688
21
368
5