svelte-pdfjs
Advanced tools
Comparing version 0.3.4 to 0.3.5-alpha.1
export { default as Document } from './PDFViewer/Document.svelte'; | ||
export { default as Page } from './PDFViewer/Page.svelte'; | ||
export * from './utils/target_dimension.js'; | ||
import * as PDFJS from 'pdfjs-dist'; | ||
export { PDFJS }; | ||
import { GlobalWorkerOptions } from 'pdfjs-dist/lib/pdf.js'; | ||
export { GlobalWorkerOptions }; |
export { default as Document } from './PDFViewer/Document.svelte'; | ||
export { default as Page } from './PDFViewer/Page.svelte'; | ||
export * from './utils/target_dimension.js'; | ||
import * as PDFJS from 'pdfjs-dist'; | ||
if (PDFJS.GlobalWorkerOptions) { | ||
PDFJS.GlobalWorkerOptions.workerSrc = `https://cdn.jsdelivr.net/npm/pdfjs-dist@${PDFJS.version}/build/pdf.worker.min.js`; | ||
} | ||
export { PDFJS }; | ||
import { GlobalWorkerOptions, version } from 'pdfjs-dist/lib/pdf.js'; | ||
GlobalWorkerOptions.workerSrc = `https://cdn.jsdelivr.net/npm/pdfjs-dist@${version}/build/pdf.worker.min.js`; | ||
export { GlobalWorkerOptions }; |
{ | ||
"name": "svelte-pdfjs", | ||
"version": "0.3.4", | ||
"version": "0.3.5-alpha.1", | ||
"devDependencies": { | ||
@@ -5,0 +5,0 @@ "@sveltejs/adapter-netlify": "^1.0.0-next.44", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
18325
0
207
1