Skip to content

Commit

Permalink
upgrade dependency due to potential vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
hwding committed Oct 23, 2018
1 parent 8ddb026 commit 71f91dd
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pdf-unstamper
![](https://img.shields.io/badge/Powered%20by-Apache%20PDFBox-blue.svg?style=flat-square)

Remove text stamps of **any font**, **any encoding** and **any language** with pdf-unstamper now!
Remove textual watermark of **any font**, **any encoding** and **any language** with pdf-unstamper now!

## Effect
<table>
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.amastigote</groupId>
<artifactId>unstamper</artifactId>
<version>0.1.4</version>
<description>Text stamp remover for PDF files.</description>
<version>0.1.5</version>
<description>Textual watermark remover for PDF files.</description>
<name>pdf-unstamper</name>
<url>https://github.com/hwding/pdf-unstamper</url>
<build>
Expand All @@ -27,7 +27,7 @@
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>2.0.8</version>
<version>2.0.12</version>
</dependency>
<!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion script/install
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ user_bin=`echo ~`"/bin/"
locl_bin="/usr/local/bin/"
jar_name="pdf-unstamper.jar"
exe_name="unstamp"
_version="0.1.4"
_version="0.1.5"
jar_durl="https://github.com/hwding/pdf-unstamper/releases/download/$_version/$jar_name"
wrapper="#!/bin/bash\njava -jar ${user_bin}${jar_name} \"\$@\"\n"

Expand Down
2 changes: 1 addition & 1 deletion src/com/amastigote/unstamper/Main.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
AUTH | hwding
DATE | Sep 10 2017
DESC | text stamp remover for PDF files
DESC | textual watermark remover for PDF files
MAIL | [email protected]
GITH | github.com/hwding
*/
Expand Down
2 changes: 1 addition & 1 deletion src/com/amastigote/unstamper/core/Processor.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
AUTH | hwding
DATE | Jan 06 2018
DESC | text stamp remover for PDF files
DESC | textual watermark remover for PDF files
MAIL | [email protected]
GITH | github.com/hwding
*/
Expand Down
2 changes: 1 addition & 1 deletion src/com/amastigote/unstamper/core/TextStampRecognizer.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
AUTH | hwding
DATE | Sep 10 2017
DESC | text stamp remover for PDF files
DESC | textual watermark remover for PDF files
MAIL | [email protected]
GITH | github.com/hwding
*/
Expand Down
2 changes: 1 addition & 1 deletion src/com/amastigote/unstamper/io/IOHandler.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
AUTH | hwding
DATE | Sep 05 2017
DESC | text stamp remover for PDF files
DESC | textual watermark remover for PDF files
MAIL | [email protected]
GITH | github.com/hwding
*/
Expand Down
8 changes: 4 additions & 4 deletions src/com/amastigote/unstamper/log/GeneralLogger.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
AUTH | hwding
DATE | Jan 06 2018
DESC | text stamp remover for PDF files
DATE | Oct 23 2018
DESC | textual watermark remover for PDF files
MAIL | [email protected]
GITH | github.com/hwding
*/
Expand All @@ -12,15 +12,15 @@
public class GeneralLogger {
public static class Help {
private static final String usage =
"\nPDF-UnStamper ver. 0.1.4 by hwding@GitHub\n" +
"\nPDF-UnStamper ver. 0.1.5 by hwding@GitHub\n" +
"\nUsage:" +
"\n [OPTION] -i [INPUT PDF] -k [KEYWORDS...] (-o [OUTPUT PDF])" +
"\n [OPTION] -I [INPUT DIR] -k [KEYWORDS...] (-O [OUTPUT DIR])\n" +
"\nOptions:" +
"\n -d, --directly directly modify the input file(s), option o/O is\n" +
" unnecessary when this option is on" +
"\n -r, --recursive process files in the given dir recursively" +
"\n -s, --strict use strict mode, a text area is considered as water mark\n" +
"\n -s, --strict use strict mode, a text area is considered as watermark\n" +
" only if its content strictly equals one of the keywords\n";

public static void print() {
Expand Down
2 changes: 1 addition & 1 deletion src/com/amastigote/unstamper/util/OptionManager.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
AUTH | hwding
DATE | Sep 10 2017
DESC | text stamp remover for PDF files
DESC | textual watermark remover for PDF files
MAIL | [email protected]
GITH | github.com/hwding
*/
Expand Down
2 changes: 1 addition & 1 deletion src/com/amastigote/unstamper/util/TaskRunner.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
AUTH | hwding
DATE | Sep 10 2017
DESC | text stamp remover for PDF files
DESC | textual watermark remover for PDF files
MAIL | [email protected]
GITH | github.com/hwding
*/
Expand Down

0 comments on commit 71f91dd

Please sign in to comment.