Socket
Socket
Sign inDemoInstall

svelte-pdfjs

Package Overview
Dependencies
85
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.4 to 0.3.5-alpha.1

4

index.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc