@blocklet/pdf 2.0.123 → 2.0.125
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.cjs +1 -1
- package/lib/index.js +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +2 -2
package/lib/index.cjs
CHANGED
|
@@ -31,7 +31,7 @@ const ZoomInIcon__default = /*#__PURE__*/_interopDefaultCompat(ZoomInIcon);
|
|
|
31
31
|
const DownloadIcon__default = /*#__PURE__*/_interopDefaultCompat(DownloadIcon);
|
|
32
32
|
const ArrowOutwardOutlinedIcon__default = /*#__PURE__*/_interopDefaultCompat(ArrowOutwardOutlinedIcon);
|
|
33
33
|
|
|
34
|
-
const workerSrc = `//unpkg.com/pdfjs-dist@${reactPdf.pdfjs.version}/legacy/build/pdf.worker.min.
|
|
34
|
+
const workerSrc = `//unpkg.com/pdfjs-dist@${reactPdf.pdfjs.version}/legacy/build/pdf.worker.min.mjs`;
|
|
35
35
|
reactPdf.pdfjs.GlobalWorkerOptions.workerSrc = workerSrc;
|
|
36
36
|
const preventScrollChangeThumbnailTimerMap = {};
|
|
37
37
|
const documentOptions = { isEvalSupported: false };
|
package/lib/index.js
CHANGED
|
@@ -31,7 +31,7 @@ const ZoomInIcon__default = /*#__PURE__*/_interopDefaultCompat(ZoomInIcon);
|
|
|
31
31
|
const DownloadIcon__default = /*#__PURE__*/_interopDefaultCompat(DownloadIcon);
|
|
32
32
|
const ArrowOutwardOutlinedIcon__default = /*#__PURE__*/_interopDefaultCompat(ArrowOutwardOutlinedIcon);
|
|
33
33
|
|
|
34
|
-
const workerSrc = `//unpkg.com/pdfjs-dist@${reactPdf.pdfjs.version}/legacy/build/pdf.worker.min.
|
|
34
|
+
const workerSrc = `//unpkg.com/pdfjs-dist@${reactPdf.pdfjs.version}/legacy/build/pdf.worker.min.mjs`;
|
|
35
35
|
reactPdf.pdfjs.GlobalWorkerOptions.workerSrc = workerSrc;
|
|
36
36
|
const preventScrollChangeThumbnailTimerMap = {};
|
|
37
37
|
const documentOptions = { isEvalSupported: false };
|
package/lib/index.mjs
CHANGED
|
@@ -16,7 +16,7 @@ import { styled } from '@mui/material';
|
|
|
16
16
|
import 'react-pdf/dist/Page/AnnotationLayer.css';
|
|
17
17
|
import 'react-pdf/dist/Page/TextLayer.css';
|
|
18
18
|
|
|
19
|
-
const workerSrc = `//unpkg.com/pdfjs-dist@${pdfjs.version}/legacy/build/pdf.worker.min.
|
|
19
|
+
const workerSrc = `//unpkg.com/pdfjs-dist@${pdfjs.version}/legacy/build/pdf.worker.min.mjs`;
|
|
20
20
|
pdfjs.GlobalWorkerOptions.workerSrc = workerSrc;
|
|
21
21
|
const preventScrollChangeThumbnailTimerMap = {};
|
|
22
22
|
const documentOptions = { isEvalSupported: false };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/pdf",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.125",
|
|
4
4
|
"description": "blocklet pdf component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"vitest": "^1.4.0",
|
|
60
60
|
"vitest-fetch-mock": "^0.2.2"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "7313171274bc3890cd7a880264ccb0885b49e760"
|
|
63
63
|
}
|