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

@react-pdf/render

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-pdf/render - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

6

lib/operations/transform.js

@@ -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"
}
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