@react-pdf-viewer/properties
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22406
314
+ Added@react-pdf-viewer/core@2.2.1(transitive)
- Removed@react-pdf-viewer/core@2.2.0(transitive)
Updated@react-pdf-viewer/core@2.2.1