react-zoom-pan-pinch
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -651,4 +651,4 @@ import React, { Component } from 'react'; | ||
function round(number, decimal) { | ||
var roundNumber$$1 = Math.pow(10, decimal); | ||
return Math.round(number * roundNumber$$1) / roundNumber$$1; | ||
var roundNumber = Math.pow(10, decimal); | ||
return Math.round(number * roundNumber) / roundNumber; | ||
} | ||
@@ -796,3 +796,3 @@ function getCurrentDistance(event) { | ||
function makePassiveEventOption(passive) { | ||
return passive; | ||
return passive; | ||
} | ||
@@ -1285,2 +1285,3 @@ | ||
var style = { | ||
WebkitTransform: "translate(" + positionX + "px, " + positionY + "px) scale(" + scale + ")", | ||
transform: "translate(" + positionX + "px, " + positionY + "px) scale(" + scale + ")", | ||
@@ -1295,3 +1296,3 @@ }; | ||
export { TransformWrapper, TransformComponent }; | ||
export { TransformComponent, TransformWrapper }; | ||
//# sourceMappingURL=index.es.js.map |
@@ -658,4 +658,4 @@ 'use strict'; | ||
function round(number, decimal) { | ||
var roundNumber$$1 = Math.pow(10, decimal); | ||
return Math.round(number * roundNumber$$1) / roundNumber$$1; | ||
var roundNumber = Math.pow(10, decimal); | ||
return Math.round(number * roundNumber) / roundNumber; | ||
} | ||
@@ -803,3 +803,3 @@ function getCurrentDistance(event) { | ||
function makePassiveEventOption(passive) { | ||
return passive; | ||
return passive; | ||
} | ||
@@ -1292,2 +1292,3 @@ | ||
var style = { | ||
WebkitTransform: "translate(" + positionX + "px, " + positionY + "px) scale(" + scale + ")", | ||
transform: "translate(" + positionX + "px, " + positionY + "px) scale(" + scale + ")", | ||
@@ -1302,4 +1303,4 @@ }; | ||
exports.TransformComponent = TransformComponent; | ||
exports.TransformWrapper = TransformWrapper; | ||
exports.TransformComponent = TransformComponent; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "react-zoom-pan-pinch", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Zoom and pan html elements in easy way", | ||
@@ -41,3 +41,3 @@ "author": "prc5", | ||
"all-contributors-cli": "^6.9.3", | ||
"babel-eslint": "^9.0.0", | ||
"babel-eslint": "9.0.0", | ||
"cross-env": "^5.1.4", | ||
@@ -55,4 +55,4 @@ "eslint": "5.12.0", | ||
"react-dom": "^16.11.0", | ||
"react-scripts": "^3.2.0", | ||
"rollup": "^0.64.1", | ||
"react-scripts": "^2.1.0", | ||
"rollup": "^1.26.3", | ||
"rollup-plugin-babel": "^4.3.3", | ||
@@ -59,0 +59,0 @@ "rollup-plugin-commonjs": "^9.1.3", |
@@ -267,4 +267,3 @@ # react-zoom-pan-pinch | ||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> | ||
<!-- prettier-ignore-start --> | ||
<!-- markdownlint-disable --> | ||
<!-- prettier-ignore --> | ||
<table> | ||
@@ -276,8 +275,6 @@ <tr> | ||
<td align="center"><a href="https://github.com/pablovegau"><img src="https://avatars1.githubusercontent.com/u/20138953?v=4" width="80px;" alt="Pablo Vega Uceta"/><br /><sub><b>Pablo Vega Uceta</b></sub></a><br /><a href="https://github.com/prc5/react-zoom-pan-pinch/commits?author=pablovegau" title="Code">💻</a></td> | ||
<td align="center"><a href="https://github.com/selvambe23"><img src="https://avatars3.githubusercontent.com/u/14357334?v=4" width="80px;" alt="Selvam M"/><br /><sub><b>Selvam M</b></sub></a><br /><a href="https://github.com/prc5/react-zoom-pan-pinch/commits?author=selvambe23" title="Code">💻</a></td> | ||
</tr> | ||
</table> | ||
<!-- markdownlint-enable --> | ||
<!-- prettier-ignore-end --> | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
@@ -284,0 +281,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
361670
3068
0
283