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

@react-pdf-viewer/core

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-pdf-viewer/core - npm Package Compare versions

Comparing version 3.2.0 to 3.3.0

14

lib/index.d.ts

@@ -229,2 +229,3 @@ /**

export interface ButtonProps {
children?: React.ReactNode;
testId?: string;

@@ -237,2 +238,3 @@ onClick(): void;

attrs?: React.HTMLAttributes<HTMLDivElement>;
children?: React.ReactNode;
testId?: string;

@@ -242,3 +244,5 @@ }

export class Menu extends React.Component {}
export class Menu extends React.Component<{
children?: React.ReactNode;
}> {}

@@ -249,2 +253,3 @@ export class MenuDivider extends React.Component {}

checked?: boolean;
children?: React.ReactNode;
icon?: React.ReactElement;

@@ -260,2 +265,3 @@ isDisabled?: boolean;

ariaKeyShortcuts?: string;
children?: React.ReactNode;
isDisabled?: boolean;

@@ -269,2 +275,3 @@ isSelected?: boolean;

export interface PrimaryButtonProps {
children?: React.ReactNode;
testId?: string;

@@ -312,2 +319,3 @@ onClick(): void;

export interface IconProps {
children?: React.ReactNode;
// If this option is `true`, the icon will not be flipped

@@ -369,3 +377,3 @@ ignoreDirection?: boolean;

export interface LocalizationMap {
[key: string]: LocalizationMap;
[key: string]: string | LocalizationMap;
}

@@ -493,2 +501,3 @@ export interface LocalizationContextProps {

export interface WorkerProps {
children?: React.ReactNode;
workerUrl: string;

@@ -657,2 +666,3 @@ }

color?: number[];
count?: undefined | number;
dest?: OutlineDestinationType;

@@ -659,0 +669,0 @@ italic?: boolean;

8

package.json
{
"name": "@react-pdf-viewer/core",
"version": "3.2.0",
"version": "3.3.0",
"description": "A React component to view a PDF document",

@@ -37,4 +37,4 @@ "license": "https://react-pdf-viewer.dev/license",

"pdfjs-dist": "^2.6.347",
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},

@@ -51,3 +51,3 @@ "publishConfig": {

},
"gitHead": "7a8c5dc0f07735b2e1876a787657ec27040b7086"
"gitHead": "fc1c00e3802d538f2f96b6a241e995493a601f61"
}

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

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

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