From fdba96ebeb16698d79487d661e1eb265e0885b8a Mon Sep 17 00:00:00 2001 From: aashari Date: Tue, 8 Feb 2022 02:35:12 +0000 Subject: [PATCH 1/3] update VENDOR_TIKA_JAR version to 2.3.0 --- postinstall.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postinstall.js b/postinstall.js index 6070a59..56f7fa0 100644 --- a/postinstall.js +++ b/postinstall.js @@ -4,7 +4,7 @@ const constants = require('./constants') const dependencies = { [constants.VENDOR_PDF_BOX_JAR]: 'https://dlcdn.apache.org/pdfbox/2.0.25/pdfbox-app-2.0.25.jar', - [constants.VENDOR_TIKA_JAR]: 'https://dlcdn.apache.org/tika/2.2.1/tika-app-2.2.1.jar' + [constants.VENDOR_TIKA_JAR]: 'https://dlcdn.apache.org/tika/2.3.0/tika-app-2.3.0.jar' } const download = (filename) => { From 449a860344467e1c17d1ae2853af36d0f57509eb Mon Sep 17 00:00:00 2001 From: aashari Date: Tue, 8 Feb 2022 03:00:02 +0000 Subject: [PATCH 2/3] update constraint and README file --- README.md | 2 +- constants.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7ce6543..5112370 100644 --- a/README.md +++ b/README.md @@ -110,5 +110,5 @@ Sometimes downloading the dependencies might be too slow or unable to download i cd node_modules/pdf2html/vendor # These URLs come from https://github.com/shebinleo/pdf2html/blob/master/postinstall.js#L6-L7 wget https://dlcdn.apache.org/pdfbox/2.0.25/pdfbox-app-2.0.25.jar -wget https://dlcdn.apache.org/tika/2.2.1/tika-app-2.2.1.jar +wget https://dlcdn.apache.org/tika/2.2.1/tika-app-2.3.0.jar ``` diff --git a/constants.js b/constants.js index 70cbcd8..b861311 100644 --- a/constants.js +++ b/constants.js @@ -3,7 +3,7 @@ const path = require('path') module.exports = { VENDOR_PDF_BOX_JAR: 'pdfbox-app-2.0.25.jar', - VENDOR_TIKA_JAR: 'tika-app-2.2.1.jar', + VENDOR_TIKA_JAR: 'tika-app-2.3.0.jar', DIRECTORY: { PDF: path.join(__dirname, './files/pdf/'), From c602e688659a853fb9de4ca16cb85afca46d7ca8 Mon Sep 17 00:00:00 2001 From: Shebin Leo Vincent Date: Tue, 8 Feb 2022 11:19:25 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5112370..15be109 100644 --- a/README.md +++ b/README.md @@ -110,5 +110,5 @@ Sometimes downloading the dependencies might be too slow or unable to download i cd node_modules/pdf2html/vendor # These URLs come from https://github.com/shebinleo/pdf2html/blob/master/postinstall.js#L6-L7 wget https://dlcdn.apache.org/pdfbox/2.0.25/pdfbox-app-2.0.25.jar -wget https://dlcdn.apache.org/tika/2.2.1/tika-app-2.3.0.jar +wget https://dlcdn.apache.org/tika/2.3.0/tika-app-2.3.0.jar ```