about summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-07-08 13:57:06 +0200
committerGitHub <noreply@github.com>2020-07-08 13:57:06 +0200
commit65e5efbdf4bc3c70dbf772e84d02255d497cc7b9 (patch)
treee0eccc088f46806c173bc1125b9714eed7190947 /package.json
parentd308a863fbd373b94fa571103ad431782c29e074 (diff)
Revert tesseract.js to tesseract.js@2.0.0-alpha.16 (#14262)
The OCR feature in master is broken, there are several reasons for this:
- https://github.com/naptha/tesseract.js/issues/369
- https://github.com/naptha/tesseract.js/issues/346
- and the fact that the worker JS file is served with an unversioned URL,
  and, in the nginx config we provide, served with
  "public, max-age=31536000, immutable", leading to version mismatches as
  the old version gets cached
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index fc151a5fc..178c18d0e 100644
--- a/package.json
+++ b/package.json
@@ -157,7 +157,7 @@
     "stringz": "^2.1.0",
     "substring-trie": "^1.0.2",
     "terser-webpack-plugin": "^3.0.6",
-    "tesseract.js": "^2.1.1",
+    "tesseract.js": "2.0.0-alpha.16",
     "throng": "^4.0.0",
     "tiny-queue": "^0.2.1",
     "uuid": "^8.2.0",