Socket
Socket
Sign inDemoInstall

react-pdf

Package Overview
Dependencies
105
Maintainers
1
Versions
143
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.2.1 to 6.2.2

4

dist/cjs/Page/PageCanvas.js

@@ -77,3 +77,5 @@ "use strict";

get canvasContext() {
return canvas.getContext('2d');
return canvas.getContext('2d', {
alpha: false
});
},

@@ -80,0 +82,0 @@ viewport: renderViewport

@@ -66,3 +66,5 @@ import _extends from "@babel/runtime/helpers/esm/extends";

get canvasContext() {
return canvas.getContext('2d');
return canvas.getContext('2d', {
alpha: false
});
},

@@ -69,0 +71,0 @@ viewport: renderViewport

{
"name": "react-pdf",
"version": "6.2.1",
"version": "6.2.2",
"description": "Display PDFs in your React app as easily as if they were images.",

@@ -5,0 +5,0 @@ "main": "dist/cjs/entry.js",

@@ -121,3 +121,3 @@ import React, { createRef, PureComponent } from 'react';

get canvasContext() {
return canvas.getContext('2d');
return canvas.getContext('2d', { alpha: false });
},

@@ -124,0 +124,0 @@ viewport: renderViewport,

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc