File tree 2 files changed +3
-3
lines changed
build-info-extractor-npm/src/main/java/org/jfrog/build/extractor/npm/extractor
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import org .apache .commons .collections4 .MultiValuedMap ;
4
4
import org .apache .commons .collections4 .multimap .ArrayListValuedHashMap ;
5
- import org .apache .commons .compress .archivers .tar . TarArchiveEntry ;
5
+ import org .apache .commons .compress .archivers .ArchiveEntry ;
6
6
import org .apache .commons .compress .archivers .tar .TarArchiveInputStream ;
7
7
import org .apache .commons .compress .compressors .gzip .GzipCompressorInputStream ;
8
8
import org .apache .commons .lang3 .StringUtils ;
@@ -118,7 +118,7 @@ private void readPackageInfoFromTarball() throws IOException {
118
118
}
119
119
try (TarArchiveInputStream inputStream = new TarArchiveInputStream (
120
120
new GzipCompressorInputStream (new BufferedInputStream (Files .newInputStream (path .toFile ().toPath ()))))) {
121
- TarArchiveEntry entry ;
121
+ ArchiveEntry entry ;
122
122
while ((entry = inputStream .getNextEntry ()) != null ) {
123
123
Path parent = Paths .get (entry .getName ()).getParent ();
124
124
if (parent != null && StringUtils .equals (parent .toString (), "package" ) && StringUtils .endsWith (entry .getName (), "package.json" )) {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
5
5
antVersion = ' 1.10.12'
6
6
buildInfoExtractorVersion = ' 4.29.4'
7
7
commonsCodecVersion = ' 1.15'
8
- commonsCompressVersion = ' 1.26.0 '
8
+ commonsCompressVersion = ' 1.26.2 '
9
9
commonsIoVersion = ' 2.11.0'
10
10
commonsLang3Version = ' 3.12.0'
11
11
commonsLoggingVersion = ' 1.2'
You can’t perform that action at this time.
0 commit comments