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
This commit is contained in:
ThibG 2020-07-08 13:57:06 +02:00 committed by GitHub
parent d308a863fb
commit 65e5efbdf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 51 additions and 30 deletions

View file

@ -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",