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.17 to 1.0.18

2

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

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

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

let docheight = document.getElementById(this.container).offsetHeight;
console.log("loaded高度:" + docheight);
this.pdf.setCanvasHeight(docheight + 'px');

@@ -110,0 +109,0 @@ this.pdf.loadPage(this.page, this.rotate);

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

canvasElt.height = viewport.height;
console.log("给canvas赋值:" + viewport.height);
canvasElt.style.width = viewport.width + "px";

@@ -245,0 +244,0 @@ canvasElt.style.height = viewport.height + "px";

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