Socket
Socket
Sign inDemoInstall

pdfjs

Package Overview
Dependencies
13
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.4.5 to 2.4.6

4

CHANGELOG.md

@@ -9,2 +9,6 @@ # Changelog

## [2.5.6] - 2021-08-23
### Fixed
- Fixed images not adding page break
## [2.4.5] - 2021-07-29

@@ -11,0 +15,0 @@ ### Fixed

8

lib/image/render.js

@@ -16,4 +16,2 @@ 'use strict'

const aliases = doc._useXObject(img)
const _cursor = parent._cursor

@@ -53,2 +51,6 @@

} else {
if (!_cursor.doesFit(renderHeight)) {
await parent._pageBreak(1)
}
y = _cursor.y
_cursor.y -= renderHeight

@@ -80,2 +82,4 @@ }

const aliases = doc._useXObject(img)
for (const alias of aliases) {

@@ -82,0 +86,0 @@ chunk += ops.Do(alias)

{
"name": "pdfjs",
"author": "Markus Ast <npm.m@rkusa.st>",
"version": "2.4.5",
"version": "2.4.6",
"description": "A Portable Document Format (PDF) generation library targeting both the server- and client-side.",

@@ -6,0 +6,0 @@ "keywords": [

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