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.1.1 to 0.1.2

2

package.json
{
"name": "svelte-pdfjs",
"version": "0.1.1",
"version": "0.1.2",
"devDependencies": {

@@ -5,0 +5,0 @@ "@sveltejs/adapter-netlify": "^1.0.0-next.36",

import { SvelteComponentTyped } from "svelte";
import type { DocumentInitParameters, OnProgressParameters } from 'pdfjs-dist/types/src/display/api';
import type { DocumentInitParameters, OnProgressParameters, PDFDocumentProxy } from 'pdfjs-dist/types/src/display/api';
declare const __propDef: {

@@ -15,11 +15,16 @@ props: {

};
events: {
loadsuccess: any;
loaderror: any;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
getters: {};
events: {
/**
* Emitted when a document is loaded successfully.
*/
loadsuccess: CustomEvent<PDFDocumentProxy>;
/**
* Emitted when there's an error loading the document.
*/
loaderror: CustomEvent<Error>;
};
};

@@ -26,0 +31,0 @@ export declare type DocumentProps = typeof __propDef.props;

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