Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-fast-scroll-pdf

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-fast-scroll-pdf - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

dist/hook/usePDF.d.ts

@@ -1,4 +0,4 @@

import "pdfjs-dist/build/pdf.worker.mjs";
import "pdfjs-dist/legacy/build/pdf.worker.mjs";
import type { IUsePDF, TUsePDF } from "../types/fastScrollPDF";
declare const usePDF: ({ source, loadingImage, enableAnnotations, spinLoadingImage, scrollContainer, viewer }: IUsePDF) => TUsePDF;
export default usePDF;
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@babel/runtime/helpers/defineProperty'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/helpers/slicedToArray'), require('@babel/runtime/regenerator'), require('pdfjs-dist'), require('pdfjs-dist/build/pdf.worker.mjs'), require('pdfjs-dist/web/pdf_viewer.mjs'), require('react'), require('lodash'), require('immer'), require('html-react-parser')) :
typeof define === 'function' && define.amd ? define(['exports', '@babel/runtime/helpers/defineProperty', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/helpers/slicedToArray', '@babel/runtime/regenerator', 'pdfjs-dist', 'pdfjs-dist/build/pdf.worker.mjs', 'pdfjs-dist/web/pdf_viewer.mjs', 'react', 'lodash', 'immer', 'html-react-parser'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.FastScrollPDF = {}, global._defineProperty, global._asyncToGenerator, global._slicedToArray, global._regeneratorRuntime, global.pdfjsLib, global.pdf.worker, global.pdf_viewer_mjs, global.React, global._, global.immer, global.parse));
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@babel/runtime/helpers/defineProperty'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/helpers/slicedToArray'), require('@babel/runtime/regenerator'), require('pdfjs-dist/legacy/build/pdf.mjs'), require('pdfjs-dist/legacy/build/pdf.worker.mjs'), require('pdfjs-dist/legacy/web/pdf_viewer.mjs'), require('react'), require('lodash'), require('immer'), require('html-react-parser')) :
typeof define === 'function' && define.amd ? define(['exports', '@babel/runtime/helpers/defineProperty', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/helpers/slicedToArray', '@babel/runtime/regenerator', 'pdfjs-dist/legacy/build/pdf.mjs', 'pdfjs-dist/legacy/build/pdf.worker.mjs', 'pdfjs-dist/legacy/web/pdf_viewer.mjs', 'react', 'lodash', 'immer', 'html-react-parser'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.FastScrollPDF = {}, global._defineProperty, global._asyncToGenerator, global._slicedToArray, global._regeneratorRuntime, global.pdfjsLib, null, global.pdf_viewer_mjs, global.React, global._, global.immer, global.parse));
})(this, (function (exports, _defineProperty, _asyncToGenerator, _slicedToArray, _regeneratorRuntime, pdfjsLib, pdf_worker_mjs, pdf_viewer_mjs, React, _, immer, parse) { 'use strict';

@@ -6,0 +6,0 @@

@@ -5,5 +5,5 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';

import _regeneratorRuntime from '@babel/runtime/regenerator';
import * as pdfjsLib from 'pdfjs-dist';
import 'pdfjs-dist/build/pdf.worker.mjs';
import { PDFLinkService } from 'pdfjs-dist/web/pdf_viewer.mjs';
import * as pdfjsLib from 'pdfjs-dist/legacy/build/pdf.mjs';
import 'pdfjs-dist/legacy/build/pdf.worker.mjs';
import { PDFLinkService } from 'pdfjs-dist/legacy/web/pdf_viewer.mjs';
import React, { useState, useRef, useMemo, useCallback, useEffect } from 'react';

@@ -10,0 +10,0 @@ import _ from 'lodash';

{
"name": "react-fast-scroll-pdf-example",
"homepage": "https://wearemothership.github.io/react-fast-scroll-pdf",
"version": "1.3.0",
"version": "1.3.1",
"license": "MIT",

@@ -6,0 +6,0 @@ "private": true,

{
"name": "react-fast-scroll-pdf",
"version": "1.3.0",
"version": "1.3.1",
"description": "Image-based PDF viewer using pdfjs",

@@ -5,0 +5,0 @@ "author": "wearemothership",

@@ -9,3 +9,3 @@ {

"jsx": "preserve",
"moduleResolution": "Bundler",
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,

@@ -12,0 +12,0 @@ "noImplicitReturns": true,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc