Socket
Socket
Sign inDemoInstall

@react-pdf-viewer/properties

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/properties - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

6

lib/cjs/properties.js

@@ -83,8 +83,8 @@ 'use strict';

'(\\d{2})?' +
'\'?' +
"'?" +
'(\\d{2})?' +
'\'?');
"'?");
var parse = function (value, min, max, defaultValue) {
var parsed = parseInt(value, 10);
return (parsed >= min && parsed <= max) ? parsed : defaultValue;
return parsed >= min && parsed <= max ? parsed : defaultValue;
};

@@ -91,0 +91,0 @@ var convertDate = function (input) {

@@ -27,3 +27,5 @@ /**

ShowPropertiesButton(): ReactElement;
ShowPropertiesMenuItem: (props: ShowPropertiesMenuItemProps) => ReactElement;
ShowPropertiesMenuItem: (
props: ShowPropertiesMenuItemProps
) => ReactElement;
}

@@ -30,0 +32,0 @@

{
"name": "@react-pdf-viewer/properties",
"version": "2.2.0",
"version": "2.2.1",
"description": "A React component to view a PDF document",

@@ -36,3 +36,3 @@ "license": "https://react-pdf-viewer.dev/license",

"dependencies": {
"@react-pdf-viewer/core": "2.2.0"
"@react-pdf-viewer/core": "2.2.1"
},

@@ -52,3 +52,3 @@ "peerDependencies": {

},
"gitHead": "cc37771ea0886faf311ec7d5cd2a5f83aaffca74"
"gitHead": "dc23d3ab29ed34affa25cc4acd25f7fce4e14fd0"
}

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc