@react-pdf/render
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -12,7 +12,7 @@ "use strict"; | ||
var getRotation = function getRotation(transform) { | ||
var match = /rotate\((-?\d+.?\d+)(.+)\)/g.exec(transform); | ||
var match = /rotate\((-?\d+(.\d+)?)(.+)\)/g.exec(transform); | ||
if (match && match[1] && match[2]) { | ||
if (match && match[1] && match[3]) { | ||
var value = match[1]; | ||
return match[2] === 'rad' ? value * 180 / Math.PI : value; | ||
return match[3] === 'rad' ? value * 180 / Math.PI : value; | ||
} | ||
@@ -19,0 +19,0 @@ |
{ | ||
"name": "@react-pdf/render", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"license": "MIT", | ||
@@ -28,3 +28,3 @@ "author": "Diego Muracciole <diegomuracciole@gmail.com>", | ||
], | ||
"gitHead": "94243722ca1acdb8a5d80f51d00dcb63ce84e6d9" | ||
"gitHead": "c31ff5826a3e1cb88705ef2accf2b41d323f26aa" | ||
} |
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
95954