Skip to content

Commit

Permalink
🚑 go back to older pdfjs-dist
Browse files Browse the repository at this point in the history
  • Loading branch information
krmax44 committed Sep 17, 2024
1 parent 9a5a58b commit 3943dc8
Show file tree
Hide file tree
Showing 6 changed files with 471 additions and 401 deletions.
2 changes: 1 addition & 1 deletion frontend/javascript/components/docupload/pdf-preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</template>

<script>
import PDFJSWorkerUrl from 'pdfjs-dist/build/pdf.worker.min.mjs?url'
import PDFJSWorkerUrl from 'pdfjs-dist/build/pdf.worker.min.js?url'
const range = (len) => [...Array(len).keys()]
Expand Down
2 changes: 1 addition & 1 deletion frontend/javascript/components/redaction/pdf-redaction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
import 'string.prototype.repeat'
import ConfirmNoRedaction from './confirm-no-redaction'
import PDFJSWorkerUrl from 'pdfjs-dist/build/pdf.worker.min.mjs?url'
import PDFJSWorkerUrl from 'pdfjs-dist/build/pdf.worker.min.js?url'
import range from 'lodash.range'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"lodash.range": "^3.2.0",
"lodash.sortby": "^4.7.0",
"lodash.throttle": "^4.1.1",
"pdfjs-dist": "^4.6.82",
"pdfjs-dist": "^2.9.359",
"sortablejs": "^1",
"string.prototype.repeat": "^1.0.0",
"vue": "^3.2.38",
Expand Down
Loading

0 comments on commit 3943dc8

Please sign in to comment.