Skip to content

Commit 7772a09

Browse files
authored
Bump commons-compress to 1.26.2 (#794)
1 parent 941e78d commit 7772a09

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build-info-extractor-npm/src/main/java/org/jfrog/build/extractor/npm/extractor/NpmPublish.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import org.apache.commons.collections4.MultiValuedMap;
44
import org.apache.commons.collections4.multimap.ArrayListValuedHashMap;
5-
import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
5+
import org.apache.commons.compress.archivers.ArchiveEntry;
66
import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
77
import org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream;
88
import org.apache.commons.lang3.StringUtils;
@@ -118,7 +118,7 @@ private void readPackageInfoFromTarball() throws IOException {
118118
}
119119
try (TarArchiveInputStream inputStream = new TarArchiveInputStream(
120120
new GzipCompressorInputStream(new BufferedInputStream(Files.newInputStream(path.toFile().toPath()))))) {
121-
TarArchiveEntry entry;
121+
ArchiveEntry entry;
122122
while ((entry = inputStream.getNextEntry()) != null) {
123123
Path parent = Paths.get(entry.getName()).getParent();
124124
if (parent != null && StringUtils.equals(parent.toString(), "package") && StringUtils.endsWith(entry.getName(), "package.json")) {

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
antVersion = '1.10.12'
66
buildInfoExtractorVersion = '4.29.4'
77
commonsCodecVersion = '1.15'
8-
commonsCompressVersion = '1.26.0'
8+
commonsCompressVersion = '1.26.2'
99
commonsIoVersion = '2.11.0'
1010
commonsLang3Version = '3.12.0'
1111
commonsLoggingVersion = '1.2'

0 commit comments

Comments
 (0)