@nosferatu500/textract-lite
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -12,8 +12,8 @@ "use strict"; | ||
const STRIP_ONLY_SINGLE_LINEBREAKS = /(^|[^\n])\n(?!\n)/g; | ||
const WHITELIST_PRESERVE_LINEBREAKS = /[^\d\n\r !"#$%&'-\w'()-_`a-z{|}~\u0080-\u1FFF\u007C\u2013â\u2014\u2015\u2018\u2019\u201C\u201Dâ\u2026\u20AC\u2116\u2C00-\uD7FF\uFB50\uFDFF\uFE70\uFEFF\uFF01-\uFFE6]*/g; | ||
const WHITELIST_STRIP_LINEBREAKS = /[^\d !"#$%&'-\w'()-_`a-z{|}~\u0080-\u1FFF\u007C\u2013â\u2014\u2015\u2018\u2019\u201C\u201Dâ\u2026\u20AC\u2116\u2C00-\uD7FF\uFB50\uFDFF\uFE70\uFEFF\uFF01-\uFFE6]*/g; | ||
const WHITELIST_PRESERVE_LINEBREAKS = /[^\d\n\r !"#$%&'-\w'()-_`a-z{|}~\u0080-\u1FFF\u2013â\u2014\u2015\u2018\u2019\u201C\u201Dâ\u2026\u20AC\u2116\u2C00-\uD7FF\uFB50\uFDFF\uFE70\uFEFF\uFF01-\uFFE6]*/g; | ||
const WHITELIST_STRIP_LINEBREAKS = /[^\d !"#$%&'-\w'()-_`a-z{|}~\u0080-\u1FFF\u2013â\u2014\u2015\u2018\u2019\u201C\u201Dâ\u2026\u20AC\u2116\u2C00-\uD7FF\uFB50\uFDFF\uFE70\uFEFF\uFF01-\uFFE6]*/g; | ||
const outDir = path_1.default.join(os_1.default.tmpdir(), "textract"); | ||
const replacements = [ | ||
[/[|\u201C\u201D]|ââŹĹ|ââŹ/g, '"'], | ||
[/[|\u2018\u2019]|ââŹâ˘|ââŹË]/g, "'"], | ||
[/[\u201C\u201D]|ââŹĹ|ââŹ/g, '"'], | ||
[/[\u2018\u2019]|ââŹâ˘|ââŹË]/g, "'"], | ||
[/ââŹÂŚ/g, "âŚ"], | ||
@@ -20,0 +20,0 @@ [/ââŹâ|ââŹâ/g, "â"], // long hyphen |
{ | ||
"name": "@nosferatu500/textract-lite", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"homepage": "https://github.com/nosferatu500/textract-lite", | ||
@@ -5,0 +5,0 @@ "description": "Extracting text from files of various type including txt, doc, docx.", |
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
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
23577