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

@syncfusion/ej2-pdf-export

Package Overview
Dependencies
Maintainers
2
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-pdf-export - npm Package Compare versions

Comparing version 16.1.24 to 16.1.26

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

## 15.4.30-preview (2018-02-14)
### Pdf Export

@@ -7,0 +9,0 @@

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 1.0.22
* version : 16.1.24
* Copyright Syncfusion Inc. 2001 - 2017. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

{
"name": "@syncfusion/ej2-pdf-export",
"version": "16.1.24",
"version": "16.1.26",
"description": "Essential JS 2 PDF Library",

@@ -19,4 +19,4 @@ "author": "Syncfusion Inc.",

"dependencies": {
"@syncfusion/ej2-compression": "^16.1.24"
"@syncfusion/ej2-compression": "^16.1.26"
}
}

@@ -119,2 +119,3 @@ define(["require", "exports", "./byte-array", "./../../primitives/pdf-stream", "./../../input-output/pdf-dictionary-properties", "./../../primitives/pdf-name", "./../../primitives/pdf-number", "./../../primitives/pdf-boolean", "./../../primitives/pdf-dictionary"], function (require, exports, byte_array_1, pdf_stream_1, pdf_dictionary_properties_1, pdf_name_1, pdf_number_1, pdf_boolean_1, pdf_dictionary_1) {

this.imageStream = new pdf_stream_1.PdfStream();
this.imageStream.isImage = true;
var tempString = '';

@@ -121,0 +122,0 @@ var decodedString = '';

@@ -57,2 +57,7 @@ /**

/**
* @hidden
* @private
*/
private isImageStream;
/**
* Initialize an instance for `PdfStream` class.

@@ -73,2 +78,7 @@ * @private

/**
* Gets or sets 'is image' flag.
* @private
*/
isImage: boolean;
/**
* Gets or sets `compression` flag.

@@ -75,0 +85,0 @@ * @private

@@ -22,2 +22,3 @@ var __extends = (this && this.__extends) || (function () {

_this.bCompress = true;
_this.isImageStream = false;
if (typeof dictionary !== 'undefined' || typeof data !== 'undefined') {

@@ -46,2 +47,12 @@ _this.dataStream2 = [];

});
Object.defineProperty(PdfStream.prototype, "isImage", {
get: function () {
return this.isImageStream;
},
set: function (value) {
this.isImageStream = value;
},
enumerable: true,
configurable: true
});
Object.defineProperty(PdfStream.prototype, "compress", {

@@ -122,3 +133,3 @@ get: function () {

}
if (data.length > 1) {
if (data.length > 1 && !this.isImage) {
data = 'q\r\n' + data + 'Q\r\n';

@@ -125,0 +136,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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