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

vue-pdf-eurlanda

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-pdf-eurlanda - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"name": "vue-pdf-eurlanda",
"version": "1.0.4",
"version": "1.0.5",
"description": "vue.js pdf viewer",

@@ -5,0 +5,0 @@ "main": "src/vuePdfNoSss.vue",

@@ -115,2 +115,3 @@ import resizeSensor from 'vue-resize-sensor'

//let width = document.getElementById(this.container).offsetWidth;
tnis.pdf.getCanvas().style.width = width + "px";
let docheight = document.getElementById(this.container).offsetHeight;

@@ -117,0 +118,0 @@ let calHeight = this.pdf.getCanvas().offsetWidth * (this.pdf.getCanvas().height / this.pdf.getCanvas().width);

@@ -242,3 +242,2 @@ import { CMapCompressionType } from 'pdfjs-dist/lib/shared/util';

canvasElt.height = viewport.height;
canvasElt.style.width = viewport.width + "px";
pdfRender = pdfPage.render({

@@ -245,0 +244,0 @@ canvasContext: canvasElt.getContext('2d'),

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